Browse code

Minour port updates

Jaidyn Lev authored on 2018-06-01 15:01:47
Showing 7 changed files
... ...
@@ -10,7 +10,8 @@ astrolist="gcal wcslib"
10 10
 archiverslist="libzip gcab gcpio gshar+gunshar gtar libarchive libmspack libtar lzo xz zziplib gcab lzop par2cmdline"
11 11
 
12 12
 audiolist="freealut akode twolame audacious pulseaudio jack libcue audacious-plugins ardour soundtouch gstreamer1/mm"
13
-audiolist="$audiolist easytag freealut gmpc-plugins gsound libbs2b libcannberra mikmod mpdscribble umurmur"
13
+audiolist="$audiolist easytag freealut gmpc-plugins gsound libbs2b libcannberra mikmod mpdscribble umurmur libao libogg"
14
+audiolist="$audiolist flac libvorbis libsndfile libsamplerate"
14 15
 
15 16
 cadlist="qucs"
16 17
 
... ...
@@ -28,13 +29,14 @@ devellist="$devellist autoconf/2.68 autoconf/2.69 automake/1.4 automake/1.8 auto
28 29
 devellist="$devellist automake/1.13 automake/1.14 automake/1.15 libtool libidn gmake llvm sdl2-image sdl2 apr apr-util t1lib"
29 30
 devellist="$devellist bison gettext gettext-tools libsigsegv ffcall gobject-introspection yasm sdl cppunit json-glib libsoup"
30 31
 devellist="$devellist libsigc++-2 glib2mm atk2mm libnotify npth check pangomm scons readline sdl-mixer libconfuse libconfig"
31
-devellist="$devellist libgdata autogen boehm-gc commoncpp ccrtp cflow cgdb cil"
32
+devellist="$devellist libgdata autogen boehm-gc commoncpp ccrtp cflow cgdb cil libffi pcre glib2 atk libuv harfbuzz pango libusb1"
33
+devellist="$devellist libdaemon libidn2 nspr mozjs17"
32 34
 
33 35
 editorslist="nano"
34 36
 
35 37
 gameslist="xscorch"
36 38
 
37
-graphicslist="cairo gd ImageMagick djvulibre"
39
+graphicslist="cairo gd ImageMagick djvulibre png jpeg tiff gdk-pixbuff2 lcms2 colord"
38 40
 
39 41
 geolist="spatialindex geoclue2"
40 42
 
... ...
@@ -48,19 +50,19 @@ misclist="findutils"
48 50
 
49 51
 multimedialist="xvidcore libmp4v2"
50 52
 
51
-netlist="openvpn librest quvi/scripts quvi/libquvi quvi uhttpmock telepathy/telepathy-glib"
53
+netlist="openvpn librest quvi/scripts quvi/libquvi quvi uhttpmock telepathy/telepathy-glib curl avahi"
52 54
 
53
-printlist="libpaper texlive/base texlive/texmf psutils lilypond"
55
+printlist="libpaper texlive/base texlive/texmf psutils lilypond cups"
54 56
 
55
-securitylist="cyrus-sasl2 libmcrypt libtasn1 p11-kit pinentry gpgme"
57
+securitylist="cyrus-sasl2 libmcrypt libtasn1 p11-kit pinentry gpgme libnettle"
56 58
 
57 59
 shellslist="bash"
58 60
 
59
-sysutilslist="e2fsprogs polkit consolekit freeipmi coreutils"
61
+sysutilslist="e2fsprogs polkit consolekit freeipmi coreutils polkit"
60 62
 
61
-textproclist="groff jq rapto raptorr"
63
+textproclist="groff jq rapto raptorr tre libxslt icu4c"
62 64
 
63
-wwwlist="lynx apache-httpd webkit"
65
+wwwlist="lynx apache-httpd webkit nghttpd2"
64 66
 
65 67
 x11list="gnome/at-spi2-core gnome/at-spi2-atk gnome/py-atspi gnome/libsecret gnome/gcr xkbcommon gtk2mm gnome/libgnomecanvasmm"
66 68
 
... ...
@@ -421,3 +421,10 @@ ElectricFence
421 421
 TclXML
422 422
 disc-cover
423 423
 p5-Finance-Currency-Convert-XE
424
+open-ath9k-htc-firmware
425
+dxx-rebirth
426
+fs2open
427
+ja2-stracciatella
428
+witchblast
429
+piglit
430
+od1000_firmware
... ...
@@ -1,109 +1,15 @@
1
-# * lang/python 	"configure: error: cannot run C compiled programs."	It configures just fine (using same args as used when configuring in ports) manually, but not using port.
2
-# * lang/tcl
3
-# * x11/tk
4
-# * devel/llvm
5
-# * security/gnutls # * lang/ruby   	"configure: error: cannot run C compiled programs."	It configures just fine (using same args as used when configuring in ports) manually, but not using port.  # * gobject-introspection
6
-# * lang/mono   	"configure: error: cannot run C compiled programs."	It configures just fine (using same args as used when configuring in ports) manually, but not using port.
7
-# * mozjs17	Need to figure out how to create a build_alias... the env var and config arg used in other ports doesn't work.
8
-# * multimedia/libvpx	"Toolchain unable to link executables"
9
-# * p5-Curses
10
-# * libproxy	ld issue
11
-# * x11/gtk\+3
12
-# * graphics/openjp2	ninja; ld issue
13
-# * devel/jdk/1.7
14
-# * audio/libsoxr	ninja; ...
15
-# * databases/mariadb
16
-# * multimedia/libv4l
17
-# * multimedia/x26[45] --host=${ARCH}-unknown-openbsd6.1
18
-# * graphics/ffmpeg	Unable to test cc.
19
-# * x11/qt4
20
-# * x11/qt5/qtbase
21
-# * x11/qt5/qtdeclarative
22
-# * x11/qt5/qttools
23
-# * gstreamer/plugins-base
24
-# * p5-Module-Build
25
-# * libmusicbrainz
26
-# * libmusicbrainz5
27
-# * bioperl
28
-# * lang/g77
29
-# * qtmultimedia
30
-# * qtdeclarative
31
-# * qtsvg
32
-# * audio/cantata
33
-# * audio/cmus
34
-# * www/webkitgtk4
35
-# * audio/gogglesmm
36
-# * audo/libsoxr
37
-# * hs-*
38
-# * audio/midish	ld
39
-# * audio/milkytracker	ninja ld
40
-# * mpd	Unalee C compiler
41
-# * net/snmp
42
-# * qtwebkit
43
-# * qtxmlpatterns
44
-# * archivers/zstd
45
-# * audio/mscore
46
-# * audio/openal
47
-# * p5-Tree-Simple
48
-# * graphics/ImageMagick
49
-# * audio/pacpl
50
-# * multimedia/gstreamer1/plugins-good
51
-# * multimedia/gstreamer1/plugins-libav
52
-# * math/cgal
53
-# * cad/xtrkcad
54
-# * lang/ruby* 
55
-# * www/webkit
56
-# * security/gpgme
57
-# * comms/fldigi
58
-# * audio/solfege
59
-# * comms/gammu
60
-# * comms/hylafax
61
-# * comms/jpilot
62
-# * comms/p5-Device-Gs
63
-# * comms/p5-Device-Moden
64
-# * comms/p5-Device-SerialPort
65
-# * comms/p5-SendPage
66
-# * comms/rtl-sdr
67
-# * audio/p5-Audio-MPD
68
-# * audio/p5-Audio-MPD-common
69
-# * comms/pilot-link
70
-# * converters/dos2unix
71
-# * lang/spidermonkey
72
-# * comms/xastir
73
-# * converters/p5-JSON*
74
-# * converters/p5-DateManip
75
-# * converters/p5-Calendar-Simple
76
-# * converters/p5-Net-IDN-Encode
77
-# * converters/p5-Unicode-Stringprep
78
-# * x11/gnome/gnome-online-accoun
79
-# * devel/hs-primitives
80
-# * devel/hs-random
81
-# * devel/hs-oldtime
82
-# * devel/hs-tf-random
83
-# * databases/hs-HDBC*
84
-# * devel/hs-QuickCheck
85
-# * databases/hs-hedis
86
-# * devel/hs-alex
87
-# * databases/hs-postgresql-libpq
88
-# * devel/hs-resource-pool
89
-# * devel/arm-none-eabi
90
-# * databses/mariadb
91
-# * graphics/p5-GD*
92
-# * databses/p5-DBD-Chart
93
-# * databases/p5-DBD-ldap
94
-# * devel/cabal-install
95
-# * databases/p5-DBD-*
96
-# * lang/rust
97
-# * devel/cargo*
98
-# * devel/cbmc
99
-# * databases/pgmodeler
100
-# * databases/pgtcl
101
-# * lang/ocaml
102
-# * databases/sqlports
103
-# * devel/cil
104
-
105
-# The recurring theme I'm noticing here is the 'cannot run C compiled programs' issue. If that's solved, everything else should be smooth
106
-# sailing....
107
-# Unfortunately some of the more important packages encounter this issue.
108
-
109
-# Note to self: gc*
1
+devel/autoconf/*
2
+lang/tcl
3
+lang/tk
4
+lang/python/*
5
+devel/libelf
6
+devel/jsoncpp
7
+devel/cmake
8
+graphics/graphite2
9
+graphics/jasper
10
+net/avahi
11
+devel/cmocka
12
+devel/mozjs17
13
+devel/json-glib
14
+net/libproxy
15
+gtk+3
110 16
new file mode 100644
... ...
@@ -0,0 +1,109 @@
1
+# * lang/python 	"configure: error: cannot run C compiled programs."	It configures just fine (using same args as used when configuring in ports) manually, but not using port.
2
+# * lang/tcl
3
+# * x11/tk
4
+# * devel/llvm
5
+# * security/gnutls # * lang/ruby   	"configure: error: cannot run C compiled programs."	It configures just fine (using same args as used when configuring in ports) manually, but not using port.  # * gobject-introspection
6
+# * lang/mono   	"configure: error: cannot run C compiled programs."	It configures just fine (using same args as used when configuring in ports) manually, but not using port.
7
+# * mozjs17	Need to figure out how to create a build_alias... the env var and config arg used in other ports doesn't work.
8
+# * multimedia/libvpx	"Toolchain unable to link executables"
9
+# * p5-Curses
10
+# * libproxy	ld issue
11
+# * x11/gtk\+3
12
+# * graphics/openjp2	ninja; ld issue
13
+# * devel/jdk/1.7
14
+# * audio/libsoxr	ninja; ...
15
+# * databases/mariadb
16
+# * multimedia/libv4l
17
+# * multimedia/x26[45] --host=${ARCH}-unknown-openbsd6.1
18
+# * graphics/ffmpeg	Unable to test cc.
19
+# * x11/qt4
20
+# * x11/qt5/qtbase
21
+# * x11/qt5/qtdeclarative
22
+# * x11/qt5/qttools
23
+# * gstreamer/plugins-base
24
+# * p5-Module-Build
25
+# * libmusicbrainz
26
+# * libmusicbrainz5
27
+# * bioperl
28
+# * lang/g77
29
+# * qtmultimedia
30
+# * qtdeclarative
31
+# * qtsvg
32
+# * audio/cantata
33
+# * audio/cmus
34
+# * www/webkitgtk4
35
+# * audio/gogglesmm
36
+# * audo/libsoxr
37
+# * hs-*
38
+# * audio/midish	ld
39
+# * audio/milkytracker	ninja ld
40
+# * mpd	Unalee C compiler
41
+# * net/snmp
42
+# * qtwebkit
43
+# * qtxmlpatterns
44
+# * archivers/zstd
45
+# * audio/mscore
46
+# * audio/openal
47
+# * p5-Tree-Simple
48
+# * graphics/ImageMagick
49
+# * audio/pacpl
50
+# * multimedia/gstreamer1/plugins-good
51
+# * multimedia/gstreamer1/plugins-libav
52
+# * math/cgal
53
+# * cad/xtrkcad
54
+# * lang/ruby* 
55
+# * www/webkit
56
+# * security/gpgme
57
+# * comms/fldigi
58
+# * audio/solfege
59
+# * comms/gammu
60
+# * comms/hylafax
61
+# * comms/jpilot
62
+# * comms/p5-Device-Gs
63
+# * comms/p5-Device-Moden
64
+# * comms/p5-Device-SerialPort
65
+# * comms/p5-SendPage
66
+# * comms/rtl-sdr
67
+# * audio/p5-Audio-MPD
68
+# * audio/p5-Audio-MPD-common
69
+# * comms/pilot-link
70
+# * converters/dos2unix
71
+# * lang/spidermonkey
72
+# * comms/xastir
73
+# * converters/p5-JSON*
74
+# * converters/p5-DateManip
75
+# * converters/p5-Calendar-Simple
76
+# * converters/p5-Net-IDN-Encode
77
+# * converters/p5-Unicode-Stringprep
78
+# * x11/gnome/gnome-online-accoun
79
+# * devel/hs-primitives
80
+# * devel/hs-random
81
+# * devel/hs-oldtime
82
+# * devel/hs-tf-random
83
+# * databases/hs-HDBC*
84
+# * devel/hs-QuickCheck
85
+# * databases/hs-hedis
86
+# * devel/hs-alex
87
+# * databases/hs-postgresql-libpq
88
+# * devel/hs-resource-pool
89
+# * devel/arm-none-eabi
90
+# * databses/mariadb
91
+# * graphics/p5-GD*
92
+# * databses/p5-DBD-Chart
93
+# * databases/p5-DBD-ldap
94
+# * devel/cabal-install
95
+# * databases/p5-DBD-*
96
+# * lang/rust
97
+# * devel/cargo*
98
+# * devel/cbmc
99
+# * databases/pgmodeler
100
+# * databases/pgtcl
101
+# * lang/ocaml
102
+# * databases/sqlports
103
+# * devel/cil
104
+
105
+# The recurring theme I'm noticing here is the 'cannot run C compiled programs' issue. If that's solved, everything else should be smooth
106
+# sailing....
107
+# Unfortunately some of the more important packages encounter this issue.
108
+
109
+# Note to self: gc*
... ...
@@ -6470,3 +6470,359 @@ mpc
6470 6470
 solfege
6471 6471
 p5-Device-SerialPort
6472 6472
 blas
6473
+deutex
6474
+geteltorito
6475
+woff2
6476
+py-astral
6477
+audiality2
6478
+mp3applygain
6479
+rgain
6480
+speexdsp
6481
+qodem
6482
+k2pdfopt
6483
+p5-Date-Tolkien-Shire-Data
6484
+py-amf
6485
+unsf
6486
+citus
6487
+influxdb
6488
+kdb
6489
+kexi
6490
+p5-DBD-XBase
6491
+postgresql-plr
6492
+puppetdb5
6493
+ruby-hiera-eyaml-gpg
6494
+tdbc-mysql
6495
+tdbc-postgres
6496
+bashunit
6497
+blocksruntime
6498
+catch2
6499
+diffutiltcl
6500
+dlib
6501
+expect-lite
6502
+gas
6503
+github-backup
6504
+go-goptlib
6505
+go-sys
6506
+hs-echo
6507
+hs-edit-distance
6508
+hs-temporary
6509
+jadx
6510
+jsonrpc-glib
6511
+kproperty
6512
+kreport
6513
+libfastjson
6514
+libfirm
6515
+liblognorm
6516
+lua-compat53
6517
+p5-Check-ISA
6518
+p5-Clone-PP
6519
+p5-Data-Printer
6520
+p5-Forest
6521
+p5-Importer
6522
+p5-List-Compare
6523
+p5-List-MoreUtils-XS
6524
+p5-Log-Dispatch-Perl
6525
+p5-MooseX-Storage
6526
+p5-Sub-Attribute
6527
+p5-Sub-Info
6528
+p5-Sub-Quote
6529
+p5-Term-Table
6530
+p5-Test-Command
6531
+p5-Test-Command-Simple
6532
+p5-Test-Deep-JSON
6533
+p5-Test-Deep-Type
6534
+pkgconf
6535
+promu
6536
+py-async-timeout
6537
+py-attrs
6538
+py-automat
6539
+py-click-plugins
6540
+py-constantly
6541
+py-easyprocess
6542
+py-fasteners
6543
+py-faulthandler
6544
+py-flexmock
6545
+py-freezegun
6546
+py-funcy
6547
+py-future
6548
+py-hgnested
6549
+py-icalendar
6550
+py-incremental
6551
+py-intervaltree
6552
+py-iso3166
6553
+py-iso639
6554
+py-monotonic
6555
+py-munch
6556
+py-pathspec
6557
+py-plugnplay
6558
+py-progress
6559
+py-pyinotify
6560
+py-ruamel.ordereddict
6561
+py-simpleeval
6562
+py-sortedcontainers
6563
+py-tabulate
6564
+py-test-expect
6565
+py-test-localserver
6566
+py-test-subtesthack
6567
+py-txaio
6568
+py-uv
6569
+py-yamllint
6570
+pycharm
6571
+qbs
6572
+ruby-libv8
6573
+ruby-xdg
6574
+shellcheck
6575
+spidermonkey52
6576
+template-glib
6577
+universal-ctags
6578
+xtensa-elf
6579
+neovim
6580
+py-neovim
6581
+vis
6582
+gr-lida
6583
+higan
6584
+mame
6585
+ppsspp
6586
+ucon64
6587
+annapurna
6588
+apl-fonts
6589
+clearsans
6590
+hanazono
6591
+ibm-plex
6592
+migmix
6593
+migu
6594
+mixfont-mplus-ipa
6595
+scheherazade
6596
+vlgothic
6597
+2048-cli
6598
+cataclysm-dda
6599
+corsixth
6600
+fifechan
6601
+fifengine
6602
+freedoom
6603
+freeserf
6604
+hyperrogue
6605
+koboredux
6606
+liblcf
6607
+openjk
6608
+openrct2
6609
+openttd-data
6610
+postal
6611
+qqwing
6612
+returntotheroots
6613
+scid
6614
+sdl-jstest
6615
+spaceinvaders
6616
+stockfish
6617
+unknown-horizons
6618
+p5-Geo-Parse-OSM
6619
+pdal
6620
+pgpointcloud
6621
+py-cligj
6622
+py-fiona
6623
+py-laspy
6624
+py-owslib
6625
+py-planet
6626
+drawpile
6627
+farbfeld
6628
+gdcm
6629
+hs-colour
6630
+hs-graphviz
6631
+jpegoptim
6632
+krita
6633
+libsixel
6634
+mojoshader
6635
+orthanc
6636
+p5-Chart-Clicker
6637
+p5-Color-Library
6638
+p5-Color-Scheme
6639
+p5-Geometry-Primitive
6640
+p5-Graphics-Color
6641
+p5-Graphics-Primitive
6642
+p5-Graphics-Primitive-Driver-Cairo
6643
+p5-Layout-Manager
6644
+fcitx
6645
+fcitx-anthy
6646
+fcitx-chewing
6647
+fcitx-tables
6648
+a60
6649
+algol68g
6650
+apl
6651
+cim
6652
+clazy
6653
+cparser
6654
+flang
6655
+freebasic
6656
+gravity
6657
+kona
6658
+ocaml-camlp5
6659
+snobol4
6660
+spin
6661
+gmime30
6662
+kopano
6663
+mblaze
6664
+dieharder
6665
+libcerf
6666
+p5-Business-Hours
6667
+p5-Math-Int128
6668
+p5-Math-Int64
6669
+py-numexpr
6670
+assimp
6671
+gnome-twitch
6672
+libtheorafile
6673
+libtheoraplay
6674
+phonon-qt5
6675
+streamlink
6676
+aggregate6
6677
+bitlbee-facebook
6678
+cppzmq
6679
+deluge
6680
+deluge-ltconfig
6681
+libtorrent-rasterbar
6682
+lua-mmdb
6683
+lua-psl
6684
+mattermost-server
6685
+mcast-proxy
6686
+mininet
6687
+minio
6688
+napalm
6689
+nyx
6690
+obfs4proxy
6691
+onionshare
6692
+p5-IP-Country-DB_File
6693
+packetq
6694
+pidgin-window-merge
6695
+py-netmiko
6696
+py-smbc
6697
+py-stem
6698
+py-zeroconf
6699
+sacc
6700
+telegram-purple
6701
+toot
6702
+validns
6703
+wireless
6704
+py-cups
6705
+system-config-printer
6706
+khal
6707
+tudu
6708
+argon2
6709
+fierce
6710
+fwknop
6711
+glib-openssl
6712
+go-ed25519
6713
+go-siphash
6714
+gopass
6715
+hs-cryptohash-sha256
6716
+hs-ed25519
6717
+hs-hackage-security
6718
+keepassxc
6719
+libb2
6720
+libhttpseverywhere
6721
+origami
6722
+p5-Crypt-OpenSSL-EC
6723
+p5-Crypt-OpenSSL-ECDSA
6724
+pass-otp
6725
+py-PyNaCl
6726
+py-asn1crypto
6727
+py-josepy
6728
+py-scp
6729
+py-service_identity
6730
+py-vivisect
6731
+qca-qt5
6732
+recon-ng
6733
+rhash
6734
+ruby-gpgme
6735
+sshlockout
6736
+suricata
6737
+suricata-update
6738
+fish
6739
+arm-trusted-firmware
6740
+atf-allwinner
6741
+awless
6742
+bdfresize
6743
+borgmatic
6744
+burp
6745
+dosfstools
6746
+google-compute-engine
6747
+govmomi
6748
+grafana
6749
+iucode-tool
6750
+libburn
6751
+libisoburn
6752
+libisofs
6753
+lscpu
6754
+pick
6755
+prometheus
6756
+py-croniter
6757
+py-parallel-ssh
6758
+restic
6759
+restic-rest-server
6760
+sshpass
6761
+sunxi-tools
6762
+tarsnapper
6763
+u-boot-pinebook
6764
+uefitool
6765
+upobsd
6766
+virt-what
6767
+waagent
6768
+xbattmon
6769
+coturn
6770
+enchant2
6771
+gxml
6772
+hfst
6773
+hs-json
6774
+hs-stringsearch
6775
+hs-wl-pprint-text
6776
+loccount
6777
+p5-LaTeXML
6778
+p5-List-SomeUtils
6779
+p5-List-SomeUtils-XS
6780
+p5-PerlIO-utf8_strict
6781
+p5-Pod-Markdown
6782
+p5-Text-CSV-Hashify
6783
+p5-Text-Flow
6784
+pplatex
6785
+py-colored
6786
+py-commonmark
6787
+py-dicttoxml
6788
+py-m2r
6789
+py-podcastparser
6790
+py-pykwalify
6791
+py-ruamel.yaml
6792
+py-sphinx_guzzle_theme
6793
+py-textfsm
6794
+py-toml
6795
+py-unicodecsv
6796
+py-webencodings
6797
+solr
6798
+buku
6799
+kwebapp
6800
+libmicrohttpd
6801
+newsboat
6802
+p5-CSS-Minifier-XS
6803
+p5-Data-Page-Pageset
6804
+p5-JavaScript-Minifier-XS
6805
+py-autobahn
6806
+py-cheroot
6807
+py-requests-futures
6808
+py-requests-mock
6809
+py-selenium
6810
+py-uritemplate
6811
+py-yarl
6812
+ruby-mustermann
6813
+ttyd
6814
+wp-cli
6815
+2bwm
6816
+bspwm
6817
+i3lock
6818
+lxappearance
6819
+mate
6820
+py-virtualdisplay
6821
+qdirstat
6822
+ruby-tk
6823
+sxhkd
6824
+wmutils
6825
+x2goclient
6826
+xcape
6827
+xli
6828
+xwallpaper
... ...
@@ -30,26 +30,56 @@ else
30 30
 fi
31 31
 
32 32
 
33
-. ./files/ports/aliafy.sh
33
+portdirs="archivers astro audio biology books cad chinese comms converters databases devel"
34
+portdirs="$portdirs editors education emulators fonts games geo graphics inputmethods" 
35
+portdirs="$portdirs japanese java korean lang mail math meta misc multimedia net news plan9"
36
+portdirs="$portdirs print productivity security shells sysutils telephony textproc www x11"
34 37
 
35
-# Add the build_alias env variable to listed ports
36
-for port in $portlist
38
+
39
+
40
+# for GNU autoconf
41
+# -----------------
42
+for portdir in $portdirs
37 43
 do
38
-	rep ".include <bsd.port.mk>" "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd6.1\"" $port/Makefile
39
-	lineadd  "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd6.1\"" ".include <bsd.port.mk>" $port/Makefile
44
+        for portpath in $SRC_DIR/$portdir/*
45
+        do
46
+		port=$(echo $portpath | sed 's^'"$SRC_DIR"'/^^')
47
+		if grep "=.*gnu" $portpath/Makefile > /dev/null 
48
+		then
49
+			lineadd ".include <bsd.port.mk>" "CONFIGURE_ENV +=	build_alias=\"\${ARCH}-unknown-openbsd6.3\"" $port/Makefile
50
+		fi
51
+	done	
40 52
 done
41 53
 
54
+for portdir in $portdirs
55
+do
56
+        for portpath in $SRC_DIR/$portdir/*
57
+        do
58
+                port=$(echo $portpath | sed 's^'"$SRC_DIR"'/^^')
59
+                if grep "CONFIGURE_STYLE=gnu" $portpath/Makefile > /dev/null
60
+                then
61
+                        lineadd ".include <bsd.port.mk>" "CONFIGURE_ENV +=      build_alias=\"\${ARCH}-unknown-openbsd6.3\"" $port/Makefile
62
+                fi
63
+        done
64
+done
42 65
 
43
-. ./files/ports/caliafy.sh
44 66
 
45
-# Add the -DCMAKE_SYSTEM_NAME argument to listed ports
46
-for port in $portlist
67
+# for cmake
68
+# -----------------
69
+for portdir in $portdirs
47 70
 do
48
-	rep ".include <bsd.port.mk>" "CONFIGURE_ARGS +=        -DCMAKE_SYSTEM_NAME=OpenBSD" $port/Makefile
49
-	lineadd  "CONFIGURE_ARGS +=        -DCMAKE_SYSTEM_NAME=OpenBSD" ".include <bsd.port.mk>" $port/Makefile
71
+        for portpath in $SRC_DIR/$portdir/*
72
+        do
73
+                port=$(echo $portpath | sed 's^'"$SRC_DIR"'/^^')
74
+                if grep "cmake" $portpath/Makefile > /dev/null
75
+                then
76
+                        lineadd ".include <bsd.port.mk>" "CONFIGURE_ARGS +=      -DCMAKE_SYSTEM_NAME=OpenBSD" $port/Makefile
77
+                fi
78
+        done
50 79
 done
51 80
 
52 81
 
82
+
53 83
 # Port-specific changes for build
54 84
 rep ".include <bsd.port.mk>" "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd\"" lang/ghc/Makefile
55 85
 lineadd  "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd\"" ".include <bsd.port.mk>" lang/ghc/Makefile
... ...
@@ -87,11 +117,11 @@ done
87 117
 
88 118
 
89 119
 # Port-specific changes for rebranding
90
-rep "ftp.openbsd.org/pub/OpenBSD/snapshots/i386/cd52.iso" "ftp.libertybsd.net/pub/LibertyBSD/snapshots/i386/cd61.iso" emulators/qemu/pkg/README 
91
-rep "ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/cd52.iso" "ftp.libertybsd.net/pub/LibertyBSD/snapshots/amd64/cd61.iso" emulators/qemu/pkg/README
120
+rep "ftp.openbsd.org/pub/OpenBSD/snapshots/i386/cd52.iso" "ftp.libertybsd.net/pub/LibertyBSD/snapshots/i386/cd63.iso" emulators/qemu/pkg/README 
121
+rep "ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/cd52.iso" "ftp.libertybsd.net/pub/LibertyBSD/snapshots/amd64/cd63.iso" emulators/qemu/pkg/README
92 122
 linedel "\$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/sparc/cd52.iso" emulators/qemu/pkg/README
93
-rep "install52.fs" "install61.fs" emulators/qemu/pkg/README
94
-rep "install52.iso" "install61.iso" emulators/qemu/pkg/README
123
+rep "install52.fs" "install63.fs" emulators/qemu/pkg/README
124
+rep "install52.iso" "install63.iso" emulators/qemu/pkg/README
95 125
 rep "OpenBSD" "LibertyBSD" emulators/qemu/pkg/README
96 126
 rep "ftp.openbsd.org" "ftp.libertybsd.net" sysutils/ruby-puppet/4/patches/patch-lib_puppet_provider_package-openbsd_rb
97 127
 rep "on OpenBSD" "on LibertyBSD" sysutils/sysmon/pkg/README ; rep "openbsd.org" "libertybsd.net" sysutils/sysmon/pkg/README
98 128
new file mode 100644
... ...
@@ -0,0 +1,103 @@
1
+#!/bin/ksh
2
+
3
+#########################
4
+# Name: ports_rebrand.sh
5
+# Main: jadedctrl
6
+# Lisc: ISC # Desc: Editing OBSD ports
7
+#       tree for use with
8
+#       LBSD.
9
+#########################
10
+
11
+# Usage: ports_deblob.sh
12
+
13
+. ./libdeblob.sh
14
+
15
+PATCH_DIR=/tmp/ports_rebrand/
16
+
17
+if [ -e $PATCH_DIR ]
18
+then
19
+	self_destruct_sequence $PATCH_DIR
20
+	mkdir $PATCH_DIR
21
+else
22
+	mkdir $PATCH_DIR
23
+fi
24
+
25
+if test -z $1
26
+then
27
+	SRC_DIR=/usr/ports/
28
+else
29
+	SRC_DIR=$1
30
+fi
31
+
32
+
33
+. ./files/ports/aliafy.sh
34
+
35
+# Add the build_alias env variable to listed ports
36
+for port in $portlist
37
+do
38
+	rep ".include <bsd.port.mk>" "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd6.3\"" $port/Makefile
39
+	lineadd  "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd6.3\"" ".include <bsd.port.mk>" $port/Makefile
40
+done
41
+
42
+
43
+. ./files/ports/caliafy.sh
44
+
45
+# Add the -DCMAKE_SYSTEM_NAME argument to listed ports
46
+for port in $portlist
47
+do
48
+	rep ".include <bsd.port.mk>" "CONFIGURE_ARGS +=        -DCMAKE_SYSTEM_NAME=OpenBSD" $port/Makefile
49
+	lineadd  "CONFIGURE_ARGS +=        -DCMAKE_SYSTEM_NAME=OpenBSD" ".include <bsd.port.mk>" $port/Makefile
50
+done
51
+
52
+
53
+# Port-specific changes for build
54
+rep ".include <bsd.port.mk>" "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd\"" lang/ghc/Makefile
55
+lineadd  "CONFIGURE_ENV +=        build_alias=\"\${ARCH}-unknown-openbsd\"" ".include <bsd.port.mk>" lang/ghc/Makefile
56
+lineadd "pre-configure:" "        @cp \${FILESDIR}/Platform/LibertyBSD.cmake \${WRKSRC}/Modules/Platform/LibertyBSD.cmake" devel/cmake/Makefile
57
+lineadd "\${WRKSRC}/config" "        @cp \${FILESDIR}/Makefile.openbsd ${WRKSRC}/config/Makefile.libertybsd" graphics/glew/Makefile
58
+dircp files/ports/files/cmake/Platform devel/cmake/files/Platform
59
+lineadd "pre-configure:" "        @cp \${FILESDIR}/platforms/LibertyBSD.cmake \${WRKSRC}/cmake/platforms/LibertyBSD.cmake" devel/llvm/Makefile
60
+dircp files/ports/files/llvm/ devel/llvm/files/
61
+rep "-no-ssse3 -no-sse3" "-no-ssse3 -no-sse3 -platform openbsd-g++" x11/qt5/qtbase/Makefile
62
+rep "--enable-shared" "--enable-shared --target-os=openbsd" graphics/ffmpeg/Makefile
63
+
64
+# *.mk edits
65
+rep "\${MACHINE-ARCH}-openbsd" "\${MACHINE-ARCH}-libertybsd" infrastructure/mk/perl.port.mk
66
+
67
+# Misc. infrastructure edits
68
+lineadd "*:OpenBSD:*:*)" "*:LibertyBSD:*:*)" infrastructure/db/config.guess
69
+lineadd "*:OpenBSD:*:*)" "        exit ;;" infrastructure/db/config.guess
70
+lineadd "*:OpenBSD:*:*)" "        echo \${UNAME_MACHINE_ARCH}-unknown-openbsd\${UNAME_RELEASE}" infrastructure/db/config.guess
71
+lineadd "*:OpenBSD:*:*)" "        UNAME_MACHINE_ARCH=\`arch | sed 's/^.*BSD\.//'\`" infrastructure/db/config.guess
72
+
73
+# Go through ports with additional patches for LBSD
74
+for category in files/ports/files/patches/*
75
+do
76
+	category_name="$(echo $category | sed 's^.*/^^')"
77
+	for port in $category
78
+	do
79
+		port_name="$(echo $port | sed 's^.*/^^')"
80
+		for patch in $port
81
+		do
82
+			patch_name="$(echo $patch | sed 's^.*/^^')"
83
+			filecp "files/ports/file/patches/$category_name/$port_name/$patch_name" "$category_name/$port_name/patches/$patch_name"
84
+		done
85
+	done
86
+done
87
+
88
+
89
+# Port-specific changes for rebranding
90
+rep "ftp.openbsd.org/pub/OpenBSD/snapshots/i386/cd52.iso" "ftp.libertybsd.net/pub/LibertyBSD/snapshots/i386/cd61.iso" emulators/qemu/pkg/README 
91
+rep "ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/cd52.iso" "ftp.libertybsd.net/pub/LibertyBSD/snapshots/amd64/cd61.iso" emulators/qemu/pkg/README
92
+linedel "\$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/sparc/cd52.iso" emulators/qemu/pkg/README
93
+rep "install52.fs" "install61.fs" emulators/qemu/pkg/README
94
+rep "install52.iso" "install61.iso" emulators/qemu/pkg/README
95
+rep "OpenBSD" "LibertyBSD" emulators/qemu/pkg/README
96
+rep "ftp.openbsd.org" "ftp.libertybsd.net" sysutils/ruby-puppet/4/patches/patch-lib_puppet_provider_package-openbsd_rb
97
+rep "on OpenBSD" "on LibertyBSD" sysutils/sysmon/pkg/README ; rep "openbsd.org" "libertybsd.net" sysutils/sysmon/pkg/README
98
+rep "=\"OpenBSD " "=\"LibertyBSD " multimedia/gstreamer-0.10/Makefile.inc
99
+rep "openbsd.org" "libertybsd.net" multimedia/gstreamer-0.10/Makefile.inc
100
+# @jimmybot for this :) ^^
101
+rep "www.openbsd.org" "libertybsd.net" www/lynx/patches/patch-lynx_cfg
102
+
103
+apply