diff options
author | psykose <alice@ayaya.dev> | 2023-06-27 11:55:07 +0000 |
---|---|---|
committer | psykose <alice@ayaya.dev> | 2023-06-27 13:55:07 +0200 |
commit | eb615cfe36e8ace329bc1ff3012d58811ef125fc (patch) | |
tree | d3fb2594c36ddd6ef0c3b9a445d912819d9e16b1 | |
parent | ce94b038c2714e4eaf5de04566a0fa5b2cd89051 (diff) | |
download | aports-eb615cfe36e8ace329bc1ff3012d58811ef125fc.zip |
unmaintained/*: remove
this folder is not built, and there's no value in keeping around things
that are just in the git history already. the files alone aren't used
and don't have any value.
if someone wants to bring something back from here, they can just do
so regardless.
650 files changed, 0 insertions, 38103 deletions
diff --git a/unmaintained/.rootbld-repositories b/unmaintained/.rootbld-repositories deleted file mode 100644 index cff48f2ca5e..00000000000 --- a/unmaintained/.rootbld-repositories +++ /dev/null @@ -1,5 +0,0 @@ -$mirror/$version/main -$mirror/$version/community -$mirror/$version/testing -$mirror/$version/non-free -$mirror/$version/unmaintained diff --git a/unmaintained/acf-provisioning-algo/APKBUILD b/unmaintained/acf-provisioning-algo/APKBUILD deleted file mode 100644 index db55bc91ee5..00000000000 --- a/unmaintained/acf-provisioning-algo/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun <hamletmun@gmail.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-provisioning-algo -pkgver=2.4 -pkgrel=1 -pkgdesc="Files for provisioning Algo Products" -url="http://www.algosolutions.com/products/overview.html" -arch="noarch" -license="AS-IS" -depends="" -makedepends="" -source="http://www.algosolutions.com/fw-downloads/8180/firmware/algo-8180-2.4.fw -http://www.algosolutions.com/fw-downloads/md5download.php?filename=8180/firmware/algo-8180-2.4.md5 -http://www.algosolutions.com/fw-downloads/8180/kernel/algo-pa-kernel-r5.fw -http://www.algosolutions.com/fw-downloads/md5download.php?filename=8180/kernel/algo-pa-kernel-r5.md5 -init.cfg.sample" -subpackages="" - -package() { - cd "$srcdir" - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Algo - cp *.cfg.sample *.fw *.md5 "$pkgdir"/var/www/provisioning/htdocs/Algo -} - -md5sums="1de8b7d5a475269cd0d4a56d030b2078 algo-8180-2.4.fw -6784fb98bb79d1730c64b8b7c09d67d6 algo-8180-2.4.md5 -b48fcb591c7873a00b0d2323be771446 algo-pa-kernel-r5.fw -f7f6887a7cc92b46914f562612ba3841 algo-pa-kernel-r5.md5 -7f6b26f11c1f81ac444c5c0f80e56212 init.cfg.sample" -sha256sums="10e58d5724a60a6628add20171c0d5f5792cd911e02d72927f7ec4ec9d474a47 algo-8180-2.4.fw -3261f7cd4b9bb143fae398e8da088a146c2ed74cf159377eedc99c68461abd8e algo-8180-2.4.md5 -b59b62c6bfa79d1547fce02080aa78998248c9f6260599dc865c35ffbe47b8d8 algo-pa-kernel-r5.fw -cb46df70da381320cfdc47280687bf1660e50c0ebc3a2c276ea6c1c75b1f49eb algo-pa-kernel-r5.md5 -51426dceb6e5f40cda289ca9bb034aac24e0a53f2c16aea3d03a05480134910b init.cfg.sample" -sha512sums="ec1ede724eb0485e0b92b0fdf4f969e03e067634be684bd2aa4d853ecaabf6837f12ca607f8bd9b6529932785e5ce26472b76ecf0a61d93a94d1d6ded2fe9ac0 algo-8180-2.4.fw -44df87dc2bf929a12133a40809b5ad1e1967cb70cd474b833a9c6c0b2ec83fe5d05d52350fc2575af4fa0a793fba099ba95d5b5d08d822a8739a320714d14ece algo-8180-2.4.md5 -9282f2e4c2c178b08af66c86d27681484edc2d3729ebcf7786442f73f4d8ec4be42358b527dc38388fb3f68bc09ca666e6fc8be49cc1dbeb5c305ad9cebb14b8 algo-pa-kernel-r5.fw -f86db2a891c2097f26f58cd484b4fa05ce67387ecafbe8daa3f8dcbf851cdeeb22553fefa53acedefd89e98e25a3d3c9d0c4ac5e42e897a204ee9473ee340165 algo-pa-kernel-r5.md5 -8ebb6ab8b0a288d3f08891654943988cbc42a08b113f4e72beb74e98de3b4b608f4dd904879dfb3d131f2225bfa6990478cc12cb00c0d872b53ebaa464d9f998 init.cfg.sample" diff --git a/unmaintained/acf-provisioning-algo/init.cfg.sample b/unmaintained/acf-provisioning-algo/init.cfg.sample deleted file mode 100644 index 4a673ac8aef..00000000000 --- a/unmaintained/acf-provisioning-algo/init.cfg.sample +++ /dev/null @@ -1,20 +0,0 @@ -net.dscp.rtp = 101110 -net.dscp.sip = 101110 -net.vlan.id = 1 -net.vlan.priority = 5 -net.vlan.use = 1 -prov.download.cfgpath = Algo -prov.download.fwgpath = Algo -prov.download.method = http -prov.server.method = static -prov.server.static = 10.0.0.1 -prov.version.firmware = 2.4 -prov.version.kernel = r5 -sip.alert2.use = 1 -audio.ring.tone2 = buzzer.wav -sip.alert3.use = 1 -audio.ring.tone3 = chime.wav -sip.alert4.use = 1 -audio.ring.tone4 = dogs.wav -sip.alert5.use = 1 -audio.ring.tone5 = gong.wav diff --git a/unmaintained/acf-provisioning-cisco/APKBUILD b/unmaintained/acf-provisioning-cisco/APKBUILD deleted file mode 100644 index 924870a06db..00000000000 --- a/unmaintained/acf-provisioning-cisco/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Ted Trask <ttrask01@yahoo.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-provisioning-cisco -pkgver=0.1.0 -pkgrel=0 -pkgdesc="Files for provisioning Cisco Small Business Voice Gateways and ATAs" -url="http://www.cisco.com/c/en/us/support/unified-communications/small-business-voice-gateways-ata/tsd-products-support-series-home.html" -arch="noarch" -license="AS-IS" -depends="" -makedepends="" -# Source obtained from http://software.cisco.com/download/release.html?mdfid=283998771&softwareid=282463187&release=1.3.1 -# and cached on dev.alpinelinux.org -source="http://dev.alpinelinux.org/archive/$pkgname/SPA112_SPA122_1.3.1_003_FW.zip -init.cfg -SPA112.cfg" -subpackages="" - -package() { - cd "$srcdir" - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Cisco - cp *.cfg *.bin "$pkgdir"/var/www/provisioning/htdocs/Cisco -} - -md5sums="ccfb754a02b92418e241af6e23f23143 SPA112_SPA122_1.3.1_003_FW.zip -4c826d078240d8e64ba084ea811a65d1 init.cfg -2c53d509b9fe3ac51907df05d9f981ec SPA112.cfg" -sha256sums="1c439efa769878af5a4a509e7693c606772c883f1abbab7be42874dad554e2ed SPA112_SPA122_1.3.1_003_FW.zip -21fb6bcf79ad5919777279d3ece759ce1179959b6e870fb1f32e91bf39e777be init.cfg -87422399d7f0b172d258dc6b32f667d551727e978a71e4d1c35e509f18ecc2f8 SPA112.cfg" -sha512sums="86beaf3e4cb88be24d4aff823106c174a832914113c855bb1b589a7890864c42a68cb095f2e97ff7bb5aff9365b3063a60bb24d5691e4942be642ee191dd4630 SPA112_SPA122_1.3.1_003_FW.zip -46d2544ad730b77ad36f10de07792804101c1e7bdc1c4ff0ebdca845dd2cb59ef3928fa85cd22d7e075f4504a21f804e9fd26d44db8021d29cca9271f02b3dac init.cfg -0ece33f6ce9012a97e0e0856da93b2e6c0628caa0bc856ecce813c1caf9a3de4b6ed29358d14becc46bebd0e1f1487791587980d4b64159039bfde85b3324342 SPA112.cfg" diff --git a/unmaintained/acf-provisioning-cisco/SPA112.cfg b/unmaintained/acf-provisioning-cisco/SPA112.cfg deleted file mode 100644 index bc2a92c2453..00000000000 --- a/unmaintained/acf-provisioning-cisco/SPA112.cfg +++ /dev/null @@ -1,6 +0,0 @@ -<flat-profile> -<Upgrade_Enable ua="na">Yes</Upgrade_Enable> -<Upgrade_Error_Retry_Delay ua="na">7200</Upgrade_Error_Retry_Delay> -<Downgrade_Rev_Limit ua="na"></Downgrade_Rev_Limit> -<Upgrade_Rule ua="na">http://$SERV/Cisco/SPA112_SPA122_1.3.1_003.bin</Upgrade_Rule> -</flat-profile> diff --git a/unmaintained/acf-provisioning-cisco/init.cfg b/unmaintained/acf-provisioning-cisco/init.cfg deleted file mode 100644 index b6cce7dec04..00000000000 --- a/unmaintained/acf-provisioning-cisco/init.cfg +++ /dev/null @@ -1,4 +0,0 @@ -<flat-profile> -<Provision_Enable ua="na">Yes</Provision_Enable> -<Profile_Rule ua="na">http://$SERV/$PN.cfg</Profile_Rule> -</flat-profile> diff --git a/unmaintained/acf-provisioning-cyberdata/000000cd.xml b/unmaintained/acf-provisioning-cyberdata/000000cd.xml deleted file mode 100644 index cfc585de20b..00000000000 --- a/unmaintained/acf-provisioning-cyberdata/000000cd.xml +++ /dev/null @@ -1,6 +0,0 @@ -<specific> - <FirmwareSettings> - <OutdoorIntercom31>CyberData/1148-uImage-outdoor_intercom</OutdoorIntercom31> - <OutdoorKeypad31>CyberData/1148-uImage-outdoor_keypad</OutdoorKeypad31> - </FirmwareSettings> -</specific> diff --git a/unmaintained/acf-provisioning-cyberdata/APKBUILD b/unmaintained/acf-provisioning-cyberdata/APKBUILD deleted file mode 100644 index 4e8bd69b193..00000000000 --- a/unmaintained/acf-provisioning-cyberdata/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Seung Soo Mun <hamletmun@gmail.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-provisioning-cyberdata -pkgver=11.4.8 -pkgrel=0 -pkgdesc="Files for provisioning CyberData Outdoor Intercom" -url="http://www.cyberdata.net/products/voip/digitalanalog/intercom_endpoints.html" -arch="noarch" -license="AS-IS" -depends="" -makedepends="" -source="http://www.cyberdata.net/assets/011186/1148-uImage-outdoor_intercom.zip -http://www.cyberdata.net/assets/011214/1148-uImage-outdoor_keypad.zip -000000cd.xml" - -subpackages="" - -package() { - cd "$srcdir" - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/CyberData - cp 000000cd.xml "$pkgdir"/var/www/provisioning/htdocs/ - cp *intercom/*intercom "$pkgdir"/var/www/provisioning/htdocs/CyberData - cp *keypad/*keypad "$pkgdir"/var/www/provisioning/htdocs/CyberData - cp *keypad/autoprovision_* "$pkgdir"/var/www/provisioning/htdocs/CyberData/initial.xml.sample -} - -md5sums="5914a25c9e5fbc6ed856ab1edf391cb9 1148-uImage-outdoor_intercom.zip -a253b328d0dd41b7aea112bcd13ebb9a 1148-uImage-outdoor_keypad.zip -656e8bf591f1df6e73c9bd4d5986e72f 000000cd.xml" -sha256sums="c92109422097e466b5d5b16dca5f851f0a0aefe2535b49192e10c33447d64ccc 1148-uImage-outdoor_intercom.zip -54947d3e5a618e4e1e447284a736b41888ff2a8fd5ea415d322f37482c852603 1148-uImage-outdoor_keypad.zip -e86ad2ae19a8435e7829c359550f3aefe1461118cc27663493702cb7697d2104 000000cd.xml" -sha512sums="a39255a9eb0d73719a260289c003de4a2d045327ebfaa5c61cfa033f4e025dfb89b4c06196450aa81c26f57476af1accb1420e4f317e20e746ecc568b8e40360 1148-uImage-outdoor_intercom.zip -aec4a247c4d91dc2c942a91c55e2a1415a42fad881701f47cc368f5f3311160fb49380cf059700a49bf73a7c606c79cdda54765b994ce46c312cb65dd4499b39 1148-uImage-outdoor_keypad.zip -69d7179464f404c7ef07b1ebf72fed49bdea95d630b52101b27167237093a01c6554008519b95786b1d178773317d5734892033179fd5f1d0080df4609d2b077 000000cd.xml" diff --git a/unmaintained/acf-provisioning-linksys/APKBUILD b/unmaintained/acf-provisioning-linksys/APKBUILD deleted file mode 100644 index 8d807a1278b..00000000000 --- a/unmaintained/acf-provisioning-linksys/APKBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Contributor: Ted Trask <ttrask01@yahoo.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-provisioning-linksys -pkgver=0.1.0 -pkgrel=0 -pkgdesc="Files for provisioning Cisco Linksys IP phones" -url="http://www.cisco.com/en/US/products/ps10029/index.html" -arch="noarch" -license="AS-IS" -depends="" -makedepends="" -source="http://download.cisco.com/swc/esd/03/282414114/anon/PAP2T_v5.1.6_fw.zip -init.cfg -PAP2T.cfg" -subpackages="" - -package() { - cd "$srcdir" - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Linksys - cp *.cfg *.bin "$pkgdir"/var/www/provisioning/htdocs/Linksys -} - -sha512sums="fb8396852f8b35710acfb1a44b9d7deb1e9a05652e6eac22940c3834ffc08f1e47d159d6b37e5fe744bee9103aad044a1ac7ddc38dcb10f52ff34d8174e31a65 PAP2T_v5.1.6_fw.zip -46d2544ad730b77ad36f10de07792804101c1e7bdc1c4ff0ebdca845dd2cb59ef3928fa85cd22d7e075f4504a21f804e9fd26d44db8021d29cca9271f02b3dac init.cfg -acd083a6ddb58f40a7d5e5d5213f06b783689d60e4a2f381437e4db1b3a4ceb6de7a2db277723c6255074e60abf9128c44462ab86265f1a2a08e3980c9e2c9ff PAP2T.cfg" diff --git a/unmaintained/acf-provisioning-linksys/PAP2T.cfg b/unmaintained/acf-provisioning-linksys/PAP2T.cfg deleted file mode 100644 index 770b147571b..00000000000 --- a/unmaintained/acf-provisioning-linksys/PAP2T.cfg +++ /dev/null @@ -1,6 +0,0 @@ -<flat-profile> -<Upgrade_Enable ua="na">Yes</Upgrade_Enable> -<Upgrade_Error_Retry_Delay ua="na">7200</Upgrade_Error_Retry_Delay> -<Downgrade_Rev_Limit ua="na"></Downgrade_Rev_Limit> -<Upgrade_Rule ua="na">http://$SERV/Linksys/pap2t-5-1-6.bin</Upgrade_Rule> -</flat-profile> diff --git a/unmaintained/acf-provisioning-linksys/init.cfg b/unmaintained/acf-provisioning-linksys/init.cfg deleted file mode 100644 index b6cce7dec04..00000000000 --- a/unmaintained/acf-provisioning-linksys/init.cfg +++ /dev/null @@ -1,4 +0,0 @@ -<flat-profile> -<Provision_Enable ua="na">Yes</Provision_Enable> -<Profile_Rule ua="na">http://$SERV/$PN.cfg</Profile_Rule> -</flat-profile> diff --git a/unmaintained/acf-provisioning-polycom/000000000000-directory.xml b/unmaintained/acf-provisioning-polycom/000000000000-directory.xml deleted file mode 100644 index 2c5fecabeaf..00000000000 --- a/unmaintained/acf-provisioning-polycom/000000000000-directory.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" standalone="yes"?> -<directory> - <item_list/> -</directory> diff --git a/unmaintained/acf-provisioning-polycom/000000000000-phone.cfg b/unmaintained/acf-provisioning-polycom/000000000000-phone.cfg deleted file mode 100644 index f3fe5833452..00000000000 --- a/unmaintained/acf-provisioning-polycom/000000000000-phone.cfg +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Application SIP Wolverine 3.3.1.0933 02-Feb-11 18:44 --> -<PHONE_CONFIG> - <OVERRIDES /> -</PHONE_CONFIG> diff --git a/unmaintained/acf-provisioning-polycom/000000000000-web.cfg b/unmaintained/acf-provisioning-polycom/000000000000-web.cfg deleted file mode 100644 index f3fe5833452..00000000000 --- a/unmaintained/acf-provisioning-polycom/000000000000-web.cfg +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<!-- Application SIP Wolverine 3.3.1.0933 02-Feb-11 18:44 --> -<PHONE_CONFIG> - <OVERRIDES /> -</PHONE_CONFIG> diff --git a/unmaintained/acf-provisioning-polycom/000000000000.cfg.patch b/unmaintained/acf-provisioning-polycom/000000000000.cfg.patch deleted file mode 100644 index ed7e8ba32c6..00000000000 --- a/unmaintained/acf-provisioning-polycom/000000000000.cfg.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/000000000000.cfg -+++ src/000000000000.cfg.new -@@ -3,7 +3,7 @@ - <!-- For information on configuring Polycom VoIP phones please refer to the --> - <!-- Configuration File Management white paper available from: --> - <!-- http://www.polycom.com/common/documents/whitepapers/configuration_file_management_on_soundpoint_ip_phones.pdf --> --<APPLICATION APP_FILE_PATH="sip.ld" DECT_FILE_PATH="3111-17823-001.dect.ld" CONFIG_FILES="" SERVICE_FILES="" MISC_FILES="" LOG_FILE_DIRECTORY="" OVERRIDES_DIRECTORY="" CONTACTS_DIRECTORY="" LICENSE_DIRECTORY="" USER_PROFILES_DIRECTORY="" CALL_LISTS_DIRECTORY="" COREFILE_DIRECTORY=""> -+<APPLICATION APP_FILE_PATH="sip.ld" DECT_FILE_PATH="3111-17823-001.dect.ld" CONFIG_FILES="Polycom/[PHONE_MAC_ADDRESS]-default.cfg, Polycom/initial.cfg" SERVICE_FILES="" MISC_FILES="" LOG_FILE_DIRECTORY="log" OVERRIDES_DIRECTORY="Polycom" CONTACTS_DIRECTORY="Polycom" LICENSE_DIRECTORY="Polycom" USER_PROFILES_DIRECTORY="Polycom" CALL_LISTS_DIRECTORY="Polycom" COREFILE_DIRECTORY="Polycom"> - <APPLICATION_SPIP300 APP_FILE_PATH_SPIP300="sip_213.ld" CONFIG_FILES_SPIP300="phone1_213.cfg, sip_213.cfg" /> - <APPLICATION_SPIP500 APP_FILE_PATH_SPIP500="sip_213.ld" CONFIG_FILES_SPIP500="phone1_213.cfg, sip_213.cfg" /> - <APPLICATION_SPIP301 APP_FILE_PATH_SPIP301="sip_318.ld" CONFIG_FILES_SPIP301="phone1_318.cfg, sip_318.cfg" /> -@@ -13,8 +13,5 @@ - <APPLICATION_SPIP501 APP_FILE_PATH_SPIP501="sip_318.ld" CONFIG_FILES_SPIP501="phone1_318.cfg, sip_318.cfg" /> - <APPLICATION_SPIP600 APP_FILE_PATH_SPIP600="sip_318.ld" CONFIG_FILES_SPIP600="phone1_318.cfg, sip_318.cfg" /> - <APPLICATION_SPIP601 APP_FILE_PATH_SPIP601="sip_318.ld" CONFIG_FILES_SPIP601="phone1_318.cfg, sip_318.cfg" /> -- <APPLICATION_SPIP670 APP_FILE_PATH_SPIP670="sip_404.ld" CONFIG_FILES_SPIP670="" /> - <APPLICATION_SSIP4000 APP_FILE_PATH_SSIP4000="sip_318.ld" CONFIG_FILES_SSIP4000="phone1_318.cfg, sip_318.cfg" /> -- <APPLICATION_SSIP6000 APP_FILE_PATH_SSIP6000="sip_404.ld" CONFIG_FILES_SSIP6000="" /> -- <APPLICATION_SSIP7000 APP_FILE_PATH_SSIP7000="sip_404.ld" CONFIG_FILES_SSIP7000="" /> - </APPLICATION> diff --git a/unmaintained/acf-provisioning-polycom/APKBUILD b/unmaintained/acf-provisioning-polycom/APKBUILD deleted file mode 100644 index df2d577fa92..00000000000 --- a/unmaintained/acf-provisioning-polycom/APKBUILD +++ /dev/null @@ -1,106 +0,0 @@ -# Contributor: Ted Trask <ttrask01@yahoo.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-provisioning-polycom -pkgver=5.5.1 -pkgrel=0 -pkgdesc="Files for provisioning Polycom IP phones" -url="http://www.polycom.com/products/voice/index.html" -arch="noarch" -license="AS-IS" -depends="" -makedepends="" -# Make sure 5.5.1 comes after 4.0.11 so that older files are overwritten -source="http://downloads.polycom.com/voice/voip/uc/Polycom_UC_Software_4_0_11_rts15_release_sig_split.zip -http://downloads.polycom.com/voice/voip/uc/SoundPoint_IP_BootROM_4_4_0B_Upgrader_release_sig.zip -http://downloads.polycom.com/voice/voip/uc/Polycom_UC_Software_5_5_1_rts35_release_sig_split.zip -000000000000.cfg.patch -000000000000-phone.cfg -000000000000-web.cfg -000000000000-directory.xml" -subpackages="" - -_builddir="$srcdir/" - -link_dupes() { - local dir= - local old_pwd="$PWD" - for dir; do - echo "Creating links of duplicate files at '$dir'" - cd "$dir" || break - prevsum= - prevfile= - md5sum *.ld | sort | while read sum file; do - if [ "$sum" = "$prevsum" ]; then - echo "* Creating link of '$file'" - rm $file && ln -s $prevfile $file || break - else - prevsum=$sum - prevfile=$file - fi - done || break - done - local ret=$? - cd "$old_pwd" - return $ret -} - -prepare() { - local i - cd "$_builddir" - sed -i -e 's/\r//' 000000000000.cfg - for i in $source; do - case $i in - *.patch) msg "Applying ${i}"; patch -p1 -i $i || return 1;; - esac - done -} - -package() { - cd "$_builddir" - link_dupes "$_builddir" || return 1 - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Polycom - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/log - echo "$pkgname-$pkgver-r$pkgrel" > "$pkgdir"/var/www/provisioning/htdocs/Polycom/package-version - cp -r *.ld *.wav SoundPointIPLocalization VVXLocalization 000000000000.cfg "$pkgdir"/var/www/provisioning/htdocs - cp 000000000000-directory.xml 000000000000-phone.cfg 000000000000-web.cfg "$pkgdir"/var/www/provisioning/htdocs/Polycom -} - -# unpack the sources -default_unpack() { - local u - if [ -z "$force" ]; then - verify || return 1 - initdcheck || return 1 - fi - mkdir -p "$srcdir" - for u in $source; do - local s="$SRCDEST/$(filename_from_uri $u)" - case "$s" in - *.zip) - msg "Unpacking $s..." - unzip -o "$s" -d "$srcdir" || return 1;; - esac - done -} - -md5sums="e349c0b24cc118a5ef85b52d7e82b116 Polycom_UC_Software_4_0_11_rts15_release_sig_split.zip -b5ac28a1b4ede82fca226675c0b6981d SoundPoint_IP_BootROM_4_4_0B_Upgrader_release_sig.zip -cdbf5322601881e37268b17048306097 Polycom_UC_Software_5_5_1_rts35_release_sig_split.zip -936110c5fbb17545526dc005f5b49c40 000000000000.cfg.patch -2c32486b7c9d692326fd6270664eac01 000000000000-phone.cfg -2c32486b7c9d692326fd6270664eac01 000000000000-web.cfg -4a6ff93b944a710da0c3eb99938f42cc 000000000000-directory.xml" -sha256sums="0904a07dbcf3e8c6a697f76201581c6b4d6c200aa8c5ef420b43824eb4abb310 Polycom_UC_Software_4_0_11_rts15_release_sig_split.zip -4565248f354321901323d01b1aeed8bb6e00beedc331a3f7545cbae83d194113 SoundPoint_IP_BootROM_4_4_0B_Upgrader_release_sig.zip -464f360201f8b0c8506686f64b0a1c9981ff62c790cc06a69bd22ba9cf2d38e0 Polycom_UC_Software_5_5_1_rts35_release_sig_split.zip -286b77f8b18a70a7e42b6eaa6ff9ae7e849e3335dbf2cfb6390ee69243f0d4c7 000000000000.cfg.patch -e2f3dcd842d6eb44a98140e7fb60487ca70e519d5d09872a54ce1372d5a432b4 000000000000-phone.cfg -e2f3dcd842d6eb44a98140e7fb60487ca70e519d5d09872a54ce1372d5a432b4 000000000000-web.cfg -875f5bbec057d29508bcd671a203d8e2852cd959aeaeb937443cedbe824e0a41 000000000000-directory.xml" -sha512sums="e416838352d6e8a524ca48981875e9ebe384ba4bd27d056842fb8c6de73356599aec65466867fa242214d79e0060d262268b0e82008674da694a2fc48a31b3fc Polycom_UC_Software_4_0_11_rts15_release_sig_split.zip -b624b6618af41c21de016ead0746be9702834632e32de1bd62a5b47ad2308f0fb9def72fcfb35259731b7431d00a958e9c4ad3ad7d7257a29bba9e976dc70c4c SoundPoint_IP_BootROM_4_4_0B_Upgrader_release_sig.zip -adeefe00bf5af0a7408dacc6175575634c5d47f0f796e3b251166957e266f3bb1c30e79a1af68b4675d62458680ccd604ea38d2ff0510bb463caebff8080bed3 Polycom_UC_Software_5_5_1_rts35_release_sig_split.zip -32e1c0585baa3d827e12f2a501955ae7ee4f8f0594b14d188235a4f3dbdcb6d241ba2bf52ed4abfc94456dc5984d170f1f8aaa72a8fc56b5b578f6ba289b38b6 000000000000.cfg.patch -db2da0f4c393bdea773f3e5a7daa581a58caca738538db6153b223383176aae30e2081c198291d78c44eddd446a1cab9cffef78646360847ce4955c59f288300 000000000000-phone.cfg -db2da0f4c393bdea773f3e5a7daa581a58caca738538db6153b223383176aae30e2081c198291d78c44eddd446a1cab9cffef78646360847ce4955c59f288300 000000000000-web.cfg -9adc73d02aa4f545aca893c335284d77099c56fcc17a48f61003ede8713e96aeb8f467896f4dfbf7db67255cc3d60faf353b76ab86c5881d0ba884d1c0acffb3 000000000000-directory.xml" diff --git a/unmaintained/acf-provisioning-snom/APKBUILD b/unmaintained/acf-provisioning-snom/APKBUILD deleted file mode 100644 index 3548bdbe937..00000000000 --- a/unmaintained/acf-provisioning-snom/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Ted Trask <ttrask01@yahoo.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-provisioning-snom -pkgver=8.4.32 -pkgrel=1 -pkgdesc="Files for provisioning Snom IP phones" -url="http://snom.com/" -arch="noarch" -license="AS-IS" -depends="" -makedepends="" -source="http://downloads.snom.com/fw/snom300-$pkgver-SIP-f.bin -http://downloads.snom.com/fw/snom320-$pkgver-SIP-f.bin -http://downloads.snom.com/fw/snom360-$pkgver-SIP-f.bin -http://downloads.snom.com/fw/snom370-$pkgver-SIP-f.bin -http://fox.snom.com/config/snomlang-$pkgver.zip -snom300-firmware.htm -snom320-firmware.htm -snom360-firmware.htm -snom370-firmware.htm" -subpackages="" - -prepare() { - local i - cd "$srcdir" - for i in $source; do - case $i in - *.htm) sed -i "s/\$pkgver/$pkgver/" $i || return 1;; - esac - done -} - -package() { - cd "$srcdir" - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/snom - cp *.htm *.bin *.xml "$pkgdir"/var/www/provisioning/htdocs/snom -} - -sha512sums="a8d35c9b3ff14ba551d64a36b83d4123a71c68eea4b398887440576cebc08c24c3eb5033ea5e0c54ea62b23b05e57d88f65b13ddc3cc60fb7d7af1107dce15d3 snom300-8.4.32-SIP-f.bin -df29be63714ad69c57f3944a476809253c7026354a6f92f3d8e8cb8d5b414d6022d1cf08e36f80b40bcf830d90f3b7b33284145951a9de4910a1e16b9440cf6f snom320-8.4.32-SIP-f.bin -785d72a851831a024d3b4b0fa4b18b739c5b4d7b806806619edededc46c8284b520ad669f06a358f55bd68d787de052ac96bd371fcc1c04777a188235c925bb5 snom360-8.4.32-SIP-f.bin -9ed903f988d7dbe1edbfe1d98ba697312577880d9d7eede4bdbaeb6ea988b7689e270ff3df0cabf8c3e20cf340a90f32ee309766ec11750a758165e6b3fc5d0a snom370-8.4.32-SIP-f.bin -9291834857b58d6ca6c5b02fc765e415e1e90693aa349195f939ef1c70967d43cae9a27841f2660ade43b316aa137d8c2a97c60fb8a635a18fd263dc2e187490 snomlang-8.4.32.zip -6768b7efa3f2c4d71ebcd811986a29e9dc38e5e709650cff5f221187385810a432eaac2aa6ebaf0495ddcbbdc45244ee7e746fd02629973645236f9ae8083d6f snom300-firmware.htm -994983b75f7f0a9eae8e628e6cd52d988d645a6beae53bf61ef597ae513da44c36b2670819a3351bee66c094efaa9aa94612b3a5609586b84f884e9e30fc6d05 snom320-firmware.htm -9b550e8403d6faa565b922b21fa9bb62eadfeb2fd1024d1df6b7fa3717dabfed52349668c9101a241bf0dcf4a6d61336ec402cc31e971c7d42dd4b0506770227 snom360-firmware.htm -a1a1606c1ea67a300825c0d03548b1a2bd6c225369d1b5a734b153967b9f1fff3eca9e48c5bfce7eebc5a36c2f3b2f7d1edf978d678abd71d22c32395bb75dcc snom370-firmware.htm" diff --git a/unmaintained/acf-provisioning-snom/snom300-firmware.htm b/unmaintained/acf-provisioning-snom/snom300-firmware.htm deleted file mode 100644 index dd5c2c3c680..00000000000 --- a/unmaintained/acf-provisioning-snom/snom300-firmware.htm +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<firmware-settings> - <firmware perm="">http://$SERV/snom/snom300-$pkgver-SIP-f.bin</firmware> -</firmware-settings> diff --git a/unmaintained/acf-provisioning-snom/snom320-firmware.htm b/unmaintained/acf-provisioning-snom/snom320-firmware.htm deleted file mode 100644 index 39ba8bc626c..00000000000 --- a/unmaintained/acf-provisioning-snom/snom320-firmware.htm +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<firmware-settings> - <firmware perm="">http://$SERV/snom/snom320-$pkgver-SIP-f.bin</firmware> -</firmware-settings> diff --git a/unmaintained/acf-provisioning-snom/snom360-firmware.htm b/unmaintained/acf-provisioning-snom/snom360-firmware.htm deleted file mode 100644 index 2488d1ce2f9..00000000000 --- a/unmaintained/acf-provisioning-snom/snom360-firmware.htm +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<firmware-settings> - <firmware perm="">http://$SERV/snom/snom360-$pkgver-SIP-f.bin</firmware> -</firmware-settings> diff --git a/unmaintained/acf-provisioning-snom/snom370-firmware.htm b/unmaintained/acf-provisioning-snom/snom370-firmware.htm deleted file mode 100644 index 45754c38110..00000000000 --- a/unmaintained/acf-provisioning-snom/snom370-firmware.htm +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<firmware-settings> - <firmware perm="">http://$SERV/snom/snom370-$pkgver-SIP-f.bin</firmware> -</firmware-settings> diff --git a/unmaintained/acf-tcpproxy/APKBUILD b/unmaintained/acf-tcpproxy/APKBUILD deleted file mode 100644 index 1bb86750749..00000000000 --- a/unmaintained/acf-tcpproxy/APKBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Contributor: Ted Trask <ttrask01@yahoo.com> -# Maintainer: Ted Trask <ttrask01@yahoo.com> -pkgname=acf-tcpproxy -pkgver=0.6.0 -pkgrel=2 -pkgdesc="A web-based system administration interface for tcpproxy" -url="https://git.alpinelinux.org/cgit/acf/acf-tcpproxy" -arch="noarch" -license="GPL-2.0" -depends="acf-core tcpproxy" -makedepends="" -install= -subpackages="" -source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz" - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - -} - -md5sums="eabfe20810680f4af3e7c2ed362c1863 acf-tcpproxy-0.6.0.tar.xz" -sha256sums="151c38c01a644a9c400e6e4f35dd1c4b56a37ea758f2439c9d26f147a97d5304 acf-tcpproxy-0.6.0.tar.xz" -sha512sums="b72313d696d7d089672bf49c0dbb03a8dfc0d634d4fb6f7d850e9cc0cdb9e4e9e8daa3af82987f6c0bfca75ac9f4e900c4a385481f05a1b430fe84f2f761c8b0 acf-tcpproxy-0.6.0.tar.xz" diff --git a/unmaintained/acme-client-plus/APKBUILD b/unmaintained/acme-client-plus/APKBUILD deleted file mode 100644 index 6e9f4b0997a..00000000000 --- a/unmaintained/acme-client-plus/APKBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=acme-client-plus -pkgver=0.1.1 -pkgrel=0 -pkgdesc="Script for periodic renewal of certificates using BSD's acme-client" -url="https://github.com/jirutka/acme-client-plus" -arch="noarch" -license="ISC" -depends="acme-client libressl" -options="!check" # no tests provided -source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -package() { - cd "$builddir" - make install DESTDIR="$pkgdir" prefix=/usr -} - -sha512sums="abdd52cc805b2bda402f4930f403d9152507a635a09bb660fff2d9fcf7ecebf5138abd9e45c41fb0e703848a7cf909fc0b2fa4802108c190b62994bd63523519 acme-client-plus-0.1.1.tar.gz" diff --git a/unmaintained/adapta-gtk-theme/APKBUILD b/unmaintained/adapta-gtk-theme/APKBUILD deleted file mode 100644 index ce40b54c6d9..00000000000 --- a/unmaintained/adapta-gtk-theme/APKBUILD +++ /dev/null @@ -1,273 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: -pkgname=adapta-gtk-theme -pkgver=3.95.0.11 -pkgrel=2 -pkgdesc="An adaptive Gtk+ theme based on Material Design Guidelines" -url="https://github.com/adapta-project/adapta-gtk-theme" -arch="noarch !s390x" # Fails to build on s390x and I doubt anyone actually uses it on s390x -license="GPL-2.0-or-later" -makedepends="autoconf automake inkscape gdk-pixbuf-dev glib-dev libxml2-dev sassc - parallel bash" -subpackages=" - adapta:_adapta:noarch - adapta-xfwm4:_adapta_xfwm4:noarch - adapta-telegram:_adapta_telegram:noarch - adapta-openbox:_adapta_openbox:noarch - adapta-cinnamon:_adapta_cinnamon:noarch - adapta-gnome:_adapta_gnome:noarch - adapta-gtk3:_adapta_gtk3:noarch - adapta-gtk2:_adapta_gtk2:noarch - - adapta-eta:_adapta_eta:noarch - adapta-eta-gtk3:_adapta_eta_gtk3:noarch - adapta-eta-gtk2:_adapta_eta_gtk2:noarch - adapta-eta-gnome:_adapta_eta_gnome:noarch - adapta-eta-telegram:_adapta_eta_telegram:noarch - - adapta-nokto:_adapta_nokto:noarch - adapta-nokto-gtk3:_adapta_nokto_gtk3:noarch - adapta-nokto-gtk2:_adapta_nokto_gtk2:noarch - adapta-nokto-gnome:_adapta_nokto_gnome:noarch - adapta-nokto-cinnamon:_adapta_nokto_cinnamon:noarch - adapta-nokto-telegram:_adapta_nokto_telegram:noarch - adapta-nokto-openbox:_adapta_nokto_openbox:noarch - adapta-nokto-xfwm4:_adapta_nokto_xfwm4:noarch - - adapta-nokto-eta:_adapta_nokto_eta:noarch - adapta-nokto-eta-gtk3:_adapta_nokto_eta_gtk3:noarch - adapta-nokto-eta-gtk2:_adapta_nokto_eta_gtk2:noarch - adapta-nokto-eta-gnome:_adapta_nokto_eta_gnome:noarch - adapta-nokto-eta-telegram:_adapta_nokto_eta_telegram:noarch - " -source="$pkgname-$pkgver.tar.gz::https://github.com/adapta-project/adapta-gtk-theme/archive/$pkgver.tar.gz" - -prepare() { - default_prepare - NOCONFIGURE=1 ./autogen.sh -} - -build() { - ./configure \ - --prefix=/usr \ - --enable-parallel \ - --enable-gnome \ - --enable-cinnamon \ - --disable-flashback \ - --enable-xfce \ - --enable-mate \ - --enable-openbox \ - --disable-chrome_legacy \ - --disable-plank \ - --enable-telegram - make -} - -package() { - make DESTDIR="$pkgdir" install - - rm -f "$pkgdir"/usr/share/themes/Adapta/COPYING - rm -f "$pkgdir"/usr/share/themes/Adapta/LICENSE* - - rm -rf "$pkgdir"/usr/share/themes/*/metacity-1 -} - -_mv() { - mkdir -p "$subpkgdir"/usr/share/themes/"$1" - mv "$pkgdir"/usr/share/themes/"$1"/"$2" \ - "$subpkgdir"/usr/share/themes/"$1" - - # This will fail a lot - rmdir -p "$pkgdir"/usr/share/themes/"$1" 2>/dev/null || : -} - -_adapta() { - depends="ttf-roboto font-noto" - pkgdesc="Adapta theme metapackage" - mkdir -p "$subpkgdir" - _mv Adapta index.theme -} - -_adapta_xfwm4() { - depends="" - pkgdesc="Adapta theme for XFCE4 Window Manager" - install_if="adapta=$pkgver-r$pkgrel xfwm4" - _mv Adapta xfwm4 - _mv Adapta xfce-notify-4.0 -} - -_adapta_telegram() { - depends="" - pkgdesc="adapta theme for Telegram" - install_if="Adapta=$pkgver-r$pkgrel telegram-desktop" - _mv Adapta telegram -} - -_adapta_openbox() { - depends="" - pkgdesc="Adapta theme for Openbox 3" - install_if="adapta=$pkgver-r$pkgrel openbox" - _mv Adapta openbox-3 -} - -_adapta_cinnamon() { - depends="" - pkgdesc="Adapta theme for Cinnamon" - install_if="adapta=$pkgver-r$pkgrel cinnamon" - _mv Adapta cinnamon -} - -_adapta_gnome() { - depends="" - pkgdesc="Adapta theme for GNOME Shell" - install_if="adapta=$pkgver-r$pkgrel gnome-shell" - _mv Adapta gnome-shell - _mv Adapta gedit -} - -_adapta_gtk3() { - pkgdesc="Adapta theme for GTK+3" - install_if="adapta=$pkgver-r$pkgrel gtk+3.0" - _mv Adapta gtk-3.0 - _mv Adapta gtk-3.22 - _mv Adapta gtk-3.24 -} - -_adapta_gtk2() { - depends="gtk-murrine-engine" - pkgdesc="Adapta theme for GTK+2" - install_if="adapta=$pkgver-r$pkgrel gtk+2.0" - _mv Adapta gtk-2.0 -} - -_adapta_eta() { - depends="ttf-roboto font-noto" - pkgdesc="Adapta Eta theme metapackage" - mkdir -p "$subpkgdir" - _mv Adapta-Eta index.theme -} - -_adapta_eta_gtk3() { - pkgdesc="Adapta Eta theme for GTK+3" - install_if="adapta-eta=$pkgver-r$pkgrel gtk+3.0" - _mv Adapta-Eta gtk-3.0 - _mv Adapta-Eta gtk-3.22 - _mv Adapta-Eta gtk-3.24 -} - -_adapta_eta_gtk2() { - depends="gtk-murrine-engine" - pkgdesc="Adapta Eta theme for GTK+2" - install_if="adapta-eta=$pkgver-r$pkgrel gtk+2.0" - _mv Adapta-Eta gtk-2.0 -} - -_adapta_eta_gnome() { - depends="" - pkgdesc="Adapta Eta theme for GNOME" - install_if="adapta-eta=$pkgver-r$pkgrel gnome" - _mv Adapta-Eta gnome-shell -} - -_adapta_eta_telegram() { - depends="adapta-telegram" - pkgdesc="Adapta Eta theme for Telegram" - install_if="Adapta=$pkgver-r$pkgrel telegram-desktop" - _mv Adapta-Eta telegram -} - -_adapta_nokto() { - depends="ttf-roboto font-noto" - pkgdesc="Adapta Nokto theme metapackage" - mkdir -p "$subpkgdir" - _mv Adapta-Nokto index.theme -} - -_adapta_nokto_gtk3() { - pkgdesc="Adapta Nokto theme for GTK+3" - install_if="adapta-nokto=$pkgver-r$pkgrel gtk+3.0" - _mv Adapta-Nokto gtk-3.0 - _mv Adapta-Nokto gtk-3.22 - _mv Adapta-Nokto gtk-3.24 -} - -_adapta_nokto_gtk2() { - depends="gtk-murrine-engine" - pkgdesc="Adapta Nokto theme for GTK+2" - install_if="adapta-nokto=$pkgver-r$pkgrel gtk+2.0" - _mv Adapta-Nokto gtk-2.0 -} - -_adapta_nokto_openbox() { - depends="" - pkgdesc="Adapta Nokto theme for Openbox 3" - install_if="adapta-nokto=$pkgver-r$pkgrel openbox" - _mv Adapta-Nokto openbox-3 -} - -_adapta_nokto_cinnamon() { - depends="" - pkgdesc="Adapta Nokto theme for Cinnamon" - install_if="adapta-nokto=$pkgver-r$pkgrel cinnamon" - _mv Adapta-Nokto cinnamon -} - -_adapta_nokto_gnome() { - depends="adapta-gnome" - pkgdesc="Adapta Nokto theme for GNOME Shell" - install_if="adapta-nokto=$pkgver-r$pkgrel gnome-shell" - _mv Adapta-Nokto gnome-shell - _mv Adapta-Nokto gedit -} - -_adapta_nokto_telegram() { - depends="" - pkgdesc="Adapta Nokto theme for Telegram" - install_if="adapta-nokto=$pkgver-r$pkgrel telegram-desktop" - _mv Adapta-Nokto telegram -} - -_adapta_nokto_xfwm4() { - depends="adapta-xfwm4" - pkgdesc="Adapta Nokto theme for XFCE4 Window Manager" - install_if="adapta-nokto=$pkgver-r$pkgrel xfwm4" - _mv Adapta-Nokto xfwm4 -} - -_adapta_nokto_eta() { - depends="ttf-roboto font-noto" - pkgdesc="Adapta Nokto Eta theme metapackage" - mkdir -p "$subpkgdir" - _mv Adapta-Nokto-Eta index.theme -} - -_adapta_nokto_eta_gtk3() { - pkgdesc="Adapta Nokto Eta theme for GTK+3" - install_if="adapta-nokto-eta=$pkgver-r$pkgrel gtk+3.0" - _mv Adapta-Nokto-Eta gtk-3.0 - _mv Adapta-Nokto-Eta gtk-3.22 - _mv Adapta-Nokto-Eta gtk-3.24 -} - -_adapta_nokto_eta_gtk2() { - depends="gtk-murrine-engine" - pkgdesc="Adapta Nokto Eta theme for GTK+2" - install_if="adapta-nokto-eta=$pkgver-r$pkgrel gtk+2.0" - _mv Adapta-Nokto-Eta gtk-2.0 -} - -_adapta_nokto_eta_gnome() { - depends="" - pkgdesc="Adapta Nokto Eta theme for GNOME Shell" - install_if="adapta-nokto-eta=$pkgver-r$pkgrel gnome-shell" - _mv Adapta-Nokto-Eta gnome-shell -} - -_adapta_nokto_eta_telegram() { - depends="adapta-nokto-telegram" - pkgdesc="Adapta Nokto Eta theme for Telegram" - install_if="adapta-nokto-eta=$pkgver-r$pkgrel telegram-desktop" - _mv Adapta-Nokto-Eta telegram -} - -sha512sums="648f8ad2cf8095c599ff4be4d6d47e0935d6b5bea65c27a36ea69cca89129c59fd078b629a38a048ef300c1bb4ca506c18c4ef0afc9753134894d3a99c83fff1 adapta-gtk-theme-3.95.0.11.tar.gz" diff --git a/unmaintained/afl/APKBUILD b/unmaintained/afl/APKBUILD deleted file mode 100644 index 8bfae57ae1d..00000000000 --- a/unmaintained/afl/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Marian <marian.buschsieweke@ovgu.de> -# Maintainer: Marian <marian.buschsieweke@ovgu.de> -pkgname=afl -pkgver=2.57b -pkgrel=2 -pkgdesc="Fuzzer relying on genetic algorithms instead of brute force" -url="https://lcamtuf.coredump.cx/afl/" -# arch="all !x86" fails to build -license="Apache-2.0" -options="!check" # no tests provided -depends="clang llvm" -makedepends="clang-dev llvm-dev" -subpackages="$pkgname-doc $pkgname-clang:_clang $pkgname-gcc:_gcc" -source="$pkgname-$pkgver.tar.gz::https://github.com/google/AFL/archive/v$pkgver.tar.gz" -builddir="$srcdir/AFL-$pkgver" - -build() { - export CC=clang - make AFL_NO_X86=1 PREFIX=/usr - make -C llvm_mode AFL_NO_X86=1 PREFIX=/usr -} - -package() { - make AFL_NO_X86=1 PREFIX=/usr DESTDIR="$pkgdir" install - install -Dm644 llvm_mode/README.llvm \ - "$pkgdir"/usr/share/doc/$pkgname/README.llvm_mode - - # small_exec.elf is an Intel binary which causes an error during - # the strip() process on non Intel plattforms. - case "$CARCH" in - x86*) ;; - *) rm -f "$pkgdir"/usr/share/afl/testcases/others/elf/small_exec.elf ;; - esac -} - -_clang() { - description="$pkgdesc - CLang instrumention support" - depends="clang" - - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/afl-clang \ - "$pkgdir"/usr/bin/afl-clang++ \ - "$subpkgdir"/usr/bin -} - -_gcc() { - description="$pkgdesc - GCC instrumention support" - depends="gcc" - - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/afl-gcc \ - "$pkgdir"/usr/bin/afl-g++ \ - "$subpkgdir"/usr/bin -} - -sha512sums="5d12b96229e966aeb11deb47cd8eb36cde2fa32656eb187db02c7240909d6acda36be59b2baf7e42cddd228d25ec94c8bffc3fa27f7f4b5e1e462b62929ce75d afl-2.57b.tar.gz" diff --git a/unmaintained/ajaxterm/APKBUILD b/unmaintained/ajaxterm/APKBUILD deleted file mode 100644 index 583074b3a17..00000000000 --- a/unmaintained/ajaxterm/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ajaxterm -_pkgname=Ajaxterm -pkgver=0.11 -pkgrel=1 -_commit="2eaa3e989782d8259a12c8cb7d6204433ae19264" -pkgdesc="Simple AJAX Terminal" -url="https://github.com/antonylesuisse/qweb/tree/master/ajaxterm" -arch="noarch" -license="GPL-2.0-or-later OR LGPL-2.1-or-later" -depends="python2" -subpackages="$pkgname-doc $pkgname-openrc" -source="https://sources.archlinux.org/other/community/ajaxterm/ajaxterm-$pkgver-${_commit}.tar.gz - ajaxterm-css.patch - ajaxterm.initd - ajaxterm.confd" - -builddir="$srcdir"/$pkgname-${_commit:0:7} - -build() { - ./configure --prefix=/usr -} - -package() { - mkdir -p $pkgdir/usr/bin - mkdir -p $pkgdir/usr/share/ajaxterm - install -m 0755 ajaxterm.bin $pkgdir/usr/bin/ajaxterm - install -D -m 0755 $srcdir/ajaxterm.initd $pkgdir/etc/init.d/ajaxterm - install -D -m 0755 $srcdir/ajaxterm.confd $pkgdir/etc/conf.d/ajaxterm - install -m 0644 ajaxterm.css ajaxterm.html qweb.py *.js $pkgdir/usr/share/ajaxterm - install -m 0755 ajaxterm.py $pkgdir/usr/share/ajaxterm - install -D -m 0644 ajaxterm.1 $pkgdir/usr/share/man/man1 -} -sha512sums="8498100fc4ca8b669f96280b7fefaec7b0224914fa56915c80b059a38e0de03b0303b6ce93364fea6e702691e0c1607e9f6fd9892633ad469930be04c5b30022 ajaxterm-0.11-2eaa3e989782d8259a12c8cb7d6204433ae19264.tar.gz -9b5adf129cafdcfa9d7b4027480d22b06e3a0486039458fb213b8d8104d7bfc9ed3886cf8d13f594c6afe9255cda5dcba3102330ab383d4efe556510d6937f11 ajaxterm-css.patch -be3dff846e906c3ac181ce017d546a4eb27aff6f8774c948fbcc2dc90012ceda26ec75318c17c5e0fe59fcb5e0d570e08c8ac800d7fa0d6ab068dcd348353661 ajaxterm.initd -da8fe66f8e1eefb8748d94431394ecc6d5c0c48910242fcb9b3619f91418443cb995a2d7c8025918fc6b3c01f471a701ce50c29225bccc75ebb451c332801743 ajaxterm.confd" diff --git a/unmaintained/ajaxterm/ajaxterm-css.patch b/unmaintained/ajaxterm/ajaxterm-css.patch deleted file mode 100644 index f062cd5c576..00000000000 --- a/unmaintained/ajaxterm/ajaxterm-css.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff --git a/ajaxterm.css b/ajaxterm.css -index b9a5f87..bfa0d38 100644 ---- a/ajaxterm.css -+++ b/ajaxterm.css -@@ -23,7 +23,8 @@ pre.stat .off { - color: white; - cursor: pointer; - } --pre.term { -+#term { -+ float: left; - margin: 0px; - padding: 4px; - display: block; -@@ -33,32 +34,29 @@ pre.term { - border-top: 1px solid white; - color: #eee; - } --pre.term span.f0 { color: #000; } --pre.term span.f1 { color: #b00; } --pre.term span.f2 { color: #0b0; } --pre.term span.f3 { color: #bb0; } --pre.term span.f4 { color: #00b; } --pre.term span.f5 { color: #b0b; } --pre.term span.f6 { color: #0bb; } --pre.term span.f7 { color: #bbb; } --pre.term span.f8 { color: #666; } --pre.term span.f9 { color: #f00; } --pre.term span.f10 { color: #0f0; } --pre.term span.f11 { color: #ff0; } --pre.term span.f12 { color: #00f; } --pre.term span.f13 { color: #f0f; } --pre.term span.f14 { color: #0ff; } --pre.term span.f15 { color: #fff; } --pre.term span.b0 { background-color: #000; } --pre.term span.b1 { background-color: #b00; } --pre.term span.b2 { background-color: #0b0; } --pre.term span.b3 { background-color: #bb0; } --pre.term span.b4 { background-color: #00b; } --pre.term span.b5 { background-color: #b0b; } --pre.term span.b6 { background-color: #0bb; } --pre.term span.b7 { background-color: #bbb; } -+span.f0 { color: #000; } -+span.f1 { color: #b00; } -+span.f2 { color: #0b0; } -+span.f3 { color: #bb0; } -+span.f4 { color: #00b; } -+span.f5 { color: #b0b; } -+span.f6 { color: #0bb; } -+span.f7 { color: #bbb; } -+span.f8 { color: #666; } -+span.f9 { color: #f00; } -+span.f10 { color: #0f0; } -+span.f11 { color: #ff0; } -+span.f12 { color: #00f; } -+span.f13 { color: #f0f; } -+span.f14 { color: #0ff; } -+span.f15 { color: #fff; } -+span.b0 { background-color: #000; } -+span.b1 { background-color: #b00; } -+span.b2 { background-color: #0b0; } -+span.b3 { background-color: #bb0; } -+span.b4 { background-color: #00b; } -+span.b5 { background-color: #b0b; } -+span.b6 { background-color: #0bb; } -+span.b7 { background-color: #bbb; } - - body { background-color: #888; } --#term { -- float: left; --} diff --git a/unmaintained/ajaxterm/ajaxterm.confd b/unmaintained/ajaxterm/ajaxterm.confd deleted file mode 100644 index 4ddff72ae5e..00000000000 --- a/unmaintained/ajaxterm/ajaxterm.confd +++ /dev/null @@ -1,3 +0,0 @@ -DAEMON=/usr/bin/ajaxterm -PORT=8022 -PIDFILE=/var/run/ajaxterm.pid diff --git a/unmaintained/ajaxterm/ajaxterm.initd b/unmaintained/ajaxterm/ajaxterm.initd deleted file mode 100644 index 79797004e23..00000000000 --- a/unmaintained/ajaxterm/ajaxterm.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run - -depend() -{ - need net -} - -start() -{ - ebegin "Starting AjaxTerm on port $PORT" - start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- --daemon --port=$PORT --uid=nobody - eend $? -} - -stop() -{ - ebegin "Stopping AjaxTerm" - start-stop-daemon --stop --pidfile $PIDFILE - rm -f $PIDFILE - eend $? -} diff --git a/unmaintained/anbox/APKBUILD b/unmaintained/anbox/APKBUILD deleted file mode 100644 index 5003823375e..00000000000 --- a/unmaintained/anbox/APKBUILD +++ /dev/null @@ -1,123 +0,0 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> -# Contributor: Grant Miller <GrantM11235@gmail.com> -# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch> -# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch> -pkgname=anbox -pkgver=0_git20210902 -pkgrel=2 -_commit="31d584e13d24b1889566ae77e7cabc88e6414ebf" -_cpu_features_version="0.6.0" -pkgdesc="Android in a box" -url="https://github.com/anbox/anbox" -arch="x86_64 armv7 aarch64" -license="GPL-3.0-or-later" -subpackages="$pkgname-openrc" -install="$pkgname.post-install" -depends=" - fuse3 - iptables - lxc - mesa-egl - mesa-gles - " -makedepends=" - boost-dev - cmake - cmake-extras - dbus-dev - elfutils-dev - elogind-dev - glm-dev - gtest-dev - libcap-dev - libdwarf-dev - libexecinfo-dev - lxc-dev - mesa-dev - properties-cpp-dev - protobuf-dev - python3 - sdbus-cpp-dev - sdl2-dev - sdl2_image-dev - " -source="$pkgname-$_commit.tar.gz::https://github.com/anbox/anbox/archive/$_commit.tar.gz - cpu_features-v$_cpu_features_version.tar.gz::https://github.com/google/cpu_features/archive/v$_cpu_features_version.tar.gz - anbox-container-manager.initd - anbox.confd - no-bundled-sdbus.patch - musl-fixes.patch - give-more-time-to-start.patch - https://github.com/ubports/anbox/commit/e34b59513422eb905b53d7dc6c0862cea535eb96.patch - anbox-launch.sh - anbox.desktop - lxc4.patch - apparmor.patch - " -builddir="$srcdir/$pkgname-$_commit" - -prepare() { - # the bundled cpu_features is outdated and breaks build on arm. - rm -r external/cpu_features - cp -r $srcdir/cpu_features-*/ external/cpu_features - - default_prepare -} - -build() { - cmake -B build \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=OFF \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DANBOX_VERSION=alpine-$pkgver-r$pkgrel \ - -DWerror=OFF - cmake --build build -} - -check() { - cd "$builddir"/build - make test -} - -package() { - DESTDIR="$pkgdir" cmake --install build - - # Remove unnecessary files - rm -r "$pkgdir"/usr/lib/backward/ - rm -r "$pkgdir"/usr/include - - install -m755 -D "$srcdir"/anbox-container-manager.initd \ - "$pkgdir"/etc/init.d/anbox-container-manager - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname - install -m755 -D "$srcdir"/$pkgname-launch.sh \ - "$pkgdir"/usr/bin/$pkgname-launch - - install -m644 -D "$srcdir"/$pkgname.desktop \ - "$pkgdir"/usr/share/applications/$pkgname.desktop - install -m644 -D "$builddir"/snap/gui/icon.png \ - "$pkgdir"/usr/share/icons/hicolor/512x512/anbox.png - - # this is a dependency of the init script - install -m755 -D "$builddir"/scripts/anbox-bridge.sh \ - "$pkgdir"/usr/share/anbox/anbox-bridge.sh - # this is for convenience, to allow someone to get root access - install -m755 -D "$builddir"/scripts/anbox-shell.sh \ - "$pkgdir"/usr/share/anbox/anbox-shell.sh -} - -sha512sums=" -89afe367a67380b59163bf7025dcd1299db9494a6b82fe06a82b6150becb90915fa47c5f13d0e4f02379d95d1d5b434b6f2380d08fe932ea1e4b4470ae3bb287 anbox-31d584e13d24b1889566ae77e7cabc88e6414ebf.tar.gz -006a2e05253712cf605ecabccdda63dd9325445f8d145d5e2432c4342332e652f318810997321849be131082db435d88143020fdc85268fba204586cf37eef0d cpu_features-v0.6.0.tar.gz -959058eb1c1e3eb0d1593695ee57fbc0cc567f260235e81d7b56da62b0b80fca9112d5f16a1e1c5c0e6223c8a1899f97f906c7cc763dc015e094aacded818a2f anbox-container-manager.initd -6a3bc88142c5287ec54d481a4788eceb7772d9974af950b5286ce63a49d05d9d49fce5ba1d02b4b1c9893896fd4ba218fd4d39b8e640bdd61ad196b5d5c9a021 anbox.confd -c2b4ca0ff20df005abfbaa457d40ae65d3979353b1868fbfebff1c0527d1df71c5684a6b7dc9d71f114fa805c412501b1afc69b2e9e49d63b00671a8ebcb3d3c no-bundled-sdbus.patch -401669509e05eb586ad40fc9e8f4284b52183f06c60e87bf4e923be165a72f10263daf226db7fd610ef6ff25d09abd140ca2d59187e2d1b85a0bd6ae887dd944 musl-fixes.patch -0f6324231028d32467dc95d43ed4865c29fde3396524479f514533e079179b0b068f1b38cbdf227af13d64ab117a27f3b962d8a99f5ecacf3fff4302d3ffe702 give-more-time-to-start.patch -049ef6e5d02bc1bb39c24d623b00c048443cfaba72637a22d27e202a42731d8e9e71cccd59c8f7dafc1816f1fd4508d337ec75f59891ebbdadc275b2daba466f e34b59513422eb905b53d7dc6c0862cea535eb96.patch -921d69e28a2f63a6eaccdfbd6f53173d2e0c59dd650dd83c0d8f816b5f23f1ba61abb393b0cf5e48d80ce363df4f3e609de34a4e5a73c2b520dba96b76eda0c9 anbox-launch.sh -3e458e6215ecf0ac94d749f4d78e464850dcf2cc2b616b2f7ddf26e9617d63a90bd0c8be59e4540141a813af4bad84d0f84874105f7ef9de8149666fc3828da7 anbox.desktop -f10858bab173d6254efcdfe8ebea2e5717ec4a6bd7723d65c18e36fadbd06a8576786ad3c07fa6319cc23a6f18254d70ca34099cbcc633ea4341fc892c321610 lxc4.patch -51ef961527436aed33f817e37da8466e0b57da344233e9e5decec62bff7da45631f0b300dfc129bf2bd179143dfc900fa9bf9a64ac86c155712d8957d449fca4 apparmor.patch -" diff --git a/unmaintained/anbox/anbox-container-manager.initd b/unmaintained/anbox/anbox-container-manager.initd deleted file mode 100644 index d692e052381..00000000000 --- a/unmaintained/anbox/anbox-container-manager.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon - -name="Anbox container manager" -command=/usr/bin/anbox -command_args="container-manager --daemon --privileged --data-path=/var/lib/anbox --android-image=/usr/share/anbox/android.img" - -depend() { - need localmount sysfs cgroups fuse - use net - after firewall -} - -start_pre() { - # that's all you need to avoid the lxc dependency - checkpath --directory /usr/lib/lxc - checkpath --directory /usr/lib/lxc/rootfs - - modprobe loop - modprobe tun - - if ip link show anbox0 >/dev/null 2>&1; then - ewarn "anbox0 network interface already exists" - else - ebegin "Creating anbox0 network interface" - /usr/share/anbox/anbox-bridge.sh start - eend $? - fi -} - -stop_post() { - if ip link show anbox0 >/dev/null 2>&1; then - ebegin "Removing anbox0 network interface" - /usr/share/anbox/anbox-bridge.sh stop - eend $? - fi -} diff --git a/unmaintained/anbox/anbox-launch.sh b/unmaintained/anbox/anbox-launch.sh deleted file mode 100644 index ce5286a8dfc..00000000000 --- a/unmaintained/anbox/anbox-launch.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# https://gitlab.com/postmarketOS/pmaports/-/issues/479 -# EGL_PLATFORM=wayland is broken on desktop as -# Anbox require PBuffer support but Wayland EGL -# doesn't provide it. Unsetting this value -# unbreaks Anbox on e.g. Plasma Mobile. -if [ "$EGL_PLATFORM" = wayland ]; then - export EGL_PLATFORM - unset EGL_PLATFORM -fi - -# This breaks Anbox display if EGL_PLATFORM is not -# set to wayland. Since EGL_PLATFORM is never set -# to wayland, let's unset SDL_VIDEODRIVER if it is. -if [ "$SDL_VIDEODRIVER" = wayland ]; then - export SDL_VIDEODRIVER - unset SDL_VIDEODRIVER -fi - -# We let Anbox autostart the session manager as this -# provides a splash-screen -anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity diff --git a/unmaintained/anbox/anbox.confd b/unmaintained/anbox/anbox.confd deleted file mode 100644 index a519399936b..00000000000 --- a/unmaintained/anbox/anbox.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Sample conf.d file for alpine linux - -# -# Specify daemon options here. -# - -sample_opts="" -sample_user="" diff --git a/unmaintained/anbox/anbox.desktop b/unmaintained/anbox/anbox.desktop deleted file mode 100644 index 2a677b12f84..00000000000 --- a/unmaintained/anbox/anbox.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Anbox -GenericName=Android in a box -Version=1.0 -Type=Application -Icon=/usr/share/icons/hicolor/512x512/anbox.png -TryExec=anbox -Exec=anbox-launch -Terminal=false diff --git a/unmaintained/anbox/anbox.post-install b/unmaintained/anbox/anbox.post-install deleted file mode 100644 index 79cf891163a..00000000000 --- a/unmaintained/anbox/anbox.post-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -cat <<EOT - -Anbox needs an adapted android image installed to /usr/share/anbox/android.img. -You can build one using the instructions here: -https://github.com/anbox/anbox/blob/master/docs/build-android.md. -Alternatively, you can use a prebuilt one by upstream: -https://build.anbox.io/android-images/ - -EOT diff --git a/unmaintained/anbox/apparmor.patch b/unmaintained/anbox/apparmor.patch deleted file mode 100644 index 3a8acef6b39..00000000000 --- a/unmaintained/anbox/apparmor.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://github.com/anbox/anbox/pull/1856 ---- a/src/anbox/container/lxc_container.cpp -+++ b/src/anbox/container/lxc_container.cpp -@@ -390,8 +390,6 @@ void LxcContainer::start(const Configuration &configuration) { - // anbox-support interface. The container manager itself runs within a - // child profile snap.anbox.container-manager//lxc too. - set_config_item("lxc.apparmor.profile", "snap.anbox.container-manager//container"); --#else -- set_config_item(lxc_config_apparmor_profile_key, "unconfined"); - #endif - - if (!privileged_) diff --git a/unmaintained/anbox/give-more-time-to-start.patch b/unmaintained/anbox/give-more-time-to-start.patch deleted file mode 100644 index 49bc0592109..00000000000 --- a/unmaintained/anbox/give-more-time-to-start.patch +++ /dev/null @@ -1,13 +0,0 @@ -Anbox tend not to leave enough time for Android to start. -This patch gives more breathing room. ---- a/src/anbox/cmds/launch.cpp -+++ b/src/anbox/cmds/launch.cpp -@@ -34,7 +34,7 @@ - namespace fs = boost::filesystem; - - namespace { --constexpr unsigned int max_session_mgr_wait_attempts{10}; -+constexpr unsigned int max_session_mgr_wait_attempts{100}; - const std::chrono::seconds session_mgr_wait_interval{5}; - constexpr unsigned int max_dbus_service_wait_attempts{10}; - const std::chrono::seconds dbus_service_wait_interval{5}; diff --git a/unmaintained/anbox/lxc4.patch b/unmaintained/anbox/lxc4.patch deleted file mode 100644 index 7f229b4aae4..00000000000 --- a/unmaintained/anbox/lxc4.patch +++ /dev/null @@ -1,16 +0,0 @@ -https://github.com/anbox/anbox/pull/1827 ---- a/src/anbox/container/lxc_container.cpp -+++ b/src/anbox/container/lxc_container.cpp -@@ -343,8 +343,10 @@ void LxcContainer::start(const Configura - set_config_item(lxc_config_tty_max_key, "0"); - set_config_item(lxc_config_uts_name_key, "anbox"); - -- set_config_item("lxc.group.devices.deny", ""); -- set_config_item("lxc.group.devices.allow", ""); -+ set_config_item("lxc.cgroup.devices.deny", ""); -+ set_config_item("lxc.cgroup.devices.allow", ""); -+ set_config_item("lxc.cgroup2.devices.deny", ""); -+ set_config_item("lxc.cgroup2.devices.allow", ""); - - // We can't move bind-mounts, so don't use /dev/lxc/ - set_config_item(lxc_config_tty_dir_key, ""); diff --git a/unmaintained/anbox/musl-fixes.patch b/unmaintained/anbox/musl-fixes.patch deleted file mode 100644 index cd14a08d618..00000000000 --- a/unmaintained/anbox/musl-fixes.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/external/process-cpp-minimal/include/core/posix/standard_stream.h b/external/process-cpp-minimal/include/core/posix/standard_stream.h -index f50a9b7..4a67a80 100644 ---- a/external/process-cpp-minimal/include/core/posix/standard_stream.h -+++ b/external/process-cpp-minimal/include/core/posix/standard_stream.h -@@ -23,6 +23,10 @@ - - #include <cstdint> - -+#undef stdin -+#undef stdout -+#undef stderr -+ - namespace core - { - namespace posix -diff --git a/external/process-cpp-minimal/src/CMakeLists.txt b/external/process-cpp-minimal/src/CMakeLists.txt -index dec4659..20c9053 100644 ---- a/external/process-cpp-minimal/src/CMakeLists.txt -+++ b/external/process-cpp-minimal/src/CMakeLists.txt -@@ -46,4 +46,5 @@ target_link_libraries( - - ${Boost_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} -+ execinfo - ) - diff --git a/unmaintained/anbox/no-bundled-sdbus.patch b/unmaintained/anbox/no-bundled-sdbus.patch deleted file mode 100644 index 043be3c48da..00000000000 --- a/unmaintained/anbox/no-bundled-sdbus.patch +++ /dev/null @@ -1,46 +0,0 @@ -Upstream: no. I've tried to write a proper (upstreamable) fix, but it's not ready yet. - ---- a/external/CMakeLists.txt -+++ b/external/CMakeLists.txt -@@ -6,12 +6,3 @@ add_subdirectory(backward-cpp) - set(BUILD_TESTING OFF) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error") - add_subdirectory(cpu_features EXCLUDE_FROM_ALL) --include(ExternalProject) --ExternalProject_Add(sdbus-cpp -- PREFIX sdbus-cpp -- SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/sdbus-cpp" -- INSTALL_COMMAND "" -- CMAKE_CACHE_ARGS -- -DBUILD_CODE_GEN:BOOL=ON -- -DBUILD_SHARED_LIBS:BOOL=OFF --) ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -26,7 +26,6 @@ include_directories( - ${CMAKE_SOURCE_DIR}/external/android-emugl/host/libs/renderControl_dec - ${CMAKE_BINARY_DIR}/external/android-emugl/host/libs/renderControl_dec - ${CMAKE_SOURCE_DIR}/external/cpu_features/include -- ${CMAKE_SOURCE_DIR}/external/sdbus-cpp/include - ) - - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBINDERFS_PATH=\"\\\"${BINDERFS_PATH}\\\"\"") -@@ -59,7 +59,7 @@ add_library(anbox-protobuf - target_link_libraries(anbox-protobuf - ${PROTOBUF_LITE_LIBRARIES}) - --set(XML2CPP ${CMAKE_BINARY_DIR}/external/sdbus-cpp/src/sdbus-cpp-build/tools/sdbus-c++-xml2cpp) -+set(XML2CPP sdbus-c++-xml2cpp) - - macro(DBusServer BaseName) - add_custom_command( ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -59,6 +59,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) - find_package(Boost COMPONENTS filesystem log serialization system thread program_options) - find_package(PkgConfig) - find_package(Threads) -+find_package(SDBus-C++ REQUIRED) - find_package(EGL REQUIRED) - find_package(GLESv2 REQUIRED) - find_package(Protobuf REQUIRED) diff --git a/unmaintained/apk-polkit/APKBUILD b/unmaintained/apk-polkit/APKBUILD deleted file mode 100644 index c518048ddbb..00000000000 --- a/unmaintained/apk-polkit/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=apk-polkit -pkgver=0.6.1 -_distsha=e8f1846b37d8f560a36028a49d5de398 -pkgrel=0 -pkgdesc="A Polkit helper for apk, the Alpine Package Keeper" -url="https://gitlab.alpinelinux.org/Cogitri/apk-polkit" -# SIGSEGV on x86 -arch="x86_64 aarch64" # ldc -license="GPL-3.0-or-later" -makedepends="meson polkit-d-dev openssl-d-dev apk-tools-d-dev>=2.10.5.8 - ldc ldc-runtime glibd-dev lld lua5.3-lzlib lua5.3" -checkdepends="bash py3-dbusmock dbus dbus-x11" -subpackages="$pkgname-static $pkgname-dev $pkgname-dbg" -source="https://gitlab.alpinelinux.org/Cogitri/apk-polkit/uploads/$_distsha/apk-polkit-$pkgver.tar.xz" - -build() { - # Needs lld as linker, see: https://github.com/mesonbuild/meson/issues/6987 - DFLAGS="--linker=lld" meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=plain \ - . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="7c3e1f30e09a09cb485f4a6542ae6dc4a8dcf6dbf46000aecbe72694ca3dad4297b199e237bb77d6d5614de45f017c7fe0c308cbd5c2b07da16b574921fc25ec apk-polkit-0.6.1.tar.xz" diff --git a/unmaintained/apk-tools-d/APKBUILD b/unmaintained/apk-tools-d/APKBUILD deleted file mode 100644 index 2ccc4a74cfd..00000000000 --- a/unmaintained/apk-tools-d/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=apk-tools-d -pkgver=2.10.5.8 -pkgrel=0 -pkgdesc="D bindings for APK, the Alpine Package Keeper" -url="https://gitlab.alpinelinux.org/Cogitri/apk-toolsd/" -arch="x86_64 aarch64" # ldc -arch="" # dependency openssl-d has been moved to untmaintained -license="GPL-2.0-or-later" -makedepends="meson ldc ldc-runtime openssl-d-dev" -subpackages="$pkgname-dev $pkgname-dbg" -source="https://gitlab.alpinelinux.org/Cogitri/apk-toolsd/-/archive/v$pkgver/apk-toolsd-v$pkgver.tar.gz" -builddir="$srcdir/apk-toolsd-v$pkgver" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="8cf69b7c1e2e0c0a59599e01243d204eef022a10a1363bef96206a31a7666c3acf92590e8fc9a54eec1344a9cceb9d329a38606ec6b0b397909e9dbf59091930 apk-toolsd-v2.10.5.8.tar.gz" diff --git a/unmaintained/archiso/APKBUILD b/unmaintained/archiso/APKBUILD deleted file mode 100644 index 554a2eeaa0a..00000000000 --- a/unmaintained/archiso/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Clayton Craft <clayton@craftyguy.net> -# Maintainer: -pkgname=archiso -pkgver=69 -pkgrel=0 -pkgdesc="tools for creating Arch Linux live and install iso images" -url="https://gitlab.archlinux.org/archlinux/archiso" -arch="noarch" -license="GPL-3.0-or-later" -depends=" - arch-install-scripts - archlinux-keyring - bash - dosfstools - e2fsprogs - libarchive - libisoburn - openssl - pacman - mtools - squashfs-tools - " -subpackages="$pkgname-doc" -options="!check" # no tests -source="https://gitlab.archlinux.org/archlinux/archiso/-/archive/v$pkgver/archiso-v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-v$pkgver" - -package() { - make DESTDIR="$pkgdir" PREFIX=/usr install -} - -sha512sums=" -34ebe9b363301c2ac223922bb8f27db54c84ea6a5ed9e6a804f9d9225d9f155187f1ca0ec32ebcae39a25f04504f863b398dba99926491a0d5a554f640b5d099 archiso-v69.tar.gz -" diff --git a/unmaintained/archlinux-keyring/APKBUILD b/unmaintained/archlinux-keyring/APKBUILD deleted file mode 100644 index 7bb2aff949d..00000000000 --- a/unmaintained/archlinux-keyring/APKBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Contributor: Clayton Craft <clayton@craftyguy.net> -# Maintainer: -pkgname=archlinux-keyring -pkgver=20211028 -pkgrel=0 -pkgdesc="GuPG keys for Arch Linux" -url="https://archlinux.org" -arch="noarch" -license="GPL-3.0-or-later" -options="!check" -install="$pkgname.post-install $pkgname.post-upgrade" -source="https://sources.archlinux.org/other/archlinux-keyring/archlinux-keyring-$pkgver.tar.gz" - -package() { - make PREFIX=/usr DESTDIR="$pkgdir" install -} -sha512sums=" -9f1f6a1cb8d613d2682a38a7fd17e83a66c8aaed79f8b84452092fc32a0af6a957a56520b12081a72c0d5e71bf129ba0f7107a200bb4dee66a04462241c73647 archlinux-keyring-20211028.tar.gz -" diff --git a/unmaintained/archlinux-keyring/archlinux-keyring.post-install b/unmaintained/archlinux-keyring/archlinux-keyring.post-install deleted file mode 100644 index 872d327d6a5..00000000000 --- a/unmaintained/archlinux-keyring/archlinux-keyring.post-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -if [ -x /usr/bin/pacman-key ]; then - /usr/bin/pacman-key --populate archlinux - /usr/bin/pacman-key --updatedb -fi - -exit 0 diff --git a/unmaintained/archlinux-keyring/archlinux-keyring.post-upgrade b/unmaintained/archlinux-keyring/archlinux-keyring.post-upgrade deleted file mode 120000 index b75848866fb..00000000000 --- a/unmaintained/archlinux-keyring/archlinux-keyring.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -archlinux-keyring.post-install
\ No newline at end of file diff --git a/unmaintained/artifactory-oss/APKBUILD b/unmaintained/artifactory-oss/APKBUILD deleted file mode 100644 index 2ae034e16d3..00000000000 --- a/unmaintained/artifactory-oss/APKBUILD +++ /dev/null @@ -1,101 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=artifactory-oss -_pkgname=artifactory -pkgver=4.16.1 -pkgrel=0 -pkgdesc="Open source Maven repository manager" -url="https://www.jfrog.com/open-source/" -arch="noarch !mips !mips64" # java -license="AGPL-3.0" -depends="jetty-runner openjdk8-jre-base" -makedepends="unzip zip" -install="$pkgname.pre-install $pkgname.post-install" -pkgusers="artifact" -pkggroups="artifact" -source="https://jcenter.bintray.com/org/artifactory/oss/jfrog-$pkgname/$pkgver/jfrog-$pkgname-$pkgver.zip - $_pkgname.confd" -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare || return 1 - - cd "$builddir" - - # Prepare default storage config (this is copied from Artifactory). - cat > etc/storage.properties <<-'EOF' - type=derby - url=jdbc:derby:{db.home};create=true - driver=org.apache.derby.jdbc.EmbeddedDriver - EOF - - # Allow to change logs directory using system property. - sed -i 's|${artifactory.home}/logs|${artifactory.logs}|' \ - etc/logback.xml || return 1 - - cd webapps - - # Remove tomcat-juli from WAR, it conflicts with Jetty's implementation. - zip -d $_pkgname.war WEB-INF/lib/tomcat-juli-*.jar || return 1 - - # Patch web.xml inside WAR; remove second declaration of - # welcome-file-list that overwrites the previous correct one. - unzip $_pkgname.war WEB-INF/web.xml || return 1 - patch -l WEB-INF/web.xml <<-EOF || return 1 - @@ -159,8 +159,5 @@ - <url-pattern>/ui/*</url-pattern> - </servlet-mapping> - - - <welcome-file-list> - - <welcome-file>TC7-49422</welcome-file> - - </welcome-file-list> - - </web-app> - EOF - zip -u $_pkgname.war WEB-INF/web.xml -} - -package() { - local libdir="$pkgdir/var/lib/$_pkgname" - - cd "$builddir" - - install -m 644 -D webapps/$_pkgname.war \ - "$pkgdir"/usr/share/java/$_pkgname.war || return 1 - - install -m 750 -o $pkgusers -g $pkggroups -d \ - "$libdir" "$libdir"/etc "$libdir"/data || return 1 - - install -m 755 -o $pkgusers -g $pkggroups -d \ - "$pkgdir"/var/log/$_pkgname || return 1 - - # Derby insists on logging into ./logs, so we must symlink it. - ln -s /var/log/$_pkgname "$libdir"/logs || return 1 - - local f - for f in artifactory.system.properties mimetypes.xml storage.properties; do - install -m 644 -D etc/$f "$pkgdir"/etc/$_pkgname/$f || return 1 - ln -s /etc/$_pkgname/$f "$libdir"/etc/$f || return 1 - done - - # Fix permissions, this file may contain DB password. - install -m 640 -o root -g $pkggroups etc/storage.properties \ - "$pkgdir"/etc/$_pkgname/storage.properties || return 1 - - # Artifactory dumps settings from web admin interface, so keep it in - # /usr/lib instead of /etc. - install -m 600 -o $pkgusers -g $pkggroups \ - etc/artifactory.config.xml "$libdir"/etc/ || return 1 - - # Artifactory doesn't like symlinked logback.xml, so we must keep it here. - install -m 644 -o $pkgusers -g $pkggroups \ - etc/logback.xml "$libdir"/etc/ || return 1 - - mkdir -p "$pkgdir"/etc/init.d - ln -s jetty-runner "$pkgdir"/etc/init.d/$_pkgname || return 1 - - install -m 644 -D "$srcdir"/$_pkgname.confd "$pkgdir"/etc/conf.d/$_pkgname -} - -sha512sums="21999e0f8741f68c8a075132238f823532c1216d2828e1ce3e79dbb5a11687cc6bda60d9493002e4eada177a761e9fcacf08b99e3bcd2af75e1c76574a2eb6fb jfrog-artifactory-oss-4.16.1.zip -2701ea102da77b86be3b9aa75d5aa92fd5d81081ae1c835aaea49b0f0fd015bd5b32128ba913afda10fac122eec2d0bd1e203af4ee3d13106c3e66e7d1b83498 artifactory.confd" diff --git a/unmaintained/artifactory-oss/artifactory-oss.post-install b/unmaintained/artifactory-oss/artifactory-oss.post-install deleted file mode 100644 index c9d0f9398db..00000000000 --- a/unmaintained/artifactory-oss/artifactory-oss.post-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -cat <<EOF -* -* Default admin user is "admin" with password "password". -* -EOF diff --git a/unmaintained/artifactory-oss/artifactory-oss.pre-install b/unmaintained/artifactory-oss/artifactory-oss.pre-install deleted file mode 100644 index 1bb67829621..00000000000 --- a/unmaintained/artifactory-oss/artifactory-oss.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S artifact 2>/dev/null -adduser -S -D -H -h /var/lib/artifactory -s /sbin/nologin -G artifact -g artifactory artifact 2>/dev/null - -exit 0 diff --git a/unmaintained/artifactory-oss/artifactory.confd b/unmaintained/artifactory-oss/artifactory.confd deleted file mode 100644 index a0dadfee917..00000000000 --- a/unmaintained/artifactory-oss/artifactory.confd +++ /dev/null @@ -1,44 +0,0 @@ -# User to run the application. -user="artifact" - -# Path of the WAR file, the web app directory, or the context xml file to run. -webapp_path="/usr/share/java/artifactory.war" - -# The relative URL root (i.e. context path) of the application. -#context_root="" - -# The port to listen on for HTTP connections (or 0 for a randomly allocated port). -server_port="8080" - -# The name or IP of the interface to listen on (default is all interfaces). -#server_bind_address="" - -# Path of the log file to catch stdout/stderr of the server process. -# Use empty value to disable stdout/sderr logging. -server_out_log="/var/log/artifactory/server.log" - -# Path of the access log file. -# Use empty value to disable access log. -#server_access_log="/var/log/artifactory/access.log" - -# Additional JARs to be added to the classloader. -# It may contain space or colon separated paths of JAR files or directories. -#server_extra_jars="/usr/share/java/postgresql-jdbc.jar" - -# Java system properties to pass to the JVM. -# Define space separated tuples of <name>=<value>; it will be transformed into -# -D<name>=<value> arguments for java. -java_properties=" - artifactory.home=/var/lib/artifactory - artifactory.logs=/var/log/artifactory" - -# Initial and maximum size of the heap (in megabytes). -# Note: This sets parameters -Xms and -Xmx. -java_heap_size="512" - -# Additional options to pass to the JVM. -java_opts="-XX:+UseG1GC -XX:MaxGCPauseMillis=80 -Xss256k" - -# You may use rc_need, rc_use, rc_after, rc_before and rc_provide variables to -# influence the dependencies of the service. -#rc_use="postgresql" diff --git a/unmaintained/backuppc/APKBUILD b/unmaintained/backuppc/APKBUILD deleted file mode 100644 index 94d6371cba3..00000000000 --- a/unmaintained/backuppc/APKBUILD +++ /dev/null @@ -1,79 +0,0 @@ -# Contributor: -pkgname="backuppc" -_realname="BackupPC" -pkgver=3.3.2 -pkgrel=0 -pkgdesc="High-performance, enterprise-grade backup system" -url="http://backuppc.sourceforge.net/" -arch="noarch" -license="GPL-2.0-or-later" -depends="perl busybox rsync perl-archive-zip - perl-libwww perl-file-rsync samba-client" -pkgusers="backuppc" -pkggroups="backuppc" -install="$pkgname.pre-install" -source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$_realname-$pkgver.tar.gz - $pkgname.initd - - configure.pl.patch - fix-pidfile-path.patch - fix-socket-path.patch - " -builddir="$srcdir/$_realname-$pkgver" - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/etc/BackupPC \ - "$pkgdir"/var/www/cgi-bin \ - "$pkgdir"/var/www/htdocs/BackupPC || return 1 - - perl configure.pl \ - --batch \ - --backuppc-user=backuppc \ - --bin-path bzip2=/usr/bin/bzip2 \ - --bin-path cat=/bin/cat \ - --bin-path df=/bin/df \ - --bin-path tar=/bin/tar \ - --bin-path hostname=/bin/hostname \ - --bin-path nmblookup=/usr/bin/nmblookup \ - --bin-path perl=/usr/bin/perl \ - --bin-path ping=/bin/ping \ - --bin-path rsync=/usr/bin/rsync \ - --bin-path sendmail=/usr/sbin/sendmail \ - --bin-path smbclient=/usr/bin/smbclient \ - --bin-path split=/usr/bin/split \ - --bin-path ssh=/usr/bin/ssh \ - --compress-level=3 \ - --dest-dir="$pkgdir" \ - --config-dir /etc/BackupPC \ - --cgi-dir /var/www/cgi-bin \ - --data-dir /var/lib/BackupPC \ - --hostname backuppc \ - --html-dir /var/www/htdocs/BackupPC \ - --html-dir-url /BackupPC \ - --install-dir /usr/share/BackupPC \ - --log-dir /var/log/BackupPC \ - --uid-ignore \ - --no-set-perms || return 1 - - install -m755 configure.pl \ - "$pkgdir"/usr/share/BackupPC/bin/configure.pl || return 1 - install -D -m755 "$srcdir"/backuppc.initd \ - "$pkgdir"/etc/init.d/backuppc || return 1 - - chmod 775 "$pkgdir"/usr/share/BackupPC/bin/* - - local dir; for dir in etc var/log var/lib; do - chown -R backuppc:backuppc "$pkgdir"/$dir/BackupPC || return 1 - chmod 755 "$pkgdir"/$dir || return 1 - done - - ln -s /var/www/cgi-bin/BackupPC_Admin "$pkgdir"/var/www/htdocs/index.cgi || return 1 -} - -sha512sums="26176398cc619be05f864b56cb1d259f5eb6814bbe0fd30bd1527f6705dff175999c2b4e8a8767db0c5e0826065788f17d3ccdb5dbb608b62a7f56035fdc052b BackupPC-3.3.2.tar.gz -a38361fd0e54a4c0100a7bf94b09483e5ba246dc45d6955d275542dd5662d8da11d9580685195b7d4dfa9a07c0487a52a14a95340737e70889ffe5c5e26d5ff8 configure.pl.patch -15fdb58e038160775fe4deebf6c8adbc128a37da2a866ef00e1eea202c396220cdd1c0547a45f11127dbdc957eaed5188cb87a05467d25647fb462be28c51ce7 fix-pidfile-path.patch -4391bdfaa3044a4eecec617fbcba1bf21bdd9389e3d3a73f62e74e6b818de40fc1600e26b358cf35a6bac01086ed12a3ff7abba64e67d11c7a91b2046c239189 fix-socket-path.patch -288bba10ca4dd585638625321395e0a40aca30169a122c443f7c6fcd55143e6fcdfa5d39595bacf06cc4960b6e17992a57ec3d3a7ddd9b140e44da4ebdd019d3 backuppc.initd" diff --git a/unmaintained/backuppc/backuppc.initd b/unmaintained/backuppc/backuppc.initd deleted file mode 100644 index 751f04bf4e0..00000000000 --- a/unmaintained/backuppc/backuppc.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run - -extra_started_commands="reload" - -: ${user:="backuppc"} -: ${logdir:="/var/log/BackupPC"} -: ${command_args:="-d"} - -command="/usr/share/BackupPC/bin/BackupPC" -start_stop_daemon_args="--interpreted --user $user" -pidfile="/run/BackupPC/BackupPC.pid" -retry="30" - -depend() { - after firewall modules -} - -start_pre() { - checkpath -d -o $user -m 755 "${pidfile%/*}" -} - -reload() { - ebegin "Reloading $name" - start-stop-daemon --signal 1 --pidfile "$pidfile" -x /usr/bin/perl - eend $? -} diff --git a/unmaintained/backuppc/backuppc.pre-install b/unmaintained/backuppc/backuppc.pre-install deleted file mode 100644 index eea66968c1a..00000000000 --- a/unmaintained/backuppc/backuppc.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S backuppc 2>/dev/null -adduser -S -D -H -h /var/lib/BackupPC -s /bin/sh -G backuppc -g "BackupPC user" backuppc 2>/dev/null - -exit 0 diff --git a/unmaintained/backuppc/configure.pl.patch b/unmaintained/backuppc/configure.pl.patch deleted file mode 100644 index 67c2892ab45..00000000000 --- a/unmaintained/backuppc/configure.pl.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- BackupPC-3.3.0.orig/configure.pl -+++ BackupPC-3.3.0/configure.pl -@@ -327,25 +327,11 @@ - - EOF - my($name, $passwd, $Uid, $Gid); --while ( 1 ) { -- $Conf{BackupPCUser} = prompt("--> BackupPC should run as user", -- $Conf{BackupPCUser} || "backuppc", -- "backuppc-user"); -- if ( $opts{"set-perms"} ) { -+ $Conf{BackupPCUser} = prompt("--> BackupPC should run as user", -+ $Conf{BackupPCUser} || "backuppc", -+ "backuppc-user"); - ($name, $passwd, $Uid, $Gid) = getpwnam($Conf{BackupPCUser}); -- last if ( $name ne "" ); -- print <<EOF; - --getpwnam() says that user $Conf{BackupPCUser} doesn't exist. Please --check the name and verify that this user is in the passwd file. -- --EOF -- exit(1) if ( $opts{batch} ); -- } else { -- last; -- } --} -- - print <<EOF; - - Please specify an install directory for BackupPC. This is where the -@@ -532,12 +518,6 @@ - ) ) { - next if ( -d "$DestDir$Conf{InstallDir}/$dir" ); - mkpath("$DestDir$Conf{InstallDir}/$dir", 0, 0755); -- if ( !-d "$DestDir$Conf{InstallDir}/$dir" -- || !my_chown($Uid, $Gid, "$DestDir$Conf{InstallDir}/$dir") ) { -- die("Failed to create or chown $DestDir$Conf{InstallDir}/$dir\n"); -- } else { -- print("Created $DestDir$Conf{InstallDir}/$dir\n"); -- } - } - - # -@@ -546,11 +526,6 @@ - foreach my $dir ( ($Conf{CgiImageDir}) ) { - next if ( $dir eq "" || -d "$DestDir$dir" ); - mkpath("$DestDir$dir", 0, 0755); -- if ( !-d "$DestDir$dir" || !my_chown($Uid, $Gid, "$DestDir$dir") ) { -- die("Failed to create or chown $DestDir$dir"); -- } else { -- print("Created $DestDir$dir\n"); -- } - } - - # -@@ -566,12 +541,6 @@ - "$Conf{LogDir}", - ) ) { - mkpath("$DestDir$dir", 0, 0750) if ( !-d "$DestDir$dir" ); -- if ( !-d "$DestDir$dir" -- || !my_chown($Uid, $Gid, "$DestDir$dir") ) { -- die("Failed to create or chown $DestDir$dir\n"); -- } else { -- print("Created $DestDir$dir\n"); -- } - } - - printf("Installing binaries in $DestDir$Conf{InstallDir}/bin\n"); diff --git a/unmaintained/backuppc/fix-pidfile-path.patch b/unmaintained/backuppc/fix-pidfile-path.patch deleted file mode 100644 index ad76a539612..00000000000 --- a/unmaintained/backuppc/fix-pidfile-path.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/bin/BackupPC -+++ b/bin/BackupPC -@@ -363,11 +363,11 @@ - # Write out our initial status and save our PID - # - StatusWrite(); -- unlink("$LogDir/BackupPC.pid"); -- if ( open(PID, ">", "$LogDir/BackupPC.pid") ) { -+ unlink("/run/backuppc/BackupPC.pid"); -+ if ( open(PID, ">", "/run/backuppc/BackupPC.pid") ) { - print(PID $$); - close(PID); -- chmod(0444, "$LogDir/BackupPC.pid"); -+ chmod(0444, "/run/backuppc/BackupPC.pid"); - } - - # -@@ -1846,7 +1846,7 @@ - close(LOG); - LogFileOpen(); - print(LOG "Fatal error: unhandled signal $SigName\n"); -- unlink("$LogDir/BackupPC.pid"); -+ unlink("/run/backuppc/BackupPC.pid"); - confess("Got new signal $SigName... quitting\n"); - } else { - $SigName = shift; -@@ -1968,7 +1968,7 @@ - } - delete($Info{pid}); - StatusWrite(); -- unlink("$LogDir/BackupPC.pid"); -+ unlink("/run/backuppc/BackupPC.pid"); - exit(1); - } - diff --git a/unmaintained/backuppc/fix-socket-path.patch b/unmaintained/backuppc/fix-socket-path.patch deleted file mode 100644 index ebc582fa267..00000000000 --- a/unmaintained/backuppc/fix-socket-path.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/bin/BackupPC -+++ b/bin/BackupPC -@@ -1885,7 +1885,7 @@ - print(LOG $bpc->timeStamp, "unix socket() failed: $!\n"); - exit(1); - } -- my $sockFile = "$LogDir/BackupPC.sock"; -+ my $sockFile = "/run/backuppc/BackupPC.sock"; - unlink($sockFile); - if ( !bind(SERVER_UNIX, sockaddr_un($sockFile)) ) { - print(LOG $bpc->timeStamp, "unix bind() failed: $!\n"); ---- a/lib/BackupPC/Lib.pm -+++ b/lib/BackupPC/Lib.pm -@@ -686,7 +686,7 @@ - # - # First try the unix-domain socket - # -- my $sockFile = "$bpc->{LogDir}/BackupPC.sock"; -+ my $sockFile = "/run/backuppc/BackupPC.sock"; - socket(*FH, PF_UNIX, SOCK_STREAM, 0) || return "unix socket: $!"; - if ( !connect(*FH, sockaddr_un($sockFile)) ) { - my $err = "unix connect: $!"; diff --git a/unmaintained/beecrypt/APKBUILD b/unmaintained/beecrypt/APKBUILD deleted file mode 100644 index 33fb673fd96..00000000000 --- a/unmaintained/beecrypt/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=beecrypt -pkgver=4.2.1 -pkgrel=2 -pkgdesc="A general-purpose cryptography library" -url="http://sourceforge.net/projects/beecrypt" -arch="all" -license="LGPL-2.0-or-later" -makedepends="libtool m4" -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - update_config_sub -} - -build() { - cd "$builddir" - LIBS=-lgomp ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-threads \ - --enable-shared \ - --without-java \ - --without-python \ - --with-cplusplus=no - make libaltdir=/usr/lib -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make libaltdir=/usr/lib DESTDIR="$pkgdir" install -} - -sha512sums="59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc beecrypt-4.2.1.tar.gz" diff --git a/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch b/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch deleted file mode 100644 index c6c370bd078..00000000000 --- a/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch +++ /dev/null @@ -1,11 +0,0 @@ -Fix b64encode() for data starting with NUL from Miloslav Trmac <mitr@redhat.com> ---- beecrypt-4.1.2/base64.c.b64 2005-04-26 21:46:27.000000000 +0200 -+++ beecrypt-4.1.2/base64.c 2005-04-26 21:47:48.000000000 +0200 -@@ -253,7 +253,6 @@ - unsigned c; - - if (s == NULL) return NULL; -- if (*s == '\0') return calloc(1, sizeof(*t)); - - if (ns == 0) ns = strlen((const char*) s); - nt = ((ns + 2) / 3) * 4; diff --git a/unmaintained/boost-coroutine/APKBUILD b/unmaintained/boost-coroutine/APKBUILD deleted file mode 100644 index bf91ba127c9..00000000000 --- a/unmaintained/boost-coroutine/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=boost-coroutine -pkgver=0.0.1 -pkgrel=4 -pkgdesc="coroutine library for boost" -url="http://www.crystalclearsoftware.com/soc/coroutine/" -#arch="noarch" -license="custom:boost" -depends= -depends_dev="boost-dev pth-dev" -install="" -source="boost-coroutine-2009-12-01.tar.gz::http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost-coroutine-2009-12-01.tar.gz&directory=Concurrent%20Programming - boost-coroutine-pth.patch" - -_builddir="${srcdir}/boost-coroutine" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/include - cp -r "$_builddir"/boost "$pkgdir"/usr/include/boost -} - -md5sums="d74b6aa80aeb09eb08d644710c7849c4 boost-coroutine-2009-12-01.tar.gz -53d3c4752668f0332dc31bd2341db609 boost-coroutine-pth.patch" -sha256sums="0211b773c7528cf3487087a08d35454332f3e63f58c926e43c5933b7783b6a70 boost-coroutine-2009-12-01.tar.gz -b9c7951d47ec200366a17dcf6da634370bc59543d17ef16eb82f2a97d7bb732e boost-coroutine-pth.patch" -sha512sums="acb8644fd3e960fb316ba3436af9bc2e2da91536afd182577358ac061348d7c0a29420308ece188dbc7a58d119dc19c09e7b486f66f1f8f1d6e23a489c183dfe boost-coroutine-2009-12-01.tar.gz -5229bd3f8f89fc1a07356277d0f1319a964b6bc27ea24228f942a67c8cfd3eb038c35284d8c5b58b68163410fa443f60188b8c2fbaad340c3927fd206cdad258 boost-coroutine-pth.patch" diff --git a/unmaintained/boost-coroutine/boost-coroutine-pth.patch b/unmaintained/boost-coroutine/boost-coroutine-pth.patch deleted file mode 100644 index 3a6af66af71..00000000000 --- a/unmaintained/boost-coroutine/boost-coroutine-pth.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- boost-coroutine.orig/boost/coroutine/detail/context_posix.hpp -+++ boost-coroutine/boost/coroutine/detail/context_posix.hpp -@@ -46,13 +46,10 @@ - #include <boost/config.hpp> - #include <boost/assert.hpp> - --#if defined(_XOPEN_UNIX) && defined(_XOPEN_VERSION) && _XOPEN_VERSION >= 500 -+#if 1 -+#if 1 - --// OS X 10.4 -- despite passing the test above -- doesn't support --// swapcontext() et al. Use GNU Pth workalike functions. --#if defined(__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050) -- --#include "pth/pth.h" -+#include <pth.h> - #include <cerrno> - - namespace boost { namespace coroutines { namespace detail { diff --git a/unmaintained/bsm-simple-themes/APKBUILD b/unmaintained/bsm-simple-themes/APKBUILD deleted file mode 100644 index 7db0c12f45f..00000000000 --- a/unmaintained/bsm-simple-themes/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=bsm-simple-themes -pkgver=1.3 -_ver=${pkgver/./} -pkgrel=5 -pkgdesc="BSM Simple GTK Themes" -url="http://gnome-look.org/content/show.php/?content=121685" -arch="" # Fails to fetch source -license="GPL" -depends="gtk-engines-clearlooks faenza-icon-theme" -subpackages="$pkgname-xfwm4 $pkgname-metacity" -source="https://distfiles.alpinelinux.org/distfiles/edge/121685-BSM%25252520Simple%25252520$_ver.tar.gz - bsm-simple-panel.patch - bsm-simple-xfwm.patch" - -builddir="$srcdir" - -package() { - # fix permissions - find . -type d -exec chmod 755 '{}' \; - find . -type f -exec chmod 644 '{}' \; - mkdir -p "$pkgdir"/usr/share/themes - for i in *; do - [ -L "$i" ] && continue - cp -ra "$i" "$pkgdir"/usr/share/themes/ - done -} - -xfwm4() { - pkgdesc="BSM Simple GTK Themes - xfwm4" - install_if="$pkgname=$pkgver-r$pkgrel xfwm4" - cd "$pkgdir" - find . -name 'xfwm4' -type d | while read dir; do - mkdir -p "$subpkgdir/${dir%/*}" - mv "$dir" "$subpkgdir/${dir%*}" - done -} - -metacity() { - pkgdesc="BSM Simple GTK Themes - metacity" - install_if="$pkgname=$pkgver-r$pkgrel metacity" - cd "$pkgdir" - find . -name 'metacity-?' -type d | while read dir; do - mkdir -p "$subpkgdir/${dir%/*}" - mv "$dir" "$subpkgdir/${dir%*}" - done -} - -sha512sums=" -4254ccdb2869a1caefbac9f9b1bffa6f5bc0a3ba64989d198cd2154d23e5e725dd8f408b17bb37d56eaef6ce74660d29b1167d99b91df7480ddf649957449adb 121685-BSM%25252520Simple%2525252013.tar.gz -84ad713a7a5850b970a96e97d6c71b81e127a02caead429b71cd50868bfdfce6d327ed113aca40f7a4d4ccfd18f48a84ec27dcbc2af6fe0cbbb47e207ad41e47 bsm-simple-panel.patch -8f015a39d06d6713d75d872fba1139cf734a7ea6af272e198cbc0192148c5eabed3828902a608aa83b2661fc92159057508a9e792f7032680c6f728325b6792f bsm-simple-xfwm.patch -" diff --git a/unmaintained/bsm-simple-themes/bsm-simple-panel.patch b/unmaintained/bsm-simple-themes/bsm-simple-panel.patch deleted file mode 100644 index 4376a119a01..00000000000 --- a/unmaintained/bsm-simple-themes/bsm-simple-panel.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff --git a/BSM Simple Dark Menu/gtk-2.0/panel.rc b/BSM Simple Dark Menu/gtk-2.0/panel.rc -index f0ab2bf..639754f 100755 ---- a/BSM Simple Dark Menu/gtk-2.0/panel.rc -+++ b/BSM Simple Dark Menu/gtk-2.0/panel.rc -@@ -27,8 +27,8 @@ style "theme-panel" - - style "theme-panel2" = "theme-panel" - { --xthickness = 0 --ythickness = 0 -+xthickness = 2 -+ythickness = 1 - engine "clearlooks"{ - radius = 1.1 - } -diff --git a/BSM Simple Dark Panel/gtk-2.0/panel.rc b/BSM Simple Dark Panel/gtk-2.0/panel.rc -index f5dac43..3c16d7a 100755 ---- a/BSM Simple Dark Panel/gtk-2.0/panel.rc -+++ b/BSM Simple Dark Panel/gtk-2.0/panel.rc -@@ -27,8 +27,8 @@ style "theme-panel" - - style "theme-panel2" = "theme-panel" - { --xthickness = 0 --ythickness = 0 -+xthickness = 2 -+ythickness = 1 - engine "clearlooks"{ - radius = 1.1 - } -diff --git a/BSM Simple Dark/gtk-2.0/panel.rc b/BSM Simple Dark/gtk-2.0/panel.rc -index 2f6298e..2cc579e 100755 ---- a/BSM Simple Dark/gtk-2.0/panel.rc -+++ b/BSM Simple Dark/gtk-2.0/panel.rc -@@ -22,8 +22,8 @@ style "theme-panel" - - style "theme-panel2" = "theme-panel" - { --xthickness = 0 --ythickness = 0 -+xthickness = 2 -+ythickness = 1 - engine "clearlooks"{ - radius = 1.1 - } -diff --git a/BSM Simple/gtk-2.0/panel.rc b/BSM Simple/gtk-2.0/panel.rc -index d2e51f3..72fbeaa 100755 ---- a/BSM Simple/gtk-2.0/panel.rc -+++ b/BSM Simple/gtk-2.0/panel.rc -@@ -14,8 +14,8 @@ style "theme-panel" - - style "theme-panel2" = "theme-panel" - { --xthickness = 0 --ythickness = 0 -+xthickness = 2 -+ythickness = 1 - engine "clearlooks"{ - radius = 1.1 - } diff --git a/unmaintained/bsm-simple-themes/bsm-simple-xfwm.patch b/unmaintained/bsm-simple-themes/bsm-simple-xfwm.patch deleted file mode 100644 index 672e5c1c9c2..00000000000 --- a/unmaintained/bsm-simple-themes/bsm-simple-xfwm.patch +++ /dev/null @@ -1,218 +0,0 @@ -diff --git a/BSM Simple/xfwm4/bottom-active.xpm b/BSM Simple/xfwm4/bottom-active.xpm -index 4096e85..49d4eab 100644 ---- a/BSM Simple/xfwm4/bottom-active.xpm -+++ b/BSM Simple/xfwm4/bottom-active.xpm -@@ -1,6 +1,10 @@ - /* XPM */ - static char * bottom_active_xpm[] = { --"17 1 2 1", -+"16 3 4 1", - " c None", - ". c #888888", --"................."}; -+"o c #C0C0C0", -+"0 c #d0d0d0", -+"0000000000000000", -+"oooooooooooooooo", -+"................"}; -diff --git a/BSM Simple/xfwm4/bottom-inactive.xpm b/BSM Simple/xfwm4/bottom-inactive.xpm -index fbfbe7b..2ebcdd5 100644 ---- a/BSM Simple/xfwm4/bottom-inactive.xpm -+++ b/BSM Simple/xfwm4/bottom-inactive.xpm -@@ -1,6 +1,10 @@ - /* XPM */ - static char * bottom_inactive_xpm[] = { --"17 1 2 1", -+"16 3 4 1", - " c None", - ". c #888888", --"................."}; -+"o c #C0C0C0", -+"0 c #d0d0d0", -+"0000000000000000", -+"oooooooooooooooo", -+"................"}; -diff --git a/BSM Simple/xfwm4/bottom-left-active.xpm b/BSM Simple/xfwm4/bottom-left-active.xpm -index 5bd7b94..b5a975b 100644 ---- a/BSM Simple/xfwm4/bottom-left-active.xpm -+++ b/BSM Simple/xfwm4/bottom-left-active.xpm -@@ -1,22 +1,23 @@ - /* XPM */ - static char * bottom_left_active_xpm[] = { --"1 17 2 1", -+"16 16 4 1", - " c None", - ". c #888888", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --"."}; -+"o c #C0C0C0", -+"0 c #d0d0d0", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+".000000000000000", -+".ooooooooooooooo", -+" ..............."}; -diff --git a/BSM Simple/xfwm4/bottom-left-inactive.xpm b/BSM Simple/xfwm4/bottom-left-inactive.xpm -index cbd3b99..1a03ca7 100644 ---- a/BSM Simple/xfwm4/bottom-left-inactive.xpm -+++ b/BSM Simple/xfwm4/bottom-left-inactive.xpm -@@ -1,22 +1,23 @@ - /* XPM */ - static char * bottom_left_inactive_xpm[] = { --"1 17 2 1", -+"16 16 4 1", - " c None", - ". c #888888", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --"."}; -+"o c #C0C0C0", -+"0 c #d0d0d0", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+". ", -+".000000000000000", -+".ooooooooooooooo", -+" ..............."}; -diff --git a/BSM Simple/xfwm4/bottom-right-active.xpm b/BSM Simple/xfwm4/bottom-right-active.xpm -index fb3039f..6b16404 100644 ---- a/BSM Simple/xfwm4/bottom-right-active.xpm -+++ b/BSM Simple/xfwm4/bottom-right-active.xpm -@@ -1,22 +1,23 @@ - /* XPM */ - static char * bottom_right_active_xpm[] = { --"1 17 2 1", -+"16 16 4 1", - " c None", - ". c #888888", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --"."}; -+"o c #C0C0C0", -+"0 c #d0d0d0", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+"000000000000000.", -+"ooooooooooooooo.", -+"............... "}; -diff --git a/BSM Simple/xfwm4/bottom-right-inactive.xpm b/BSM Simple/xfwm4/bottom-right-inactive.xpm -index 527219a..002cc24 100644 ---- a/BSM Simple/xfwm4/bottom-right-inactive.xpm -+++ b/BSM Simple/xfwm4/bottom-right-inactive.xpm -@@ -1,22 +1,23 @@ - /* XPM */ - static char * bottom_right_inactive_xpm[] = { --"1 17 2 1", -+"16 16 4 1", - " c None", - ". c #888888", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --".", --"."}; -+"o c #C0C0C0", -+"0 c #d0d0d0", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+" .", -+"000000000000000.", -+"ooooooooooooooo.", -+"............... "}; diff --git a/unmaintained/buildbot/APKBUILD b/unmaintained/buildbot/APKBUILD deleted file mode 100644 index 743275e4f94..00000000000 --- a/unmaintained/buildbot/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=buildbot -pkgver=1.6.0 -pkgrel=0 -pkgdesc="Continuous integration testing framework" -url="http://buildbot.net/" -arch="noarch" -license="GPL-2.0" -depends="python2 py-twisted py-simplejson py2-sqlalchemy - py2-pysqlite py-jinja2 py2-sqlalchemy-migrate - py-dateutil py-setuptools" -depends_dev="" -makedepends="python2-dev" -install="${pkgname}.pre-install" -BUILDBOT_USER=buildbot -BUILDBOT_GROUP=buildbot -pkgusers="$BUILDBOT_USER" -pkggroups="$BUILDBOT_GROUP" -subpackages="$pkgname-openrc" -source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-${pkgver/_/}.tar.gz - buildmaster.initd - buildmaster.confd" - -builddir="$srcdir"/$pkgname-${pkgver/_/} - -check() { - cd "$builddir" - python2 setup.py check -} - -prepare() { - default_prepare -} - -build() { - cd "$builddir" - python2 setup.py build -} - -package() { - cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" - install -D -m 755 \ - "$srcdir"/buildmaster.initd \ - "$pkgdir"/etc/init.d/buildmaster - install -D -m 644 \ - "$srcdir"/buildmaster.confd \ - "$pkgdir"/etc/conf.d/buildmaster - install -d -o $BUILDBOT_USER -g $BUILDBOT_GROUP \ - "$pkgdir"/var/lib/buildmaster -} - -sha512sums="1d54bf5b0932b8bb21e0c6a8b8545eccfa48af56dd751d97ab9f8540c0e1735dc98871b33616ba66467f7ca78d2c54c3d6666264784d236097659f3f4d1fd5f0 buildbot-1.6.0.tar.gz -2e65d22f1b94433ba11839fb3434d072f9ff8132396b03fdcdb3b437778679d1699534296fbb851d2661a3a7a0bce4ef1f94c49e7910419557e4055f2ed1a4d5 buildmaster.initd -d9339c30d3a92e92b41b0e3139ec89ecbd1460b0e4ee6c6fe2560c4307b2eb3f29b838c2f2312b9c7049bd95eaf652d09039227c691af805bc25a36999ec1840 buildmaster.confd" diff --git a/unmaintained/buildbot/buildbot.pre-install b/unmaintained/buildbot/buildbot.pre-install deleted file mode 100644 index 7a1deeded1d..00000000000 --- a/unmaintained/buildbot/buildbot.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S buildbot 2>/dev/null -adduser -S -D -H -h /home/buildbot -s /sbin/nologin -G buildbot -g buildbot buildbot 2>/dev/null - -exit 0 diff --git a/unmaintained/buildbot/buildmaster.confd b/unmaintained/buildbot/buildmaster.confd deleted file mode 100644 index e489d66f9d4..00000000000 --- a/unmaintained/buildbot/buildmaster.confd +++ /dev/null @@ -1,10 +0,0 @@ - -# Path to the build master's basedir. -BASEDIR=/var/lib/buildmaster - -# User account for the buildmaster. -# The basedir should be owned by this user. -USERNAME=buildbot - -# Extra options to pass to twistd. -TWISTD_OPTS="" diff --git a/unmaintained/buildbot/buildmaster.initd b/unmaintained/buildbot/buildmaster.initd deleted file mode 100644 index 05c1a10104e..00000000000 --- a/unmaintained/buildbot/buildmaster.initd +++ /dev/null @@ -1,69 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" -extra_stopped_commands="create" - -depend() { - need net -} - -checkconfig() { - if [ -z "${BASEDIR}" ]; then - eerror "BASEDIR not set" - return 1 - fi - if [ -z "${USERNAME}" ]; then - eerror "USERNAME not set" - return 1 - fi - if [ ! -d "${BASEDIR}" ]; then - eerror "${BASEDIR} is not a directory" - return 1 - fi - if [ ! -e "${BASEDIR}/buildbot.tac" ]; then - eerror "${BASEDIR} does not contain buildbot.tac" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting buildmaster in ${BASEDIR}" - start-stop-daemon --start -u "${USERNAME}" \ - --pidfile "${BASEDIR}/buildmaster.pid" \ - --exec /usr/bin/python -- /usr/bin/twistd \ - --no_save \ - --logfile="${BASEDIR}/twistd.log" \ - --pidfile="${BASEDIR}/buildmaster.pid" \ - --python="${BASEDIR}/buildbot.tac" - eend $? -} - -stop() { - ebegin "Stopping buildmaster in ${BASEDIR}" - start-stop-daemon --stop --pidfile "${BASEDIR}/buildmaster.pid" - eend $? -} - -reload() { - ebegin "Reconfiguring buildmaster in ${BASEDIR}" - start-stop-daemon --signal HUP --pidfile \ - "${BASEDIR}"/buildmaster.pid - eend $? -} - -create() { - if [ -e "${BASEDIR}"/buildbot.tac -o -e "${BASEDIR}"/master.cfg ]; then - eerror "${BASEDIR} already contains buildbot.tac or master.cfg" - return 1 - fi - ebegin "Creating buildmaster in ${BASEDIR}" - start-stop-daemon -u "${USERNAME}" \ - --exec /usr/bin/buildbot \ - -- create-master -r "${BASEDIR}" - mv "${BASEDIR}"/master.cfg.sample "${BASEDIR}"/master.cfg - ewarn "Remember to customize exemplary master.cfg in ${BASEDIR}" - eend $? -} diff --git a/unmaintained/bzr/APKBUILD b/unmaintained/bzr/APKBUILD deleted file mode 100644 index 27490d34989..00000000000 --- a/unmaintained/bzr/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: -pkgname=bzr -pkgver=2.7.0 -pkgrel=2 -pkgdesc="A scalable distributed SCM tool" -url="https://bazaar.canonical.com/" -arch="all" -license="GPL-2.0-or-later" -depends="python2" -makedepends="python2-dev" -subpackages="$pkgname-doc" -options="!check" # no testsuite -source="https://launchpad.net/bzr/${pkgver%.*}/$pkgver/+download/bzr-$pkgver.tar.gz - CVE-2017-14176.patch - " - -build() { - python2 setup.py build -} - -package() { - python2 setup.py install --root="$pkgdir" -} - -doc() { - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/man "$subpkgdir"/usr/share - default_doc -} - -sha512sums="c39ad3715d865788da74d8de8b469e1dc93d18b6cbcbc569464cdeb9bb2173bf8d7f4f8ee8f7599fbcbbe322817a4c72e785d544e622753699c425c32597d9aa bzr-2.7.0.tar.gz -fd3027d859e6b2b07d3f408d9f0c2b5d9a66f83aae9dfdee9ca0c47a1b5969109418a73e9801da29b2179190c801f6cadde4f1e3fc80ed09650dd1e7fe4e2f5d CVE-2017-14176.patch" diff --git a/unmaintained/bzr/CVE-2017-14176.patch b/unmaintained/bzr/CVE-2017-14176.patch deleted file mode 100644 index 5eed8d8c33f..00000000000 --- a/unmaintained/bzr/CVE-2017-14176.patch +++ /dev/null @@ -1,166 +0,0 @@ -Fix CVE-2017-14176: - -https://bugs.launchpad.net/bzr/+bug/1710979 -https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14176 - -Patch copied from Debian's Bazaar package version bzr_2.7.0+bzr6619-7+deb9u1: - -https://alioth.debian.org/scm/loggerhead/pkg-bazaar/bzr/2.7/revision/4204 - -Description: Prevent SSH command line options from being specified in bzr+ssh:// URLs -Bug: https://bugs.launchpad.net/brz/+bug/1710979 -Bug-Debian: https://bugs.debian.org/874429 -Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2017-14176 -Forwarded: no -Author: Jelmer Vernooij <address@hidden> -Last-Update: 2017-11-26 - -=== modified file 'bzrlib/tests/test_ssh_transport.py' ---- old/bzrlib/tests/test_ssh_transport.py 2010-10-07 12:45:51 +0000 -+++ new/bzrlib/tests/test_ssh_transport.py 2017-08-20 01:59:20 +0000 -@@ -22,6 +22,7 @@ - SSHCorpSubprocessVendor, - LSHSubprocessVendor, - SSHVendorManager, -+ StrangeHostname, - ) - - -@@ -161,6 +162,19 @@ - - class SubprocessVendorsTests(TestCase): - -+ def test_openssh_command_tricked(self): -+ vendor = OpenSSHSubprocessVendor() -+ self.assertEqual( -+ vendor._get_vendor_specific_argv( -+ "user", "-oProxyCommand=blah", 100, command=["bzr"]), -+ ["ssh", "-oForwardX11=no", "-oForwardAgent=no", -+ "-oClearAllForwardings=yes", -+ "-oNoHostAuthenticationForLocalhost=yes", -+ "-p", "100", -+ "-l", "user", -+ "--", -+ "-oProxyCommand=blah", "bzr"]) -+ - def test_openssh_command_arguments(self): - vendor = OpenSSHSubprocessVendor() - self.assertEqual( -@@ -171,6 +185,7 @@ - "-oNoHostAuthenticationForLocalhost=yes", - "-p", "100", - "-l", "user", -+ "--", - "host", "bzr"] - ) - -@@ -184,9 +199,16 @@ - "-oNoHostAuthenticationForLocalhost=yes", - "-p", "100", - "-l", "user", -- "-s", "host", "sftp"] -+ "-s", "--", "host", "sftp"] - ) - -+ def test_openssh_command_tricked(self): -+ vendor = SSHCorpSubprocessVendor() -+ self.assertRaises( -+ StrangeHostname, -+ vendor._get_vendor_specific_argv, -+ "user", "-oProxyCommand=host", 100, command=["bzr"]) -+ - def test_sshcorp_command_arguments(self): - vendor = SSHCorpSubprocessVendor() - self.assertEqual( -@@ -209,6 +231,13 @@ - "-s", "sftp", "host"] - ) - -+ def test_lsh_command_tricked(self): -+ vendor = LSHSubprocessVendor() -+ self.assertRaises( -+ StrangeHostname, -+ vendor._get_vendor_specific_argv, -+ "user", "-oProxyCommand=host", 100, command=["bzr"]) -+ - def test_lsh_command_arguments(self): - vendor = LSHSubprocessVendor() - self.assertEqual( -@@ -231,6 +260,13 @@ - "--subsystem", "sftp", "host"] - ) - -+ def test_plink_command_tricked(self): -+ vendor = PLinkSubprocessVendor() -+ self.assertRaises( -+ StrangeHostname, -+ vendor._get_vendor_specific_argv, -+ "user", "-oProxyCommand=host", 100, command=["bzr"]) -+ - def test_plink_command_arguments(self): - vendor = PLinkSubprocessVendor() - self.assertEqual( - -=== modified file 'bzrlib/transport/ssh.py' ---- old/bzrlib/transport/ssh.py 2015-07-31 01:04:41 +0000 -+++ new/bzrlib/transport/ssh.py 2017-08-20 01:59:20 +0000 -@@ -46,6 +46,10 @@ - from paramiko.sftp_client import SFTPClient - - -+class StrangeHostname(errors.BzrError): -+ _fmt = "Refusing to connect to strange SSH hostname %(hostname)s" -+ -+ - SYSTEM_HOSTKEYS = {} - BZR_HOSTKEYS = {} - -@@ -360,6 +364,11 @@ - # tests, but beware of using PIPE which may hang due to not being read. - _stderr_target = None - -+ @staticmethod -+ def _check_hostname(arg): -+ if arg.startswith('-'): -+ raise StrangeHostname(hostname=arg) -+ - def _connect(self, argv): - # Attempt to make a socketpair to use as stdin/stdout for the SSH - # subprocess. We prefer sockets to pipes because they support -@@ -424,9 +433,9 @@ - if username is not None: - args.extend(['-l', username]) - if subsystem is not None: -- args.extend(['-s', host, subsystem]) -+ args.extend(['-s', '--', host, subsystem]) - else: -- args.extend([host] + command) -+ args.extend(['--', host] + command) - return args - - register_ssh_vendor('openssh', OpenSSHSubprocessVendor()) -@@ -439,6 +448,7 @@ - - def _get_vendor_specific_argv(self, username, host, port, subsystem=None, - command=None): -+ self._check_hostname(host) - args = [self.executable_path, '-x'] - if port is not None: - args.extend(['-p', str(port)]) -@@ -460,6 +470,7 @@ - - def _get_vendor_specific_argv(self, username, host, port, subsystem=None, - command=None): -+ self._check_hostname(host) - args = [self.executable_path] - if port is not None: - args.extend(['-p', str(port)]) -@@ -481,6 +492,7 @@ - - def _get_vendor_specific_argv(self, username, host, port, subsystem=None, - command=None): -+ self._check_hostname(host) - args = [self.executable_path, '-x', '-a', '-ssh', '-2', '-batch'] - if port is not None: - args.extend(['-P', str(port)]) - diff --git a/unmaintained/cargo-patch/APKBUILD b/unmaintained/cargo-patch/APKBUILD deleted file mode 100644 index 0a30d1255a9..00000000000 --- a/unmaintained/cargo-patch/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=cargo-patch -pkgver=0.1.10 -pkgrel=2 -pkgdesc="Cargo subcommand for patching dependencies using patch files" -url="https://github.com/mettke/cargo-patch" -arch="aarch64 armhf armv7 ppc64le x86 x86_64" # blocked by rust/cargo -license="MIT" -depends="cargo" -makedepends=" - curl-dev - libgit2-dev - libssh2-dev - openssl-dev - " -options="!check" # TODO: Test failure with libgit2 1.4.2 -source="https://github.com/mettke/cargo-patch/archive/v$pkgver/cargo-patch-$pkgver.tar.gz" - -export LIBSSH2_SYS_USE_PKG_CONFIG=1 # use system libssh2 - -prepare() { - default_prepare - - # Optimize binary for size. - cat >> Cargo.toml <<-EOF - - [profile.release] - codegen-units = 1 - lto = true - opt-level = "z" - panic = "abort" - EOF - cargo fetch --locked -} - -build() { - cargo build --frozen --release -} - -check() { - cargo test --frozen -} - -package() { - install -D -m755 target/release/cargo-patch -t "$pkgdir"/usr/bin/ -} - -sha512sums=" -d95468941954e765a5fa65afce31acfef8fea228c73002e3fe78aa14cfd360ab2d2ee9150032f327d0e5e5631f000859216282a200695256a0a600c9c7f72659 cargo-patch-0.1.10.tar.gz -" diff --git a/unmaintained/cegui06/APKBUILD b/unmaintained/cegui06/APKBUILD deleted file mode 100644 index c46889a3abe..00000000000 --- a/unmaintained/cegui06/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=cegui06 -pkgver=0.6.2b -pkgrel=15 -pkgdesc="CEGUI library 0.6 for apps which need this specific version" -url="http://www.cegui.org.uk" -arch="all" -license="MIT LGPL-2.0-or-later" -depends="" -makedepends="freetype-dev pcre-dev expat-dev libice-dev libsm-dev glew-dev - mesa-dev glu-dev lua-dev" -install="" -subpackages="$pkgname-dev" -source="https://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz - cegui-0.6.2-gcc46.patch - cegui-0.6.0-release-as-so-ver.patch - cegui-0.6.0-userverso.patch - cegui-gcc8.patch - " - -builddir="$srcdir"/CEGUI-0.6.2 -prepare() { - default_prepare - update_config_sub -} - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-samples \ - --with-pic \ - --with-default-xml-parser=ExpatParser - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="52ed7e7a97024138af957815a396dda74b650e7c53542d2d48c5eb95335bec270abca3685c49b05078f4338079334df6bfbcec75e9b7eb21ee40bdbff5f57b20 CEGUI-0.6.2b.tar.gz -83aa24c69e282473fb1dbf250bd4c80ed03f484633cf5fc26a87ae1c133b9938e3c1626b1d6f1a65e95275998b17307a1c94b36b291f4d8dd9c04ca15b67f8d9 cegui-0.6.2-gcc46.patch -c5899a7fc18339c8d03c27f96e246192c616328bb3b20a88a6bdef30d0efd840608afe6fb96b256712e950c2095784c03e71a1a96d8cd13e93a0da402c9de6c6 cegui-0.6.0-release-as-so-ver.patch -6d560f6550c83186c434e1e572f25d45ec1ef0f02ed8066331d35116a775c71f28122ef0d64a77cfdb4de4d2e3929716c36616d2e1ec7d68ac09b5c07053b95e cegui-0.6.0-userverso.patch -b34301311d198034369e0f093b40da7d0e7a9bf46e088a47d5dbffa594004a6541b84d41c16ea7ca43e97407c684f9275f7218b046663b90ab658d374dbf5e30 cegui-gcc8.patch" diff --git a/unmaintained/cegui06/cegui-0.6.0-release-as-so-ver.patch b/unmaintained/cegui06/cegui-0.6.0-release-as-so-ver.patch deleted file mode 100644 index 2c33ccfb7bf..00000000000 --- a/unmaintained/cegui06/cegui-0.6.0-release-as-so-ver.patch +++ /dev/null @@ -1,316 +0,0 @@ -diff -up CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am ---- CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im - if MINGW32_BUILD - libCEGUICoronaImageCodec_la_CPPFLAGS = -DCEGUICORONAIMAGECODEC_EXPORTS - libCEGUICoronaImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUICoronaImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUICoronaImageCodec_la_LIBADD = $(Corona_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am ---- CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -5,6 +5,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im - if MINGW32_BUILD - libCEGUIDevILImageCodec_la_CPPFLAGS = -DCEGUIDEVILIMAGECODEC_EXPORTS - libCEGUIDevILImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUIDevILImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUIDevILImageCodec_la_LIBADD = $(DevIL_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in ---- CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in.patch1 2008-11-30 21:11:37.000000000 +0100 -+++ CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -246,6 +246,7 @@ INCLUDES = -I$(top_srcdir)/include $(Dev - - @MINGW32_BUILD_TRUE@libCEGUIDevILImageCodec_la_CPPFLAGS = -DCEGUIDEVILIMAGECODEC_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUIDevILImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUIDevILImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - - libCEGUIDevILImageCodec_la_LIBADD = $(DevIL_LIBS) $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am ---- CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im - if MINGW32_BUILD - libCEGUIFreeImageImageCodec_la_CPPFLAGS = -DCEGUIFREEIMAGEIMAGECODEC_EXPORTS - libCEGUIFreeImageImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUIFreeImageImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUIFreeImageImageCodec_la_LIBADD = $(FreeImage_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in ---- CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in.patch1 2008-11-30 21:11:37.000000000 +0100 -+++ CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(Fre - - @MINGW32_BUILD_TRUE@libCEGUIFreeImageImageCodec_la_CPPFLAGS = -DCEGUIFREEIMAGEIMAGECODEC_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUIFreeImageImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUIFreeImageImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - - libCEGUIFreeImageImageCodec_la_LIBADD = $(FreeImage_LIBS) $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am ---- CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im - if MINGW32_BUILD - libCEGUISILLYImageCodec_la_CPPFLAGS = -DCEGUISILLYIMAGECODEC_EXPORTS - libCEGUISILLYImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUISILLYImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUISILLYImageCodec_la_LIBADD = $(SILLY_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in ---- CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in.patch1 2008-11-30 21:11:37.000000000 +0100 -+++ CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(SIL - - @MINGW32_BUILD_TRUE@libCEGUISILLYImageCodec_la_CPPFLAGS = -DCEGUISILLYIMAGECODEC_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUISILLYImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUISILLYImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - - libCEGUISILLYImageCodec_la_LIBADD = $(SILLY_LIBS) $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am ---- CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im - if MINGW32_BUILD - libCEGUITGAImageCodec_la_CPPFLAGS = -DCEGUITGAIMAGECODEC_EXPORTS - libCEGUITGAImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUITGAImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - lib_LTLIBRARIES=libCEGUITGAImageCodec.la -diff -up CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in ---- CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in.patch1 2008-11-30 21:11:37.000000000 +0100 -+++ CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include - - @MINGW32_BUILD_TRUE@libCEGUITGAImageCodec_la_CPPFLAGS = -DCEGUITGAIMAGECODEC_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUITGAImageCodec_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUITGAImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@ - - lib_LTLIBRARIES = libCEGUITGAImageCodec.la - libCEGUITGAImageCodec_la_SOURCES = CEGUITGAImageCodec.cpp CEGUITGAImageCodecModule.cpp -diff -up CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am.patch1 CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am ---- CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am.patch1 2008-07-21 12:45:32.000000000 +0200 -+++ CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -23,7 +23,7 @@ endif - - libCEGUIOpenGLRenderer_la_LIBADD = $(OpenGL_LIBS) $(top_builddir)/src/libCEGUIBase.la - --libCEGUIOpenGLRenderer_la_LDFLAGS += -version-info @CEGUI_OPENGL_VERSION_INFO@ -+libCEGUIOpenGLRenderer_la_LDFLAGS += -release @PACKAGE_VERSION@ - - lib_LTLIBRARIES=libCEGUIOpenGLRenderer.la - libCEGUIOpenGLRenderer_la_SOURCES = openglrenderer.cpp opengltexture.cpp -diff -up CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in.patch1 CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in ---- CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in.patch1 2008-11-30 21:11:37.000000000 +0100 -+++ CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in 2008-12-03 12:15:36.000000000 +0100 -@@ -250,7 +250,7 @@ xerces_LIBS = @xerces_LIBS@ - INCLUDES = $(am__append_1) -I$(top_srcdir)/include -I$(top_srcdir) $(OpenGL_CFLAGS) - pkginclude_HEADERS = openglrenderer.h opengltexture.h - --libCEGUIOpenGLRenderer_la_LDFLAGS = $(am__append_2) -version-info @CEGUI_OPENGL_VERSION_INFO@ -+libCEGUIOpenGLRenderer_la_LDFLAGS = $(am__append_2) -release @PACKAGE_VERSION@ - - @MINGW32_BUILD_TRUE@libCEGUIOpenGLRenderer_la_CPPFLAGS = -DOPENGL_GUIRENDERER_EXPORTS $(am__append_3) - -diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am ---- CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am.patch1 2008-05-26 20:56:07.000000000 +0200 -+++ CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -9,7 +9,7 @@ libCEGUILuaScriptModule_la_CPPFLAGS += - - libCEGUILuaScriptModule_la_LDFLAGS += -no-undefined -avoid-version - endif - --libCEGUILuaScriptModule_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@ -+libCEGUILuaScriptModule_la_LDFLAGS += -release @PACKAGE_VERSION@ - - - lib_LTLIBRARIES = libCEGUILuaScriptModule.la -diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in ---- CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in.patch1 2008-11-30 21:11:40.000000000 +0100 -+++ CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -251,7 +251,7 @@ INCLUDES = -I$(top_srcdir)/include \ - -I$(top_srcdir)/ScriptingModules/CEGUILua/LuaScriptModule/include\ - $(am__append_3) $(am__append_5) - --libCEGUILuaScriptModule_la_LDFLAGS = $(am__append_2) -version-info @CEGUI_VERSION_INFO@ -+libCEGUILuaScriptModule_la_LDFLAGS = $(am__append_2) -release @PACKAGE_VERSION@ - libCEGUILuaScriptModule_la_CPPFLAGS = $(Lua_CFLAGS) $(am__append_1) - - lib_LTLIBRARIES = libCEGUILuaScriptModule.la -diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am ---- CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am.patch1 2008-03-15 17:51:39.000000000 +0100 -+++ CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -7,7 +7,7 @@ libCEGUItoluapp_la_CPPFLAGS = -DTOLUA_EX - libCEGUItoluapp_la_LDFLAGS += -no-undefined - endif - --libCEGUItoluapp_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@ -+libCEGUItoluapp_la_LDFLAGS += -release @PACKAGE_VERSION@ - - lib_LTLIBRARIES = libCEGUItoluapp.la - -diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in ---- CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in.patch1 2008-11-30 21:11:40.000000000 +0100 -+++ CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -244,7 +244,7 @@ xerces_CFLAGS = @xerces_CFLAGS@ - xerces_LIBS = @xerces_LIBS@ - INCLUDES = $(Lua_CFLAGS) -I$(top_srcdir)/ScriptingModules/CEGUILua/tolua++ - --libCEGUItoluapp_la_LDFLAGS = $(am__append_1) -version-info @CEGUI_VERSION_INFO@ -+libCEGUItoluapp_la_LDFLAGS = $(am__append_1) -release @PACKAGE_VERSION@ - - @MINGW32_BUILD_TRUE@libCEGUItoluapp_la_CPPFLAGS = -DTOLUA_EXPORTS - -diff -up CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am.patch1 CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am ---- CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -8,7 +8,7 @@ libCEGUIFalagardWRBase_la_CPPFLAGS = -DF - libCEGUIFalagardWRBase_la_LDFLAGS += -no-undefined -avoid-version - endif - --libCEGUIFalagardWRBase_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@ -+libCEGUIFalagardWRBase_la_LDFLAGS += -release @PACKAGE_VERSION@ - - libCEGUIFalagardWRBase_la_LIBADD = $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in.patch1 CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in ---- CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in.patch1 2008-11-30 21:11:41.000000000 +0100 -+++ CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -246,7 +246,7 @@ INCLUDES = -I$(top_srcdir)/include \ - -I$(top_srcdir)/WindowRendererSets/Falagard/include - - --libCEGUIFalagardWRBase_la_LDFLAGS = $(am__append_1) -version-info @CEGUI_VERSION_INFO@ -+libCEGUIFalagardWRBase_la_LDFLAGS = $(am__append_1) -release @PACKAGE_VERSION@ - - @MINGW32_BUILD_TRUE@libCEGUIFalagardWRBase_la_CPPFLAGS = -DFALAGARDWRBASE_EXPORTS -DCEGUIWRMODULE_EXPORTS - -diff -up CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am ---- CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am.patch1 2008-05-26 20:56:07.000000000 +0200 -+++ CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include - if MINGW32_BUILD - libCEGUITinyXMLParser_la_CPPFLAGS = -DCEGUITINYXMLPARSER_EXPORTS - libCEGUITinyXMLParser_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUITinyXMLParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - lib_LTLIBRARIES=libCEGUITinyXMLParser.la -diff -up CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in ---- CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in.patch1 2008-11-30 21:11:41.000000000 +0100 -+++ CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -253,6 +253,7 @@ INCLUDES = -I$(top_srcdir)/include $(am_ - - @MINGW32_BUILD_TRUE@libCEGUITinyXMLParser_la_CPPFLAGS = -DCEGUITINYXMLPARSER_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUITinyXMLParser_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUITinyXMLParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - - lib_LTLIBRARIES = libCEGUITinyXMLParser.la - libCEGUITinyXMLParser_la_LIBADD = $(top_builddir)/src/libCEGUIBase.la $(am__append_3) -diff -up CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am ---- CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include $(xer - if MINGW32_BUILD - libCEGUIXercesParser_la_CPPFLAGS = -DCEGUIXERCESPARSER_EXPORTS - libCEGUIXercesParser_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUIXercesParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUIXercesParser_la_LIBADD = $(xerces_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in ---- CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in.patch1 2008-11-30 21:11:41.000000000 +0100 -+++ CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(xer - - @MINGW32_BUILD_TRUE@libCEGUIXercesParser_la_CPPFLAGS = -DCEGUIXERCESPARSER_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUIXercesParser_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUIXercesParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - - libCEGUIXercesParser_la_LIBADD = $(xerces_LIBS) $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am ---- CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include $(exp - if MINGW32_BUILD - libCEGUIExpatParser_la_CPPFLAGS = -DCEGUIEXPATPARSER_EXPORTS - libCEGUIExpatParser_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUIExpatParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUIExpatParser_la_LIBADD = $(expat_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in ---- CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in.patch1 2008-11-30 21:11:41.000000000 +0100 -+++ CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(exp - - @MINGW32_BUILD_TRUE@libCEGUIExpatParser_la_CPPFLAGS = -DCEGUIEXPATPARSER_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUIExpatParser_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUIExpatParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - - libCEGUIExpatParser_la_LIBADD = $(expat_LIBS) $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am ---- CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am.patch1 2008-05-25 10:25:55.000000000 +0200 -+++ CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include $(lib - if MINGW32_BUILD - libCEGUILibxmlParser_la_CPPFLAGS = -DCEGUILIBXMLPARSER_EXPORTS - libCEGUILibxmlParser_la_LDFLAGS = -no-undefined -avoid-version -+else -+libCEGUILibxmlParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - endif - - libCEGUILibxmlParser_la_LIBADD = $(libxml_LIBS) $(top_builddir)/src/libCEGUIBase.la -diff -up CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in ---- CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in.patch1 2008-11-30 21:11:41.000000000 +0100 -+++ CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -246,6 +246,7 @@ INCLUDES = -I$(top_srcdir)/include $(lib - - @MINGW32_BUILD_TRUE@libCEGUILibxmlParser_la_CPPFLAGS = -DCEGUILIBXMLPARSER_EXPORTS - @MINGW32_BUILD_TRUE@libCEGUILibxmlParser_la_LDFLAGS = -no-undefined -avoid-version -+@MINGW32_BUILD_FALSE@libCEGUILibxmlParser_la_LDFLAGS = -release @PACKAGE_VERSION@ - - libCEGUILibxmlParser_la_LIBADD = $(libxml_LIBS) $(top_builddir)/src/libCEGUIBase.la - -diff -up CEGUI-0.6.2/src/Makefile.am.patch1 CEGUI-0.6.2/src/Makefile.am ---- CEGUI-0.6.2/src/Makefile.am.patch1 2008-06-24 21:01:53.000000000 +0200 -+++ CEGUI-0.6.2/src/Makefile.am 2008-12-03 12:14:26.000000000 +0100 -@@ -9,7 +9,7 @@ libCEGUIBase_la_LDFLAGS += -shared -no-u - libCEGUIBase_la_LIBADD += -lwinmm - endif - --libCEGUIBase_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@ -+libCEGUIBase_la_LDFLAGS += -release @PACKAGE_VERSION@ - libCEGUIBase_la_LIBADD += $(freetype2_LIBS) $(pcre_LIBS) - - lib_LTLIBRARIES=libCEGUIBase.la -diff -up CEGUI-0.6.2/src/Makefile.in.patch1 CEGUI-0.6.2/src/Makefile.in ---- CEGUI-0.6.2/src/Makefile.in.patch1 2008-11-30 21:11:42.000000000 +0100 -+++ CEGUI-0.6.2/src/Makefile.in 2008-12-03 12:14:26.000000000 +0100 -@@ -247,7 +247,7 @@ xerces_CFLAGS = @xerces_CFLAGS@ - xerces_LIBS = @xerces_LIBS@ - INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir) $(freetype2_CFLAGS) $(pcre_CFLAGS) $(am__append_3) - --libCEGUIBase_la_LDFLAGS = $(am__append_1) -version-info @CEGUI_VERSION_INFO@ -+libCEGUIBase_la_LDFLAGS = $(am__append_1) -release @PACKAGE_VERSION@ - libCEGUIBase_la_LIBADD = $(am__append_2) $(freetype2_LIBS) $(pcre_LIBS) - - @MINGW32_BUILD_TRUE@libCEGUIBase_la_CPPFLAGS = -DCEGUIBASE_EXPORTS diff --git a/unmaintained/cegui06/cegui-0.6.0-userverso.patch b/unmaintained/cegui06/cegui-0.6.0-userverso.patch deleted file mode 100644 index ea5a99cbed4..00000000000 --- a/unmaintained/cegui06/cegui-0.6.0-userverso.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- CEGUI-0.6.0/src/CEGUIDynamicModule.cpp~ 2008-05-21 22:11:55.000000000 +0200 -+++ CEGUI-0.6.0/src/CEGUIDynamicModule.cpp 2008-05-21 22:11:55.000000000 +0200 -@@ -65,6 +65,18 @@ DynamicModule::DynamicModule(const Strin - } // if(name.empty()) - - #if defined(__linux__) -+ // check if we are being asked to open a CEGUI .so, if so postfix the name -+ // with our package version -+ if (d_moduleName.substr(0, 5) == "CEGUI" || -+ d_moduleName.substr(0, 8) == "libCEGUI") -+ { -+ // strip .so extension before postfixing, will get added again below -+ if (d_moduleName.substr(d_moduleName.length() - 3, 3) == ".so") -+ d_moduleName = d_moduleName.substr(0, d_moduleName.length() - 3); -+ d_moduleName += "-"; -+ d_moduleName += PACKAGE_VERSION; -+ } -+ - // dlopen() does not add .so to the filename, like windows does for .dll - if (d_moduleName.substr(d_moduleName.length() - 3, 3) != ".so") - d_moduleName += ".so"; diff --git a/unmaintained/cegui06/cegui-0.6.2-gcc46.patch b/unmaintained/cegui06/cegui-0.6.2-gcc46.patch deleted file mode 100644 index 27c817cff40..00000000000 --- a/unmaintained/cegui06/cegui-0.6.2-gcc46.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up CEGUI-0.6.2/include/CEGUIBase.h~ CEGUI-0.6.2/include/CEGUIBase.h ---- CEGUI-0.6.2/include/CEGUIBase.h~ 2008-02-11 15:38:27.000000000 +0100 -+++ CEGUI-0.6.2/include/CEGUIBase.h 2011-02-13 20:06:29.477851548 +0100 -@@ -33,6 +33,7 @@ - #ifndef _CEGUIBase_h_ - #define _CEGUIBase_h_ - -+#include <cstddef> - #include <cassert> - - // bring in configuration options diff --git a/unmaintained/cegui06/cegui-gcc8.patch b/unmaintained/cegui06/cegui-gcc8.patch deleted file mode 100644 index c7e0726008d..00000000000 --- a/unmaintained/cegui06/cegui-gcc8.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru CEGUI-0.6.2.orig/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp CEGUI-0.6.2/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp ---- CEGUI-0.6.2.orig/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp 2008-11-27 13:39:04.000000000 +0000 -+++ CEGUI-0.6.2/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp 2018-11-13 07:48:53.228671317 +0000 -@@ -135,7 +135,7 @@ - processElement(childNode->ToElement()); - break; - case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TEXT: -- if (childNode->ToText()->Value() != '\0') -+ if (childNode->ToText()->Value() != NULL) - d_handler->text((utf8*)childNode->ToText()->Value()); - break; - diff --git a/unmaintained/clapf/APKBUILD b/unmaintained/clapf/APKBUILD deleted file mode 100644 index 60607ac52bc..00000000000 --- a/unmaintained/clapf/APKBUILD +++ /dev/null @@ -1,101 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=clapf -pkgver=0.4.7.4 -pkgrel=4 -pkgdesc="clapf is an open source email content filter application" -url="http://clapf.org" -arch="all" -license="AS-IS" -depends="clamav-db" -depends_dev="gsl-dev mysql-dev clamav-dev zlib-dev bzip2-dev" -makedepends="$depends_dev autoconf automake" -install="$pkgname.pre-install" -options="suid" -CLAPF_USER="clapf" -CLAPF_GROUP="clapf" -pkgusers="$CLAPF_USER" -pkggroups="$CLAPF_GROUP" -subpackages="$pkgname-dev" -# * 31d2ce87967e released 0.4.7.4 -COMMIT=31d2ce87967e -source="$pkgname-$pkgver-g$COMMIT.tar.gz::https://bitbucket.org/jsuto/$pkgname/get/$COMMIT.tar.gz - gsl-libs.patch - def__user.patch - ldflags.patch - clapf.confd - clapf.initd" - -builddir="$srcdir/jsuto-$pkgname-$COMMIT" - -prepare() { - default_prepare || return 1 - aclocal && autoconf -} - -build() { - cd "$builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-libclamav \ - --with-tokendb=mysql \ - --enable-lmtp \ - --with-store=fs \ - --enable-blackhole \ - --enable-rbl \ - --enable-policy \ - --enable-whitelist \ - --enable-blackhole \ - --with-clapf-user=$CLAPF_USER \ - --enable-language-detection \ - --enable-memcached \ - --enable-spamsum - - make || return 1 -} - -package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install \ - || return 1 - install -D -m 755 \ - "$srcdir"/clapf.initd \ - "$pkgdir"/etc/init.d/clapf \ - || return 1 - install -D -m 644 \ - "$srcdir"/clapf.confd \ - "$pkgdir"/etc/conf.d/clapf \ - || return 1 - install -d -o $CLAPF_USER -g $CLAPF_GROUP \ - "$pkgdir"/var/run/$pkgname \ - || return 1 - mkdir -p \ - "$pkgdir"/var/spool/clapf/tmp \ - || return 1 - chown -R $CLAPF_USER:$CLAPF_GROUP \ - "$pkgdir"/var/lib/clapf \ - "$pkgdir"/var/spool/clapf \ - || return 1 -} - -md5sums="0a38f56f717b170d8b6e5f780cd2281d clapf-0.4.7.4-g31d2ce87967e.tar.gz -7f480d5a8d0da4863b682deddfe47eff gsl-libs.patch -ba31f71c066f3f6159548808d2e26d8b def__user.patch -967743d70cdf21dd929117865c7053c0 ldflags.patch -1e3786f78bbdfaba1f2d414f9fa19907 clapf.confd -3ab39ee86b80ba8e19e8f41686d35bc6 clapf.initd" -sha256sums="84b1e15462985531e865b5700200d1f0fc09289e5cce00f3d8ab0fdefe4b51cc clapf-0.4.7.4-g31d2ce87967e.tar.gz -4b4bb8530ac740a5279e0fdd959c6b706b3635792030f6b242e282f8d923202c gsl-libs.patch -0523e889808f6aa3ec71a34846cbdfc9d1b185463583dcd7239673d098402346 def__user.patch -d9b5fdbc6ca3118a3e382bcdca383ccca4cdac660303d39a7221bc6475f4eaac ldflags.patch -429a4a6f832cb00f5fcfa0218656bcefa68d80f1f6d2f21ee4dfe1dceef15f69 clapf.confd -bafcb80e5f142f9680a7b8a94c848d84a6940d6c807122d0ed10f004c035faf9 clapf.initd" -sha512sums="f13428be93cd170e24c70e608d15ef7d6054fa1d57dc9dae4efc4b78c464a1ab3102d99114ddfa3fe011e0a6b6ae2076ee46d5d64561604d0b758fae947d22da clapf-0.4.7.4-g31d2ce87967e.tar.gz -096ed4afe1b0fad569a172d6af952f1590d230dd38f6f0c4c0b1e7f29a1515fd887f1c099267aa926ce698864b75cb50626a9b7f49914549748d22ba7058a31d gsl-libs.patch -18b8bf55f20e86e05958f2b4a8bdea8bedeb712bc91bb9a6a67faa2928b545707d3391671ab843415fe11703fef4683594571136cf9b2ec87aa41b0875d34588 def__user.patch -f391663c74ce55b33446bbca9cde61201147d8704f514a266ea1371a43231e34800a8dc6e9f3843849ac000aa49ec2cffc023795696b6127bb404df83493f10f ldflags.patch -f9d931f59710ca5ffae2d08d95d12d090dbbd932f8aa0ebb15e925704563834249e475e7ae8e845fb0f57396cdc11492b54efa0f5c228222f04a0e0c0e92caa5 clapf.confd -c4dff1a3627f9de640dbe6c9a7c69f0e8357f9c63a3fb41f3c6c1e7ee6caec431be6f473002847f1fd2c6c41f7d2730ae134a5b04c9df77502b0905657f524e8 clapf.initd" diff --git a/unmaintained/clapf/clapf.confd b/unmaintained/clapf/clapf.confd deleted file mode 100644 index 8edf00cfb29..00000000000 --- a/unmaintained/clapf/clapf.confd +++ /dev/null @@ -1,6 +0,0 @@ -# /etc/conf.d/clapf: config file for /etc/init.d/clapf - -#CLAPF_USER=clapf -#CLAPF_GROUP=clapf -#CLAPF_CONF=/etc/clapf.conf -#CLAPF_OPTS="-c $CLAPF_CONF" diff --git a/unmaintained/clapf/clapf.initd b/unmaintained/clapf/clapf.initd deleted file mode 100644 index b3e6c6dd905..00000000000 --- a/unmaintained/clapf/clapf.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run - -description="Email content filter" -extra_started_commands="reload" - -command="/usr/sbin/clapf" -pidfile="/var/run/clapf/clapf.pid" -CLAPF_CONF="${CLAPF_CONF:-/etc/clapf.conf}" -CLAPF_USER="${CLAPF_USER:-clapf}" -CLAPF_GROUP="${CLAPF_GROUP:-clapf}" -command_user="$CLAPF_USER${CLAPF_GROUP:+:}$CLAPF_GROUP" -command_args="${CLAPF_OPTS:--c $CLAPF_CONF}" -command_background="YES" - -depend() { - need net - use logger - before mta -} - -reload() { - ebegin "Reloading ${name:-$RC_SVCNAME}" - start-stop-daemon --signal HUP \ - ${command:+--exec} $command \ - ${pidfile:+--pidfile} $pidfile - eend $? -} diff --git a/unmaintained/clapf/clapf.pre-install b/unmaintained/clapf/clapf.pre-install deleted file mode 100644 index b2207408ad6..00000000000 --- a/unmaintained/clapf/clapf.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S clapf 2>/dev/null -adduser -S -D -H -h /var/lib/clapf -s /bin/false -G clapf -g clapf clapf 2>/dev/null - -exit 0 diff --git a/unmaintained/clapf/def__user.patch b/unmaintained/clapf/def__user.patch deleted file mode 100644 index 825f7cd951b..00000000000 --- a/unmaintained/clapf/def__user.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/defs.h b/src/defs.h -index 68cb80a..aae7905 100644 ---- a/src/defs.h -+++ b/src/defs.h -@@ -156,6 +156,9 @@ struct session_data { - int training_request; - float spaminess; - float Nham, Nspam; -+#ifdef __user -+#undef __user -+#endif - float __acquire, __parsed, __av, __user, __policy, __training, __minefield, __as, __update, __store, __inject; - #ifdef HAVE_MAILBUF - char mailbuf[MAILBUFSIZE], discard_mailbuf; -diff --git a/webui/view/theme/default/templates/common/footer.tpl b/webui/view/theme/default/templates/common/footer.tpl -index e2a23fe..0f681bb 100644 ---- a/webui/view/theme/default/templates/common/footer.tpl -+++ b/webui/view/theme/default/templates/common/footer.tpl -@@ -1,3 +1,3 @@ - -- <p>clapf web UI, VERSION_STRING</p> -+ <p>clapf web UI, 0.4.7.4</p> - diff --git a/unmaintained/clapf/gsl-libs.patch b/unmaintained/clapf/gsl-libs.patch deleted file mode 100644 index 7ee3b3bfb17..00000000000 --- a/unmaintained/clapf/gsl-libs.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- ./configure.in.orig 2013-04-16 08:57:38.886870643 +0000 -+++ ./configure.in 2013-04-16 09:00:49.735350727 +0000 -@@ -275,7 +275,10 @@ - defs="$defs -DHAVE_GSL" - gsl_libs="-lgslcblas -lgsl" - fi -- -+ PKG_CHECK_MODULES(GSL, gsl, [ -+ defs="$defs -DHAVE_GSL $GSL_CFLAGS" -+ gsl_libs="$GSL_LIBS" -+ ]) - - dnl the blackhole feature - diff --git a/unmaintained/clapf/ldflags.patch b/unmaintained/clapf/ldflags.patch deleted file mode 100644 index 0dfd02de6a8..00000000000 --- a/unmaintained/clapf/ldflags.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/src/Makefile.in b/src/Makefile.in -index 9512aca..6b4388e 100644 ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -17,7 +17,7 @@ - CFLAGS = @CFLAGS@ @CPPFLAGS@ - DEFS = @defs@ - INCDIR = -I. -I.. @INCDIR@ @sql_includes@ --LIBDIR = -L. -L../contrib/spamsum @LIBDIR@ @LDFLAGS@ -+LIBDIR = -L. -L../contrib/spamsum @LIBDIR@ - LIBS = @LIBS@ @sql_libs@ - ##CLAMAV_EXTRA_LIBS = -lclamunrar_iface -lclamunrar - OBJS = @OBJS@ -@@ -40,13 +40,12 @@ install: install-clapf install-includes install-splitmbox @parsembox_install@ @s - - - clapf: clapf.c libclapf.a -- $(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ clapf.c -lclapf $(LIBS) $(LDAP_LIBS) $(LIBDIR) @LDFLAGS@ @libclamav_extra_libs@ -+ $(CC) $(CFLAGS) $(INCDIR) $(DEFS) @LDFLAGS@ -o $@ clapf.c -lclapf $(LIBS) $(LDAP_LIBS) $(LIBDIR) @libclamav_extra_libs@ - - libclapf.a: $(OBJS) $(SQL_OBJS) - ar cr libclapf.a $(OBJS) $(SQL_OBJS) - ranlib libclapf.a -- #$(CC) -shared -Wl,-soname,libclapf.so.$(CLAPF_VERSION) -o libclapf.so.$(LIBCLAPF_VERSION) $(OBJS) $(SQL_OBJS) $(LIBS) $(LDAP_LIBS) @LDFLAGS@ -- $(CC) -shared -Wl -o libclapf.so.$(LIBCLAPF_VERSION) $(OBJS) $(SQL_OBJS) $(LIBS) $(LDAP_LIBS) @LDFLAGS@ -+ $(CC) @LDFLAGS@ -shared -Wl,-soname,libclapf.so.$(CLAPF_VERSION) -o libclapf.so.$(LIBCLAPF_VERSION) $(OBJS) $(SQL_OBJS) $(LIBS) $(LDAP_LIBS) - ln -sf libclapf.so.$(LIBCLAPF_VERSION) libclapf.so - ln -sf libclapf.so.$(LIBCLAPF_VERSION) libclapf.so.$(CLAPF_VERSION) - -@@ -75,7 +75,7 @@ - $(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o $@ $^ $(LIBS) $(LDAP_LIBS) $(LIBDIR) -ltre - - test: -- $(CC) $(CFLAGS) $(INCDIR) $(DEFS) -o spamtest $(srcdir)/test.c -lclapf $(LIBS) $(LDAP_LIBS) @spamsum_libs@ $(LIBDIR) @LDFLAGS@ -+ $(CC) $(CFLAGS) $(INCDIR) $(DEFS) @LDFLAGS@ -o spamtest $(srcdir)/test.c -lclapf $(LIBS) $(LDAP_LIBS) @spamsum_libs@ $(LIBDIR) - - %.o: $(srcdir)/%.c - $(CC) $(CFLAGS) -fPIC $(INCDIR) $(DEFS) -c $< -o $@ diff --git a/unmaintained/closure-compiler/APKBUILD b/unmaintained/closure-compiler/APKBUILD deleted file mode 100644 index ac93f8cfc87..00000000000 --- a/unmaintained/closure-compiler/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -# TODO: Build it from source instead of downloading prebuilt JAR (although -# it does not contain any native binaries), so we can patch it when needed. -pkgname=closure-compiler -pkgver=20171203 -pkgrel=1 -pkgdesc="A JavaScript checker and optimizer" -url="https://developers.google.com/closure/compiler/" -arch="noarch !s390x !riscv64" # java -license="Apache-2.0" -depends="java-jre-headless" -source="$pkgname-$pkgver-jar.tar.gz::https://dl.google.com/$pkgname/compiler-$pkgver.tar.gz - $pkgname" -builddir="$srcdir/$pkgname-$pkgver" - -check() { - java -jar "$srcdir"/$pkgname-v$pkgver.jar --version -} - -package() { - cd "$srcdir" - - install -D -m 644 $pkgname-v$pkgver.jar \ - "$pkgdir"/usr/share/java/$pkgname-$pkgver.jar - ln -s $pkgname-$pkgver.jar "$pkgdir"/usr/share/java/$pkgname.jar - - install -D -m 755 $pkgname "$pkgdir"/usr/bin/$pkgname -} - -sha512sums="478e8f1b665e4ac74f5307aa9fdc8042d743e8e455144894a1dde8596f29befff08e34343718a663fa0ae82007d72908b015af388bfac19cdfaa95985737614b closure-compiler-20171203-jar.tar.gz -18127beb77da790d1fa13fddc4056c485ca2b4a263becd7d37542dc705d08c342f842aa22322dd9aaa8e0ad651f45fc4c0ff632201cc5f20d391843d2c1b2661 closure-compiler" diff --git a/unmaintained/closure-compiler/closure-compiler b/unmaintained/closure-compiler/closure-compiler deleted file mode 100644 index 65e6560ddd0..00000000000 --- a/unmaintained/closure-compiler/closure-compiler +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -JAVA_HOME=${JAVA_HOME:="/usr/lib/jvm/default-jvm"} -"$JAVA_HOME"/bin/java -jar /usr/share/java/closure-compiler.jar "$@" diff --git a/unmaintained/cni-plugin-dnsname/APKBUILD b/unmaintained/cni-plugin-dnsname/APKBUILD deleted file mode 100644 index b8cd3e31bb9..00000000000 --- a/unmaintained/cni-plugin-dnsname/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Jordan Christiansen <xordspar0@gmail.com> -# Maintainer: Jordan Christiansen <xordspar0@gmail.com> -pkgname=cni-plugin-dnsname -pkgver=1.3.1 -pkgrel=5 -pkgdesc="Name resolution for containers" -url="https://github.com/containers/dnsname" -license="Apache-2.0" -arch="all" -depends="dnsmasq" -makedepends="go" -options="!check" # Requires root but 'checkroot' doesn't work with go programs -source="$pkgname-$pkgver.tar.gz::https://github.com/containers/dnsname/archive/v$pkgver.tar.gz" -builddir="$srcdir/dnsname-$pkgver" - -build() { - make -} - -package() { - make install PREFIX=/usr DESTDIR="$pkgdir" -} - -sha512sums=" -ebebbe62394b981e86cd21fa8b92639a6d67e007a18c576ffdbac8067084a4cffdc9d077213bf7c9ee1e2731c7d69e4d4c02465f2340556c8723b6e302238aad cni-plugin-dnsname-1.3.1.tar.gz -" diff --git a/unmaintained/code-server/APKBUILD b/unmaintained/code-server/APKBUILD deleted file mode 100644 index 1568ed563b8..00000000000 --- a/unmaintained/code-server/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: wener <wenermail@gmail.com> -# Maintainer: wener <wenermail@gmail.com> -pkgname="code-server" -pkgver="1.1156" -_fullver="1.1156-vsc1.33.1" -pkgrel=0 -pkgdesc="Run VS Code on a remote server" -url="https://github.com/cdr/code-server" -# other arch will failed -arch="x86_64" -license="MIT" -# py3 will fail node-gyp -makedepends="yarn npm python2" -source="$pkgname-$_fullver.tar.gz::https://github.com/cdr/code-server/archive/$_fullver.tar.gz" -builddir="$srcdir/$pkgname-$_fullver" -# there is no test in source -options="!check" - -build() { - yarn - NODE_ENV=production yarn task build:server:binary -} - -package() { - install -D -m 755 "$builddir"/packages/server/cli-musl-x64 "$pkgdir"/usr/bin/code-server -} - -sha512sums="886844e8d89d26974df3f8875ef99b7609ca4e2a75fdad633e7c262469f1b52447ccc9261f919af9f45406e2d5d41458e05432d225db45363b287c7e1dfdb3dd code-server-1.1156-vsc1.33.1.tar.gz" diff --git a/unmaintained/confd/0001-add-file-backend-to-quick-start-guide-727.patch b/unmaintained/confd/0001-add-file-backend-to-quick-start-guide-727.patch deleted file mode 100644 index e1b16f904a0..00000000000 --- a/unmaintained/confd/0001-add-file-backend-to-quick-start-guide-727.patch +++ /dev/null @@ -1,27 +0,0 @@ -From cccd334562329858feac719ad94b75aa87968a99 Mon Sep 17 00:00:00 2001 -From: Britt Treece <britt.treece@gmail.com> -Date: Mon, 16 Jul 2018 04:59:03 -0500 -Subject: [PATCH] add file backend to quick start guide (#727) - -* add file backend to quick start guide - -* add formatting to file backend debug call - -* fix my poorly exec'ed fork update ---- - backends/file/client.go | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/backends/file/client.go b/backends/file/client.go -index f7c4460..c37684a 100644 ---- a/backends/file/client.go -+++ b/backends/file/client.go -@@ -112,7 +112,7 @@ func (c *Client) watchChanges(watcher *f - for { - select { - case event := <-watcher.Events: -- log.Debug("event:", event) -+ log.Debug("event: %v", event) - if event.Op&fsnotify.Write == fsnotify.Write || - event.Op&fsnotify.Remove == fsnotify.Remove || - event.Op&fsnotify.Create == fsnotify.Create { diff --git a/unmaintained/confd/APKBUILD b/unmaintained/confd/APKBUILD deleted file mode 100644 index b564ba9d1d4..00000000000 --- a/unmaintained/confd/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: tang0th <tang0th@gmx.com> -# Contributor: fchavant <francois@lightcurve.io> -# Maintainer: -pkgname=confd -pkgver=0.16.0 -pkgrel=3 -pkgdesc="Manage local application configuration files using templates and data from etcd or consul" -url="http://confd.io" -arch="all" -license="MIT" -depends="" -makedepends="go" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/kelseyhightower/$pkgname/archive/v$pkgver.tar.gz - 0001-add-file-backend-to-quick-start-guide-727.patch" - -build() { - export GOPATH="$srcdir" - mkdir -p "$GOPATH/src/github.com/kelseyhightower" - mv "$srcdir/$pkgname-$pkgver" "$GOPATH/src/github.com/kelseyhightower/confd" - cd "$GOPATH/src/github.com/kelseyhightower/confd" - make -} - -check() { - # Errors out with - # backends/file/client.go:115:14: Debug call has arguments but no formatting directives - [ "$CARCH" = armv7 ] && return 0 - export GOPATH="$srcdir" - cd "$GOPATH/src/github.com/kelseyhightower/confd" - make test -} - -package() { - install -Dm755 "$srcdir/src/github.com/kelseyhightower/confd/bin/confd" "$pkgdir/usr/bin/confd" -} - -sha512sums="eafabf85d1d7193847a78dcfde7b9961bdf5b634165d27acc760aff6e4ef79cac9688abdfcac049773a28f997f87ea94e6a7606ee7f7d7aaaeaa8ba67f7e48b7 confd-0.16.0.tar.gz -d57124541a84d2d9bc8e3de7bb463a724e39f99345da3732e9770439e6356f8e7633e8968cf8a654c43a92c5f99ede51badb8f18981214cdd827e10d702b0239 0001-add-file-backend-to-quick-start-guide-727.patch" diff --git a/unmaintained/corebird/APKBUILD b/unmaintained/corebird/APKBUILD deleted file mode 100644 index 94d34065821..00000000000 --- a/unmaintained/corebird/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=corebird -pkgver=1.7.4 -pkgrel=0 -pkgdesc="Corebird is a modern, easy and fun Twitter client" -url="https://corebird.baedert.org/" -arch="all" -license="GPL-3.0" -makedepends="gtk+3.0-dev rest-dev json-glib-dev sqlite-dev libsoup-dev libgee-dev - vala tiff automake autoconf libtool intltool glib-dev libxml2-utils file" -options="libtool !check" -subpackages="$pkgname-lang $pkgname-doc" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/baedert/$pkgname/archive/$pkgver.tar.gz - disable-gst-check.patch" -builddir=${srcdir}/${pkgname}-${pkgver} - -prepare() { - cd "$builddir" - NOCONFIGURE=yes ./autogen.sh - default_prepare -} - -build() { - cd "$builddir" - ./configure \ - --prefix=/usr \ - --disable-video \ - --disable-gst-check \ - --disable-spellcheck - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="7e88f73ef1fc36379172d30251065e7ee3df54eabfaf954015ed4e739c5ad2b1821b43a07e66bb9363b7daa59b5e981d459a4aef87be8a3dd80a7ed41e37e582 corebird-1.7.4.tar.gz -ce31141924a58b9081453b4c9490b22f2d039624a8f06d8f9418c5b8581cb8443a57db304d1112331dda547905cbe3df0c26f08f62ff78a2b210465fc3506e94 disable-gst-check.patch" diff --git a/unmaintained/corebird/disable-gst-check.patch b/unmaintained/corebird/disable-gst-check.patch deleted file mode 100644 index a6b9d2cde22..00000000000 --- a/unmaintained/corebird/disable-gst-check.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/configure b/configure -index 1be799c..8f9dd8b 100755 ---- a/configure -+++ b/configure -@@ -12935,7 +12935,8 @@ fi - - if test "$disable_gst_check" = "no"; then - # Check for gtksink -- GST_ELEMENT_CHECK(gtksink, 1.0, , ) -+ # GST_ELEMENT_CHECK(gtksink, 1.0, , ) -+ return 0 - fi - - diff --git a/unmaintained/crackmapexec/APKBUILD b/unmaintained/crackmapexec/APKBUILD deleted file mode 100644 index 789083bf9f4..00000000000 --- a/unmaintained/crackmapexec/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=crackmapexec -_pkgname=CrackMapExec -pkgver=3.1.5 -pkgrel=2 -pkgdesc="A swiss army knife for pentesting Windows/Active Directory environments" -url="https://github.com/byt3bl33d3r/CrackMapExec" -arch="noarch" -license="custom" -depends="python2 py2-asn1 py2-impacket py2-netaddr py2-crypto - py2-openssl py2-msgpack py2-requests py2-termcolor py2-gevent - py2-packaging py2-setuptools py2-chardet py2-urllib3 py2-certifi" -makedepends="python2-dev py-setuptools" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/byt3bl33d3r/$_pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -check() { - cd "$builddir" - python2 setup.py check -} - -build() { - cd "$builddir" - python2 setup.py build -} - -package() { - cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" - install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -md5sums="22843a22bea425ce55ba1f189754824f crackmapexec-3.1.5.tar.gz" -sha256sums="dbe067e21e2fb382bfbe1aa2eaa814e48add889dde1bc9015105990c6ea67250 crackmapexec-3.1.5.tar.gz" -sha512sums="c7501afc0f659466eca76863c8afeb262150f3f13ccf9d21412e69b114295c28ba001e979aae014124b31653a0a95a5a4afc5970892d01454f9941a82b6182ec crackmapexec-3.1.5.tar.gz" diff --git a/unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch b/unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch deleted file mode 100644 index 70682d9f5f2..00000000000 --- a/unmaintained/crackmapexec/cleanup-residual-patch-in-upstream.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/cme/cmeserver.py b/cme/cmeserver.py -index 4549095..5bc336b 100644 ---- a/cme/cmeserver.py -+++ b/cme/cmeserver.py -@@ -1,17 +1,9 @@ - import BaseHTTPServer - import threading - import ssl --<<<<<<< HEAD:cme/cmeserver.py --<<<<<<< 23d8a6517fb1a36bac9b09e3923201ee291d00ac:cme/cmeserver.py - import os - import sys - from getpass import getuser --======= --import sys -->>>>>>> Added error handling for CME server in case the port is already in use.:core/cmeserver.py --======= --import sys -->>>>>>> da4e55380a1d1ad46d3176c513b829bd4a7099f4:core/cmeserver.py - from BaseHTTPServer import BaseHTTPRequestHandler - from logging import getLogger - from gevent import sleep diff --git a/unmaintained/crda/01-Makefile-dont-run-ldconfig.patch b/unmaintained/crda/01-Makefile-dont-run-ldconfig.patch deleted file mode 100644 index d1e7477b68c..00000000000 --- a/unmaintained/crda/01-Makefile-dont-run-ldconfig.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/Makefile 2014-12-11 00:51:29.000000000 +0100 -+++ b/Makefile 2016-04-23 03:03:33.785974265 +0200 -@@ -127,7 +127,6 @@ - $(NQ) ' INSTALL libreg' - $(Q)mkdir -p $(DESTDIR)/$(LIBDIR) - $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/ -- $(Q)ldconfig - - %.o: %.c regdb.h $(LIBREG) - $(NQ) ' CC ' $@ diff --git a/unmaintained/crda/APKBUILD b/unmaintained/crda/APKBUILD deleted file mode 100644 index 5683baa0d27..00000000000 --- a/unmaintained/crda/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Stefan Wagner <stw@bit-strickerei.de> -# Maintainer: Stefan Wagner <stw@bit-strickerei.de> -pkgname=crda -pkgver=4.14 -pkgrel=0 -pkgdesc="Linux Central Regulatory Domain Agent" -url="https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA" -arch="" -license="GPL" -depends="wireless-regdb" -makedepends="linux-headers libnl-dev py2-m2crypto libgcrypt-dev" -subpackages="$pkgname-dev $pkgname-doc" -source="https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/$pkgname-$pkgver.tar.gz - 01-Makefile-dont-run-ldconfig.patch" - -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - sed 's/-Werror//' -i $builddir/Makefile -} - -build() { - cd "$builddir" - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="0d52cf62589ec2debfd66de95b82b03a1c15048d8425cf5ef43c3e1f51ce1311a6d898fd5f69badcceb3181d35c836db197c6f070654dab351b01e96a1dd1053 crda-4.14.tar.gz -c642976b193722c0050c13331a010b466cea8391bb5f945832604a556e274ea1a4b289c78f74ff5d502fae800f18219db3d10ff10c0528eefc5e9443a963640f 01-Makefile-dont-run-ldconfig.patch" diff --git a/unmaintained/creduce/204.patch b/unmaintained/creduce/204.patch deleted file mode 100644 index 1c02a36553e..00000000000 --- a/unmaintained/creduce/204.patch +++ /dev/null @@ -1,79 +0,0 @@ -See: https://github.com/csmith-project/creduce/pull/204 -From 37a8db44d97029e95f3ab9a728d23053eb82c1cd Mon Sep 17 00:00:00 2001 -From: Bernhard Rosenkraenzer <bero@lindev.ch> -Date: Thu, 6 Feb 2020 15:02:35 +0100 -Subject: [PATCH] Port to LLVM 10.0 - ---- - clang_delta/TransformationManager.cpp | 27 +++++++++++++++++++++++++-- - 1 file changed, 25 insertions(+), 2 deletions(-) - -diff --git a/clang_delta/TransformationManager.cpp b/clang_delta/TransformationManager.cpp -index ca2f2b48..acf82837 100644 ---- a/clang_delta/TransformationManager.cpp -+++ b/clang_delta/TransformationManager.cpp -@@ -16,6 +16,7 @@ - - #include <sstream> - -+#include "clang/Basic/Builtins.h" - #include "clang/Basic/Diagnostic.h" - #include "clang/Basic/TargetInfo.h" - #include "clang/Lex/Preprocessor.h" -@@ -101,6 +102,7 @@ bool TransformationManager::initializeCompilerInstance(std::string &ErrorMsg) - CompilerInvocation &Invocation = ClangInstance->getInvocation(); - InputKind IK = FrontendOptions::getInputKindForExtension( - StringRef(SrcFileName).rsplit('.').second); -+#if LLVM_VERSION_MAJOR < 10 - if (IK.getLanguage() == InputKind::C) { - Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind::C, T, PPOpts); - } -@@ -111,6 +113,18 @@ bool TransformationManager::initializeCompilerInstance(std::string &ErrorMsg) - Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind::CXX, T, PPOpts); - } - else if(IK.getLanguage() == InputKind::OpenCL) { -+#else -+ if (IK.getLanguage() == Language::C) { -+ Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind(Language::C), T, PPOpts); -+ } -+ else if (IK.getLanguage() == Language::CXX) { -+ // ISSUE: it might cause some problems when building AST -+ // for a function which has a non-declared callee, e.g., -+ // It results an empty AST for the caller. -+ Invocation.setLangDefaults(ClangInstance->getLangOpts(), InputKind(Language::CXX), T, PPOpts); -+ } -+ else if(IK.getLanguage() == Language::OpenCL) { -+#endif - //Commandline parameters - std::vector<const char*> Args; - Args.push_back("-x"); -@@ -122,7 +136,7 @@ bool TransformationManager::initializeCompilerInstance(std::string &ErrorMsg) - ClangInstance->createFileManager(); - - if(CLCPath != NULL && ClangInstance->hasFileManager() && -- ClangInstance->getFileManager().getDirectory(CLCPath, false) != NULL) { -+ ClangInstance->getFileManager().getDirectory(CLCPath, false)) { - Args.push_back("-I"); - Args.push_back(CLCPath); - } -@@ -132,10 +146,19 @@ bool TransformationManager::initializeCompilerInstance(std::string &ErrorMsg) - Args.push_back("-fno-builtin"); - - CompilerInvocation::CreateFromArgs(Invocation, -+#if LLVM_VERSION_MAJOR >= 10 -+ Args, -+#else - &Args[0], &Args[0] + Args.size(), -+#endif - ClangInstance->getDiagnostics()); - Invocation.setLangDefaults(ClangInstance->getLangOpts(), -- InputKind::OpenCL, T, PPOpts); -+#if LLVM_VERSION_MAJOR >= 10 -+ InputKind(Language::OpenCL), -+#else -+ InputKind::OpenCL, -+#endif -+ T, PPOpts); - } - else { - ErrorMsg = "Unsupported file type!"; diff --git a/unmaintained/creduce/APKBUILD b/unmaintained/creduce/APKBUILD deleted file mode 100644 index c7461e61074..00000000000 --- a/unmaintained/creduce/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=creduce -pkgver=2.10.0 -pkgrel=6 -pkgdesc="A C/C++ program reducer" -url="https://embed.cs.utah.edu/creduce/" -#arch="all" -license="custom" -# util-linux provides lscpu -depends="clang indent perl perl-exporter-lite perl-file-which - perl-getopt-tabular perl-regexp-common perl-term-readkey - util-linux" -makedepends="clang-dev clang-static flex llvm-dev zlib-dev" -source="https://embed.cs.utah.edu/creduce/creduce-$pkgver.tar.gz - 204.patch" - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --libexecdir=/usr/lib/$pkgname - - make -} - -check() { - make check -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="f2f2cc498cbf78331ea62e533579c84042ddc1ad8eb146adeae6b3a833e0ea4bb26a4ab5f1f61a30500a5a0c9c89cc1d4e4c8547aa9e4a14d3b5d744aeb4f6a7 creduce-2.10.0.tar.gz -c8c91ee37f6d633c34e6828a6235c409ec1e3f35292dc0722aa1c054ec8040cbd2bdb5f0792785a5c61cf3922c08f95ed819f9b1c2d82e793591c61dcbbb7249 204.patch" diff --git a/unmaintained/cryfs/0001-fix-for-python3.patch b/unmaintained/cryfs/0001-fix-for-python3.patch deleted file mode 100644 index 2629a4691a7..00000000000 --- a/unmaintained/cryfs/0001-fix-for-python3.patch +++ /dev/null @@ -1,22 +0,0 @@ -Upstream: No -Reason: Fix default python version for this script - ---- a/src/gitversion/getversion.py 2020-06-05 00:07:29.206108295 +0300 -+++ b/src/gitversion/getversion.py 2020-06-05 00:07:48.846126599 +0300 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - - import versioneer - ---- a/src/gitversion/gitversion.cmake 2020-06-05 00:39:47.862225137 +0300 -+++ b/src/gitversion/gitversion.cmake 2020-06-05 00:40:18.162282012 +0300 -@@ -1,7 +1,7 @@ - set(DIR_OF_GITVERSION_TOOL "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "DIR_OF_GITVERSION_TOOL") - - function (get_git_version OUTPUT_VARIABLE) -- EXECUTE_PROCESS(COMMAND python ${DIR_OF_GITVERSION_TOOL}/getversion.py -+ EXECUTE_PROCESS(COMMAND python3 ${DIR_OF_GITVERSION_TOOL}/getversion.py - WORKING_DIRECTORY ${DIR_OF_GITVERSION_TOOL} - OUTPUT_VARIABLE VERSION - ERROR_VARIABLE error diff --git a/unmaintained/cryfs/APKBUILD b/unmaintained/cryfs/APKBUILD deleted file mode 100644 index d753f14ffa9..00000000000 --- a/unmaintained/cryfs/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Pavel Pletenev <cpp.create@gmail.com> -# Maintainer: Pavel Pletenev <cpp.create@gmail.com> -pkgname=cryfs -pkgver=0.10.3 -pkgrel=1 -pkgdesc="Cryptographic filesystem for the cloud" -url="https://github.com/cryfs/cryfs" -# Fails on other arches -arch="x86_64 aarch64" -license="LGPL-3.0-only" -makedepends="cmake attr-dev curl-dev fuse-dev linux-headers - boost-dev python3" -source="$pkgname-$pkgver.tar.gz::https://github.com/cryfs/cryfs/archive/$pkgver.tar.gz - 0001-fix-for-python3.patch" - -prepare() { - default_prepare - echo "$pkgver" > VERSION -} - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - export GIT_CEILING_DIRECTORIES="$srcdir" - cmake -B build \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_TESTING=ON \ - -DBoost_USE_STATIC_LIBS=OFF \ - $CMAKE_CROSSOPTS . - make -C build -j1 -} - -check() { - ./build/test/gitversion/gitversion-test - ./build/test/cpp-utils/cpp-utils-test - ./build/test/parallelaccessstore/parallelaccessstore-test - ./build/test/blockstore/blockstore-test - ./build/test/blobstore/blobstore-test - ./build/test/cryfs/cryfs-test -} - -package() { - make -C build PREFIX=/usr DESTDIR="$pkgdir" install -} - -sha512sums="81380b8f455cc058427e638b55dcb4fcc64fc09930d897e750fb69509e8f100b048d050ec71e0acefe8a93973cf26ca4dc8dec806b905ce6d82ce78066ff01db cryfs-0.10.3.tar.gz -d299466c8cfaa0f1f75565756d95a12cd7fa94615f0292f31ad0494dc8a0aae35c22fbab023d7e183b95e877c58553a0c8f8ab1f7444df1f9d1b292c063edfb0 0001-fix-for-python3.patch" diff --git a/unmaintained/dcd/APKBUILD b/unmaintained/dcd/APKBUILD deleted file mode 100644 index 9a09adfec01..00000000000 --- a/unmaintained/dcd/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=dcd -pkgver=0.12.0 -_githash=33dbd7653ecf830b735382e11d9bee66853a6dcf -pkgrel=2 -pkgdesc="The D Completion Daemon is an auto-complete program for the D programming language" -url="https://github.com/dlang-community/DCD" -arch="x86_64 aarch64" # ldc -license="GPL-3.0-or-later" -makedepends="ldc ldc-runtime stdx-allocator-dev dsymbol-dev libdparse-dev - msgpack-d-dev dcontainers-dev bash" -options="!check" # Can only be run with a DMD version of DCD -source="https://github.com/dlang-community/DCD/archive/v$pkgver/dcd-$pkgver.tar.gz - do-shared-linking.patch" -builddir="$srcdir/DCD-$pkgver" - -prepare() { - default_prepare - - mkdir bin - echo $_githash > bin/githash.txt -} - -build() { - make DFLAGS="-link-defaultlib-shared" ldc -} - -package() { - install -d "$pkgdir"/usr/bin - install -m0755 bin/dcd-client bin/dcd-server "$pkgdir"/usr/bin/ -} - -sha512sums="caadc5d497d6a209fda23523164247c1b921cebbe641fb6b5cedcecd20075d9283407f132886a369b15286c327e6a9e6015f290c31283e2a49a0e676b4cf82a9 dcd-0.12.0.tar.gz -3d0a85c47eca379ee350ba007200469e2c95ae3822d3826c275e6b4be7fa7d7d8e1c730fe971c6d67589888d94ea0c108581164952072ee9e956cf001298e21f do-shared-linking.patch" diff --git a/unmaintained/dcd/do-shared-linking.patch b/unmaintained/dcd/do-shared-linking.patch deleted file mode 100644 index abb63b36c50..00000000000 --- a/unmaintained/dcd/do-shared-linking.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/makefile b/makefile -index 2bf0be9..2c568f0 100644 ---- a/makefile -+++ b/makefile -@@ -1,4 +1,4 @@ --.PHONY: all -++.PHONY: all - - all: dmd - dmd: dmdserver dmdclient -@@ -32,8 +32,7 @@ clean: - - CLIENT_SRC := \ - $(shell find src/dcd/common -name "*.d")\ -- $(shell find src/dcd/client -name "*.d")\ -- $(shell find msgpack-d/src/ -name "*.d") -+ $(shell find src/dcd/client -name "*.d") - - DMD_CLIENT_FLAGS := -Imsgpack-d/src\ - -Imsgpack-d/src\ -@@ -49,8 +48,8 @@ GDC_CLIENT_FLAGS := -Imsgpack-d/src\ - -frelease\ - -obin/dcd-client - --LDC_CLIENT_FLAGS := -Imsgpack-d/src\ -- -Imsgpack-d/src\ -+LDC_CLIENT_FLAGS := \ -+ $(shell pkg-config --cflags msgpack-d) $(subst -l,-L=-l,$(shell pkg-config --libs msgpack-d))\ - -J=bin\ - -release\ - -O5\ -@@ -63,29 +62,7 @@ override GDC_CLIENT_FLAGS += $(DFLAGS) - - SERVER_SRC := \ - $(shell find src/dcd/common -name "*.d")\ -- $(shell find src/dcd/server -name "*.d")\ -- $(shell find ${DSYMBOL_DIR}/src -name "*.d")\ -- $(shell find ${STDXALLOC_DIR}/source -name "*.d")\ -- ${DPARSE_DIR}/src/dparse/ast.d\ -- ${DPARSE_DIR}/src/dparse/entities.d\ -- ${DPARSE_DIR}/src/dparse/lexer.d\ -- ${DPARSE_DIR}/src/dparse/parser.d\ -- ${DPARSE_DIR}/src/dparse/formatter.d\ -- ${DPARSE_DIR}/src/dparse/rollback_allocator.d\ -- ${DPARSE_DIR}/src/dparse/stack_buffer.d\ -- ${DPARSE_DIR}/src/std/experimental/lexer.d\ -- containers/src/containers/dynamicarray.d\ -- containers/src/containers/ttree.d\ -- containers/src/containers/unrolledlist.d\ -- containers/src/containers/openhashset.d\ -- containers/src/containers/hashset.d\ -- containers/src/containers/internal/hash.d\ -- containers/src/containers/internal/node.d\ -- containers/src/containers/internal/storage_type.d\ -- containers/src/containers/internal/element_type.d\ -- containers/src/containers/internal/backwards.d\ -- containers/src/containers/slist.d\ -- $(shell find msgpack-d/src/ -name "*.d") -+ $(shell find src/dcd/server -name "*.d") - - DMD_SERVER_FLAGS := -Icontainers/src\ - -Imsgpack-d/src\ -@@ -117,10 +94,10 @@ GDC_SERVER_FLAGS := -Icontainers/src\ - -frelease\ - -obin/dcd-server - --LDC_SERVER_FLAGS := -Icontainers/src\ -- -Imsgpack-d/src\ -- -I${DPARSE_DIR}/src\ -- -I${DSYMBOL_DIR}/src\ -+LDC_SERVER_FLAGS := $(shell pkg-config --cflags dcontainers) $(subst -l,-L=-l,$(shell pkg-config --libs dcontainers))\ -+ $(shell pkg-config --cflags msgpack-d) $(subst -l,-L=-l,$(shell pkg-config --libs msgpack-d))\ -+ $(shell pkg-config --cflags dparse) $(subst -l,-L=-l,$(shell pkg-config --libs dparse))\ -+ $(shell pkg-config --cflags dsymbol) $(subst -l,-L=-l,$(shell pkg-config --libs dsymbol))\ - -Isrc\ - -J=bin\ - -O5\ -@@ -150,10 +127,10 @@ gdcserver: githash - mkdir -p bin - ${GDC} ${SERVER_SRC} ${GDC_SERVER_FLAGS} - --ldcclient: githash -+ldcclient: - ${LDC} ${CLIENT_SRC} ${LDC_CLIENT_FLAGS} -oq -of=bin/dcd-client - --ldcserver: githash -+ldcserver: - ${LDC} $(LDC_SERVER_FLAGS) ${SERVER_SRC} -oq -of=bin/dcd-server - - test: debugserver dmdclient diff --git a/unmaintained/dcontainers/APKBUILD b/unmaintained/dcontainers/APKBUILD deleted file mode 100644 index 86b6c2c52a9..00000000000 --- a/unmaintained/dcontainers/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=dcontainers -pkgver=0.8.0_alpha19 -_alphanum=${pkgver/${pkgver%alpha*}/} -_pkgver=${pkgver/_$_alphanum/} -_verstring=$_pkgver-${_alphanum/ha/ha.} -pkgrel=1 -pkgdesc="Containers backed by std.experimental.allocator" -url="https://github.com/dlang-community/containers" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="meson ldc ldc-runtime stdx-allocator-dev" -subpackages="$pkgname-dev" -source="https://github.com/dlang-community/containers/archive/v$_verstring/containers-$_verstring.tar.gz" -builddir="$srcdir/containers-$_verstring" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="ef415e2bf7829e05c458cee0e41b6fc5768805a8dee332fb6a01a72e1e723f240f183cd1fd5ed74848cc4ea860b0746dca1c5dee13d37f819f0025da99098c4a containers-0.8.0-alpha.19.tar.gz" diff --git a/unmaintained/deroff/APKBUILD b/unmaintained/deroff/APKBUILD deleted file mode 100644 index 03dfead7d1e..00000000000 --- a/unmaintained/deroff/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: -pkgname=deroff -pkgver=2.0 -pkgrel=0 -pkgdesc="Deroff removes roff constructs from documents for the purpose of indexing" -url="http://www.moria.de/~michael/deroff/" -arch="all" -license="GPL-2.0-or-later" -depends="" -makedepends="" -install="" -options="!check" -subpackages="$pkgname-doc" -source="http://www.moria.de/~michael/$pkgname/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - cd "$builddir" - update_config_sub -} - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -package() { - cd "$builddir" - make BINDIR="$pkgdir/usr/bin" \ - MANDIR="$pkgdir/usr/share/man" install -} - -sha512sums="8037977c4ea59ee7de1132dbd0a2197f36029d98a1ba1a39fc7d50e61fffc7e8ff092e5b0951e05a4c5653b8972959b8025135ce9c5220cbd230cd41ab3d07fd deroff-2.0.tar.gz" diff --git a/unmaintained/diction/APKBUILD b/unmaintained/diction/APKBUILD deleted file mode 100644 index 3e4f8d0c893..00000000000 --- a/unmaintained/diction/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: -pkgname=diction -pkgver=1.11 -pkgrel=1 -pkgdesc="Style checkers for improving your writing" -url="https://www.gnu.org/software/diction/diction.html" -arch="all" -license="GPL-3.0-or-later" -depends="" -makedepends="" -install="" -subpackages="$pkgname-doc" -source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - cd "$builddir" - update_config_sub -} - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="f8be4c388c2659e91ba2dcfd5e3680aee0771b9b9a8c91a8877f6f61d5c014572c96ebf8e9cacbfa2afe2502e10957de9dd065245278cabeab13e28281404fb9 diction-1.11.tar.gz" diff --git a/unmaintained/dietlibc/APKBUILD b/unmaintained/dietlibc/APKBUILD deleted file mode 100644 index 695a7994f8e..00000000000 --- a/unmaintained/dietlibc/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> -pkgname=dietlibc -pkgver=0.33 -pkgrel=3 -pkgdesc="a libc optimized for small size" -url="https://www.fefe.de/dietlibc/" -arch="" -license="GPL" -depends="dietlibc-dev" -depends_dev="" -makedepends="" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - make prefix=/usr/$pkgname \ - -C "$_builddir" || return 1 -} - -package() { - make prefix=/usr/$pkgname DESTDIR="$pkgdir" \ - BINDIR=/usr/bin MAN1DIR=/usr/share/man/man1 \ - -C "$_builddir" install || return 1 - - local file - for file in AUTHOR BUGS CAVEAT CHANGES COPYING FAQ PORTING \ - README README.security SECURITY THANKS TODO; do - install -Dm644 "$_builddir"/$file \ - "$pkgdir"/usr/share/doc/$pkgname/$file || return 1 - done -} - -md5sums="9d541b9a6623b04ec12e5248b82db7c0 dietlibc-0.33.tar.bz2" -sha256sums="68838893790ddd7a42bc1a06e5435054e1dc1914e4b53d2d6c92f603d3b315f5 dietlibc-0.33.tar.bz2" -sha512sums="3e4cc8d9987a497adb2f777cbd578aa46a44f786a6ed86b0e2489d1f72ffd915920828b3dfb46d62d25f4b6a1cc2cbf7cc806ca0fe56ebc1af49152f5d4950a3 dietlibc-0.33.tar.bz2" diff --git a/unmaintained/diffstat/APKBUILD b/unmaintained/diffstat/APKBUILD deleted file mode 100644 index 97c7a0a6049..00000000000 --- a/unmaintained/diffstat/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Leszek Cimała <ernierasta@zori.cz> -# Maintainer: -pkgname=diffstat -pkgver=1.64 -pkgrel=0 -pkgdesc="read the output of diff and displays a histogram of the insertions, deletions, and modifications per-file" -url="https://invisible-island.net/diffstat" -arch="" # No tagged release archive -license="MIT" -subpackages="$pkgname-doc" -source="https://invisible-island.net/datafiles/release/diffstat.tar.gz" - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - make check -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="d647477beb49b0999c5de41d084da827528571c4848f40c69c2d64d060fc89848d15d03d59b1a31d79f02180f81d92cdf6e19d0172482bc569cf2a87476f12cf diffstat.tar.gz" diff --git a/unmaintained/dovecot-antispam-plugin/APKBUILD b/unmaintained/dovecot-antispam-plugin/APKBUILD deleted file mode 100644 index c0537617549..00000000000 --- a/unmaintained/dovecot-antispam-plugin/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Kozak Ivan <kozak-iv@yandex.ru> -# Maintainer: Kozak Ivan <kozak-iv@yandex.ru> -pkgname=dovecot-antispam-plugin -pkgver=51 -pkgrel=2 -pkgdesc="Integrates DSPAM into dovecot IMAP server. Mercurial Version for dovecot >= 2.1" -url="http://hg.dovecot.org/dovecot-antispam-plugin/" -arch="all" -license="GPL" -depends="dovecot" -depends_dev="dovecot-dev mercurial autoconf automake gawk" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="" - -_hgroot="http://hg.dovecot.org/dovecot-antispam-plugin" -_hgrepo="dovecot-antispam-plugin" -_builddir="$srcdir/$_hgrepo" - -prepare() { - cd "$srcdir" - msg "Connecting to Mercurial server..." - if [ -d "$_hgrepo" ]; then - cd "$_hgrepo" - hg pull -r 51 -u - msg "The local files are updated." - else - hg clone -r 51 "$_hgroot" "$_hgrepo" - fi - update_config_guess || return 1 -} - -build() { - cd "$_builddir" - ./autogen.sh || return 1 - ./configure --prefix=/usr --with-dovecot=/usr/lib/dovecot || return 1 - sed -i -e 's/install -o/install -D -o/' -e 's|$(INSTALLDIR)/|$(INSTALLDIR)/$(LIBRARY_NAME)|' Makefile || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - diff --git a/unmaintained/dscanner/APKBUILD b/unmaintained/dscanner/APKBUILD deleted file mode 100644 index 220dcf80804..00000000000 --- a/unmaintained/dscanner/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=dscanner -pkgver=0.9.0 -pkgrel=2 -pkgdesc="Swiss-army knife for D source code" -url="https://github.com/dlang-community/D-Scanner" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="dcontainers-dev dsymbol-dev libdparse-dev stdx-allocator-dev - libddoc-dev inifiled-dev ldc ldc-runtime bash" -options="!check" # need static libs -source="https://github.com/dlang-community/D-Scanner/archive/v$pkgver/dscanner-$pkgver.tar.gz" -builddir="$srcdir/D-Scanner-$pkgver" - -prepare() { - default_prepare - - # Work around makefile calling git describe --tags - cat > ver.sh <<EOF -#!/bin/sh -echo "$pkgver" -EOF - chmod +x ver.sh -} - -build() { - # Use system libraries - export DFLAGS="$DFLAGS -Os $(pkg-config --cflags dcontainers dsymbol dparse stdx-allocator) -I/usr/include/d/inifiled/inifiled -I/usr/include/d/ddoc $(pkg-config --libs dcontainers dsymbol dparse stdx-allocator | sed -r 's|-l([A-Za-z]+)|-L=-l\1|g') -L=-lddoc -L=-linifiled" - make DC=ldc2 GIT="$builddir"/ver.sh ldc -} - -package() { - install -Dm755 bin/dscanner "$pkgdir"/usr/bin/dscanner -} - -sha512sums="4d2564590a48231d4c1dd8a4126d5b640bd83e90e7189ceac33c2727f981f690e94079411f7f3cbb727be780069cebeacdd38fa6b78b4516cec4e23a8eb12aff dscanner-0.9.0.tar.gz" diff --git a/unmaintained/dspam/APKBUILD b/unmaintained/dspam/APKBUILD deleted file mode 100644 index b40db9b20f2..00000000000 --- a/unmaintained/dspam/APKBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# Contributor: Łukasz Jendrysik <scadu@yandex.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=dspam -pkgver=3.10.2 -_ver=$pkgver -pkgrel=6 -pkgdesc="A statistical-algorithmic hybrid anti-spam filter" -url="http://dspam.nuclearelephant.com/" -pkgusers="dspam" -pkggroups="dspam" -arch="all" -license="GPL-2.0" -depends= -install="$pkgname.pre-install" -makedepends="postgresql-dev sqlite-dev mariadb-dev autoconf automake libtool" -subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-mysql - $pkgname-sqlite" - -install= #dspam.install -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$_ver.tar.gz - dspam.logrotate - dspam.initd - musl-fixes.patch" - -builddir="$srcdir/$pkgname-$_ver" - -prepare() { - cd "$builddir" - update_config_guess || return 1 - default_prepare || return 1 - #aclocal -I m4 && libtoolize && autoconf && automake -} - -build() { - cd "$builddir" - ./autogen.sh || return 1 - ./configure --prefix=/usr \ - --sysconfdir=/etc/dspam \ - --with-dspam-home=/var/lib/dspam \ - --enable-virtual-users \ - --enable-preferences-extension \ - --enable-daemon \ - --with-storage-driver="hash_drv,sqlite3_drv,pgsql_drv,mysql_drv" \ - --with-mysql-includes=/usr/include/mysql \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$builddir" - make install DESTDIR="$pkgdir" - install -Dm755 "$srcdir"/dspam.initd "$pkgdir"/etc/init.d/dspam - install -Dm644 "$srcdir"/dspam.logrotate "$pkgdir"/etc/logrotate.d/dspam -} - -pgsql() { - pkgdesc="dspam postgresql driver" - install -d "$subpkgdir"/usr/lib/dspam - mv "$pkgdir"/usr/lib/dspam/*pgsql* "$subpkgdir"/usr/lib/dspam/ -} - -mysql() { - pkgdesc="dspam mysql driver" - install -d "$subpkgdir"/usr/lib/dspam - mv "$pkgdir"/usr/lib/dspam/*mysql* "$subpkgdir"/usr/lib/dspam/ -} - -sqlite() { - pkgdesc="dspam sqlite driver" - install -d "$subpkgdir"/usr/lib/dspam - mv "$pkgdir"/usr/lib/dspam/*sqlite* "$subpkgdir"/usr/lib/dspam/ -} - -md5sums="0e0e405d3284485b2a43f47eaf6b09bb dspam-3.10.2.tar.gz -a798e9a6e2d5c30724f84d004bb96339 dspam.logrotate -7d1fb0820f4a23f593f22186ef77d02a dspam.initd -5e77c0fd2fe8b4bfbdb5d7927835d73a musl-fixes.patch" -sha256sums="ae76569604021f35b741fb95198a1e611a8c64c3838661973a6cf360bba593a9 dspam-3.10.2.tar.gz -dd5bce638b92936e02ff02faf781cbf903faac7b73c61c1c666eb06cfb56bfac dspam.logrotate -8fb3ae6a04f59798bc919e6a967015733e28fe0d52e7cbc6e7aa0dbe110edf4d dspam.initd -ecd01cd869c44507d22f4b4d4804cf2053d5679e7a6f5a71159fc80a91da53b9 musl-fixes.patch" -sha512sums="5fe53e1d0d7cabb3983f5c67274b074b7c647c1bae10ebc7ea3805542f99dbfb39abd4697e344e6eb80554522319a1253e1082ed6b389364bbaec1d6ddd43856 dspam-3.10.2.tar.gz -b0e288f36f0aa2be48c9917bcfca39148df2682cb6bea88192c46dfa6e33226613bf2b5d7b977f2948a43c6932837e186949a99dece34431fac6e9b678f00da5 dspam.logrotate -59177cbb3a42ed4f003a643239433d990c36e7531b6bae5841ac19164548a9ad0054be3d0b0ca5540af05b9a901a8d9f0b2b965d9969fee6779b81ac35b19262 dspam.initd -4c600cccd6601db6c738a940d6309ee621e98d678a000614f4d4927c10a80528c642a32ae5a453d35c2679debacb04af6ca60d1c569d72751acc44e75446245a musl-fixes.patch" diff --git a/unmaintained/dspam/dspam.initd b/unmaintained/dspam/dspam.initd deleted file mode 100644 index d91fefeb890..00000000000 --- a/unmaintained/dspam/dspam.initd +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/files/dspam.rc,v 1.1 2005/03/21 00:10:30 st_lim Exp $ - -conf=/etc/dspam/dspam.conf - -depend() { - use logger - need net - before mta - after pg_autovacuum postgresql mysql -} - -checkconfig() { - if [ ! -f "$conf" ] - then - eerror "You need a DSPAM configuration in $conf" - return 1 - fi - if (! grep -q "^ServerPID" $conf); then - eerror "ServerPID missing in DSPAM configuration $conf" - return 1 - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting DSPAM" - start-stop-daemon --start --quiet --background \ - --exec /usr/bin/dspam -- --daemon - eend ${?} -} - -stop() { - checkconfig || return 1 - - local DSPAM_PID="$(grep "^ServerPID" $conf)" - DSPAM_PID="${DSPAM_PID/ServerPID/}" - - ebegin "Stopping DSPAM" - start-stop-daemon --stop --quiet --pidfile ${DSPAM_PID} - eend ${?} -} - diff --git a/unmaintained/dspam/dspam.logrotate b/unmaintained/dspam/dspam.logrotate deleted file mode 100644 index 1fb3e04ccbe..00000000000 --- a/unmaintained/dspam/dspam.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/dspam/sql.errors /var/log/dspam/dspam.log /var/log/dspam/dspam.debug /var/log/dspam/dspam.messages { - weekly - compress - missingok - copytruncate -} diff --git a/unmaintained/dspam/dspam.pre-install b/unmaintained/dspam/dspam.pre-install deleted file mode 100644 index 8cffce83a30..00000000000 --- a/unmaintained/dspam/dspam.pre-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -addgroup -S dspam 2>/dev/null -adduser -S -D -h /var/lib/dspam -s /bin/false -G dspam -g dspam dspam 2>/dev/null -chown dspam:dspam /var/lib/dspam - -exit 0 diff --git a/unmaintained/dspam/musl-fixes.patch b/unmaintained/dspam/musl-fixes.patch deleted file mode 100644 index 23c2adf3b8b..00000000000 --- a/unmaintained/dspam/musl-fixes.patch +++ /dev/null @@ -1,124 +0,0 @@ ---- a/src/libdspam.h.orig -+++ b/src/libdspam.h -@@ -51,10 +51,10 @@ - int libdspam_shutdown(void); - - DSPAM_CTX * dspam_init (const char *username, const char *group, -- const char *home, int operating_mode, u_int32_t flags); -+ const char *home, int operating_mode, uint32_t flags); - - DSPAM_CTX * dspam_create (const char *username, const char *group, -- const char *home, int operating_mode, u_int32_t flags); -+ const char *home, int operating_mode, uint32_t flags); - - int dspam_attach (DSPAM_CTX *CTX, void *dbh); - int dspam_detach (DSPAM_CTX *CTX); ---- a/src/libdspam_objects.h.orig -+++ b/src/libdspam_objects.h -@@ -31,17 +31,17 @@ - #include "config_shared.h" - #include "decode.h" - --#if ((defined(__sun__) && defined(__svr4__)) || (defined(__sun) && defined(__SUNPRO_C))) && !defined(u_int32_t) && !defined(__BIT_TYPES_DEFINED__) -+#if ((defined(__sun__) && defined(__svr4__)) || (defined(__sun) && defined(__SUNPRO_C))) && !defined(uint32_t) && !defined(__BIT_TYPES_DEFINED__) - #define __BIT_TYPES_DEFINED__ - typedef unsigned long long u_int64_t; --typedef unsigned int u_int32_t; -+typedef unsigned int uint32_t; - typedef unsigned short u_int16_t; - typedef unsigned char u_int8_t; - #endif - - #ifdef _WIN32 --typedef unsigned int u_int32_t; --typedef u_int32_t uid_t; -+typedef unsigned int uint32_t; -+typedef uint32_t uid_t; - #endif - - extern void *_drv_handle; /* Handle to storage driver library */ -@@ -312,8 +312,8 @@ - int source; /* DSS_ */ - int learned; /* Did we actually learn something? */ - int tokenizer; /* DSZ_ */ -- u_int32_t flags; -- u_int32_t algorithms; -+ uint32_t flags; -+ uint32_t algorithms; - - int result; - char class[32]; ---- a/src/tokenizer.c.orig -+++ b/src/tokenizer.c -@@ -524,7 +524,7 @@ - const char *heading, const char *bitpattern) - { - int i, t, keylen, breadth; -- u_int32_t mask; -+ uint32_t mask; - unsigned long long crc; - char key[256]; - int active = 0, top, tokenizer = CTX->tokenizer; -@@ -550,7 +550,7 @@ - breadth = _ds_pow2(active); - - /* Iterate and generate all keys necessary */ -- for (mask=0; mask < (u_int32_t)breadth; mask++) { -+ for (mask=0; mask < (uint32_t)breadth; mask++) { - int terms = 0; - - key[0] = 0; -@@ -633,7 +633,7 @@ - unsigned long long crc; - char key[256]; - int active = 0; -- u_int32_t mask; -+ uint32_t mask; - - /* Shift all previous tokens up */ - for(i=0;i<SPARSE_WINDOW_SIZE-1;i++) { -@@ -650,7 +650,7 @@ - - /* Iterate and generate all keys necessary */ - -- for(mask=0;mask < (u_int32_t)breadth;mask++) { -+ for(mask=0;mask < (uint32_t)breadth;mask++) { - int terms = 0; - t = 0; - -@@ -960,13 +960,13 @@ - - char *_ds_generate_bitpattern(int breadth) { - char *bitpattern; -- u_int32_t mask; -+ uint32_t mask; - unsigned long exp; - int i; - - bitpattern = malloc(SPARSE_WINDOW_SIZE * breadth); - -- for(mask=0;mask<(u_int32_t)breadth;mask++) { -+ for(mask=0;mask<(uint32_t)breadth;mask++) { - for(i=0;i<SPARSE_WINDOW_SIZE;i++) { - exp = (i) ? _ds_pow2(i) : 1; - /* Reverse pos = SPARSE_WINDOW_SIZE - (i+1); */ ---- a/src/libdspam.c.orig -+++ b/src/libdspam.c -@@ -122,7 +122,7 @@ - const char *group, - const char *home, - int operating_mode, -- u_int32_t flags) -+ uint32_t flags) - { - DSPAM_CTX *CTX = dspam_create(username, group, home, operating_mode, flags); - -@@ -159,7 +159,7 @@ - const char *group, - const char *home, - int operating_mode, -- u_int32_t flags) -+ uint32_t flags) - { - DSPAM_CTX *CTX; - diff --git a/unmaintained/dstat/APKBUILD b/unmaintained/dstat/APKBUILD deleted file mode 100644 index 754840c2585..00000000000 --- a/unmaintained/dstat/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: -pkgname=dstat -pkgver=0.7.3 -pkgrel=0 -pkgdesc="A versatile resource statistics tool" -url="http://dag.wieers.com/home-made/dstat/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python2" -depends_dev="python2-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/dagwieers/${pkgname}/archive/${pkgver}.tar.gz" - -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - make || return 1 - return 0 -} - -package() { - cd "$builddir" - make DESTDIR=$pkgdir install || return 1 -} - -md5sums="be27c905e6737993306dbbcee735e8ad dstat-0.7.3.tar.gz" -sha256sums="46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898 dstat-0.7.3.tar.gz" -sha512sums="db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2 dstat-0.7.3.tar.gz" diff --git a/unmaintained/dsymbol/APKBUILD b/unmaintained/dsymbol/APKBUILD deleted file mode 100644 index 0a3e5b16346..00000000000 --- a/unmaintained/dsymbol/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=dsymbol -pkgver=0.10.0 -pkgrel=2 -pkgdesc="Basic symbol lookup/resolution for libdparse" -url="https://github.com/dlang-community/dsymbol" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="meson ldc ldc-runtime stdx-allocator-dev libdparse-dev dcontainers-dev" -subpackages="$pkgname-dev" -source="https://github.com/dlang-community/dsymbol/archive/v$pkgver/dsymbol-$pkgver.tar.gz" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="e421f3e4b35ad4ae585a8ac7d3f227494c1457326889fc982406bec4b30edfd9c0b69f35cbbb0bcba7a6382bc5c9414a86802104c43a606e3cb9572a56b549fa dsymbol-0.10.0.tar.gz" diff --git a/unmaintained/dxvk/APKBUILD b/unmaintained/dxvk/APKBUILD deleted file mode 100644 index 187b8bb16ce..00000000000 --- a/unmaintained/dxvk/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Contributor: Nicolas Lorin <androw95220@gmail.com> -# Maintainer: -pkgname=dxvk -pkgver=1.10.1 -pkgrel=0 -pkgdesc="Vulkan-based compatibility layer for Direct3D 10/11" -options="!check" -url="https://github.com/doitsujin/dxvk" -arch="x86_64 x86" -license="Zlib" -depends="bash wine" -makedepends=" - meson - glslang-dev - mingw-w64-gcc - wine-dev - vulkan-loader - " -source="$pkgname-$pkgver.tar.gz::https://github.com/doitsujin/dxvk/archive/v$pkgver.tar.gz" - -case "$CARCH" in - x86_64) - _outdir=build/x64 - _crossfile=build-win64.txt - _prefix=/usr/share/dxvk/x64 - ;; - x86) - _outdir=build/x32 - _crossfile=build-win32.txt - _prefix=/usr/share/dxvk/x32 - ;; -esac - -build() { - abuild-meson \ - --cross-file=$_crossfile \ - --prefix=$_prefix \ - --bindir="" \ - --libdir="" \ - --datadir="" \ - --includedir="" \ - --infodir="" \ - --libexecdir="" \ - --localedir="" \ - --mandir="" \ - --sbindir="" \ - -Denable_tests=false \ - $_outdir - meson compile ${JOBS:+-j ${JOBS}} -C $_outdir -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C $_outdir - install -Dm644 setup_dxvk.sh "$pkgdir"/usr/share/dxvk/setup_dxvk.sh - mkdir -p "$pkgdir"/usr/bin - ln -s /usr/share/dxvk/setup_dxvk.sh "$pkgdir"/usr/bin/setup_dxvk - chmod +x "$pkgdir"/usr/share/dxvk/setup_dxvk.sh -} -sha512sums=" -8fd34d9f14a7013cdc1957f63bf60feb19748fddc1cd6ec40cf271005f636de62965efb42ddf2598dad3e37a4f59a870bf769387b2534db93451d1ea6aa65410 dxvk-1.10.1.tar.gz -" diff --git a/unmaintained/email2trac/APKBUILD b/unmaintained/email2trac/APKBUILD deleted file mode 100644 index fe109933f9b..00000000000 --- a/unmaintained/email2trac/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=email2trac -pkgver=2.12.2 -pkgrel=1 -pkgdesc="Utilities for converting emails to trac tickets" -url="https://oss.trac.surfsara.nl/email2trac" -arch="" # Requires trac which is in unmaintained because it requires python2 -license="GPL-2.0-or-later" -depends="trac" -makedepends="python3" -source="https://ftp.sara.nl/pub/outgoing/email2trac-$pkgver.tar.gz" -options="!check suid" # no testsuite - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --with-trac_user=tracd \ - PYTHON=python3 - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="15b14d436f28092f0a9c3ecc0be0197d54085710b6cd651505168e14bf3c002ce4e218bdf2725a09c7caa2a1f72c83b24daf193eddc52658c8510e25c65a7c1b email2trac-2.12.2.tar.gz" diff --git a/unmaintained/emscripten-fastcomp/APKBUILD b/unmaintained/emscripten-fastcomp/APKBUILD deleted file mode 100644 index b95eef2a87d..00000000000 --- a/unmaintained/emscripten-fastcomp/APKBUILD +++ /dev/null @@ -1,81 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> - -# NOTE: This is a fork of LLVM project needed for emscripten. It provides -# JSBackend and WebAssembly, these will be hopefully someday merged into -# upstream LLVM. -# TODO: Remove unneeded binaries. -pkgname=emscripten-fastcomp -# Keep in sync with package emscripten! -pkgver=1.40.1 -pkgrel=1 -pkgdesc="The Clang + LLVM backend for Emscripten" -url="https://emscripten.org/" -# riscv64 is not supported upstream -arch="all !riscv64" -license="NCSA" -depends="python3" -makedepends="cmake zlib-dev" -source="emscripten-fastcomp-$pkgver.tar.gz::https://github.com/emscripten-core/emscripten-fastcomp/archive/$pkgver.tar.gz - emscripten-fastcomp-clang-$pkgver.tar.gz::https://github.com/emscripten-core/emscripten-fastcomp-clang/archive/$pkgver.tar.gz - llvm-fix-build-with-musl-libc.patch - none-build-type.patch - " -options="!check" # some tests are broken, don't bother with it for now - -_prefix="usr/lib/$pkgname" -ldpath="/$_prefix/lib" -# Avoid conflicts in provided so:* names with llvm package. -sonameprefix="$pkgname:" - -prepare() { - ln -sf ../../$pkgname-clang-$pkgver "$builddir"/tools/clang - - default_prepare - - update_config_guess -} - -build() { - case "$CARCH" in - ppc64le) export CXXFLAGS="$CXXFLAGS -U__ALTIVEC__";; - esac - - # XXX: Is it a good idea to omit X86 in LLVM_TARGETS_TO_BUILD? - # https://github.com/kripken/emscripten-fastcomp/issues/174 - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX="/$_prefix" \ - -DCMAKE_VERBOSE_MAKEFILE=NO \ - -DPYTHON_EXECUTABLE=/usr/bin/python3 \ - -DCLANG_BUILD_EXAMPLES=OFF \ - -DCLANG_INCLUDE_TESTS=OFF \ - -DLLVM_BUILD_DOCS=OFF \ - -DLLVM_BUILD_LLVM_DYLIB=ON \ - -DLLVM_BUILD_RUNTIME=OFF \ - -DLLVM_ENABLE_ZLIB=ON \ - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly \ - -DLLVM_HOST_TRIPLE="$CHOST" \ - -DLLVM_INCLUDE_EXAMPLES=OFF \ - -DLLVM_INCLUDE_TESTS=OFF \ - -DLLVM_LINK_LLVM_DYLIB=ON \ - -DLLVM_TARGETS_TO_BUILD=JSBackend - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - cd "$pkgdir"/$_prefix - - # emcc -v expects this file to exist. - cp "$builddir"/emscripten-version.txt . - - # Remove unneeded files and clutter. - rm -r include libexec share lib/clang lib/cmake - rm lib/*.a bin/*-test -} - -sha512sums="569ed4b253db8b8305e93a0e3e3db18e64f7ad55da228b29a632290479c516aa8df6e20b8f695bbdcfdde14ba7be0c4fa27e54c5b1ded3a6cef0d59b3f1cb0d0 emscripten-fastcomp-1.40.1.tar.gz -f9abae060ebb391d1dd4f3b478cd2214318e333c820a5aca89fcf3bc30bd9903bd56d861c4c60d806ec6539fd340372f686e56d0750ddb06c54802a41b5b4ed7 emscripten-fastcomp-clang-1.40.1.tar.gz -49e9a3ddf9b1c881c70af4b5c6c99d087733453610f7b2733f91733e92b6097a2f427e496a1374f0f051b8429465de5f1f47d2e08239dca721b59333fc842925 llvm-fix-build-with-musl-libc.patch -b0d692ae595ea72cf6950b7d152c83a301c2f24178ec800a5e9c365961c78067512d0cdedb129fa0e528217a63d861daf6b9e2105d0309f65d3936a779a79144 none-build-type.patch" diff --git a/unmaintained/emscripten-fastcomp/llvm-fix-build-with-musl-libc.patch b/unmaintained/emscripten-fastcomp/llvm-fix-build-with-musl-libc.patch deleted file mode 100644 index 475f04e7130..00000000000 --- a/unmaintained/emscripten-fastcomp/llvm-fix-build-with-musl-libc.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 5c571082fdaf61f6df19d9b7137dc26d71334058 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Thu, 18 Feb 2016 10:33:04 +0100 -Subject: [PATCH 2/3] Fix build with musl libc - -On musl libc the fopen64 and fopen are the same thing, but for -compatibility they have a `#define fopen64 fopen`. Same applies for -fseek64, fstat64, fstatvfs64, ftello64, lstat64, stat64 and tmpfile64. ---- - include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/include/llvm/Analysis/TargetLibraryInfo.h b/include/llvm/Analysis/TargetLibraryInfo.h -index 7becdf0..7f14427 100644 ---- a/include/llvm/Analysis/TargetLibraryInfo.h -+++ b/include/llvm/Analysis/TargetLibraryInfo.h -@@ -19,6 +19,26 @@ - #include "llvm/IR/PassManager.h" - #include "llvm/Pass.h" - -+#undef fopen64 -+#undef fseeko64 -+#undef fstat64 -+#undef fstatvfs64 -+#undef ftello64 -+#undef lstat64 -+#undef stat64 -+#undef tmpfile64 -+#undef F_GETLK64 -+#undef F_SETLK64 -+#undef F_SETLKW64 -+#undef flock64 -+#undef open64 -+#undef openat64 -+#undef creat64 -+#undef lockf64 -+#undef posix_fadvise64 -+#undef posix_fallocate64 -+#undef off64_t -+ - namespace llvm { - template <typename T> class ArrayRef; - diff --git a/unmaintained/emscripten-fastcomp/none-build-type.patch b/unmaintained/emscripten-fastcomp/none-build-type.patch deleted file mode 100644 index 14f10b223f7..00000000000 --- a/unmaintained/emscripten-fastcomp/none-build-type.patch +++ /dev/null @@ -1,15 +0,0 @@ -The build system includes its one check for available CMake build types. -This check is incorrect as it doesn't include the None build type. - -diff -upr emscripten-fastcomp-1.39.0.orig/CMakeLists.txt emscripten-fastcomp-1.39.0/CMakeLists.txt ---- emscripten-fastcomp-1.39.0.orig/CMakeLists.txt 2020-02-22 00:06:01.828125245 +0100 -+++ emscripten-fastcomp-1.39.0/CMakeLists.txt 2020-02-22 00:06:29.265827242 +0100 -@@ -267,7 +267,7 @@ endif() - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) - - if (CMAKE_BUILD_TYPE AND -- NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$") -+ NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(NONE|DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$") - message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") - endif() - diff --git a/unmaintained/emscripten/APKBUILD b/unmaintained/emscripten/APKBUILD deleted file mode 100644 index 2d8555f6a1d..00000000000 --- a/unmaintained/emscripten/APKBUILD +++ /dev/null @@ -1,189 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> - -# Note: This software is total mess and it seems to be nearly impossible to -# create a clean distribution package. -pkgname=emscripten -# Keep with sync with pkg emscrypten-fastcomp! -pkgver=1.39.0 -pkgrel=2 -pkgdesc="An LLVM-to-JavaScript Compiler" -url="https://emscripten.org/" -arch="" # Test failures -license="MIT UOI-NCSA" -depends="$pkgname-optimizer>=$pkgver emscripten-fastcomp>=$pkgver - nodejs python3 node-closurecompiler-externs" -makedepends="binaryen clang cmake" -checkdepends="closure-compiler" -subpackages="$pkgname-optimizer - $pkgname-libs-asmjs:libs_asmjs:noarch - $pkgname-libs-wasm:libs_wasm:noarch" -source="emscripten-$pkgver.tar.gz::https://github.com/emscripten-core/emscripten/archive/$pkgver.tar.gz - fix-python-shebang.patch - settings_template-paths.patch - add-system-level-config.patch - move-emcc-txt.patch - binaryen-wasm-js-path.patch - closurecompiler-externs-path.patch - closurecompiler-language_in-es6.patch - embuilder-fix-task-all-for-wasm.patch - embuilder-omit-provided.patch - add-global-cache.patch - emscripten.cfg" - -_ports="Bullet-version_1:bullet - FreeType-version_1:freetype - libpng-version_1:libpng - Ogg-version_1:ogg - SDL2-version_13:sdl2 - SDL2_image-version_3:sdl2-image - SDL2_net-version_2:sdl2-net - SDL2_ttf-version_1:sdl2-ttf - Vorbis-version_1:vorbis - zlib-version_1:zlib - " -for _port in $_ports; do - _port=${_port%:*} - source="$source $pkgname-port-$_port-zip::https://github.com/emscripten-ports/${_port%-*}/archive/${_port##*-}.zip" -done - -export EM_CACHE="$srcdir/cache" -export EM_CONFIG="$srcdir/.emscripten" -export EM_PORTS="$srcdir/ports" - -prepare() { - default_prepare - - # This file is read from emcc.py for --help. - cp site/build/text/docs/tools_reference/emcc.txt . - - sed -e "s|/usr/share/emscripten|$builddir|" \ - -e "s|/usr/bin/emoptimizer|$builddir/tools/optimizer/optimizer|" \ - "$srcdir"/emscripten.cfg > "$EM_CONFIG" - - # Symlink fetched ports to the directory where emscripten can find them. - mkdir -p "$EM_PORTS" - local port; for port in $_ports; do - ln -s "$srcdir"/$pkgname-port-${port%:*}-zip "$EM_PORTS"/${port#*:}.zip - done - - # Backup and patch system_libs.py to block fetching ports from internet. - cp tools/system_libs.py tools/system_libs.py.orig - sed -Ei 's/^(\s+).*\.urlopen\(.*/\1logging.error("fetching disabled in abuild"); exit(1)/' \ - tools/system_libs.py -} - -build() { - cd "$builddir"/tools/optimizer - - msg "Building optimizer..." - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_VERBOSE_MAKEFILE=ON - make - - cd "$builddir" - - msg "Building libraries and ports for asm.js..." - ./embuilder.py build ALL - - msg "Building libraries and ports for WebAssembly..." - EMCC_WASM_BACKEND=1 ./embuilder.py build ALL -} - -check() { - cd "$builddir"/tests - - rm -f hello_world.js* - ../emcc -Os --closure 1 -o hello_world.js hello_world.c - node hello_world.js -} - -package() { - local destdir="$pkgdir/usr/share/$pkgname" - local name - - mkdir -p "$destdir" - cp -r "$builddir"/* "$destdir"/ - - cd "$destdir" - - # Revert original file without connection blocking. - mv tools/system_libs.py.orig tools/system_libs.py - - find . -name "*.bat" -delete - find . -name "*.pyc" -delete # these contain wrong absolute path - rm -r docs # there are only few PDFs and TeX sources - rm -r media # media for website - rm -r site # a website (?) - rm -r tests # looks more like a dump of random sources than decent tests - rm -r third_party # bundled stuff - rm -r tools/optimizer # we've already built it - rm AUTHORS LICENSE ./*.md ./*.markdown package.json - rm system/lib/build_cxx_natively.sh tools/update_libc_symbols.sh # garbage - - mkdir -p "$pkgdir"/usr/bin - for name in em++ em-config emar embuilder.py emcc emcmake \ - emconfigure emlink.py emmake emrun emscons - do - ln -s ../share/$pkgname/$name "$pkgdir"/usr/bin/$name - done - - install -D -m 644 "$srcdir"/emscripten.cfg "$pkgdir"/etc/emscripten.cfg - - mkdir cache # this directory should not exist yet! - install -m 644 "$EM_CACHE"/is_vanilla.txt cache/ -} - -optimizer() { - pkgdesc="Emscripten's optimizer for asm.js code" - depends="" - - install -D -m 755 "$builddir"/tools/optimizer/optimizer \ - "$subpkgdir"/usr/bin/emoptimizer -} - -libs_asmjs() { - pkgdesc="Prebuilt libraries and ports for Emscripten - asm.js" - depends="$pkgname=$pkgver-r$pkgrel" - local destdir="$subpkgdir/usr/share/$pkgname/cache/asmjs" - - mkdir -p "$destdir" - cp -r "$EM_CACHE"/asmjs/*.bc "$destdir"/ -} - -libs_wasm() { - pkgdesc="Prebuilt libraries and ports for Emscripten - WebAssembly" - depends="$pkgname=$pkgver-r$pkgrel" - local destdir="$subpkgdir/usr/share/$pkgname/cache/wasm" - - mkdir -p "$destdir" - cp -r "$EM_CACHE"/wasm/*.bc "$destdir"/ -} - -sha512sums="29cafab7b880e7919c650e41e1fc04b75cc8325c6d10e425ecd1249326c46ce1d4ab0feaa8990e7f9fcdf78573d656b5cebecd6f8c4c8a38a949023930470c8d emscripten-1.39.0.tar.gz -a61e172ced6b72adb53a840255a9753905a0c7a1c9f8965345781b9cdcc8a596c4dc88f036e91bd5c05d8b3eb2908bbb7d991c4e1abcf35a46be67b9765e546a fix-python-shebang.patch -f190ea32dcd4af2661f455ffd8773cb0f7b30ba4a96d22609e11af7186ed1a5c230f3c379d717f23213e87143bb5601acc4d75799631854d0312ff308cbcc14b settings_template-paths.patch -10a7a545f468a5f71fdf1cca0e0be983db5d21387202b851bd11f811c2a0a74f4e4c8733ae9ff933df4ea49c3f5e8e4e16fc3651bc98bb8c37a0828bb29eca7e add-system-level-config.patch -6613ef4cf41bcf0ecc13a0415cdc847f4ec112f07dd19573000ea6a9a6f2360aee6b2db01f822d117d5022dc58b2421be89fe3421c46fd6857737d07ce489c1e move-emcc-txt.patch -a2a2c9b56e8d655b06fdbac2e297e07a0bbcdc3e3df7c913b5caac8ddf20f66b91ed77ac46275adcf8e92baedb5a50cb554c8f3fa59823e17006e17d8d11e820 binaryen-wasm-js-path.patch -1d699aa0ab4b257d58c30ebefd6fbce9a74df964c37f360dcbcaaa6e6c6f4bc8e3f706f32e5855fb6e307d099c7eaca47d07d12a52c83caab43b268fccb606ef closurecompiler-externs-path.patch -5b63f42e4934c7c6d5eedb9e46636a488bc0723618dd0b5d5b720d58cf9d1f6a6e6a768fe1ce1188f86bbb931b6881dfdfc36f8c0584775cb66a9d9e8a2cbb9a closurecompiler-language_in-es6.patch -53bb9b64222dd445e8aefbb5a4b87bc6d562ea578a6f7a04c2605703f0235633583144fe478031e650a7346ba89f6e0aaf6c435aedb8398131fa02940356bc17 embuilder-fix-task-all-for-wasm.patch -3d2fb817ea3e1dd661900df1e27bd135f39076723494b7ffbbe9e1561ae0a0e62a4ed0058301cf3e6b9a13f75adafe58dc902d4a32ade2cb16754a7fd5e542af embuilder-omit-provided.patch -8d02f598df12ecbebab151a9d9e6972164bddf4da586e5a3070f2a5b35248b622a663a513295c1bf79fcf13523940ea5e47f8ab1def86e28b260dba8bfef7bac add-global-cache.patch -42142064f828c39fbeb04e65c13c0eae8d843ee8541e67db361086b2d44ad896604d561220363f71aa8aa9f07ae6c285a39f49d9078f5a56e022879ed987c020 emscripten.cfg -3922486816cf7d99ee02c3c1ef63d94290e8ed304016dd9927137d04206e7674d9df8773a4abb7bb57783d0a5107ad0f893aa87acfb34f7b316eec22ca55a536 emscripten-port-Bullet-version_1-zip -0d0b1280ba0501ad0a23cf1daa1f86821c722218b59432734d3087a89acd22aabd5c3e5e1269700dcd41e87073046e906060f167c032eb91a3ac8c5808a02783 emscripten-port-FreeType-version_1-zip -a19ede8a4339f2745a490c22f3893899e1a5eae9d2b270e49d88d3a85239fbbaa26c9a352d0e6fb8bb69b4f45bd00c1ae9eff29b60cf03e79c5df45a4409992f emscripten-port-libpng-version_1-zip -929e8d6003c06ae09593021b83323c8f1f54532b67b8ba189f4aedce52c25dc182bac474de5392c46ad5b0dea5a24928e4ede1492d52f4dd5cd58eea9be4dba7 emscripten-port-Ogg-version_1-zip -e7cbcafc1398c337814caa4b91692989d65ed5ffdd8ff1bebb9673a566bba6c16f1e3b72abefaff4b3e390b6571eba678e9ea197cdfd14641648b5282688ef50 emscripten-port-SDL2-version_13-zip -785d6f636b5124dbfc65841fcd5c75df42c8186cb85e5c977e6e321317f0381a7690125a78e6687da1081b1ce6c876040d04083e770e2c8b28e7c2e776287555 emscripten-port-SDL2_image-version_3-zip -317b22ad9b6b2f7b40fac7b7c426da2fa2da1803bbe58d480631f1e5b190d730763f2768c77c72affa806c69a1e703f401b15a1be3ec611cd259950d5ebc3711 emscripten-port-SDL2_net-version_2-zip -6ce426de0411ba51dd307027c4ef00ff3de4ee396018e524265970039132ab20adb29c2d2e61576c393056374f03fd148dd96f0c4abf8dcee51853dd32f0778f emscripten-port-SDL2_ttf-version_1-zip -99bee75beb662f8520bbb18ad6dbf8590d30eb3a7360899f0ac4764ca72fe8013da37c9df21e525f9d2dc5632827d4b4cea558cbc938e7fbed0c41a29a7a2dc5 emscripten-port-Vorbis-version_1-zip -77f7d8f18fe11bb66a57e358325b7422d721f7b506bd63293cfde74079f958864db66ead5a36c311a76dd8c2b089b7659641a5522de650de0f9e6865782a60dd emscripten-port-zlib-version_1-zip" diff --git a/unmaintained/emscripten/add-global-cache.patch b/unmaintained/emscripten/add-global-cache.patch deleted file mode 100644 index 710d842e474..00000000000 --- a/unmaintained/emscripten/add-global-cache.patch +++ /dev/null @@ -1,33 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Mon, 3 Apr 2017 20:49:00 +0200 -Subject: [PATCH] Add support for global r/o cache of prebuilt libraries - ---- a/tools/cache.py -+++ b/tools/cache.py -@@ -29,9 +29,12 @@ - - if use_subdir: - if os.environ.get('EMCC_WASM_BACKEND') and os.environ.get('EMCC_WASM_BACKEND') != '0': -- dirname = os.path.join(dirname, 'wasm') -+ self.subdir = 'wasm' - else: -- dirname = os.path.join(dirname, 'asmjs') -+ self.subdir = 'asmjs' -+ dirname = os.path.join(dirname, self.subdir) -+ else: -+ self.subdir = '' - self.dirname = dirname - self.debug = debug - -@@ -90,6 +93,11 @@ - if what is None: - if shortname.endswith(('.bc', '.so', '.a')): what = 'system library' - else: what = 'system asset' -+ if shared.GLOBAL_CACHE_DIR and os.getenv('EM_USE_GLOBAL_CACHE') == '1' and not force: -+ path = os.path.join(shared.GLOBAL_CACHE_DIR, self.subdir, shortname) -+ if os.path.exists(path): -+ logging.info('using %s: %s from global cache: %s' % (what, shortname, path)) -+ return path - message = 'generating ' + what + ': ' + shortname + '... (this will be cached in "' + cachename + '" for subsequent builds)' - logging.info(message) - self.ensure() diff --git a/unmaintained/emscripten/add-system-level-config.patch b/unmaintained/emscripten/add-system-level-config.patch deleted file mode 100644 index b57860941cd..00000000000 --- a/unmaintained/emscripten/add-system-level-config.patch +++ /dev/null @@ -1,85 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Wed, 29 Mar 2017 22:02:00 +0200 -Subject: [PATCH] Add system-level config /etc/emscripten.cfg - -If ~/.emscripten does not exist and /etc/emscripten.cfg do exist, then -/etc/emscripten.cfg will be used. - ---- a/emscripten.py -+++ b/emscripten.py -@@ -1791,7 +1791,7 @@ - help='Where to write the output; defaults to stdout.') - parser.add_option('-c', '--compiler', - default=None, -- help='Which JS engine to use to run the compiler; defaults to the one in ~/.emscripten.') -+ help='Which JS engine to use to run the compiler; defaults to the one in ~/.emscripten or /etc/emscripten.cfg.') - parser.add_option('-s', '--setting', - dest='settings', - default=[], - ---- a/tools/file_packager.py -+++ b/tools/file_packager.py -@@ -24,8 +24,8 @@ - it knows that closure is not run. - - --crunch=X Will compress dxt files to crn with quality level X. The crunch commandline tool must be present -- and CRUNCH should be defined in ~/.emscripten that points to it. JS crunch decompressing code will -- be added to convert the crn to dds in the browser. -+ and CRUNCH should be defined in ~/.emscripten or /etc/emscripten.cfg that points to it. JS crunch -+ decompressing code will be added to convert the crn to dds in the browser. - crunch-worker.js will be generated in the current directory. You should include that file when - packaging your site. - DDS files will not be crunched if the .crn is more recent than the .dds. This prevents a lot of ---- a/tools/scons/site_scons/site_tools/emscripten/emscripten.py -+++ b/tools/scons/site_scons/site_tools/emscripten/emscripten.py -@@ -10,6 +10,8 @@ - EM_CONFIG = os.environ.get('EM_CONFIG') - if not EM_CONFIG: - EM_CONFIG = os.path.expanduser('~/.emscripten') -+ if not os.path.exists(EM_CONFIG) and os.path.exists('/etc/emscripten.cfg'): -+ EM_CONFIG = '/etc/emscripten.cfg' - - if emscripten_path is None: - ---- a/tools/shared.py -+++ b/tools/shared.py -@@ -209,7 +209,10 @@ - EM_CONFIG = EM_CONFIG.replace(';', '\n') + '\n' - - if not EM_CONFIG: -- EM_CONFIG = '~/.emscripten' -+ if not os.path.exists(os.path.expanduser('~/.emscripten')) and os.path.exists('/etc/emscripten.cfg'): -+ EM_CONFIG = '/etc/emscripten.cfg' -+ else: -+ EM_CONFIG = '~/.emscripten' - if '\n' in EM_CONFIG: - CONFIG_FILE = None - logging.debug('EM_CONFIG is specified inline without a file') -@@ -271,7 +274,7 @@ - # without a file, this hints to "default" location at ~/.emscripten) - def hint_config_file_location(): - if CONFIG_FILE: return CONFIG_FILE -- else: return '~/.emscripten' -+ else: return '~/.emscripten' if os.path.exists(os.path.expanduser('~/.emscripten')) else '/etc/emscripten.cfg' - - def listify(x): - if type(x) is not list: return [x] -@@ -515,6 +515,8 @@ - sanity_file = CONFIG_FILE + '_sanity' - if get_llvm_target() == WASM_TARGET: - sanity_file += '_wasm' -+ if not os.access(os.path.dirname(sanity_file), os.W_OK): -+ sanity_file = os.path.join('/var/tmp', os.path.basename(sanity_file)) - if os.path.exists(sanity_file): - try: - sanity_mtime = os.stat(sanity_file).st_mtime -@@ -580,7 +580,8 @@ - - if not force: - # Only create/update this file if the sanity check succeeded, i.e., we got here -- f = open(sanity_file, 'w') -+ f = open(sanity_file, 'w+') - f.write(generate_sanity()) -+ os.chmod(sanity_file, 0o666) - f.close() - diff --git a/unmaintained/emscripten/binaryen-wasm-js-path.patch b/unmaintained/emscripten/binaryen-wasm-js-path.patch deleted file mode 100644 index d2c7ab994a0..00000000000 --- a/unmaintained/emscripten/binaryen-wasm-js-path.patch +++ /dev/null @@ -1,40 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Sun, 02 Mar 2017 22:42:00 +0200 -Subject: [PATCH] Allow to specify path to wasm.js - -Add configuration variable BINARYEN_WASM_JS that allows to specify location of -the Binaryen's wasm.js file. - ---- a/emcc.py -+++ b/emcc.py -@@ -1282,6 +1282,11 @@ - shared.Settings.BINARYEN_ROOT = shared.BINARYEN_ROOT - except: - pass -+ if not shared.Settings.BINARYEN_WASM_JS: -+ try: -+ shared.Settings.BINARYEN_WASM_JS = shared.BINARYEN_WASM_JS -+ except: -+ shared.Settings.BINARYEN_WASM_JS = os.path.join(BINARYEN_ROOT, 'bin', 'wasm.js') - # default precise-f32 to on, since it works well in wasm - # also always use f32s when asm.js is not in the picture - if ('PRECISE_F32=0' not in settings_changes and 'PRECISE_F32=2' not in settings_changes) or 'asmjs' not in shared.Settings.BINARYEN_METHOD: -@@ -2110,7 +2115,7 @@ - # BINARYEN_METHOD with something that doesn't use the polyfill, then we don't need it. - if not shared.Settings.BINARYEN_METHOD or 'interpret' in shared.Settings.BINARYEN_METHOD: - logging.debug('integrating wasm.js polyfill interpreter') -- wasm_js = open(os.path.join(binaryen_bin, 'wasm.js')).read() -+ wasm_js = open(shared.Settings.BINARYEN_WASM_JS).read() - wasm_js = wasm_js.replace('EMSCRIPTEN_', 'emscripten_') # do not confuse the markers - js = open(js_target).read() - combined = open(js_target, 'w') ---- a/src/settings.js -+++ b/src/settings.js -@@ -709,6 +709,7 @@ - // required for all but the smallest modules to run in V8 - var BINARYEN_ROOT = ""; // Directory where we can find Binaryen. Will be automatically set for you, - // but you can set it to override if you are a Binaryen developer. -+var BINARYEN_WASM_JS = ""; // Path to the file wasm.js, the Binaryen components compiled to JavaScript. - - var WASM = 0; // Alias for BINARYEN, the two are identical. Both make us compile code to WebAssembly. - diff --git a/unmaintained/emscripten/closurecompiler-externs-path.patch b/unmaintained/emscripten/closurecompiler-externs-path.patch deleted file mode 100644 index d760156c8de..00000000000 --- a/unmaintained/emscripten/closurecompiler-externs-path.patch +++ /dev/null @@ -1,17 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Mon, 4 Apr 2017 19:30:00 +0200 -Subject: [PATCH] Fix path to closurecompiler-externs - -We ship closurecompiler-externs in package node-closurecompiler-externs. - ---- a/tools/shared.py -+++ b/tools/shared.py -@@ -2130,7 +2130,7 @@ - raise Exception('closure compiler check failed') - - CLOSURE_EXTERNS = path_from_root('src', 'closure-externs.js') -- NODE_EXTERNS_BASE = path_from_root('third_party', 'closure-compiler', 'node-externs') -+ NODE_EXTERNS_BASE = '/usr/lib/node_modules/closurecompiler-externs' - NODE_EXTERNS = os.listdir(NODE_EXTERNS_BASE) - NODE_EXTERNS = [os.path.join(NODE_EXTERNS_BASE, name) for name in NODE_EXTERNS - if name.endswith('.js')] diff --git a/unmaintained/emscripten/closurecompiler-language_in-es6.patch b/unmaintained/emscripten/closurecompiler-language_in-es6.patch deleted file mode 100644 index a1820fd3889..00000000000 --- a/unmaintained/emscripten/closurecompiler-language_in-es6.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Mon, 3 Apr 2017 19:39:00 +0200 -Subject: [PATCH] Fix on newer Closure Compiler, change language_in to ES6 - -And also fix name of the compilation_level. - -Upstream-Issue: https://github.com/kripken/emscripten/issues/5109 - ---- a/tools/shared.py -+++ b/tools/shared.py -@@ -2140,8 +2140,8 @@ - args = [JAVA, - '-Xmx' + (os.environ.get('JAVA_HEAP_SIZE') or '1024m'), # if you need a larger Java heap, use this environment variable - '-jar', CLOSURE_COMPILER, -- '--compilation_level', 'ADVANCED_OPTIMIZATIONS', -- '--language_in', 'ECMASCRIPT5', -+ '--compilation_level', 'ADVANCED', -+ '--language_in', 'ECMASCRIPT6', - '--externs', CLOSURE_EXTERNS, - #'--variable_map_output_file', filename + '.vars', - '--js', filename, '--js_output_file', filename + '.cc.js'] diff --git a/unmaintained/emscripten/embuilder-fix-task-all-for-wasm.patch b/unmaintained/emscripten/embuilder-fix-task-all-for-wasm.patch deleted file mode 100644 index 375891e6eb3..00000000000 --- a/unmaintained/emscripten/embuilder-fix-task-all-for-wasm.patch +++ /dev/null @@ -1,35 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Sun, 2 Apr 2017 23:11:41 +0200 -Subject: [PATCH] embuilder: if EMCC_WASM_BACKEND, omit tasks using pthreads - from ALL - -Fixes the following error: - - $ EMCC_WASM_BACKEND=1 ./embuild build ALL - Traceback (most recent call last): - File "emscripten/src/emscripten-1.37.9/emcc", line 13, in <module> - emcc.run() - File "emscripten/src/emscripten-1.37.9/emcc.py", line 1278, in run - assert not shared.Settings.USE_PTHREADS, 'WebAssembly does not support pthreads' - AssertionError: WebAssembly does not support pthreads - -Upstream-Issue: https://github.com/kripken/emscripten/pull/5107 ---- - embuilder.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/embuilder.py b/embuilder.py -index 6674ccd..eaa762a 100755 ---- a/embuilder.py -+++ b/embuilder.py -@@ -84,6 +84,10 @@ def build_port(port_name, lib_name, params): - tasks = sys.argv[2:] - if 'ALL' in tasks: - tasks = ['libc', 'libc-mt', 'dlmalloc', 'dlmalloc_threadsafe', 'pthreads', 'libcxx', 'libcxx_noexcept', 'libcxxabi', 'gl', 'binaryen', 'bullet', 'freetype', 'libpng', 'ogg', 'sdl2', 'sdl2-image', 'sdl2-ttf', 'sdl2-net', 'vorbis', 'zlib'] -+ if os.environ.get('EMCC_WASM_BACKEND') == '1': -+ skip_tasks = {'libc-mt', 'dlmalloc_threadsafe', 'pthreads'} -+ print('Skipping building of %s, because WebAssembly does not support pthreads.' % ', '.join(skip_tasks)) -+ tasks = [x for x in tasks if x not in skip_tasks] - if os.environ.get('EMSCRIPTEN_NATIVE_OPTIMIZER'): - print 'Skipping building of native-optimizer since environment variable EMSCRIPTEN_NATIVE_OPTIMIZER is present and set to point to a prebuilt native optimizer path.' - elif hasattr(shared, 'EMSCRIPTEN_NATIVE_OPTIMIZER'): diff --git a/unmaintained/emscripten/embuilder-omit-provided.patch b/unmaintained/emscripten/embuilder-omit-provided.patch deleted file mode 100644 index 5bdcc26f820..00000000000 --- a/unmaintained/emscripten/embuilder-omit-provided.patch +++ /dev/null @@ -1,67 +0,0 @@ -Remove task for building native_optimizer and binaryen. It's not needed, -because we ship this binary as a package. Also we don't build -emscripten-fastcomp with X86 target, so it can't be used to build this native -binary. - ---- a/embuilder.py -+++ b/embuilder.py -@@ -33,8 +33,6 @@ - libcxx_noexcept - libcxxabi - gl -- native_optimizer -- binaryen - bullet - freetype - libpng -@@ -48,14 +46,10 @@ - - Issuing 'embuilder.py build ALL' causes each task to be built. - --It is also possible to build native_optimizer manually by using CMake. To --do that, run -+Do not use this tool to build native_optimizer manually - it's already -+installed and configured on Alpine Linux. - -- 1. cd $EMSCRIPTEN/tools/optimizer -- 2. cmake . -DCMAKE_BUILD_TYPE=Release -- 3. make (or mingw32-make/vcbuild/msbuild on Windows) -- --and set up the location to the native optimizer in ~/.emscripten -+If you need binaryen, install it with apk: apk add binaryen. - - ''' - sys.exit(0) -@@ -88,12 +82,6 @@ - skip_tasks = {'libc-mt', 'dlmalloc_threadsafe', 'pthreads'} - print('Skipping building of %s, because WebAssembly does not support pthreads.' % ', '.join(skip_tasks)) - tasks = [x for x in tasks if x not in skip_tasks] -- if os.environ.get('EMSCRIPTEN_NATIVE_OPTIMIZER'): -- print 'Skipping building of native-optimizer since environment variable EMSCRIPTEN_NATIVE_OPTIMIZER is present and set to point to a prebuilt native optimizer path.' -- elif hasattr(shared, 'EMSCRIPTEN_NATIVE_OPTIMIZER'): -- print 'Skipping building of native-optimizer since .emscripten config file has set EMSCRIPTEN_NATIVE_OPTIMIZER to point to a prebuilt native optimizer path.' -- else: -- tasks += ['native_optimizer'] - for what in tasks: - shared.logging.info('building and verifying ' + what) - if what in ('libc', 'dlmalloc'): -@@ -146,9 +134,7 @@ - } - ''', ['gl.bc']) - elif what == 'native_optimizer': -- build(''' -- int main() {} -- ''', ['optimizer.2.exe'], ['-O2']) -+ shared.logging.warning('native_optimizer is already installed: /usr/bin/emoptimizer. Skipping build.') - elif what == 'wasm_compiler_rt': - if shared.get_llvm_target() == shared.WASM_TARGET: - build(''' -@@ -177,7 +163,7 @@ - elif what == 'sdl2-ttf': - build_port('sdl2-ttf', 'libsdl2_ttf.bc', ['-s', 'USE_SDL=2', '-s', 'USE_SDL_TTF=2', '-s', 'USE_FREETYPE=1']) - elif what == 'binaryen': -- build_port('binaryen', None, ['-s', 'BINARYEN=1']) -+ shared.logging.warning('Run "apk add binaryen" to install binaryen. Skipping build.') - else: - shared.logging.error('unfamiliar build target: ' + what) - sys.exit(1) diff --git a/unmaintained/emscripten/emscripten.cfg b/unmaintained/emscripten/emscripten.cfg deleted file mode 100644 index 9888ce606c8..00000000000 --- a/unmaintained/emscripten/emscripten.cfg +++ /dev/null @@ -1,21 +0,0 @@ -import os - -EMSCRIPTEN_ROOT = '/usr/share/emscripten' -LLVM_ROOT = '/usr/lib/emscripten-fastcomp/bin' -BINARYEN_ROOT = '/usr' -BINARYEN_WASM_JS = '/usr/share/binaryen/wasm.js' - -CLOSURE_COMPILER = os.getenv('CLOSURE', '/usr/share/java/closure-compiler.jar') -CRUNCH = os.getenv('CRUNCH', 'crunch') -EMSCRIPTEN_NATIVE_OPTIMIZER = '/usr/bin/emoptimizer' -JAVA = os.path.join(os.getenv('JAVA_HOME', '/usr/lib/jvm/default-jvm'), 'bin/java') -NODE_JS = os.getenv('NODE', 'node') -PYTHON = '/usr/bin/python2' - -TEMP_DIR = '/tmp' - -COMPILER_ENGINE = NODE_JS -JS_ENGINES = [NODE_JS] - -# Define environment variable EM_USE_GLOBAL_CACHE=1 to look into this cache. -GLOBAL_CACHE_DIR = '/usr/share/emscripten/cache' diff --git a/unmaintained/emscripten/fix-python-shebang.patch b/unmaintained/emscripten/fix-python-shebang.patch deleted file mode 100644 index 4cb0c3d6a87..00000000000 --- a/unmaintained/emscripten/fix-python-shebang.patch +++ /dev/null @@ -1,104 +0,0 @@ ---- a/em++ -+++ b/em++ -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. - # It also tells emcc.py that we want C++ and not C by default ---- a/em++.py -+++ b/em++.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. - # It also tells emcc.py that we want C++ and not C by default ---- a/emar -+++ b/emar -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emar.py, which needs python 2. - ---- a/emcc -+++ b/emcc -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. - ---- a/emcmake -+++ b/emcmake -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emcmake.py, which needs python 2. - ---- a/emconfigure -+++ b/emconfigure -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emconfigure.py, which needs python 2. - ---- a/emmake -+++ b/emmake -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # This script should work in python 2 *or* 3. It loads emmake.py, which needs python 2. - ---- a/emranlib -+++ b/emranlib -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - ''' - emcc - ranlib helper script ---- a/emrun -+++ b/emrun -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - # emrun: Implements machinery that allows running a .html page as if it was a standard executable file. - # Usage: emrun <options> filename.html <args to program> ---- a/system/bin/sdl-config -+++ b/system/bin/sdl-config -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - from __future__ import print_function - import sys ---- a/system/bin/sdl2-config -+++ b/system/bin/sdl2-config -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - from __future__ import print_function - import sys ---- a/tools/emprofile.py -+++ b/tools/emprofile.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - import sys, shutil, os, json, tempfile, time - ---- a/tools/ffdb.py -+++ b/tools/ffdb.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - - import socket, json, sys, uuid, datetime, time, logging, cgi, zipfile, os, tempfile, atexit, subprocess, re, base64, struct, imghdr - diff --git a/unmaintained/emscripten/move-emcc-txt.patch b/unmaintained/emscripten/move-emcc-txt.patch deleted file mode 100644 index 8875288310c..00000000000 --- a/unmaintained/emscripten/move-emcc-txt.patch +++ /dev/null @@ -1,12 +0,0 @@ -emcc.txt is read from emcc.py for --help. Move it to more reasonable location. ---- a/emcc.py -+++ b/emcc.py -@@ -153,7 +153,7 @@ - - emcc: supported targets: llvm bitcode, javascript, NOT elf - (autoconf likes to see elf above to enable shared object support) --''' % (open(shared.path_from_root('site', 'build', 'text', 'docs', 'tools_reference', 'emcc.txt')).read()) -+''' % (open(shared.path_from_root('emcc.txt')).read()) - exit(0) - - elif sys.argv[1] == '--version': diff --git a/unmaintained/emscripten/settings_template-paths.patch b/unmaintained/emscripten/settings_template-paths.patch deleted file mode 100644 index 092535f1ef3..00000000000 --- a/unmaintained/emscripten/settings_template-paths.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/tools/settings_template_readonly.py -+++ b/tools/settings_template_readonly.py -@@ -1,35 +1,35 @@ --# This file will be edited (the {{{ }}} things), and then ~/.emscripten created with the result, if ~/.emscripten doesn't exist. -- - # Note: If you put paths relative to the home directory, do not forget os.path.expanduser - --# Note: On Windows, remember to escape backslashes! I.e. EMSCRIPTEN_ROOT='c:\emscripten\' is not valid, but EMSCRIPTEN_ROOT='c:\\emscripten\\' and EMSCRIPTEN_ROOT='c:/emscripten/' are. -- - import os - - # this helps projects using emscripten find it --EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_ROOT }}}') # directory --LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '{{{ LLVM_ROOT }}}') # directory --BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN') or '{{{ BINARYEN_ROOT }}}') # directory -+EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '/usr/share/emscripten') # directory -+LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '/usr/lib/emscripten-fastcomp/bin') # directory -+ -+if os.getenv('BINARYEN'): -+ BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN')) # directory -+else: -+ BINARYEN_ROOT = '/usr' -+ BINARYEN_WASM_JS = '/usr/share/binaryen/wasm.js' - - # If not specified, defaults to sys.executable. --#PYTHON = 'python' -+PYTHON = 'python2' - --# Add this if you have manually built the JS optimizer executable (in Emscripten/tools/optimizer) and want to run it from a custom location. - # Alternatively, you can set this as the environment variable EMSCRIPTEN_NATIVE_OPTIMIZER. --# EMSCRIPTEN_NATIVE_OPTIMIZER='/path/to/custom/optimizer(.exe)' -+EMSCRIPTEN_NATIVE_OPTIMIZER='/usr/bin/emoptimizer' - - # See below for notes on which JS engine(s) you need --NODE_JS = os.path.expanduser(os.getenv('NODE') or '{{{ NODE }}}') # executable -+NODE_JS = os.path.expanduser(os.getenv('NODE') or '/usr/bin/node') # executable - SPIDERMONKEY_ENGINE = [os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js')] # executable - V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8') # executable - - JAVA = 'java' # executable - --TEMP_DIR = '{{{ TEMP }}}' -+TEMP_DIR = '/tmp' - - CRUNCH = os.path.expanduser(os.getenv('CRUNCH') or 'crunch') # executable - --#CLOSURE_COMPILER = '..' # define this to not use the bundled version -+CLOSURE_COMPILER = '/usr/share/java/closure-compiler.jar' - - ######################################################################################################## - diff --git a/unmaintained/enchant/APKBUILD b/unmaintained/enchant/APKBUILD deleted file mode 100644 index 9b6183d77c6..00000000000 --- a/unmaintained/enchant/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=enchant -pkgver=1.6.0 -pkgrel=14 -pkgdesc="A wrapper library for generic spell checking" -url="http://www.abisource.com/enchant/" -arch="all" -license="LGPL-2.0-or-later" -subpackages="$pkgname-dev $pkgname-doc" -makedepends="aspell-dev glib-dev dbus-glib-dev hunspell-dev gettext-dev file - bash" -source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz - hunspell-build-fix.patch" - -prepare() { - cd "$builddir" - update_config_sub - default_prepare -} - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --disable-static - make -} - -check() { - cd "$builddir"/tests - ./test-enchant -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="0ca1634bb783df51512df4abecc89abdadee6baf7330d6e5f90cc15d10779896a3521a1c079ecc07e4df4f7a018ce398cca9d0125a7845a314a059840ebc9137 enchant-1.6.0.tar.gz -c0b7fd8fd00a81ea2c08ea7ce2bdffa826b5a3a0c06eacb818681f0f977d8e76c69f7938c10cdf71571cd1cbbf0e576d36fc74a41755fb570e047525195aeb99 hunspell-build-fix.patch" diff --git a/unmaintained/enchant/hunspell-build-fix.patch b/unmaintained/enchant/hunspell-build-fix.patch deleted file mode 100644 index 0ecdb24b30c..00000000000 --- a/unmaintained/enchant/hunspell-build-fix.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru enchant-1.6.0-orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp ---- enchant-1.6.0-orig/src/myspell/myspell_checker.cpp 2016-04-18 12:25:00.094614256 +0100 -+++ enchant-1.6.0/src/myspell/myspell_checker.cpp 2016-04-18 12:26:09.108569576 +0100 -@@ -148,6 +148,10 @@ - g_iconv_close(m_translate_out); - } - -+#ifndef MAXWORDLEN -+# define MAXWORDLEN 100 -+#endif -+ - bool - MySpellChecker::checkWord(const char *utf8Word, size_t len) - { diff --git a/unmaintained/enlightenment/APKBUILD b/unmaintained/enlightenment/APKBUILD deleted file mode 100644 index bd182ca2529..00000000000 --- a/unmaintained/enlightenment/APKBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=enlightenment -pkgver=0.17.0 -pkgrel=0 -pkgdesc="Enlightenment DR17 Window Manager and Desktop Shell" -url="http://www.enlightenment.org/" -arch="all" -license="BSD" -depends= -depends_dev=" - e_dbus-dev - ecore-dev - edje-dev - eet-dev - eeze-dev - efreet-dev - eina-dev - eio-dev - evas-dev - " -makedepends="$depends_dev - alsa-lib-dev - ethumb-dev - pm-utils-dev - udisks2-dev - xcb-util-keysyms-dev - paxmark - " -install="" -subpackages="$pkgname-dev $pkgname-lang" -source="http://download.enlightenment.org/releases/enlightenment-$pkgver.tar.gz" - -_builddir="$srcdir"/enlightenment-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - # opengl needs mprotect off for now - paxmark -m "$pkgdir"/usr/bin/enlightenment -} - -md5sums="b2824849c2c56d80fdc11c1f2171d4ec enlightenment-0.17.0.tar.gz" diff --git a/unmaintained/entropybroker/APKBUILD b/unmaintained/entropybroker/APKBUILD deleted file mode 100644 index 3e76a1678e4..00000000000 --- a/unmaintained/entropybroker/APKBUILD +++ /dev/null @@ -1,69 +0,0 @@ -# Contributor: Henrik Riomar <henrik.riomar@gmail.com> -# Maintainer: -pkgname=entropybroker -pkgver=2.9 -pkgrel=0 -pkgdesc="infrastructure for distributing random numbers (entropy data)" -url="https://www.vanheusden.com/entropybroker/" -arch="x86 x86_64" # problems with libusb on other arches -license="AGPL-3.0" -checkdepends="cppcheck" -depends="ttf-freefont" -makedepends=" - crypto++-dev - gd-dev - libexecinfo-dev - libpng-dev - libusb-dev - linux-headers - pcsc-lite-dev - zlib-dev - " -subpackages="$pkgname-doc $pkgname-openrc" -source="entropybroker-$pkgver.tar.gz::https://github.com/flok99/entropybroker/archive/$pkgver.tar.gz - $pkgname.initd - $pkgname.confd - - make.patch - missing-include.patch - use-sched_yield.patch - musl-link-libexecinfo.patch - version.patch - font-path.patch - " -builddir="$srcdir/entropybroker-$pkgver" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr - make everything -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - - install -Dm755 "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname - - install -Dm644 "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname -} - -sha512sums="77d3e73b96db485d1051a2da553e29ee4726410e2960918d87aa94132fc941a43bc82aab2b5eb59ea6851871b2d6d53330e26a02eb70764abafdc6a34bd544bb entropybroker-2.9.tar.gz -8d47f99c8c9980637e0c0946d6aaec104a4a754343bcbf48106b809053654970bdceb30f7cf34f0df3dd6a6f924693833f8faa356298531336a876fbf1d30287 entropybroker.initd -56c80c571abe29b380e11f229391bf69f63aaaddc80e5dc6c3ebaea80e7eba05823d03ca06a258a0374de40b305dcd7735ec3e58e17763796dc3c4151df3dd66 entropybroker.confd -12b9ceaf75d6f7462718e55a13883d01ba054a86692b79b8192e6fb219c948e92f67601a3bb78bffdc80879b0599ba56291e6438125ec90267b95985f264ad12 make.patch -e92cc2e6e8a18dc095d653116fca562e3450796b0b7ff9c769dea0790333ac84b382e921306612b4e4ea5c1e504808e0efe69505c12b135c9add38d8c3e63869 missing-include.patch -1849586b1719fec241ab34955c4e73f67692193db19153ff062e359a1bfab4f9bb1f2a33a5a2103e38f189689f416a61cce40448b6bccc72269eeac89c0354ff use-sched_yield.patch -7f77a3117af1041b67b76fd09f9bb94954c72216f0187d3a5faa13824a5f906661f4b05bac506edec301bae4349fa02939cc781ec5b47ecfc49f64e52ba31e7d musl-link-libexecinfo.patch -b29b7261a4547d52bc85215682e84dbd3e91a3422e2fa53d36c6df49deb819e02ddc072648cc4310776b3121f36cea479fde7cb5c148a38651a8dbe8179f89fe version.patch -08cd42c57baba8a4ebed43926e11fb9f95731c7b1e02833bb7aadaa452feca35892759d06aaa3a43beababe0c856cf504ccd198f82deadfe1e4f0eca1cb0d5ef font-path.patch" diff --git a/unmaintained/entropybroker/entropybroker.confd b/unmaintained/entropybroker/entropybroker.confd deleted file mode 100644 index 51496613f2d..00000000000 --- a/unmaintained/entropybroker/entropybroker.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Config file for /etc/init.d/entropybroker - -# Any extra options you want to pass to entropybroker -# on start-up should be put here. -EB_OPTS="-s -S /var/log/entropy_broker.stats" diff --git a/unmaintained/entropybroker/entropybroker.initd b/unmaintained/entropybroker/entropybroker.initd deleted file mode 100644 index b4fc2748325..00000000000 --- a/unmaintained/entropybroker/entropybroker.initd +++ /dev/null @@ -1,8 +0,0 @@ -#!/sbin/openrc-run - -command="/usr/bin/entropy_broker" -command_args="$EB_OPTS" - -depend() { - need net -} diff --git a/unmaintained/entropybroker/font-path.patch b/unmaintained/entropybroker/font-path.patch deleted file mode 100644 index 9b018be9893..00000000000 --- a/unmaintained/entropybroker/font-path.patch +++ /dev/null @@ -1,29 +0,0 @@ -commit 3f0a5d44cccbd257226876e91730f2e2f9d89741 -Author: Henrik Riomar <henrik.riomar@gmail.com> -Date: Wed Mar 27 21:51:55 2019 +0100 - - makefile: fix font path - -diff --git a/Makefile b/Makefile -index e7a6b41..1c612ce 100644 ---- a/Makefile -+++ b/Makefile -@@ -11,7 +11,7 @@ PID=$(VAR)/run - MAN=$(PREFIX)/usr/share/man - WEB=$(PREFIX)/usr/share/entropybroker/web - DOC=$(PREFIX)/usr/share/doc/entropybroker --FONT=/usr/share/fonts/truetype/freefont/FreeMono.ttf -+FONT=/usr/share/fonts/TTF/FreeMono.ttf - - CXX=g++ - DEBUG= # -pg #-DHELGRIND #-DCRYPTO_DEBUG #-D_DEBUG #-fprofile-arcs -ftest-coverage # -pg -diff --git a/entropy_broker.conf b/entropy_broker.conf -index 4ec9347..f716b91 100644 ---- a/entropy_broker.conf -+++ b/entropy_broker.conf -@@ -94,4 +94,4 @@ users = users.txt - # set port to -1 to disable - webserver_interface = 0.0.0.0 - webserver_port = 48923 --# graph_font = /usr/share/fonts/truetype/freefont/FreeMono.ttf -+# graph_font = /usr/share/fonts/TTF/FreeMono.ttf diff --git a/unmaintained/entropybroker/make.patch b/unmaintained/entropybroker/make.patch deleted file mode 100644 index 7da329ab285..00000000000 --- a/unmaintained/entropybroker/make.patch +++ /dev/null @@ -1,25 +0,0 @@ -index 7e27ed5..7d1f206 100644 ---- a/Makefile -+++ b/Makefile -@@ -2,15 +2,15 @@ include version - - -include makefile.inc - --PREFIX=/usr/local/entropybroker --BIN=$(PREFIX)/bin --ETC=$(PREFIX)/etc -+PREFIX=$(DESTDIR) -+BIN=$(PREFIX)/usr/bin -+ETC=$(PREFIX)/etc/entropybroker - VAR=$(PREFIX)/var - CACHE=$(VAR)/cache - PID=$(VAR)/run --MAN=$(PREFIX)/share/man --WEB=$(PREFIX)/share/eb/web --DOC=$(PREFIX)/doc -+MAN=$(PREFIX)/usr/share/man -+WEB=$(PREFIX)/usr/share/entropybroker/web -+DOC=$(PREFIX)/usr/share/doc/entropybroker - FONT=/usr/share/fonts/truetype/freefont/FreeMono.ttf - - CXX=g++ diff --git a/unmaintained/entropybroker/missing-include.patch b/unmaintained/entropybroker/missing-include.patch deleted file mode 100644 index a3c8c51bb0f..00000000000 --- a/unmaintained/entropybroker/missing-include.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/protocol.cpp b/protocol.cpp -index 40e4941..163af9c 100644 ---- a/protocol.cpp -+++ b/protocol.cpp -@@ -7,6 +7,7 @@ - #include <string> - #include <map> - #include <vector> -+#include <sys/select.h> - - #include "defines.h" - #include "error.h" diff --git a/unmaintained/entropybroker/musl-link-libexecinfo.patch b/unmaintained/entropybroker/musl-link-libexecinfo.patch deleted file mode 100644 index 595db2efdf1..00000000000 --- a/unmaintained/entropybroker/musl-link-libexecinfo.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index 39374f0..fcf95c1 100644 ---- a/Makefile -+++ b/Makefile -@@ -17,7 +17,7 @@ CXX=g++ - DEBUG= # -pg #-DHELGRIND #-DCRYPTO_DEBUG #-D_DEBUG #-fprofile-arcs -ftest-coverage # -pg - LINT=-Wshadow -Wall # -W -Wconversion -Wwrite-strings -Wunused - CXXFLAGS+=-O3 -ggdb -DVERSION=\"${VERSION}\" $(LINT) $(DEBUG) -DCONFIG=\"${ETC}/entropy_broker.conf\" -DCACHE_DIR=\"${CACHE}\" -DPID_DIR=\"${PID}\" -DVAR_DIR=\"${VAR}\" -DWEB_DIR=\"${WEB}\" -DFONT=\"${FONT}\" -rdynamic $(PCSC_CFLAGS) --LDFLAGS+=$(DEBUG) -lrt -lz -lutil -rdynamic -lcryptopp -pthread -+LDFLAGS+=$(DEBUG) -lrt -lz -lutil -rdynamic -lcryptopp -pthread -lexecinfo - - ifeq ($(TFO),yes) - CXXFLAGS+=-DTCP_TFO diff --git a/unmaintained/entropybroker/use-sched_yield.patch b/unmaintained/entropybroker/use-sched_yield.patch deleted file mode 100644 index 6a06bcc3103..00000000000 --- a/unmaintained/entropybroker/use-sched_yield.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/utils.cpp b/utils.cpp -index 33a8f97..805035f 100644 ---- a/utils.cpp -+++ b/utils.cpp -@@ -1,5 +1,5 @@ - #include <string> --#include <pthread.h> -+#include <sched.h> - #include <vector> - #include <stdarg.h> - #include <unistd.h> -@@ -26,6 +26,7 @@ - #ifdef linux - #include <sys/syscall.h> - #endif -+# include <sched.h> - - #include "defines.h" - #include "error.h" -@@ -641,7 +642,7 @@ void my_yield() - { - // sched_yield - -- pthread_check(pthread_yield(), "pthread_yield"); -+ pthread_check(sched_yield(), "sched_yield"); - } - - bool file_exist(const char *file) diff --git a/unmaintained/entropybroker/version.patch b/unmaintained/entropybroker/version.patch deleted file mode 100644 index f21e6cb34c7..00000000000 --- a/unmaintained/entropybroker/version.patch +++ /dev/null @@ -1,5 +0,0 @@ ---- a/version -+++ b/version -@@ -1 +1 @@ --VERSION=2.8 -+VERSION=2.9 diff --git a/unmaintained/exfat-utils/APKBUILD b/unmaintained/exfat-utils/APKBUILD deleted file mode 100644 index 7169d4d430d..00000000000 --- a/unmaintained/exfat-utils/APKBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer: TBK <alpine@jjtc.eu> -pkgname=exfat-utils -pkgver=1.3.0 -pkgrel=1 -pkgdesc="Utilities for exFAT file system" -url="https://github.com/relan/exfat" -arch="all" -license="GPL-2.0-or-later" -options="!check" # no test suite -subpackages="$pkgname-doc" -source="https://github.com/relan/exfat/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" - -build() { - ./configure \ - --prefix=/usr \ - --sbindir=/usr/sbin - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="e1c5b708f22e878d7521e3299866bba127145757e3620696ff11b18c8c7d4830522974e8ee4771234b70aa9718295d3433779cf34ca990e28ccc06cbf9325f7e exfat-utils-1.3.0.tar.gz" diff --git a/unmaintained/flow/APKBUILD b/unmaintained/flow/APKBUILD deleted file mode 100644 index 3297c8e64e2..00000000000 --- a/unmaintained/flow/APKBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=flow -pkgver=0.78.0 -pkgrel=1 -pkgdesc="A static typechecker for JavaScript" -url="https://flow.org" -# x86, armhf, s390x, mips, mips64: limited by ocaml aport -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" -license="MIT" -checkdepends="bash diffutils nodejs yarn" -makedepends=" - js_of_ocaml - linux-headers - ocaml - ocaml-compiler-libs - ocaml-dtoa-dev - ocaml-findlib - ocaml-gen-dev - ocaml-lwt-dev - ocaml-lwt_log-dev - ocaml-lwt_ppx-dev - ocaml-ppx_deriving-dev - ocaml-ppx_gen_rec-dev - ocaml-result-dev - ocaml-sedlex-dev - ocaml-wtf8-dev - ocamlbuild - opam - zip - " -subpackages="libflowparser-dev:_parser" -source="https://github.com/facebook/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz - makefile-tag-thread.patch - " -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - cd "$builddir" - - msg "Installing JS packages needed for running tests..." - yarn install \ - --ignore-scripts \ - --frozen-lockfile \ - --non-interactive \ - --cache-folder "$srcdir"/.yarn -} - -build() { - cd "$builddir" - - rm -Rf _build - - make FLOW_RELEASE=1 - mkdir dist - cp -a bin dist/ - - make -C src/parser js - make -C src/parser dist/libflowparser.zip - cp -ar src/parser/dist/libflowparser dist/ -} - -check() { - cd "$builddir" - make do-test FLOW_RELEASE=1 -} - -package() { - cd "$builddir" - - install -m 755 -D dist/bin/flow "$pkgdir"/usr/bin/flow -} - -_parser() { - pkgdesc="The Flow Parser" - - cd "$builddir" - - mkdir -p "$subpkgdir"/usr - cp -r dist/libflowparser/* "$subpkgdir"/usr/ -} - -sha512sums="033052634fcd3f55babe333d446e4c1ef6ae78509670cf8b68cd1f4bfa8f24ff1a965d8a4a5ec5f55c2774632d1c5145a22f745c268aafa7a6b8199827237a80 flow-0.78.0.tar.gz -d300dec1b7925fbba691701e10f68727ef20c06430eab8f746aeebe5ba591569f3430fdc9a8a69815860ab9fc6cf5795a7a509e752922685778d9fa6ae7ca7c2 makefile-tag-thread.patch" diff --git a/unmaintained/flow/makefile-tag-thread.patch b/unmaintained/flow/makefile-tag-thread.patch deleted file mode 100644 index f19535fa956..00000000000 --- a/unmaintained/flow/makefile-tag-thread.patch +++ /dev/null @@ -1,15 +0,0 @@ -To get rid of warnings: - - ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch - ---- a/Makefile -+++ b/Makefile -@@ -199,7 +199,7 @@ - - RELEASE_TAGS=$(if $(FLOW_RELEASE),-tag warn_a,) - --OCB=ocamlbuild -use-ocamlfind -no-links -+OCB=ocamlbuild -use-ocamlfind -no-links -tag thread - - all: bin/flow$(EXE) - diff --git a/unmaintained/font-tewi/APKBUILD b/unmaintained/font-tewi/APKBUILD deleted file mode 100644 index 59b1bfbb384..00000000000 --- a/unmaintained/font-tewi/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: -pkgname=font-tewi -pkgver=2.0.2 -pkgrel=3 -pkgdesc="tewi bitmap font" -url="https://github.com/lucy/tewi-font" -arch="noarch" -license="MIT" -depends="encodings font-alias mkfontscale mkfontdir fontconfig" -makedepends="font-util-dev python3 bdftopcf" -source="tewi-font-$pkgver.tar.gz::https://github.com/lucy/tewi-font/archive/$pkgver.tar.gz" -options="!check" # no test suite -builddir="$srcdir/tewi-font-$pkgver" - -build() { - make -} - -package() { - mkdir -p "$pkgdir/usr/share/fonts/misc" - install -Dm644 out/*.pcf.gz "$pkgdir/usr/share/fonts/misc" - install -Dm644 *.bdf "$pkgdir/usr/share/fonts/misc" -} - -sha512sums="823b4c399a64ff66280323ae09f7f3c1dc51a7e2506acfcc9e8f509d600e7bc193e523755f0921921ceb09763e16babc5258467485d3a5260b37055bcfad9123 tewi-font-2.0.2.tar.gz" diff --git a/unmaintained/fswebcam/APKBUILD b/unmaintained/fswebcam/APKBUILD deleted file mode 100644 index cb91437af94..00000000000 --- a/unmaintained/fswebcam/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: -pkgname=fswebcam -pkgver=20200725 -pkgrel=0 -pkgdesc="A neat and simple webcam app " -url="https://www.sanslogic.co.uk/fswebcam/" -arch="all" -license="GPL-2.0-only" -makedepends=" - gd-dev - linux-headers - " -source="https://github.com/fsphil/fswebcam/archive/$pkgver/fswebcam-$pkgver.tar.gz" -subpackages="$pkgname-doc" -options="!check" # No tests - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="f5cf6929221d516dfd6da3635a4f41dbc070ba6b641e61827255a92436f7b899e2af6415ce6d3ae58cc989e5c7cdce5619108fdeefe693c6b4d01d26ad689c73 fswebcam-20200725.tar.gz" diff --git a/unmaintained/gajim-plugin-omemo/APKBUILD b/unmaintained/gajim-plugin-omemo/APKBUILD deleted file mode 100644 index 89f2e4cc803..00000000000 --- a/unmaintained/gajim-plugin-omemo/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: -pkgname=gajim-plugin-omemo -_pkgname="${pkgname#gajim-plugin-}" -pkgver=2.6.59 -pkgrel=1 -pkgdesc="Gajim plugin for Multi-End Message and Object Encryption (OMEMO)" -url="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin" -arch="noarch" -license="GPL-3.0-only" -depends="gajim py3-qrcode py3-axolotl" -makedepends="py-setuptools python3-dev" -source="$pkgname-$pkgver.zip::https://ftp.gajim.org/plugins_releases/${_pkgname}_$pkgver.zip" -builddir="$srcdir"/$_pkgname -options="!check" - -build() { - return 0 -} - -package() { - rm -f CHANGELOG COPYING - site_pkgs="$(python3 -c 'import site; print(site.getsitepackages()[0])')" - mkdir -p "$pkgdir/$site_pkgs/gajim/data/plugins/$_pkgname" - cp -r ./* "$pkgdir/$site_pkgs/gajim/data/plugins/$_pkgname/" -} - -sha512sums="fcd7e8322e8ec56408e0ed07ea5ee56475c3d1e94864b57954d1fccbb8cfba1f9189fb2c5bd46c71a64f4286a10274af23852b5b1fd133b91d59cef7bb2707b9 gajim-plugin-omemo-2.6.59.zip" diff --git a/unmaintained/gapk/APKBUILD b/unmaintained/gapk/APKBUILD deleted file mode 100644 index 85c8e331aad..00000000000 --- a/unmaintained/gapk/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=gapk -pkgver=0.1 -pkgrel=1 -pkgdesc="simple GTK frontend for apk-tools" -url="https://github.com/ncopa/gapk" -arch="all" -license="GPL-2.0" -depends="apk-tools" -depends_dev="" -makedepends="$depends_dev gtk+3.0-dev" -install="" -subpackages="" -source="gapk-$pkgver.tar.gz::https://github.com/ncopa/gapk/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/gapk-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -sha512sums="003c837288796a8e23d2296f352b855df9feadbe3b34c9f5704925882e7e25b242e3adf6088d8072459ac871ca5bfdd6fb8016e0357b1234d374b946fa808edf gapk-0.1.tar.gz" diff --git a/unmaintained/gcalcli/APKBUILD b/unmaintained/gcalcli/APKBUILD deleted file mode 100644 index 413b5a197f5..00000000000 --- a/unmaintained/gcalcli/APKBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: -pkgname=gcalcli -pkgver=3.4.0 -pkgrel=1 -pkgdesc="Google Calendar Command Line Interface" -url="https://github.com/insanum/gcalcli" -arch="noarch" -license="MIT" -depends="python3 py-google-api-python-client py-dateutil py-gflags py-vobject" -makedepends="python2-dev py-setuptools" -source="$pkgname-$pkgver.tar.gz::https://github.com/insanum/$pkgname/archive/v$pkgver.tar.gz" - -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build -} - -package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="d3844dc34dfd21b1cca6f46bf2b66b6aabfccd4d7b23ad4e076966aeec51681792c0dbe5f61e4cb84a75ce3bbf4fd1c63a2ce759cecdeee3e4608c0238c07a4b gcalcli-3.4.0.tar.gz" diff --git a/unmaintained/getmail/APKBUILD b/unmaintained/getmail/APKBUILD deleted file mode 100644 index f68d69c5982..00000000000 --- a/unmaintained/getmail/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=getmail -pkgver=5.14 -pkgrel=0 -pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery" -url="http://pyropus.ca/software/getmail/" -arch="noarch" -license="GPL-2.0-only" -depends="python2" -makedepends="python2-dev" -subpackages="$pkgname-doc" -options="!check" # contains no tests -source="http://pyropus.ca/software/getmail/old-versions/getmail-$pkgver.tar.gz" - -build() { - python2 setup.py build -} - -package() { - python2 setup.py install --prefix=/usr --root="$pkgdir" - # fix some broken shebang calls - sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python2|" $(find $pkgdir -name '*.py') -} - -sha512sums="0646864af56fc044525d38088164c2c026a8f29b231c25c9cfe9aa922b1e5170cf49c63874da9bd593b49be6ed822bd4da7ea4ebfbb59cfa6e1658e2b565c184 getmail-5.14.tar.gz" diff --git a/unmaintained/glade3/APKBUILD b/unmaintained/glade3/APKBUILD deleted file mode 100644 index a6662e5ee60..00000000000 --- a/unmaintained/glade3/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=glade3 -pkgver=3.8.6 -pkgrel=0 -pkgdesc="A RAD tool for rapid development of GTK+2 user interfaces" -url="https://glade.gnome.org/" -arch="all" -license="LGPL-2.1-or-later AND GPL-2.0-or-later" -makedepends="gtk+2.0-dev itstool libxml2-dev paxmark python2" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/glade3/${pkgver%.*}/glade3-$pkgver.tar.xz" - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-compile-warnings=no \ - --disable-scrollkeeper \ - --disable-gnome - make -} - -check() { - make check -} - -package() { - make DESTDIR="$pkgdir" install - paxmark -r "$pkgdir"/usr/bin/glade-3 -} - -sha512sums="14ea975a62a2e032e0f39c38d13e0717119ef15b44e0c30bc0d9f19850ebd1535cb05eb0d240c1c8aeb88f38c276fea3a2880cb8aa684b976726ced729e7f8cf glade3-3.8.6.tar.xz" diff --git a/unmaintained/global/APKBUILD b/unmaintained/global/APKBUILD deleted file mode 100644 index 3a397cf6e70..00000000000 --- a/unmaintained/global/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Daniel Sabogal <dsabogalcc@gmail.com> -# Maintainer: -pkgname=global -pkgver=6.6.3 -pkgrel=0 -pkgdesc="A source code tag system" -options="!check" # No testsuite -url="https://www.gnu.org/software/global" -arch="all" -license="GPL-3.0-or-later AND LGPL-3.0-or-later" -makedepends="libltdl perl" -subpackages="$pkgname-doc" -source="https://ftp.gnu.org/gnu/global/$pkgname-$pkgver.tar.gz" - -build() { - ./configure \ - --prefix=/usr \ - --localstatedir=/var \ - --with-exuberant-ctags=/usr/bin/ctags \ - --disable-gtagscscope \ - --disable-static - make -} - -package() { - make DESTDIR="$pkgdir/" install - - install -d "$pkgdir"/usr/share/emacs/site-lisp - install -d "$pkgdir"/usr/share/vim/vimfiles/plugin - mv "$pkgdir"/usr/share/gtags/gtags.el "$pkgdir"/usr/share/emacs/site-lisp/gtags.el - mv "$pkgdir"/usr/share/gtags/gtags.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/gtags.vim - mv "$pkgdir"/usr/share/gtags/gtags-cscope.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/gtags-cscope.vim -} - -sha512sums="1edeb571e9105fb9c2a217bbfbcc3f273be1d7f078921c2ce1a9acb60ed1330268df6a68248a9676476338e74c4a77fb37bff68a6bf37f958ba99502b5c5755d global-6.6.3.tar.gz" diff --git a/unmaintained/gmime26/APKBUILD b/unmaintained/gmime26/APKBUILD deleted file mode 100644 index e3f461bed59..00000000000 --- a/unmaintained/gmime26/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=gmime26 -pkgver=2.6.23 -pkgrel=0 -pkgdesc="A C/C++ MIME creation and parser library with support for S/MIME, PGP" -url="https://developer.gnome.org/gmime/" -arch="all" -license="LGPL-2.1-only" -depends_dev="gpgme-dev" -makedepends="$depends_dev glib-dev intltool vala gobject-introspection-dev" -options="!check" # iconv doesn't work on musl -subpackages="$pkgname-dev $pkgname-doc" -source="https://download.gnome.org/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz" - -builddir="$srcdir/gmime-$pkgver" - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-vala \ - --disable-static - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14 gmime-2.6.23.tar.xz" diff --git a/unmaintained/gnats/APKBUILD b/unmaintained/gnats/APKBUILD deleted file mode 100644 index 1afb2da432e..00000000000 --- a/unmaintained/gnats/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=gnats -pkgver=4.2.0 -pkgrel=5 -pkgdesc="The GNU Bug Tracking System" -url="https://www.gnu.org/software/gnats/" -arch="" # Fails to build with gcc-10 -license="GPL-3.0" -depends="postfix" -makedepends="texinfo" -install= -source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz - no-werror.patch - " -subpackages="$pkgname-doc" -pkgusers="gnats" -pkggroups="gnats" - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sharedstatedir=/var/lib \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - - make -j1 || return 1 -} -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - rm -f "$pkgdir"/gnats.el -} - -sha512sums="650faa87206889912e27a27daba4c86292fac90250a88e7e6272cc8488fc19dfd6098bdd450553cd6c2c1d446072a8da9395f1ce7b1cd284596994ce53744152 gnats-4.2.0.tar.gz -f37cbc05bcf4fe37226e95ca84162ffa9ca92da3e30907dbbde67805aa0ab6210724a954a9106f4522c0adcaf936919beb11afb7d477142491be09c9da0ee38d no-werror.patch" diff --git a/unmaintained/gnats/gnats.pre-install b/unmaintained/gnats/gnats.pre-install deleted file mode 100644 index 7e46b87e625..00000000000 --- a/unmaintained/gnats/gnats.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S gnats 2>/dev/null -adduser -S -D -h /var/lib/gnatsdb -G gnats -g gnats gnats 2>/dev/null - -exit 0 diff --git a/unmaintained/gnats/no-werror.patch b/unmaintained/gnats/no-werror.patch deleted file mode 100644 index e7d4d14e5ec..00000000000 --- a/unmaintained/gnats/no-werror.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure b/configure -index dfacf87..c3bdb3a 100755 ---- a/configure -+++ b/configure -@@ -6722,7 +6722,7 @@ fi - - - if test "x$GCC" = "xyes" ; then -- GCC_CFLAGS="-ansi -Werror -Wall" -+ GCC_CFLAGS="-ansi -Wall" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wextra" >&5 - $as_echo_n "checking whether C compiler accepts -Wextra... " >&6; } diff --git a/unmaintained/gnome-documents/APKBUILD b/unmaintained/gnome-documents/APKBUILD deleted file mode 100644 index 509d8a6b9a0..00000000000 --- a/unmaintained/gnome-documents/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=gnome-documents -pkgver=3.34.0 -pkgrel=1 -pkgdesc="GNOME Documents is a document manager for GNOME 3" -url="https://wiki.gnome.org/Apps/Documents" -arch="all !s390x !mips !mips64" # gjs, librsvg -license="GPL-2.0-or-later" -# Needs the GIR data of these during runtime -depends="gnome-online-accounts libgdata libzapojit tracker-miners" -makedepends="meson gtk-doc gtk+3.0-dev evince-dev gnome-desktop-dev glib-dev - gjs-dev gobject-introspection-dev tracker-dev libsoup-dev webkit2gtk-dev - libgdata-dev gnome-online-accounts-dev libzapojit-dev librsvg itstool" -checkdepends="appstream-glib desktop-file-utils" -# Don't conflict with other packages which do a shared link of libgd -sonameprefix="$pkgname:" -subpackages="$pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/gnome-documents/${pkgver%.*}/gnome-documents-$pkgver.tar.xz" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="5867b148aaffd02089e4f1148cf0fbce37ba0ed40c7d255f9261cd225757f56b68293d59476ab7c11ebbe310cc7935081b2770e7bc24bdbddb5934da5ea0cf87 gnome-documents-3.34.0.tar.xz" diff --git a/unmaintained/gnome-icon-theme-symbolic/APKBUILD b/unmaintained/gnome-icon-theme-symbolic/APKBUILD deleted file mode 100644 index c6fdbcad76a..00000000000 --- a/unmaintained/gnome-icon-theme-symbolic/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=gnome-icon-theme-symbolic -pkgver=3.12.0 -pkgrel=0 -pkgdesc="Symbolic GNOME icons" -url="https://git.gnome.org/browse/gnome-icon-theme-symbolic" -arch="noarch" -license="CC-BY-SA" -makedepends="icon-naming-utils" -source="https://download.gnome.org/sources/gnome-icon-theme-symbolic/${pkgver%.*}/gnome-icon-theme-symbolic-$pkgver.tar.xz" - -prepare() { - local i - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i ;; - esac - done -} - -build() { - # Avoid a BuildRequires on gtk2-devel - export ac_cv_path_GTK_UPDATE_ICON_CACHE=/bin/true - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="e2a662d38c5c1328f384d9bdd73ce54f4e1174a1d88763e4a5f772c2479081f11c81937ba2dc159ce250e433762f14de824516fc68209200d95dc47790471eda gnome-icon-theme-symbolic-3.12.0.tar.xz" diff --git a/unmaintained/gnome-icon-theme/APKBUILD b/unmaintained/gnome-icon-theme/APKBUILD deleted file mode 100644 index dc44a32e85b..00000000000 --- a/unmaintained/gnome-icon-theme/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=gnome-icon-theme -pkgver=3.12.0 -pkgrel=1 -pkgdesc="icons for GNOME desktop environment" -url="http://art.gnome.org/" -arch="noarch" -license="LGPL-3.0-only OR CC-BY-SA-3.0" -makedepends="gtk+2.0 intltool icon-naming-utils" -subpackages="$pkgname-lang" -source="https://download.gnome.org/sources/gnome-icon-theme/${pkgver%.*}/gnome-icon-theme-$pkgver.tar.xz" - -build() { - DATADIRNAME=share \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --disable-scrollkeeper - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="9dab14a5d30b1fa6655fbd44f15357158dc49ef01d27be678eaed35cb4a9f21546dee2a5d7fb50dac5e3595e161b0be7e7bc79daf47b772f0bb37109b0078bea gnome-icon-theme-3.12.0.tar.xz" diff --git a/unmaintained/gns3-converter/APKBUILD b/unmaintained/gns3-converter/APKBUILD deleted file mode 100644 index fc70b480e65..00000000000 --- a/unmaintained/gns3-converter/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=gns3-converter -pkgver=1.3.0 -pkgrel=8 -pkgdesc="GNS3 topology converter" -url="https://github.com/dlintott/gns3-converter" -arch="noarch" -license="GPL-3.0" -depends="py3-cx_freeze py3-six py3-configobj python3" -makedepends="python3-dev py3-setuptools" -source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/gns3-converter/archive/v$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="ac2e44b3f02c8f0429158e11c964bf342973809139dcf34863071905400964006d7adbc3ddb80efe57a5ecc5eaf59e228bf7d07a7e5776dd6bcf51b4e1d3fe57 gns3-converter-1.3.0.tar.gz" diff --git a/unmaintained/gns3-gui/APKBUILD b/unmaintained/gns3-gui/APKBUILD deleted file mode 100644 index de53dbd74fe..00000000000 --- a/unmaintained/gns3-gui/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=gns3-gui -pkgver=2.2.19 -pkgrel=1 -pkgdesc="GNS3 network simulator. Graphical user interface package." -url="https://github.com/GNS3/gns3-gui" -arch="noarch !armhf" # armhf blocked by py3-qt5 -> qt5-qtdeclarative -license="GPL-3.0-or-later" -depends="python3 py3-psutil-gns3 py3-jsonschema-gns3 py3-raven - py3-qt5 qt5-qtsvg py3-sip py3-sentry-sdk" -makedepends="python3-dev py3-setuptools" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/gns3-gui/archive/v$pkgver.tar.gz -requirements.patch" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 "$builddir"/resources/images/gns3_icon_256x256.png "$pkgdir"/usr/share/pixmaps/gns3.png - install -Dm644 "$builddir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -sha512sums="a1ca103f57edc639f60bb447f04b86f439e29500a8446c046cd2fbe5f9267e87394e1f2cd21e8f894c1e520ff0493f16235debba26d3855e1d1a423e2b7bb9af gns3-gui-2.2.19.tar.gz -84bea47705832cd8195d3bda2992c606303648bf8c9ce92452dbcc6ae645985f9df1c09aef228cec5a1eac56cc04f9523e55e3fdf874f1573a45ff9ba5b8761a requirements.patch" diff --git a/unmaintained/gns3-gui/requirements.patch b/unmaintained/gns3-gui/requirements.patch deleted file mode 100644 index 979a6e9a8b1..00000000000 --- a/unmaintained/gns3-gui/requirements.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/requirements.txt b/requirements.txt -index 7bff13e..cd249ce 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -1,4 +1,4 @@ - jsonschema==3.2.0 - sentry-sdk>=0.14.4 --psutil==5.6.7 -+psutil>=5.6.7 - distro>=1.3.0 diff --git a/unmaintained/gns3-server/APKBUILD b/unmaintained/gns3-server/APKBUILD deleted file mode 100644 index f3b940b2b89..00000000000 --- a/unmaintained/gns3-server/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=gns3-server -pkgver=2.2.19 -pkgrel=0 -pkgdesc="GNS3 network simulator. Server package" -url="https://github.com/GNS3/gns3-server" -arch="all !mips !mips64" # blocked by py3-py-cpuinfo -license="GPL-3.0-or-later" -depends="busybox dynamips python3 - py3-jsonschema-gns3 - py3-aiohttp-gns3 - py3-aiohttp-cors-gns3 - py3-aiofiles-gns3 - py3-jinja2 - py3-sentry-sdk - py3-psutil-gns3 - py3-async-timeout-gns3 - py3-distro - py3-py-cpuinfo-gns3 - py3-setuptools" - -makedepends="busybox-static py3-setuptools python3-dev linux-headers" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/gns3-server/archive/v$pkgver.tar.gz -requirements.patch" - -build() { - # Upstream includes busybox binary for x86_64. We want to replace it by - # $CARCH binary - if [ "$CARCH" != "x86_64" ] ; then - busybox_bin=$(find . -name busybox -type f) - cp /bin/busybox.static $busybox_bin - fi - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF -gns3-server has several optional packages that must be installed manually for additional functionality: - - apk add qemu - apk add wiresark - apk add ubridge - apk add cpulimit - apk add ubridge - apk add vpcs -EOF -} - -sha512sums="f42ece97f9da398f3ab62fb80e2b13a5a1e51d1964a65014932b585673964265e361c5f5fdfbc453858fc868bae8cdbb897f93738abbd12c1f3b037595306039 gns3-server-2.2.19.tar.gz -673402da09894ce05de40a46c208a2a8b69201febdf3f9eaba440ee4f5b3abedcb6ad3a7a86d9bf60986755292df049f1abc15462c869a099cdd45b0d2461f99 requirements.patch" diff --git a/unmaintained/gns3-server/requirements.patch b/unmaintained/gns3-server/requirements.patch deleted file mode 100644 index 8a85dfadb7b..00000000000 --- a/unmaintained/gns3-server/requirements.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/requirements.txt b/requirements.txt -index afd90f9..1399253 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -4,7 +4,7 @@ aiohttp-cors==0.7.0 - aiofiles==0.5.0 - Jinja2>=2.7.3 - sentry-sdk>=0.14.4 --psutil==5.6.7 -+psutil>=5.6.7 - async-timeout==3.0.1 - distro>=1.3.0 - py-cpuinfo==7.0.0 diff --git a/unmaintained/googler/APKBUILD b/unmaintained/googler/APKBUILD deleted file mode 100644 index de91b5cfa8d..00000000000 --- a/unmaintained/googler/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Ivan Tham <pickfire@riseup.net> -# Maintainer: -pkgname=googler -pkgver=4.3.2 -pkgrel=2 -pkgdesc="Google Search, Google Site Search, Google News from the terminal" -url="https://github.com/jarun/googler" -arch="noarch" -license="GPL-3.0-or-later" -depends="python3" -subpackages="$pkgname-doc - $pkgname-bash-completion - $pkgname-fish-completion - $pkgname-zsh-completion - " -source="$pkgname-$pkgver.tar.gz::https://github.com/jarun/googler/archive/v$pkgver.tar.gz" - -build() { - make disable-self-upgrade -} - -package() { - make install DESTDIR="$pkgdir" PREFIX=/usr - - install -Dm644 "$builddir"/auto-completion/bash/* \ - -t "$pkgdir"/usr/share/bash-completion/completions - install -Dm644 "$builddir"/auto-completion/fish/* \ - -t "$pkgdir"/usr/share/fish/completions - install -Dm644 "$builddir"/auto-completion/zsh/* \ - -t "$pkgdir"/usr/share/zsh/site-functions -} - -sha512sums="899cc45eea9102b9547c1a7697237bb9cc77093c670e09c74b1331c0f267fa3bb66f2fc58cf576f9ce30047757f0038cf447a0a510c5b2ff33ad68491c008dd9 googler-4.3.2.tar.gz" diff --git a/unmaintained/gradm/APKBUILD b/unmaintained/gradm/APKBUILD deleted file mode 100644 index adc2a88b8fd..00000000000 --- a/unmaintained/gradm/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=gradm -pkgver=3.1.201607172312 -_ver=${pkgver/.20/-20} -pkgrel=0 -pkgdesc="administrative utility for grsecurity kernels" -url="http://www.grsecurity.org/" -arch="all" -license="GPL" -makedepends="bison flex-dev linux-headers" -install="" -subpackages="$pkgname-doc" -source="https://dev.gentoo.org/~blueness/hardened-sources/gradm/gradm-$_ver.tar.gz - policy - base.policyd - grsec-rbac.initd" - -_builddir="$srcdir/gradm" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make LIBS="" || return 1 -} - -package() { - cd "$_builddir" - make LIBS="" INSTALL=install DESTDIR="$pkgdir" install || return 1 - - # we don't want the grsecurity-recommended policy as it's old - # and non-modular. - rm "$pkgdir"/etc/grsec/policy - - # install the base policy file which pulls in everything else. - install -m644 "$srcdir"/policy "$pkgdir"/etc/grsec/policy - - # prepare and install base policy to /var/lib/grsec/policy.d - install -d -D "$pkgdir"/var/lib/grsec/policy.d - install -m644 "$srcdir"/base.policyd "$pkgdir"/var/lib/grsec/policy.d/00-base - - # install grsec-rbac into initd - install -d -D "$pkgdir"/etc/init.d - install -m755 "$srcdir"/grsec-rbac.initd "$pkgdir"/etc/init.d/grsec-rbac -} - -sha512sums="61f14038ee555b99e4d0096dd01697d8adba45e057ffceadb44eafbdfba807b53030684c5073d169c005902acfa6baa673975ed4ab00ad035941c209f8f1d2e2 gradm-3.1-201607172312.tar.gz -0cd4a85d40815813129c669400a9e2fb4b5258c1d20dae8075e3f3123c3ff1ece9dc3a16209ef8d6cb968477ab687926923bcdca0b78fb3beff105a699284a01 policy -8b6a3a6cf550119dbf162d6dffcf5acef30cae6b070a028d5d5697bf20ce5e0d7e1900992f7c88c60b2eb5e5118561753e8111440a6032922780620ac25ee7cb base.policyd -7f53992506edcedfd97b5b3581da80ffbc1a1a79ad3c5e7b7982f9d41387bea34077045d36595a631a87e96a25819b3c569ca94c344a0581ead8c5e5dbd32c1d grsec-rbac.initd" diff --git a/unmaintained/gradm/base.policyd b/unmaintained/gradm/base.policyd deleted file mode 100644 index cf66e7301e1..00000000000 --- a/unmaintained/gradm/base.policyd +++ /dev/null @@ -1,133 +0,0 @@ -role admin sA -subject / rvka - / rwcdmlxi - -role default G -role_transitions admin -subject / dpo - / r - /opt rx - /home rwxcd - /mnt rw - /dev - /dev/grsec h - /dev/urandom r - /dev/random r - /dev/zero rw - /dev/input rw - /dev/psaux rw - /dev/null rw - /dev/tty? rw - /dev/hvc? rw - /dev/console rw - /dev/tty rw - /dev/pts rw - /dev/ptmx rw - /dev/dsp rw - /dev/mixer rw - /dev/initctl rw - /dev/fd0 r - /dev/cdrom r - /dev/mem h - /dev/kmem h - /dev/port h - /bin rx - /sbin rx - /lib rx - /usr rx - /etc rx - /proc rwx - /proc/slabinfo h - /proc/kcore h - /proc/kallsyms h - /proc/modules h - /proc/sys r - /root r - /tmp rwcd - /var rwxcd - /var/tmp rwcd - /var/log r - /boot h - /lib/modules h - /etc/grsec h - /var/lib/grsec h - - -CAP_KILL - -CAP_SYS_TTY_CONFIG - -CAP_LINUX_IMMUTABLE - -CAP_NET_RAW - -CAP_MKNOD - -CAP_SYS_ADMIN - -CAP_SYS_RAWIO - -CAP_SYS_MODULE - -CAP_SYS_PTRACE - -CAP_NET_ADMIN - -CAP_NET_BIND_SERVICE - -CAP_NET_RAW - -CAP_SYS_CHROOT - -CAP_SYS_BOOT - -CAP_SETFCAP - -# the d flag protects /proc fd and mem entries for sshd -# all daemons should have 'p' in their subject mode to prevent -# an attacker from killing the service (and restarting it with trojaned -# config file or taking the port it reserved to run a trojaned service) -subject /usr/sbin/sshd dpo - / h - /bin/sh x - /bin/bash x - /dev h - /dev/log rw - /dev/random r - /dev/urandom r - /dev/null rw - /dev/ptmx rw - /dev/pts rw - /dev/tty rw - /dev/tty? rw - /etc r - /etc/passwd r - /etc/shadow r - /etc/grsec h - /home rwcd - /lib rx - /root - /proc r - /proc/*/oom_adj w - /proc/kcore h - /proc/sys h - /usr/lib rx - /usr/share/zoneinfo r - /var/log - /var/mail - /var/log/lastlog rw - /var/log/wtmp w - /var/run/sshd - /var/run/utmp rw - /var/empty rw - - -CAP_ALL - +CAP_CHOWN - +CAP_SETGID - +CAP_SETUID - +CAP_SYS_CHROOT - +CAP_SYS_RESOURCE - +CAP_SYS_TTY_CONFIG - -subject /usr/bin/ssh - /etc/ssh/ssh_config r - -subject /bin/busybox - +CAP_SYS_ADMIN - +CAP_SYS_BOOT - /root/.ash_history rw - /dev/log rwc - /var/log rwc - /var/log/messages rwc - /var/log/wtmp w - /var/log/faillog rwcd - -subject /usr/bin/sudo - +CAP_SYS_ADMIN - /dev/log rw - diff --git a/unmaintained/gradm/grsec-rbac.initd b/unmaintained/gradm/grsec-rbac.initd deleted file mode 100644 index 65ef1c5b67b..00000000000 --- a/unmaintained/gradm/grsec-rbac.initd +++ /dev/null @@ -1,14 +0,0 @@ -#!/sbin/openrc-run - -start() { - ebegin "Enabling grsecurity RBAC policy" - gradm -E - eend $? -} - -stop() { - ebegin "Disabling grsecurity RBAC policy" - gradm -D - eend $? -} - diff --git a/unmaintained/gradm/policy b/unmaintained/gradm/policy deleted file mode 100644 index e5a3df439c5..00000000000 --- a/unmaintained/gradm/policy +++ /dev/null @@ -1,211 +0,0 @@ -# Base grsecurity policy for Alpine. -# -# If you want to use a custom policy, or add on local modifications to -# the system policy, edit below the include line or remove the include -# line to completely remove the system policy entirely from your setup. -# -# Documentation on the file format as provided in the sample policy file -# follow below for your reference: -## Role flags: -# A -> This role is an administrative role, thus it has special privilege normal -# roles do not have. In particular, this role bypasses the -# additional ptrace restrictions -# N -> Don't require authentication for this role. To access -# the role, use gradm -n <rolename> -# s -> This role is a special role, meaning it does not belong to a -# user or group, and does not require an enforced secure policy -# base to be included in the ruleset -# u -> This role is a user role -# g -> This role is a group role -# G -> This role can use gradm to authenticate to the kernel -# A policy for gradm will automatically be added to the role -# T -> Enable TPE for this role -# l -> Enable learning for this role -# P -> Use PAM authentication for this role. -# -# a role can only be one of user, group, or special -# -# role_allow_ip IP/optional netmask -# eg: role_allow_ip 192.168.1.0/24 -# You can have as many of these per role as you want -# They restrict the use of a role to a list of IPs. If a user -# is on the system that would normally get the role does not -# belong to those lists of IPs, the system falls back through -# its method of determining a role for the user -# -# Role hierarchy -# user -> group -> default -# First a user role attempts to match, if one is not found, -# a group role attempts to match, if one is not found, -# the default role is used. -# -# role_transitions <special role 1> <special role 2> ... <special role n> -# eg: role_transitions www_admin dns_admin -# -# role transitions specify which special roles a given role is allowed -# to authenticate to. This applies to special roles that do not -# require password authentication as well. If a user tries to -# authenticate to a role that is not within his transition table, he -# will receive a permission denied error -# -# Nested subjects -# subject /bin/su:/bin/bash:/bin/cat -# / rwx -# +CAP_ALL -# grant privilege to specific processes if they are executed -# within a trusted path. In this case, privilege is -# granted if /bin/cat is executed from /bin/bash, which is -# executed from /bin/su. -# -# Configuration inheritance on nested subjects -# nested subjects inherit rules from their parents. In the -# example above, the nested subject would inherit rules -# from the nested subject for /bin/su:/bin/bash, -# and the subject /bin/su -# View the 1.9.x documentation for more information on -# configuration inheritance -# -# new object modes: -# m -> allow creation of setuid/setgid files/directories -# and modification of files/directories to be setuid/setgid -# M -> audit the setuid/setgid creation/modification -# c -> allow creation of the file/directory -# C -> audit the creation -# d -> allow deletion of the file/directory -# D -> audit the deletion -# p -> reject all ptraces to this object -# l -> allow a hardlink at this path -# (hardlinking requires at a minimum c and l modes, and the target -# link cannot have any greater permission than the source file) -# L -> audit link creation -# new subject modes: -# O -> disable "writable library" restrictions for this task -# t -> allow this process to ptrace any process (use with caution) -# r -> relax ptrace restrictions (allows process to ptrace processes -# other than its own descendants) -# i -> enable inheritance-based learning for this subject, causing -# all accesses of this subject and anything it executes to be placed -# in this subject, and inheritance flags added to executable objects -# in this subject -# a -> allow this process to talk to the /dev/grsec device -# -# user/group transitions: -# You may now specify what users and groups a given subject can -# transition to. This can be done on an inclusive or exclusive basis. -# Omitting these rules allows a process with proper privilege granted by -# capabilities to transition to any user/group. -# -# Examples: -# subject /bin/su -# user_transition_allow root spender -# group_transition_allow root spender -# subject /bin/su -# user_transition_deny evilhacker -# subject /bin/su -# group_transition_deny evilhacker1 evilhacker2 -# -# Domains: -# With domains you can combine users that don't share a common -# GID as well as groups so that they share a single policy -# Domains work just like roles, with the only exception being that -# the line starting with "role" is replaced with one of the following: -# domain somedomainname u user1 user2 user3 user4 ... usern -# domain somedomainname g group1 group2 group3 group4 ... groupn -# -# Inverted socket policies: -# Rules such as -# connect ! www.google.com:80 stream tcp -# are now allowed, which allows you to specify that a process can connect to anything -# except to port 80 of www.google.com with a stream tcp socket -# the inverted socket matching also works on bind rules -# -# INADDR_ANY overriding -# You can now force a given subject to bind to a particular IP address on the machine -# This is useful for some chrooted environments, to ensure that the source IP they -# use is one of your choosing -# to use, add a line like: -# ip_override 192.168.0.1 -# -# Per-interface socket policies: -# Rules such as -# bind eth1:80 stream tcp -# bind eth0#1:22 stream tcp -# are now allowed, giving you the ability to tie specific socket rules -# to a single interface (or by using the inverted rules, all but one -# interface). Virtual interfaces are specified by the <ifname>#<vindex> -# syntax. If an interface is specified, no IP/netmask or host may be -# specified for the rule. -# -# New learning system: -# To learn on a given subject: add l (the letter l, not the number 1) -# to the subject mode -# If you want to learn with the most restrictive policy, use the -# following: -# subject /path/to/bin lo -# / h -# -CAP_ALL -# connect disabled -# bind disabled -# Resource learning is also supported, so lines like -# RES_AS 0 0 -# can be used to learn a particular resource -# -# To learn on a given role, add l to the role mode -# For both of these, to enable learning, enable the system like: -# gradm -L /etc/grsec/learning.logs -E -# and then generate the rules after disabling the system after the -# learning phase with: -# gradm -L /etc/grsec/learning.logs -O /etc/grsec/policy -# To use full system learning, enable the system like: -# gradm -F -L /etc/grsec/learning.logs -# and then generate the rules after disabling the system after the -# learning phase with: -# gradm -F -L /etc/grsec/learning.logs -O /etc/grsec/policy -# -# New PaX flag format (replaces PaX subject flags): -# PaX flags can be forced on or off, regardless of the flags on the -# binary, by using + or - before the following PaX flag names: -# PAX_SEGMEXEC -# PAX_PAGEEXEC -# PAX_MPROTECT -# PAX_RANDMMAP -# PAX_EMUTRAMP -# -# New feature for easier policy maintenance: -# replace <variable name> <replace string> -# e.g.: -# replace CVSROOT /home/cvs -# now $(CVSROOT) can be used in any subject or object pathname, like: -# $(CVSROOT)/grsecurity r -# This will translate to /home/cvs/grsecurity r -# This feature makes it easier to update policies by naming specific -# paths by their function, then only having to update those paths once -# to have it affect a large number of subjects/objects. -# -# capability auditing / log suppression -# use of a capability can be audited by adding "audit" to the line, eg: -# +CAP_SYS_RAWIO audit -# log suppression for denial of a capbility can be done by adding "suppress": -# -CAP_SYS_RAWIO suppress -# -# Note that the omission of any feature of a role or subject -# results in a default-allow -# For instance, if no capability rules are added, an implicit +CAP_ALL is used -# - -# -# Default security policy provided by packages in Alpine are installed into -# /var/lib/grsec/policy.d as /var/lib/grsec/policy.d/$pkgname where $pkgname -# is the package name. It is not recommended that you edit those definitions -# unless you know what you're doing, as the Alpine system may depend on the -# presence of those definitions. -# - -include </var/lib/grsec/policy.d> - -# -# If you wish to add any additions to the system policy, you may do so below -# this line. As the configuration is read top-to-bottom, any changes you make -# here may override the default security policy. -# - diff --git a/unmaintained/h1-cli/APKBUILD b/unmaintained/h1-cli/APKBUILD deleted file mode 100644 index 05292847c68..00000000000 --- a/unmaintained/h1-cli/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Adam Dobrawy <a.dobrawy@hyperone.com> -# Maintainer: HyperOne staff <pkg-maintainers@hyperone.com> -pkgname=h1-cli -_pkgname=${pkgname/-cli/} -pkgver=1.8.1 -pkgrel=0 -pkgdesc="Command-line interface for HyperOne platform" -url="https://www.hyperone.com/tools/cli/" -arch="x86_64" -license="MIT" -depends="openssh-client" -makedepends="nodejs npm" -subpackages="rbx-cli:rbx" -source="$pkgname-$pkgver.tar.gz::https://github.com/hyperonecom/$pkgname/archive/v$pkgver.tar.gz" -options="!strip !check" - -build() { - npm install - npx pkg -c ./package.json -t "node12-alpine" -o "./dist/h1" "./bin/h1" - npx pkg -c ./package.json -t "node12-alpine" -o "./dist/rbx" "./bin/rbx" -} - -package() { - mkdir -p "$pkgdir"/usr/bin - cp "$builddir/dist/$_pkgname" "$pkgdir"/usr/bin/$_pkgname -} - -rbx() { - pkgdesc="Command-line interface for Rootbox platform" - url="http://rootbox.com/" - cd "$builddir" - mkdir -p "$subpkgdir"/usr/bin - cp "$builddir/dist/rbx" "$subpkgdir"/usr/bin/rbx -} - -sha512sums="f5ce8f53e542e08de9edbaf71229580a86945fd68cbc62e49031e130db53bc664646b2c3384c317cee113972c665f79a3566943ac6b1b96e138c099b897a2500 h1-cli-1.8.1.tar.gz" diff --git a/unmaintained/home-assistant/95b439fbd5ad96966dfe1176697c6ee4731a6207.patch b/unmaintained/home-assistant/95b439fbd5ad96966dfe1176697c6ee4731a6207.patch deleted file mode 100644 index f606d6f3497..00000000000 --- a/unmaintained/home-assistant/95b439fbd5ad96966dfe1176697c6ee4731a6207.patch +++ /dev/null @@ -1,469 +0,0 @@ -From 95b439fbd5ad96966dfe1176697c6ee4731a6207 Mon Sep 17 00:00:00 2001 -From: Lewis Juggins <ldjuggins@gmail.com> -Date: Fri, 25 Nov 2016 05:37:56 +0000 -Subject: [PATCH] Upgrade aiohttp to 1.1.5 (#4213) - ---- - homeassistant/components/frontend/__init__.py | 70 +++++++++++++++++---------- - homeassistant/components/http.py | 58 +++++++++++----------- - requirements_all.txt | 6 +-- - requirements_test.txt | 2 +- - setup.py | 4 +- - tests/components/media_player/test_demo.py | 10 ++-- - tests/components/test_google.py | 36 +++++++------- - tests/components/test_panel_iframe.py | 10 ++-- - 8 files changed, 106 insertions(+), 90 deletions(-) - -diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py -index 195d79e..6fde1ae 100644 ---- a/homeassistant/components/frontend/__init__.py -+++ b/homeassistant/components/frontend/__init__.py -@@ -8,7 +8,7 @@ - from aiohttp import web - - from homeassistant.core import callback --from homeassistant.const import EVENT_HOMEASSISTANT_START, HTTP_NOT_FOUND -+from homeassistant.const import HTTP_NOT_FOUND - from homeassistant.components import api, group - from homeassistant.components.http import HomeAssistantView - from .version import FINGERPRINTS -@@ -18,7 +18,6 @@ - URL_PANEL_COMPONENT = '/frontend/panels/{}.html' - URL_PANEL_COMPONENT_FP = '/frontend/panels/{}-{}.html' - STATIC_PATH = os.path.join(os.path.dirname(__file__), 'www_static') --PANELS = {} - MANIFEST_JSON = { - "background_color": "#FFFFFF", - "description": "Open-source home automation platform running on Python 3.", -@@ -32,6 +31,16 @@ - "theme_color": "#03A9F4" - } - -+for size in (192, 384, 512, 1024): -+ MANIFEST_JSON['icons'].append({ -+ "src": "/static/icons/favicon-{}x{}.png".format(size, size), -+ "sizes": "{}x{}".format(size, size), -+ "type": "image/png" -+ }) -+ -+DATA_PANELS = 'frontend_panels' -+DATA_INDEX_VIEW = 'frontend_index_view' -+ - # To keep track we don't register a component twice (gives a warning) - _REGISTERED_COMPONENTS = set() - _LOGGER = logging.getLogger(__name__) -@@ -68,10 +77,14 @@ def register_panel(hass, component_name, path, md5=None, sidebar_title=None, - - Warning: this API will probably change. Use at own risk. - """ -+ panels = hass.data.get(DATA_PANELS) -+ if panels is None: -+ panels = hass.data[DATA_PANELS] = {} -+ - if url_path is None: - url_path = component_name - -- if url_path in PANELS: -+ if url_path in panels: - _LOGGER.warning('Overwriting component %s', url_path) - if not os.path.isfile(path): - _LOGGER.error('Panel %s component does not exist: %s', -@@ -106,7 +119,15 @@ def register_panel(hass, component_name, path, md5=None, sidebar_title=None, - fprinted_url = URL_PANEL_COMPONENT_FP.format(component_name, md5) - data['url'] = fprinted_url - -- PANELS[url_path] = data -+ panels[url_path] = data -+ -+ # Register index view for this route if IndexView already loaded -+ # Otherwise it will be done during setup. -+ index_view = hass.data.get(DATA_INDEX_VIEW) -+ -+ if index_view: -+ hass.http.app.router.add_route('get', '/{}'.format(url_path), -+ index_view.get) - - - def add_manifest_json_key(key, val): -@@ -134,29 +155,24 @@ def setup(hass, config): - if os.path.isdir(local): - hass.http.register_static_path("/local", local) - -+ index_view = hass.data[DATA_INDEX_VIEW] = IndexView(hass) -+ hass.http.register_view(index_view) -+ -+ # Components have registered panels before frontend got setup. -+ # Now register their urls. -+ if DATA_PANELS in hass.data: -+ for url_path in hass.data[DATA_PANELS]: -+ hass.http.app.router.add_route('get', '/{}'.format(url_path), -+ index_view.get) -+ else: -+ hass.data[DATA_PANELS] = {} -+ - register_built_in_panel(hass, 'map', 'Map', 'mdi:account-location') - - for panel in ('dev-event', 'dev-info', 'dev-service', 'dev-state', - 'dev-template'): - register_built_in_panel(hass, panel) - -- def register_frontend_index(event): -- """Register the frontend index urls. -- -- Done when Home Assistant is started so that all panels are known. -- """ -- hass.http.register_view(IndexView( -- hass, ['/{}'.format(name) for name in PANELS])) -- -- hass.bus.listen_once(EVENT_HOMEASSISTANT_START, register_frontend_index) -- -- for size in (192, 384, 512, 1024): -- MANIFEST_JSON['icons'].append({ -- "src": "/static/icons/favicon-{}x{}.png".format(size, size), -- "sizes": "{}x{}".format(size, size), -- "type": "image/png" -- }) -- - return True - - -@@ -174,7 +190,7 @@ def get(self, request): - 'states': self.hass.states.async_all(), - 'events': api.async_events_json(self.hass), - 'services': api.async_services_json(self.hass), -- 'panels': PANELS, -+ 'panels': self.hass.data[DATA_PANELS], - }) - - -@@ -186,13 +202,12 @@ class IndexView(HomeAssistantView): - requires_auth = False - extra_urls = ['/states', '/states/{entity_id}'] - -- def __init__(self, hass, extra_urls): -+ def __init__(self, hass): - """Initialize the frontend view.""" - super().__init__(hass) - - from jinja2 import FileSystemLoader, Environment - -- self.extra_urls = self.extra_urls + extra_urls - self.templates = Environment( - loader=FileSystemLoader( - os.path.join(os.path.dirname(__file__), 'templates/') -@@ -223,7 +238,10 @@ def get(self, request, entity_id=None): - else: - panel = request.path.split('/')[1] - -- panel_url = PANELS[panel]['url'] if panel != 'states' else '' -+ if panel == 'states': -+ panel_url = '' -+ else: -+ panel_url = self.hass.data[DATA_PANELS][panel]['url'] - - no_auth = 'true' - if self.hass.config.api.api_password: -@@ -244,7 +262,7 @@ def get(self, request, entity_id=None): - resp = template.render( - core_url=core_url, ui_url=ui_url, no_auth=no_auth, - icons_url=icons_url, icons=FINGERPRINTS['mdi.html'], -- panel_url=panel_url, panels=PANELS) -+ panel_url=panel_url, panels=self.hass.data[DATA_PANELS]) - - return web.Response(text=resp, content_type='text/html') - -diff --git a/homeassistant/components/http.py b/homeassistant/components/http.py -index a008a3f..a6293d0 100644 ---- a/homeassistant/components/http.py -+++ b/homeassistant/components/http.py -@@ -20,7 +20,7 @@ - from aiohttp.file_sender import FileSender - from aiohttp.web_exceptions import ( - HTTPUnauthorized, HTTPMovedPermanently, HTTPNotModified) --from aiohttp.web_urldispatcher import StaticRoute -+from aiohttp.web_urldispatcher import StaticResource - - from homeassistant.core import is_callback - import homeassistant.remote as rem -@@ -33,7 +33,7 @@ - from homeassistant.components import persistent_notification - - DOMAIN = 'http' --REQUIREMENTS = ('aiohttp_cors==0.4.0',) -+REQUIREMENTS = ('aiohttp_cors==0.5.0',) - - CONF_API_PASSWORD = 'api_password' - CONF_SERVER_HOST = 'server_host' -@@ -212,13 +212,8 @@ def send(self, request, filepath): - file_size = st.st_size - - resp.content_length = file_size -- resp.set_tcp_cork(True) -- try: -- with filepath.open('rb') as f: -- yield from self._sendfile(request, resp, f, file_size) -- -- finally: -- resp.set_tcp_nodelay(True) -+ with filepath.open('rb') as f: -+ yield from self._sendfile(request, resp, f, file_size) - - return resp - -@@ -226,26 +221,32 @@ def send(self, request, filepath): - _GZIP_FILE_SENDER = GzipFileSender() - - --class HAStaticRoute(StaticRoute): -- """StaticRoute with support for fingerprinting.""" -+@asyncio.coroutine -+def staticresource_enhancer(app, handler): -+ """Enhance StaticResourceHandler. -+ -+ Adds gzip encoding and fingerprinting matching. -+ """ -+ inst = getattr(handler, '__self__', None) -+ if not isinstance(inst, StaticResource): -+ return handler - -- def __init__(self, prefix, path): -- """Initialize a static route with gzip and cache busting support.""" -- super().__init__(None, prefix, path) -- self._file_sender = _GZIP_FILE_SENDER -+ # pylint: disable=protected-access -+ inst._file_sender = _GZIP_FILE_SENDER - -- def match(self, path): -- """Match path to filename.""" -- if not path.startswith(self._prefix): -- return None -+ @asyncio.coroutine -+ def middleware_handler(request): -+ """Strip out fingerprints from resource names.""" -+ fingerprinted = _FINGERPRINT.match(request.match_info['filename']) - -- # Extra sauce to remove fingerprinted resource names -- filename = path[self._prefix_len:] -- fingerprinted = _FINGERPRINT.match(filename) - if fingerprinted: -- filename = '{}.{}'.format(*fingerprinted.groups()) -+ request.match_info['filename'] = \ -+ '{}.{}'.format(*fingerprinted.groups()) -+ -+ resp = yield from handler(request) -+ return resp - -- return {'filename': filename} -+ return middleware_handler - - - class HomeAssistantWSGI(object): -@@ -257,7 +258,8 @@ def __init__(self, hass, development, api_password, ssl_certificate, - """Initialize the WSGI Home Assistant server.""" - import aiohttp_cors - -- self.app = web.Application(loop=hass.loop) -+ self.app = web.Application(middlewares=[staticresource_enhancer], -+ loop=hass.loop) - self.hass = hass - self.development = development - self.api_password = api_password -@@ -318,11 +320,7 @@ def register_static_path(self, url_root, path, cache_length=31): - Specify optional cache length of asset in days. - """ - if os.path.isdir(path): -- assert url_root.startswith('/') -- if not url_root.endswith('/'): -- url_root += '/' -- route = HAStaticRoute(url_root, path) -- self.app.router.register_route(route) -+ self.app.router.add_static(url_root, path) - return - - filepath = Path(path) -diff --git a/requirements_all.txt b/requirements_all.txt -index af47a1d..f9ff30d 100644 ---- a/requirements_all.txt -+++ b/requirements_all.txt -@@ -6,8 +6,8 @@ pip>=7.0.0 - jinja2>=2.8 - voluptuous==0.9.2 - typing>=3,<4 --aiohttp==1.0.5 --async_timeout==1.0.0 -+aiohttp==1.1.5 -+async_timeout==1.1.0 - - # homeassistant.components.nuimo_controller - --only-binary=all git+https://github.com/getSenic/nuimo-linux-python#nuimo==1.0.0 -@@ -31,7 +31,7 @@ SoCo==0.12 - TwitterAPI==2.4.2 - - # homeassistant.components.http --aiohttp_cors==0.4.0 -+aiohttp_cors==0.5.0 - - # homeassistant.components.apcupsd - apcaccess==0.0.4 -diff --git a/requirements_test.txt b/requirements_test.txt -index 7846318..838e4c9 100644 ---- a/requirements_test.txt -+++ b/requirements_test.txt -@@ -10,7 +10,7 @@ pytest>=2.9.2 - pytest-aiohttp>=0.1.3 - pytest-asyncio>=0.5.0 - pytest-cov>=2.3.1 --pytest-timeout>=1.0.0 -+pytest-timeout>=1.2.0 - pytest-catchlog>=1.2.2 - requests_mock>=1.0 - mock-open>=1.3.1 -diff --git a/setup.py b/setup.py -index 145b027..7060550 100755 ---- a/setup.py -+++ b/setup.py -@@ -21,8 +21,8 @@ - 'jinja2>=2.8', - 'voluptuous==0.9.2', - 'typing>=3,<4', -- 'aiohttp==1.0.5', -- 'async_timeout==1.0.0', -+ 'aiohttp==1.1.5', -+ 'async_timeout==1.1.0', - ] - - setup( -diff --git a/tests/components/media_player/test_demo.py b/tests/components/media_player/test_demo.py -index 8bcda32..3539c73 100644 ---- a/tests/components/media_player/test_demo.py -+++ b/tests/components/media_player/test_demo.py -@@ -245,13 +245,17 @@ def setUp(self): - """Setup things to be run when tests are started.""" - self.hass = get_test_home_assistant() - -- setup_component(self.hass, http.DOMAIN, { -+ assert setup_component(self.hass, http.DOMAIN, { - http.DOMAIN: { - http.CONF_SERVER_PORT: SERVER_PORT, - http.CONF_API_PASSWORD: API_PASSWORD, - }, - }) - -+ assert setup_component( -+ self.hass, mp.DOMAIN, -+ {'media_player': {'platform': 'demo'}}) -+ - self.hass.start() - - def tearDown(self): -@@ -287,10 +291,6 @@ def close(self): - - self.hass._websession = MockWebsession() - -- self.hass.block_till_done() -- assert setup_component( -- self.hass, mp.DOMAIN, -- {'media_player': {'platform': 'demo'}}) - assert self.hass.states.is_state(entity_id, 'playing') - state = self.hass.states.get(entity_id) - req = requests.get(HTTP_BASE_URL + -diff --git a/tests/components/test_google.py b/tests/components/test_google.py -index 10db913..fbaddb1 100644 ---- a/tests/components/test_google.py -+++ b/tests/components/test_google.py -@@ -34,6 +34,7 @@ def test_setup_component(self, mock_do_auth): - self.assertTrue(setup_component(self.hass, 'google', config)) - - def test_get_calendar_info(self): -+ """Test getting the calendar info.""" - calendar = { - 'id': 'qwertyuiopasdfghjklzxcvbnm@import.calendar.google.com', - 'etag': '"3584134138943410"', -@@ -61,21 +62,22 @@ def test_get_calendar_info(self): - }) - - def test_found_calendar(self): -- calendar = { -- 'id': 'qwertyuiopasdfghjklzxcvbnm@import.calendar.google.com', -- 'etag': '"3584134138943410"', -- 'timeZone': 'UTC', -- 'accessRole': 'reader', -- 'foregroundColor': '#000000', -- 'selected': True, -- 'kind': 'calendar#calendarListEntry', -- 'backgroundColor': '#16a765', -- 'description': 'Test Calendar', -- 'summary': 'We are, we are, a... Test Calendar', -- 'colorId': '8', -- 'defaultReminders': [], -- 'track': True -- } -+ """Test when a calendar is found.""" -+ # calendar = { -+ # 'id': 'qwertyuiopasdfghjklzxcvbnm@import.calendar.google.com', -+ # 'etag': '"3584134138943410"', -+ # 'timeZone': 'UTC', -+ # 'accessRole': 'reader', -+ # 'foregroundColor': '#000000', -+ # 'selected': True, -+ # 'kind': 'calendar#calendarListEntry', -+ # 'backgroundColor': '#16a765', -+ # 'description': 'Test Calendar', -+ # 'summary': 'We are, we are, a... Test Calendar', -+ # 'colorId': '8', -+ # 'defaultReminders': [], -+ # 'track': True -+ # } - - # self.assertIsInstance(self.hass.data[google.DATA_INDEX], dict) - # self.assertEquals(self.hass.data[google.DATA_INDEX], {}) -@@ -84,8 +86,8 @@ def test_found_calendar(self): - self.hass.config.path(google.TOKEN_FILE)) - self.assertTrue(google.setup_services(self.hass, True, - calendar_service)) -- self.hass.services.call('google', 'found_calendar', calendar, -- blocking=True) -+ # self.hass.services.call('google', 'found_calendar', calendar, -+ # blocking=True) - - # TODO: Fix this - # self.assertTrue(self.hass.data[google.DATA_INDEX] -diff --git a/tests/components/test_panel_iframe.py b/tests/components/test_panel_iframe.py -index ac479de..cf2fdc2 100644 ---- a/tests/components/test_panel_iframe.py -+++ b/tests/components/test_panel_iframe.py -@@ -14,12 +14,10 @@ class TestPanelIframe(unittest.TestCase): - def setup_method(self, method): - """Setup things to be run when tests are started.""" - self.hass = get_test_home_assistant() -- frontend.PANELS = {} - - def teardown_method(self, method): - """Stop everything that was started.""" - self.hass.stop() -- frontend.PANELS = {} - - def test_wrong_config(self): - """Test setup with wrong configuration.""" -@@ -55,9 +53,9 @@ def test_correct_config(self): - }, - }) - -- # 5 dev tools + map are automatically loaded -- assert len(frontend.PANELS) == 8 -- assert frontend.PANELS['router'] == { -+ # 5 dev tools + map are automatically loaded + 2 iframe panels -+ assert len(self.hass.data[frontend.DATA_PANELS]) == 8 -+ assert self.hass.data[frontend.DATA_PANELS]['router'] == { - 'component_name': 'iframe', - 'config': {'url': 'http://192.168.1.1'}, - 'icon': 'mdi:network-wireless', -@@ -66,7 +64,7 @@ def test_correct_config(self): - 'url_path': 'router' - } - -- assert frontend.PANELS['weather'] == { -+ assert self.hass.data[frontend.DATA_PANELS]['weather'] == { - 'component_name': 'iframe', - 'config': {'url': 'https://www.wunderground.com/us/ca/san-diego'}, - 'icon': 'mdi:weather', diff --git a/unmaintained/home-assistant/APKBUILD b/unmaintained/home-assistant/APKBUILD deleted file mode 100644 index 01e18d79b2b..00000000000 --- a/unmaintained/home-assistant/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=home-assistant -_pkgname=homeassistant -pkgver=0.33.4 -pkgrel=1 -pkgdesc="A Home automation platform" -url="https://home-assistant.io" -arch="all" -license="MIT" -depends=" - py3-requests - py3-yaml - py3-tz - py3-jinja2 - py3-voluptuous - py3-aiohttp - py-netdisco - " -makedepends="python3-dev" -subpackages="" -pkgusers="hass" -pkggroups="hass" -install="$pkgname.pre-install" -source="$pkgname-$pkgver.tar.gz::https://github.com/home-assistant/home-assistant/archive/$pkgver.tar.gz - 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch - update-deps.patch - - $pkgname.initd - $pkgname.confd" - -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build || return 1 - cd "$_builddir_aiohttp" - python3 setup.py build || return 1 -} - -package() { - cd "$builddir" - python3 setup.py install \ - --root="$pkgdir" --prefix=/usr --optimize=1 || return 1 - install -Dm 755 "$srcdir/$pkgname".initd \ - "$pkgdir"/etc/init.d/hass || return 1 - install -Dm 644 "$srcdir/$pkgname".confd \ - "$pkgdir"/etc/conf.d/hass || return 1 -} - -md5sums="6e48b65ed8cdfc330d7b41b9625a53dc home-assistant-0.33.4.tar.gz -0b10f28946288be517d237fff8bd6a4d 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch -e9594298e7aef8e682bf09bb6801081c update-deps.patch -f98b4840a76b5cee70b2f825cfb26103 home-assistant.initd -6cc698d864cfe3970913202ccf4ccbab home-assistant.confd" -sha256sums="4946fbba5c9951d4b587f4a5048a45b8636d3d5da9e9858899bb81aa30225bfc home-assistant-0.33.4.tar.gz -3e2d0e4c8aca753d8dd39fbe3422cccf141d2d261175dcaa136ff430a0201d57 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch -da580edf8ee2ad1d3855092c9c19421dee4348f78adb12ddb54f9c4ab042f48e update-deps.patch -3518ebc275eee3041ff2821a83b7bb6151990b37c4512b0497874a9eb6b28cc8 home-assistant.initd -ed25ddb01fc0362bb5442ef8ca1ae9a1382334f0cadc54dec53a5d5b5c46c8c3 home-assistant.confd" -sha512sums="9880294ec8e6cf86ce3f7d076dfd4a89857cbf9ac587a40a9550fe981fd5dacdcbb29dd9ebd4906dfd6948249903e359eb6d3fab83a7dd00c95c1cc96e06088d home-assistant-0.33.4.tar.gz -3f4c6f8f2b6ebfc8a57834bfda4e955d6ecefe959ce55599dca94fe78d69ec80f104414c367c9a280c587f8cb88f0ac0a72cb458d2268b094c1b61cdf47568c1 95b439fbd5ad96966dfe1176697c6ee4731a6207.patch -86daecf24c5a595bf7c8ee39c4c2bc7abc829f7e9f4579651c0ab24dc57ea29f50a1c94cae765d7f1ed16c0138b3561587b8675a18d0dd1b117f3527b4cbd82f update-deps.patch -34b8387836490228d94f6836bd0222812285d0a1161225b47b03c1398526f235c2ef2180ebaf0a81fe59165230467b5ad75eb06b3349175ef655da9bd00acd8e home-assistant.initd -12c24a79245ec70f001e63f60737017974f61ac5b508d29f998cd60ad5c0e97dfd0c5efb4f3d8357be1d05b7585de9b8d945f8f73b47e94e3667c9b02138f822 home-assistant.confd" diff --git a/unmaintained/home-assistant/home-assistant.confd b/unmaintained/home-assistant/home-assistant.confd deleted file mode 100644 index 591809b1471..00000000000 --- a/unmaintained/home-assistant/home-assistant.confd +++ /dev/null @@ -1,5 +0,0 @@ -# hass settings -HASS_CONF="/var/lib/hass" -HASS_PID="/run/hass/hass.pid" -HASS_USER="hass" -HASS_GROUP="hass" diff --git a/unmaintained/home-assistant/home-assistant.initd b/unmaintained/home-assistant/home-assistant.initd deleted file mode 100755 index b5dc6b07480..00000000000 --- a/unmaintained/home-assistant/home-assistant.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run - -name="Home Assistant" -command="/usr/bin/hass" -command_args="--config $HASS_CONF --pid-file $HASS_PID --daemon" -start_stop_daemon_args="--user $HASS_USER --group $HASS_GROUP" -pidfile="$HASS_PID" -retry="TERM/30/KILL/5" - -depend() { - need net localmount - after firewall -} - -start_pre() { - checkpath --directory --owner $HASS_USER:$HASS_GROUP --mode 0775 \ - /run/hass -} diff --git a/unmaintained/home-assistant/home-assistant.pre-install b/unmaintained/home-assistant/home-assistant.pre-install deleted file mode 100644 index b94ac9b4180..00000000000 --- a/unmaintained/home-assistant/home-assistant.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S hass 2>/dev/null -adduser -S -D -h /var/lib/hass -s /sbin/nologin -G hass -g "Home Assistent" hass 2>/dev/null - -exit 0 diff --git a/unmaintained/home-assistant/update-deps.patch b/unmaintained/home-assistant/update-deps.patch deleted file mode 100644 index cb7f595766e..00000000000 --- a/unmaintained/home-assistant/update-deps.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- ./setup.py.orig -+++ ./setup.py -@@ -17,12 +17,10 @@ - 'requests>=2,<3', - 'pyyaml>=3.11,<4', - 'pytz>=2016.7', -- 'pip>=7.0.0', - 'jinja2>=2.8', -- 'voluptuous==0.9.2', -- 'typing>=3,<4', -- 'aiohttp==1.1.5', -- 'async_timeout==1.1.0', -+ 'voluptuous>=0.9.2', -+ 'aiohttp>=1.1.5', -+ 'async_timeout>=1.1.0', - ] - - setup( diff --git a/unmaintained/icedtea-web/APKBUILD b/unmaintained/icedtea-web/APKBUILD deleted file mode 100644 index d3700c6fb53..00000000000 --- a/unmaintained/icedtea-web/APKBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=icedtea-web -pkgver=1.6.2 -pkgrel=0 -pkgdesc="web integration packages for icedtea" -url="http://icedtea.classpath.org/wiki/IcedTea-Web" -arch="aarch64 x86 x86_64 ppc64le" -license="GPL" -depends="openjdk8-jre bash" -depends_dev="openjdk8 gtk+2.0-dev nspr-dev" -makedepends="tar zip bash $depends_dev npapi-sdk" -install="" -subpackages="$pkgname-mozilla $pkgname-doc" -source="http://icedtea.wildebeest.org/download/source/icedtea-web-$pkgver.tar.gz - " -_jdkver="1.8" - -_builddir="$srcdir"/icedtea-web-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr/lib/jvm/java-$_jdkver-openjdk \ - --datarootdir=/usr/share \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-jdk-home=/usr/lib/jvm/java-$_jdkver-openjdk \ - --with-pkgversion=Alpine \ - --disable-docs \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 -} - -mozilla() { - pkgdesc="web integration packages for icedtea - mozilla plugin" - install_if="$pkgname=$pkgver-r$pkgrel firefox" - mkdir -p "$subpkgdir"/usr/lib/mozilla/plugins - mkdir -p "$subpkgdir"/usr/lib/jvm/java-$_jdkver-openjdk/lib - mv "$pkgdir"/usr/lib/jvm/java-$_jdkver-openjdk/lib/IcedTeaPlugin.so \ - "$subpkgdir"/usr/lib/jvm/java-$_jdkver-openjdk/lib - ln -sf /usr/lib/jvm/java-$_jdkver-openjdk/lib/IcedTeaPlugin.so \ - "$subpkgdir"/usr/lib/mozilla/plugins/libjavaplugin.so - return 0 -} - -sha512sums="32c9618a575bf05d3fbe5fec3f8429d55036acde70bf7ccf40b59e14eba775d1f561640acbf673b1737a8c5c3a8eadb74e8f1bef525cfa6060e3f1968d45b3f7 icedtea-web-1.6.2.tar.gz" diff --git a/unmaintained/idris/APKBUILD b/unmaintained/idris/APKBUILD deleted file mode 100644 index 5b989e84ca6..00000000000 --- a/unmaintained/idris/APKBUILD +++ /dev/null @@ -1,159 +0,0 @@ -# Contributor: Mitch Tishmack <mitch.tishmack@gmail.com> -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Mitch Tishmack <mitch.tishmack@gmail.com> -pkgname=idris -pkgver=1.3.3 -pkgrel=1 -pkgdesc="A Language with Dependent Types" -url="https://www.idris-lang.org/" -# Note: same as ghc, if it gets ported elsewhere this should run too. -# armhf: disabled due to build failure -arch="" # failed to build -license="BSD-3-Clause" -depends="gmp-dev gcc" -makedepends="ghc cabal libffi-dev ncurses-dev zlib-dev" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz - cabal.config - " -builddir="$srcdir/Idris-dev-$pkgver" - -_cabal_home="$srcdir/cabal" - -# Prevent cabal setup from using unbounded memory -_cabal_install_opts=" --max-backjumps=10000" - -cabal_update() { - msg "Updating constraints" - - cd "$builddir" - - # Create cabal config and fetch index. - HOME="$_cabal_home" cabal v1-update - - # Resolve deps and generate fresh cabal.config with version constraints. - rm -f cabal.config - HOME="$_cabal_home" cabal v1-freeze --shadow-installed-packages - - # Add version tag at the first line. - sed -i "1i--$pkgver" cabal.config - - # Remove rts/ghc-boot-sh package if they somehow got inserted - sed -i -e "s/.*rts.*//g" -e "s/.*ghc-boot-th.*//g" cabal.config - - mv cabal.config "$startdir"/ - - cd "$startdir" - abuild checksum -} - -# Used by the subsequent two functions. -# This barf of a pipeline converts the cabal freeze config file lines from: -# constraints: foo ==VERSION, -# bar ==VERSION -# etc... -# To something we can more easily munge into what we need for other purposes -# aka we end up with: -# foo==VERSION bar==VERSION ... -_cabal_constraints_prime() { - printf "$(grep '==' cabal.config | \ - sed -e 's/constraints[:]//g' | \ - tr -d '[:space:]' | \ - sed -e 's/[,]/ /g')" -} - -# Take the output from above and replace =='s to -'s so we can cabal fetch -# the specific package-version's via cabal -_cabal_pkgs() { - printf "$(_cabal_constraints_prime)" | sed -e 's/==/-/g' -} - -# Similar to the above, but convert to --constraint args used for cabal install -# so that our cabal install line can use the same constraints for idris in cabal.config. -# -# This works around us running against a newer hackage index where one of the packages -# in the freeze file has a newer version that cabal install libffi could end up -# selecting due to libffi having more relaxed constraints than idris. -# -# That is: -# --constraint=foo==VERSION --constraint=bar==VERSION -_cabal_constraints() { - printf " $(_cabal_constraints_prime)" | sed -e 's/ / --constraint=/g' -} - -prepare() { - default_prepare - - if [ "$(head -n 1 "$srcdir"/cabal.config)" != "--$pkgver" ]; then - die "Requirements file is outdated, run 'abuild cabal_update'" - fi - - # Create cabal config and fetch index. - HOME="$_cabal_home" cabal v1-update - - # Cabal implicitly loads cabal.config from the project's directory. - ln -sf "$srcdir"/cabal.config . - - # Create Cabal sandbox that will be used for all subsequent cabal - # invocations. This is something like Python virtual env. - cmd="cabal v1-sandbox init" - msg "$cmd" - HOME="$_cabal_home" $cmd - - # Fetch all dependencies. - # Note: cabal-doctest is a transitive dependency for libffi-0.1 not idris - cmd="cabal fetch --no-dependencies $(_cabal_pkgs) cabal-doctest-1.0.2 libffi-0.1" - msg "$cmd" - HOME="$_cabal_home" $cmd -} - -build() { - # Build dependencies - # Note: for libffi force constraints manually via the freeze file to prevent - # cabal from possibly using newer constraints for libffi that might intersect - # with those idris uses. - HOME="$_cabal_home" cabal v1-install $_cabal_install_opts --offline --constraint=cabal-doctest==1.0.2 \ - $(_cabal_constraints) -v libffi-0.1 - HOME="$_cabal_home" cabal v1-install $_cabal_install_opts --offline --only-dependencies -v - - # Note: ordering of prefixes is important! - HOME="$_cabal_home" cabal v1-configure \ - --prefix='/usr' \ - --docdir='$prefix/share/doc' \ - --datadir='$prefix/share' \ - --htmldir='$docdir/html' \ - --libdir='$prefix/lib' \ - --libsubdir="$pkgname" \ - --datasubdir="$pkgname" \ - --dynlibdir="$pkgname" \ - --disable-shared \ - --disable-profiling \ - --disable-library-profiling \ - --flags='GMP FFI standalone' - HOME="$_cabal_home" cabal v1-build -j -} - -# TODO: Run upstream tests and/or figure out how to set paths to be able -# to compile hello_world for check. -check() { - ./dist/build/idris/idris --version -} - -package() { - HOME="$_cabal_home" cabal v1-copy --destdir="$pkgdir" - - cd "$pkgdir" - - # We don't need the haskell shared libraries or interface files. - rm -r usr/lib/idris - - mkdir -p usr/share/doc/idris/ \ - usr/share/licenses/$pkgname/ - mv usr/share/idris/docs usr/share/doc/idris - mv usr/share/doc/LICENSE usr/share/licenses/$pkgname/ -} - -sha512sums=" -fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de idris-1.3.3.tar.gz -497f2f0e37040b93669026dd148ece87c1df1a441598a164fdc3c8093beead6b22e543c4da8eb00ccdcf5482c6d1df4df67a55f5cb502d12c9e3eff668387c21 cabal.config -" diff --git a/unmaintained/idris/cabal.config b/unmaintained/idris/cabal.config deleted file mode 100644 index b6c79f7d2e9..00000000000 --- a/unmaintained/idris/cabal.config +++ /dev/null @@ -1,98 +0,0 @@ ---1.3.3 -constraints: Cabal ==3.0.1.0, - aeson ==1.4.7.1, - annotated-wl-pprint ==0.7.0, - ansi-terminal ==0.10.3, - ansi-wl-pprint ==0.6.9, - array ==0.5.4.0, - async ==2.2.2, - attoparsec ==0.13.2.4, - base ==4.13.0.0, - base-compat ==0.11.1, - base-compat-batteries ==0.11.1, - base-orphans ==0.8.2, - base64-bytestring ==1.1.0.0, - binary ==0.8.7.0, - blaze-builder ==0.4.1.0, - blaze-html ==0.9.1.2, - blaze-markup ==0.8.2.5, - bytestring ==0.10.10.0, - case-insensitive ==1.2.1.0, - cheapskate ==0.1.1.2, - code-page ==0.2, - colour ==2.3.5, - constraints ==0.12, - containers ==0.6.2.1, - css-text ==0.1.3.0, - data-default ==0.7.1.1, - data-default-class ==0.1.2.0, - data-default-instances-containers ==0.0.1, - data-default-instances-dlist ==0.0.1, - data-default-instances-old-locale ==0.0.1, - deepseq ==1.4.4.0, - digest ==0.0.1.2, - directory ==1.3.6.0, - dlist ==0.8.0.8, - enclosed-exceptions ==1.0.3, - exceptions ==0.10.4, - filepath ==1.4.2.1, - fingertree ==0.1.4.2, - fsnotify ==0.3.0.1, - - ghc-prim ==0.5.3, - hashable ==1.3.0.0, - haskeline ==0.7.5.0, - hinotify ==0.4, - hsc2hs ==0.68.7, - ieee754 ==0.8.0, - integer-gmp ==1.0.2.0, - integer-logarithms ==1.0.3, - lifted-async ==0.10.0.6, - lifted-base ==0.2.3.12, - megaparsec ==8.0.0, - monad-control ==1.0.2.3, - mtl ==2.2.2, - network ==3.1.1.1, - network-uri ==2.6.3.0, - old-locale ==1.0.0.7, - optparse-applicative ==0.15.1.0, - parsec ==3.1.14.0, - parser-combinators ==1.2.1, - pretty ==1.1.3.6, - primitive ==0.7.1.0, - process ==1.6.8.0, - random ==1.1, - regex-base ==0.94.0.0, - regex-tdfa ==1.3.1.0, - - safe ==0.3.19, - scientific ==0.3.6.2, - semigroups ==0.19.1, - shelly ==1.9.0, - split ==0.2.3.4, - stm ==2.5.0.0, - syb ==0.7.1, - tagged ==0.8.6, - tagsoup ==0.14.8, - template-haskell ==2.15.0.0, - terminal-size ==0.3.2.1, - terminfo ==0.4.1.4, - text ==1.2.4.0, - th-abstraction ==0.3.2.0, - time ==1.9.3, - time-compat ==1.9.3, - transformers ==0.5.6.2, - transformers-base ==0.4.5.2, - transformers-compat ==0.6.5, - type-equality ==1, - uniplate ==1.6.12, - unix ==2.7.2.2, - unix-compat ==0.5.2, - unordered-containers ==0.2.11.0, - utf8-string ==1.0.1.1, - uuid-types ==1.0.3, - vector ==0.12.1.2, - vector-binary-instances ==0.2.5.1, - xss-sanitize ==0.3.6, - zip-archive ==0.4.1, - zlib ==0.6.2.1 diff --git a/unmaintained/imgbrd-grabber/APKBUILD b/unmaintained/imgbrd-grabber/APKBUILD deleted file mode 100644 index 695c3099e8e..00000000000 --- a/unmaintained/imgbrd-grabber/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: -pkgname=imgbrd-grabber -pkgver=7.3.2 -pkgrel=1 -pkgdesc="Powerful imageboard/booru downloader" -options="!check" # Tests requires graphics -url="https://bionus.github.io/imgbrd-grabber" -# mps64 and mips64el blocked by nodejs restrictions -# armhf blocked by qt5-qtdeclarative -arch="all !mips64 !mips64el !armhf" -license="Apache-2.0" -makedepends="cmake nodejs qt5-qtdeclarative-dev qt5-qtmultimedia-dev - qt5-qtbase-mysql qt5-qtbase-odbc qt5-qtbase-sqlite qt5-qtbase-tds - qt5-qtscript-dev qt5-qtbase-dev qt5-qttools-dev npm" -source="$pkgname-$pkgver.tar.gz::https://github.com/Bionus/imgbrd-grabber/archive/v$pkgver.tar.gz" -builddir="$srcdir"/imgbrd-grabber-$pkgver/src - -prepare() { - default_prepare - sed -i 's|USE_QSCINTILLA 1|USE_QSCINTILLA 0|' gui/CMakeLists.txt - sed -i 's|USE_BREAKPAD 1|USE_BREAKPAD 0|' gui/CMakeLists.txt - sed -i '/add_subdirectory(tests)/d' CMakeLists.txt -} - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake -B build \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - $CMAKE_CROSSOPTS - make -C build -} - -package() { - make -C build DESTDIR="$pkgdir" install - touch "$pkgdir"/usr/share/Grabber/settings.ini -} - -sha512sums="44ee7f55d9cc6efee3ae27ace15fd54fd1b3d8511e8bc831fb6146a4ee46e4a0bbd753fa69361f385a58fc1ce743694d2eda044c13ae813835e69080a2a28acc imgbrd-grabber-7.3.2.tar.gz" diff --git a/unmaintained/inifiled/APKBUILD b/unmaintained/inifiled/APKBUILD deleted file mode 100644 index 1deb5fbfa7b..00000000000 --- a/unmaintained/inifiled/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=inifiled -pkgver=1.3.1 -pkgrel=1 -pkgdesc="a compile time ini file parser and writter generator for D" -url="https://github.com/burner/inifiled" -arch="x86_64 aarch64" # ldc -license="LGPL-3.0-only" -makedepends="ldc ldc-runtime" -subpackages="$pkgname-dev" -source="https://github.com/burner/inifiled/archive/v$pkgver/inifiled-$pkgver.tar.gz" - -build() { - ldc2 source/*.d -shared -Os -soname=libinifiled.so.${pkgver%%.*} -of libinifiled.so -} - -check() { - ldc2 source/*.d -unittest -main -Os -of libinifiled-test - ./libinifiled-test -} - -package() { - install -Dm755 libinifiled.so "$pkgdir"/usr/lib/libinifiled.so.$pkgver - ln -s libinifiled.so.$pkgver "$pkgdir"/usr/lib/libinifiled.so.${pkgver%%.*} - ln -s libinifiled.so.${pkgver%%.*} "$pkgdir"/usr/lib/libinifiled.so - - mkdir -p "$pkgdir"/usr/include/d/inifiled - cp -r source "$pkgdir"/usr/include/d/inifiled/inifiled -} - -sha512sums="243433a0ecc155d8012dfd6f2422aac80e1b9b0f9c5b877b5573a02d93180bd7a7407820cdebdec226c498d6b4c14aad544971572e6e3a62846c9e24d4e2c85e inifiled-1.3.1.tar.gz" diff --git a/unmaintained/intel-compute-runtime/APKBUILD b/unmaintained/intel-compute-runtime/APKBUILD deleted file mode 100644 index f84550ffc76..00000000000 --- a/unmaintained/intel-compute-runtime/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Dennis Krupenik <dennis@krupenik.com> -# Maintainer: Dennis Krupenik <dennis@krupenik.com> -pkgname=intel-compute-runtime -pkgver=21.09.19150 -pkgrel=0 -pkgdesc="Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver" -url="https://github.com/intel/compute-runtime" -arch="x86_64" -license="MIT" -depends_dev="intel-gmmlib-dev intel-graphics-compiler-dev libexecinfo-dev libva-dev" -makedepends="$depends_dev cmake" -subpackages="$pkgname-dev" -source="https://github.com/intel/compute-runtime/archive/$pkgver/compute-runtime-$pkgver.tar.gz - link-execinfo.patch - pthread-yield.patch - remove-rtld-deepbind.patch - remove-select.patch" -builddir="$srcdir/compute-runtime-$pkgver" -options="!check" # runs unit tests in preinstall - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DSKIP_UNIT_TESTS=1 \ - $CMAKE_CROSSOPTS . - nice make -C build -j"$(nproc)" -} - -package() { - make -C build DESTDIR="$pkgdir" install -} - -sha512sums="e512e577a835dfe384b6187e687cadf663f7a4f5d720ed8df36c20e735083b99c5467f9ee2f0ceb12db6b4b0522e761f2dbeee2832ce7ccc03f5a520f72d790e compute-runtime-21.09.19150.tar.gz -5cf4bb4114ffc9940e20f3d3f21edb5b1e6f9157b38c4232cb16ff7fb52e36eedb26b008ed5801c257233375315a950e4e6e47756be01ca9787a1b6f42fbe369 link-execinfo.patch -855284aad45809046266e0def176f16f28dcd08154d39ffd2e34c92127f52da0f24a5679ec1d5005369f878a9947e69c21fd34cda31b636d04d055956b3cf06b pthread-yield.patch -5b63d5a480fa72353cf6229d77391163631cdb00e1ce444d75d3681128468726df9f74eb3b44eebd47d62fb2779a61d12d983ebe38902d063a7e54ea3347a52a remove-rtld-deepbind.patch -8ee0f776f06858cedaed0194618030eb7d0e27e27b7488daf975e3f6eb6df378461b93a300ecd68366ded2ec28d7c53ee35711e2c9cbe2c8634423bb03e9cf57 remove-select.patch" diff --git a/unmaintained/intel-compute-runtime/link-execinfo.patch b/unmaintained/intel-compute-runtime/link-execinfo.patch deleted file mode 100644 index b2ee2bc27d6..00000000000 --- a/unmaintained/intel-compute-runtime/link-execinfo.patch +++ /dev/null @@ -1,50 +0,0 @@ -add execinfo library ---- ---- a/opencl/test/unit_test/offline_compiler/CMakeLists.txt -+++ b/opencl/test/unit_test/offline_compiler/CMakeLists.txt -@@ -87,7 +87,7 @@ - ) - target_compile_definitions(ocloc_tests PUBLIC MOCKABLE_VIRTUAL=virtual $<TARGET_PROPERTY:ocloc_lib,INTERFACE_COMPILE_DEFINITIONS>) - --target_link_libraries(ocloc_tests gmock-gtest) -+target_link_libraries(ocloc_tests gmock-gtest execinfo) - - if(WIN32) - target_link_libraries(ocloc_tests dbghelp) - ---- a/opencl/test/unit_test/offline_compiler/segfault_test/CMakeLists.txt -+++ b/opencl/test/unit_test/offline_compiler/segfault_test/CMakeLists.txt -@@ -38,7 +38,7 @@ - target_link_libraries(ocloc_segfault_test dbghelp) - endif() - if(UNIX) -- target_link_libraries(ocloc_segfault_test dl pthread) -+ target_link_libraries(ocloc_segfault_test dl pthread execinfo) - endif() - - set(CLOC_SEGFAULT_TEST_INCLUDES - ---- a/shared/offline_compiler/source/CMakeLists.txt -+++ b/shared/offline_compiler/source/CMakeLists.txt -@@ -139,7 +139,7 @@ - endif() - - if(UNIX) -- target_link_libraries(${OCLOC_NAME}_lib dl pthread) -+ target_link_libraries(${OCLOC_NAME}_lib dl pthread execinfo) - endif() - - set(CLOC_LIB_SRCS_LIB ${CLOC_LIB_SRCS_LIB} PARENT_SCOPE) - ---- a/opencl/source/CMakeLists.txt -+++ b/opencl/source/CMakeLists.txt -@@ -81,7 +81,7 @@ - ) - target_compile_definitions(${NEO_STATIC_LIB_NAME} PRIVATE OGL=1) - else() -- set(IGDRCL_EXTRA_LIBS dl pthread) -+ set(IGDRCL_EXTRA_LIBS dl pthread execinfo igc) - target_include_directories(${NEO_STATIC_LIB_NAME} PUBLIC - ${NEO_SHARED_DIRECTORY}/os_interface/linux - ${NEO_SOURCE_DIR}/opencl/source/os_interface/linux - diff --git a/unmaintained/intel-compute-runtime/pthread-yield.patch b/unmaintained/intel-compute-runtime/pthread-yield.patch deleted file mode 100644 index 8ca6a482e10..00000000000 --- a/unmaintained/intel-compute-runtime/pthread-yield.patch +++ /dev/null @@ -1,22 +0,0 @@ -pthread_yield -> sched_yield ---- ---- a/opencl/test/unit_test/os_interface/linux/drm_gem_close_worker_tests.cpp -+++ b/opencl/test/unit_test/os_interface/linux/drm_gem_close_worker_tests.cpp -@@ -121,7 +121,7 @@ - - //wait for worker to complete or deadCnt drops - while (!worker->isEmpty() && (deadCnt-- > 0)) -- pthread_yield(); //yield to another threads -+ sched_yield(); //yield to another threads - - worker->close(false); - -@@ -142,7 +142,7 @@ - - //wait for worker to complete or deadCnt drops - while (!worker->isEmpty() && (deadCnt-- > 0)) -- pthread_yield(); //yield to another threads -+ sched_yield(); //yield to another threads - - //and check if GEM was closed - EXPECT_EQ(1, this->drmMock->gem_close_cnt.load()); diff --git a/unmaintained/intel-compute-runtime/remove-rtld-deepbind.patch b/unmaintained/intel-compute-runtime/remove-rtld-deepbind.patch deleted file mode 100644 index d2e1fbbd180..00000000000 --- a/unmaintained/intel-compute-runtime/remove-rtld-deepbind.patch +++ /dev/null @@ -1,19 +0,0 @@ -RTLD_DEEPBIND is a glibc thing ---- ---- a/shared/source/os_interface/linux/os_library_linux.cpp -+++ b/shared/source/os_interface/linux/os_library_linux.cpp -@@ -29,13 +29,7 @@ - if (name.empty()) { - this->handle = dlopen(0, RTLD_LAZY); - } else { --#ifdef SANITIZER_BUILD -- constexpr auto dlopenFlag = RTLD_LAZY; --#else -- constexpr auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND; -- /* Background: https://github.com/intel/compute-runtime/issues/122 */ --#endif -- this->handle = dlopen(name.c_str(), dlopenFlag); -+ this->handle = dlopen(name.c_str(), RTLD_LAZY | RTLD_GLOBAL); - } - } - diff --git a/unmaintained/intel-compute-runtime/remove-select.patch b/unmaintained/intel-compute-runtime/remove-select.patch deleted file mode 100644 index fddb761bd41..00000000000 --- a/unmaintained/intel-compute-runtime/remove-select.patch +++ /dev/null @@ -1,14 +0,0 @@ -do not redefine `select` ---- ---- a/opencl/source/builtin_kernels_simulation/opencl_c.h -+++ b/opencl/source/builtin_kernels_simulation/opencl_c.h -@@ -220,8 +220,6 @@ - ( \ - (type)var) - --#define select(a, b, c) (c ? b : a) -- - uint get_local_id(int dim); - uint get_global_id(int dim); - uint get_local_size(int dim); - diff --git a/unmaintained/intel-graphics-compiler/APKBUILD b/unmaintained/intel-graphics-compiler/APKBUILD deleted file mode 100644 index 3da42be3129..00000000000 --- a/unmaintained/intel-graphics-compiler/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Dennis Krupenik <dennis@krupenik.com> -# Maintainer: Dennis Krupenik <dennis@krupenik.com> -pkgname=intel-graphics-compiler -pkgver=1.0.8744 -pkgrel=0 -pkgdesc="Intel® Graphics Compiler for OpenCL™" -url="https://github.com/intel/intel-graphics-compiler" -arch="x86_64" -license="MIT" -_llvm_ver="11.1.0" -depends_dev="opencl-clang-dev lld-dev~$_llvm_ver" -makedepends="$depends_dev bison cmake flex linux-headers lld-static~$_llvm_ver llvm-static~$_llvm_ver python3" -subpackages="$pkgname-dev" -source="https://github.com/intel/intel-graphics-compiler/archive/igc-$pkgver.tar.gz - https://github.com/intel/vc-intrinsics/archive/9aafb518a05be160beffd7812a0f169c10786d04.zip - xsi_strerror_r.patch - remove-rtld-deepbind.patch - " -builddir="$srcdir/$pkgname-igc-$pkgver" -options="!check" # no test suite upstream - -prepare() { - default_prepare - mv ../vc-intrinsics-* ../vc-intrinsics -} - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DIGC_OPTION__FORCE_SYSTEM_LLVM=1 \ - -DIGC_PREFERRED_LLVM_VERSION=$_llvm_ver \ - -DINSTALL_SPIRVDLL=0 \ - -Wno-dev \ - $CMAKE_CROSSOPTS . - nice make -C build -} - -package() { - make -C build DESTDIR="$pkgdir" install -} - -sha512sums=" -dbbe6c08f32b80be305add570187df883aacefbf90b252c70b5705ecc7732f25873732a85558f0aed2ee8db5bcd1a59aec4d7ba110774922dbb19d4d3522a539 igc-1.0.8744.tar.gz -19b9c2926ab1c76f8ccc0bd406f1302df9250ce57dec9f5610adba15a5a1e736da6aaa51328df0c2a012db0c1b66ef9f4ee3a19ab9f54b0ecc9dfbef0d5d97ec 9aafb518a05be160beffd7812a0f169c10786d04.zip -6b1578b028140bd82c888c96e8b1d3d33b924b85657780c6214e24145d42c6965127b5faaea7a25bb0c919484ece9b9f40e714dab362ad5cf0cc064947aec694 xsi_strerror_r.patch -28c6ce539b81b5c9bf5dbe0d6ee7da31de144da4f320473bf9a190d6ba2e672001f15553248afa194414310ea5cefdf68c344bee74accdcc38ee96accf99822e remove-rtld-deepbind.patch -" diff --git a/unmaintained/intel-graphics-compiler/remove-rtld-deepbind.patch b/unmaintained/intel-graphics-compiler/remove-rtld-deepbind.patch deleted file mode 100644 index 475f0a074ff..00000000000 --- a/unmaintained/intel-graphics-compiler/remove-rtld-deepbind.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- intel-graphics-compiler-igc-1.0.8744/IGC/VectorCompiler/lib/Driver/SPIRVWrapper.cpp 2021-09-16 11:50:38.000000000 +0300 -+++ intel-graphics-compiler-igc-1.0.8744/IGC/VectorCompiler/lib/Driver/SPIRVWrapper.cpp 2021-10-03 15:30:08.879638251 +0300 -@@ -157,8 +157,7 @@ - const std::string SpirvLibPath = findSpirvDLL(); - #if defined(__linux__) - // Hack to workaround cmoc crashes during loading of SPIRV library -- static auto DeepBindHack = -- dlopen(SpirvLibPath.c_str(), RTLD_NOW | RTLD_DEEPBIND); -+ static auto DeepBindHack = dlopen(SpirvLibPath.c_str(), RTLD_NOW); - #endif // __linux__ - - std::string ErrMsg; diff --git a/unmaintained/intel-graphics-compiler/xsi_strerror_r.patch b/unmaintained/intel-graphics-compiler/xsi_strerror_r.patch deleted file mode 100644 index 6b32764e5b5..00000000000 --- a/unmaintained/intel-graphics-compiler/xsi_strerror_r.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- intel-graphics-compiler-igc-1.0.8744/visa/iga/IGALibrary/system.cpp 2021-09-16 11:50:38.000000000 +0300 -+++ intel-graphics-compiler-igc-1.0.8744/visa/iga/IGALibrary/system.cpp 2021-10-03 14:59:08.779865094 +0300 -@@ -246,9 +246,8 @@ - { - std::string msg; - char buf[256] {0}; -- char *errMsg = nullptr; -+ char *errMsg = &buf[0]; - #ifdef _WIN32 -- errMsg = &buf[0]; - FormatMessageA( - FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, - NULL, -@@ -260,9 +259,9 @@ - if (errMsg) - msg = errMsg; - #else -- errMsg = strerror_r(errCode, buf, sizeof(buf)); -+ strerror_r(errCode, buf, sizeof(buf)); - #endif // _WIN32 -- if (errMsg == nullptr || errMsg[0] == 0) -+ if (errMsg[0] == 0) - return "???"; - return std::string(errMsg); - } diff --git a/unmaintained/ipfw-grsec/APKBUILD b/unmaintained/ipfw-grsec/APKBUILD deleted file mode 100644 index 02beb4546c5..00000000000 --- a/unmaintained/ipfw-grsec/APKBUILD +++ /dev/null @@ -1,79 +0,0 @@ -# Contributor: -# Maintainer: -_flavor=${FLAVOR:-grsec} -_kpkg=linux-$_flavor -_realname=ipfw -_name=$_realname-$_flavor - -_kver=4.4.47 -_kpkgrel=0 - -_realver=20130607 -_mypkgrel=0 - -# source the kernel version -if [ -f ../linux-$_flavor/APKBUILD ]; then - . ../linux-$_flavor/APKBUILD - [ "$_kver" != "$pkgver" ] && die "$_name: Please update _kver to $pkgver" - [ "$_kpkgrel" != "$pkgrel" ] && die "$_name: Please update _kpkgrel to $pkgrel" -fi - -_kernelver=$_kver-r$_kpkgrel -_abi_release=${_kver}-${_kpkgrel}-${_flavor} - -pkgname=$_name -pkgver=$_kver -pkgrel=$(($_kpkgrel + $_mypkgrel)) -pkgdesc="BSD ipfw firewall and dummynet suite (linux-grsec modules)" -url="http://info.iet.unipi.it/~luigi/dummynet/" -arch="" -license="BSD" -depends="linux-${_flavor}=${_kernelver}" -makedepends="linux-${_flavor}-dev=${_kernelver} iptables-dev" -install= -install_if="linux-$_flavor=$_kernelver $_realname" -source="http://info.iet.unipi.it/~luigi/doc/${_realver}-${_realname}3.tgz - ipfw-kmod-dereffix.patch - ipfw-cgroup.patch - ipfw-strict-uidgid.patch - ipfw-hookops.patch" -subpackages="" - -_builddir="$srcdir/ipfw3-2012" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make kipfw KSRC=/usr/src/linux-headers-${_abi_release} V=1 -} - -package() { - cd "$_builddir/kipfw-mod" - mkdir -p "$pkgdir/lib/modules/${_abi_release}/misc/" - for module in `find . -type f -name '*.ko'`; do - install -D -m644 $module "$pkgdir/lib/modules/${_abi_release}/misc/" - done -} -md5sums="004e65e6d545a89c4dcc3e741e287444 20130607-ipfw3.tgz -c4f9a8065d448da3901b3d8219dd98ca ipfw-kmod-dereffix.patch -f0d782e9869b26aae8a919645a48fc88 ipfw-cgroup.patch -0784941754652eefcad39f84892857cc ipfw-strict-uidgid.patch -ee8b1d86c92e47dc7b188486441653cc ipfw-hookops.patch" -sha256sums="7dc80437b137e629f8ef3a7889b24ffbd1c27274e9cce15fd1f3b2c8620c6d64 20130607-ipfw3.tgz -84967fe411d8c35343c39b321aaddc830ef955ab2e27f78de1cf99c496b2cbfa ipfw-kmod-dereffix.patch -7538104b3ae3ea175c06b3d021877f1961688e9f6a897a80f75e864c21c162d1 ipfw-cgroup.patch -46ca93a91a4cb4a6e84b48c174f8250c3e4316c30035d30393370573c1a25f09 ipfw-strict-uidgid.patch -7fd0388d86dc375c74ff2083ae2a099b5a96339f253e5c606806c23cf5db939a ipfw-hookops.patch" -sha512sums="6c4c2c7d4795094b9ff72212394e7dee44e5f9e09e97021b5ac9c3fad6de5a32b1d608ae9572da17f62cb37d076d89ab26859c61255d03d6bce22ca527f2c8ec 20130607-ipfw3.tgz -e445c17ebc01feea5ce473819c386c7e07507889365a8790d8a8e8f41bbea70b06fc7e0a7e98d558b9653abe1c175706684a5222f0003f5350902c6927df9b72 ipfw-kmod-dereffix.patch -c1841f7a47ef840a8fde575e84ea47d71b7f80dbb0606f4a53f6c58bfcd157b26db003f1ecf2ff61c0138f81f8e56835c0866ed6ca31188a0bad6790a78edae8 ipfw-cgroup.patch -ebdb75c96977e971a40e028ac64f32b6b91cb41b6d1ea17c0583d80880a9a59ede186f071aec2cdbe8aa34c713035c497a4e3cff131bf7e63be2909d8b9a5b1f ipfw-strict-uidgid.patch -768ea00a64205a05b12ed2a8da08b6d3d4d142a13b1dd6ca25d493a46f72a951faca40b6e796240bdec3c37ba249b215c082caeeda7ecd7056d05396ad591340 ipfw-hookops.patch" diff --git a/unmaintained/ipfw-grsec/ipfw-cgroup.patch b/unmaintained/ipfw-grsec/ipfw-cgroup.patch deleted file mode 100644 index 23942e7a24d..00000000000 --- a/unmaintained/ipfw-grsec/ipfw-cgroup.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- ipfw3-2012.orig/glue.h -+++ ipfw3-2012/glue.h -@@ -377,13 +377,29 @@ - #define flow_daddr fl.nl_u.ip4_u - #endif - --#endif /* __linux__ */ -- - /* - * Do not load prio_heap.h header because of conflicting names - * with our heap functions defined in include/netinet/ipfw/dn_heap.h - */ - #define _LINUX_PRIO_HEAP_H -+ -+/* Do however declare the structure... */ -+/** -+ * struct ptr_heap - simple static-sized priority heap -+ * @ptrs - pointer to data area -+ * @max - max number of elements that can be stored in @ptrs -+ * @size - current number of valid elements in @ptrs (in the range 0..@size-1 -+ * @gt: comparison operator, which should implement "greater than" -+ */ -+struct ptr_heap { -+ void **ptrs; -+ int max; -+ int size; -+ int (*gt)(void *, void *); -+}; -+ -+#endif /* __linux__ */ -+ - /* - * The following define prevent the ipv6.h header to be loaded. - * Starting from the 2.6.38 kernel the ipv6.h file, which is included diff --git a/unmaintained/ipfw-grsec/ipfw-hookops.patch b/unmaintained/ipfw-grsec/ipfw-hookops.patch deleted file mode 100644 index f057f1e7476..00000000000 --- a/unmaintained/ipfw-grsec/ipfw-hookops.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ipfw3-2012.orig/kipfw/ipfw2_mod.c -+++ ipfw3-2012/kipfw/ipfw2_mod.c -@@ -466,7 +466,12 @@ - * so we have an #ifdef to set the proper argument type. - */ - static unsigned int --call_ipfw(unsigned int hooknum, -+call_ipfw( -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0) -+ unsigned int hooknum, -+#else -+ const struct nf_hook_ops *hooknum, -+#endif - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) // in 2.6.22 we have ** - struct sk_buff **skb, - #else diff --git a/unmaintained/ipfw-grsec/ipfw-kmod-dereffix.patch b/unmaintained/ipfw-grsec/ipfw-kmod-dereffix.patch deleted file mode 100644 index 168fc70e181..00000000000 --- a/unmaintained/ipfw-grsec/ipfw-kmod-dereffix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- ipfw3-2012.orig/sys/netinet/ipfw/ip_dummynet.c -+++ ipfw3-2012/sys/netinet/ipfw/ip_dummynet.c -@@ -635,7 +635,7 @@ - fs->sched->fp->free_fsk(fs); - fs->sched = NULL; - if (flags & DN_DELETE_FS) { -- bzero(fs, sizeof(fs)); /* safety */ -+ bzero(fs, sizeof(*fs)); /* safety */ - free(fs, M_DUMMYNET); - dn_cfg.fsk_count--; - } else { ---- ipfw3-2012.orig/kipfw/ipfw2_mod.c -+++ ipfw3-2012/kipfw/ipfw2_mod.c -@@ -218,7 +218,7 @@ - struct thread t; - int ret = EINVAL; - -- memset(s, 0, sizeof(s)); -+ memset(s, 0, sizeof(*s)); - s->sopt_name = cmd; - s->sopt_dir = dir; - s->sopt_valsize = len; diff --git a/unmaintained/ipfw-grsec/ipfw-strict-uidgid.patch b/unmaintained/ipfw-grsec/ipfw-strict-uidgid.patch deleted file mode 100644 index ca4006aebda..00000000000 --- a/unmaintained/ipfw-grsec/ipfw-strict-uidgid.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- ipfw3-2012.orig/glue.h -+++ ipfw3-2012/glue.h -@@ -102,6 +102,24 @@ - #include <linux/in.h> /* struct in_addr */ - #include <linux/in6.h> /* struct in6_addr */ - #include <linux/icmp.h> -+ -+#ifdef CONFIG_UIDGID_STRICT_TYPE_CHECKS -+#include <linux/uidgid.h> -+ -+#define KUID_TO_SUID(x) (x.val) -+#define KGID_TO_SGID(x) (x.val) -+#define SUID_TO_KUID(x) (KUIDT_INIT(x)) -+#define SGID_TO_KGID(x) (KGIDT_INIT(x)) -+ -+#else -+ -+#define KUID_TO_SUID(x) (x) -+#define KGID_TO_SGID(x) (x) -+#define SUID_TO_KUID(x) (x) -+#define SGID_TO_KGID(x) (x) -+ -+#endif -+ - /* - * LIST_HEAD in queue.h conflict with linux/list.h - * some previous linux include need list.h definition ---- ipfw3-2012.orig/kipfw/ipfw2_mod.c -+++ ipfw3-2012/kipfw/ipfw2_mod.c -@@ -737,8 +737,8 @@ - if ((1<<st) & GOOD_STATES) { - read_lock_bh(&sk->sk_callback_lock); - if (sk->sk_socket && sk->sk_socket->file) { -- u->uid = sk->sk_socket->file->_CURR_UID; -- u->gid = sk->sk_socket->file->_CURR_GID; -+ u->uid = KUID_TO_SUID(sk->sk_socket->file->_CURR_UID.val); -+ u->gid = KGID_TO_SGID(sk->sk_socket->file->_CURR_GID.val); - } - read_unlock_bh(&sk->sk_callback_lock); - } else { diff --git a/unmaintained/isochronous/APKBUILD b/unmaintained/isochronous/APKBUILD deleted file mode 100644 index 9daac97cbb2..00000000000 --- a/unmaintained/isochronous/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Ariadne Conill <ariadne@dereferenced.org> -pkgname=isochronous -pkgver=0.1 -pkgrel=1 -pkgdesc="isochronous network measurement tools" -url="https://git.networkservice.associates/ahamonic/isochronous" -arch="" # url= and source= 404 -license="Apache-2.0" -source="https://git.networkservice.associates/ahamonic/isochronous/-/archive/v$pkgver/isochronous-$pkgver.tar.gz - make-install.patch" -options="!check" # No testsuite - -prepare() { - mv "$srcdir"/isochronous-v$pkgver-* "$srcdir"/isochronous-$pkgver - default_prepare -} - -build() { - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="03d43b5374cce6a2ec8b8b9d37f43a52f47827cec5159fd9d730011112d9a3573fea2d8779db9a778d87aed925ab265572710645805a4a94f1a64f02aa9c052d isochronous-0.1.tar.gz -5f05b8c4d7d42e0f98f59867953ff99e1501ca8da71ea04697713ec0be9294b19c767fc81953f427eaa711ed2a3e76bd3aaeceaa6876505e8607933133636eba make-install.patch" diff --git a/unmaintained/isochronous/make-install.patch b/unmaintained/isochronous/make-install.patch deleted file mode 100644 index dfcae0b9ee4..00000000000 --- a/unmaintained/isochronous/make-install.patch +++ /dev/null @@ -1,35 +0,0 @@ -From f076d20274415f55645e80b49f76298b2b17d9d6 Mon Sep 17 00:00:00 2001 -From: User Detha <detha@jarjar.dnaq.net> -Date: Sat, 28 Mar 2020 10:04:28 +0000 -Subject: [PATCH] Add install target - ---- - Makefile | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/Makefile b/Makefile -index 15266af..bfe1d54 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,5 +1,11 @@ - CFLAGS+=-std=gnu99 -g - LDFLAGS+=-lrt -lm -+ -+DESTDIR= -+PREFIX=/usr -+BINDIR=$(PREFIX)/bin -+MANDIR=$(PREFIX)/man -+ - PROGS=udpstress isoping isostream - - all: $(PROGS) -@@ -13,5 +19,9 @@ isoping: isoping.c - isostream: isostream.c - $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) - -+install: all -+ mkdir -p $(DESTDIR)$(BINDIR) -+ install -m0755 $(PROGS) $(DESTDIR)$(BINDIR) -+ - clean: - rm -f $(PROGS) diff --git a/unmaintained/java-jansi-native/APKBUILD b/unmaintained/java-jansi-native/APKBUILD deleted file mode 100644 index 5bfddc37f5b..00000000000 --- a/unmaintained/java-jansi-native/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=java-jansi-native -_pkgname=${pkgname#java-} -pkgver=1.5 -pkgrel=0 -pkgdesc="Native JNI libraries used by the Jansi project." -url="https://github.com/fusesource/jansi-native" -arch="all !riscv64" # missing openjdk8 -license="Apache-2.0" -depends="openjdk8-jre-base" -makedepends="autoconf automake libtool maven openjdk8" -source="https://github.com/fusesource/$_pkgname/archive/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$_pkgname-$pkgver" - -build() { - # We need to use newer version of hawtjni plugin, otherwise compilation - # of native sources fails. - JAVA_HOME=/usr/lib/jvm/default-jvm \ - mvn package -Dmaven.repo.local=/tmp/m2 -Dhawtjni-version=1.11 -} - -package() { - cd "$builddir"/target - - install -m644 -D $_pkgname-$pkgver.jar \ - "$pkgdir"/usr/share/java/$_pkgname-$pkgver.jar - ln -sf $_pkgname-$pkgver.jar "$pkgdir"/usr/share/java/$_pkgname.jar - - # Note: jansi expects file named libjansi.so or libjansi-x.y.so, not libjansi.so.x.y. - install -m755 -D native-build/target/lib/libjansi.so \ - "$pkgdir"/usr/lib/libjansi-$pkgver.so - ln -sf libjansi-$pkgver.so "$pkgdir"/usr/lib/libjansi.so -} - -sha512sums="f474df09402b86f5e534bc50a3755dfff353cb5688c93b951ffb4166ac6f83e445393d65baf50a6e93a50d1583772e56bf668a3a0b5312d59cce61493ded1453 jansi-native-1.5.tar.gz" diff --git a/unmaintained/jitterentropy-rngd/APKBUILD b/unmaintained/jitterentropy-rngd/APKBUILD deleted file mode 100644 index 82a75f50727..00000000000 --- a/unmaintained/jitterentropy-rngd/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Henrik Riomar <henrik.riomar@gmail.com> -# Contributor: Dermot Bradley <dermot_bradley@yahoo.com> -# Maintainer: Dermot Bradley <dermot_bradley@yahoo.com> -pkgname=jitterentropy-rngd -pkgver=1.2.0 -pkgrel=0 -pkgdesc="CPU Jitter RNG Daemon" -url="http://www.chronox.de/jent.html" -arch="all" -license="BSD-3-Clause OR GPL-2.0-Only" -makedepends="linux-headers" -options="!check" # no test suite -subpackages="$pkgname-doc $pkgname-openrc" -source="jitterentropy-rngd-$pkgver.tar.gz::https://github.com/smuellerDD/jitterentropy-rngd/archive/v$pkgver.tar.gz - $pkgname.initd - " - -build() { - make -} - -package() { - make DESTDIR="$pkgdir" PREFIX=/usr install - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname - - rm -rf "$pkgdir"/usr/lib/systemd -} - -sha512sums="8981c3be795aef10df71f305e3ba9ad85389688ff31da244986aef36224f86c724ad229e257ae7ee4a1e5503acee6b24108acca8e5e59240bdf02466bbb5d343 jitterentropy-rngd-1.2.0.tar.gz -5903286b2bec9aedd7f05c7e95ac464709479f802467ac749a51794074ee15b819582c6b6993520ee3a9acb505994683edb739b45932b55d16e53bb42df8cc39 jitterentropy-rngd.initd" diff --git a/unmaintained/jitterentropy-rngd/jitterentropy-rngd.initd b/unmaintained/jitterentropy-rngd/jitterentropy-rngd.initd deleted file mode 100644 index ebd8b92358d..00000000000 --- a/unmaintained/jitterentropy-rngd/jitterentropy-rngd.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run - -description="CPU Jitter Random number generator daemon" - -pidfile=/run/$RC_SVCNAME.pid -command=/usr/sbin/jitterentropy-rngd -command_args="--pid $pidfile" - -depend() { - need localmount - after urandom - provide entropy -} diff --git a/unmaintained/js_of_ocaml/APKBUILD b/unmaintained/js_of_ocaml/APKBUILD deleted file mode 100644 index 486692e68b9..00000000000 --- a/unmaintained/js_of_ocaml/APKBUILD +++ /dev/null @@ -1,173 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -# TODO: Verify declared dependencies. -pkgname=js_of_ocaml -pkgver=3.1.0 -pkgrel=4 -pkgdesc="Compiler from OCaml to Javascript" -url="http://ocsigen.org/js_of_ocaml/" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="LGPL-2.0-or-later" -depends=" - $pkgname-compiler=$pkgver-r$pkgrel - ocaml-migrate-parsetree - ocaml-ppx_tools_versioned - ocaml-uchar - " -checkdepends="nodejs ocaml-deriving" -makedepends=" - bash - dune - ocaml - ocaml-camlp4-dev - ocaml-cmdliner-dev - ocaml-compiler-libs - ocaml-cppo-dev - ocaml-findlib-dev - ocaml-lwt-dev - ocaml-migrate-parsetree-dev - ocaml-ocamlbuild-dev - ocaml-ppx_deriving-dev - ocaml-ppx_tools-dev - ocaml-ppx_tools_versioned-dev - ocaml-react-dev - ocaml-reactivedata-dev - ocaml-tyxml-dev - ocaml-uchar-dev - ocaml-yojson-dev - ocamlbuild - opam - " -options="!check" # FIXME: needs additional dependencies -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/$pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -for _i in camlp4 compiler lwt ocamlbuild ppx ppx_deriving_json toplevel tyxml; do - subpackages="$subpackages $pkgname-$_i" -done - -build() { - cd "$builddir" - jbuilder build @install @DEFAULT -j ${JOBS:-2} -} - -check() { - cd "$builddir" - jbuilder runtest -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/usr/lib/ocaml - jbuilder install \ - --destdir="$pkgdir"/usr \ - --libdir="$pkgdir"/usr/lib/ocaml - - cd "$pkgdir" - - _mv usr/man usr/share/ - - # There's just a readme and changelog. - rm -Rf usr/doc - - # These are just duplicates. - rm -f usr/bin/*.exe - - # Remove annotation files and sources. - find usr/lib/ocaml \ - \( -name '*.cmt' -o -name '*.cmti' -o -name '*.ml' \) \ - -a -delete -} - -dev() { - default_dev - - cd "$pkgdir" - - local path - for path in $(find usr/lib/ocaml/ -name '*.cmx' -o -name '*.cmxa' -o -name '*.mli'); do - _mv "$path" "$subpkgdir"/${path%/*}/ - done -} - -camlp4() { - pkgdesc="$pkgdesc (Camlp4 syntax extension)" - depends="ocaml-camlp4" - _subpackage -} - -compiler() { - pkgdesc="$pkgdesc (compiler)" - depends="ocaml ocaml-cmdliner ocaml-cppo ocaml-findlib ocaml-yojson" - - _subpackage - - cd "$pkgdir"/usr/bin - _mv js_of_ocaml jsoo_minify jsoo_link "$subpkgdir"/usr/bin/ -} - -lwt() { - pkgdesc="$pkgdesc (lwt)" - depends="$pkgname=$pkgver-r$pkgrel - $pkgname-ppx=$pkgver-r$pkgrel - ocaml-lwt" - _subpackage -} - -ocamlbuild() { - pkgdesc="$pkgdesc (OCamlbuild plugin)" - depends="ocamlbuild" - _subpackage -} - -ppx() { - pkgdesc="$pkgdesc (ppx syntax extensions)" - depends="$pkgname=$pkgver-r$pkgrel - ocaml-migrate-parsetree - ocaml-ppx_tools_versioned" - _subpackage -} - -ppx_deriving_json() { - pkgdesc="$pkgdesc ([@@deriving json])" - depends="$pkgname ocaml-ppx_tools ocaml-ppx_deriving" - _subpackage -} - -toplevel() { - pkgdesc="Web-based OCaml toplevel" - depends="$pkgname=$pkgver-r$pkgrel - $pkgname-compiler=$pkgver-r$pkgrel - $pkgname-ppx=$pkgver-r$pkgrel - ocaml-compiler-libs - ocaml-findlib" - - _subpackage - - cd "$pkgdir"/usr/bin - _mv jsoo_mkcmis jsoo_mktop jsoo_listunits "$subpkgdir"/usr/bin/ -} - -tyxml() { - pkgdesc="$pkgname (Tyxml)" - depends="$pkgname=$pkgver-r$pkgrel - $pkgname-ppx=$pkgver-r$pkgrel - ocaml-reactivedata - ocaml-tyxml" - _subpackage -} - -_subpackage() { - depends="ocaml-runtime $depends" - _mv "$pkgdir"/usr/lib/ocaml/$subpkgname "$subpkgdir"/usr/lib/ocaml/ -} - -_mv() { - local dest; for dest; do true; done # get last argument - mkdir -p "$dest" - mv "$@" -} - -sha512sums="63bd4961fbdc677cc992d253a7254a159d86c444b6aa5a8b2fac446925f35fbc8454865db167364cb2c2b7f02b113ebb0c0ac1cb5d2f7d7ae06519c68cdbc58a js_of_ocaml-3.1.0.tar.gz" diff --git a/unmaintained/julia/0001-hardened.patch b/unmaintained/julia/0001-hardened.patch deleted file mode 100644 index 33b3781da81..00000000000 --- a/unmaintained/julia/0001-hardened.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Sun, 05 Jun 2016 14:11:00 +0200 -Last-Updated: Thu, 19 Oct 2017 01:04:00 +0200 -Subject: [PATCH] Disable PaX memory protection for julia binary ---- a/Makefile -+++ b/Makefile -@@ -111,8 +111,14 @@ - julia-sysimg-debug : julia-inference julia-ui-debug - @$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT) $(build_private_libdir)/sys-debug$(CPUID_TAG).$(SHLIB_EXT) JULIA_BUILD_MODE=debug - --julia-debug julia-release : julia-% : julia-ui-% julia-sysimg-% julia-symlink julia-libccalltest -+julia-pax-release : julia-ui-release -+ paxmark m $(JULIA_EXECUTABLE_release) - -+julia-pax-debug : julia-ui-debug -+ paxmark m $(JULIA_EXECUTABLE_debug) -+ -+julia-debug julia-release : julia-% : julia-ui-% julia-pax-% julia-sysimg-% julia-symlink julia-libccalltest -+ - debug release : % : julia-% - - docs: julia-sysimg-$(JULIA_BUILD_MODE) -@@ -551,7 +557,7 @@ - test testall testall1 test clean distcleanall cleanall clean-* \ - run-julia run-julia-debug run-julia-release run \ - install binary-dist light-source-dist.tmp light-source-dist \ -- dist full-source-dist source-dist examples -+ dist full-source-dist source-dist examples julia-pax-release julia-pax-debug - - test: check-whitespace $(JULIA_BUILD_MODE) - @$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/test default JULIA_BUILD_MODE=$(JULIA_BUILD_MODE) diff --git a/unmaintained/julia/0002-verbose-build.patch b/unmaintained/julia/0002-verbose-build.patch deleted file mode 100644 index 51651aa1729..00000000000 --- a/unmaintained/julia/0002-verbose-build.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: Ensure that build is verbose -Author: Sébastien Villemot <sebastien@debian.org> -Author: Shiz <hi@shiz.me> -Author: Jakub Jirutka <jakub@jirutka.cz> -Forwarded: not-needed -Last-Updated: 2017-10-19 ---- ---- a/deps/libuv.mk -+++ b/deps/libuv.mk -@@ -30,7 +30,7 @@ - touch -c $(SRCDIR)/srccache/$(LIBUV_SRC_DIR)/configure - mkdir -p $(dir $@) - cd $(dir $@) && \ -- $(dir $<)/configure --with-pic $(CONFIGURE_COMMON) $(UV_FLAGS) -+ $(dir $<)/configure --with-pic $(CONFIGURE_COMMON) $(UV_FLAGS) --disable-silent-rules - echo 1 > $@ - - $(BUILDDIR)/$(LIBUV_SRC_DIR)/build-compiled: $(BUILDDIR)/$(LIBUV_SRC_DIR)/build-configured diff --git a/unmaintained/julia/0003-no-clean-docs.patch b/unmaintained/julia/0003-no-clean-docs.patch deleted file mode 100644 index 0be74175ccb..00000000000 --- a/unmaintained/julia/0003-no-clean-docs.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -526,7 +526,6 @@ - - clean: | $(CLEAN_TARGETS) - @-$(MAKE) -C $(BUILDROOT)/base clean -- @-$(MAKE) -C $(BUILDROOT)/doc clean - @-$(MAKE) -C $(BUILDROOT)/src clean - @-$(MAKE) -C $(BUILDROOT)/ui clean - @-$(MAKE) -C $(BUILDROOT)/test clean -@@ -548,7 +547,6 @@ - - distcleanall: cleanall - @-$(MAKE) -C $(BUILDROOT)/deps distcleanall -- @-$(MAKE) -C $(BUILDROOT)/doc cleanall - - .PHONY: default debug release check-whitespace release-candidate \ - julia-debug julia-release julia-deps \ diff --git a/unmaintained/julia/0005-fix-rpath-issues.patch b/unmaintained/julia/0005-fix-rpath-issues.patch deleted file mode 100644 index 268dc4b6517..00000000000 --- a/unmaintained/julia/0005-fix-rpath-issues.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Make.inc -+++ b/Make.inc -@@ -898,7 +898,7 @@ - RPATH_ESCAPED_ORIGIN := $(RPATH_ORIGIN) - RPATH_LIB := -Wl,-rpath,'@loader_path/' -Wl,-rpath,'@loader_path/julia/' - else -- RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin -+ RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath,'$$ORIGIN/$(build_private_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin - RPATH_ORIGIN := -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin - RPATH_ESCAPED_ORIGIN := -Wl,-rpath,'\$$\$$ORIGIN' -Wl,-z,origin - RPATH_LIB := -Wl,-rpath,'$$ORIGIN' -Wl,-rpath,'$$ORIGIN/julia' -Wl,-z,origin diff --git a/unmaintained/julia/0008-ldconfig-compat.patch b/unmaintained/julia/0008-ldconfig-compat.patch deleted file mode 100644 index d02237714e2..00000000000 --- a/unmaintained/julia/0008-ldconfig-compat.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Thu, 9 Jun 2016 01:15:00 +0200 -Subject: [PATCH] Use our find-syslibs script instead of /sbin/ldconfig -p - -Julia uses "ldconfig -p" to find system libraries. The problem is that musl's -ldconfig doesn't support the option "-p". Moreover, ldconfig relies on .pc -files that are installed only with -dev subpackages. - -This workaround lies in using custom script that adapts output of scanelf to -the format produced by "ldconfig -p". - -See https://github.com/JuliaLang/julia/issues/6742. - ---- a/src/runtime_ccall.cpp -+++ b/src/runtime_ccall.cpp -@@ -31,7 +31,7 @@ - char *line=NULL; - size_t sz=0; - #if defined(__linux__) -- FILE *ldc = popen("/sbin/ldconfig -p", "r"); -+ FILE *ldc = popen("/usr/share/julia/find-syslibs", "r"); - #else - FILE *ldc = popen("/sbin/ldconfig -r", "r"); - #endif diff --git a/unmaintained/julia/APKBUILD b/unmaintained/julia/APKBUILD deleted file mode 100644 index 8e3727bbec5..00000000000 --- a/unmaintained/julia/APKBUILD +++ /dev/null @@ -1,206 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Contributor: Shiz <hi@shiz.me> -# Maintainer: Shiz <hi@shiz.me> -pkgname=julia -pkgver=0.6.2 -# Keep in sync with deps/libuv.version. -_libuv_ver=d8ab1c6a33e77bf155facb54215dd8798e13825d -_llvm_ver=3.9 -pkgrel=2 -pkgdesc="A high-level, high-performance dynamic language for technical computing" -url="http://julialang.org" -# x86: no libunwind package -arch="x86_64" -license="MIT" -depends="arpack - dsfmt - fftw>=3.3 - gmp>=5.0 - libgit2>=0.21 - mpfr3 - openblas - openlibm - openspecfun>=0.4 - pcre2>=10.0 - suitesparse>=4.1 - " -depends_dev="arpack-dev - curl-dev - dsfmt-dev - fftw-dev - gmp-dev - libgit2-dev - libssh2-dev - libunwind-dev - llvm$_llvm_ver-dev - mbedtls-dev - mpfr-dev - openblas-dev - openlibm-dev - openspecfun-dev - pcre2-dev - suitesparse-dev - utf8proc-dev>=2 - " -makedepends="$depends_dev - bash - cmake - gfortran - linux-headers - libressl-dev - paxmark - perl - " -# FIXME: -tests should be noarch, but for unknown reason it fails on builder -# (arch-specific binaries are found)... -subpackages="$pkgname-tests $pkgname-doc $pkgname-dev $pkgname-dbg" -source="https://github.com/JuliaLang/julia/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz - libuv-$_libuv_ver.tar.gz::https://api.github.com/repos/JuliaLang/libuv/tarball/$_libuv_ver - UnicodeData.txt-9.0.0::http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt - find-syslibs - 0001-hardened.patch - 0002-verbose-build.patch - 0003-no-clean-docs.patch - 0005-fix-rpath-issues.patch - 0008-ldconfig-compat.patch - fix-or-disable-broken-tests.patch - test-disable-tests-using-fake_pty.patch - test-libgit2-skip-SSL_CERT_FILE.patch - test-repl-disable-22176-20482.patch - makefile-dont-rebuild-docs.patch - " -builddir="$srcdir/$pkgname-$pkgver" -ldpath="/usr/lib/julia" - -prepare() { - cd "$builddir" - - # Julia needs patched libuv. - mkdir deps/srccache - cp "$srcdir"/libuv-$_libuv_ver.tar.gz deps/srccache - - # Prevent fetching of unicode data. - cp "$srcdir"/UnicodeData.txt-9.0.0 doc/UnicodeData.txt - - # Prevent fetching of bundled stuff in the build and package phase. - cat > deps/tools/jldownload <<-'EOF' - #!/bin/sh - echo "!!! Downloading of $2 to $1 disabled !!!" - echo "Abuild should not fetch any files in the build phase." - echo "Add all the needed files to the APKBUILD's source=." - exit 1 - EOF - - cat > Make.user <<-EOF - prefix=/usr - libexecdir=/usr/lib - sysconfdir=/etc - DESTDIR="$pkgdir" - LIBBLAS=-lopenblas - LIBBLASNAME=libopenblas - LIBLAPACK=-lopenblas - LIBLAPACKNAME=libopenblas - LLVM_CONFIG=/usr/lib/llvm$_llvm_ver/bin/llvm-config - LLVM_VER=$_llvm_ver - NO_GIT=1 - USE_SYSTEM_LLVM=1 - USE_SYSTEM_LIBUNWIND=1 - USE_SYSTEM_PCRE=1 - USE_SYSTEM_LIBM=1 - USE_SYSTEM_OPENLIBM=1 - USE_SYSTEM_OPENSPECFUN=1 - USE_SYSTEM_DSFMT=1 - USE_SYSTEM_BLAS=1 - USE_SYSTEM_LAPACK=1 - USE_SYSTEM_FFTW=1 - USE_SYSTEM_GMP=1 - USE_SYSTEM_MPFR=1 - USE_SYSTEM_ARPACK=1 - USE_SYSTEM_SUITESPARSE=1 - USE_SYSTEM_LIBUV=0 - USE_SYSTEM_UTF8PROC=1 - USE_SYSTEM_MBEDTLS=1 - USE_SYSTEM_LIBSSH2=1 - USE_SYSTEM_CURL=1 - USE_SYSTEM_LIBGIT2=1 - USE_SYSTEM_PATCHELF=1 - USE_LLVM_SHLIB=1 - VERBOSE=1 - EOF - - # Pre-SSE2 CPU targets are not supported; - # create a generic 32-bit x86 binary. - if [ "$CARCH" = x86 ]; then - echo "MARCH=i686" >> Make.user - echo "JULIA_CPU_TARGET=pentium4" >> Make.user - else - echo "MARCH=${CARCH/_/-}" >> Make.user - fi - - default_prepare -} - -build() { - cd "$builddir" - - # If debug is not built here, it is built during make install. - make release debug -} - -check() { - cd "$builddir" - - # TMPDIR=... is needed to prevent the tests from trying to write - # into /tmp, which will fail. - mkdir -p "$builddir"/tmp - TMPDIR="$builddir"/tmp make test -} - -package() { - cd "$builddir" - - make install - install -D "$srcdir"/find-syslibs "$pkgdir"/usr/share/julia/find-syslibs - # re-apply lost PaX markings - paxmark m "$pkgdir"/usr/bin/julia "$pkgdir"/usr/bin/julia-debug - - rm -Rf "$pkgdir"/usr/share/julia/site -} - -tests() { - pkgdesc="$pkgdesc (tests)" - replaces="$pkgname" # for backward compatibility - - mkdir -p "$subpkgdir"/usr/share/julia - mv "$pkgdir"/usr/share/julia/test "$subpkgdir"/usr/share/julia -} - -# Note: Julia builds somehow special debug binaries, so we need to bypass -# default_dbg and just copy them as-is. -dbg() { - pkgdesc="$pkgdesc (debug build)" - depends="$pkgname=$pkgver-r$pkgrel" - replaces="$pkgname-debug" - - install -d "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/*-debug "$subpkgdir"/usr/bin/ - - install -d "$subpkgdir"/usr/lib/julia - mv "$pkgdir"/usr/lib/*[.-]debug* "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/julia/*[.-]debug* "$subpkgdir"/usr/lib/julia/ -} - -sha512sums="679050463ed5825d34c477bd44cd91cfecc7d1735a2f52cc70b509afd9883cb60902861643266ecac5ba6cbb03f8fcdd12fc2e87dc41b9ed0eef813fa40610f1 julia-0.6.2.tar.gz -272e3cc7b1290ef19cc941c3b3e6dd39dba7dcb26f0aea8e667c48c56288aa9266020504e0cc90074f02881521b3352079416f564c7eb24ab444326a8f04ca64 libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d.tar.gz -43eaf66d9cb3748012b2dfd77da1b41f667c5c7602a56bea8186b796b215bde82d555d79ab053378c2222521396354dcce5cf23a78fa3b1456062c47771c8433 UnicodeData.txt-9.0.0 -0283c7b0ff7dd99ae79f6ddac63513ce7d58ba31de506a3fee07af9b8882ddc275d0f9cb002381ba1e304bcacf252612fa16b21b85667422477e6b945b725899 find-syslibs -f812b05b7712975eaef0bf071dd2c1cd0b21c68b18d6a513878bb8fe877bfcadf9f4b9dd8cd27b6809378de5b250a010301e7a90169677d155ad2ba377e8b428 0001-hardened.patch -52bbaff51c7d0299e875294b43e23773bcdbe1bc7d02b670814d051bb4f1224bba507182944dc739adb07acd10d3d7f5a0ac7c270c28d3a760d36d90520a2f16 0002-verbose-build.patch -04ab09428c299ca1cc7f162d2344763d9b9136c209a6718df62689f421b4925af20a7b739513965dcbdcbf191577b15d48ece08d63c6db21f8742c02d56a2ea0 0003-no-clean-docs.patch -e1257c42b819bbdcdca74c7b912c1e0e43d6ba70c5e8625d6141bb2dcc49abbab5a8690046bf6cc14cb058b972a74cb60eea6162a48f280035f69154cd25d657 0005-fix-rpath-issues.patch -251b3b8f9d5292afbff5816f48f6595b61da95322f5fa137260cde5b0e578aa08c2b8fc28d8031cace306403637b21f80d30edca79978ae5493b170a0db7143c 0008-ldconfig-compat.patch -e989a1f39a68de3378cedd6d009ae07af1888eb7a39b2f18c2441c06b75305f0cff90d8bef28bb2d0d84422435713060ffe07f244994a2941d591c66ac1cb131 fix-or-disable-broken-tests.patch -8d4608dd90735ffdbdb04e1dc27fc9702624e45969ab379401d5b605cccf78dea9a79d713995358b552532ae938212ee0f032e5ce7e6c28edb30c49c02b58e7b test-disable-tests-using-fake_pty.patch -87267dd0402d8e70dd511bd79c7edfc3d1b5db7dbbdc9618832adb73ab7d34c6eed2c347fe74bf93757cc6b4f573ed7918d733b3bbf3653eab06f65a74428ff4 test-libgit2-skip-SSL_CERT_FILE.patch -fc5eef406d84b60fdf1c837aa1f5bd0e7a205c311853d0ae8b2b237e2eb750d7da2152632d866d372174918a3953746620f2bf130596ab2b027ca389a6816edd test-repl-disable-22176-20482.patch -98a25c49465771e72c1c0d114602c6937dbddac3e81255b310a0309083b4b365c35eb37f7a7c6128b3369dd1a071cc5c16c18aa9628dd355defd0fcb0f289706 makefile-dont-rebuild-docs.patch" diff --git a/unmaintained/julia/find-syslibs b/unmaintained/julia/find-syslibs deleted file mode 100644 index ef252636071..00000000000 --- a/unmaintained/julia/find-syslibs +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# This script adapts output of scanelf to the format produced by -# GNU's "ldconfig -p". -# -# Note: Julia uses "ldconfig -p" as a workaround to find system -# libraries, see https://github.com/JuliaLang/julia/issues/6742. -# -set -e - -echo 'libs found on ldpath' -scanelf --ldpath -E ET_DYN -BF '%F %M %S %f' | while read path class soname _; do - case "$class" in - ELFCLASS32) arch='i686';; - ELFCLASS64) arch='x86-64';; - *) arch="$(uname -m | sed 's/_/-/g')";; - esac - printf '\t%s (libc,%s) => %s\n' "$soname" "$arch" "$path" -done diff --git a/unmaintained/julia/fix-or-disable-broken-tests.patch b/unmaintained/julia/fix-or-disable-broken-tests.patch deleted file mode 100644 index 51d53110445..00000000000 --- a/unmaintained/julia/fix-or-disable-broken-tests.patch +++ /dev/null @@ -1,81 +0,0 @@ -test/Makefile and tests/choosetests: disable libdl tests entirely due to TLS storage issue: - <Shiz> ERROR: Attempt to change TLS address. - <Shiz> from my understanding, that happens when the julia-global TLS state is being set twice - <Shiz> but I'm not sure what causes it -- we don't use the ifunc functionality as we don't use glibc, - and the only reference to the TLS setter function I can see is in ui/repl.c - <Shiz> I guess the issue is that ui/repl.c somehow gets included into the .so that libdl attempts to load -test/spawn.jl: ENFILE is just as valid to return as EMFILE when the system runs out of fds; -test/cmdlineargs.jl: the backtrace symbols are broken on multiple platforms, including musl; -test/file.jl: fakeroot makes the stricter permission checks fail; -test/read.jl: ditto. - ---- a/test/spawn.jl -+++ b/test/spawn.jl -@@ -439,7 +439,7 @@ - end - catch ex - isa(ex, Base.UVError) || rethrow(ex) -- @test ex.code == Base.UV_EMFILE -+ @test ex.code == Base.UV_EMFILE || ex.code == Base.UV_ENFILE - finally - for p in ps - close(p) ---- a/test/Makefile -+++ b/test/Makefile -@@ -6,7 +6,7 @@ - - TESTGROUPS = linalg sparse unicode strings dates - TESTS = all $(TESTGROUPS) \ -- $(filter-out TestHelpers runtests testdefs, \ -+ $(filter-out TestHelpers runtests testdefs libdl, \ - $(patsubst $(SRCDIR)/%.jl,%,$(wildcard $(SRCDIR)/*.jl))) \ - $(foreach group,$(TESTGROUPS), \ - $(patsubst $(SRCDIR)/%.jl,%,$(wildcard $(SRCDIR)/$(group)/*.jl))) ---- a/test/cmdlineargs.jl -+++ b/test/cmdlineargs.jl -@@ -404,7 +404,7 @@ - bt = readstring(pipeline(ignorestatus(`$(Base.julia_cmd()) --startup-file=no --precompiled=$precomp - -E 'include("____nonexistent_file")'`), stderr=catcmd)) - @test contains(bt, "include_from_node1") -- if is_windows() && Sys.WORD_SIZE == 32 && precomp == "yes" -+ if ((is_windows() && Sys.WORD_SIZE == 32) || is_linux()) && precomp == "yes" - # fixme, issue #17251 - @test_broken contains(bt, "include_from_node1(::String) at $(joinpath(".","loading.jl"))") - else ---- a/test/choosetests.jl -+++ b/test/choosetests.jl -@@ -32,7 +32,7 @@ - "replutil", "sets", "test", "goto", "llvmcall", "llvmcall2", "grisu", - "nullable", "meta", "stacktraces", "profile", "libgit2", "docs", - "markdown", "base64", "serialize", "misc", "threads", -- "enums", "cmdlineargs", "i18n", "workspace", "libdl", "int", -+ "enums", "cmdlineargs", "i18n", "workspace", "int", - "checked", "intset", "floatfuncs", "compile", "distributed", "inline", - "boundscheck", "error", "ambiguous", "cartesian", "asmvariant", "osutils", - "channels", "iostream", "specificity" ---- a/test/file.jl -+++ b/test/file.jl -@@ -174,8 +174,8 @@ - @test stat(file).gid ==0 - @test stat(file).uid ==0 - else -- @test_throws Base.UVError chown(file, -2, -1) # Non-root user cannot change ownership to another user -- @test_throws Base.UVError chown(file, -1, -2) # Non-root user cannot change group to a group they are not a member of (eg: nogroup) -+ # @test_throws Base.UVError chown(file, -2, -1) # Non-root user cannot change ownership to another user -+ # @test_throws Base.UVError chown(file, -1, -2) # Non-root user cannot change group to a group they are not a member of (eg: nogroup) - end - else - # test that chown doesn't cause any errors for Windows ---- a/test/read.jl -+++ b/test/read.jl -@@ -466,8 +466,8 @@ - @test eof(f1) - @test_throws Base.UVError eof(f2) - if get(ENV, "USER", "") != "root" && get(ENV, "HOME", "") != "/root" -- @test_throws SystemError open(f, "r+") -- @test_throws Base.UVError Base.Filesystem.open(f, Base.Filesystem.JL_O_RDWR) -+ # @test_throws SystemError open(f, "r+") -+ # @test_throws Base.UVError Base.Filesystem.open(f, Base.Filesystem.JL_O_RDWR) - else - warn("file permissions tests skipped due to running tests as root (not recommended)") - end diff --git a/unmaintained/julia/makefile-dont-rebuild-docs.patch b/unmaintained/julia/makefile-dont-rebuild-docs.patch deleted file mode 100644 index 8e067a09caf..00000000000 --- a/unmaintained/julia/makefile-dont-rebuild-docs.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -338,8 +338,7 @@ - $(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)" - endef - --install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html -- @$(MAKE) $(QUIET_MAKE) all -+install: $(build_depsbindir)/stringreplace - @for subdir in $(bindir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \ - mkdir -p $(DESTDIR)$$subdir; \ - done diff --git a/unmaintained/julia/test-disable-tests-using-fake_pty.patch b/unmaintained/julia/test-disable-tests-using-fake_pty.patch deleted file mode 100644 index e954e317fad..00000000000 --- a/unmaintained/julia/test-disable-tests-using-fake_pty.patch +++ /dev/null @@ -1,36 +0,0 @@ -fake_pty does not work on Alpine or just inside LXC container...? - -Error During Test - Got an exception of type ErrorException outside of a @test - Failed to open PTY master - Stacktrace: - [1] open_fake_pty() at test/TestHelpers.jl:31 - [2] with_fake_pty(::TestHelpers.##5#8{Int64,Cmd,Array{Any,1},TestHelpers.#format_output#7{Bool}}) at test/TestHelpers.jl:47 - [3] #challenge_prompt#4(::Int64, ::Bool, ::Function, ::Cmd, ::Array{Any,1}) at test/TestHelpers.jl:83 - [4] (::TestHelpers.#kw##challenge_prompt)(::Array{Any,1}, ::TestHelpers.#challenge_prompt, ::Cmd, ::Array{Any,1}) at ./<missing>:0 - [5] #challenge_prompt#1(::Int64, ::Bool, ::Function, ::String, ::Array{Any,1}) at test/TestHelpers.jl:68 - [6] challenge_prompt(::String, ::Array{Any,1}) at test/TestHelpers.jl:57 - [7] (::Test47Main_libgit2.##48#97)() at test/libgit2.jl:1301 - ---- a/test/repl.jl -+++ b/test/repl.jl -@@ -579,7 +579,7 @@ - let exename = Base.julia_cmd() - - # Test REPL in dumb mode --if !is_windows() -+if false - TestHelpers.with_fake_pty() do slave, master - nENV = copy(ENV) - nENV["TERM"] = "dumb" ---- a/test/libgit2.jl -+++ b/test/libgit2.jl -@@ -1270,7 +1270,7 @@ - # The following tests require that we can fake a TTY so that we can provide passwords - # which use the `getpass` function. At the moment we can only fake this on UNIX based - # systems. -- if is_unix() -+ if false - @testset "SSH credential prompt" begin - url = "git@github.com/test/package.jl" - diff --git a/unmaintained/julia/test-libgit2-skip-SSL_CERT_FILE.patch b/unmaintained/julia/test-libgit2-skip-SSL_CERT_FILE.patch deleted file mode 100644 index 60e0404e0f9..00000000000 --- a/unmaintained/julia/test-libgit2-skip-SSL_CERT_FILE.patch +++ /dev/null @@ -1,27 +0,0 @@ -This test fails and I have no clue why. It seems that SSL_CERT_FILE is ignored. - -Hostname verification: Test Failed - Expression: err.code == LibGit2.Error.ERROR - Evaluated: ECERTIFICATE::Base.LibGit2.Error.Code = -17 == ERROR::Base.LibGit2.Error.Code = -1 -Stacktrace: - [1] (::Test98Main_libgit2.##54#103{String,Cmd})() at test/libgit2.jl:1697 - [2] withenv(::Test98Main_libgit2.##54#103{String,Cmd}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at ./env.jl:157 - [3] (::Test98Main_libgit2.##51#100)(::String) at test/libgit2.jl:1692 - [4] mktempdir(::Test98Main_libgit2.##51#100, ::String) at ./file.jl:392 - [5] macro expansion at test/libgit2.jl:1647 [inlined] - [6] macro expansion at ./test.jl:860 [inlined] - [7] (::Test98Main_libgit2.##7#56)(::String) at test/libgit2.jl:1606 - ---- a/test/libgit2.jl -+++ b/test/libgit2.jl -@@ -1696,8 +1696,8 @@ - err = open(errfile, "r") do f - deserialize(f) - end -- @test err.code == LibGit2.Error.ERROR -- @test err.msg == "Invalid Content-Type: text/plain" -+ @test_skip err.code == LibGit2.Error.ERROR -+ @test_skip err.msg == "Invalid Content-Type: text/plain" - end - finally - kill(pobj) diff --git a/unmaintained/julia/test-repl-disable-22176-20482.patch b/unmaintained/julia/test-repl-disable-22176-20482.patch deleted file mode 100644 index 171a5a04769..00000000000 --- a/unmaintained/julia/test-repl-disable-22176-20482.patch +++ /dev/null @@ -1,32 +0,0 @@ -There's some problem with temp file, don't know why... - -Error During Test - Test threw an exception of type SystemError - Expression: readstring(tmp) == "123\n" - SystemError: opening file /tmp/julia_GolmjG: No such file or directory - Stacktrace: - [1] #systemerror#44 at ./error.jl:64 [inlined] - [2] systemerror at ./error.jl:64 - [3] open at ./iostream.jl:104 - [4] open at ./iostream.jl:150 - [5] macro expansion at test/repl.jl:139 [inlined] - [6] anonymous at ./<missing>:? - [7] include_from_node1 at ./loading.jl:569 - [8] include at ./sysimg.jl:14 - [9] macro expansion at test/testdefs.jl:18 [inlined] - [10] macro expansion at ./test.jl:860 [inlined] - [11] macro expansion at ./util.jl:378 [inlined] - [12] macro expansion at test/testdefs.jl:17 [inlined] - [13] anonymous at ./<missing>:? - ---- a/test/repl.jl -+++ b/test/repl.jl -@@ -126,7 +126,7 @@ - - # issues #22176 & #20482 - # TODO: figure out how to test this on Windows -- is_windows() || let tmp = tempname() -+ true || let tmp = tempname() - try - write(stdin_write, ";") - readuntil(stdout_read, "shell> ") diff --git a/unmaintained/justc-envdir/APKBUILD b/unmaintained/justc-envdir/APKBUILD deleted file mode 100644 index fcf21326c05..00000000000 --- a/unmaintained/justc-envdir/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Jürgen Brunink <oss@jbserver.eu> -# Contributor: Dermot Bradley <dermot_bradley@yahoo.com> -# Maintainer: Dermot Bradley <dermot_bradley@yahoo.com> -pkgname=justc-envdir -pkgver=1.0.1 -pkgrel=0 -pkgdesc="Fork of s6-envdir that reads entire files" -url="https://github.com/just-containers/justc-envdir/" -arch="all" -license="ISC" -makedepends="skalibs-dev" -options="!check" # no test suite/unit tests -source="$pkgname-$pkgver.tar.gz::https://github.com/just-containers/justc-envdir/archive/v$pkgver.tar.gz - " - -build() { - ./configure \ - --enable-shared \ - --disable-allstatic \ - --prefix=/usr - make -} - -package() { - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/include -} - -sha512sums="e657ada6424e1950d21603ead4d643da2e0e1a22f7c508593b5d295b9b7cfb0b083a211c9f0e1a7036d7b620fe5cef2f64b66c0c99c9dbd7f8b07731613df29c justc-envdir-1.0.1.tar.gz" diff --git a/unmaintained/kaniko/APKBUILD b/unmaintained/kaniko/APKBUILD deleted file mode 100644 index e943c52eb0b..00000000000 --- a/unmaintained/kaniko/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Henrik Riomar <henrik.riomar@gmail.com> -# Maintainer: -pkgname=kaniko -pkgver=1.9.1 -pkgrel=1 -pkgdesc="Build Container Images In Kubernetes" -url="https://github.com/GoogleContainerTools/kaniko/" -arch="all" -license="Apache-2.0" -makedepends="bash go" -source="https://github.com/GoogleContainerTools/kaniko/archive/v$pkgver/kaniko-$pkgver.tar.gz" - -export GOFLAGS="$GOFLAGS -modcacherw" -export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" -export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" -export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" - -build() { - make out/executor -} - -check() { - go test -short ./cmd/... -} - -package() { - install -Dm755 out/executor "$pkgdir"/usr/bin/kaniko-executor -} - -sha512sums=" -794552b7e0ae5d36ee81e5bd741072fb00dca358d627a973c1ffa64cdd92d0e048fe06fe6080cb76ce9159c4d925895128b12fd0af8e01b8acfb590fa3214197 kaniko-1.9.1.tar.gz -" diff --git a/unmaintained/kdevelop-python/APKBUILD b/unmaintained/kdevelop-python/APKBUILD deleted file mode 100644 index e4b6b185783..00000000000 --- a/unmaintained/kdevelop-python/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> -pkgname=kdevelop-python -pkgver=5.6.2 -pkgrel=2 -pkgdesc="Python language and documentation plugin for KDevelop" -url="https://www.kdevelop.org/" -# armhf blocked by extra-cmake-modules -# ppc64le, s390x, mips64 and riscv64 blocked by kdevelop -arch="all !armhf !ppc64le !s390x !mips64 !riscv64" -license="LGPL-2.0-or-later" -depends="python3" -makedepends=" - extra-cmake-modules - kdevelop-dev - ki18n-dev - ktexteditor-dev - python3-dev - qt5-qtbase-dev - threadweaver-dev - " -checkdepends="xvfb-run" -source="https://download.kde.org/stable/kdevelop/$pkgver/src/kdev-python-$pkgver.tar.xz" -options="!check" # Tests hang -builddir="$srcdir/kdev-python-$pkgver" - -build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - cmake --build build -} - -check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -} - -package() { - DESTDIR="$pkgdir" cmake --install build -} - -sha512sums="c0ecf9c075fe8c18e31152b774e76596367bb5eca8bb5ec976e9ce90ce78512d9e42bc95daea0f1de18474ef4deee430674e186263736df0de67d7d26c81f6a0 kdev-python-5.6.2.tar.xz" diff --git a/unmaintained/keybinder/APKBUILD b/unmaintained/keybinder/APKBUILD deleted file mode 100644 index b388b046880..00000000000 --- a/unmaintained/keybinder/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=keybinder -pkgver=0.3.0 -pkgrel=2 -pkgdesc="A library for registering global keyboard shortcuts" -url="https://github.com/kupferlauncher/keybinder/tree/keybinder-legacy" -arch="all" -license="GPL-2.0-or-later" -options="!check" # No test suite -depends_dev="libxext-dev" -makedepends="gtk+2.0-dev" -subpackages="$pkgname-dev $pkgname-doc" -source="https://dev.alpinelinux.org/archive/keybinder/keybinder-$pkgver.tar.gz" - -prepare() { - default_prepare - update_config_sub -} - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --disable-static \ - --disable-python \ - --disable-lua - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="93ed88caa8246286907b9744383487391412b52be534cf085a6090c390bab181dc617721bb9216f29fd8314a40f65e27630d699ac6cb1657e0641a3d472eb22e keybinder-0.3.0.tar.gz" diff --git a/unmaintained/ksymoops/APKBUILD b/unmaintained/ksymoops/APKBUILD deleted file mode 100644 index 71bba22b11d..00000000000 --- a/unmaintained/ksymoops/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=ksymoops -pkgver=2.4.11 -pkgrel=7 -pkgdesc="A Linux kernel Oops file troubleshooting tool" -url="https://kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" -arch="all" -license="GPL-2.0" -depends="" -makedepends="binutils-dev" -subpackages="$pkgname-doc" -source="https://kernel.org/pub/linux/utils/kernel/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz - $pkgname-$pkgver-build.patch - " -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - # see https://sourceware.org/bugzilla/show_bug.cgi?id=14243 - # we abuse DEBUG variable which is added to CFLAGS - make DEBUG="$CFLAGS -DPACKAGE -DPACKAGE_VERSION" || return 1 -} - -package() { - cd "$builddir" - make install \ - INSTALL=install \ - INSTALL_PREFIX="$pkgdir"/usr \ - INSTALL_MANDIR="$pkgdir"/usr/share/man -} - -sha512sums="4b1055e03f83f9d433af0427234c24ea81f2718b242f234c4e058033089e13f4ac972064835d516686f4a5ad760618aa741b6be2c97df89eff52141d14af64ac ksymoops-2.4.11.tar.gz -1d72c79847435850b12912bae602fd560a44604ea8c4960744668fe7726bbddc25b6d10cd6ec2f0078ddb9a378400d03f04ba50ae380de0051998245e011cb00 ksymoops-2.4.11-build.patch" diff --git a/unmaintained/ksymoops/ksymoops-2.4.11-build.patch b/unmaintained/ksymoops/ksymoops-2.4.11-build.patch deleted file mode 100644 index e563840c6ca..00000000000 --- a/unmaintained/ksymoops/ksymoops-2.4.11-build.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/Makefile.orig 2006-11-16 17:39:45.000000000 -0500 -+++ b/Makefile 2006-11-16 17:39:55.000000000 -0500 -@@ -96,9 +96,6 @@ - INSTALL_MANDIR := $(INSTALL_PREFIX)/man - endif - --STATIC := -Wl,-Bstatic --DYNAMIC := -Wl,-Bdynamic -- - OBJECTS := io.o ksyms.o ksymoops.o map.o misc.o object.o oops.o re.o symbol.o - - all: $(PROGS) diff --git a/unmaintained/kubergrunt/APKBUILD b/unmaintained/kubergrunt/APKBUILD deleted file mode 100644 index 9faf296a973..00000000000 --- a/unmaintained/kubergrunt/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: -pkgname=kubergrunt -pkgver=0.9.3 -pkgrel=3 -pkgdesc="Binary with a collection of commands to fill the gaps between Terraform, Helm and Kubectl" -url="https://www.gruntwork.io/" -arch="all" -license="Apache-2.0" -makedepends="go" -source="$pkgname-$pkgver.tar.gz::https://github.com/gruntwork-io/kubergrunt/archive/refs/tags/v$pkgver.tar.gz" -options="!check" # Tests require a running Kubernetes cluster - -export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" -export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" -export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" - -build() { - go build -v -o bin/$pkgname -ldflags "-X main.VERSION=v$pkgver" ./cmd -} - -package() { - install -Dm755 bin/$pkgname -t "$pkgdir"/usr/bin/ -} - -sha512sums=" -749dc349199a2270f3217423dda2b04bfbfa5fbcb6d022a1e17108c5ed6f648483ff3ef8e2d03355ce6d24cc8b561f27f6cac23b148f44bc78b2ad77c20ea5c6 kubergrunt-0.9.3.tar.gz -" diff --git a/unmaintained/lbzip2/APKBUILD b/unmaintained/lbzip2/APKBUILD deleted file mode 100644 index 1a9d3c61327..00000000000 --- a/unmaintained/lbzip2/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Justin Menga <justin.menga@gmail.com> -# Maintainer: Justin Menga <justin.menga@gmail.com> -pkgname=lbzip2 -pkgver=2.5 -pkgrel=1 -pkgdesc="A parallel bzip2 compression utility" -url="http://lbzip2.org" -arch="all" -license="GPL-2.0-or-later" -subpackages="$pkgname-doc" -source="http://archive.lbzip2.org/$pkgname-$pkgver.tar.gz" - -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - ./configure --prefix=/usr - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir/" install -} -sha512sums="76e96cfa75b3ed515b2f891349dffc1403daab2dd0a2a614fa0c811cec6ca25faa395da08ad68a9b6ba4069332c4571f70fb7424f06ef3d800c3082c08d7d3d7 lbzip2-2.5.tar.gz" diff --git a/unmaintained/letsencrypt-nosudo/APKBUILD b/unmaintained/letsencrypt-nosudo/APKBUILD deleted file mode 100644 index 2f144e42d79..00000000000 --- a/unmaintained/letsencrypt-nosudo/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor: Stuart Cardall <developer@it-offshore.co.uk> -# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> -pkgname=letsencrypt-nosudo -pkgver=0.0.1 -pkgrel=0 -pkgdesc="Free HTTPS certificates without having to trust the letsencrypt cli with sudo/root" -options="!check" # No testsuite -url="https://github.com/diafygi/letsencrypt-nosudo" -arch="noarch" -license="AGPL-3.0-only" -depends="python2 openssl" -subpackages="${pkgname}-doc" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/itoffshore/${pkgname}/archive/${pkgver}.tar.gz" - -package() { - mkdir -p "${pkgdir}/usr/bin" - mkdir -p "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm755 *.py "${pkgdir}/usr/bin/" - install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/" -} - -sha512sums="1d496a2dc74892f2f359562961547aad71c940fc372e2895d618cdf2a7b44b116ae039608e3589de74658ec9140ffbe1fcb51728805d215a4a6aa0c053c21672 letsencrypt-nosudo-0.0.1.tar.gz" diff --git a/unmaintained/libc++/APKBUILD b/unmaintained/libc++/APKBUILD deleted file mode 100644 index ee79d616725..00000000000 --- a/unmaintained/libc++/APKBUILD +++ /dev/null @@ -1,101 +0,0 @@ -# Contributor: Dmitry Golovin <dima@golovin.in> -# Contributor: Shiz <hi@shiz.me> -# Maintainer: Shiz <hi@shiz.me> -pkgname=libc++ -pkgver=4.0.0 -pkgrel=1 -_llvmver=${pkgver%%.*} -pkgdesc="A new implementation of the C++ standard library, targeting C++11" -url="https://libcxx.llvm.org/" -arch="all !ppc64le !s390x" -license="UOI-NCSA" -makedepends="cmake - clang>=$_llvmver - llvm-dev>=$_llvmver - llvm-libunwind-dev>=$_llvmver - llvm-static>=$_llvmver" -checkdepends="lit" -subpackages="$pkgname-dev" -source="https://releases.llvm.org/$pkgver/libcxx-$pkgver.src.tar.xz - https://releases.llvm.org/$pkgver/libcxxabi-$pkgver.src.tar.xz - check-for-musl-libcs-max_align_t.patch - avoid-strtoll_l.patch - disable-broken-tests.patch - no-libunwind-sources.patch" -builddir="$srcdir" -_cxxdir="$srcdir/libcxx-$pkgver.src" -_abidir="$srcdir/libcxxabi-$pkgver.src" - -# Tests on armhf are too slooow, disable them for now. -case "$CARCH" in - armhf) options="!check";; -esac - -prepare() { - ln -s "$_cxxdir" "$srcdir"/libcxx - ln -s "$_abidir" "$srcdir"/libcxxabi - default_prepare -} - -# Due a mutual build-time dependency between libc++abi and libc++, it is -# preferable that we build them within the same APKBUILD to avoid duplication. -# Since nothing else seems to need libc++abi and we need to compile it into -# libc++ statically anyway to make -static with libc++ work, we don't actually -# create libc++abi packages. If something arises that depends on libc++abi, -# this may change, but for now this is the simplest approach. -build() { - mkdir -p "$_abidir"/build - cd "$_abidir"/build - cmake .. \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_COMPILER=clang++ \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - -DLIBCXXABI_USE_LLVM_UNWINDER=ON \ - -DLIBCXXABI_LIBUNWIND_INCLUDES=/usr/include \ - -DLIBCXXABI_LIBCXX_INCLUDES="$_cxxdir"/include \ - -DLIBCXXABI_LIBCXX_LIBRARY_PATH="$_cxxdir"/build/lib \ - -DLIBCXXABI_INCLUDE_TESTS=1 - make - - mkdir -p "$_cxxdir"/build - cd "$_cxxdir"/build - cmake .. \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_COMPILER=clang++ \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - -DLIBCXX_HAS_MUSL_LIBC=ON \ - -DLIBCXX_HAS_GCC_S_LIB=OFF \ - -DLIBCXX_CXX_ABI=libcxxabi \ - -DLIBCXX_CXX_ABI_INCLUDE_PATHS="$_abidir"/include \ - -DLIBCXX_CXX_ABI_LIBRARY_PATH="$_abidir"/build/lib \ - -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON # needed to make -static work. - make -} - -check() { - cd "$_abidir"/build - make check-cxxabi - - cd "$_cxxdir"/build - # XXX: Some tests fail due to fakeroot currently, and some other due - # yet-uninvestigated causes. - make check-cxx || true -} - -package() { - cd "$_cxxdir"/build - make install DESTDIR="$pkgdir" -} - -sha512sums="6dad794c00919955e14710def169cdcde8a1743431479e993c4a6a3c87c2fd9f5dbd6e17542e524981eed0783dce70384c356b74ef3c6d70598c6ff03454b1dd libcxx-4.0.0.src.tar.xz -b69933a0bde00321323e98962cd54b78a48bc5e93448d7a5124cb5ef844497ba7648cd92fcbe476186c60c7742e3121841f150c142c2a14c1bf2aa26a8b93d64 libcxxabi-4.0.0.src.tar.xz -6ad979fd7095940759cd1f51cc6d1d9a98dd78ecc51191f4d7bdbca834fcad7e5371ac6199512ca297267868bfbe1872258a903a03c98e7aa46700d31e79d24a check-for-musl-libcs-max_align_t.patch -212bbc1bcbc4628754bdd5bc8a9109fa0032790a3c80517a647a26ee27c22daa417303a72b6cc92cfc099dcc7fd9a36e9d8899165ebe4a5ab14030eaa596bc9c avoid-strtoll_l.patch -c3e4b9d68a9b7c7066f3a63c756fe682749d8d8abbfdf629d7ed085bbb5f69a1c2d79d0e53f036e0a5d9e501c48df15708560f3a4e6d68ac91c577572d181ccd disable-broken-tests.patch -7d514667bbbb3b32286b91c1b96126cc795ea37db0c6ecdb6502422a4bd6a55553ff2b85ba6cec2969d9d88402713cc4544b9b895b516693a0e5f31a5d628da4 no-libunwind-sources.patch" diff --git a/unmaintained/libc++/avoid-strtoll_l.patch b/unmaintained/libc++/avoid-strtoll_l.patch deleted file mode 100644 index 7af37d0e0e1..00000000000 --- a/unmaintained/libc++/avoid-strtoll_l.patch +++ /dev/null @@ -1,23 +0,0 @@ -musl doesn't support strtoll_l(), so replace it with a simple strtoll() call. - -diff -Nru a/libcxx/include/locale b/libcxx/include/locale ---- a/libcxx/include/locale 2017-01-04 23:56:00.000000000 +0000 -+++ b/libcxx/include/locale 2017-05-14 23:43:07.867204323 +0000 -@@ -695,7 +695,7 @@ - typename remove_reference<decltype(errno)>::type __save_errno = errno; - errno = 0; - char *__p2; -- long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE); -+ long long __ll = strtoll(__a, &__p2, __base); - typename remove_reference<decltype(errno)>::type __current_errno = errno; - if (__current_errno == 0) - errno = __save_errno; -@@ -735,7 +735,7 @@ - typename remove_reference<decltype(errno)>::type __save_errno = errno; - errno = 0; - char *__p2; -- unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE); -+ unsigned long long __ll = strtoull(__a, &__p2, __base); - typename remove_reference<decltype(errno)>::type __current_errno = errno; - if (__current_errno == 0) - errno = __save_errno; diff --git a/unmaintained/libc++/check-for-musl-libcs-max_align_t.patch b/unmaintained/libc++/check-for-musl-libcs-max_align_t.patch deleted file mode 100644 index 467306949a6..00000000000 --- a/unmaintained/libc++/check-for-musl-libcs-max_align_t.patch +++ /dev/null @@ -1,18 +0,0 @@ -libc++'s stddef.h uses non-standard macros to detect if max_align_t exists, -which break on musl. We reluctantly add musl's non-public macro the list -for now, but this should be fixed more fundamentally. - -diff --git a/libcxx/include/stddef.h b/libcxx/include/stddef.h -index 8841bbe..faf8552 100644 ---- a/libcxx/include/stddef.h -+++ b/libcxx/include/stddef.h -@@ -53,7 +53,8 @@ using std::nullptr_t; - } - - // Re-use the compiler's <stddef.h> max_align_t where possible. --#if !defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_GCC_MAX_ALIGN_T) -+#if !defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_GCC_MAX_ALIGN_T) && \ -+ !defined(__DEFINED_max_align_t) - typedef long double max_align_t; - #endif - diff --git a/unmaintained/libc++/disable-broken-tests.patch b/unmaintained/libc++/disable-broken-tests.patch deleted file mode 100644 index 84798765da9..00000000000 --- a/unmaintained/libc++/disable-broken-tests.patch +++ /dev/null @@ -1,68 +0,0 @@ -musl doesn't support the locale things that the locale requirements test, like -localized money and decimal formatting. - -The syscat.errcat tests are broken and rely on the libc to return a specific -string in the form of "Unknown error <n>" for unknown errnos when calling -strerror(), which is not defined anywhere and libcs are free to return any -string they want, up to and including "libcxx tests are silly". - -Similarly to glibc, musl uses "NaN" to format NaN long doubles, not "nan". -Finally, musl uses "0" to indicate a NULL pointer as %p argument to *printf(). - -diff -Nru a/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp b/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp ---- a/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp 2016-06-14 06:37:36.000000000 +0000 -+++ b/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp 2017-05-15 01:08:24.868284337 +0000 -@@ -7,6 +7,8 @@ - // - //===----------------------------------------------------------------------===// - -+// XFAIL: libcpp-has-musl-libc -+ - // <system_error> - - // class error_category -diff -Nru a/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp b/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp ---- a/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp 2016-06-14 06:37:36.000000000 +0000 -+++ b/libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp 2017-05-15 01:08:09.171161729 +0000 -@@ -7,6 +7,8 @@ - // - //===----------------------------------------------------------------------===// - -+// XFAIL: libcpp-has-musl-libc -+ - // <system_error> - - // class error_category -diff -Nru a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp ---- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp 2016-12-24 01:07:54.000000000 +0000 -+++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp 2017-05-15 02:02:23.221864590 +0000 -@@ -18,6 +18,7 @@ - - // TODO GLIBC uses a different string for positive and negative NAN numbers. - // XFAIL: linux-gnu -+// XFAIL: libcpp-has-musl-libc - - #include <locale> - #include <ios> -diff -Nru a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp ---- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp 2017-05-15 02:01:56.842668781 +0000 -+++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp 2017-05-15 02:11:41.668288608 +0000 -@@ -38,6 +38,6 @@ - char str[50]; - output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); - std::string ex(str, iter.base()); -- assert(ex == "0x0" || ex == "(nil)"); -+ assert(ex == "0" || ex == "0x0" || ex == "(nil)"); - } - } -diff -Nru a/libcxx/test/libcxx/test/target_info.py b/libcxx/test/libcxx/test/target_info.py ---- a/libcxx/test/libcxx/test/target_info.py 2017-05-15 23:31:06.698175150 +0000 -+++ b/libcxx/test/libcxx/test/target_info.py 2017-05-15 23:34:59.805751050 +0000 -@@ -35,6 +35,7 @@ - - def test_locale(loc): - assert loc is not None -+ return False - default_locale = locale.setlocale(locale.LC_ALL) - try: - locale.setlocale(locale.LC_ALL, loc) diff --git a/unmaintained/libc++/no-libunwind-sources.patch b/unmaintained/libc++/no-libunwind-sources.patch deleted file mode 100644 index d9c31051b54..00000000000 --- a/unmaintained/libc++/no-libunwind-sources.patch +++ /dev/null @@ -1,44 +0,0 @@ -Shiz created this revision. -Herald added a subscriber: mgorny. - -As per r241993, libunwind_ext.h is not used anymore, and thus only the public libunwind includes are needed. -This eases distro packaging efforts and removes an unneeded requirement for out-of-tree building. - - -Repository: - rL LLVM - -https://reviews.llvm.org/D33178 - -Files: - libcxxabi/CMakeLists.txt - - -Index: libcxxabi/CMakeLists.txt -=================================================================== ---- a/libcxxabi/CMakeLists.txt -+++ b/libcxxabi/CMakeLists.txt -@@ -459,23 +459,7 @@ - NO_DEFAULT_PATH - ) - -- find_path( -- LIBCXXABI_LIBUNWIND_SOURCES -- libunwind_ext.h -- PATHS ${LIBCXXABI_LIBUNWIND_PATH}/src/ -- ${LIBCXXABI_LIBUNWIND_INCLUDES}/../src/ -- ${LLVM_MAIN_SRC_DIR}/projects/libunwind/src/ -- ${LLVM_MAIN_SRC_DIR}/runtimes/libunwind/src/ -- NO_DEFAULT_PATH -- ) -- -- if (LIBCXXABI_LIBUNWIND_SOURCES STREQUAL "LIBCXXABI_LIBUNWIND_SOURCES-NOTFOUND") -- message(WARNING "LIBCXXABI_LIBUNWIND_SOURCES was not specified and couldn't be infered.") -- set(LIBCXXABI_LIBUNWIND_SOURCES "") -- endif() -- - include_directories("${LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL}") -- include_directories("${LIBCXXABI_LIBUNWIND_SOURCES}") - endif() - - # Add source code. This also contains all of the logic for deciding linker flags diff --git a/unmaintained/libddoc/APKBUILD b/unmaintained/libddoc/APKBUILD deleted file mode 100644 index 2f1cc5aca9d..00000000000 --- a/unmaintained/libddoc/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=libddoc -pkgver=0.7.2 -pkgrel=2 -pkgdesc="D implementation of the DDoc macro system" -url="https://github.com/dlang-community/libddoc" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="libdparse-dev ldc ldc-runtime" -subpackages="$pkgname-dev" -source="https://github.com/dlang-community/libddoc/archive/v$pkgver/libddoc-$pkgver.tar.gz" - -build() { - # Makefile can't do that for us :/ - ldc2 $(pkg-config --cflags dparse) $(pkg-config --libs dparse | sed -r 's|-l([A-Za-z]+)|-L=-l\1|g') src/ddoc/* -shared -Os -soname=libddoc.so.${pkgver%%.*} -of libddoc.so -} - -check() { - ldc2 $(pkg-config --cflags dparse) $(pkg-config --libs dparse | sed -r 's|-l([A-Za-z]+)|-L=-l\1|g') src/ddoc/* -unittest -main -g -Os -of libddoc-tests - ./libddoc-tests -} - -package() { - # Makefile doesn't do that for us :/ - install -Dm755 libddoc.so "$pkgdir"/usr/lib/libddoc.so.$pkgver - ln -s libddoc.so.$pkgver "$pkgdir"/usr/lib/libddoc.so.${pkgver%%.*} - ln -s libddoc.so.${pkgver%%.*} "$pkgdir"/usr/lib/libddoc.so - - mkdir -p "$pkgdir"/usr/include/d/ - cp -r src "$pkgdir"/usr/include/d/ddoc -} - -sha512sums="b01a7cc0f81639f8817d3c5cbdb5a4d0e9c9b55f817535f8b3356f73086a2b08b6f1115bcc5abbdf0bb948bb1ed5136b91df0e53da8c2228f568ec3bc0e9eee2 libddoc-0.7.2.tar.gz" diff --git a/unmaintained/libdparse/APKBUILD b/unmaintained/libdparse/APKBUILD deleted file mode 100644 index c955d76d5c4..00000000000 --- a/unmaintained/libdparse/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=libdparse -pkgver=0.15.1 -pkgrel=1 -pkgdesc="Library for lexing and parsing D source code" -url="https://libdparse.dlang.io/" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="meson ldc ldc-runtime stdx-allocator-dev" -subpackages="$pkgname-dev" -source="https://github.com/dlang-community/libdparse/archive/v$pkgver/libdparse-$pkgver.tar.gz" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="339fa055247f7eef4807a60aaf910f3558054b97afd453b08088b80216c9707b178f3b4199f782b105f9ad0b5802453afaea7815cb688f569a96de5f0c19c02e libdparse-0.15.1.tar.gz" diff --git a/unmaintained/libguess/APKBUILD b/unmaintained/libguess/APKBUILD deleted file mode 100644 index d45a73350c7..00000000000 --- a/unmaintained/libguess/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Łukasz Jendrysik <scadu@yandex.com> -# Contributor: -# Maintainer: -pkgname=libguess -pkgver=1.2 -pkgrel=1 -pkgdesc="extremely fast character set guessing library" -url="https://github.com/kaniini/libguess" -arch="all" -options="!check" # Test suite requires package to be installed first -license="ISC" -makedepends="libmowgli-dev autoconf" -subpackages="$pkgname-dev" -source="http://rabbit.dereferenced.org/~nenolod/distfiles/libguess-$pkgver.tar.bz2" - -prepare() { - update_config_sub - default_prepare - autoconf -} - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="a17269e42e12b81e0201a27e41d9e290ac7351000473ddfcb968d5fc6e09cb5753d0534277ec257d43224cb675c8d563849853ab68ab6079a35480d6c40fb053 libguess-1.2.tar.bz2" diff --git a/unmaintained/libguestfs/APKBUILD b/unmaintained/libguestfs/APKBUILD deleted file mode 100644 index 6f5db7781e9..00000000000 --- a/unmaintained/libguestfs/APKBUILD +++ /dev/null @@ -1,118 +0,0 @@ -# Maintainer: Fathi Boudra <fathi.boudra@linaro.org> -pkgname=libguestfs -pkgver=1.44.1 -pkgrel=0 -pkgdesc="tools for accessing and modifying virtual machine disk images" -url="https://libguestfs.org/" -# only x86_64 is supported unless the qemu-system-x86_64 dependency can be parameterized with $arch -arch="x86_64" -# arch="all !s390x" # limited by libvirt-dev -license="GPL-2.0-or-later" -depends="cdrkit curl gptfdisk qemu-img qemu-system-x86_64" -makedepends=" - autoconf automake libtool - acl-dev - augeas-dev - bash - bison - coreutils - cpio - file-dev - flex - fuse-dev - gawk - gettext-dev - hivex-dev - jansson-dev - gperf - libcap-dev - libconfig-dev - libselinux-dev - libselinux-utils - libtirpc-dev - libvirt-dev - libxml2-dev - libxml2-utils - ncurses-dev - ocaml - ocaml-findlib - pcre-dev - perl - psmisc - python3-dev - qemu-system-aarch64 - qemu-system-arm - qemu-system-i386 - qemu-system-ppc64 - qemu-system-s390x - qemu-system-x86_64 - readline-dev - xz - xz-dev -" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-$pkgname:_py" -source=" - http://download.libguestfs.org/1.44-stable/libguestfs-$pkgver.tar.gz - https://raw.githubusercontent.com/alpinelinux/aports/3.9-stable/main/kbd/error.h - ocaml-m4.patch -" -options="!check charset.alias" # Test suite does not support Alpine Linux at this moment - -prepare() { - default_prepare - autoreconf -vif - # busybox gzip does not support --best - sed -i 's/gzip --best/gzip -9/g' test-data/files/* - # musl lacks error.h - cp -a "$srcdir"/error.h "$builddir"/lib/ -} - -build() { - PYTHON=/usr/bin/python3 ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --sysconfdir=/etc \ - --disable-probes \ - --disable-daemon \ - --disable-appliance \ - --disable-ocaml \ - --disable-perl \ - --disable-ruby \ - --disable-haskell \ - --disable-php \ - --disable-erlang \ - --disable-lua \ - --disable-golang \ - --disable-gobject \ - --without-java - # Building index-parse.c and index-scan.c by hand works around a race - # condition in the autotools cruft, where two other more copies of yacc - # race with each other, resulting in a corrupted file. - make -j1 -C builder index-parse.c - make -j1 -C builder index-scan.c - make V=1 INSTALLDIRS=vendor LTLIBINTL=-lintl -} - -# FIXME test require supermin to create an appliance or a prebuilt binary appliance -# check() { -# cd "$builddir" -# wget http://download.libguestfs.org/binaries/appliance/appliance-1.38.0.tar.xz -O /tmp/appliance-1.38.0.tar.xz -# $(cd /tmp && tar xf appliance-1.38.0.tar.xz) -# export LIBGUESTFS_PATH=/tmp/appliance -# make quickcheck -# } - -package() { - make V=1 INSTALLDIRS=vendor DESTDIR="$pkgdir" install - make V=1 INSTALLDIRS=vendor DESTDIR="$pkgdir" -C python install -} - -_py() { - pkgdesc="$pkgname - Python 3 bindings" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/ -} - -sha512sums="db6eab7350d9318a5ad5f968b24ed77ab411c9be3476b62b2b8448cf06db2462af1e3c9d8b02b54011d43651c281d74db7cb8023426a3f09667aa5b3597c7c33 libguestfs-1.44.1.tar.gz -c66f6b0d8c8b8d285c740bdbe7130dee272ac01cd5e73b35a58cedf1a77fe8d9e062631b804fb58014d8eb9861c8f28aed07bc022ef31662bcc61b5c85a21752 error.h -20c0e0abe7c30d55c9335a8579aac654603cf29d0074a2fbada3749529a5a121b30963ad6666d79eadab4126a73d59bcd2b01c3e118f927ac39f90681561249c ocaml-m4.patch" diff --git a/unmaintained/libguestfs/ocaml-m4.patch b/unmaintained/libguestfs/ocaml-m4.patch deleted file mode 100644 index 32f2f4fbfee..00000000000 --- a/unmaintained/libguestfs/ocaml-m4.patch +++ /dev/null @@ -1,25 +0,0 @@ -guestfs-ocaml.m4: Check caml_alloc_initialized_string - -Always check, even if --disable-ocaml is selected - ---- - m4/guestfs-ocaml.m4 | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4 -index 18f95c2..bf07799 100644 ---- a/m4/guestfs-ocaml.m4 -+++ b/m4/guestfs-ocaml.m4 -@@ -214,8 +214,7 @@ AM_CONDITIONAL([HAVE_BYTES_COMPAT_ML], - [test "x$have_Bytes_module" = "xno"]) - - dnl Check if OCaml has caml_alloc_initialized_string (added 2017). --AS_IF([test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno" && \ -- test "x$enable_ocaml" = "xyes"],[ -+AS_IF([test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"],[ - AC_MSG_CHECKING([for caml_alloc_initialized_string]) - cat >conftest.c <<'EOF' - #include <caml/alloc.h> --- -2.31.1 - diff --git a/unmaintained/liboil/APKBUILD b/unmaintained/liboil/APKBUILD deleted file mode 100644 index 40db892144b..00000000000 --- a/unmaintained/liboil/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=liboil -pkgver=0.3.17 -pkgrel=7 -pkgdesc="Library of simple functions that are optimized for various CPUs." -url="https://liboil.freedesktop.org/" -arch="all" -license="BSD-2-Clause-NetBSD, BSD-3-Clause, Weird-Motorola-License" # FIXME -subpackages="$pkgname-dev $pkgname-doc" -depends= -source="http://$pkgname.freedesktop.org/download/$pkgname-$pkgver.tar.gz - fix-s390x-stamp.patch" - -prepare() { - cd "$builddir" - update_config_sub - default_prepare -} - -build() { - unset CFLAGS - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install - install -m755 -d "$pkgdir"/usr/share/licenses/liboil - install -m644 COPYING "$pkgdir"/usr/share/licenses/liboil/ -} -sha512sums="26f60d37af8aae435ff17f2aa852a4e52cebd96ef7be04cb4dc14c61bc42160e333e317e5b33f05f6d4b6c819b15c4ecd1d4c03018515252daea26dd4ed60145 liboil-0.3.17.tar.gz -58bd22f90062bd87765734650bffa292e50b1a6744a74665a59f61ceaa8d0a668d48fe73b84fcaa0371dfa299a5715bd91e4f4699b1db8cb16ea09953b2bf45c fix-s390x-stamp.patch" diff --git a/unmaintained/liboil/fix-s390x-stamp.patch b/unmaintained/liboil/fix-s390x-stamp.patch deleted file mode 100644 index 49536afcffb..00000000000 --- a/unmaintained/liboil/fix-s390x-stamp.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/liboil/liboilcpu-misc.c b/liboil/liboilcpu-misc.c -index 97b740c..9333b13 100644 ---- a/liboil/liboilcpu-misc.c -+++ b/liboil/liboilcpu-misc.c -@@ -87,7 +87,7 @@ static unsigned long - oil_profile_stamp_s390(void) - { - uint64_t ts; -- __asm__ __volatile__ ("STCK %0(%0)\n" : : "r" (&ts)); -+ __asm__ __volatile__ ("STCK %0\n" : "=Q" (ts) :: "cc"); - return ts; - } - diff --git a/unmaintained/libpurple-carbons/APKBUILD b/unmaintained/libpurple-carbons/APKBUILD deleted file mode 100644 index b1257135fcd..00000000000 --- a/unmaintained/libpurple-carbons/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Marian <marian.buschsieweke@ovgu.de> -# Maintainer: Marian <marian.buschsieweke@ovgu.de> -pkgname=libpurple-carbons -pkgver=0.1.3 -pkgrel=0 -pkgdesc="Experimental XEP-0280: Message Carbons plugin for libpurple" -url="https://github.com/gkdr/carbons" -arch="all" -license="GPL" -depends="libpurple libpurple-xmpp" -makedepends="glib-dev pidgin-dev libxml2-dev" -subpackages="" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/gkdr/carbons/archive/v${pkgver}.tar.gz" -options="!check" -builddir="${srcdir}/carbons-${pkgver}" - -build() { - cd "$builddir" - make -} - -package() { - cd "$builddir" - make PURPLE_PLUGIN_DIR="${pkgdir}/usr/lib/purple-2/" install -} - -sha512sums="3aacbac2f9326e4e11c06d23da3ef5ef0ceee1c1789b9bdb039d344e94088e9ab35123e099fe75ea5e4f48da1ad4cb3fb048b0705ef1053f712d4875a4c61b51 libpurple-carbons-0.1.3.tar.gz" diff --git a/unmaintained/libpurple-lurch/APKBUILD b/unmaintained/libpurple-lurch/APKBUILD deleted file mode 100644 index 9ca8d106740..00000000000 --- a/unmaintained/libpurple-lurch/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Marian <marian.buschsieweke@ovgu.de> -# Maintainer: Marian <marian.buschsieweke@ovgu.de> -pkgname=libpurple-lurch -pkgver=0.6.7 -pkgrel=0 -pkgdesc="OMEMO (double ratchet encryption) support for libpurple" -url="https://github.com/gkdr/lurch" -arch="all" -license="GPL" -depends="libpurple libpurple-xmpp" -makedepends="glib-dev pidgin-dev libxml2-dev mxml-dev sqlite-dev libgcrypt-dev cmake bsd-compat-headers" -subpackages="" -_axcver=0.3.1 -_libomemover=0.6.2 -_libsignalver=2.3.1 -source="${pkgname}-${pkgver}.tar.gz::https://github.com/gkdr/lurch/archive/v${pkgver}.tar.gz - axc-${_axcver}.tar.gz::https://github.com/gkdr/axc/archive/v${_axcver}.tar.gz - libomemo-${_libomemover}.tar.gz::https://github.com/gkdr/libomemo/archive/v${_libomemover}.tar.gz - libsignal-protocol-c-${_libsignalver}.tar.gz::https://github.com/WhisperSystems/libsignal-protocol-c/archive/v${_libsignalver}.tar.gz" -options="!check" -builddir="${srcdir}/lurch-${pkgver}" - -prepare() { - cd "$srcdir" - rmdir lurch-${pkgver}/lib/libomemo lurch-${pkgver}/lib/axc axc-${_axcver}/lib/libsignal-protocol-c - mv libsignal-protocol-c-${_libsignalver} axc-${_axcver}/lib/libsignal-protocol-c - mv libomemo-${_libomemover} lurch-${pkgver}/lib/libomemo - mv axc-${_axcver} lurch-${pkgver}/lib/axc -} - -build() { - cd "$builddir" - make -} - -package() { - cd "$builddir" - make DESTDIR="${pkgdir}" install -} - -sha512sums="9590229e024db7dd00489844c637f6e50d02d40ac2002cc3c10d800c0dadbff517225e595b0ee10f5b01e4c88ec8ace9991f5f9f18ad238a252bf38ab80d737b libpurple-lurch-0.6.7.tar.gz -4f18bfb7447096af9933871f3b4e9ccf0779a19d34d7b15f2856ca2e3695b19308a3a6992ef63276b5c2af7e3a1ef83770c765604ccdb79e71cacb99b1d6188b axc-0.3.1.tar.gz -bb97989951e2e7fb1e996d771c7f840a6d2f0506a7ca927f2db51e8583c82d8bed5480f5fb7eea173d937b46a95c5bb7ac5562201487c2ea85f4abe7d85bd7b5 libomemo-0.6.2.tar.gz -eca1f5be6bf238e116eb0c289951344d7a2ceb1ab849fa0a82dd08275444a33fea868a535b67c40a917108400a15ebbf80b2f78a0a93fa6bc2f89b6833c4a0f3 libsignal-protocol-c-2.3.1.tar.gz" diff --git a/unmaintained/libwnck/APKBUILD b/unmaintained/libwnck/APKBUILD deleted file mode 100644 index 67c3799a066..00000000000 --- a/unmaintained/libwnck/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=libwnck -pkgver=2.31.0 -pkgrel=6 -pkgdesc="Window Navigator Construction Kit" -url="https://git.gnome.org/browse/libwnck" -arch="all" -license="LGPL-2.0+" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -depends= -makedepends="glib-dev gtk+2.0-dev libx11-dev pango-dev cairo-dev intltool - startup-notification-dev gobject-introspection-dev libxres-dev" -source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" - -prepare() { - cd "$builddir" - update_config_sub - default_prepare -} - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - rm "$pkgdir"/usr/bin/wnckprop \ - "$pkgdir"/usr/bin/wnck-urgency-monitor -} -sha512sums="54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9 libwnck-2.31.0.tar.xz" diff --git a/unmaintained/libzdb/APKBUILD b/unmaintained/libzdb/APKBUILD deleted file mode 100644 index 18ecd0783fe..00000000000 --- a/unmaintained/libzdb/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Łukasz Jendrysik <scadu@yandex.com> -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=libzdb -pkgver=3.2 -pkgrel=0 -pkgdesc="A thread-safe high level multi-database connection pool library" -url="http://www.tildeslash.com/libzdb/" -arch="all" -license="GPL-3.0-only" -depends_dev="flex-dev sqlite-dev mariadb-connector-c-dev postgresql-dev" -makedepends="$depends_dev flex" -subpackages="$pkgname-dev" -source="http://www.tildeslash.com/libzdb/dist/libzdb-$pkgver.tar.gz - missing-assert.patch" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --enable-optimized \ - --infodir=/usr/share/info - make || return 1 -} - -check() { - cd "$builddir" - # The test is manual and requires user input, we spam the dot char - # because it is a valid name for the database required by the test - # and dot is also the char for exiting the database once test is - # complete - yes . | make verify -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -sha512sums="b44ee217c0b221812eb2d1be03edcc8e74a5e3907ac3915defc15fa5faf228dac175bd04591fedf5d706773ab85f2dc98cd14c7a84ade5887f4f644d64739824 libzdb-3.2.tar.gz -4547386470ac74079c41fcec9fb1e4129283982f0b489a2bd57f49586f25e900004ff5d6e61e796eac9ccd35c29e52aae184ec98802b23ad9f216213159b5db2 missing-assert.patch" diff --git a/unmaintained/libzdb/missing-assert.patch b/unmaintained/libzdb/missing-assert.patch deleted file mode 100644 index 10e279d3b36..00000000000 --- a/unmaintained/libzdb/missing-assert.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/test/zdbpp.cpp b/test/zdbpp.cpp -index 40d2eee..3fde62a 100644 ---- a/test/zdbpp.cpp -+++ b/test/zdbpp.cpp -@@ -1,6 +1,7 @@ - #include <iostream> - #include <string> - #include <map> -+#include <assert.h> - - #include "zdbpp.h" - using namespace zdb; - diff --git a/unmaintained/libzookeeper/APKBUILD b/unmaintained/libzookeeper/APKBUILD deleted file mode 100644 index 17d9d55aaab..00000000000 --- a/unmaintained/libzookeeper/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Maciej Klak <klak.maciej@gmail.com> -# Maintainer: Maciej Klak <klak.maciej@gmail.com> -pkgname=libzookeeper -pkgver=3.4.14 -pkgrel=1 -pkgdesc="The Apache ZooKeeper system for distributed coordination is a high-performance service for building distributed applications." -url="https://zookeeper.apache.org" -arch="all" -license="Apache-2.0" -subpackages="$pkgname-dev" -options="!check" # No test suite -source="https://archive.apache.org/dist/zookeeper/zookeeper-$pkgver/zookeeper-$pkgver.tar.gz - fix-sprintf-overflow.patch" -builddir="$srcdir/zookeeper-$pkgver/zookeeper-client/zookeeper-client-c" - -prepare() { - default_prepare - update_config_guess - update_config_sub -} - -build() { - ./configure --prefix=/usr - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="b2e03d95f8cf18b97a46e2f53871cef5a5da9d5d80b97009375aed7fb35368c440ca944c7e8b64efabbc065f6fb98bb86239f7c1491f0490efc71876d5a7f424 zookeeper-3.4.14.tar.gz -91c6ef3f4c8edf1e95ccbd85fc961760f21f4943631fc8a7f6e2a7984ca0fc6b381075ac55f7b91c6439e9c7dc2fdb74d016238250e5c156bbd1f4bc11e2abaa fix-sprintf-overflow.patch" diff --git a/unmaintained/libzookeeper/fix-sprintf-overflow.patch b/unmaintained/libzookeeper/fix-sprintf-overflow.patch deleted file mode 100644 index b0ea6db1e0c..00000000000 --- a/unmaintained/libzookeeper/fix-sprintf-overflow.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/zookeeper.c -+++ b/src/zookeeper.c -@@ -3477,7 +3477,7 @@ - - static const char* format_endpoint_info(const struct sockaddr_storage* ep) - { -- static char buf[128]; -+ static char buf[128 + 6]; // include space for the port :xxxxx - char addrstr[128]; - void *inaddr; - #ifdef WIN32 diff --git a/unmaintained/linux-octeon/APKBUILD b/unmaintained/linux-octeon/APKBUILD deleted file mode 100644 index 81a27feac6b..00000000000 --- a/unmaintained/linux-octeon/APKBUILD +++ /dev/null @@ -1,218 +0,0 @@ -# Maintainer: Ariadne Conill <ariadne@dereferenced.org> - -_flavor=octeon -pkgname=linux-${_flavor} -pkgver=5.4.70 -case $pkgver in - *.*.*) _kernver=${pkgver%.*};; - *.*) _kernver=$pkgver;; -esac -pkgrel=4 -pkgdesc="Linux lts kernel (for Octeon)" -url="http://kernel.org" -depends="initramfs-generator" -_depends_dev="perl gmp-dev elfutils-dev bash flex bison" -makedepends="$_depends_dev sed installkernel bc linux-headers linux-firmware-any openssl-dev>3 - diffutils" -options="!strip" -_config=${config:-config-lts.${CARCH}} -install= -source="https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz - octeon-rd_name.patch - octeon-disable-devicetree-deprecation-warning.patch - ubnt-e200-sdio-underclock.patch - kvm-fallthrough.patch - - config-octeon.mips64 - " -subpackages="$pkgname-dev:_dev:$CBUILD_ARCH" -_flavors= -for _i in $source; do - case $_i in - config-*.$CARCH) - _f=${_i%.$CARCH} - _f=${_f#config-} - _flavors="$_flavors ${_f}" - if [ "linux-$_f" != "$pkgname" ]; then - subpackages="$subpackages linux-${_f}::$CBUILD_ARCH linux-${_f}-dev:_dev:$CBUILD_ARCH" - fi - ;; - esac -done - -if [ "${pkgver%.0}" = "$pkgver" ]; then - source="$source - https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/patch-$pkgver.xz" -fi -arch="mips64 mips64el" -license="GPL-2.0" - -_carch=${CARCH} -case "$_carch" in -aarch64*) _carch="arm64" ;; -arm*) _carch="arm" ;; -mips*) _carch="mips" ;; -ppc*) _carch="powerpc" ;; -s390*) _carch="s390" ;; -esac - -prepare() { - local _patch_failed= - cd "$srcdir"/linux-$_kernver - if [ "$_kernver" != "$pkgver" ]; then - msg "Applying patch-$pkgver.xz" - unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N - fi - - # first apply patches in specified order - for i in $source; do - case $i in - *.patch) - msg "Applying $i..." - if ! patch -s -p1 -N -i "$srcdir"/$i; then - echo $i >>failed - _patch_failed=1 - fi - ;; - esac - done - - if ! [ -z "$_patch_failed" ]; then - error "The following patches failed:" - cat failed - return 1 - fi - - # remove localversion from patch if any - rm -f localversion* - oldconfig -} - -oldconfig() { - for i in $_flavors; do - local _config=config-$i.${CARCH} - local _builddir="$srcdir"/build-$i.$CARCH - mkdir -p "$_builddir" - echo "-$pkgrel-$i" > "$_builddir"/localversion-alpine - - cp "$srcdir"/$_config "$_builddir"/.config - make -C "$srcdir"/linux-$_kernver \ - O="$_builddir" \ - ARCH="$_carch" \ - listnewconfig oldconfig - done -} - -build() { - unset LDFLAGS - export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - for i in $_flavors; do - cd "$srcdir"/build-$i.$CARCH - make ARCH="$_carch" CC="${CC:-gcc}" \ - KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-Alpine" - done -} - -_package() { - local _buildflavor="$1" _outdir="$2" - local _abi_release=${pkgver}-${pkgrel}-${_buildflavor} - export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - - cd "$srcdir"/build-$_buildflavor.$CARCH - # modules_install seems to regenerate a defect Modules.symvers on s390x. Work - # around it by backing it up and restore it after modules_install - cp Module.symvers Module.symvers.backup - - mkdir -p "$_outdir"/boot "$_outdir"/lib/modules - - local _install - case "$CARCH" in - arm*|aarch64) _install="zinstall dtbs_install";; - *) _install=install;; - esac - - make -j1 modules_install $_install \ - ARCH="$_carch" \ - INSTALL_MOD_PATH="$_outdir" \ - INSTALL_PATH="$_outdir"/boot \ - INSTALL_DTBS_PATH="$_outdir/boot/dtbs-$_flavor" - - cp Module.symvers.backup Module.symvers - - rm -f "$_outdir"/lib/modules/${_abi_release}/build \ - "$_outdir"/lib/modules/${_abi_release}/source - rm -rf "$_outdir"/lib/firmware - - install -D -m644 include/config/kernel.release \ - "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release - - mv "$_outdir"/boot/vmlinux* "$_outdir"/boot/vmlinux.64 - md5sum "$_outdir"/boot/vmlinux.64 | cut -c1-32 > "$_outdir"/boot/vmlinux.64.md5 -} - -# main flavor installs in $pkgdir -package() { - depends="$depends linux-firmware-any" - - _package octeon "$pkgdir" -} - -_dev() { - local _flavor=$(echo $subpkgname | sed -E 's/(^linux-|-dev$)//g') - local _abi_release=${pkgver}-${pkgrel}-$_flavor - # copy the only the parts that we really need for build 3rd party - # kernel modules and install those as /usr/src/linux-headers, - # simlar to what ubuntu does - # - # this way you dont need to install the 300-400 kernel sources to - # build a tiny kernel module - # - pkgdesc="Headers and script for third party modules for $_flavor kernel" - depends="$_depends_dev" - local dir="$subpkgdir"/usr/src/linux-headers-${_abi_release} - export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})" - - # first we import config, run prepare to set up for building - # external modules, and create the scripts - mkdir -p "$dir" - cp "$srcdir"/config-$_flavor.${CARCH} "$dir"/.config - echo "-$pkgrel-$_flavor" > "$dir"/localversion-alpine - - make -j1 -C "$srcdir"/linux-$_kernver O="$dir" ARCH="$_carch" \ - syncconfig prepare modules_prepare scripts - - # remove the stuff that points to real sources. we want 3rd party - # modules to believe this is the soruces - rm "$dir"/Makefile "$dir"/source - - # copy the needed stuff from real sources - # - # this is taken from ubuntu kernel build script - # http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git/tree/debian/rules.d/3-binary-indep.mk - cd "$srcdir"/linux-$_kernver - find . -path './include/*' -prune \ - -o -path './scripts/*' -prune -o -type f \ - \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ - -name '*.sh' -o -name '*.pl' -o -name '*.lds' -o -name 'Platform' \) \ - -print | cpio -pdm "$dir" - - cp -a scripts include "$dir" - - find $(find arch -name include -type d -print) -type f \ - | cpio -pdm "$dir" - - install -Dm644 "$srcdir"/build-$_flavor.$CARCH/Module.symvers \ - "$dir"/Module.symvers - - mkdir -p "$subpkgdir"/lib/modules/${_abi_release} - ln -sf /usr/src/linux-headers-${_abi_release} \ - "$subpkgdir"/lib/modules/${_abi_release}/build -} - -sha512sums="9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f linux-5.4.tar.xz -39d145b7afd3297d9572e7c37eb40b58c3b0d7f30cc361bdf6c89e6bb54a6072f79dea979f4b4fc24d06fe06c406d10949cbf79d373e1ba82514a2f1bb0a6255 octeon-rd_name.patch -a2c0d901188570ebba6917b727cdb4823bda5dbe29a559ed2055db21b4f5dd4990f623b94f07072bcbf69647f250afb52d1771d706bdc072e2cfb00003e257b4 octeon-disable-devicetree-deprecation-warning.patch -c227cd4a0c9712a75d62211becb8591fccd15a93ae4483835f1ec69aabca51aaf8254c37e6315bbd5a08b1f521b369269bfe973700eb993ec6a629b7167e75f7 ubnt-e200-sdio-underclock.patch -7dde2a2d5c7bfd06a2482da2cc9477d106fbeaf563d696cf32c2455fd9dff0c1efb69b1ddab7ef030fd2e3cb9f0774b0355d739d1ae848697e08121e617aaa9e kvm-fallthrough.patch -b6e122adc2595a0b69f8eebca2380f4dc1e5e895bf49e9616bf7d24fc47fade577c016540119b1ff02738e42b3af9dc8a9787321c74876afab58b6b9ae9f00c5 config-octeon.mips64 -a87fffe500b7f0355fe49077b4d80359b31e0721d824ba95135ba851d1b1b747ea9dfd0bc15e6133bc93132df60c4ca9ee99830acb0309866f02f9c88b7784f9 patch-5.4.70.xz" diff --git a/unmaintained/linux-octeon/config-octeon.mips64 b/unmaintained/linux-octeon/config-octeon.mips64 deleted file mode 100644 index e514810d788..00000000000 --- a/unmaintained/linux-octeon/config-octeon.mips64 +++ /dev/null @@ -1,3296 +0,0 @@ -# -# Automatically generated file; DO NOT EDIT. -# Linux/mips 5.4.70 Kernel Configuration -# - -# -# Compiler: gcc (Alpine 9.3.0) 9.3.0 -# -CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=90300 -CONFIG_CLANG_VERSION=0 -CONFIG_CC_CAN_LINK=y -CONFIG_CC_HAS_ASM_GOTO=y -CONFIG_CC_HAS_ASM_INLINE=y -CONFIG_IRQ_WORK=y -CONFIG_BUILDTIME_EXTABLE_SORT=y - -# -# General setup -# -CONFIG_INIT_ENV_ARG_LIMIT=32 -# CONFIG_COMPILE_TEST is not set -CONFIG_LOCALVERSION="" -# CONFIG_LOCALVERSION_AUTO is not set -CONFIG_BUILD_SALT="" -CONFIG_DEFAULT_HOSTNAME="(none)" -CONFIG_SWAP=y -CONFIG_SYSVIPC=y -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_POSIX_MQUEUE=y -CONFIG_POSIX_MQUEUE_SYSCTL=y -# CONFIG_CROSS_MEMORY_ATTACH is not set -# CONFIG_USELIB is not set -# CONFIG_AUDIT is not set - -# -# IRQ subsystem -# -CONFIG_GENERIC_IRQ_PROBE=y -CONFIG_GENERIC_IRQ_SHOW=y -CONFIG_IRQ_DOMAIN=y -CONFIG_HANDLE_DOMAIN_IRQ=y -CONFIG_IRQ_FORCED_THREADING=y -# end of IRQ subsystem - -CONFIG_ARCH_CLOCKSOURCE_DATA=y -CONFIG_GENERIC_TIME_VSYSCALL=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_CMOS_UPDATE=y - -# -# Timers subsystem -# -CONFIG_TICK_ONESHOT=y -CONFIG_HZ_PERIODIC=y -# CONFIG_NO_HZ_IDLE is not set -# CONFIG_NO_HZ_FULL is not set -# CONFIG_NO_HZ is not set -CONFIG_HIGH_RES_TIMERS=y -# end of Timers subsystem - -CONFIG_PREEMPT_NONE=y -# CONFIG_PREEMPT_VOLUNTARY is not set -# CONFIG_PREEMPT is not set - -# -# CPU/Task time and stats accounting -# -CONFIG_TICK_CPU_ACCOUNTING=y -# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set -# CONFIG_IRQ_TIME_ACCOUNTING is not set -# CONFIG_BSD_PROCESS_ACCT is not set -# CONFIG_TASKSTATS is not set -# CONFIG_PSI is not set -# end of CPU/Task time and stats accounting - -CONFIG_CPU_ISOLATION=y - -# -# RCU Subsystem -# -CONFIG_TREE_RCU=y -# CONFIG_RCU_EXPERT is not set -CONFIG_SRCU=y -CONFIG_TREE_SRCU=y -CONFIG_RCU_STALL_COMMON=y -CONFIG_RCU_NEED_SEGCBLIST=y -# end of RCU Subsystem - -# CONFIG_IKCONFIG is not set -# CONFIG_IKHEADERS is not set -CONFIG_LOG_BUF_SHIFT=16 -CONFIG_LOG_CPU_MAX_BUF_SHIFT=12 -CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 - -# -# Scheduler features -# -# end of Scheduler features - -CONFIG_CGROUPS=y -# CONFIG_MEMCG is not set -# CONFIG_BLK_CGROUP is not set -# CONFIG_CGROUP_SCHED is not set -# CONFIG_CGROUP_PIDS is not set -# CONFIG_CGROUP_RDMA is not set -# CONFIG_CGROUP_FREEZER is not set -# CONFIG_CGROUP_HUGETLB is not set -# CONFIG_CPUSETS is not set -# CONFIG_CGROUP_DEVICE is not set -# CONFIG_CGROUP_CPUACCT is not set -CONFIG_CGROUP_BPF=y -# CONFIG_CGROUP_DEBUG is not set -CONFIG_SOCK_CGROUP_DATA=y -CONFIG_NAMESPACES=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_USER_NS is not set -# CONFIG_PID_NS is not set -CONFIG_NET_NS=y -# CONFIG_CHECKPOINT_RESTORE is not set -# CONFIG_SCHED_AUTOGROUP is not set -# CONFIG_SYSFS_DEPRECATED is not set -# CONFIG_RELAY is not set -# CONFIG_BLK_DEV_INITRD is not set -CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y -# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_HAVE_LD_DEAD_CODE_DATA_ELIMINATION=y -# CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is not set -CONFIG_SYSCTL=y -CONFIG_SYSCTL_EXCEPTION_TRACE=y -CONFIG_BPF=y -CONFIG_EXPERT=y -CONFIG_MULTIUSER=y -CONFIG_SGETMASK_SYSCALL=y -CONFIG_SYSFS_SYSCALL=y -CONFIG_SYSCTL_SYSCALL=y -CONFIG_FHANDLE=y -CONFIG_POSIX_TIMERS=y -CONFIG_PRINTK=y -CONFIG_PRINTK_NMI=y -CONFIG_BUG=y -CONFIG_ELF_CORE=y -CONFIG_BASE_FULL=y -CONFIG_FUTEX=y -CONFIG_FUTEX_PI=y -CONFIG_EPOLL=y -CONFIG_SIGNALFD=y -CONFIG_TIMERFD=y -CONFIG_EVENTFD=y -CONFIG_SHMEM=y -CONFIG_AIO=y -CONFIG_IO_URING=y -CONFIG_ADVISE_SYSCALLS=y -CONFIG_MEMBARRIER=y -CONFIG_KALLSYMS=y -# CONFIG_KALLSYMS_ALL is not set -CONFIG_KALLSYMS_BASE_RELATIVE=y -CONFIG_BPF_SYSCALL=y -CONFIG_BPF_JIT_ALWAYS_ON=y -# CONFIG_USERFAULTFD is not set -CONFIG_RSEQ=y -# CONFIG_DEBUG_RSEQ is not set -CONFIG_EMBEDDED=y -CONFIG_HAVE_PERF_EVENTS=y -CONFIG_PERF_USE_VMALLOC=y -# CONFIG_PC104 is not set - -# -# Kernel Performance Events And Counters -# -# CONFIG_PERF_EVENTS is not set -# end of Kernel Performance Events And Counters - -CONFIG_VM_EVENT_COUNTERS=y -# CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -# CONFIG_SLUB is not set -# CONFIG_SLOB is not set -CONFIG_SLAB_MERGE_DEFAULT=y -# CONFIG_SLAB_FREELIST_RANDOM is not set -# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set -# CONFIG_PROFILING is not set -# end of General setup - -CONFIG_MIPS=y - -# -# Machine selection -# -# CONFIG_MIPS_GENERIC is not set -# CONFIG_MIPS_ALCHEMY is not set -# CONFIG_AR7 is not set -# CONFIG_ATH25 is not set -# CONFIG_ATH79 is not set -# CONFIG_BMIPS_GENERIC is not set -# CONFIG_BCM47XX is not set -# CONFIG_BCM63XX is not set -# CONFIG_MIPS_COBALT is not set -# CONFIG_MACH_DECSTATION is not set -# CONFIG_MACH_JAZZ is not set -# CONFIG_MACH_INGENIC is not set -# CONFIG_LANTIQ is not set -# CONFIG_LASAT is not set -# CONFIG_MACH_LOONGSON32 is not set -# CONFIG_MACH_LOONGSON64 is not set -# CONFIG_MACH_PISTACHIO is not set -# CONFIG_MIPS_MALTA is not set -# CONFIG_MACH_PIC32 is not set -# CONFIG_NEC_MARKEINS is not set -# CONFIG_MACH_VR41XX is not set -# CONFIG_NXP_STB220 is not set -# CONFIG_NXP_STB225 is not set -# CONFIG_PMC_MSP is not set -# CONFIG_RALINK is not set -# CONFIG_SGI_IP22 is not set -# CONFIG_SGI_IP27 is not set -# CONFIG_SGI_IP28 is not set -# CONFIG_SGI_IP32 is not set -# CONFIG_SIBYTE_CRHINE is not set -# CONFIG_SIBYTE_CARMEL is not set -# CONFIG_SIBYTE_CRHONE is not set -# CONFIG_SIBYTE_RHONE is not set -# CONFIG_SIBYTE_SWARM is not set -# CONFIG_SIBYTE_LITTLESUR is not set -# CONFIG_SIBYTE_SENTOSA is not set -# CONFIG_SIBYTE_BIGSUR is not set -# CONFIG_SNI_RM is not set -# CONFIG_MACH_TX39XX is not set -# CONFIG_MACH_TX49XX is not set -# CONFIG_MIKROTIK_RB532 is not set -CONFIG_CAVIUM_OCTEON_SOC=y -# CONFIG_NLM_XLR_BOARD is not set -# CONFIG_NLM_XLP_BOARD is not set -# CONFIG_MIPS_PARAVIRT is not set -CONFIG_CAVIUM_CN63XXP1=y -CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE=3 -CONFIG_CAVIUM_OCTEON_LOCK_L2=y -CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB=y -CONFIG_CAVIUM_OCTEON_LOCK_L2_EXCEPTION=y -CONFIG_CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRUPT=y -CONFIG_CAVIUM_OCTEON_LOCK_L2_INTERRUPT=y -CONFIG_CAVIUM_OCTEON_LOCK_L2_MEMCPY=y -# CONFIG_OCTEON_ILM is not set -# end of Machine selection - -CONFIG_GENERIC_HWEIGHT=y -CONFIG_GENERIC_CALIBRATE_DELAY=y -CONFIG_SCHED_OMIT_FRAME_POINTER=y -CONFIG_CEVT_R4K=y -CONFIG_ARCH_SUPPORTS_UPROBES=y -CONFIG_SYS_HAS_EARLY_PRINTK=y -CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y -CONFIG_HOLES_IN_ZONE=y -CONFIG_SYS_SUPPORTS_RELOCATABLE=y -CONFIG_MIPS_EBPF_JIT=y -CONFIG_CPU_BIG_ENDIAN=y -# CONFIG_CPU_LITTLE_ENDIAN is not set -CONFIG_EXPORT_UASM=y -CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -CONFIG_SYS_SUPPORTS_HUGETLBFS=y -CONFIG_MIPS_HUGE_TLB_SUPPORT=y -CONFIG_MIPS_SPRAM=y -CONFIG_MIPS_L1_CACHE_SHIFT_7=y -CONFIG_MIPS_L1_CACHE_SHIFT=7 - -# -# CPU selection -# -CONFIG_CPU_CAVIUM_OCTEON=y -CONFIG_SYS_HAS_CPU_CAVIUM_OCTEON=y -CONFIG_WEAK_ORDERING=y -# end of CPU selection - -CONFIG_CPU_MIPSR2=y -CONFIG_TARGET_ISA_REV=2 -CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_HUGEPAGES=y -CONFIG_MIPS_PGD_C0_CONTEXT=y -CONFIG_HARDWARE_WATCHPOINTS=y - -# -# Kernel type -# -CONFIG_64BIT=y -# CONFIG_MIPS_VA_BITS_48 is not set -CONFIG_PAGE_SIZE_4KB=y -# CONFIG_PAGE_SIZE_8KB is not set -# CONFIG_PAGE_SIZE_16KB is not set -# CONFIG_PAGE_SIZE_32KB is not set -# CONFIG_PAGE_SIZE_64KB is not set -CONFIG_FORCE_MAX_ZONEORDER=14 -CONFIG_CPU_HAS_PREFETCH=y -CONFIG_CPU_GENERIC_DUMP_TLB=y -CONFIG_MIPS_FP_SUPPORT=y -CONFIG_CPU_R4K_FPU=y -CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y -CONFIG_CPU_HAS_RIXI=y -CONFIG_CPU_HAS_LOAD_STORE_LR=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_MIPS_ASID_SHIFT=0 -CONFIG_MIPS_ASID_BITS=8 -CONFIG_CPU_SUPPORTS_HIGHMEM=y -CONFIG_ARCH_FLATMEM_ENABLE=y -CONFIG_ARCH_SPARSEMEM_ENABLE=y -# CONFIG_RELOCATABLE is not set -CONFIG_SMP=y -CONFIG_HOTPLUG_CPU=y -CONFIG_SYS_SUPPORTS_SMP=y -CONFIG_NR_CPUS_DEFAULT_64=y -CONFIG_NR_CPUS=256 -CONFIG_MIPS_NR_CPU_NR_MAP_1024=y -CONFIG_MIPS_NR_CPU_NR_MAP=1024 -# CONFIG_HZ_24 is not set -# CONFIG_HZ_48 is not set -CONFIG_HZ_100=y -# CONFIG_HZ_128 is not set -# CONFIG_HZ_250 is not set -# CONFIG_HZ_256 is not set -# CONFIG_HZ_1000 is not set -# CONFIG_HZ_1024 is not set -CONFIG_SYS_SUPPORTS_ARBIT_HZ=y -CONFIG_HZ=100 -CONFIG_SCHED_HRTICK=y -CONFIG_KEXEC=y -# CONFIG_CRASH_DUMP is not set -# CONFIG_SECCOMP is not set -# CONFIG_MIPS_O32_FP64_SUPPORT is not set -CONFIG_USE_OF=y -CONFIG_BUILTIN_DTB=y -CONFIG_MIPS_NO_APPENDED_DTB=y -# CONFIG_MIPS_ELF_APPENDED_DTB is not set -# CONFIG_MIPS_RAW_APPENDED_DTB is not set -# CONFIG_MIPS_CMDLINE_FROM_DTB is not set -# CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set -CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y -# CONFIG_MIPS_CMDLINE_BUILTIN_EXTEND is not set -# end of Kernel type - -CONFIG_LOCKDEP_SUPPORT=y -CONFIG_STACKTRACE_SUPPORT=y -CONFIG_PGTABLE_LEVELS=3 - -# -# Bus options (PCI, PCMCIA, EISA, ISA, TC) -# -CONFIG_PCI_DRIVERS_LEGACY=y -CONFIG_MMU=y -CONFIG_ARCH_MMAP_RND_BITS_MIN=12 -CONFIG_ARCH_MMAP_RND_BITS_MAX=18 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8 -CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15 -CONFIG_ZONE_DMA32=y -# end of Bus options (PCI, PCMCIA, EISA, ISA, TC) - -CONFIG_MIPS32_COMPAT=y -CONFIG_COMPAT=y -CONFIG_SYSVIPC_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_BINFMT_ELF32=y - -# -# Power management options -# -CONFIG_ARCH_HIBERNATION_POSSIBLE=y -CONFIG_ARCH_SUSPEND_POSSIBLE=y -# CONFIG_SUSPEND is not set -# CONFIG_HIBERNATION is not set -# CONFIG_PM is not set -# end of Power management options - -# -# CPU Power Management -# - -# -# CPU Idle -# -# CONFIG_CPU_IDLE is not set -# end of CPU Idle -# end of CPU Power Management - -# -# Firmware Drivers -# -# CONFIG_FIRMWARE_MEMMAP is not set -# CONFIG_GOOGLE_FIRMWARE is not set -CONFIG_EFI_EARLYCON=y - -# -# Tegra firmware driver -# -# end of Tegra firmware driver -# end of Firmware Drivers - -CONFIG_HAVE_KVM=y -CONFIG_KVM_MMIO=y -CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y -CONFIG_KVM_COMPAT=y -CONFIG_HAVE_KVM_VCPU_ASYNC_IOCTL=y -CONFIG_VIRTUALIZATION=y -CONFIG_KVM=m -# CONFIG_KVM_MIPS_TE is not set -CONFIG_KVM_MIPS_VZ=y -# CONFIG_KVM_MIPS_DEBUG_COP0_COUNTERS is not set -CONFIG_VHOST_NET=m -CONFIG_VHOST=m -CONFIG_VHOST_CROSS_ENDIAN_LEGACY=y - -# -# General architecture-dependent options -# -CONFIG_CRASH_CORE=y -CONFIG_KEXEC_CORE=y -CONFIG_HAVE_OPROFILE=y -# CONFIG_KPROBES is not set -CONFIG_JUMP_LABEL=y -# CONFIG_STATIC_KEYS_SELFTEST is not set -CONFIG_ARCH_USE_BUILTIN_BSWAP=y -CONFIG_HAVE_IOREMAP_PROT=y -CONFIG_HAVE_KPROBES=y -CONFIG_HAVE_KRETPROBES=y -CONFIG_HAVE_NMI=y -CONFIG_HAVE_ARCH_TRACEHOOK=y -CONFIG_HAVE_DMA_CONTIGUOUS=y -CONFIG_GENERIC_SMP_IDLE_THREAD=y -CONFIG_HAVE_ASM_MODVERSIONS=y -CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y -CONFIG_HAVE_RSEQ=y -CONFIG_HAVE_ARCH_JUMP_LABEL=y -CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y -CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y -CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y -CONFIG_HAVE_ARCH_SECCOMP_FILTER=y -CONFIG_HAVE_STACKPROTECTOR=y -CONFIG_CC_HAS_STACKPROTECTOR_NONE=y -CONFIG_STACKPROTECTOR=y -CONFIG_STACKPROTECTOR_STRONG=y -CONFIG_HAVE_CONTEXT_TRACKING=y -CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y -CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y -CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y -CONFIG_HAVE_MOD_ARCH_SPECIFIC=y -CONFIG_MODULES_USE_ELF_RELA=y -CONFIG_MODULES_USE_ELF_REL=y -CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y -CONFIG_ARCH_HAS_ELF_RANDOMIZE=y -CONFIG_HAVE_ARCH_MMAP_RND_BITS=y -CONFIG_HAVE_EXIT_THREAD=y -CONFIG_ARCH_MMAP_RND_BITS=12 -CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y -CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8 -CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y -CONFIG_HAVE_COPY_THREAD_TLS=y -CONFIG_CLONE_BACKWARDS=y -CONFIG_64BIT_TIME=y -CONFIG_COMPAT_32BIT_TIME=y -CONFIG_ARCH_HAS_PHYS_TO_DMA=y -# CONFIG_REFCOUNT_FULL is not set -CONFIG_HAVE_ARCH_COMPILER_H=y -CONFIG_ARCH_USE_MEMREMAP_PROT=y - -# -# GCOV-based kernel profiling -# -# end of GCOV-based kernel profiling - -CONFIG_PLUGIN_HOSTCC="" -# end of General architecture-dependent options - -CONFIG_RT_MUTEXES=y -CONFIG_BASE_SMALL=0 -CONFIG_MODULES=y -# CONFIG_MODULE_FORCE_LOAD is not set -CONFIG_MODULE_UNLOAD=y -# CONFIG_MODULE_FORCE_UNLOAD is not set -# CONFIG_MODVERSIONS is not set -# CONFIG_MODULE_SRCVERSION_ALL is not set -# CONFIG_MODULE_SIG is not set -# CONFIG_MODULE_COMPRESS is not set -# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set -# CONFIG_UNUSED_SYMBOLS is not set -# CONFIG_TRIM_UNUSED_KSYMS is not set -CONFIG_BLOCK=y -CONFIG_BLK_SCSI_REQUEST=y -# CONFIG_BLK_DEV_BSG is not set -# CONFIG_BLK_DEV_BSGLIB is not set -# CONFIG_BLK_DEV_INTEGRITY is not set -# CONFIG_BLK_DEV_ZONED is not set -# CONFIG_BLK_CMDLINE_PARSER is not set -# CONFIG_BLK_WBT is not set -# CONFIG_BLK_SED_OPAL is not set - -# -# Partition Types -# -# CONFIG_PARTITION_ADVANCED is not set -CONFIG_MSDOS_PARTITION=y -CONFIG_EFI_PARTITION=y -# end of Partition Types - -CONFIG_BLOCK_COMPAT=y - -# -# IO Schedulers -# -CONFIG_MQ_IOSCHED_DEADLINE=y -CONFIG_MQ_IOSCHED_KYBER=y -# CONFIG_IOSCHED_BFQ is not set -# end of IO Schedulers - -CONFIG_PREEMPT_NOTIFIERS=y -CONFIG_ASN1=m -CONFIG_INLINE_SPIN_UNLOCK_IRQ=y -CONFIG_INLINE_READ_UNLOCK=y -CONFIG_INLINE_READ_UNLOCK_IRQ=y -CONFIG_INLINE_WRITE_UNLOCK=y -CONFIG_INLINE_WRITE_UNLOCK_IRQ=y -CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y -CONFIG_QUEUED_SPINLOCKS=y -CONFIG_ARCH_USE_QUEUED_RWLOCKS=y -CONFIG_QUEUED_RWLOCKS=y - -# -# Executable file formats -# -CONFIG_BINFMT_ELF=y -CONFIG_ARCH_BINFMT_ELF_STATE=y -CONFIG_ELFCORE=y -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_BINFMT_SCRIPT=y -# CONFIG_BINFMT_MISC is not set -CONFIG_COREDUMP=y -# end of Executable file formats - -# -# Memory Management options -# -CONFIG_SPARSEMEM=y -CONFIG_HAVE_MEMORY_PRESENT=y -CONFIG_SPARSEMEM_STATIC=y -CONFIG_HAVE_MEMBLOCK_NODE_MAP=y -CONFIG_HAVE_FAST_GUP=y -CONFIG_SPLIT_PTLOCK_CPUS=4 -CONFIG_COMPACTION=y -CONFIG_MIGRATION=y -CONFIG_PHYS_ADDR_T_64BIT=y -CONFIG_VIRT_TO_BUS=y -CONFIG_MMU_NOTIFIER=y -# CONFIG_KSM is not set -CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 -# CONFIG_TRANSPARENT_HUGEPAGE is not set -# CONFIG_CLEANCACHE is not set -# CONFIG_FRONTSWAP is not set -# CONFIG_CMA is not set -# CONFIG_ZPOOL is not set -# CONFIG_ZBUD is not set -# CONFIG_ZSMALLOC is not set -# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set -# CONFIG_IDLE_PAGE_TRACKING is not set -# CONFIG_PERCPU_STATS is not set -# CONFIG_GUP_BENCHMARK is not set -CONFIG_ARCH_HAS_PTE_SPECIAL=y -# end of Memory Management options - -CONFIG_NET=y -CONFIG_NET_INGRESS=y -CONFIG_NET_EGRESS=y -CONFIG_NET_REDIRECT=y -CONFIG_SKB_EXTENSIONS=y - -# -# Networking options -# -CONFIG_PACKET=y -# CONFIG_PACKET_DIAG is not set -CONFIG_UNIX=y -CONFIG_UNIX_SCM=y -# CONFIG_UNIX_DIAG is not set -# CONFIG_TLS is not set -CONFIG_XFRM=y -CONFIG_XFRM_OFFLOAD=y -CONFIG_XFRM_ALGO=y -CONFIG_XFRM_USER=m -# CONFIG_XFRM_INTERFACE is not set -# CONFIG_XFRM_SUB_POLICY is not set -# CONFIG_XFRM_MIGRATE is not set -CONFIG_XFRM_STATISTICS=y -CONFIG_XFRM_IPCOMP=m -CONFIG_NET_KEY=y -# CONFIG_NET_KEY_MIGRATE is not set -CONFIG_XDP_SOCKETS=y -CONFIG_XDP_SOCKETS_DIAG=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -# CONFIG_IP_FIB_TRIE_STATS is not set -CONFIG_IP_MULTIPLE_TABLES=y -CONFIG_IP_ROUTE_MULTIPATH=y -CONFIG_IP_ROUTE_VERBOSE=y -CONFIG_IP_ROUTE_CLASSID=y -# CONFIG_IP_PNP is not set -CONFIG_NET_IPIP=m -CONFIG_NET_IPGRE_DEMUX=m -CONFIG_NET_IP_TUNNEL=m -CONFIG_NET_IPGRE=m -CONFIG_NET_IPGRE_BROADCAST=y -CONFIG_IP_MROUTE_COMMON=y -CONFIG_IP_MROUTE=y -# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set -CONFIG_IP_PIMSM_V1=y -CONFIG_IP_PIMSM_V2=y -CONFIG_SYN_COOKIES=y -CONFIG_NET_IPVTI=m -CONFIG_NET_UDP_TUNNEL=m -# CONFIG_NET_FOU is not set -# CONFIG_NET_FOU_IP_TUNNELS is not set -CONFIG_INET_AH=m -CONFIG_INET_ESP=m -CONFIG_INET_ESP_OFFLOAD=m -CONFIG_INET_IPCOMP=m -CONFIG_INET_XFRM_TUNNEL=m -CONFIG_INET_TUNNEL=m -CONFIG_INET_DIAG=m -CONFIG_INET_TCP_DIAG=m -CONFIG_INET_UDP_DIAG=m -CONFIG_INET_RAW_DIAG=m -# CONFIG_INET_DIAG_DESTROY is not set -CONFIG_TCP_CONG_ADVANCED=y -# CONFIG_TCP_CONG_BIC is not set -CONFIG_TCP_CONG_CUBIC=y -# CONFIG_TCP_CONG_WESTWOOD is not set -# CONFIG_TCP_CONG_HTCP is not set -# CONFIG_TCP_CONG_HSTCP is not set -# CONFIG_TCP_CONG_HYBLA is not set -# CONFIG_TCP_CONG_VEGAS is not set -# CONFIG_TCP_CONG_NV is not set -# CONFIG_TCP_CONG_SCALABLE is not set -# CONFIG_TCP_CONG_LP is not set -# CONFIG_TCP_CONG_VENO is not set -# CONFIG_TCP_CONG_YEAH is not set -# CONFIG_TCP_CONG_ILLINOIS is not set -# CONFIG_TCP_CONG_DCTCP is not set -# CONFIG_TCP_CONG_CDG is not set -# CONFIG_TCP_CONG_BBR is not set -CONFIG_DEFAULT_CUBIC=y -# CONFIG_DEFAULT_RENO is not set -CONFIG_DEFAULT_TCP_CONG="cubic" -CONFIG_TCP_MD5SIG=y -CONFIG_IPV6=m -CONFIG_IPV6_ROUTER_PREF=y -CONFIG_IPV6_ROUTE_INFO=y -CONFIG_IPV6_OPTIMISTIC_DAD=y -CONFIG_INET6_AH=m -CONFIG_INET6_ESP=m -CONFIG_INET6_ESP_OFFLOAD=m -CONFIG_INET6_IPCOMP=m -CONFIG_IPV6_MIP6=m -# CONFIG_IPV6_ILA is not set -CONFIG_INET6_XFRM_TUNNEL=m -CONFIG_INET6_TUNNEL=m -# CONFIG_IPV6_VTI is not set -CONFIG_IPV6_SIT=m -CONFIG_IPV6_SIT_6RD=y -CONFIG_IPV6_NDISC_NODETYPE=y -CONFIG_IPV6_TUNNEL=m -CONFIG_IPV6_GRE=m -CONFIG_IPV6_MULTIPLE_TABLES=y -CONFIG_IPV6_SUBTREES=y -CONFIG_IPV6_MROUTE=y -CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y -CONFIG_IPV6_PIMSM_V2=y -CONFIG_IPV6_SEG6_LWTUNNEL=y -CONFIG_IPV6_SEG6_HMAC=y -# CONFIG_NETLABEL is not set -CONFIG_NETWORK_SECMARK=y -CONFIG_NET_PTP_CLASSIFY=y -# CONFIG_NETWORK_PHY_TIMESTAMPING is not set -CONFIG_NETFILTER=y -CONFIG_NETFILTER_ADVANCED=y -CONFIG_BRIDGE_NETFILTER=m - -# -# Core Netfilter Configuration -# -CONFIG_NETFILTER_INGRESS=y -CONFIG_NETFILTER_NETLINK=m -CONFIG_NETFILTER_FAMILY_BRIDGE=y -CONFIG_NETFILTER_FAMILY_ARP=y -CONFIG_NETFILTER_NETLINK_ACCT=m -CONFIG_NETFILTER_NETLINK_QUEUE=m -CONFIG_NETFILTER_NETLINK_LOG=m -CONFIG_NETFILTER_NETLINK_OSF=m -CONFIG_NF_CONNTRACK=m -CONFIG_NF_LOG_COMMON=m -CONFIG_NF_LOG_NETDEV=m -CONFIG_NETFILTER_CONNCOUNT=m -CONFIG_NF_CONNTRACK_MARK=y -CONFIG_NF_CONNTRACK_SECMARK=y -# CONFIG_NF_CONNTRACK_ZONES is not set -# CONFIG_NF_CONNTRACK_PROCFS is not set -CONFIG_NF_CONNTRACK_EVENTS=y -CONFIG_NF_CONNTRACK_TIMEOUT=y -CONFIG_NF_CONNTRACK_TIMESTAMP=y -CONFIG_NF_CONNTRACK_LABELS=y -# CONFIG_NF_CT_PROTO_DCCP is not set -CONFIG_NF_CT_PROTO_GRE=y -# CONFIG_NF_CT_PROTO_SCTP is not set -# CONFIG_NF_CT_PROTO_UDPLITE is not set -# CONFIG_NF_CONNTRACK_AMANDA is not set -CONFIG_NF_CONNTRACK_FTP=m -CONFIG_NF_CONNTRACK_H323=m -CONFIG_NF_CONNTRACK_IRC=m -CONFIG_NF_CONNTRACK_BROADCAST=m -CONFIG_NF_CONNTRACK_NETBIOS_NS=m -CONFIG_NF_CONNTRACK_SNMP=m -CONFIG_NF_CONNTRACK_PPTP=m -# CONFIG_NF_CONNTRACK_SANE is not set -CONFIG_NF_CONNTRACK_SIP=m -CONFIG_NF_CONNTRACK_TFTP=m -CONFIG_NF_CT_NETLINK=m -CONFIG_NF_CT_NETLINK_TIMEOUT=m -# CONFIG_NETFILTER_NETLINK_GLUE_CT is not set -CONFIG_NF_NAT=m -CONFIG_NF_NAT_FTP=m -CONFIG_NF_NAT_IRC=m -CONFIG_NF_NAT_SIP=m -CONFIG_NF_NAT_TFTP=m -CONFIG_NF_NAT_REDIRECT=y -CONFIG_NF_NAT_MASQUERADE=y -# CONFIG_NF_TABLES is not set -CONFIG_NETFILTER_XTABLES=m - -# -# Xtables combined modules -# -CONFIG_NETFILTER_XT_MARK=m -CONFIG_NETFILTER_XT_CONNMARK=m -CONFIG_NETFILTER_XT_SET=m - -# -# Xtables targets -# -CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m -CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m -CONFIG_NETFILTER_XT_TARGET_CONNMARK=m -CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m -CONFIG_NETFILTER_XT_TARGET_CT=m -CONFIG_NETFILTER_XT_TARGET_DSCP=m -CONFIG_NETFILTER_XT_TARGET_HL=m -CONFIG_NETFILTER_XT_TARGET_HMARK=m -CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m -CONFIG_NETFILTER_XT_TARGET_LOG=m -CONFIG_NETFILTER_XT_TARGET_MARK=m -CONFIG_NETFILTER_XT_NAT=m -CONFIG_NETFILTER_XT_TARGET_NETMAP=m -CONFIG_NETFILTER_XT_TARGET_NFLOG=m -CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m -CONFIG_NETFILTER_XT_TARGET_NOTRACK=m -CONFIG_NETFILTER_XT_TARGET_RATEEST=m -CONFIG_NETFILTER_XT_TARGET_REDIRECT=m -CONFIG_NETFILTER_XT_TARGET_MASQUERADE=m -# CONFIG_NETFILTER_XT_TARGET_TEE is not set -# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set -CONFIG_NETFILTER_XT_TARGET_TRACE=m -CONFIG_NETFILTER_XT_TARGET_SECMARK=m -CONFIG_NETFILTER_XT_TARGET_TCPMSS=m -CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m - -# -# Xtables matches -# -CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m -# CONFIG_NETFILTER_XT_MATCH_BPF is not set -# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set -# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set -CONFIG_NETFILTER_XT_MATCH_COMMENT=m -CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m -CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m -CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m -CONFIG_NETFILTER_XT_MATCH_CONNMARK=m -CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m -# CONFIG_NETFILTER_XT_MATCH_CPU is not set -# CONFIG_NETFILTER_XT_MATCH_DCCP is not set -# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set -CONFIG_NETFILTER_XT_MATCH_DSCP=m -CONFIG_NETFILTER_XT_MATCH_ECN=m -CONFIG_NETFILTER_XT_MATCH_ESP=m -CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m -CONFIG_NETFILTER_XT_MATCH_HELPER=m -CONFIG_NETFILTER_XT_MATCH_HL=m -# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set -CONFIG_NETFILTER_XT_MATCH_IPRANGE=m -CONFIG_NETFILTER_XT_MATCH_IPVS=m -CONFIG_NETFILTER_XT_MATCH_L2TP=m -CONFIG_NETFILTER_XT_MATCH_LENGTH=m -CONFIG_NETFILTER_XT_MATCH_LIMIT=m -CONFIG_NETFILTER_XT_MATCH_MAC=m -CONFIG_NETFILTER_XT_MATCH_MARK=m -CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m -CONFIG_NETFILTER_XT_MATCH_NFACCT=m -CONFIG_NETFILTER_XT_MATCH_OSF=m -# CONFIG_NETFILTER_XT_MATCH_OWNER is not set -CONFIG_NETFILTER_XT_MATCH_POLICY=m -CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m -CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m -CONFIG_NETFILTER_XT_MATCH_QUOTA=m -CONFIG_NETFILTER_XT_MATCH_RATEEST=m -CONFIG_NETFILTER_XT_MATCH_REALM=m -CONFIG_NETFILTER_XT_MATCH_RECENT=m -# CONFIG_NETFILTER_XT_MATCH_SCTP is not set -# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set -CONFIG_NETFILTER_XT_MATCH_STATE=m -CONFIG_NETFILTER_XT_MATCH_STATISTIC=m -CONFIG_NETFILTER_XT_MATCH_STRING=m -CONFIG_NETFILTER_XT_MATCH_TCPMSS=m -CONFIG_NETFILTER_XT_MATCH_TIME=m -CONFIG_NETFILTER_XT_MATCH_U32=m -# end of Core Netfilter Configuration - -CONFIG_IP_SET=m -CONFIG_IP_SET_MAX=256 -CONFIG_IP_SET_BITMAP_IP=m -CONFIG_IP_SET_BITMAP_IPMAC=m -CONFIG_IP_SET_BITMAP_PORT=m -CONFIG_IP_SET_HASH_IP=m -# CONFIG_IP_SET_HASH_IPMARK is not set -CONFIG_IP_SET_HASH_IPPORT=m -CONFIG_IP_SET_HASH_IPPORTIP=m -CONFIG_IP_SET_HASH_IPPORTNET=m -CONFIG_IP_SET_HASH_IPMAC=m -CONFIG_IP_SET_HASH_MAC=m -# CONFIG_IP_SET_HASH_NETPORTNET is not set -CONFIG_IP_SET_HASH_NET=m -# CONFIG_IP_SET_HASH_NETNET is not set -CONFIG_IP_SET_HASH_NETPORT=m -CONFIG_IP_SET_HASH_NETIFACE=m -CONFIG_IP_SET_LIST_SET=m -CONFIG_IP_VS=m -CONFIG_IP_VS_IPV6=y -# CONFIG_IP_VS_DEBUG is not set -CONFIG_IP_VS_TAB_BITS=12 - -# -# IPVS transport protocol load balancing support -# -CONFIG_IP_VS_PROTO_TCP=y -CONFIG_IP_VS_PROTO_UDP=y -CONFIG_IP_VS_PROTO_AH_ESP=y -CONFIG_IP_VS_PROTO_ESP=y -CONFIG_IP_VS_PROTO_AH=y -# CONFIG_IP_VS_PROTO_SCTP is not set - -# -# IPVS scheduler -# -CONFIG_IP_VS_RR=m -CONFIG_IP_VS_WRR=m -CONFIG_IP_VS_LC=m -CONFIG_IP_VS_WLC=m -# CONFIG_IP_VS_FO is not set -# CONFIG_IP_VS_OVF is not set -CONFIG_IP_VS_LBLC=m -CONFIG_IP_VS_LBLCR=m -CONFIG_IP_VS_DH=m -CONFIG_IP_VS_SH=m -CONFIG_IP_VS_MH=m -CONFIG_IP_VS_SED=m -CONFIG_IP_VS_NQ=m - -# -# IPVS SH scheduler -# -CONFIG_IP_VS_SH_TAB_BITS=8 - -# -# IPVS MH scheduler -# -CONFIG_IP_VS_MH_TAB_INDEX=12 - -# -# IPVS application helper -# -CONFIG_IP_VS_FTP=m -CONFIG_IP_VS_NFCT=y -CONFIG_IP_VS_PE_SIP=m - -# -# IP: Netfilter Configuration -# -CONFIG_NF_DEFRAG_IPV4=m -CONFIG_NF_SOCKET_IPV4=m -CONFIG_NF_TPROXY_IPV4=m -# CONFIG_NF_DUP_IPV4 is not set -# CONFIG_NF_LOG_ARP is not set -CONFIG_NF_LOG_IPV4=m -CONFIG_NF_REJECT_IPV4=m -CONFIG_NF_NAT_SNMP_BASIC=m -CONFIG_NF_NAT_PPTP=m -CONFIG_NF_NAT_H323=m -CONFIG_IP_NF_IPTABLES=m -CONFIG_IP_NF_MATCH_AH=m -CONFIG_IP_NF_MATCH_ECN=m -CONFIG_IP_NF_MATCH_RPFILTER=m -CONFIG_IP_NF_MATCH_TTL=m -CONFIG_IP_NF_FILTER=m -CONFIG_IP_NF_TARGET_REJECT=m -# CONFIG_IP_NF_TARGET_SYNPROXY is not set -CONFIG_IP_NF_NAT=m -CONFIG_IP_NF_TARGET_MASQUERADE=m -CONFIG_IP_NF_TARGET_NETMAP=m -CONFIG_IP_NF_TARGET_REDIRECT=m -CONFIG_IP_NF_MANGLE=m -CONFIG_IP_NF_TARGET_CLUSTERIP=m -CONFIG_IP_NF_TARGET_ECN=m -CONFIG_IP_NF_TARGET_TTL=m -CONFIG_IP_NF_RAW=m -# CONFIG_IP_NF_SECURITY is not set -# CONFIG_IP_NF_ARPTABLES is not set -# end of IP: Netfilter Configuration - -# -# IPv6: Netfilter Configuration -# -CONFIG_NF_SOCKET_IPV6=m -CONFIG_NF_TPROXY_IPV6=m -# CONFIG_NF_DUP_IPV6 is not set -CONFIG_NF_REJECT_IPV6=m -CONFIG_NF_LOG_IPV6=m -CONFIG_IP6_NF_IPTABLES=m -CONFIG_IP6_NF_MATCH_AH=m -CONFIG_IP6_NF_MATCH_EUI64=m -CONFIG_IP6_NF_MATCH_FRAG=m -CONFIG_IP6_NF_MATCH_OPTS=m -CONFIG_IP6_NF_MATCH_HL=m -CONFIG_IP6_NF_MATCH_IPV6HEADER=m -CONFIG_IP6_NF_MATCH_MH=m -CONFIG_IP6_NF_MATCH_RPFILTER=m -CONFIG_IP6_NF_MATCH_RT=m -CONFIG_IP6_NF_MATCH_SRH=m -CONFIG_IP6_NF_TARGET_HL=m -CONFIG_IP6_NF_FILTER=m -CONFIG_IP6_NF_TARGET_REJECT=m -# CONFIG_IP6_NF_TARGET_SYNPROXY is not set -CONFIG_IP6_NF_MANGLE=m -CONFIG_IP6_NF_RAW=m -# CONFIG_IP6_NF_SECURITY is not set -# CONFIG_IP6_NF_NAT is not set -# end of IPv6: Netfilter Configuration - -CONFIG_NF_DEFRAG_IPV6=m -CONFIG_NF_CONNTRACK_BRIDGE=m -CONFIG_BRIDGE_NF_EBTABLES=m -CONFIG_BRIDGE_EBT_BROUTE=m -CONFIG_BRIDGE_EBT_T_FILTER=m -CONFIG_BRIDGE_EBT_T_NAT=m -CONFIG_BRIDGE_EBT_802_3=m -CONFIG_BRIDGE_EBT_AMONG=m -CONFIG_BRIDGE_EBT_ARP=m -CONFIG_BRIDGE_EBT_IP=m -CONFIG_BRIDGE_EBT_IP6=m -CONFIG_BRIDGE_EBT_LIMIT=m -CONFIG_BRIDGE_EBT_MARK=m -CONFIG_BRIDGE_EBT_PKTTYPE=m -CONFIG_BRIDGE_EBT_STP=m -CONFIG_BRIDGE_EBT_VLAN=m -CONFIG_BRIDGE_EBT_ARPREPLY=m -CONFIG_BRIDGE_EBT_DNAT=m -CONFIG_BRIDGE_EBT_MARK_T=m -CONFIG_BRIDGE_EBT_REDIRECT=m -CONFIG_BRIDGE_EBT_SNAT=m -CONFIG_BRIDGE_EBT_LOG=m -CONFIG_BRIDGE_EBT_NFLOG=m -CONFIG_BPFILTER=y -CONFIG_BPFILTER_UMH=m -# CONFIG_IP_DCCP is not set -# CONFIG_IP_SCTP is not set -# CONFIG_RDS is not set -# CONFIG_TIPC is not set -# CONFIG_ATM is not set -CONFIG_L2TP=m -CONFIG_L2TP_V3=y -CONFIG_L2TP_IP=m -CONFIG_L2TP_ETH=m -CONFIG_STP=m -CONFIG_GARP=m -CONFIG_BRIDGE=m -CONFIG_BRIDGE_IGMP_SNOOPING=y -CONFIG_BRIDGE_VLAN_FILTERING=y -CONFIG_HAVE_NET_DSA=y -# CONFIG_NET_DSA is not set -CONFIG_VLAN_8021Q=m -CONFIG_VLAN_8021Q_GVRP=y -# CONFIG_VLAN_8021Q_MVRP is not set -# CONFIG_DECNET is not set -CONFIG_LLC=m -# CONFIG_LLC2 is not set -# CONFIG_ATALK is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_PHONET is not set -# CONFIG_6LOWPAN is not set -# CONFIG_IEEE802154 is not set -CONFIG_NET_SCHED=y - -# -# Queueing/Scheduling -# -CONFIG_NET_SCH_CBQ=m -CONFIG_NET_SCH_HTB=m -CONFIG_NET_SCH_HFSC=m -CONFIG_NET_SCH_PRIO=m -# CONFIG_NET_SCH_MULTIQ is not set -CONFIG_NET_SCH_RED=m -CONFIG_NET_SCH_SFB=m -CONFIG_NET_SCH_SFQ=m -CONFIG_NET_SCH_TEQL=m -CONFIG_NET_SCH_TBF=m -CONFIG_NET_SCH_CBS=m -CONFIG_NET_SCH_ETF=m -CONFIG_NET_SCH_TAPRIO=m -CONFIG_NET_SCH_GRED=m -CONFIG_NET_SCH_DSMARK=m -CONFIG_NET_SCH_NETEM=m -CONFIG_NET_SCH_DRR=m -# CONFIG_NET_SCH_MQPRIO is not set -CONFIG_NET_SCH_SKBPRIO=m -CONFIG_NET_SCH_CHOKE=m -CONFIG_NET_SCH_QFQ=m -CONFIG_NET_SCH_CODEL=m -CONFIG_NET_SCH_FQ_CODEL=m -CONFIG_NET_SCH_CAKE=m -# CONFIG_NET_SCH_FQ is not set -# CONFIG_NET_SCH_HHF is not set -# CONFIG_NET_SCH_PIE is not set -CONFIG_NET_SCH_INGRESS=m -# CONFIG_NET_SCH_PLUG is not set -# CONFIG_NET_SCH_DEFAULT is not set - -# -# Classification -# -CONFIG_NET_CLS=y -CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_TCINDEX=m -CONFIG_NET_CLS_ROUTE4=m -CONFIG_NET_CLS_FW=m -CONFIG_NET_CLS_U32=m -CONFIG_CLS_U32_PERF=y -CONFIG_CLS_U32_MARK=y -CONFIG_NET_CLS_RSVP=m -CONFIG_NET_CLS_RSVP6=m -CONFIG_NET_CLS_FLOW=m -# CONFIG_NET_CLS_CGROUP is not set -# CONFIG_NET_CLS_BPF is not set -# CONFIG_NET_CLS_FLOWER is not set -# CONFIG_NET_CLS_MATCHALL is not set -CONFIG_NET_EMATCH=y -CONFIG_NET_EMATCH_STACK=32 -CONFIG_NET_EMATCH_CMP=m -CONFIG_NET_EMATCH_NBYTE=m -CONFIG_NET_EMATCH_U32=m -CONFIG_NET_EMATCH_META=m -CONFIG_NET_EMATCH_TEXT=m -CONFIG_NET_EMATCH_IPSET=m -CONFIG_NET_EMATCH_IPT=m -CONFIG_NET_CLS_ACT=y -CONFIG_NET_ACT_POLICE=m -CONFIG_NET_ACT_GACT=m -CONFIG_GACT_PROB=y -CONFIG_NET_ACT_MIRRED=m -CONFIG_NET_ACT_SAMPLE=m -CONFIG_NET_ACT_IPT=m -CONFIG_NET_ACT_NAT=m -CONFIG_NET_ACT_PEDIT=m -# CONFIG_NET_ACT_SIMP is not set -# CONFIG_NET_ACT_SKBEDIT is not set -# CONFIG_NET_ACT_CSUM is not set -CONFIG_NET_ACT_MPLS=m -# CONFIG_NET_ACT_VLAN is not set -# CONFIG_NET_ACT_BPF is not set -# CONFIG_NET_ACT_CONNMARK is not set -CONFIG_NET_ACT_CTINFO=m -# CONFIG_NET_ACT_SKBMOD is not set -# CONFIG_NET_ACT_IFE is not set -# CONFIG_NET_ACT_TUNNEL_KEY is not set -CONFIG_NET_ACT_CT=m -# CONFIG_NET_TC_SKB_EXT is not set -CONFIG_NET_SCH_FIFO=y -# CONFIG_DCB is not set -# CONFIG_BATMAN_ADV is not set -# CONFIG_OPENVSWITCH is not set -# CONFIG_VSOCKETS is not set -# CONFIG_NETLINK_DIAG is not set -# CONFIG_MPLS is not set -# CONFIG_NET_NSH is not set -# CONFIG_HSR is not set -# CONFIG_NET_SWITCHDEV is not set -CONFIG_NET_L3_MASTER_DEV=y -# CONFIG_NET_NCSI is not set -CONFIG_RPS=y -CONFIG_RFS_ACCEL=y -CONFIG_XPS=y -# CONFIG_CGROUP_NET_PRIO is not set -# CONFIG_CGROUP_NET_CLASSID is not set -CONFIG_NET_RX_BUSY_POLL=y -CONFIG_BQL=y -CONFIG_BPF_JIT=y -CONFIG_BPF_STREAM_PARSER=y -CONFIG_NET_FLOW_LIMIT=y - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set -# end of Network testing -# end of Networking options - -# CONFIG_HAMRADIO is not set -# CONFIG_CAN is not set -# CONFIG_BT is not set -# CONFIG_AF_RXRPC is not set -# CONFIG_AF_KCM is not set -CONFIG_STREAM_PARSER=y -CONFIG_FIB_RULES=y -# CONFIG_WIRELESS is not set -# CONFIG_WIMAX is not set -# CONFIG_RFKILL is not set -# CONFIG_NET_9P is not set -# CONFIG_CAIF is not set -# CONFIG_CEPH_LIB is not set -# CONFIG_NFC is not set -CONFIG_PSAMPLE=m -CONFIG_NET_IFE=m -CONFIG_LWTUNNEL=y -CONFIG_LWTUNNEL_BPF=y -CONFIG_DST_CACHE=y -CONFIG_GRO_CELLS=y -CONFIG_NET_SOCK_MSG=y -# CONFIG_FAILOVER is not set -CONFIG_HAVE_EBPF_JIT=y - -# -# Device Drivers -# -CONFIG_HAVE_PCI=y -# CONFIG_PCI is not set -# CONFIG_PCCARD is not set -CONFIG_HAVE_RAPIDIO=y -# CONFIG_RAPIDIO is not set - -# -# Generic Driver Options -# -CONFIG_UEVENT_HELPER=y -CONFIG_UEVENT_HELPER_PATH="" -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_STANDALONE=y -CONFIG_PREVENT_FIRMWARE_BUILD=y - -# -# Firmware loader -# -CONFIG_FW_LOADER=m -CONFIG_EXTRA_FIRMWARE="" -# CONFIG_FW_LOADER_USER_HELPER is not set -# CONFIG_FW_LOADER_COMPRESS is not set -# end of Firmware loader - -CONFIG_ALLOW_DEV_COREDUMP=y -# CONFIG_DEBUG_DRIVER is not set -# CONFIG_DEBUG_DEVRES is not set -# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set -# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set -CONFIG_GENERIC_CPU_AUTOPROBE=y -# end of Generic Driver Options - -# -# Bus devices -# -# CONFIG_BRCMSTB_GISB_ARB is not set -# CONFIG_MOXTET is not set -# CONFIG_MIPS_CDMM is not set -# end of Bus devices - -# CONFIG_CONNECTOR is not set -# CONFIG_GNSS is not set -CONFIG_MTD=y -# CONFIG_MTD_TESTS is not set - -# -# Partition parsers -# -# CONFIG_MTD_AR7_PARTS is not set -CONFIG_MTD_CMDLINE_PARTS=y -# CONFIG_MTD_OF_PARTS is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# end of Partition parsers - -# -# User Modules And Translation Layers -# -CONFIG_MTD_BLKDEVS=y -# CONFIG_MTD_BLOCK is not set -CONFIG_MTD_BLOCK_RO=y -# CONFIG_FTL is not set -# CONFIG_NFTL is not set -# CONFIG_INFTL is not set -# CONFIG_RFD_FTL is not set -# CONFIG_SSFDC is not set -# CONFIG_SM_FTL is not set -# CONFIG_MTD_OOPS is not set -# CONFIG_MTD_SWAP is not set -# CONFIG_MTD_PARTITIONED_MASTER is not set - -# -# RAM/ROM/Flash chip drivers -# -CONFIG_MTD_CFI=y -CONFIG_MTD_JEDECPROBE=y -CONFIG_MTD_GEN_PROBE=y -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -CONFIG_MTD_MAP_BANK_WIDTH_2=y -CONFIG_MTD_MAP_BANK_WIDTH_4=y -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -# CONFIG_MTD_CFI_STAA is not set -CONFIG_MTD_CFI_UTIL=y -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ABSENT is not set -# end of RAM/ROM/Flash chip drivers - -# -# Mapping drivers for chip access -# -CONFIG_MTD_COMPLEX_MAPPINGS=y -CONFIG_MTD_PHYSMAP=y -# CONFIG_MTD_PHYSMAP_COMPAT is not set -# CONFIG_MTD_PHYSMAP_OF is not set -# CONFIG_MTD_PHYSMAP_GPIO_ADDR is not set -# CONFIG_MTD_PLATRAM is not set -# end of Mapping drivers for chip access - -# -# Self-contained MTD device drivers -# -# CONFIG_MTD_DATAFLASH is not set -# CONFIG_MTD_MCHP23K256 is not set -# CONFIG_MTD_SST25L is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_BLOCK2MTD is not set - -# -# Disk-On-Chip Device Drivers -# -# CONFIG_MTD_DOCG3 is not set -# end of Self-contained MTD device drivers - -# CONFIG_MTD_ONENAND is not set -# CONFIG_MTD_RAW_NAND is not set -# CONFIG_MTD_SPI_NAND is not set - -# -# LPDDR & LPDDR2 PCM memory drivers -# -# CONFIG_MTD_LPDDR is not set -# end of LPDDR & LPDDR2 PCM memory drivers - -CONFIG_MTD_SPI_NOR=y -CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y -# CONFIG_SPI_MTK_QUADSPI is not set -# CONFIG_MTD_UBI is not set -# CONFIG_MTD_HYPERBUS is not set -CONFIG_DTC=y -CONFIG_OF=y -# CONFIG_OF_UNITTEST is not set -CONFIG_OF_FLATTREE=y -CONFIG_OF_EARLY_FLATTREE=y -CONFIG_OF_KOBJ=y -CONFIG_OF_ADDRESS=y -CONFIG_OF_IRQ=y -CONFIG_OF_NET=y -CONFIG_OF_MDIO=y -CONFIG_OF_RESERVED_MEM=y -# CONFIG_OF_OVERLAY is not set -# CONFIG_PARPORT is not set -CONFIG_BLK_DEV=y -# CONFIG_BLK_DEV_NULL_BLK is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 -# CONFIG_BLK_DEV_CRYPTOLOOP is not set -# CONFIG_BLK_DEV_DRBD is not set -# CONFIG_BLK_DEV_NBD is not set -# CONFIG_BLK_DEV_RAM is not set -# CONFIG_CDROM_PKTCDVD is not set -# CONFIG_ATA_OVER_ETH is not set -# CONFIG_BLK_DEV_RBD is not set - -# -# NVME Support -# -# CONFIG_NVME_FC is not set -# CONFIG_NVME_TARGET is not set -# end of NVME Support - -# -# Misc devices -# -# CONFIG_AD525X_DPOT is not set -# CONFIG_DUMMY_IRQ is not set -# CONFIG_ICS932S401 is not set -# CONFIG_ENCLOSURE_SERVICES is not set -# CONFIG_APDS9802ALS is not set -# CONFIG_ISL29003 is not set -# CONFIG_ISL29020 is not set -# CONFIG_SENSORS_TSL2550 is not set -# CONFIG_SENSORS_BH1770 is not set -# CONFIG_SENSORS_APDS990X is not set -# CONFIG_HMC6352 is not set -# CONFIG_DS1682 is not set -# CONFIG_LATTICE_ECP3_CONFIG is not set -# CONFIG_SRAM is not set -# CONFIG_XILINX_SDFEC is not set -# CONFIG_PVPANIC is not set -# CONFIG_C2PORT is not set - -# -# EEPROM support -# -# CONFIG_EEPROM_AT24 is not set -# CONFIG_EEPROM_AT25 is not set -# CONFIG_EEPROM_LEGACY is not set -# CONFIG_EEPROM_MAX6875 is not set -# CONFIG_EEPROM_93CX6 is not set -# CONFIG_EEPROM_93XX46 is not set -# CONFIG_EEPROM_IDT_89HPESX is not set -# CONFIG_EEPROM_EE1004 is not set -# end of EEPROM support - -# -# Texas Instruments shared transport line discipline -# -# CONFIG_TI_ST is not set -# end of Texas Instruments shared transport line discipline - -# CONFIG_SENSORS_LIS3_SPI is not set -# CONFIG_SENSORS_LIS3_I2C is not set -# CONFIG_ALTERA_STAPL is not set - -# -# Intel MIC & related support -# - -# -# Intel MIC Bus Driver -# - -# -# SCIF Bus Driver -# - -# -# VOP Bus Driver -# -# CONFIG_VOP_BUS is not set - -# -# Intel MIC Host Driver -# - -# -# Intel MIC Card Driver -# - -# -# SCIF Driver -# - -# -# Intel MIC Coprocessor State Management (COSM) Drivers -# - -# -# VOP Driver -# -# end of Intel MIC & related support - -# CONFIG_ECHO is not set -# CONFIG_MISC_RTSX_USB is not set -# end of Misc devices - -CONFIG_HAVE_IDE=y -# CONFIG_IDE is not set - -# -# SCSI device support -# -CONFIG_SCSI_MOD=y -# CONFIG_RAID_ATTRS is not set -CONFIG_SCSI=y -CONFIG_SCSI_DMA=y -CONFIG_SCSI_PROC_FS=y - -# -# SCSI support type (disk, tape, CD-ROM) -# -CONFIG_BLK_DEV_SD=y -# CONFIG_CHR_DEV_ST is not set -# CONFIG_BLK_DEV_SR is not set -# CONFIG_CHR_DEV_SG is not set -# CONFIG_CHR_DEV_SCH is not set -# CONFIG_SCSI_CONSTANTS is not set -# CONFIG_SCSI_LOGGING is not set -# CONFIG_SCSI_SCAN_ASYNC is not set - -# -# SCSI Transports -# -# CONFIG_SCSI_SPI_ATTRS is not set -# CONFIG_SCSI_FC_ATTRS is not set -# CONFIG_SCSI_ISCSI_ATTRS is not set -# CONFIG_SCSI_SAS_ATTRS is not set -# CONFIG_SCSI_SAS_LIBSAS is not set -# CONFIG_SCSI_SRP_ATTRS is not set -# end of SCSI Transports - -# CONFIG_SCSI_LOWLEVEL is not set -# CONFIG_SCSI_DH is not set -# end of SCSI device support - -# CONFIG_ATA is not set -# CONFIG_MD is not set -# CONFIG_TARGET_CORE is not set -CONFIG_NETDEVICES=y -CONFIG_MII=m -CONFIG_NET_CORE=y -CONFIG_BONDING=m -CONFIG_DUMMY=m -# CONFIG_EQUALIZER is not set -CONFIG_IFB=m -# CONFIG_NET_TEAM is not set -CONFIG_MACVLAN=m -# CONFIG_MACVTAP is not set -CONFIG_IPVLAN_L3S=y -CONFIG_IPVLAN=m -CONFIG_IPVTAP=m -# CONFIG_VXLAN is not set -# CONFIG_GENEVE is not set -# CONFIG_GTP is not set -# CONFIG_MACSEC is not set -CONFIG_NETCONSOLE=m -CONFIG_NETCONSOLE_DYNAMIC=y -CONFIG_NETPOLL=y -CONFIG_NET_POLL_CONTROLLER=y -CONFIG_TUN=m -CONFIG_TAP=m -# CONFIG_TUN_VNET_CROSS_LE is not set -CONFIG_VETH=m -# CONFIG_NLMON is not set -CONFIG_NET_VRF=m - -# -# CAIF transport drivers -# - -# -# Distributed Switch Architecture drivers -# -# end of Distributed Switch Architecture drivers - -CONFIG_ETHERNET=y -# CONFIG_NET_VENDOR_ALACRITECH is not set -# CONFIG_ALTERA_TSE is not set -# CONFIG_NET_VENDOR_AMAZON is not set -# CONFIG_NET_VENDOR_AQUANTIA is not set -# CONFIG_NET_VENDOR_ARC is not set -# CONFIG_NET_VENDOR_AURORA is not set -# CONFIG_NET_VENDOR_BROADCOM is not set -# CONFIG_NET_VENDOR_CADENCE is not set -CONFIG_NET_VENDOR_CAVIUM=y -# CONFIG_OCTEON_MGMT_ETHERNET is not set -# CONFIG_NET_VENDOR_CORTINA is not set -# CONFIG_DM9000 is not set -# CONFIG_DNET is not set -# CONFIG_NET_VENDOR_EZCHIP is not set -# CONFIG_NET_VENDOR_GOOGLE is not set -# CONFIG_NET_VENDOR_HUAWEI is not set -# CONFIG_NET_VENDOR_INTEL is not set -# CONFIG_NET_VENDOR_MARVELL is not set -# CONFIG_NET_VENDOR_MELLANOX is not set -# CONFIG_NET_VENDOR_MICREL is not set -# CONFIG_NET_VENDOR_MICROCHIP is not set -# CONFIG_NET_VENDOR_MICROSEMI is not set -# CONFIG_NET_VENDOR_NATSEMI is not set -# CONFIG_NET_VENDOR_NETRONOME is not set -# CONFIG_NET_VENDOR_NI is not set -# CONFIG_ETHOC is not set -# CONFIG_NET_VENDOR_PENSANDO is not set -# CONFIG_NET_VENDOR_QUALCOMM is not set -# CONFIG_NET_VENDOR_RENESAS is not set -# CONFIG_NET_VENDOR_ROCKER is not set -# CONFIG_NET_VENDOR_SAMSUNG is not set -# CONFIG_NET_VENDOR_SEEQ is not set -# CONFIG_NET_VENDOR_SOLARFLARE is not set -# CONFIG_NET_VENDOR_SMSC is not set -# CONFIG_NET_VENDOR_SOCIONEXT is not set -# CONFIG_NET_VENDOR_STMICRO is not set -# CONFIG_NET_VENDOR_SYNOPSYS is not set -# CONFIG_NET_VENDOR_VIA is not set -# CONFIG_NET_VENDOR_WIZNET is not set -# CONFIG_NET_VENDOR_XILINX is not set -CONFIG_MDIO_DEVICE=y -CONFIG_MDIO_BUS=y -# CONFIG_MDIO_BCM_UNIMAC is not set -# CONFIG_MDIO_BITBANG is not set -CONFIG_MDIO_BUS_MUX=m -CONFIG_MDIO_BUS_MUX_GPIO=m -# CONFIG_MDIO_BUS_MUX_MMIOREG is not set -# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set -CONFIG_MDIO_CAVIUM=y -# CONFIG_MDIO_HISI_FEMAC is not set -# CONFIG_MDIO_MSCC_MIIM is not set -CONFIG_MDIO_OCTEON=y -CONFIG_PHYLIB=y -CONFIG_SWPHY=y - -# -# MII PHY device drivers -# -# CONFIG_ADIN_PHY is not set -# CONFIG_AMD_PHY is not set -# CONFIG_AQUANTIA_PHY is not set -# CONFIG_AX88796B_PHY is not set -CONFIG_AT803X_PHY=m -# CONFIG_BCM7XXX_PHY is not set -# CONFIG_BCM87XX_PHY is not set -# CONFIG_BROADCOM_PHY is not set -# CONFIG_CICADA_PHY is not set -CONFIG_CORTINA_PHY=m -# CONFIG_DAVICOM_PHY is not set -# CONFIG_DP83822_PHY is not set -# CONFIG_DP83TC811_PHY is not set -# CONFIG_DP83848_PHY is not set -# CONFIG_DP83867_PHY is not set -CONFIG_FIXED_PHY=y -# CONFIG_ICPLUS_PHY is not set -# CONFIG_INTEL_XWAY_PHY is not set -# CONFIG_LSI_ET1011C_PHY is not set -# CONFIG_LXT_PHY is not set -# CONFIG_MARVELL_PHY is not set -CONFIG_MARVELL_10G_PHY=m -# CONFIG_MICREL_PHY is not set -# CONFIG_MICROCHIP_PHY is not set -# CONFIG_MICROCHIP_T1_PHY is not set -# CONFIG_MICROSEMI_PHY is not set -# CONFIG_NATIONAL_PHY is not set -# CONFIG_NXP_TJA11XX_PHY is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_REALTEK_PHY is not set -# CONFIG_RENESAS_PHY is not set -# CONFIG_ROCKCHIP_PHY is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_STE10XP is not set -# CONFIG_TERANETICS_PHY is not set -CONFIG_VITESSE_PHY=m -# CONFIG_XILINX_GMII2RGMII is not set -# CONFIG_MICREL_KS8995MA is not set -CONFIG_PPP=m -CONFIG_PPP_BSDCOMP=m -CONFIG_PPP_DEFLATE=m -CONFIG_PPP_FILTER=y -CONFIG_PPP_MPPE=m -CONFIG_PPP_MULTILINK=y -CONFIG_PPPOE=m -CONFIG_PPTP=m -CONFIG_PPPOL2TP=m -CONFIG_PPP_ASYNC=m -# CONFIG_PPP_SYNC_TTY is not set -# CONFIG_SLIP is not set -CONFIG_SLHC=m -CONFIG_USB_NET_DRIVERS=y -CONFIG_USB_CATC=m -CONFIG_USB_KAWETH=m -CONFIG_USB_PEGASUS=m -CONFIG_USB_RTL8150=m -CONFIG_USB_RTL8152=m -# CONFIG_USB_LAN78XX is not set -CONFIG_USB_USBNET=m -CONFIG_USB_NET_AX8817X=m -CONFIG_USB_NET_AX88179_178A=m -CONFIG_USB_NET_CDCETHER=m -# CONFIG_USB_NET_CDC_EEM is not set -CONFIG_USB_NET_CDC_NCM=m -# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set -# CONFIG_USB_NET_CDC_MBIM is not set -# CONFIG_USB_NET_DM9601 is not set -# CONFIG_USB_NET_SR9700 is not set -# CONFIG_USB_NET_SR9800 is not set -CONFIG_USB_NET_SMSC75XX=m -CONFIG_USB_NET_SMSC95XX=m -# CONFIG_USB_NET_GL620A is not set -CONFIG_USB_NET_NET1080=m -# CONFIG_USB_NET_PLUSB is not set -# CONFIG_USB_NET_MCS7830 is not set -# CONFIG_USB_NET_RNDIS_HOST is not set -CONFIG_USB_NET_CDC_SUBSET_ENABLE=m -CONFIG_USB_NET_CDC_SUBSET=m -# CONFIG_USB_ALI_M5632 is not set -# CONFIG_USB_AN2720 is not set -CONFIG_USB_BELKIN=y -CONFIG_USB_ARMLINUX=y -# CONFIG_USB_EPSON2888 is not set -# CONFIG_USB_KC2190 is not set -CONFIG_USB_NET_ZAURUS=m -# CONFIG_USB_NET_CX82310_ETH is not set -CONFIG_USB_NET_KALMIA=m -CONFIG_USB_NET_QMI_WWAN=m -CONFIG_USB_NET_INT51X1=m -CONFIG_USB_IPHETH=m -CONFIG_USB_SIERRA_NET=m -# CONFIG_USB_VL600 is not set -# CONFIG_USB_NET_CH9200 is not set -# CONFIG_USB_NET_AQC111 is not set -# CONFIG_WLAN is not set - -# -# Enable WiMAX (Networking options) to see the WiMAX drivers -# -# CONFIG_WAN is not set -# CONFIG_NET_FAILOVER is not set -# CONFIG_ISDN is not set -# CONFIG_NVM is not set - -# -# Input device support -# -CONFIG_INPUT=y -CONFIG_INPUT_LEDS=m -# CONFIG_INPUT_FF_MEMLESS is not set -# CONFIG_INPUT_POLLDEV is not set -# CONFIG_INPUT_SPARSEKMAP is not set -# CONFIG_INPUT_MATRIXKMAP is not set - -# -# Userland interfaces -# -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_JOYDEV is not set -# CONFIG_INPUT_EVDEV is not set -# CONFIG_INPUT_EVBUG is not set - -# -# Input Device Drivers -# -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_INPUT_JOYSTICK is not set -# CONFIG_INPUT_TABLET is not set -# CONFIG_INPUT_TOUCHSCREEN is not set -# CONFIG_INPUT_MISC is not set -# CONFIG_RMI4_CORE is not set - -# -# Hardware I/O ports -# -# CONFIG_SERIO is not set -# CONFIG_GAMEPORT is not set -# end of Hardware I/O ports -# end of Input device support - -# -# Character devices -# -CONFIG_TTY=y -# CONFIG_VT is not set -CONFIG_UNIX98_PTYS=y -# CONFIG_LEGACY_PTYS is not set -# CONFIG_SERIAL_NONSTANDARD is not set -# CONFIG_N_GSM is not set -# CONFIG_TRACE_SINK is not set -# CONFIG_NULL_TTY is not set -CONFIG_LDISC_AUTOLOAD=y -CONFIG_DEVMEM=y -CONFIG_DEVKMEM=y - -# -# Serial drivers -# -CONFIG_SERIAL_EARLYCON=y -CONFIG_SERIAL_8250=y -# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set -# CONFIG_SERIAL_8250_FINTEK is not set -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_NR_UARTS=6 -CONFIG_SERIAL_8250_RUNTIME_UARTS=6 -# CONFIG_SERIAL_8250_EXTENDED is not set -# CONFIG_SERIAL_8250_ASPEED_VUART is not set -CONFIG_SERIAL_8250_DWLIB=y -CONFIG_SERIAL_8250_DW=y -# CONFIG_SERIAL_8250_RT288X is not set -# CONFIG_SERIAL_8250_INGENIC is not set -# CONFIG_SERIAL_OF_PLATFORM is not set - -# -# Non-8250 serial port support -# -# CONFIG_SERIAL_MAX3100 is not set -# CONFIG_SERIAL_MAX310X is not set -# CONFIG_SERIAL_UARTLITE is not set -CONFIG_SERIAL_CORE=y -CONFIG_SERIAL_CORE_CONSOLE=y -# CONFIG_SERIAL_SIFIVE is not set -# CONFIG_SERIAL_SCCNXP is not set -# CONFIG_SERIAL_SC16IS7XX is not set -# CONFIG_SERIAL_BCM63XX is not set -# CONFIG_SERIAL_ALTERA_JTAGUART is not set -# CONFIG_SERIAL_ALTERA_UART is not set -# CONFIG_SERIAL_IFX6X60 is not set -# CONFIG_SERIAL_XILINX_PS_UART is not set -# CONFIG_SERIAL_ARC is not set -# CONFIG_SERIAL_FSL_LPUART is not set -# CONFIG_SERIAL_FSL_LINFLEXUART is not set -# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set -# end of Serial drivers - -CONFIG_SERIAL_MCTRL_GPIO=y -CONFIG_SERIAL_DEV_BUS=m -# CONFIG_TTY_PRINTK is not set -# CONFIG_IPMI_HANDLER is not set -CONFIG_HW_RANDOM=m -# CONFIG_HW_RANDOM_TIMERIOMEM is not set -CONFIG_HW_RANDOM_OCTEON=m -# CONFIG_RAW_DRIVER is not set -# CONFIG_TCG_TPM is not set -# CONFIG_XILLYBUS is not set -# end of Character devices - -# CONFIG_RANDOM_TRUST_BOOTLOADER is not set - -# -# I2C support -# -CONFIG_I2C=y -CONFIG_I2C_BOARDINFO=y -CONFIG_I2C_COMPAT=y -# CONFIG_I2C_CHARDEV is not set -# CONFIG_I2C_MUX is not set -CONFIG_I2C_HELPER_AUTO=y - -# -# I2C Hardware Bus support -# - -# -# I2C system bus drivers (mostly embedded / system-on-chip) -# -# CONFIG_I2C_CBUS_GPIO is not set -# CONFIG_I2C_DESIGNWARE_PLATFORM is not set -# CONFIG_I2C_GPIO is not set -# CONFIG_I2C_IMG is not set -# CONFIG_I2C_JZ4780 is not set -# CONFIG_I2C_OCORES is not set -# CONFIG_I2C_PCA_PLATFORM is not set -# CONFIG_I2C_SIMTEC is not set -CONFIG_I2C_OCTEON=y -# CONFIG_I2C_XILINX is not set - -# -# External I2C/SMBus adapter drivers -# -# CONFIG_I2C_DIOLAN_U2C is not set -# CONFIG_I2C_PARPORT_LIGHT is not set -# CONFIG_I2C_ROBOTFUZZ_OSIF is not set -# CONFIG_I2C_TAOS_EVM is not set -# CONFIG_I2C_TINY_USB is not set - -# -# Other I2C/SMBus bus drivers -# -# end of I2C Hardware Bus support - -# CONFIG_I2C_STUB is not set -# CONFIG_I2C_SLAVE is not set -# CONFIG_I2C_DEBUG_CORE is not set -# CONFIG_I2C_DEBUG_ALGO is not set -# CONFIG_I2C_DEBUG_BUS is not set -# end of I2C support - -# CONFIG_I3C is not set -CONFIG_SPI=y -# CONFIG_SPI_DEBUG is not set -CONFIG_SPI_MASTER=y -CONFIG_SPI_MEM=y - -# -# SPI Master Controller Drivers -# -# CONFIG_SPI_ALTERA is not set -# CONFIG_SPI_AXI_SPI_ENGINE is not set -# CONFIG_SPI_BITBANG is not set -# CONFIG_SPI_CADENCE is not set -# CONFIG_SPI_DESIGNWARE is not set -# CONFIG_SPI_NXP_FLEXSPI is not set -# CONFIG_SPI_GPIO is not set -# CONFIG_SPI_IMG_SPFI is not set -# CONFIG_SPI_FSL_SPI is not set -# CONFIG_SPI_OC_TINY is not set -CONFIG_SPI_OCTEON=y -# CONFIG_SPI_ROCKCHIP is not set -# CONFIG_SPI_SC18IS602 is not set -# CONFIG_SPI_SIFIVE is not set -# CONFIG_SPI_MXIC is not set -# CONFIG_SPI_XCOMM is not set -# CONFIG_SPI_XILINX is not set -# CONFIG_SPI_ZYNQMP_GQSPI is not set - -# -# SPI Protocol Masters -# -# CONFIG_SPI_SPIDEV is not set -# CONFIG_SPI_LOOPBACK_TEST is not set -# CONFIG_SPI_TLE62X0 is not set -# CONFIG_SPI_SLAVE is not set -# CONFIG_SPMI is not set -# CONFIG_HSI is not set -CONFIG_PPS=m -# CONFIG_PPS_DEBUG is not set -# CONFIG_NTP_PPS is not set - -# -# PPS clients support -# -# CONFIG_PPS_CLIENT_KTIMER is not set -# CONFIG_PPS_CLIENT_LDISC is not set -# CONFIG_PPS_CLIENT_GPIO is not set - -# -# PPS generators support -# - -# -# PTP clock support -# -CONFIG_PTP_1588_CLOCK=m - -# -# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. -# -# end of PTP clock support - -# CONFIG_PINCTRL is not set -CONFIG_GPIOLIB=y -CONFIG_GPIOLIB_FASTPATH_LIMIT=512 -CONFIG_OF_GPIO=y -# CONFIG_DEBUG_GPIO is not set -CONFIG_GPIO_SYSFS=y - -# -# Memory mapped GPIO drivers -# -# CONFIG_GPIO_74XX_MMIO is not set -# CONFIG_GPIO_ALTERA is not set -# CONFIG_GPIO_CADENCE is not set -# CONFIG_GPIO_DWAPB is not set -# CONFIG_GPIO_FTGPIO010 is not set -# CONFIG_GPIO_GENERIC_PLATFORM is not set -# CONFIG_GPIO_GRGPIO is not set -# CONFIG_GPIO_HLWD is not set -# CONFIG_GPIO_MB86S7X is not set -CONFIG_GPIO_OCTEON=y -# CONFIG_GPIO_XILINX is not set -# CONFIG_GPIO_AMD_FCH is not set -# end of Memory mapped GPIO drivers - -# -# I2C GPIO expanders -# -# CONFIG_GPIO_ADP5588 is not set -# CONFIG_GPIO_ADNP is not set -# CONFIG_GPIO_GW_PLD is not set -# CONFIG_GPIO_MAX7300 is not set -# CONFIG_GPIO_MAX732X is not set -# CONFIG_GPIO_PCA953X is not set -# CONFIG_GPIO_PCF857X is not set -# CONFIG_GPIO_TPIC2810 is not set -# end of I2C GPIO expanders - -# -# MFD GPIO expanders -# -# end of MFD GPIO expanders - -# -# SPI GPIO expanders -# -# CONFIG_GPIO_74X164 is not set -# CONFIG_GPIO_MAX3191X is not set -# CONFIG_GPIO_MAX7301 is not set -# CONFIG_GPIO_MC33880 is not set -# CONFIG_GPIO_PISOSR is not set -# CONFIG_GPIO_XRA1403 is not set -# end of SPI GPIO expanders - -# -# USB GPIO expanders -# -# end of USB GPIO expanders - -# CONFIG_GPIO_MOCKUP is not set -# CONFIG_W1 is not set -# CONFIG_POWER_AVS is not set -# CONFIG_POWER_RESET is not set -# CONFIG_POWER_SUPPLY is not set -CONFIG_HWMON=m -# CONFIG_HWMON_DEBUG_CHIP is not set - -# -# Native drivers -# -# CONFIG_SENSORS_AD7314 is not set -# CONFIG_SENSORS_AD7414 is not set -# CONFIG_SENSORS_AD7418 is not set -# CONFIG_SENSORS_ADM1021 is not set -# CONFIG_SENSORS_ADM1025 is not set -# CONFIG_SENSORS_ADM1026 is not set -# CONFIG_SENSORS_ADM1029 is not set -# CONFIG_SENSORS_ADM1031 is not set -# CONFIG_SENSORS_ADM9240 is not set -# CONFIG_SENSORS_ADT7310 is not set -# CONFIG_SENSORS_ADT7410 is not set -# CONFIG_SENSORS_ADT7411 is not set -# CONFIG_SENSORS_ADT7462 is not set -# CONFIG_SENSORS_ADT7470 is not set -# CONFIG_SENSORS_ADT7475 is not set -# CONFIG_SENSORS_AS370 is not set -# CONFIG_SENSORS_ASC7621 is not set -# CONFIG_SENSORS_ASPEED is not set -# CONFIG_SENSORS_ATXP1 is not set -# CONFIG_SENSORS_DS620 is not set -# CONFIG_SENSORS_DS1621 is not set -# CONFIG_SENSORS_F71805F is not set -# CONFIG_SENSORS_F71882FG is not set -# CONFIG_SENSORS_F75375S is not set -# CONFIG_SENSORS_FTSTEUTATES is not set -# CONFIG_SENSORS_GL518SM is not set -# CONFIG_SENSORS_GL520SM is not set -# CONFIG_SENSORS_G760A is not set -# CONFIG_SENSORS_G762 is not set -# CONFIG_SENSORS_GPIO_FAN is not set -# CONFIG_SENSORS_HIH6130 is not set -# CONFIG_SENSORS_IT87 is not set -# CONFIG_SENSORS_JC42 is not set -# CONFIG_SENSORS_POWR1220 is not set -# CONFIG_SENSORS_LINEAGE is not set -# CONFIG_SENSORS_LTC2945 is not set -# CONFIG_SENSORS_LTC2990 is not set -# CONFIG_SENSORS_LTC4151 is not set -# CONFIG_SENSORS_LTC4215 is not set -# CONFIG_SENSORS_LTC4222 is not set -# CONFIG_SENSORS_LTC4245 is not set -# CONFIG_SENSORS_LTC4260 is not set -# CONFIG_SENSORS_LTC4261 is not set -# CONFIG_SENSORS_MAX1111 is not set -# CONFIG_SENSORS_MAX16065 is not set -# CONFIG_SENSORS_MAX1619 is not set -# CONFIG_SENSORS_MAX1668 is not set -# CONFIG_SENSORS_MAX197 is not set -# CONFIG_SENSORS_MAX31722 is not set -# CONFIG_SENSORS_MAX6621 is not set -# CONFIG_SENSORS_MAX6639 is not set -# CONFIG_SENSORS_MAX6642 is not set -# CONFIG_SENSORS_MAX6650 is not set -# CONFIG_SENSORS_MAX6697 is not set -# CONFIG_SENSORS_MAX31790 is not set -# CONFIG_SENSORS_MCP3021 is not set -# CONFIG_SENSORS_TC654 is not set -# CONFIG_SENSORS_ADCXX is not set -# CONFIG_SENSORS_LM63 is not set -# CONFIG_SENSORS_LM70 is not set -# CONFIG_SENSORS_LM73 is not set -# CONFIG_SENSORS_LM75 is not set -# CONFIG_SENSORS_LM77 is not set -# CONFIG_SENSORS_LM78 is not set -# CONFIG_SENSORS_LM80 is not set -# CONFIG_SENSORS_LM83 is not set -# CONFIG_SENSORS_LM85 is not set -# CONFIG_SENSORS_LM87 is not set -# CONFIG_SENSORS_LM90 is not set -# CONFIG_SENSORS_LM92 is not set -# CONFIG_SENSORS_LM93 is not set -# CONFIG_SENSORS_LM95234 is not set -# CONFIG_SENSORS_LM95241 is not set -# CONFIG_SENSORS_LM95245 is not set -# CONFIG_SENSORS_PC87360 is not set -# CONFIG_SENSORS_PC87427 is not set -# CONFIG_SENSORS_NTC_THERMISTOR is not set -# CONFIG_SENSORS_NCT6683 is not set -# CONFIG_SENSORS_NCT6775 is not set -# CONFIG_SENSORS_NCT7802 is not set -# CONFIG_SENSORS_NCT7904 is not set -# CONFIG_SENSORS_NPCM7XX is not set -# CONFIG_SENSORS_PCF8591 is not set -# CONFIG_PMBUS is not set -# CONFIG_SENSORS_SHT15 is not set -# CONFIG_SENSORS_SHT21 is not set -# CONFIG_SENSORS_SHT3x is not set -# CONFIG_SENSORS_SHTC1 is not set -# CONFIG_SENSORS_DME1737 is not set -# CONFIG_SENSORS_EMC1403 is not set -# CONFIG_SENSORS_EMC2103 is not set -# CONFIG_SENSORS_EMC6W201 is not set -# CONFIG_SENSORS_SMSC47M1 is not set -# CONFIG_SENSORS_SMSC47M192 is not set -# CONFIG_SENSORS_SMSC47B397 is not set -# CONFIG_SENSORS_SCH5627 is not set -# CONFIG_SENSORS_SCH5636 is not set -# CONFIG_SENSORS_STTS751 is not set -# CONFIG_SENSORS_SMM665 is not set -# CONFIG_SENSORS_ADC128D818 is not set -# CONFIG_SENSORS_ADS7828 is not set -# CONFIG_SENSORS_ADS7871 is not set -# CONFIG_SENSORS_AMC6821 is not set -# CONFIG_SENSORS_INA209 is not set -# CONFIG_SENSORS_INA2XX is not set -# CONFIG_SENSORS_INA3221 is not set -# CONFIG_SENSORS_TC74 is not set -# CONFIG_SENSORS_THMC50 is not set -# CONFIG_SENSORS_TMP102 is not set -# CONFIG_SENSORS_TMP103 is not set -# CONFIG_SENSORS_TMP108 is not set -# CONFIG_SENSORS_TMP401 is not set -CONFIG_SENSORS_TMP421=m -# CONFIG_SENSORS_VT1211 is not set -# CONFIG_SENSORS_W83773G is not set -# CONFIG_SENSORS_W83781D is not set -# CONFIG_SENSORS_W83791D is not set -# CONFIG_SENSORS_W83792D is not set -# CONFIG_SENSORS_W83793 is not set -# CONFIG_SENSORS_W83795 is not set -# CONFIG_SENSORS_W83L785TS is not set -# CONFIG_SENSORS_W83L786NG is not set -# CONFIG_SENSORS_W83627HF is not set -# CONFIG_SENSORS_W83627EHF is not set -# CONFIG_THERMAL is not set -CONFIG_WATCHDOG=y -CONFIG_WATCHDOG_CORE=y -# CONFIG_WATCHDOG_NOWAYOUT is not set -CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y -CONFIG_WATCHDOG_OPEN_TIMEOUT=0 -# CONFIG_WATCHDOG_SYSFS is not set - -# -# Watchdog Pretimeout Governors -# -# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set - -# -# Watchdog Device Drivers -# -# CONFIG_SOFT_WATCHDOG is not set -# CONFIG_GPIO_WATCHDOG is not set -# CONFIG_XILINX_WATCHDOG is not set -# CONFIG_ZIIRAVE_WATCHDOG is not set -# CONFIG_CADENCE_WATCHDOG is not set -# CONFIG_DW_WATCHDOG is not set -# CONFIG_MAX63XX_WATCHDOG is not set -CONFIG_OCTEON_WDT=y -# CONFIG_IMGPDC_WDT is not set -# CONFIG_MEN_A21_WDT is not set - -# -# USB-based Watchdog Cards -# -# CONFIG_USBPCWATCHDOG is not set -CONFIG_SSB_POSSIBLE=y -# CONFIG_SSB is not set -CONFIG_BCMA_POSSIBLE=y -# CONFIG_BCMA is not set - -# -# Multifunction device drivers -# -# CONFIG_MFD_ACT8945A is not set -# CONFIG_MFD_AS3711 is not set -# CONFIG_MFD_AS3722 is not set -# CONFIG_PMIC_ADP5520 is not set -# CONFIG_MFD_AAT2870_CORE is not set -# CONFIG_MFD_ATMEL_FLEXCOM is not set -# CONFIG_MFD_ATMEL_HLCDC is not set -# CONFIG_MFD_BCM590XX is not set -# CONFIG_MFD_BD9571MWV is not set -# CONFIG_MFD_AXP20X_I2C is not set -# CONFIG_MFD_MADERA is not set -# CONFIG_PMIC_DA903X is not set -# CONFIG_MFD_DA9052_SPI is not set -# CONFIG_MFD_DA9052_I2C is not set -# CONFIG_MFD_DA9055 is not set -# CONFIG_MFD_DA9062 is not set -# CONFIG_MFD_DA9063 is not set -# CONFIG_MFD_DA9150 is not set -# CONFIG_MFD_DLN2 is not set -# CONFIG_MFD_MC13XXX_SPI is not set -# CONFIG_MFD_MC13XXX_I2C is not set -# CONFIG_MFD_HI6421_PMIC is not set -# CONFIG_HTC_PASIC3 is not set -# CONFIG_HTC_I2CPLD is not set -# CONFIG_MFD_KEMPLD is not set -# CONFIG_MFD_88PM800 is not set -# CONFIG_MFD_88PM805 is not set -# CONFIG_MFD_88PM860X is not set -# CONFIG_MFD_MAX14577 is not set -# CONFIG_MFD_MAX77620 is not set -# CONFIG_MFD_MAX77650 is not set -# CONFIG_MFD_MAX77686 is not set -# CONFIG_MFD_MAX77693 is not set -# CONFIG_MFD_MAX77843 is not set -# CONFIG_MFD_MAX8907 is not set -# CONFIG_MFD_MAX8925 is not set -# CONFIG_MFD_MAX8997 is not set -# CONFIG_MFD_MAX8998 is not set -# CONFIG_MFD_MT6397 is not set -# CONFIG_MFD_MENF21BMC is not set -# CONFIG_EZX_PCAP is not set -# CONFIG_MFD_CPCAP is not set -# CONFIG_MFD_VIPERBOARD is not set -# CONFIG_MFD_RETU is not set -# CONFIG_MFD_PCF50633 is not set -# CONFIG_MFD_RT5033 is not set -# CONFIG_MFD_RC5T583 is not set -# CONFIG_MFD_RK808 is not set -# CONFIG_MFD_RN5T618 is not set -# CONFIG_MFD_SEC_CORE is not set -# CONFIG_MFD_SI476X_CORE is not set -# CONFIG_MFD_SM501 is not set -# CONFIG_MFD_SKY81452 is not set -# CONFIG_MFD_SMSC is not set -# CONFIG_ABX500_CORE is not set -# CONFIG_MFD_STMPE is not set -# CONFIG_MFD_SYSCON is not set -# CONFIG_MFD_TI_AM335X_TSCADC is not set -# CONFIG_MFD_LP3943 is not set -# CONFIG_MFD_LP8788 is not set -# CONFIG_MFD_TI_LMU is not set -# CONFIG_MFD_PALMAS is not set -# CONFIG_TPS6105X is not set -# CONFIG_TPS65010 is not set -# CONFIG_TPS6507X is not set -# CONFIG_MFD_TPS65086 is not set -# CONFIG_MFD_TPS65090 is not set -# CONFIG_MFD_TPS65217 is not set -# CONFIG_MFD_TI_LP873X is not set -# CONFIG_MFD_TI_LP87565 is not set -# CONFIG_MFD_TPS65218 is not set -# CONFIG_MFD_TPS6586X is not set -# CONFIG_MFD_TPS65910 is not set -# CONFIG_MFD_TPS65912_I2C is not set -# CONFIG_MFD_TPS65912_SPI is not set -# CONFIG_MFD_TPS80031 is not set -# CONFIG_TWL4030_CORE is not set -# CONFIG_TWL6040_CORE is not set -# CONFIG_MFD_WL1273_CORE is not set -# CONFIG_MFD_LM3533 is not set -# CONFIG_MFD_TC3589X is not set -# CONFIG_MFD_TQMX86 is not set -# CONFIG_MFD_LOCHNAGAR is not set -# CONFIG_MFD_ARIZONA_I2C is not set -# CONFIG_MFD_ARIZONA_SPI is not set -# CONFIG_MFD_WM8400 is not set -# CONFIG_MFD_WM831X_I2C is not set -# CONFIG_MFD_WM831X_SPI is not set -# CONFIG_MFD_WM8350_I2C is not set -# CONFIG_MFD_WM8994 is not set -# CONFIG_MFD_ROHM_BD718XX is not set -# CONFIG_MFD_ROHM_BD70528 is not set -# CONFIG_MFD_STPMIC1 is not set -# CONFIG_MFD_STMFX is not set -# CONFIG_RAVE_SP_CORE is not set -# end of Multifunction device drivers - -# CONFIG_REGULATOR is not set -# CONFIG_RC_CORE is not set -# CONFIG_MEDIA_SUPPORT is not set - -# -# Graphics support -# -# CONFIG_DRM is not set -# CONFIG_DRM_DP_CEC is not set - -# -# ARM devices -# -# end of ARM devices - -# -# ACP (Audio CoProcessor) Configuration -# -# end of ACP (Audio CoProcessor) Configuration - -# -# Frame buffer Devices -# -# CONFIG_FB is not set -# end of Frame buffer Devices - -# -# Backlight & LCD device support -# -# CONFIG_LCD_CLASS_DEVICE is not set -# CONFIG_BACKLIGHT_CLASS_DEVICE is not set -# end of Backlight & LCD device support -# end of Graphics support - -# CONFIG_SOUND is not set - -# -# HID support -# -# CONFIG_HID is not set - -# -# USB HID support -# -# CONFIG_USB_HID is not set -# CONFIG_HID_PID is not set - -# -# USB HID Boot Protocol drivers -# -# CONFIG_USB_KBD is not set -# CONFIG_USB_MOUSE is not set -# end of USB HID Boot Protocol drivers -# end of USB HID support - -# -# I2C HID support -# -# CONFIG_I2C_HID is not set -# end of I2C HID support -# end of HID support - -CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y -CONFIG_USB_OHCI_LITTLE_ENDIAN=y -CONFIG_USB_EHCI_BIG_ENDIAN_MMIO=y -CONFIG_USB_SUPPORT=y -CONFIG_USB_COMMON=y -# CONFIG_USB_ULPI_BUS is not set -# CONFIG_USB_CONN_GPIO is not set -CONFIG_USB_ARCH_HAS_HCD=y -CONFIG_USB=y -CONFIG_USB_ANNOUNCE_NEW_DEVICES=y - -# -# Miscellaneous USB options -# -CONFIG_USB_DEFAULT_PERSIST=y -CONFIG_USB_DYNAMIC_MINORS=y -# CONFIG_USB_OTG_WHITELIST is not set -# CONFIG_USB_OTG_BLACKLIST_HUB is not set -CONFIG_USB_AUTOSUSPEND_DELAY=2 -CONFIG_USB_MON=y - -# -# USB Host Controller Drivers -# -# CONFIG_USB_C67X00_HCD is not set -CONFIG_USB_XHCI_HCD=y -# CONFIG_USB_XHCI_DBGCAP is not set -CONFIG_USB_XHCI_PLATFORM=y -CONFIG_USB_EHCI_HCD=y -# CONFIG_USB_EHCI_ROOT_HUB_TT is not set -# CONFIG_USB_EHCI_TT_NEWSCHED is not set -# CONFIG_USB_EHCI_FSL is not set -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OCTEON_EHCI=y -# CONFIG_USB_OXU210HP_HCD is not set -# CONFIG_USB_ISP116X_HCD is not set -# CONFIG_USB_FOTG210_HCD is not set -# CONFIG_USB_MAX3421_HCD is not set -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_OCTEON_OHCI=y -# CONFIG_USB_SL811_HCD is not set -# CONFIG_USB_R8A66597_HCD is not set -# CONFIG_USB_HCD_TEST_MODE is not set - -# -# USB Device Class drivers -# -# CONFIG_USB_ACM is not set -# CONFIG_USB_PRINTER is not set -CONFIG_USB_WDM=m -# CONFIG_USB_TMC is not set - -# -# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may -# - -# -# also be needed; see USB_STORAGE Help for more info -# -CONFIG_USB_STORAGE=y -# CONFIG_USB_STORAGE_DEBUG is not set -# CONFIG_USB_STORAGE_REALTEK is not set -# CONFIG_USB_STORAGE_DATAFAB is not set -# CONFIG_USB_STORAGE_FREECOM is not set -# CONFIG_USB_STORAGE_ISD200 is not set -# CONFIG_USB_STORAGE_USBAT is not set -# CONFIG_USB_STORAGE_SDDR09 is not set -# CONFIG_USB_STORAGE_SDDR55 is not set -# CONFIG_USB_STORAGE_JUMPSHOT is not set -# CONFIG_USB_STORAGE_ALAUDA is not set -# CONFIG_USB_STORAGE_ONETOUCH is not set -# CONFIG_USB_STORAGE_KARMA is not set -# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set -# CONFIG_USB_STORAGE_ENE_UB6250 is not set -# CONFIG_USB_UAS is not set - -# -# USB Imaging devices -# -# CONFIG_USB_MDC800 is not set -# CONFIG_USB_MICROTEK is not set -# CONFIG_USBIP_CORE is not set -# CONFIG_USB_CDNS3 is not set -# CONFIG_USB_MUSB_HDRC is not set -CONFIG_USB_DWC3=y -CONFIG_USB_DWC3_HOST=y - -# -# Platform Glue Driver Support -# -# CONFIG_USB_DWC2 is not set -# CONFIG_USB_CHIPIDEA is not set -# CONFIG_USB_ISP1760 is not set - -# -# USB port drivers -# -# CONFIG_USB_SERIAL is not set - -# -# USB Miscellaneous drivers -# -# CONFIG_USB_EMI62 is not set -# CONFIG_USB_EMI26 is not set -# CONFIG_USB_ADUTUX is not set -# CONFIG_USB_SEVSEG is not set -# CONFIG_USB_LEGOTOWER is not set -# CONFIG_USB_LCD is not set -# CONFIG_USB_CYPRESS_CY7C63 is not set -# CONFIG_USB_CYTHERM is not set -# CONFIG_USB_IDMOUSE is not set -# CONFIG_USB_FTDI_ELAN is not set -# CONFIG_USB_APPLEDISPLAY is not set -# CONFIG_USB_SISUSBVGA is not set -# CONFIG_USB_LD is not set -# CONFIG_USB_TRANCEVIBRATOR is not set -# CONFIG_USB_IOWARRIOR is not set -# CONFIG_USB_TEST is not set -# CONFIG_USB_EHSET_TEST_FIXTURE is not set -# CONFIG_USB_ISIGHTFW is not set -# CONFIG_USB_YUREX is not set -# CONFIG_USB_EZUSB_FX2 is not set -# CONFIG_USB_HUB_USB251XB is not set -# CONFIG_USB_HSIC_USB3503 is not set -# CONFIG_USB_HSIC_USB4604 is not set -# CONFIG_USB_LINK_LAYER_TEST is not set -# CONFIG_USB_CHAOSKEY is not set - -# -# USB Physical Layer drivers -# -# CONFIG_NOP_USB_XCEIV is not set -# CONFIG_USB_GPIO_VBUS is not set -# CONFIG_USB_ISP1301 is not set -# end of USB Physical Layer drivers - -# CONFIG_USB_GADGET is not set -# CONFIG_TYPEC is not set -# CONFIG_USB_ROLE_SWITCH is not set -CONFIG_MMC=y -CONFIG_PWRSEQ_EMMC=y -CONFIG_PWRSEQ_SIMPLE=y -CONFIG_MMC_BLOCK=y -CONFIG_MMC_BLOCK_MINORS=8 -# CONFIG_SDIO_UART is not set -# CONFIG_MMC_TEST is not set - -# -# MMC/SD/SDIO Host Controller Drivers -# -# CONFIG_MMC_DEBUG is not set -CONFIG_MMC_SDHCI=y -# CONFIG_MMC_SDHCI_PLTFM is not set -# CONFIG_MMC_SPI is not set -CONFIG_MMC_CAVIUM_OCTEON=y -# CONFIG_MMC_DW is not set -# CONFIG_MMC_JZ4740 is not set -# CONFIG_MMC_VUB300 is not set -# CONFIG_MMC_USHC is not set -# CONFIG_MMC_USDHI6ROL0 is not set -# CONFIG_MMC_CQHCI is not set -# CONFIG_MMC_MTK is not set -# CONFIG_MEMSTICK is not set -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=m -# CONFIG_LEDS_CLASS_FLASH is not set -# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set - -# -# LED drivers -# -# CONFIG_LEDS_AN30259A is not set -# CONFIG_LEDS_BCM6328 is not set -# CONFIG_LEDS_BCM6358 is not set -# CONFIG_LEDS_CR0014114 is not set -# CONFIG_LEDS_LM3530 is not set -# CONFIG_LEDS_LM3532 is not set -# CONFIG_LEDS_LM3642 is not set -# CONFIG_LEDS_LM3692X is not set -# CONFIG_LEDS_PCA9532 is not set -CONFIG_LEDS_GPIO=m -# CONFIG_LEDS_LP3944 is not set -# CONFIG_LEDS_LP3952 is not set -# CONFIG_LEDS_LP5521 is not set -# CONFIG_LEDS_LP5523 is not set -# CONFIG_LEDS_LP5562 is not set -# CONFIG_LEDS_LP8501 is not set -# CONFIG_LEDS_LP8860 is not set -# CONFIG_LEDS_PCA955X is not set -# CONFIG_LEDS_PCA963X is not set -# CONFIG_LEDS_DAC124S085 is not set -# CONFIG_LEDS_BD2802 is not set -# CONFIG_LEDS_LT3593 is not set -# CONFIG_LEDS_TCA6507 is not set -# CONFIG_LEDS_TLC591XX is not set -# CONFIG_LEDS_LM355x is not set -# CONFIG_LEDS_IS31FL319X is not set -# CONFIG_LEDS_IS31FL32XX is not set - -# -# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM) -# -# CONFIG_LEDS_BLINKM is not set -# CONFIG_LEDS_MLXREG is not set -# CONFIG_LEDS_USER is not set -# CONFIG_LEDS_SPI_BYTE is not set - -# -# LED Triggers -# -# CONFIG_LEDS_TRIGGERS is not set -# CONFIG_ACCESSIBILITY is not set -# CONFIG_INFINIBAND is not set -CONFIG_EDAC_ATOMIC_SCRUB=y -CONFIG_EDAC_SUPPORT=y -CONFIG_RTC_LIB=y -# CONFIG_RTC_CLASS is not set -# CONFIG_DMADEVICES is not set - -# -# DMABUF options -# -# CONFIG_SYNC_FILE is not set -# end of DMABUF options - -# CONFIG_AUXDISPLAY is not set -# CONFIG_UIO is not set -# CONFIG_VIRT_DRIVERS is not set -# CONFIG_VIRTIO_MENU is not set - -# -# Microsoft Hyper-V guest support -# -# end of Microsoft Hyper-V guest support - -# CONFIG_GREYBUS is not set -CONFIG_STAGING=y -# CONFIG_COMEDI is not set -CONFIG_OCTEON_ETHERNET=y -CONFIG_OCTEON_USB=y - -# -# Speakup console speech -# -# end of Speakup console speech - -# CONFIG_STAGING_MEDIA is not set - -# -# Android -# -# end of Android - -# CONFIG_LTE_GDM724X is not set -# CONFIG_GS_FPGABOOT is not set -# CONFIG_UNISYSSPAR is not set -# CONFIG_MOST is not set -# CONFIG_PI433 is not set - -# -# Gasket devices -# -# end of Gasket devices - -# CONFIG_XIL_AXIS_FIFO is not set -# CONFIG_FIELDBUS_DEV is not set -# CONFIG_USB_WUSB_CBAF is not set -# CONFIG_UWB is not set -# CONFIG_EXFAT_FS is not set -CONFIG_MIPS_PLATFORM_DEVICES=y -# CONFIG_GOLDFISH is not set -# CONFIG_HWSPINLOCK is not set - -# -# Clock Source drivers -# -# end of Clock Source drivers - -# CONFIG_MAILBOX is not set -# CONFIG_IOMMU_SUPPORT is not set - -# -# Remoteproc drivers -# -# CONFIG_REMOTEPROC is not set -# end of Remoteproc drivers - -# -# Rpmsg drivers -# -# CONFIG_RPMSG_VIRTIO is not set -# end of Rpmsg drivers - -# CONFIG_SOUNDWIRE is not set - -# -# SOC (System On Chip) specific Drivers -# - -# -# Amlogic SoC drivers -# -# end of Amlogic SoC drivers - -# -# Aspeed SoC drivers -# -# end of Aspeed SoC drivers - -# -# Broadcom SoC drivers -# -# end of Broadcom SoC drivers - -# -# NXP/Freescale QorIQ SoC drivers -# -# end of NXP/Freescale QorIQ SoC drivers - -# -# i.MX SoC drivers -# -# end of i.MX SoC drivers - -# -# Qualcomm SoC drivers -# -# end of Qualcomm SoC drivers - -# CONFIG_SOC_TI is not set - -# -# Xilinx SoC drivers -# -# CONFIG_XILINX_VCU is not set -# end of Xilinx SoC drivers -# end of SOC (System On Chip) specific Drivers - -# CONFIG_PM_DEVFREQ is not set -# CONFIG_EXTCON is not set -# CONFIG_MEMORY is not set -# CONFIG_IIO is not set -# CONFIG_PWM is not set - -# -# IRQ chip support -# -CONFIG_IRQCHIP=y -# CONFIG_AL_FIC is not set -# CONFIG_INGENIC_TCU_IRQ is not set -# end of IRQ chip support - -# CONFIG_IPACK_BUS is not set -# CONFIG_RESET_CONTROLLER is not set - -# -# PHY Subsystem -# -# CONFIG_GENERIC_PHY is not set -# CONFIG_BCM_KONA_USB2_PHY is not set -# CONFIG_PHY_CADENCE_DP is not set -# CONFIG_PHY_CADENCE_DPHY is not set -# CONFIG_PHY_FSL_IMX8MQ_USB is not set -# CONFIG_PHY_MIXEL_MIPI_DPHY is not set -# CONFIG_PHY_PXA_28NM_HSIC is not set -# CONFIG_PHY_PXA_28NM_USB2 is not set -# CONFIG_PHY_MAPPHONE_MDM6600 is not set -# end of PHY Subsystem - -# CONFIG_POWERCAP is not set -# CONFIG_MCB is not set -# CONFIG_RAS is not set - -# -# Android -# -# CONFIG_ANDROID is not set -# end of Android - -# CONFIG_LIBNVDIMM is not set -# CONFIG_DAX is not set -# CONFIG_NVMEM is not set - -# -# HW tracing support -# -# CONFIG_STM is not set -# CONFIG_INTEL_TH is not set -# end of HW tracing support - -# CONFIG_FPGA is not set -# CONFIG_FSI is not set -# CONFIG_SIOX is not set -# CONFIG_SLIMBUS is not set -# CONFIG_INTERCONNECT is not set -# CONFIG_COUNTER is not set -# end of Device Drivers - -# -# File systems -# -# CONFIG_VALIDATE_FS_PARSER is not set -CONFIG_FS_IOMAP=y -CONFIG_EXT2_FS=y -CONFIG_EXT2_FS_XATTR=y -CONFIG_EXT2_FS_POSIX_ACL=y -CONFIG_EXT2_FS_SECURITY=y -CONFIG_EXT3_FS=y -CONFIG_EXT3_FS_POSIX_ACL=y -CONFIG_EXT3_FS_SECURITY=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y -# CONFIG_EXT4_DEBUG is not set -CONFIG_JBD2=y -# CONFIG_JBD2_DEBUG is not set -CONFIG_FS_MBCACHE=y -# CONFIG_REISERFS_FS is not set -# CONFIG_JFS_FS is not set -# CONFIG_XFS_FS is not set -# CONFIG_GFS2_FS is not set -# CONFIG_OCFS2_FS is not set -# CONFIG_BTRFS_FS is not set -# CONFIG_NILFS2_FS is not set -# CONFIG_F2FS_FS is not set -CONFIG_FS_POSIX_ACL=y -CONFIG_EXPORTFS=y -# CONFIG_EXPORTFS_BLOCK_OPS is not set -CONFIG_FILE_LOCKING=y -CONFIG_MANDATORY_FILE_LOCKING=y -# CONFIG_FS_ENCRYPTION is not set -# CONFIG_FS_VERITY is not set -CONFIG_FSNOTIFY=y -CONFIG_DNOTIFY=y -CONFIG_INOTIFY_USER=y -# CONFIG_FANOTIFY is not set -# CONFIG_QUOTA is not set -CONFIG_AUTOFS4_FS=y -CONFIG_AUTOFS_FS=y -# CONFIG_FUSE_FS is not set -CONFIG_OVERLAY_FS=y -# CONFIG_OVERLAY_FS_REDIRECT_DIR is not set -# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set -# CONFIG_OVERLAY_FS_INDEX is not set -# CONFIG_OVERLAY_FS_XINO_AUTO is not set -# CONFIG_OVERLAY_FS_METACOPY is not set - -# -# Caches -# -# CONFIG_FSCACHE is not set -# end of Caches - -# -# CD-ROM/DVD Filesystems -# -# CONFIG_ISO9660_FS is not set -# CONFIG_UDF_FS is not set -# end of CD-ROM/DVD Filesystems - -# -# DOS/FAT/NT Filesystems -# -CONFIG_FAT_FS=y -# CONFIG_MSDOS_FS is not set -CONFIG_VFAT_FS=y -CONFIG_FAT_DEFAULT_CODEPAGE=437 -CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" -# CONFIG_FAT_DEFAULT_UTF8 is not set -# CONFIG_NTFS_FS is not set -# end of DOS/FAT/NT Filesystems - -# -# Pseudo filesystems -# -CONFIG_PROC_FS=y -CONFIG_PROC_KCORE=y -CONFIG_PROC_SYSCTL=y -CONFIG_PROC_PAGE_MONITOR=y -# CONFIG_PROC_CHILDREN is not set -CONFIG_KERNFS=y -CONFIG_SYSFS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_TMPFS_XATTR=y -CONFIG_HUGETLBFS=y -CONFIG_HUGETLB_PAGE=y -CONFIG_MEMFD_CREATE=y -CONFIG_CONFIGFS_FS=m -# end of Pseudo filesystems - -CONFIG_MISC_FILESYSTEMS=y -# CONFIG_ORANGEFS_FS is not set -# CONFIG_ADFS_FS is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set -# CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BFS_FS is not set -# CONFIG_EFS_FS is not set -# CONFIG_JFFS2_FS is not set -# CONFIG_CRAMFS is not set -CONFIG_SQUASHFS=y -CONFIG_SQUASHFS_FILE_CACHE=y -# CONFIG_SQUASHFS_FILE_DIRECT is not set -CONFIG_SQUASHFS_DECOMP_SINGLE=y -# CONFIG_SQUASHFS_DECOMP_MULTI is not set -# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set -CONFIG_SQUASHFS_XATTR=y -CONFIG_SQUASHFS_ZLIB=y -# CONFIG_SQUASHFS_LZ4 is not set -CONFIG_SQUASHFS_LZO=y -CONFIG_SQUASHFS_XZ=y -# CONFIG_SQUASHFS_ZSTD is not set -# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set -# CONFIG_SQUASHFS_EMBEDDED is not set -CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 -# CONFIG_VXFS_FS is not set -# CONFIG_MINIX_FS is not set -# CONFIG_OMFS_FS is not set -# CONFIG_HPFS_FS is not set -# CONFIG_QNX4FS_FS is not set -# CONFIG_QNX6FS_FS is not set -# CONFIG_ROMFS_FS is not set -# CONFIG_PSTORE is not set -# CONFIG_SYSV_FS is not set -# CONFIG_UFS_FS is not set -# CONFIG_EROFS_FS is not set -# CONFIG_NETWORK_FILESYSTEMS is not set -CONFIG_NLS=y -CONFIG_NLS_DEFAULT="iso8859-1" -CONFIG_NLS_CODEPAGE_437=y -# CONFIG_NLS_CODEPAGE_737 is not set -# CONFIG_NLS_CODEPAGE_775 is not set -# CONFIG_NLS_CODEPAGE_850 is not set -# CONFIG_NLS_CODEPAGE_852 is not set -# CONFIG_NLS_CODEPAGE_855 is not set -# CONFIG_NLS_CODEPAGE_857 is not set -# CONFIG_NLS_CODEPAGE_860 is not set -# CONFIG_NLS_CODEPAGE_861 is not set -# CONFIG_NLS_CODEPAGE_862 is not set -# CONFIG_NLS_CODEPAGE_863 is not set -# CONFIG_NLS_CODEPAGE_864 is not set -# CONFIG_NLS_CODEPAGE_865 is not set -# CONFIG_NLS_CODEPAGE_866 is not set -# CONFIG_NLS_CODEPAGE_869 is not set -# CONFIG_NLS_CODEPAGE_936 is not set -# CONFIG_NLS_CODEPAGE_950 is not set -# CONFIG_NLS_CODEPAGE_932 is not set -# CONFIG_NLS_CODEPAGE_949 is not set -# CONFIG_NLS_CODEPAGE_874 is not set -# CONFIG_NLS_ISO8859_8 is not set -# CONFIG_NLS_CODEPAGE_1250 is not set -# CONFIG_NLS_CODEPAGE_1251 is not set -# CONFIG_NLS_ASCII is not set -CONFIG_NLS_ISO8859_1=y -# CONFIG_NLS_ISO8859_2 is not set -# CONFIG_NLS_ISO8859_3 is not set -# CONFIG_NLS_ISO8859_4 is not set -# CONFIG_NLS_ISO8859_5 is not set -# CONFIG_NLS_ISO8859_6 is not set -# CONFIG_NLS_ISO8859_7 is not set -# CONFIG_NLS_ISO8859_9 is not set -# CONFIG_NLS_ISO8859_13 is not set -# CONFIG_NLS_ISO8859_14 is not set -# CONFIG_NLS_ISO8859_15 is not set -# CONFIG_NLS_KOI8_R is not set -# CONFIG_NLS_KOI8_U is not set -# CONFIG_NLS_MAC_ROMAN is not set -# CONFIG_NLS_MAC_CELTIC is not set -# CONFIG_NLS_MAC_CENTEURO is not set -# CONFIG_NLS_MAC_CROATIAN is not set -# CONFIG_NLS_MAC_CYRILLIC is not set -# CONFIG_NLS_MAC_GAELIC is not set -# CONFIG_NLS_MAC_GREEK is not set -# CONFIG_NLS_MAC_ICELAND is not set -# CONFIG_NLS_MAC_INUIT is not set -# CONFIG_NLS_MAC_ROMANIAN is not set -# CONFIG_NLS_MAC_TURKISH is not set -# CONFIG_NLS_UTF8 is not set -# CONFIG_DLM is not set -# CONFIG_UNICODE is not set -# end of File systems - -# -# Security options -# -# CONFIG_KEYS is not set -# CONFIG_SECURITY_DMESG_RESTRICT is not set -CONFIG_SECURITY=y -# CONFIG_SECURITYFS is not set -CONFIG_SECURITY_NETWORK=y -CONFIG_SECURITY_NETWORK_XFRM=y -# CONFIG_SECURITY_PATH is not set -CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y -# CONFIG_HARDENED_USERCOPY is not set -# CONFIG_STATIC_USERMODEHELPER is not set -# CONFIG_SECURITY_SMACK is not set -# CONFIG_SECURITY_TOMOYO is not set -# CONFIG_SECURITY_APPARMOR is not set -# CONFIG_SECURITY_LOADPIN is not set -# CONFIG_SECURITY_YAMA is not set -# CONFIG_SECURITY_SAFESETID is not set -# CONFIG_SECURITY_LOCKDOWN_LSM is not set -CONFIG_INTEGRITY=y -# CONFIG_INTEGRITY_SIGNATURE is not set -# CONFIG_IMA is not set -# CONFIG_EVM is not set -CONFIG_DEFAULT_SECURITY_DAC=y -CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity" - -# -# Kernel hardening options -# - -# -# Memory initialization -# -CONFIG_INIT_STACK_NONE=y -# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set -# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set -# end of Memory initialization -# end of Kernel hardening options -# end of Security options - -CONFIG_CRYPTO=y - -# -# Crypto core or helper -# -CONFIG_CRYPTO_ALGAPI=y -CONFIG_CRYPTO_ALGAPI2=y -CONFIG_CRYPTO_AEAD=m -CONFIG_CRYPTO_AEAD2=y -CONFIG_CRYPTO_BLKCIPHER=y -CONFIG_CRYPTO_BLKCIPHER2=y -CONFIG_CRYPTO_HASH=y -CONFIG_CRYPTO_HASH2=y -CONFIG_CRYPTO_RNG=m -CONFIG_CRYPTO_RNG2=y -CONFIG_CRYPTO_RNG_DEFAULT=m -CONFIG_CRYPTO_AKCIPHER2=y -CONFIG_CRYPTO_KPP2=y -CONFIG_CRYPTO_ACOMP2=y -CONFIG_CRYPTO_MANAGER=y -CONFIG_CRYPTO_MANAGER2=y -# CONFIG_CRYPTO_USER is not set -CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y -CONFIG_CRYPTO_GF128MUL=m -CONFIG_CRYPTO_NULL=m -CONFIG_CRYPTO_NULL2=y -# CONFIG_CRYPTO_PCRYPT is not set -# CONFIG_CRYPTO_CRYPTD is not set -CONFIG_CRYPTO_AUTHENC=m -# CONFIG_CRYPTO_TEST is not set - -# -# Public-key cryptography -# -# CONFIG_CRYPTO_RSA is not set -# CONFIG_CRYPTO_DH is not set -# CONFIG_CRYPTO_ECDH is not set -# CONFIG_CRYPTO_ECRDSA is not set - -# -# Authenticated Encryption with Associated Data -# -# CONFIG_CRYPTO_CCM is not set -CONFIG_CRYPTO_GCM=m -# CONFIG_CRYPTO_CHACHA20POLY1305 is not set -# CONFIG_CRYPTO_AEGIS128 is not set -CONFIG_CRYPTO_SEQIV=m -CONFIG_CRYPTO_ECHAINIV=m - -# -# Block modes -# -CONFIG_CRYPTO_CBC=y -# CONFIG_CRYPTO_CFB is not set -CONFIG_CRYPTO_CTR=m -# CONFIG_CRYPTO_CTS is not set -CONFIG_CRYPTO_ECB=y -# CONFIG_CRYPTO_LRW is not set -# CONFIG_CRYPTO_OFB is not set -# CONFIG_CRYPTO_PCBC is not set -# CONFIG_CRYPTO_XTS is not set -# CONFIG_CRYPTO_KEYWRAP is not set -# CONFIG_CRYPTO_ADIANTUM is not set -# CONFIG_CRYPTO_ESSIV is not set - -# -# Hash modes -# -# CONFIG_CRYPTO_CMAC is not set -CONFIG_CRYPTO_HMAC=y -# CONFIG_CRYPTO_XCBC is not set -# CONFIG_CRYPTO_VMAC is not set - -# -# Digest -# -CONFIG_CRYPTO_CRC32C=y -# CONFIG_CRYPTO_CRC32 is not set -# CONFIG_CRYPTO_XXHASH is not set -# CONFIG_CRYPTO_CRCT10DIF is not set -CONFIG_CRYPTO_GHASH=m -# CONFIG_CRYPTO_POLY1305 is not set -# CONFIG_CRYPTO_MD4 is not set -CONFIG_CRYPTO_MD5=y -# CONFIG_CRYPTO_MD5_OCTEON is not set -# CONFIG_CRYPTO_MICHAEL_MIC is not set -# CONFIG_CRYPTO_RMD128 is not set -# CONFIG_CRYPTO_RMD160 is not set -# CONFIG_CRYPTO_RMD256 is not set -# CONFIG_CRYPTO_RMD320 is not set -CONFIG_CRYPTO_SHA1=m -# CONFIG_CRYPTO_SHA1_OCTEON is not set -CONFIG_CRYPTO_LIB_SHA256=m -CONFIG_CRYPTO_SHA256=m -# CONFIG_CRYPTO_SHA256_OCTEON is not set -CONFIG_CRYPTO_SHA512=m -# CONFIG_CRYPTO_SHA512_OCTEON is not set -# CONFIG_CRYPTO_SHA3 is not set -# CONFIG_CRYPTO_SM3 is not set -# CONFIG_CRYPTO_STREEBOG is not set -# CONFIG_CRYPTO_TGR192 is not set -# CONFIG_CRYPTO_WP512 is not set - -# -# Ciphers -# -CONFIG_CRYPTO_LIB_AES=y -CONFIG_CRYPTO_AES=y -# CONFIG_CRYPTO_AES_TI is not set -# CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_LIB_ARC4=m -CONFIG_CRYPTO_ARC4=m -# CONFIG_CRYPTO_BLOWFISH is not set -# CONFIG_CRYPTO_CAMELLIA is not set -# CONFIG_CRYPTO_CAST5 is not set -# CONFIG_CRYPTO_CAST6 is not set -CONFIG_CRYPTO_LIB_DES=y -CONFIG_CRYPTO_DES=y -# CONFIG_CRYPTO_FCRYPT is not set -# CONFIG_CRYPTO_KHAZAD is not set -# CONFIG_CRYPTO_SALSA20 is not set -# CONFIG_CRYPTO_CHACHA20 is not set -# CONFIG_CRYPTO_SEED is not set -# CONFIG_CRYPTO_SERPENT is not set -# CONFIG_CRYPTO_SM4 is not set -# CONFIG_CRYPTO_TEA is not set -# CONFIG_CRYPTO_TWOFISH is not set - -# -# Compression -# -CONFIG_CRYPTO_DEFLATE=m -# CONFIG_CRYPTO_LZO is not set -# CONFIG_CRYPTO_842 is not set -# CONFIG_CRYPTO_LZ4 is not set -# CONFIG_CRYPTO_LZ4HC is not set -# CONFIG_CRYPTO_ZSTD is not set - -# -# Random Number Generation -# -CONFIG_CRYPTO_ANSI_CPRNG=m -CONFIG_CRYPTO_DRBG_MENU=m -CONFIG_CRYPTO_DRBG_HMAC=y -# CONFIG_CRYPTO_DRBG_HASH is not set -# CONFIG_CRYPTO_DRBG_CTR is not set -CONFIG_CRYPTO_DRBG=m -CONFIG_CRYPTO_JITTERENTROPY=m -CONFIG_CRYPTO_USER_API=m -CONFIG_CRYPTO_USER_API_HASH=m -# CONFIG_CRYPTO_USER_API_SKCIPHER is not set -# CONFIG_CRYPTO_USER_API_RNG is not set -# CONFIG_CRYPTO_USER_API_AEAD is not set -CONFIG_CRYPTO_HW=y -# CONFIG_CRYPTO_DEV_ATMEL_ECC is not set -# CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set -# CONFIG_CRYPTO_DEV_IMGTEC_HASH is not set -# CONFIG_CRYPTO_DEV_SAFEXCEL is not set -# CONFIG_CRYPTO_DEV_CCREE is not set - -# -# Certificates for signature checking -# -# end of Certificates for signature checking - -# -# Library routines -# -# CONFIG_PACKING is not set -CONFIG_BITREVERSE=y -CONFIG_GENERIC_NET_UTILS=y -# CONFIG_CORDIC is not set -CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y -CONFIG_GENERIC_PCI_IOMAP=y -CONFIG_GENERIC_IOMAP=y -CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y -CONFIG_CRC_CCITT=m -CONFIG_CRC16=y -# CONFIG_CRC_T10DIF is not set -# CONFIG_CRC_ITU_T is not set -CONFIG_CRC32=y -# CONFIG_CRC32_SELFTEST is not set -CONFIG_CRC32_SLICEBY8=y -# CONFIG_CRC32_SLICEBY4 is not set -# CONFIG_CRC32_SARWATE is not set -# CONFIG_CRC32_BIT is not set -# CONFIG_CRC64 is not set -# CONFIG_CRC4 is not set -# CONFIG_CRC7 is not set -CONFIG_LIBCRC32C=m -# CONFIG_CRC8 is not set -# CONFIG_RANDOM32_SELFTEST is not set -CONFIG_ZLIB_INFLATE=y -CONFIG_ZLIB_DEFLATE=m -CONFIG_LZO_DECOMPRESS=y -CONFIG_XZ_DEC=y -# CONFIG_XZ_DEC_X86 is not set -# CONFIG_XZ_DEC_POWERPC is not set -# CONFIG_XZ_DEC_IA64 is not set -# CONFIG_XZ_DEC_ARM is not set -# CONFIG_XZ_DEC_ARMTHUMB is not set -# CONFIG_XZ_DEC_SPARC is not set -# CONFIG_XZ_DEC_TEST is not set -CONFIG_GENERIC_ALLOCATOR=y -CONFIG_TEXTSEARCH=y -CONFIG_TEXTSEARCH_KMP=m -CONFIG_TEXTSEARCH_BM=m -CONFIG_TEXTSEARCH_FSM=m -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT_MAP=y -CONFIG_HAS_DMA=y -CONFIG_NEED_DMA_MAP_STATE=y -CONFIG_ARCH_DMA_ADDR_T_64BIT=y -CONFIG_DMA_DECLARE_COHERENT=y -CONFIG_SWIOTLB=y -# CONFIG_DMA_API_DEBUG is not set -CONFIG_SGL_ALLOC=y -CONFIG_CPU_RMAP=y -CONFIG_DQL=y -CONFIG_NLATTR=y -# CONFIG_IRQ_POLL is not set -CONFIG_LIBFDT=y -CONFIG_HAVE_GENERIC_VDSO=y -CONFIG_GENERIC_GETTIMEOFDAY=y -CONFIG_FONT_SUPPORT=y -CONFIG_FONT_8x16=y -CONFIG_FONT_AUTOSELECT=y -CONFIG_SG_POOL=y -CONFIG_SBITMAP=y -# CONFIG_STRING_SELFTEST is not set -# end of Library routines - -CONFIG_GENERIC_LIB_ASHLDI3=y -CONFIG_GENERIC_LIB_ASHRDI3=y -CONFIG_GENERIC_LIB_LSHRDI3=y -CONFIG_GENERIC_LIB_CMPDI2=y -CONFIG_GENERIC_LIB_UCMPDI2=y - -# -# Kernel hacking -# - -# -# printk and dmesg options -# -CONFIG_PRINTK_TIME=y -# CONFIG_PRINTK_CALLER is not set -CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 -CONFIG_CONSOLE_LOGLEVEL_QUIET=4 -CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 -# CONFIG_BOOT_PRINTK_DELAY is not set -# end of printk and dmesg options - -# -# Compile-time checks and compiler options -# -# CONFIG_DEBUG_INFO is not set -CONFIG_ENABLE_MUST_CHECK=y -CONFIG_FRAME_WARN=2048 -# CONFIG_STRIP_ASM_SYMS is not set -# CONFIG_READABLE_ASM is not set -# CONFIG_DEBUG_FS is not set -# CONFIG_HEADERS_INSTALL is not set -CONFIG_OPTIMIZE_INLINING=y -# CONFIG_DEBUG_SECTION_MISMATCH is not set -CONFIG_SECTION_MISMATCH_WARN_ONLY=y -# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set -# end of Compile-time checks and compiler options - -CONFIG_MAGIC_SYSRQ=y -CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 -CONFIG_MAGIC_SYSRQ_SERIAL=y -CONFIG_DEBUG_KERNEL=y -CONFIG_DEBUG_MISC=y - -# -# Memory Debugging -# -# CONFIG_PAGE_EXTENSION is not set -# CONFIG_DEBUG_PAGEALLOC is not set -# CONFIG_PAGE_OWNER is not set -# CONFIG_PAGE_POISONING is not set -# CONFIG_DEBUG_OBJECTS is not set -# CONFIG_DEBUG_SLAB is not set -CONFIG_HAVE_DEBUG_KMEMLEAK=y -# CONFIG_DEBUG_KMEMLEAK is not set -# CONFIG_DEBUG_STACK_USAGE is not set -# CONFIG_DEBUG_VM is not set -# CONFIG_DEBUG_MEMORY_INIT is not set -# CONFIG_DEBUG_PER_CPU_MAPS is not set -CONFIG_HAVE_DEBUG_STACKOVERFLOW=y -# CONFIG_DEBUG_STACKOVERFLOW is not set -CONFIG_CC_HAS_KASAN_GENERIC=y -CONFIG_KASAN_STACK=1 -# end of Memory Debugging - -CONFIG_CC_HAS_SANCOV_TRACE_PC=y -# CONFIG_DEBUG_SHIRQ is not set - -# -# Debug Lockups and Hangs -# -# CONFIG_SOFTLOCKUP_DETECTOR is not set -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 -CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y -CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=1 -# CONFIG_WQ_WATCHDOG is not set -# end of Debug Lockups and Hangs - -# CONFIG_PANIC_ON_OOPS is not set -CONFIG_PANIC_ON_OOPS_VALUE=0 -CONFIG_PANIC_TIMEOUT=0 -# CONFIG_SCHED_DEBUG is not set -# CONFIG_SCHEDSTATS is not set -# CONFIG_SCHED_STACK_END_CHECK is not set -# CONFIG_DEBUG_TIMEKEEPING is not set - -# -# Lock Debugging (spinlocks, mutexes, etc...) -# -CONFIG_LOCK_DEBUGGING_SUPPORT=y -# CONFIG_PROVE_LOCKING is not set -# CONFIG_LOCK_STAT is not set -# CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set -# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set -# CONFIG_DEBUG_RWSEMS is not set -# CONFIG_DEBUG_LOCK_ALLOC is not set -# CONFIG_DEBUG_ATOMIC_SLEEP is not set -# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set -# CONFIG_LOCK_TORTURE_TEST is not set -# CONFIG_WW_MUTEX_SELFTEST is not set -# end of Lock Debugging (spinlocks, mutexes, etc...) - -# CONFIG_STACKTRACE is not set -# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set -# CONFIG_DEBUG_KOBJECT is not set -# CONFIG_DEBUG_LIST is not set -# CONFIG_DEBUG_PLIST is not set -# CONFIG_DEBUG_SG is not set -# CONFIG_DEBUG_NOTIFIERS is not set -# CONFIG_DEBUG_CREDENTIALS is not set - -# -# RCU Debugging -# -# CONFIG_RCU_PERF_TEST is not set -# CONFIG_RCU_TORTURE_TEST is not set -CONFIG_RCU_CPU_STALL_TIMEOUT=60 -# CONFIG_RCU_TRACE is not set -# CONFIG_RCU_EQS_DEBUG is not set -# end of RCU Debugging - -# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set -# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set -# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set -# CONFIG_NOTIFIER_ERROR_INJECTION is not set -# CONFIG_FAULT_INJECTION is not set -# CONFIG_LATENCYTOP is not set -CONFIG_HAVE_FUNCTION_TRACER=y -CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y -CONFIG_HAVE_DYNAMIC_FTRACE=y -CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y -CONFIG_HAVE_SYSCALL_TRACEPOINTS=y -CONFIG_HAVE_C_RECORDMCOUNT=y -CONFIG_TRACING_SUPPORT=y -# CONFIG_FTRACE is not set -CONFIG_RUNTIME_TESTING_MENU=y -# CONFIG_TEST_LIST_SORT is not set -# CONFIG_TEST_SORT is not set -# CONFIG_BACKTRACE_SELF_TEST is not set -# CONFIG_RBTREE_TEST is not set -# CONFIG_REED_SOLOMON_TEST is not set -# CONFIG_INTERVAL_TREE_TEST is not set -# CONFIG_PERCPU_TEST is not set -# CONFIG_ATOMIC64_SELFTEST is not set -# CONFIG_TEST_HEXDUMP is not set -# CONFIG_TEST_STRING_HELPERS is not set -# CONFIG_TEST_STRSCPY is not set -# CONFIG_TEST_KSTRTOX is not set -# CONFIG_TEST_PRINTF is not set -# CONFIG_TEST_BITMAP is not set -# CONFIG_TEST_BITFIELD is not set -# CONFIG_TEST_UUID is not set -# CONFIG_TEST_XARRAY is not set -# CONFIG_TEST_OVERFLOW is not set -# CONFIG_TEST_RHASHTABLE is not set -# CONFIG_TEST_HASH is not set -# CONFIG_TEST_IDA is not set -# CONFIG_TEST_LKM is not set -# CONFIG_TEST_VMALLOC is not set -# CONFIG_TEST_USER_COPY is not set -# CONFIG_TEST_BPF is not set -# CONFIG_TEST_BLACKHOLE_DEV is not set -# CONFIG_FIND_BIT_BENCHMARK is not set -# CONFIG_TEST_FIRMWARE is not set -# CONFIG_TEST_SYSCTL is not set -# CONFIG_TEST_UDELAY is not set -# CONFIG_TEST_STATIC_KEYS is not set -# CONFIG_TEST_KMOD is not set -# CONFIG_TEST_MEMCAT_P is not set -# CONFIG_TEST_STACKINIT is not set -# CONFIG_TEST_MEMINIT is not set -# CONFIG_MEMTEST is not set -# CONFIG_BUG_ON_DATA_CORRUPTION is not set -# CONFIG_SAMPLES is not set -CONFIG_HAVE_ARCH_KGDB=y -# CONFIG_KGDB is not set -CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y -# CONFIG_UBSAN is not set -CONFIG_UBSAN_ALIGNMENT=y -CONFIG_TRACE_IRQFLAGS_SUPPORT=y -CONFIG_EARLY_PRINTK=y -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="rootwait rootflags=data=journal" -# CONFIG_CMDLINE_OVERRIDE is not set -# end of Kernel hacking diff --git a/unmaintained/linux-octeon/kvm-fallthrough.patch b/unmaintained/linux-octeon/kvm-fallthrough.patch deleted file mode 100644 index 6479f5f161a..00000000000 --- a/unmaintained/linux-octeon/kvm-fallthrough.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -urN linux-5.4.orig/arch/mips/kvm/emulate.c linux-5.4/arch/mips/kvm/emulate.c ---- linux-5.4.orig/arch/mips/kvm/emulate.c 2020-06-04 09:01:01.953454087 -0600 -+++ linux-5.4/arch/mips/kvm/emulate.c 2020-06-04 09:01:50.763579884 -0600 -@@ -1716,7 +1716,8 @@ - - case lwu_op: - vcpu->mmio_needed = 1; /* unsigned */ -- /* fall through */ -+ run->mmio.len = 4; -+ break; - #endif - case lw_op: - run->mmio.len = 4; diff --git a/unmaintained/linux-octeon/octeon-disable-devicetree-deprecation-warning.patch b/unmaintained/linux-octeon/octeon-disable-devicetree-deprecation-warning.patch deleted file mode 100644 index 39e55e9c43e..00000000000 --- a/unmaintained/linux-octeon/octeon-disable-devicetree-deprecation-warning.patch +++ /dev/null @@ -1,30 +0,0 @@ -Disable device tree deprecation warnings, they're burned into ROM and we -cannot do anything about them. - -diff -urN linux-5.4.orig/arch/mips/cavium-octeon/executive/cvmx-helper-board.c linux-5.4/arch/mips/cavium-octeon/executive/cvmx-helper-board.c ---- linux-5.4.orig/arch/mips/cavium-octeon/executive/cvmx-helper-board.c 2019-12-22 15:48:45.702104526 +0000 -+++ linux-5.4/arch/mips/cavium-octeon/executive/cvmx-helper-board.c 2019-12-22 15:49:50.470135827 +0000 -@@ -211,8 +211,10 @@ - { - cvmx_helper_link_info_t result; - -+#if 0 - WARN(!octeon_is_simulation(), - "Using deprecated link status - please update your DT"); -+#endif - - /* Unless we fix it later, all links are defaulted to down */ - result.u64 = 0; -diff -urN linux-5.4.orig/arch/mips/cavium-octeon/executive/cvmx-helper.c linux-5.4/arch/mips/cavium-octeon/executive/cvmx-helper.c ---- linux-5.4.orig/arch/mips/cavium-octeon/executive/cvmx-helper.c 2019-12-22 15:48:45.702104526 +0000 -+++ linux-5.4/arch/mips/cavium-octeon/executive/cvmx-helper.c 2019-12-22 15:50:37.328711499 +0000 -@@ -1100,7 +1100,9 @@ - if (index == 0) - result = __cvmx_helper_rgmii_link_get(ipd_port); - else { -+#if 0 - WARN(1, "Using deprecated link status - please update your DT"); -+#endif - result.s.full_duplex = 1; - result.s.link_up = 1; - result.s.speed = 1000; diff --git a/unmaintained/linux-octeon/octeon-rd_name.patch b/unmaintained/linux-octeon/octeon-rd_name.patch deleted file mode 100644 index 02fea130c24..00000000000 --- a/unmaintained/linux-octeon/octeon-rd_name.patch +++ /dev/null @@ -1,123 +0,0 @@ -From: David Daney <david.daney@cavium.com> - -If 'rd_name=xxx' is passed to the kernel, the named block with name -'xxx' is used for the initrd. - -Signed-off-by: David Daney <david.daney@cavium.com> -Signed-off-by: Leonid Rosenboim <lrosenboim@caviumnetworks.com> -Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com> -Signed-off-by: Ariadne Conill <ariadne@dereferenced.org> -[forward porting to 5.4] - ---- a/arch/mips/cavium-octeon/setup.c -+++ b/arch/mips/cavium-octeon/setup.c -@@ -28,6 +28,7 @@ - #include <linux/of_fdt.h> - #include <linux/libfdt.h> - #include <linux/kexec.h> -+#include <linux/initrd.h> - - #include <asm/processor.h> - #include <asm/reboot.h> -@@ -298,6 +299,9 @@ - - extern asmlinkage void handle_int(void); - -+/* If an initrd named block is specified, its name goes here. */ -+static char rd_name[64] __initdata; -+ - /** - * Return non zero if we are currently running in the Octeon simulator - * -@@ -877,6 +881,10 @@ - max_memory = 32ull << 30; - if (*p == '@') - reserve_low_mem = memparse(p + 1, &p); -+ } else if (strncmp(arg, "rd_name=", 8) == 0) { -+ strncpy(rd_name, arg + 8, sizeof(rd_name)); -+ rd_name[sizeof(rd_name) - 1] = 0; -+ goto append_arg; - #ifdef CONFIG_KEXEC - } else if (strncmp(arg, "crashkernel=", 12) == 0) { - crashk_size = memparse(arg+12, &p); -@@ -889,11 +897,15 @@ - * parse_crashkernel(arg, sysinfo->system_dram_size, - * &crashk_size, &crashk_base); - */ -+ goto append_arg; - #endif -- } else if (strlen(arcs_cmdline) + strlen(arg) + 1 < -- sizeof(arcs_cmdline) - 1) { -- strcat(arcs_cmdline, " "); -- strcat(arcs_cmdline, arg); -+ } else { -+append_arg: -+ if (strlen(arcs_cmdline) + strlen(arg) + 1 -+ < sizeof(arcs_cmdline) - 1) { -+ strcat(arcs_cmdline, " "); -+ strcat(arcs_cmdline, arg); -+ } - } - } - -@@ -978,6 +990,23 @@ - - total = 0; - crashk_end = 0; -+ -+#ifdef CONFIG_BLK_DEV_INITRD -+ -+ if (rd_name[0]) { -+ const struct cvmx_bootmem_named_block_desc *initrd_block; -+ -+ initrd_block = cvmx_bootmem_find_named_block(rd_name); -+ if (initrd_block != NULL) { -+ initrd_start = initrd_block->base_addr + PAGE_OFFSET; -+ initrd_end = initrd_start + initrd_block->size; -+ add_memory_region(initrd_block->base_addr, -+ initrd_block->size, BOOT_MEM_INIT_RAM); -+ initrd_in_reserved = 1; -+ total += initrd_block->size; -+ } -+ } -+#endif - - /* - * The Mips memory init uses the first memory location for ---- a/arch/mips/include/asm/bootinfo.h -+++ b/arch/mips/include/asm/bootinfo.h -@@ -167,4 +167,8 @@ - #endif /* CONFIG_RELOCATABLE */ - #endif /* CONFIG_USE_OF */ - -+#ifdef CONFIG_BLK_DEV_INITRD -+extern bool initrd_in_reserved; -+#endif -+ - #endif /* _ASM_BOOTINFO_H */ ---- a/arch/mips/kernel/setup.c -+++ b/arch/mips/kernel/setup.c -@@ -63,6 +63,10 @@ - - EXPORT_SYMBOL(mips_machtype); - -+#ifdef CONFIG_BLK_DEV_INITRD -+bool initrd_in_reserved; -+#endif -+ - static char __initdata command_line[COMMAND_LINE_SIZE]; - char __initdata arcs_cmdline[COMMAND_LINE_SIZE]; - -@@ -310,6 +314,12 @@ - * will reserve the area used for the initrd. - */ - init_initrd(); -+ -+#ifdef CONFIG_BLK_DEV_INITRD -+ if (initrd_in_reserved) { -+ pr_info("Initramfs image loaded from rd_name= parameter.\n"); -+ } -+#endif - - /* Reserve memory occupied by kernel. */ - memblock_reserve(__pa_symbol(&_text), diff --git a/unmaintained/linux-octeon/ubnt-e200-sdio-underclock.patch b/unmaintained/linux-octeon/ubnt-e200-sdio-underclock.patch deleted file mode 100644 index 423917ac52e..00000000000 --- a/unmaintained/linux-octeon/ubnt-e200-sdio-underclock.patch +++ /dev/null @@ -1,78 +0,0 @@ -Underclock the SDIO bus on E200 devices. - -Signed-off-by: Ariadne Conill <ariadne@dereferenced.org> -Upstream-status: Not yet submitted - ---- a/arch/mips/cavium-octeon/octeon-platform.c -+++ b/arch/mips/cavium-octeon/octeon-platform.c -@@ -760,6 +760,28 @@ - } - } - -+int __init alpine_prune_device_tree(void) -+{ -+ if (fdt_check_header(initial_boot_params)) -+ panic("Corrupt Device Tree."); -+ -+ /* UBNT underclocks the SDIO bus on E200. We do the same here. */ -+ if (octeon_bootinfo->board_type == CVMX_BOARD_TYPE_UBNT_E200 || octeon_bootinfo->board_type == CVMX_BOARD_TYPE_UBNT_E220) { -+ int mmc_slot0; -+ u32 freq = 26000000; -+ -+ pr_info("UBNT E200 board detected, underclocking SDIO bus.\n"); -+ -+ mmc_slot0 = fdt_path_offset(initial_boot_params, "/soc/mmc/mmc-slot@0"); -+ if (mmc_slot0 > 0) { -+ fdt_setprop_inplace_cell(initial_boot_params, mmc_slot0, -+ "spi-max-frequency", freq); -+ } -+ } -+ -+ return 0; -+} -+ - int __init octeon_prune_device_tree(void) - { - int i, max_port, uart_mask; ---- a/arch/mips/cavium-octeon/setup.c -+++ b/arch/mips/cavium-octeon/setup.c -@@ -1184,6 +1184,7 @@ - } - - void __init octeon_fill_mac_addresses(void); -+int alpine_prune_device_tree(void); - - void __init device_tree_init(void) - { -@@ -1219,6 +1220,9 @@ - octeon_prune_device_tree(); - pr_info("Using internal Device Tree.\n"); - } -+ -+ alpine_prune_device_tree(); -+ - if (fill_mac) - octeon_fill_mac_addresses(); - unflatten_and_copy_device_tree(); ---- a/arch/mips/include/asm/octeon/cvmx-bootinfo.h -+++ b/arch/mips/include/asm/octeon/cvmx-bootinfo.h -@@ -295,6 +295,9 @@ - */ - CVMX_BOARD_TYPE_CUST_PRIVATE_MIN = 20001, - CVMX_BOARD_TYPE_UBNT_E100 = 20002, -+ CVMX_BOARD_TYPE_UBNT_E200 = 20003, -+ CVMX_BOARD_TYPE_UBNT_E120 = 20004, -+ CVMX_BOARD_TYPE_UBNT_E220 = 20005, - CVMX_BOARD_TYPE_CUST_DSR1000N = 20006, - CVMX_BOARD_TYPE_KONTRON_S1901 = 21901, - CVMX_BOARD_TYPE_CUST_PRIVATE_MAX = 30000, -@@ -396,6 +399,9 @@ - /* Customer private range */ - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MIN) - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E100) -+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E200) -+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E120) -+ ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_UBNT_E220) - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_DSR1000N) - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_KONTRON_S1901) - ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX) diff --git a/unmaintained/lite-editor-colors/APKBUILD b/unmaintained/lite-editor-colors/APKBUILD deleted file mode 100644 index 4da584db750..00000000000 --- a/unmaintained/lite-editor-colors/APKBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: -pkgname=lite-editor-colors -pkgver=0_git20200506 -_commit=f968093aace093e04bb97e142596bf629e8e9b22 -pkgrel=0 -pkgdesc="Colors themes for the lite text editor" -url="https://github.com/rxi/lite-colors" -arch="noarch" -license="MIT" -depends="lite-editor" -options="!check" # no tests -source="$pkgname-$pkgver.tar.gz::https://github.com/rxi/lite-colors/archive/$_commit.tar.gz" -builddir="$srcdir/lite-colors-$_commit" - -package() { - mkdir -p "$pkgdir"/usr/share/lite-editor/data - cp -r colors "$pkgdir"/usr/share/lite-editor/data -} - -sha512sums="985c4ac5a957552b8132dac00291a267a40766ea63812b92f9d052841e7c3f0bcae8e643eb62d46e525f34643ff97eb321a82fd06543f8ce8c65749d04396b73 lite-editor-colors-0_git20200506.tar.gz" diff --git a/unmaintained/lite-editor-plugins/APKBUILD b/unmaintained/lite-editor-plugins/APKBUILD deleted file mode 100644 index 4b77d770722..00000000000 --- a/unmaintained/lite-editor-plugins/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: -pkgname=lite-editor-plugins -pkgver=0_git20200510 -_commit=3a19b1791a6a143aaad789adc18a2801875e37bb -pkgrel=0 -pkgdesc="Plugins for the lite text editor" -url="https://github.com/rxi/lite-plugins" -arch="noarch" -license="MIT" -depends="lite-editor" -options="!check" # no tests -source="$pkgname-$pkgver.tar.gz::https://github.com/rxi/lite-plugins/archive/$_commit.tar.gz" -builddir="$srcdir/lite-plugins-$_commit" - -# List of plugins. Installing a plugin means it's always enabled: -# https://github.com/rxi/lite/issues/60 . All functional plugins are -# listed here, language syntax plugins are always installed. -_plugins=" - autowrap - bracketmatch - colorpreview - detectindent - drawwhitespace - eval - gitstatus - gofmt - hidestatus - indentguide - lfautoinsert - lineguide - macmodkeys - selectionhighlight - sort - spellcheck - titleize - togglesnakecamel - unboundedscroll - " -for _x in $_plugins; do - subpackages="$subpackages $pkgname-$_x:_package_plugin" -done - -package() { - mkdir -p "$pkgdir"/usr/share/lite-editor/data - cp -r plugins "$pkgdir"/usr/share/lite-editor/data -} - -_package_plugin() { - local plugin="${subpkgname#$pkgname-}" - - pkgdesc="$pkgdesc ($plugin plugin)" - - depends="$pkgname" - - mkdir -p "$subpkgdir"/usr/share/lite-editor/data/plugins - mv "$pkgdir"/usr/share/lite-editor/data/plugins/$plugin.lua "$subpkgdir"/usr/share/lite-editor/data/plugins -} - -sha512sums="026fd478d2e04af0616271f5e175cdd167b3747e9339ec4f87182509dccfdd37f3ed67256e713b251a6896c7bbfb7731ff72b5b872dc0eabcb32b28e8d86f171 lite-editor-plugins-0_git20200510.tar.gz" diff --git a/unmaintained/lite-editor/APKBUILD b/unmaintained/lite-editor/APKBUILD deleted file mode 100644 index b55ecbd42c7..00000000000 --- a/unmaintained/lite-editor/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: -pkgname=lite-editor -pkgver=1.06 -pkgrel=0 -pkgdesc="A lightweight text editor written in Lua" -url="https://github.com/rxi/lite" -arch="all" -license="MIT" -depends="lua" -makedepends="bash sdl2-dev" -options="!check" # no tests -source="$pkgname-$pkgver.tar.gz::https://github.com/rxi/lite/archive/v$pkgver/v$pkgver.tar.gz - dont-assume-local-project.patch" -builddir="$srcdir/lite-$pkgver" - -build() { - ./build.sh -} - -package() { - mkdir -p "$pkgdir"/usr/bin/ "$pkgdir"/usr/share/lite-editor - cp lite "$pkgdir"/usr/bin/lite - cp -r data "$pkgdir"/usr/share/lite-editor -} - -sha512sums="e0c834f9e0004d26549f91559eae9e9d4bff5b018e39d4486d82003a7247034168331fa179ad788c04c59b9510b58f051fa65eab1c54fc784d6e434bae548cf8 lite-editor-1.06.tar.gz -a8de78079bd4333827ffafed60ee6aab34b4b04dcc3fb6cef1347a4541cc892848959f8ddbbe8e6b80ecc8042c37dc1f7460083cb0c108dd733aa045937393fc dont-assume-local-project.patch" diff --git a/unmaintained/lite-editor/dont-assume-local-project.patch b/unmaintained/lite-editor/dont-assume-local-project.patch deleted file mode 100644 index 096911880af..00000000000 --- a/unmaintained/lite-editor/dont-assume-local-project.patch +++ /dev/null @@ -1,75 +0,0 @@ -Upstream: Issue opened: https://github.com/rxi/lite/issues/49 -Reason: Right now lite just assumes that the data directory will be right -next to the binary, but we want the binary in /usr/bin and the data in -/usr/share/lite-editor - -diff --git a/data/core/commands/core.lua b/data/core/commands/core.lua -index 5c9d622..568f0ef 100644 ---- a/data/core/commands/core.lua -+++ b/data/core/commands/core.lua -@@ -85,7 +85,7 @@ command.add(nil, { - end, - - ["core:open-user-module"] = function() -- core.root_view:open_doc(core.open_doc(EXEDIR .. "/data/user/init.lua")) -+ core.root_view:open_doc(core.open_doc("/usr/share/lite-editor/data/user/init.lua")) - end, - - ["core:open-project-module"] = function() -diff --git a/data/core/init.lua b/data/core/init.lua -index a25cdb5..3bea486 100644 ---- a/data/core/init.lua -+++ b/data/core/init.lua -@@ -150,7 +150,7 @@ end - - function core.load_plugins() - local no_errors = true -- local files = system.list_dir(EXEDIR .. "/data/plugins") -+ local files = system.list_dir("/usr/share/lite-editor/data/plugins") - for _, filename in ipairs(files) do - local modname = "plugins." .. filename:gsub(".lua$", "") - local ok = core.try(require, modname) -@@ -421,7 +421,7 @@ end - - function core.on_error(err) - -- write error to file -- local fp = io.open(EXEDIR .. "/error.txt", "wb") -+ local fp = io.open("/tmp/lite-editor-error.txt", "wb") - fp:write("Error: " .. tostring(err) .. "\n") - fp:write(debug.traceback(nil, 4)) - fp:close() -diff --git a/data/core/style.lua b/data/core/style.lua -index ab597c2..23b551f 100644 ---- a/data/core/style.lua -+++ b/data/core/style.lua -@@ -7,10 +7,10 @@ style.scrollbar_size = common.round(4 * SCALE) - style.caret_width = common.round(2 * SCALE) - style.tab_width = common.round(170 * SCALE) - --style.font = renderer.font.load(EXEDIR .. "/data/fonts/font.ttf", 14 * SCALE) --style.big_font = renderer.font.load(EXEDIR .. "/data/fonts/font.ttf", 34 * SCALE) --style.icon_font = renderer.font.load(EXEDIR .. "/data/fonts/icons.ttf", 14 * SCALE) --style.code_font = renderer.font.load(EXEDIR .. "/data/fonts/monospace.ttf", 13.5 * SCALE) -+style.font = renderer.font.load("/usr/share/lite-editor/data/fonts/font.ttf", 14 * SCALE) -+style.big_font = renderer.font.load("/usr/share/lite-editor/data/fonts/font.ttf", 34 * SCALE) -+style.icon_font = renderer.font.load("/usr/share/lite-editor/data/fonts/icons.ttf", 14 * SCALE) -+style.code_font = renderer.font.load("/usr/share/lite-editor/data/fonts/monospace.ttf", 13.5 * SCALE) - - style.background = { common.color "#2e2e32" } - style.background2 = { common.color "#252529" } -diff --git a/src/main.c b/src/main.c -index d282a9a..50eedb5 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -119,8 +119,8 @@ - " SCALE = tonumber(os.getenv(\"LITE_SCALE\")) or SCALE\n" - " PATHSEP = package.config:sub(1, 1)\n" - " EXEDIR = EXEFILE:match(\"^(.+)[/\\\\].*$\")\n" -- " package.path = EXEDIR .. '/data/?.lua;' .. package.path\n" -- " package.path = EXEDIR .. '/data/?/init.lua;' .. package.path\n" -+ " package.path = '/usr/share/lite-editor/data/?.lua;' .. package.path\n" -+ " package.path = '/usr/share/lite-editor/data/?/init.lua;' .. package.path\n" - " core = require('core')\n" - " core.init()\n" - " core.run()\n" - diff --git a/unmaintained/llvm10/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch b/unmaintained/llvm10/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch deleted file mode 100644 index 1bf2fbb6078..00000000000 --- a/unmaintained/llvm10/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch +++ /dev/null @@ -1,22 +0,0 @@ -From f8e83c4c7866ae830abe9bec15cfe805dd825b6e Mon Sep 17 00:00:00 2001 -From: xentec <xentec@aix0.eu> -Date: Tue, 12 Sep 2017 07:18:38 +0200 -Subject: [PATCH] Disable dynamic lib tests for musl's dlclose() is noop - ---- - unittests/Support/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt -index 641163e..4f508d9 100644 ---- a/unittests/Support/CMakeLists.txt -+++ b/unittests/Support/CMakeLists.txt -@@ -75,4 +75,4 @@ set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w) - # ManagedStatic.cpp uses <pthread>. - target_link_libraries(SupportTests LLVMTestingSupport ${LLVM_PTHREAD_LIB}) - --add_subdirectory(DynamicLibrary) -+# add_subdirectory(DynamicLibrary) --- -2.14.1 - diff --git a/unmaintained/llvm10/APKBUILD b/unmaintained/llvm10/APKBUILD deleted file mode 100644 index 517ea6b32ad..00000000000 --- a/unmaintained/llvm10/APKBUILD +++ /dev/null @@ -1,271 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Contributor: Martell Malone <martell@marinelayer.io> -# Contributor: Travis Tilley <ttilley@gmail.com> -# Contributor: Mitch Tishmack <mitch.tishmack@gmail.com> -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Contributor: Ariadne Conill <ariadne@dereferenced.org> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -_pkgname=llvm -pkgver=10.0.1 -_majorver=${pkgver%%.*} -pkgname=$_pkgname$_majorver -pkgrel=4 -pkgdesc="Low Level Virtual Machine compiler system, version $_majorver" -arch="all !riscv64" -url="https://llvm.org/" -license="Apache-2.0" -depends_dev="$pkgname=$pkgver-r$pkgrel" -makedepends_host="binutils-dev libffi-dev zlib-dev libxml2-dev" -makedepends_build="cmake chrpath python3 py3-setuptools" -# diffutils for diff: unrecognized option: strip-trailing-cr -# coreutils for 'od' binary -checkdepends="bash coreutils diffutils" -subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-test-utils:_test_utils" -source="https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/llvm-$pkgver.src.tar.xz - 0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch - fix-memory-mf_exec-on-aarch64.patch - fix-LLVMConfig-cmake-install-prefix.patch - python3-test.patch - " -builddir="$srcdir/$_pkgname-$pkgver.src" - -# If crosscompiling, we need llvm-tblgen on the build machine. -if [ -n "$BOOTSTRAP" ]; then - makedepends_build="$makedepends_build cmd:llvm-tblgen" - cmake_cross_options=" - -DCMAKE_CROSSCOMPILING=ON - -DLLVM_TABLEGEN=/usr/bin/llvm-tblgen - " -fi - -# ARM has few failures in test suite that we don't care about currently and -# also it takes forever to run them on the builder. -# MIPS as well... -case "$CARCH" in - arm*) options="$options !check";; - mips*) options="$options !check";; -esac - -# Whether is this package the default (latest) LLVM version. -_default_llvm="no" - -if [ "$_default_llvm" = yes ]; then - provides="llvm=$pkgver-r$pkgrel" - replaces="llvm" -fi - -# NOTE: It seems that there's no (sane) way how to change includedir, sharedir -# etc. separately, just the CMAKE_INSTALL_PREFIX. Standard CMake variables and -# even LLVM-specific variables, that are related to these paths, actually -# don't work (in llvm 3.7). -# -# When building a software that depends on LLVM, utility llvm-config should be -# used to discover where is LLVM installed. It provides options to print -# path of bindir, includedir, and libdir separately, but in its source, all -# these paths are actually hard-coded against INSTALL_PREFIX. We can patch it -# and move paths manually, but I'm really not sure what it may break... -# -# Also note that we should *not* add version suffix to files in llvm bindir! -# It breaks build system of some software that depends on LLVM, because they -# don't expect these files to have a sufix. -# -# So, we install all the LLVM files into /usr/lib/llvm$_majorver. -# BTW, Fedora and Debian do the same thing. -# -_prefix="usr/lib/llvm$_majorver" - -prepare() { - default_prepare - mkdir -p "$builddir"/build - - # Known broken test on musl - rm -v test/CodeGen/AArch64/wineh4.mir - case "$CARCH" in - x86) rm -v test/Object/macho-invalid.test;; - esac -} - -build() { - cd "$builddir"/build - - # Auto-detect it by guessing either. - local ffi_include_dir="$(pkg-config --cflags-only-I libffi | sed 's|^-I||g')" - case "$CARCH" in - x86) LDFLAGS="$LDFLAGS -Wl,--no-keep-memory";; # avoid exhausting memory limit - esac - - cmake -Wno-dev \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DCMAKE_C_FLAGS_MINSIZEREL_INIT="$CFLAGS" \ - -DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS" \ - -DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT="$LDFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/$_prefix \ - -DFFI_INCLUDE_DIR="$ffi_include_dir" \ - -DLLVM_BINUTILS_INCDIR=/usr/include \ - -DLLVM_BUILD_DOCS=OFF \ - -DLLVM_BUILD_EXAMPLES=OFF \ - -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \ - -DLLVM_BUILD_LLVM_DYLIB=ON \ - -DLLVM_BUILD_TESTS=ON \ - -DLLVM_DEFAULT_TARGET_TRIPLE="$CBUILD" \ - -DLLVM_ENABLE_ASSERTIONS=OFF \ - -DLLVM_ENABLE_CXX1Y=ON \ - -DLLVM_ENABLE_FFI=ON \ - -DLLVM_ENABLE_LIBCXX=OFF \ - -DLLVM_ENABLE_PIC=ON \ - -DLLVM_ENABLE_RTTI=ON \ - -DLLVM_ENABLE_SPHINX=OFF \ - -DLLVM_ENABLE_TERMINFO=ON \ - -DLLVM_ENABLE_ZLIB=ON \ - -DLLVM_HOST_TRIPLE="$CHOST" \ - -DLLVM_INCLUDE_EXAMPLES=OFF \ - -DLLVM_LINK_LLVM_DYLIB=ON \ - -DLLVM_APPEND_VC_REV=OFF \ - $cmake_cross_options \ - "$builddir" - - make llvm-tblgen - make - - python3 ../utils/lit/setup.py build -} - -check() { - cd "$builddir"/build - - make check-llvm -} - -package() { - cd "$builddir"/build - - make DESTDIR="$pkgdir" install - - cd "$pkgdir"/$_prefix - - # Remove RPATHs. - file lib/*.so bin/* \ - | awk -F: '$2~/ELF/{print $1}' \ - | xargs -r chrpath -d - - # Symlink files from /usr/lib/llvm*/bin to /usr/bin. - mkdir -p "$pkgdir"/usr/bin - local name newname path - for path in bin/*; do - name=${path##*/} - # Add version infix/suffix to the executable name. - case "$name" in - llvm-*) newname="llvm$_majorver-${name#llvm-}";; - *) newname="$name$_majorver";; - esac - # If this package provides=llvm (i.e. it's the default/latest - # llvm package), omit version infix/suffix. - if [ "$_default_llvm" = yes ]; then - newname=$name - fi - case "$name" in - FileCheck | obj2yaml | yaml2obj) continue;; - esac - ln -s ../lib/llvm$_majorver/bin/$name "$pkgdir"/usr/bin/$newname - done - - # Move /usr/lib/$pkgname/include/ into /usr/include/$pkgname/ - # and symlink it back. - mkdir "$pkgdir"/usr/include/ - mv include "$pkgdir"/usr/include/$pkgname - ln -s ../../include/$pkgname include - - # Move /usr/lib/$pkgname/lib/cmake/llvm/ into /usr/lib/cmake/$pkgname/ - # and symlink it back. - mkdir "$pkgdir"/usr/lib/cmake/ - mv lib/cmake/llvm "$pkgdir"/usr/lib/cmake/$pkgname - ln -s ../../../cmake/$pkgname lib/cmake/llvm -} - -static() { - pkgdesc="LLVM $_majorver static libraries" - _common_subpkg - - _mv "$pkgdir"/$_prefix/lib/*.a "$subpkgdir"/$_prefix/lib/ -} - -libs() { - pkgdesc="LLVM $_majorver runtime library" - local soname="libLLVM-$_majorver.so" - local soname2="libLLVM-$pkgver.so" - - mkdir -p "$subpkgdir" - cd "$subpkgdir" - - # libLLVM should be in /usr/lib. This is needed for binaries that are - # dynamically linked with libLLVM, so they can find it on default path. - _mv "$pkgdir"/$_prefix/lib/$soname usr/lib/ - ln -s $soname usr/lib/$soname2 - - # And also symlink it back to the LLVM prefix. - mkdir -p $_prefix/lib - ln -s ../../$soname $_prefix/lib/$soname - ln -s ../../$soname $_prefix/lib/$soname2 -} - -dev() { - _common_subpkg - default_dev - cd "$subpkgdir" - - _mv "$pkgdir"/$_prefix/lib $_prefix/ - _mv "$pkgdir"/$_prefix/include $_prefix/ - - _mv "$pkgdir"/$_prefix/bin/llvm-config $_prefix/bin/ - - # Move libLTO and LLVMgold back - _mv "$subpkgdir"/$_prefix/lib/libLTO.so.* \ - "$subpkgdir"/$_prefix/lib/LLVMgold* \ - "$pkgdir"/$_prefix/lib - - if [ "$_default_llvm" = yes ]; then - ln -sf llvm$_majorver usr/lib/cmake/llvm - ln -sf llvm$_majorver/lib/LLVMgold.so "$subpkgdir"/usr/lib/ - ln -sf llvm$_majorver/lib/libLTO.so "$subpkgdir"/usr/lib/ - fi -} - -_test_utils() { - pkgdesc="LLVM $_majorver utilities for executing LLVM and Clang style test suites" - depends="python3 py3-setuptools" - _common_subpkg - replaces="" - - local litver=$(python3 "$builddir"/utils/lit/setup.py --version 2>/dev/null \ - | sed 's/\.dev.*$//') - test -n "$litver" - provides="$provides lit=$litver-r$pkgrel" - - cd "$builddir"/build - - install -D -m 755 bin/count "$subpkgdir"/$_prefix/bin/count - install -D -m 755 bin/FileCheck "$subpkgdir"/$_prefix/bin/FileCheck - install -D -m 755 bin/not "$subpkgdir"/$_prefix/bin/not - - python3 ../utils/lit/setup.py install --prefix=/usr --root="$subpkgdir" - ln -s ../../../bin/lit "$subpkgdir"/$_prefix/bin/lit -} - -_common_subpkg() { - if [ "$_default_llvm" = yes ]; then - replaces="llvm${subpkgname#$pkgname}" - provides="$replaces=$pkgver-r$pkgrel" - fi -} - -_mv() { - local dest; for dest; do true; done # get last argument - mkdir -p "$dest" - mv "$@" -} - -sha512sums="cf34d037c1684d09e7e38d5fc131714eac93c78353d6186b2f806a8fb22dcae0f4748ce22d6faf178c95cfcf20bdc3fa7c5238518a154b3112781f5ab70edaa4 llvm-10.0.1.src.tar.xz -695502bd3b5454c2f5630c59a8cf5f8aeb0deac16a76a8a4df34849e1e35c12ed4234572a320fe4c7e96f974f572f429eb816c5aa3dcfb17057f550eac596495 0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch -64b9ecb246cc94ce7f617b3699b3306de0872a1a9b0ade88563330aa6f9a60742bb1d73f95743d0f033ea8b1535e2e612250c8f50bddf4419741ca18f40eca1d fix-memory-mf_exec-on-aarch64.patch -7d4825d16107e56a14b7b05be847f03d75e2e05952bea0742a1233b5b0441c9934d8058e612abb6471272884372d9bfd3348355fbd3c19cba82a554003cc3eec fix-LLVMConfig-cmake-install-prefix.patch -53cc0d13dd871e9b775bb4e7567de4f9a97d91b8246cd7ce74607fd88d6e3e2ab9455f5b4195bc7f9dbdedbc77d659d43e98ec0b7cd78cd395aaea6919510287 python3-test.patch" diff --git a/unmaintained/llvm10/fix-LLVMConfig-cmake-install-prefix.patch b/unmaintained/llvm10/fix-LLVMConfig-cmake-install-prefix.patch deleted file mode 100644 index b7e3dbe294e..00000000000 --- a/unmaintained/llvm10/fix-LLVMConfig-cmake-install-prefix.patch +++ /dev/null @@ -1,24 +0,0 @@ -Fix LLVMConfig.cmake being generated to use correct LLVM_INSTALL_PREFIX -(e.g. /usr/lib/llvm5). - -This is needed e.g. for building lldb. - ---- a/cmake/modules/CMakeLists.txt -+++ b/cmake/modules/CMakeLists.txt -@@ -75,15 +75,7 @@ - - # Generate LLVMConfig.cmake for the install tree. - set(LLVM_CONFIG_CODE " --# Compute the installation prefix from this LLVMConfig.cmake file location. --get_filename_component(LLVM_INSTALL_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)") --# Construct the proper number of get_filename_component(... PATH) --# calls to compute the installation prefix. --string(REGEX REPLACE "/" ";" _count "${LLVM_INSTALL_PACKAGE_DIR}") --foreach(p ${_count}) -- set(LLVM_CONFIG_CODE "${LLVM_CONFIG_CODE} --get_filename_component(LLVM_INSTALL_PREFIX \"\${LLVM_INSTALL_PREFIX}\" PATH)") --endforeach(p) -+set(LLVM_INSTALL_PREFIX \"${CMAKE_INSTALL_PREFIX}\")") - set(LLVM_CONFIG_INCLUDE_DIRS "\${LLVM_INSTALL_PREFIX}/include") - set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/lib\${LLVM_LIBDIR_SUFFIX}") - set(LLVM_CONFIG_CMAKE_DIR "\${LLVM_INSTALL_PREFIX}/${LLVM_INSTALL_PACKAGE_DIR}") diff --git a/unmaintained/llvm10/fix-memory-mf_exec-on-aarch64.patch b/unmaintained/llvm10/fix-memory-mf_exec-on-aarch64.patch deleted file mode 100644 index a64a317ee6c..00000000000 --- a/unmaintained/llvm10/fix-memory-mf_exec-on-aarch64.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix failures in AllocationTests/MappedMemoryTest.* on aarch64: - - Failing Tests (8): - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.AllocAndRelease/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.DuplicateNear/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.EnabledWrite/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.MultipleAllocAndRelease/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.SuccessiveNear/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.UnalignedNear/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.ZeroNear/3 - LLVM-Unit :: Support/./SupportTests/AllocationTests/MappedMemoryTest.ZeroSizeNear/3 - -Upstream-Issue: https://bugs.llvm.org/show_bug.cgi?id=14278#c10 - ---- a/lib/Support/Unix/Memory.inc -+++ b/lib/Support/Unix/Memory.inc -@@ -59,7 +59,7 @@ - return PROT_READ | PROT_WRITE | PROT_EXEC; - case llvm::sys::Memory::MF_EXEC: - #if (defined(__FreeBSD__) || defined(__POWERPC__) || defined (__ppc__) || \ -- defined(_POWER) || defined(_ARCH_PPC)) -+ defined(_POWER) || defined(_ARCH_PPC) || (defined(__linux__) && defined(__aarch64__))) - // On PowerPC, having an executable page that has no read permission - // can have unintended consequences. The function InvalidateInstruction- - // Cache uses instructions dcbf and icbi, both of which are treated by diff --git a/unmaintained/llvm10/python3-test.patch b/unmaintained/llvm10/python3-test.patch deleted file mode 100644 index 746313317e1..00000000000 --- a/unmaintained/llvm10/python3-test.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- llvm-7.0.1.src/test/BugPoint/compile-custom.ll.py.old 2014-03-13 00:10:37.000000000 +0000 -+++ llvm-7.0.1.src/test/BugPoint/compile-custom.ll.py 2019-03-10 03:48:48.600000000 +0000 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - - import sys - diff --git a/unmaintained/loki-mq/001-use-system-provided-catch2.patch b/unmaintained/loki-mq/001-use-system-provided-catch2.patch deleted file mode 100644 index bda8043eea0..00000000000 --- a/unmaintained/loki-mq/001-use-system-provided-catch2.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -1,5 +1,5 @@ - --add_subdirectory(Catch2) -+find_package(Catch2 REQUIRED) - - set(LMQ_TEST_SRC - main.cpp diff --git a/unmaintained/loki-mq/002-use-system-headers-zeromq.patch b/unmaintained/loki-mq/002-use-system-headers-zeromq.patch deleted file mode 100644 index 85cefd5541d..00000000000 --- a/unmaintained/loki-mq/002-use-system-headers-zeromq.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lokimq/lokimq.h -+++ a/lokimq/lokimq.h -@@ -44,7 +44,7 @@ - #include <atomic> - #include <cassert> - #include <cstdint> --#include "zmq.hpp" -+#include <zmq.hpp> - #include "address.h" - #include "bt_serialize.h" - #include "connections.h" diff --git a/unmaintained/loki-mq/APKBUILD b/unmaintained/loki-mq/APKBUILD deleted file mode 100644 index ff5d49bb5f7..00000000000 --- a/unmaintained/loki-mq/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Alex Denes <caskd@redxen.eu> -# Maintainer: -pkgname=loki-mq -pkgver=1.2.2 -pkgrel=1 -pkgdesc="Communications layer used for both the Loki storage server and lokid" -url="https://lokinet.org/" -arch="x86_64 x86 aarch64 armv7" # ppc64le and s390x fail check() -license="BSD-3-Clause" -makedepends="cmake catch2 libsodium-dev>=1.0.18 cppzmq zeromq-dev" -source=" - $pkgname-$pkgver.tar.gz::https://github.com/loki-project/loki-mq/archive/v$pkgver.tar.gz - 001-use-system-provided-catch2.patch - 002-use-system-headers-zeromq.patch -" -case "$CARCH" in - x86|armv7|aarch64) - # x86 and armv7 hang on a few tests - # aarch64 gives inconsistent test results - options="$options !check" - ;; -esac -subpackages="$pkgname-dev" -builddir="$srcdir/loki-mq-$pkgver" - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake -S . -B build/ \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_BUILD_TYPE=None \ - -DBUILD_SHARED_LIBS=ON \ - -DLOKIMQ_BUILD_TESTS=ON \ - -DLOKIMQ_INSTALL_CPPZMQ=OFF - make -C build -} - -check() { - make check -C build -} - -package() { - DESTDIR="$pkgdir" make install -C build -} - -sha512sums="cd43bf9b342e39f4c49196ffced3c0e94b9f46f53f367cd21337090b84224b1a83c4f850745e921424fad619bfed606cd39d521b4de1da9e3ad2e5b9e3ccda24 loki-mq-1.2.2.tar.gz -e445ed0efaffeb68fff19c0146361b9574409eb3cb24d6888a7a8062bd0ce1cdac6358fef4b130c4333db0a6b729c4a021ffd2ce4768bde0644d65f9b127d926 001-use-system-provided-catch2.patch -2858495823d9902acca09430b06303b917a1fe84819a467ae62412eab0804e2848c6487e6c59a726c7731a7f22867f7aaeaaef028cab3d2b14b5c936ce46cfeb 002-use-system-headers-zeromq.patch" diff --git a/unmaintained/loki-network/APKBUILD b/unmaintained/loki-network/APKBUILD deleted file mode 100644 index 01857fe9429..00000000000 --- a/unmaintained/loki-network/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Alex Denes <caskd@redxen.eu> -# Maintainer: -pkgname=loki-network -pkgver=0.8.2 -pkgrel=1 -pkgdesc="Lokinet is an anonymous, decentralized and IP based overlay network for the internet." -url="https://lokinet.org/" -arch="all !ppc64le !s390x !armhf !mips64" # Limited by loki-mq -license="GPL-3.0-or-later" -makedepends="cmake libuv-dev>=1.27.0 libsodium-dev>=1.0.18 unbound-dev sqlite-dev>=3 cppzmq nlohmann-json loki-mq-dev linux-headers" -source="https://github.com/loki-project/loki-network/releases/download/v$pkgver/lokinet-v$pkgver.tar.xz" -builddir="$srcdir/lokinet-v$pkgver" -case "$CARCH" in - x86_64) - # x86_64 has non-crucial tests failing - options="$options !check" - ;; -esac - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake -S . -B build/ \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_BUILD_TYPE=None \ - -DBUILD_SHARED_LIBS=ON \ - -DSUBMODULE_CHECK=OFF \ - -DWITH_SETCAP=OFF \ - -DWITH_TESTS=ON - make -C build -} - -check() { - make check -C build -} - -package() { - DESTDIR="$pkgdir" make install -C build -} - -sha512sums="0916e075cc05771cd0e4bb12c6f575daa544786c7890ca99091d8c28deac1c050c288b49039cc79164b6206f7fe374f64fa15e79f31986268ae69dfe25573d2e lokinet-v0.8.2.tar.xz" diff --git a/unmaintained/low-memory-monitor/APKBUILD b/unmaintained/low-memory-monitor/APKBUILD deleted file mode 100644 index 6197fcb7826..00000000000 --- a/unmaintained/low-memory-monitor/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: -pkgname=low-memory-monitor -pkgver=2.1 -pkgrel=1 -pkgdesc="Daemon to monitor memory usage and signal processes and the kernel" -options="!check" # No testsuite -url="https://gitlab.freedesktop.org/hadess/low-memory-monitor" -arch="all" -license="GPL-3.0-or-later" -makedepends="meson glib-dev" -subpackages="$pkgname-openrc" -source="https://gitlab.freedesktop.org/hadess/low-memory-monitor/-/archive/$pkgver/low-memory-monitor-$pkgver.tar.gz - low-memory-monitor.initd - musl.patch - " - -build() { - abuild-meson \ - -Dgtk_doc=false \ - -Dsystemdsystemunitdir=/DELETEME \ - . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output - - # Remove systemd service - rm -rf "$pkgdir"/DELETEME - - install -Dm0755 "$srcdir"/low-memory-monitor.initd "$pkgdir"/etc/init.d/low-memory-monitor -} -sha512sums="5357f31280ff2cbf649aec75d72f74ab1530fdfc3ab1aef1141fd3cf8b4f752daa992e347c588f07bdd6d91a8efeca6bfe65098ad7cd28b1e167c0e636f2cda5 low-memory-monitor-2.1.tar.gz -ca605e75884c1dc1cfbc9efcd825c58fe3e0b950b1d6ad3941b06d56621b90c495964f7c4654535cdb254ebaa23acfdfef8f3b8b904d5e0eda42160db3197627 low-memory-monitor.initd -7cd0bfa4e2b374a3b7d252a18fc83ff4ecbd52d22c40e406e10ba776daad80e7dc3d3c339b556a89a97786fe541e2aff7f32097aed5473a069612344d981ab23 musl.patch" diff --git a/unmaintained/low-memory-monitor/low-memory-monitor.initd b/unmaintained/low-memory-monitor/low-memory-monitor.initd deleted file mode 100644 index 68a914bb488..00000000000 --- a/unmaintained/low-memory-monitor/low-memory-monitor.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -supervisor=supervise-daemon - -name="Low Memory Monitor" -description="Read memory pressure information and signal user processes and kernel OOM accordingly" - -command=/usr/libexec/low-memory-monitor - -depend() { - need localmount -} - -start_pre() { - # We need /proc/pressure directory that contains information about memory - # pressure. this requires CONFIG_PSI=y, if CONFIG_PSI_DEFAULT_DISABLED is - # also used then you need to pass psi=1 on the kernel cmdline - test -d /proc/pressure -} diff --git a/unmaintained/low-memory-monitor/musl.patch b/unmaintained/low-memory-monitor/musl.patch deleted file mode 100644 index b2faac74dd6..00000000000 --- a/unmaintained/low-memory-monitor/musl.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/memory-pressure-monitor.c b/src/memory-pressure-monitor.c -index f59af0a..0863c13 100644 ---- a/src/memory-pressure-monitor.c -+++ b/src/memory-pressure-monitor.c -@@ -12,6 +12,16 @@ - #include <glib-unix.h> - #include <errno.h> - -+/* taken from glibc unistd.h and fixes musl */ -+#ifndef TEMP_FAILURE_RETRY -+#define TEMP_FAILURE_RETRY(expression) \ -+ (__extension__ \ -+ ({ long int __result; \ -+ do __result = (long int) (expression); \ -+ while (__result == -1L && errno == EINTR); \ -+ __result; })) -+#endif -+ - /* Constants */ - #define MEMORY_PRESSURE_PATH "/proc/pressure/memory" - - diff --git a/unmaintained/ltb-project-ssp/APKBUILD b/unmaintained/ltb-project-ssp/APKBUILD deleted file mode 100644 index 43c1bf09fa2..00000000000 --- a/unmaintained/ltb-project-ssp/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname="ltb-project-ssp" -_realname="ltb-project-self-service-password" -pkgver="1.3" -pkgrel=0 -pkgdesc="PHP application that allows users to change their password in an LDAP directory" -url="https://ltb-project.org/wiki/documentation/self-service-password" -arch="noarch" -license="GPL" -_php=php7 -depends="$_php ${_php}-ldap ${_php}-openssl ${_php}-sodium" -makedepends="$depends_dev" -options="!check" -source="http://ltb-project.org/archives/ltb-project-self-service-password-$pkgver.tar.gz - ltb-project-ssp-move-config-location.patch - " -builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - cd "$builddir" - mkdir -p "$pkgdir"/etc/ltb-project/ssp - mkdir -p "$pkgdir"/usr/share/webapps/ltb-project/ssp - mv conf "$pkgdir"/etc/ltb-project/ssp - cp -r * "$pkgdir"/usr/share/webapps/ltb-project/ssp -} - -sha512sums="71aec5a3673ee710d4ba4a17862c695e0775ad944d85c8e05e826774010b8e905af5ab9e75886bc8c2efb9d9372ffe00d8856024e9656e1c71a57017b0eeac6d ltb-project-self-service-password-1.3.tar.gz -52354e07d19d01066fbd95ad95cb1e42e6c2798258c34e6e90225cb60b035427fd639232e4686ba55bafd543215dded9d3428a7c0b31b548a73f3bb9d3b61ba2 ltb-project-ssp-move-config-location.patch" diff --git a/unmaintained/ltb-project-ssp/ltb-project-ssp-move-config-location.patch b/unmaintained/ltb-project-ssp/ltb-project-ssp-move-config-location.patch deleted file mode 100644 index 57171d42cb5..00000000000 --- a/unmaintained/ltb-project-ssp/ltb-project-ssp-move-config-location.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/index.php -+++ b/index.php -@@ -24,7 +24,7 @@ - #============================================================================== - # Includes - #============================================================================== --require_once("conf/config.inc.php"); -+require_once("/etc/ltb-project/ssp/conf/config.inc.php"); - require_once("lib/vendor/defuse-crypto.phar"); - require_once("lib/functions.inc.php"); - if ($use_recaptcha) { diff --git a/unmaintained/lua-crypto/APKBUILD b/unmaintained/lua-crypto/APKBUILD deleted file mode 100644 index c6bb1fdba5d..00000000000 --- a/unmaintained/lua-crypto/APKBUILD +++ /dev/null @@ -1,75 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_luaversions="5.1 5.2 5.3" -pkgname=lua-crypto -pkgver=0.3.2 -pkgrel=6 -pkgdesc="a Lua frontend to the OpenSSL cryptographic library" -url="http://mkottman.github.io/luacrypto/" -arch="all" -license="MIT" -depends= -makedepends="libressl-dev lua-dev" -install= -subpackages="$pkgname-dev $pkgname-doc" -for _v in $_luaversions; do - makedepends="$makedepends lua$_v-dev" - subpackages="$subpackages lua$_v-crypto:split_${_v/./_}" -done -source="luacrypto-$pkgver.tar.gz::https://github.com/mkottman/luacrypto/archive/$pkgver.tar.gz - lua5.1-blank-LUA_CFLAGS-fails-configure.patch" - -_builddir="$srcdir"/luacrypto-$pkgver - -prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $_luaversions; do - mkdir -p build-$i - done -} -build() { - cd "$_builddir" - for i in $_luaversions; do - msg "build for Lua $i" - cd build-$i - LUA_CFLAGS="$(pkg-config lua$i --cflags)" \ - LUA_LIBS="$(pkg-config lua$i --libs)" \ - ../configure \ - --host=$CHOST \ - --build=$CBUILD \ - --prefix=/usr \ - || return 1 - make cryptodir=/usr/lib/lua/$_luaver || return 1 - cd .. - done -} - -package() { - cd "$_builddir" - for i in $_luaversions; do - cd build-$i - make install DESTDIR="$pkgdir" cryptodir=/usr/lib/lua/$i \ - || return 1 - cd .. - done -} - -_split() { - local d= _ver=$1 - pkgdesc="$pkgdesc for Lua $_ver" - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - depends= - for d in usr/lib/lua usr/share/lua; do - if [ -d "$pkgdir"/$d/$_ver ]; then - mkdir -p "$subpkgdir"/$d - mv "$pkgdir"/$d/$_ver "$subpkgdir"/$d/ || return 1 - fi - done -} - -for _v in $_luaversions; do - eval "split_${_v/./_}() { _split $_v; }" -done - -sha512sums="4cb20d2cc348a11f140210dffb803629034c72cc7232590f4488f559d5c7233e0c41e56fcd0863959ac0b07e64c9aa79ea573e4126fdc11bc3f1b3b49d13343e luacrypto-0.3.2.tar.gz -cca8745c5b46fa8b3adc237eb1d926c008b6d03637978568537da8c505479272f2b08bbcf1b016883eb783dd88759533aae5fd14fe3d5927b36f54074afdcd34 lua5.1-blank-LUA_CFLAGS-fails-configure.patch" diff --git a/unmaintained/lua-crypto/lua5.1-blank-LUA_CFLAGS-fails-configure.patch b/unmaintained/lua-crypto/lua5.1-blank-LUA_CFLAGS-fails-configure.patch deleted file mode 100644 index a6fb53832cf..00000000000 --- a/unmaintained/lua-crypto/lua5.1-blank-LUA_CFLAGS-fails-configure.patch +++ /dev/null @@ -1,21 +0,0 @@ - ---- - configure | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure b/configure -index eb01472..970eb8d 100755 ---- a/configure -+++ b/configure -@@ -12331,6 +12331,8 @@ $as_echo_n "checking for LUA... " >&6; } - - if test -n "$LUA_CFLAGS"; then - pkg_cv_LUA_CFLAGS="$LUA_CFLAGS" -+ elif test -n "$LUA_LIBS"; then -+ pkg_cv_LUA_LIBS="$LUA_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5 --- -2.11.1 - diff --git a/unmaintained/lua-cyrus-sasl/APKBUILD b/unmaintained/lua-cyrus-sasl/APKBUILD deleted file mode 100644 index 297b5b4b4ed..00000000000 --- a/unmaintained/lua-cyrus-sasl/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: -pkgname=lua-cyrus-sasl -_realname=lua-cyrussasl -pkgver=1.0.0 -pkgrel=1 -pkgdesc="Cyrus SASL library for Lua 5.1" -url="https://github.com/JorjBauer/lua-cyrussasl" -arch="all" -license="BSD" -depends= -makedepends="cyrus-sasl-dev lua-dev wget" -install= -subpackages= -source="http://dev.alpinelinux.org/archive/lua-cyrussals/lua-cyrussasl-v1.0.0-0.tar.gz - lua-cyrussasl-v1.0.0-Makefile.patch" -#source="http://dev.alpinelinux.org/archive/${_realname}/${_realname}-v${pkgver}-0.tar.gz" - -_builddir="$srcdir"/$_realname-v$pkgver - -prepare() { - cd $_builddir - patch -p1 < "$srcdir"/lua-cyrussasl-v1.0.0-Makefile.patch -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/lib/lua/5.1 - make CPATH="$pkgdir"/usr/lib/lua/5.1 install -} - -md5sums="551c0ad88ca114c7b44c8e5c447a9c34 lua-cyrussasl-v1.0.0-0.tar.gz -fbcb022f3ce9d5679454edac3b1f8c32 lua-cyrussasl-v1.0.0-Makefile.patch" diff --git a/unmaintained/lua-cyrus-sasl/lua-cyrussasl-v1.0.0-Makefile.patch b/unmaintained/lua-cyrus-sasl/lua-cyrussasl-v1.0.0-Makefile.patch deleted file mode 100644 index 0d2c63d7122..00000000000 --- a/unmaintained/lua-cyrus-sasl/lua-cyrussasl-v1.0.0-Makefile.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -1,15 +1,15 @@ - # Linux (Debian Lenny) --#CFLAGS=-g -O2 -fpic -I/usr/include/lua5.1 --#LDFLAGS=-O -shared -fpic -lsasl2 --#LUAPATH=/usr/share/lua/5.1 --#CPATH=/usr/lib/lua/5.1 -+CFLAGS=-g -O2 -fpic -I/usr/include/lua5.1 -+LDFLAGS=-O -shared -fpic -lsasl2 -+LUAPATH=/usr/share/lua/5.1 -+CPATH=/usr/lib/lua/5.1 - - # MacOS --CFLAGS=-g -Wall -O2 --LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 --MACOSX_VERSION=10.5 --LUAPATH=/usr/local/share/lua/5.1 --CPATH=/usr/local/lib/lua/5.1 -+#CFLAGS=-g -Wall -O2 -+#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 -+#MACOSX_VERSION=10.5 -+#LUAPATH=/usr/local/share/lua/5.1 -+#CPATH=/usr/local/lib/lua/5.1 - - ######################################################### - # diff --git a/unmaintained/lua-imlib2/APKBUILD b/unmaintained/lua-imlib2/APKBUILD deleted file mode 100644 index 0e1e8155551..00000000000 --- a/unmaintained/lua-imlib2/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=lua-imlib2 -pkgver=0.1 -pkgrel=3 -pkgdesc="A LUA binding to the Imlib2 image manipulation library" -url="https://github.com/asb/lua-imlib2" -arch="all" -license="MIT" -depends= -makedepends="lua-dev imlib2-dev" -install= -source="http://luaforge.net/frs/download.php/3042/lua-imlib2-$pkgver.tar.gz" -source="$pkgname-$pkgver.tar.gz::https://github.com/asb/lua-imlib2/archive/refs/tags/$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -D limlib2.so "$pkgdir"/usr/lib/lua/5.1/limlib2.so - install -D imlib2.lua "$pkgdir"/usr/share/lua/5.1/imlib2.lua -} - -sha512sums=" -bfd013a25655320aeadf5d340d5442828d6402cc3b1283706ccb14db406f113ee0dd9a1e44ad8c2752356b9fc7a385f1f8c67a27870807a4f4c11e1deb761535 lua-imlib2-0.1.tar.gz -" diff --git a/unmaintained/lua-turboredis/APKBUILD b/unmaintained/lua-turboredis/APKBUILD deleted file mode 100644 index f797e6b4baf..00000000000 --- a/unmaintained/lua-turboredis/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: Carlo Landmeter <clandmeter@gmail.com> -pkgname=lua-turboredis -pkgver=0.1 -pkgrel=0 -pkgdesc="Redis library for Turbo" -url="http://enotodden.github.io/turboredis/" -arch="noarch" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://raw.githubusercontent.com/enotodden/turboredis/5cc67d689cb4004d1be5f0ca9fbd7e103e0f09ef/turboredis.lua" - -_builddir="$srcdir" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - install -Dm644 "$srcdir"/turboredis.lua \ - "$pkgdir"/usr/share/lua/5.1/turboredis.lua || return 1 -} -sha512sums="c18ff8df83acc85e412445a2940c444e6d6f3eb719c46b00e250a190c979b7c7ab8cf725cd0189d1cc5a4fc1d25c34af036208bb93658c0737bf5f7bce0398c3 turboredis.lua" diff --git a/unmaintained/lxappearance-obconf/APKBUILD b/unmaintained/lxappearance-obconf/APKBUILD deleted file mode 100644 index 02a3695c5f1..00000000000 --- a/unmaintained/lxappearance-obconf/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> -# Maintainer: - -pkgname=lxappearance-obconf -pkgver=0.2.0 -pkgrel=2 -pkgdesc='Plugin for LXAppearance to configure Openbox' -arch='all' -license='GPL2' -url='https://lxde.org/' -makedepends='gtk+2.0-dev lxappearance-dev openbox-dev intltool' -options='libtool' -subpackages="$pkgname-lang" -source="https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz - obconf-rrbutton.patch" - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - update_config_guess || return 1 - patch -Np1 -i ../obconf-rrbutton.patch || return 1 -} - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr --disable-static || return 1 - make || return 1 -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="8bf23c90febe6a655e0f86c80e44725d lxappearance-obconf-0.2.0.tar.gz -73cd418ff8dc68a76538fc829d6260c7 obconf-rrbutton.patch" -sha256sums="b7cfda429b0bd6ed5cca1b3ba9fe3f7bc058f978739cad9817dddd181a1d6692 lxappearance-obconf-0.2.0.tar.gz -12a93e653ba281da48d307234d6335002e3d671e1628ee2a95776e92d93ca48e obconf-rrbutton.patch" -sha512sums="51635e37a5d0e13cc6cc3ee8c7361239b7984d25233358e73684ebe475671012d698141508f373e368d999ed120ce0b8b2ba0642b20b025382b8d439b5ebe348 lxappearance-obconf-0.2.0.tar.gz -a2d25782d23fe3ef0082dfd004ad5dd4070617887569e20abd3a4c311349ab15e158db637e5924aeed092f0154bcfdb83569353d84ac57a6c1daeae8eae3fc54 obconf-rrbutton.patch" diff --git a/unmaintained/lxappearance-obconf/obconf-rrbutton.patch b/unmaintained/lxappearance-obconf/obconf-rrbutton.patch deleted file mode 100644 index 334a9db4aaf..00000000000 --- a/unmaintained/lxappearance-obconf/obconf-rrbutton.patch +++ /dev/null @@ -1,49 +0,0 @@ -commit 9cffa6a9ddfc4074f3de8d0302404d70c2818d8f -Author: Markos Chandras <hwoarang@gentoo.org> -Date: Fri Aug 5 16:24:57 2011 +0100 - - Use new RrButton structure - -diff --git a/src/preview.c b/src/preview.c -index a82cf15..320e7ac 100644 ---- a/src/preview.c -+++ b/src/preview.c -@@ -327,28 +327,28 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout, - switch (*layout) { - case 'D': - a = focus ? -- theme->a_focused_unpressed_desk : -- theme->a_unfocused_unpressed_desk; -+ theme->btn_desk->a_focused_unpressed : -+ theme->btn_desk->a_unfocused_unpressed; - break; - case 'S': - a = focus ? -- theme->a_focused_unpressed_shade : -- theme->a_unfocused_unpressed_shade; -+ theme->btn_shade->a_focused_unpressed : -+ theme->btn_shade->a_unfocused_unpressed; - break; - case 'I': - a = focus ? -- theme->a_focused_unpressed_iconify : -- theme->a_unfocused_unpressed_iconify; -+ theme->btn_iconify->a_focused_unpressed : -+ theme->btn_iconify->a_unfocused_unpressed; - break; - case 'M': - a = focus ? -- theme->a_focused_unpressed_max : -- theme->a_unfocused_unpressed_max; -+ theme->btn_max->a_focused_unpressed : -+ theme->btn_max->a_unfocused_unpressed; - break; - case 'C': - a = focus ? -- theme->a_focused_unpressed_close : -- theme->a_unfocused_unpressed_close; -+ theme->btn_close->a_focused_unpressed : -+ theme->btn_close->a_unfocused_unpressed; - break; - default: - continue; diff --git a/unmaintained/lxpanel/10-devproc-lxpanel-0.6.2.patch b/unmaintained/lxpanel/10-devproc-lxpanel-0.6.2.patch deleted file mode 100644 index 0932a4be258..00000000000 --- a/unmaintained/lxpanel/10-devproc-lxpanel-0.6.2.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/plugins/netstat/devproc.c -+++ b/plugins/netstat/devproc.c -@@ -25,15 +25,15 @@ - #include <net/if.h> - #include <net/if_arp.h> - #include <arpa/inet.h> --#include <linux/sockios.h> --#include <linux/types.h> --#include <linux/ethtool.h> - #include <iwlib.h> - #include "nsconfig.h" - #include "netstat.h" - #include "statusicon.h" - #include "devproc.h" - #include "dbg.h" -+#include <linux/sockios.h> -+#include <linux/types.h> -+#include <linux/ethtool.h> - - /* network device list */ - static void netproc_netdevlist_add(NETDEVLIST_PTR *netdev_list, diff --git a/unmaintained/lxpanel/APKBUILD b/unmaintained/lxpanel/APKBUILD deleted file mode 100644 index 3916ed09cef..00000000000 --- a/unmaintained/lxpanel/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Maintainer: - -pkgname=lxpanel -pkgver=0.9.3 -pkgrel=1 -pkgdesc='Lightweight X11 desktop panel' -arch='all' -url='https://lxde.org/' -license='GPL' -makedepends='gtk+2.0-dev alsa-lib-dev menu-cache-dev libwnck-dev - wireless-tools-dev docbook-xml docbook-xsl intltool libfm-dev - linux-headers libxml2-dev keybinder-dev' -subpackages="$pkgname-doc $pkgname-dev $pkgname-lang" -source="https://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.xz - 10-devproc-lxpanel-0.6.2.patch" - -builddir="$srcdir"/${pkgname}-${pkgver} - -build() { - cd "$builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-silent-rules - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="c6aea97f66ee1d576822fda0bf1aed3849b3c74bab856816b7d23331e48b26005f1ba12eddcc0abbf5a6f08add3cb4a0674ccd13f118cec0b6294edd6f1b2343 lxpanel-0.9.3.tar.xz -198174624d27198dc229a676d9cee1f56ee4528a5fd8dddf20ed474d3731c90e7f7ba706e3ffb8c8d0b200caece83aa0f3f365726fbf8ad6733996d2c9522914 10-devproc-lxpanel-0.6.2.patch" diff --git a/unmaintained/matterhorn/APKBUILD b/unmaintained/matterhorn/APKBUILD deleted file mode 100644 index aca5162498c..00000000000 --- a/unmaintained/matterhorn/APKBUILD +++ /dev/null @@ -1,83 +0,0 @@ -# Contributor: Julien (jvoisin) Voisin <julien.voisin@dustri.org> -# Maintainer: -pkgname=matterhorn -pkgver=50200.12.0 -pkgrel=0 -pkgdesc="feature-rich Unix terminal client for the Mattermost chat system" -url="https://github.com/matterhorn-chat/matterhorn" -arch="x86_64" # Limited by GHC / Cabal -license="BSD-3-Clause" -makedepends="cabal bash ghc zlib-dev ncurses-dev" -subpackages="$pkgname-doc" -options="net" -source=" - $pkgname-$pkgver.tar.gz::https://github.com/matterhorn-chat/matterhorn/archive/$pkgver.tar.gz - cabal.config -" -_cabal_home="$srcdir/dist" - -_cabal_update() { - msg "Freezing $pkgname dependencies" - - # Resolve deps and generate fresh cabal.config with version constraints. - HOME="$_cabal_home" cabal v1-update - ( - cd "$builddir" - HOME="$_cabal_home" cabal v1-freeze --shadow-installed-packages - - # Add version tag at the first line. - sed -i "1i--$pkgver" "cabal.config" - - mv "cabal.config" "$startdir/" - ) - - if ! abuild checksum; then - die "Failed to update checksum, run 'abuild checksum' manually" - fi -} - -prepare() { - default_prepare - - ln -sf "$srcdir/cabal.config" "$builddir/cabal.config" -} - -build() { - HOME="$_cabal_home" cabal v1-update - HOME="$_cabal_home" cabal v1-install \ - --disable-documentation \ - happy - HOME="$_cabal_home" cabal v1-install \ - --disable-documentation \ - --only-dependencies - HOME="$_cabal_home" cabal v1-configure \ - --prefix='/usr' \ - --bindir='$prefix/bin' \ - --docdir='$prefix/share/doc' \ - --datadir='$prefix/share' \ - --htmldir='$docdir/html' \ - --libdir='$prefix/lib' \ - --libsubdir="$pkgname" \ - --datasubdir="$pkgname" \ - --dynlibdir="$pkgname" \ - --sysconfdir='/etc' \ - --disable-library-profiling \ - --disable-profiling \ - --disable-shared \ - --enable-executable-stripping \ - --flags='GMP FFI standalone' - HOME="$_cabal_home" cabal v1-build -j -} - -package() { - HOME="$_cabal_home" cabal v1-copy --destdir="$pkgdir" - - rm -r "$pkgdir/usr/lib/$pkgname" - - mkdir -p "$pkgdir/usr/share/doc/$pkgname" - mv "$pkgdir/usr/share/doc/LICENSE" "$pkgdir/usr/share/doc/$pkgname" -} - -sha512sums="38b3b828dbb0807065ae9ee53c9fee2a7ae2ce3357095b36df76478b66a917de8ebae9d3eddfa7743c6fbcb9c3df2a334397db12121007d13a042393c9a30e6c matterhorn-50200.12.0.tar.gz -fd8ba9c8d4185a2ed0805b202b0d50b541cce956ee8e51943dd3c3846a5e85758d6a8dcf07a3b379587791a737a3edda85359c89ee8376ec51f56c45a07a3088 cabal.config" - diff --git a/unmaintained/matterhorn/cabal.config b/unmaintained/matterhorn/cabal.config deleted file mode 100644 index f565a9e01b9..00000000000 --- a/unmaintained/matterhorn/cabal.config +++ /dev/null @@ -1,5 +0,0 @@ -packages: ./matterhorn.cabal - submodules/mattermost-api/ - submodules/mattermost-api-qc/ - -constraints: cryptonite -use_target_attributes diff --git a/unmaintained/mautrix-telegram/APKBUILD b/unmaintained/mautrix-telegram/APKBUILD deleted file mode 100644 index e560d46b6d0..00000000000 --- a/unmaintained/mautrix-telegram/APKBUILD +++ /dev/null @@ -1,69 +0,0 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: -pkgname=mautrix-telegram -pkgver=0.9.0 -pkgrel=5 -pkgdesc="A Matrix-Telegram hybrid puppeting/relaybot bridge" -url="https://github.com/tulir/mautrix-telegram" -arch="noarch" -license="AGPL-3.0-or-later" -depends=" - py3-aiohttp - py3-alembic - py3-commonmark - py3-magic - py3-mautrix>~0.8.3 - py3-ruamel.yaml - py3-sqlalchemy - py3-telethon>~1.17 - py3-telethon-session-sqlalchemy - python3 - " -makedepends=" - py3-pytest-runner - py3-setuptools - " -checkdepends=" - py3-pytest - py3-pytest-asyncio - py3-pytest-mock - py3-pytest-runner - " -install="$pkgname.pre-install $pkgname.post-upgrade" -subpackages="$pkgname-openrc" -source="https://github.com/tulir/mautrix-telegram/archive/v$pkgver/mautrix-telegram-v$pkgver.tar.gz - mautrix-telegram.initd - mautrix-telegram.confd - default-log-dir.patch - " -options="!check" # Broken for now - -build() { - python3 setup.py build -} - -check() { - pytest -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - - # Remove installed tests - local _site_packages=$(python3 -c "import site; print(site.getsitepackages()[0])") - rm -r "$pkgdir/$_site_packages"/tests/ - - install -Dm644 mautrix_telegram/example-config.yaml "$pkgdir"/etc/mautrix-telegram/example-config.yaml - install -Dm755 "$srcdir"/mautrix-telegram.initd "$pkgdir"/etc/init.d/mautrix-telegram - install -Dm644 "$srcdir"/mautrix-telegram.confd "$pkgdir"/etc/conf.d/mautrix-telegram - - mkdir -p "$pkgdir"/usr/share/mautrix-telegram - mv \ - "$pkgdir"/usr/alembic \ - "$pkgdir"/usr/alembic.ini \ - "$pkgdir"/usr/share/mautrix-telegram/ -} -sha512sums="16622cf9f1624c8641fbda9a47e34bc78d08f068cf6c6715fb8da8d2bad19e02fc161b8b246623400831f25d466fa40ae14115bae716997ed83e8ba683e30c76 mautrix-telegram-v0.9.0.tar.gz -ee0c29822abf213acf2a63205bdb3fca845c916682f1f7dadf17f443fba8191844a0ee9e0ca323e6de7d539e141f2df1b4457a7fbfbe8af607e3189809d23205 mautrix-telegram.initd -7b3c15dd2d0671c4c777bcf4f2e905d9a0b639a54828313ac9db1a9793fde3d092e92f18aa896bff94b9a81db3df74b3de65661c6879cb648d36f5cec2437df0 mautrix-telegram.confd -09e9afa45341927fc6085573aaa8a2b3816ad75b664d57ebd2e44cab2612f97972f022e66a4b98e5cd1c7421d257859ffa5333201f11a5666cdaa470b8618c03 default-log-dir.patch" diff --git a/unmaintained/mautrix-telegram/default-log-dir.patch b/unmaintained/mautrix-telegram/default-log-dir.patch deleted file mode 100644 index 2b33ee16e54..00000000000 --- a/unmaintained/mautrix-telegram/default-log-dir.patch +++ /dev/null @@ -1,16 +0,0 @@ -Upstream: No, Alpine specific -Reason: We don't want to log into $PWD by default but into /var/log/mautrix-telegram.log - -diff --git a/mautrix_telegram/example-config.yaml b/mautrix_telegram/example-config.yaml -index 70bc111..9875175 100644 ---- a/mautrix_telegram/example-config.yaml -+++ b/mautrix_telegram/example-config.yaml -@@ -415,7 +415,7 @@ logging: - file: - class: logging.handlers.RotatingFileHandler - formatter: normal -- filename: ./mautrix-telegram.log -+ filename: /var/log/mautrix-telegram/mautrix-telegram.log - maxBytes: 10485760 - backupCount: 10 - console: diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.confd b/unmaintained/mautrix-telegram/mautrix-telegram.confd deleted file mode 100644 index d4632241838..00000000000 --- a/unmaintained/mautrix-telegram/mautrix-telegram.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for /etc/init.d/mautrix-telegram - -# Location of configuration file -config="/etc/mautrix-telegram/config.yaml" - -# Extra arguments to be passed when starting mautrix-telegram -# command_args="" diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.initd b/unmaintained/mautrix-telegram/mautrix-telegram.initd deleted file mode 100644 index d07013d2700..00000000000 --- a/unmaintained/mautrix-telegram/mautrix-telegram.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -supervisor=supervise-daemon - -name="mautrix-telegram" -description="Daemon for mautrix-telegram, the Matrix-Telegram hybrid puppeting/relaybot bridge" - -: ${command_user:="mautrix-telegram:mautrix-telegram"} -: ${config:="/etc/mautrix-telegram/config.yaml"} - -command="/usr/bin/python3" -command_args="-m mautrix_telegram -c $config $command_args" - -depends() { - need net -} - -start_pre() { - checkpath --file --owner "$command_user" /etc/mautrix-telegram/config.yaml - checkpath --directory --owner "$command_user" /var/log/mautrix-telegram -} diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade b/unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade deleted file mode 100644 index d4f7d0a8c83..00000000000 --- a/unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -cat <<EOF -You might need to upgrade the database after upgrading to a newer version of -mautrix-telegram. You can do so using alembic. After making sure it's installed -run: - - cd /usr/share/mautrix-telegram && alembic -x config=/etc/mautrix-telegram/config.yaml upgrade head - -Then restart the service. -EOF diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.pre-install b/unmaintained/mautrix-telegram/mautrix-telegram.pre-install deleted file mode 100644 index 488396b1122..00000000000 --- a/unmaintained/mautrix-telegram/mautrix-telegram.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S mautrix-telegram 2>/dev/null -adduser -S -D -H -h /var/lib/mautrix-telegram -s /sbin/nologin -G mautrix-telegram -g mautrix-telegram mautrix-telegram 2>/dev/null - -exit 0 diff --git a/unmaintained/mhddfs/APKBUILD b/unmaintained/mhddfs/APKBUILD deleted file mode 100644 index 148c9be42df..00000000000 --- a/unmaintained/mhddfs/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Zsolt M <zsolt@meszarovics.me> -# Maintainer: -pkgname=mhddfs -pkgver=0.1.39 -pkgrel=0 -pkgdesc="A fuse-based file system for unifying several mount points into one." -url="http://mhddfs.uvw.ru" -arch="" # fails to build -license="GPL-3.0" -depends="fuse" -depends_dev="fuse-dev attr-dev" -makedepends="$depends_dev" -_uthashver=1.9.9 -source="http://mhddfs.uvw.ru/downloads/${pkgname}_${pkgver}.tar.gz - uthash-v${_uthashver}.tar.gz::https://github.com/troydhanson/uthash/archive/v${_uthashver}.tar.gz - local-uthash.patch" -builddir="$srcdir"/${pkgname}-${pkgver} - -build() { - cd "$builddir" - srcdir=${srcdir} make -} - -package() { - cd "$builddir" - install -Dsm755 mhddfs "$pkgdir"/usr/bin/${pkgname} -} - -sha512sums="cf1952e665e82a92ccfef9215d4faf78cd235566b67e6ebc3a60ab53089d9391bc41a08e6b203ad052e4a08bdd14428f2d9abe48f341aeb0c80ae1da80f83f89 mhddfs_0.1.39.tar.gz -40b888529db6baba7bdb0a11c3f782719c40470f6b8e4d75ed480c4c465606e990abf65786156a93f4e2f9c8805cbc098550cc3c62e33b7345fa5bf6d146a8c4 uthash-v1.9.9.tar.gz -e288ab2efad8955e621460e46dc6ec7c14f6471498ec3df6900fad00bfbb91d3ba9cabed10f17257c6aa15f5be6558c75d4220e57b935beb1cef0893d7a9bbab local-uthash.patch" diff --git a/unmaintained/mhddfs/local-uthash.patch b/unmaintained/mhddfs/local-uthash.patch deleted file mode 100644 index d9322d4069f..00000000000 --- a/unmaintained/mhddfs/local-uthash.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- mhddfs-0.1.39/Makefile.orig -+++ mhddfs-0.1.39/Makefile -@@ -9,7 +9,7 @@ - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --# GNU General Public License for more details. -+ # GNU General Public License for more details. - - # You should have received a copy of the GNU General Public License - # along with this program. If not, see <http://www.gnu.org/licenses/>. -@@ -24,6 +24,9 @@ - - CFLAGS = -Wall $(shell pkg-config fuse --cflags) \ - -DFUSE_USE_VERSION=26 -MMD -+ -+CFLAGS += -I${srcdir}/uthash-1.9.9/src -+ - ifdef WITHOUT_XATTR - CFLAGS += -DWITHOUT_XATTR - endif diff --git a/unmaintained/mir-core/APKBUILD b/unmaintained/mir-core/APKBUILD deleted file mode 100644 index a32db5175c2..00000000000 --- a/unmaintained/mir-core/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=mir-core -pkgver=1.1.7 -pkgrel=1 -pkgdesc="Base software building blocks and conventions" -url="https://github.com/libmir/mir-core" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="meson ldc ldc-runtime" -subpackages="$pkgname-dev" -source="https://github.com/libmir/mir-core/archive/v$pkgver/mir-core-$pkgver.tar.gz" - -build() { - abuild-meson \ - -Dwith_test=true \ - . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="aa7ca3fabb6d318fb5c2e7b0abef1ee0ba31e6dce31a4e03c555b12fe3a313e5a0afaa7c7d0f5aca2faea31f5172cdffa8ce98ab7da029cb6b919c2d0639925c mir-core-1.1.7.tar.gz" diff --git a/unmaintained/mod_auth_cas/APKBUILD b/unmaintained/mod_auth_cas/APKBUILD deleted file mode 100644 index 0df9c312640..00000000000 --- a/unmaintained/mod_auth_cas/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=mod_auth_cas -pkgver=1.2 -pkgrel=0 -pkgdesc="An Apache httpd module for integrating with Apereo (JASIG) CAS Server project" -url="https://www.apereo.org/projects/cas" -arch="all" -license="Apache-2.0" -makedepends="apache2-dev curl-dev pcre-dev" -source=" - mod_auth_cas-$pkgver.tar.gz::https://github.com/Jasig/mod_auth_cas/archive/v$pkgver.tar.gz - remove-error.h.patch - " - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var - make -} - -check() { - make check -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="e1ca75493ba6132c2c3d4d888bc3f25ad9674441d1f89fada64db515f4faf899ce655c1c09b0f6a4cd6169d6ac7d16901e062aa7cacd3b95ecfcd5d8ea030b6d mod_auth_cas-1.2.tar.gz -7e0d9dd6022e8a6243ca8650e189d3ca2a35301d9966cb7e3a31b99348d6b2cd3c3f75910fd8ea891c9f5f0ba89d1a047223b72ebcd9844121228e5909868679 remove-error.h.patch" diff --git a/unmaintained/mod_auth_cas/remove-error.h.patch b/unmaintained/mod_auth_cas/remove-error.h.patch deleted file mode 100644 index 82845c6a543..00000000000 --- a/unmaintained/mod_auth_cas/remove-error.h.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ./src/mod_auth_cas.c.orig -+++ ./src/mod_auth_cas.c -@@ -22,7 +22,6 @@ - * - */ - --#include <error.h> - #include <string.h> - #include <sys/file.h> - #include <sys/types.h> diff --git a/unmaintained/most/APKBUILD b/unmaintained/most/APKBUILD deleted file mode 100644 index 2160a8687d8..00000000000 --- a/unmaintained/most/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=most -pkgver=5.1.0 -pkgrel=0 -pkgdesc="A terminal pager similar to more and less" -url="http://www.jedsoft.org/most/index.html" -arch="" -license="GPL-2.0-or-later" -makedepends="slang-dev ncurses-dev" -subpackages="$pkgname-doc" -source="https://www.jedsoft.org/releases/most/most-$pkgver.tar.gz" - -prepare() { - default_prepare - update_config_guess -} - -build() { - ./configure --prefix=/usr --sysconfdir=/etc - make -j1 -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="cbc090283bbaafb8ffee9d6d1abc7b49cd58d54b742cf8dc86274351dee6398d1f24841bd1631ac40f861ad9e23569646133d3297317d9d514a7a38dd74533d2 most-5.1.0.tar.gz" diff --git a/unmaintained/mpt-status/APKBUILD b/unmaintained/mpt-status/APKBUILD deleted file mode 100644 index b14cc26476d..00000000000 --- a/unmaintained/mpt-status/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=mpt-status -pkgver=1.2.0 -pkgrel=0 -pkgdesc="status inquiry tool for MPT devices" -url="http://www.red-bean.com/~mab/mpt-status.html" -arch="all" -license="GPL" -depends="" -makedepends="pciutils-dev" -install="" -subpackages="$pkgname-doc" - -# XXX: main site seems to be down right now; we shadow the Debian patch anyway -source="http://ftp.de.debian.org/debian/pool/main/m/mpt-status/mpt-status_${pkgver}.orig.tar.gz - http://ftp.de.debian.org/debian/pool/main/m/mpt-status/mpt-status_${pkgver}-7.debian.tar.gz" - -_builddir="${srcdir}/mpt-status-${pkgver}" -prepare() { - local i - cd "$_builddir" - mv "${srcdir}/debian" "${_builddir}" - - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - # apply debian patches too... - for i in $(cat ${_builddir}/debian/patches/series); do - case $i in - *.patch) msg $i; patch -p1 -i "${_builddir}/debian/patches/${i}" || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - - mkdir -p "$pkgdir"/usr/sbin - make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir"/usr/share/man/man8 - cp man/mpt-status.8 "$pkgdir"/usr/share/man/man8 -} - -sha512sums="48d9ecb3d9b42f7731a048ba6147fc2edabbb3ac7936c3273fc613e661f54a66c9f240283a7b84040efd059539fb1c59172b74fad50781647f98644c3da25cac mpt-status_1.2.0.orig.tar.gz -f2de35cb781bef730e28449b75f0aa2b0b7f953dfda0ebd9231ff8b7e3649db34a25daa151ae0655458de2e07b6cbadf1b7e5977c5ac7585fa491bd071e36e00 mpt-status_1.2.0-7.debian.tar.gz" diff --git a/unmaintained/msgpack-d/APKBUILD b/unmaintained/msgpack-d/APKBUILD deleted file mode 100644 index 6dbad78a72a..00000000000 --- a/unmaintained/msgpack-d/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=msgpack-d -pkgver=1.0.2 -pkgrel=1 -pkgdesc="MessagePack for D" -url="https://msgpack.org/" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="meson ldc ldc-runtime" -subpackages="$pkgname-dev" -source="https://github.com/msgpack/msgpack-d/archive/v$pkgver/msgpack-d-$pkgver.tar.gz" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="a3c51e2030fa8e30925e4bf75386cd355b4bbe1c0e07a4be81c7c70224e0b6c41e58efe1cc4bfb82c9720b62ef92d54252729554d70ce9e13f78222045a64641 msgpack-d-1.0.2.tar.gz" diff --git a/unmaintained/mumudvb/0001-Fix-compiling-with-kernels-4.14.patch b/unmaintained/mumudvb/0001-Fix-compiling-with-kernels-4.14.patch deleted file mode 100644 index 6a200b64c77..00000000000 --- a/unmaintained/mumudvb/0001-Fix-compiling-with-kernels-4.14.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 596f7dbebd2590f7e77cf755af46952f340ddb97 Mon Sep 17 00:00:00 2001 -From: Brice Dubost <mumudvb@braice.net> -Date: Sat, 25 Nov 2017 20:21:10 -0500 -Subject: [PATCH] Fix compiling with kernels > 4.14 - ---- - src/scam_common.h | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/src/scam_common.h b/src/scam_common.h -index 05ee7e5..c3436de 100644 ---- a/src/scam_common.h -+++ b/src/scam_common.h -@@ -61,6 +61,18 @@ - - #define MAX_STATIC_KEYS 24 - -+//Quick hack around the removal of ca_pid_t and CA_GET_PID in recent kernels -+//https://github.com/torvalds/linux/commit/833ff5e7feda1a042b83e82208cef3d212ca0ef1 -+#ifndef CA_SET_PID -+typedef struct ca_pid { -+ unsigned int pid; -+ int index; /* -1 == disable*/ -+ } ca_pid_t; -+//We should not be able to get it so a number that is unlikely to happen -+#define CA_SET_PID 42424242 -+#endif -+ -+ - /** @brief the parameters for the scam - * This structure contain the parameters needed for the SCAM - */ --- -2.19.1 - diff --git a/unmaintained/mumudvb/APKBUILD b/unmaintained/mumudvb/APKBUILD deleted file mode 100644 index 0270d7e8910..00000000000 --- a/unmaintained/mumudvb/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=mumudvb -_pkgname=MuMuDVB -pkgver=2.1.0 -pkgrel=3 -pkgdesc="A DVB IPTV streaming software" -url="http://mumudvb.net/" -arch="" # Fails to build on kernels above 4.14 -license="GPL-2.0-or-later" -makedepends="automake autoconf libtool linux-headers m4 libdvbcsa-dev asciidoc gettext-dev" -install="$pkgname.pre-install" -subpackages="$pkgname-doc" -pkgusers="mumudvb" -source="$pkgname-$pkgver.tar.gz::https://github.com/braice/MuMuDVB/archive/$pkgver.tar.gz - 0001-Fix-compiling-with-kernels-4.14.patch - musl-error-h.patch - $pkgname.initd - $pkgname.confd" -builddir="$srcdir/$_pkgname-$pkgver" - -prepare() { - libtoolize --force - aclocal && autoheader - automake --force-missing --add-missing - autoreconf -i -f -} - -build() { - ./configure --prefix=/usr - make -} - -package() { - make DESTDIR="$pkgdir" install - mkdir -p "$pkgdir"/var/run/mumudvb - chown $pkgusers "$pkgdir"/var/run/mumudvb - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - - mkdir -p "$pkgdir"/etc/$pkgname -} - -doc() { - pkgdesc="$pkgname documentation" - _docdir="configuration_examples diagrams html transcode" - cd "$builddir"/doc - make doc - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname - for doc in $_docdir; do - mv $doc "$subpkgdir"/usr/share/doc/$pkgname - done -} - -sha512sums="e300d0f9624a7a5d108ded303b11ef7f399968357540f681ae772efe2a36d32883c69f20e41f8372c0f9c39393c71f2eddb04c59bfadf71a0f575ea160a27cf2 mumudvb-2.1.0.tar.gz -05ba4f04f1a6f605c78ac142e19a410840a963169ace7d5180d25eba5627c4bcc2380c870a9e41d292839924ebf179af948a519d0f83ba475238e664c78d852d 0001-Fix-compiling-with-kernels-4.14.patch -83228d1ea51b892779d284e443477332f92bc27d5806294774ff6eb93c5b4896dbd04367559a03268aa9994f8555c748e82075e4b86b01866a65662bf5c00824 musl-error-h.patch -de0ab5c7a7d570453cfe940c720aacf1104e04435d67cd0894806835f30778d5d9ee96686a6fa2739a1fc686fa51c933191ddae4b9c9714b6c4c719c22830444 kernel-4.14.patch -a59a282e04e72bb75e365f36dd4af7560826e8803f0ffa0244c59b2c88bf3e822d846358ababc74aa04de4758880a5bd53e02e3537b8ced0a23aea5360832709 mumudvb.initd -777096785f71f22e9b1462d8bd9a0dba39bda63fa9493d8431140cc09addfac6ce9f962c60aa50b6f331d8ecbaef8e1340cf401aa3caeb743d3a396326f28efa mumudvb.confd" diff --git a/unmaintained/mumudvb/mumudvb.confd b/unmaintained/mumudvb/mumudvb.confd deleted file mode 100644 index b0699f825fe..00000000000 --- a/unmaintained/mumudvb/mumudvb.confd +++ /dev/null @@ -1,5 +0,0 @@ -# By default, it is /dev/dvb/adapter0/frontend0 -ADAPTER="0" -COMMAND_ARGS="" -# You can check config file examples in -doc package -CONFIG_FILE="/etc/mumudvb/mumudbv_card${ADAPTER}.conf" diff --git a/unmaintained/mumudvb/mumudvb.initd b/unmaintained/mumudvb/mumudvb.initd deleted file mode 100644 index 95f88a10dce..00000000000 --- a/unmaintained/mumudvb/mumudvb.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run - -name="MuMuDVB" -command="/usr/bin/mumudvb" -command_background="true" -pidfile="/var/run/mumudvb/mumudvb.pid" -daemonuser="mumudvb" - -checkconfig() { - if [ ! -f "$CONFIG_FILE" ] ; then - eerror "You need to setup $CONFIG_FILE first. Install $pkgname-doc for examples" - return 1 - fi -} - - -depend() { - need net - after firewall -} - -start () { - checkconfig || return 1 - ebegin "Starting $name" - start-stop-daemon --start --name mumudvb_$ADAPTER \ - --make-pidfile --pidfile $pidfile \ - --user $daemonuser --exec $command -- $COMMAND_ARGS --card $ADAPTER -c $CONFIG_FILE - eend $? -} - -stop () { - ebegin "Stopping $name" - start-stop-daemon --stop --pidfile $pidfile \ - --exec $command - eend $? -} - diff --git a/unmaintained/mumudvb/mumudvb.pre-install b/unmaintained/mumudvb/mumudvb.pre-install deleted file mode 100644 index ec76e0a4c90..00000000000 --- a/unmaintained/mumudvb/mumudvb.pre-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -adduser -S -H -h /var/run/mumudvb -s /sbin/nologin -g mumudvb mumudvb 2>/dev/null -adduser mumudvb video -exit 0 diff --git a/unmaintained/mumudvb/musl-error-h.patch b/unmaintained/mumudvb/musl-error-h.patch deleted file mode 100644 index 968afc09943..00000000000 --- a/unmaintained/mumudvb/musl-error-h.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/tune.c b/src/tune.c -index c536811..52afd3d 100644 ---- a/src/tune.c -+++ b/src/tune.c -@@ -41,7 +41,6 @@ - #ifdef ANDROID - #include <err.h> - #else --#include <error.h> - #endif - #include <errno.h> - #include <string.h> diff --git a/unmaintained/mwoffliner/APKBUILD b/unmaintained/mwoffliner/APKBUILD deleted file mode 100644 index 57205f4fb7b..00000000000 --- a/unmaintained/mwoffliner/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Oleg Titov <oleg.titov@gmail.com> -# Maintainer: Oleg Titov <oleg.titov@gmail.com> -pkgname=mwoffliner -pkgver=1.11.10 -pkgrel=0 -pkgdesc="Scrape any online Mediawiki motorised wiki to your local filesystem" -url="https://github.com/openzim/mwoffliner" -arch="x86_64" -license="GPL-3.0-or-later" -options="!check" # no test suite from upstream -depends="npm redis libc6-compat" -makedepends="python3 autoconf automake chrpath libjpeg-turbo-dev nasm zlib-dev - libzim-dev bash" -subpackages="$pkgname-doc" -source="mwoffliner-$pkgver.tar.gz::https://github.com/openzim/mwoffliner/archive/v$pkgver.tar.gz" - -build() { - npm install -} - -check() { - npm test -} - -package() { - install -d "$pkgdir"/usr/share/doc/$pkgname "$pkgdir"/usr/lib/node_modules/$pkgname - cp -a lib node_modules package*.json "$pkgdir"/usr/lib/node_modules/$pkgname - ln -s /usr/lib/node_modules/$pkgname/bin/$pkgname "$pkgdir"/usr/lib/node_modules/$pkgname - - install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" - - # Strip all the rpath that include /home - local scandir="$pkgdir"/usr/lib/node_modules/mwoffliner/node_modules/@openzim/libzim/ - scanelf --recursive --rpath --etype ET_DYN "$scandir" | \ - awk '/home/{print $3;}' | xargs chrpath --delete -} - -sha512sums=" -d9a820327343a41f21df93c40ebe682ddf91cc18431399d712a6f1e7830192e13b18a677cc2639f6a0aa36518782c0581d2a6991ff5f744cef9fb91c3433e025 mwoffliner-1.11.10.tar.gz -" diff --git a/unmaintained/netbox/APKBUILD b/unmaintained/netbox/APKBUILD deleted file mode 100644 index 6396c91b2ab..00000000000 --- a/unmaintained/netbox/APKBUILD +++ /dev/null @@ -1,102 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: -pkgname=netbox -pkgver=2.5.3 -pkgrel=2 -pkgdesc="IP address management and data center infrastructure management tool" -url="https://netbox.io" -arch="" # Requires py3-pygfm==0.14 which requires py3-markdown<3.0, our py-markdown is 3.1.1 -license="Apache-2.0" -depends=" - py3-django - py3-django-cors-headers - py3-django-debug-toolbar - py3-django-filter - py3-django-mptt - py3-django-rest-swagger - py3-django-tables2 - py3-django-taggit - py3-django-timezone-field - py3-drf-yasg - py3-future - py3-graphviz - py3-gunicorn - py3-inflection - py3-markdown - py3-natsort - py3-netaddr - py3-paramiko - py3-pillow - py3-psycopg2 - py3-pygfm - py3-ruamel - py3-xmltodict - py3-django-rest-framework - py3-django-taggit-serializer - py3-napalm - py3-ncclient - py3-pycryptodome -" -install="$pkgname.pre-install $pkgname.post-upgrade" -subpackages="$pkgname-doc $pkgname-openrc" -options="!check" # no testsuite -pkgusers="netbox" -pkggroups="netbox" -source="$pkgname-$pkgver.tar.gz::https://github.com/digitalocean/netbox/archive/v$pkgver.tar.gz - gunicorn_config.py - netbox.nginx-sample - $pkgname.initd - $pkgname.logrotated - set-config-defaults.patch - " -builddir="$srcdir"/$pkgname-$pkgver - -build() { - return 0 -} - -package() { - cd "$builddir" - local destdir=usr/share/webapps - local conffile=etc/$pkgname/configuration.py - mkdir -p "$pkgdir"/$destdir \ - "$pkgdir"/usr/share/doc \ - "$pkgdir"/etc/$pkgname - mv $pkgname "$pkgdir"/$destdir - mkdir -p "$pkgdir"/$destdir/$pkgname/static - mv docs "$pkgdir"/usr/share/doc/$pkgname - mv "$pkgdir"/$destdir/$pkgname/$pkgname/configuration.example.py \ - "$pkgdir"/$conffile - - # in order to install the static files we need a working config file - # and temporarily set minimum settings in config file - ln -s "$pkgdir"/$conffile \ - "$pkgdir"/$destdir/$pkgname/$pkgname/configuration.py - sed -i "s/SECRET_KEY.*/SECRET_KEY = \'abcdefghk123456789\'/" \ - "$pkgdir"/$conffile - - # install static files - python3 "$pkgdir"/$destdir/$pkgname/manage.py collectstatic --noinput --clear --link - # let's move instead of linking static files originating from netbox - local dir; for dir in "$pkgdir"/$destdir/$pkgname/project-static/*; do - rm -rf "$pkgdir"/$destdir/$pkgname/static/$(basename $dir) - mv $dir "$pkgdir"/$destdir/$pkgname/static - done - - install -m644 "$srcdir"/gunicorn_config.py "$pkgdir"/$destdir/$pkgname - install -D -m644 "$srcdir"/netbox.nginx-sample "$pkgdir"/etc/nginx/netbox.sample - install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -D -m644 "$srcdir"/$pkgname.logrotated "$pkgdir"/etc/logrotate.d/$pkgname - install -d -m755 -o netbox -g netbox "$pkgdir"/var/lib/$pkgname/media - - # undo temp stuff - ln -sf /$conffile "$pkgdir"/$destdir/$pkgname/$pkgname/configuration.py - sed -i "s/SECRET_KEY.*/SECRET_KEY = \'\'/" "$pkgdir"/$conffile -} - -sha512sums="f61adc8fd527481b837775e7023ecc83bc064d6c85d65e731d48c7969ae8ffbfe02be622d9fcda48daf0a237e71071d4f6725bca6d7def30ecb90c96407f1bd7 netbox-2.5.3.tar.gz -09d8e40d98d113458ee602de85306ac1a24fbb0015fbc4bb77812dae05096cb7b9c50770f650fd2ac78a388f35d7752ce8021790e952234a39c8b3e73a4ea3db gunicorn_config.py -b5c3dc0ad2ebaacf43dfa41880dc7d677a763a3fadf1ccd0a6a9ec744d1648ca72f6a55893d09fd843b399559e2411a98b0ded597669f18a34f305f5ccb57c06 netbox.nginx-sample -d4467109d803f42f8d9b088951d6123b9088f0069a4db280c2ca5e5a57bf746d1faa70d0f542154149e60f21891876f7c15da360e07eec8c8a36f5aac65509d3 netbox.initd -a87dd52264f5ea00dbb774e54332480615850aa0056e60e13963481e8390bee73ceb519873fa11d357a29911c4e34a30c4623f4c206f765af6e64f379314e5a8 netbox.logrotated -6b9eb0dcf8d5a267c3c88b81468d1fd7a7971cc084370a44f1ea5b61b08a30e9339f838e97947a0c65f385ed69fc5122592eca0ee5ff6e00cf5ec0f2dbe4c59f set-config-defaults.patch" diff --git a/unmaintained/netbox/gunicorn_config.py b/unmaintained/netbox/gunicorn_config.py deleted file mode 100644 index 7de9b24a33b..00000000000 --- a/unmaintained/netbox/gunicorn_config.py +++ /dev/null @@ -1,5 +0,0 @@ -command = '/usr/bin/gunicorn' -pythonpath = '/usr/share/webapps/netbox' -bind = '127.0.0.1:8001' -workers = 3 -user = 'netbox' diff --git a/unmaintained/netbox/netbox.initd b/unmaintained/netbox/netbox.initd deleted file mode 100644 index 6b135dbb080..00000000000 --- a/unmaintained/netbox/netbox.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run - -_port=8080 -_bind=0.0.0.0 -_basedir=/usr/share/webapps/netbox -_logfile="/var/log/${RC_SVCNAME}" -pidfile="/run/netbox/${RC_SVCNAME}.pid" -command=/usr/bin/gunicorn -command_args="--daemon \ - --pid $pidfile \ - --log-file $_logfile \ - --log-level info \ - -c $_basedir/gunicorn_config.py netbox.wsgi" -command_user="netbox" -command_group="netbox" - -start_pre() { - checkpath --directory /run/${RC_SVCNAME} /var/log/${RC_SVCNAME} \ - --owner $command_user:$command_group --mode 755 -} - diff --git a/unmaintained/netbox/netbox.logrotated b/unmaintained/netbox/netbox.logrotated deleted file mode 100644 index c3cc2651265..00000000000 --- a/unmaintained/netbox/netbox.logrotated +++ /dev/null @@ -1,8 +0,0 @@ -/var/log/netbox/*.log { - weekly - rotate 4 - missingok - notifempty - sharedscripts - copytruncate -} diff --git a/unmaintained/netbox/netbox.nginx-sample b/unmaintained/netbox/netbox.nginx-sample deleted file mode 100644 index 37c2a943bac..00000000000 --- a/unmaintained/netbox/netbox.nginx-sample +++ /dev/null @@ -1,20 +0,0 @@ -server { - listen 80; - - server_name netbox.mydomain; - - client_max_body_size 25m; - - location /static/ { - alias /usr/share/webapps/netbox/static/; - } - - location / { - proxy_pass http://127.0.0.1:8001; - proxy_set_header X-Forwarded-Host $server_name; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"'; - } -} - diff --git a/unmaintained/netbox/netbox.post-upgrade b/unmaintained/netbox/netbox.post-upgrade deleted file mode 100755 index bfc3a63f72e..00000000000 --- a/unmaintained/netbox/netbox.post-upgrade +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -echo -echo "* Please run:" -echo "*" -echo "* 'python3 /usr/share/webapps/netbox/manage.py migrate'" -echo "*" -echo "* in order to complete the upgrade." -echo diff --git a/unmaintained/netbox/netbox.pre-install b/unmaintained/netbox/netbox.pre-install deleted file mode 100755 index 22b96ba8be3..00000000000 --- a/unmaintained/netbox/netbox.pre-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -addgroup -S netbox 2>/dev/null -adduser -S -h /var/log/netbox -s /sbin/nologin -G netbox -D netbox 2>/dev/null -exit 0 diff --git a/unmaintained/netbox/set-config-defaults.patch b/unmaintained/netbox/set-config-defaults.patch deleted file mode 100644 index 73b8b629b31..00000000000 --- a/unmaintained/netbox/set-config-defaults.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/netbox/netbox/configuration.example.py -+++ b/netbox/netbox/configuration.example.py -@@ -98,7 +98,7 @@ - - # The file path where uploaded media such as image attachments are stored. A trailing slash is not needed. Note that - # the default value of this setting is derived from the installed location. --# MEDIA_ROOT = '/opt/netbox/netbox/media' -+MEDIA_ROOT = '/var/lib/netbox/media' - - # Credentials that NetBox will uses to authenticate to devices when connecting via NAPALM. - NAPALM_USERNAME = '' diff --git a/unmaintained/netdisco/APKBUILD b/unmaintained/netdisco/APKBUILD deleted file mode 100644 index 060278962ce..00000000000 --- a/unmaintained/netdisco/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 2 -# Contributor: Timo Teräs <timo.teras@iki.fi> -# Maintainer: Timo Teräs <timo.teras@iki.fi> -pkgname=netdisco -_pkgreal=App-Netdisco -_pkgver=2.036012_003 -pkgver=${_pkgver/_/p} -pkgrel=4 -pkgdesc="An open source web-based network management tool." -url="https://metacpan.org/release/App-Netdisco/" -arch="" # perl-starman -license="BSD-3-Clause" -cpandepends="perl-dancer-plugin-passphrase perl-data-printer perl-plack perl-ldap - perl-file-sharedir perl-starman perl-socket6 perl-json-xs perl-netaddr-mac - perl-anyevent perl-uri perl-dancer-plugin-dbic perl-template-plugin-csv - perl-try-tiny perl-snmp-info perl-list-moreutils perl-dbix-class - perl-anyevent-dns-etchosts perl-daemon-control perl-file-slurper perl-moo - perl-io-socket-ssl perl-role-tiny perl-algorithm-cron perl-sereal - perl-template-plugin-number-format perl-json perl-dbix-class-helpers - perl-dancer-plugin-auth-extensible perl-sql-translator perl-path-class - perl-template-toolkit perl-url-encode perl-dancer perl-plack-middleware-reverseproxy - perl-namespace-clean perl-cgi-expand perl-html-parser perl-net-dns - perl-dancer-session-cookie perl-yaml-libyaml perl-netaddr-ip perl-aliased - perl-guard perl-mce perl-plack-middleware-expires perl-dbd-pg" -# perl-app-local-lib-helper perl-app-cpanminus -cpanmakedepends="" -cpancheckdepends="perl-env-path" -depends="perl-term-ui perl-archive-extract $cpandepends" -makedepends="perl-dev perl-module-build $cpanmakedepends" -checkdepends="$cpancheckdepends" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/O/OL/OLIVER/$_pkgreal-$_pkgver.tar.gz - " -builddir="$srcdir/$_pkgreal-$_pkgver" - -prepare() { - default_prepare - - cd "$builddir" - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - perl Build.PL installdirs=vendor -} - -build() { - cd "$builddir" - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - ./Build -} - -package() { - cd "$builddir" - ./Build install destdir="$pkgdir" - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -check() { - cd "$builddir" - ./Build test -} - -sha512sums="4c0f5dcd6f6174f5531399f1bc6aafb3a650e4abe4ff97c39fdeb6ce982e7a7c95cd205e53f871b56aafa98a9cd4d5b6812aea8415e3ef5a2ca06c1f9576ae3f App-Netdisco-2.036012_003.tar.gz" diff --git a/unmaintained/ninja/APKBUILD b/unmaintained/ninja/APKBUILD deleted file mode 100644 index 2fba8a602f6..00000000000 --- a/unmaintained/ninja/APKBUILD +++ /dev/null @@ -1,70 +0,0 @@ -# Contributor: k0r10n <k0r10n.dev@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=ninja -pkgver=1.9.0 -pkgrel=3 -pkgdesc="Small build system with a focus on speed" -url="https://ninja-build.org/" -arch="all" -license="Apache-2.0" -checkdepends="gtest" -makedepends="asciidoctor python3 re2c" -subpackages=" - $pkgname-doc - $pkgname-bash-completion:bashcomp:noarch - $pkgname-zsh-completion:zshcomp:noarch - " -source=" - $pkgname-$pkgver.tar.gz::https://github.com/martine/ninja/archive/v$pkgver.tar.gz - fix-musl.patch - " - -_py3_sitelib() { - python3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))' -} - -build() { - cd "$builddir" - python3 ./configure.py --bootstrap - asciidoctor doc/manual.asciidoc -} - -check() { - cd "$builddir" - - ./ninja ninja_test - ./ninja_test --gtest_filter=-SubprocessTest.SetWithLots -} - -package() { - cd "$builddir" - install -m755 -D ninja "$pkgdir/usr/bin/ninja" - install -m644 -D doc/manual.asciidoc \ - "$pkgdir/usr/share/doc/ninja/manual.asciidoc" - install -m644 -D doc/manual.html \ - "$pkgdir/usr/share/doc/ninja/manual.html" - - install -m644 -D misc/ninja_syntax.py \ - "${pkgdir}$(_py3_sitelib)/ninja_syntax.py" -} - -bashcomp() { - depends="" - pkgdesc="Bash completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - - install -m644 -D "$builddir"/misc/bash-completion \ - "$subpkgdir"/usr/share/bash-completion/completions/ninja -} - -zshcomp() { - depends="" - pkgdesc="Zsh compltions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel zsh" - - install -Dm644 "$builddir"/misc/zsh-completion \ - "$subpkgdir"/usr/share/zsh/site-functions/_ninja -} - -sha512sums="a8b5ad00b60bddbdb8439a6092c91a65d093f9bcd6241f69088eb35bea2847efe673c3107a130dc754c747c7712b839d8f88e88d8389520cf7143668ee053feb ninja-1.9.0.tar.gz -09159f24a0446eff7e1d0b306911fd1a1e96257f02a32d6b241c5d60e3350126a7859f0edf0a2f858214c5c5af23f886289ce2e9c77f0e8e2257fab931933de2 fix-musl.patch" diff --git a/unmaintained/ninja/fix-musl.patch b/unmaintained/ninja/fix-musl.patch deleted file mode 100644 index 543d4f1c48f..00000000000 --- a/unmaintained/ninja/fix-musl.patch +++ /dev/null @@ -1,39 +0,0 @@ -2ff54ad7478a90bd75c91e434236a Mon Sep 17 00:00:00 2001 -From: makepost <makepost@firemail.cc> -Date: Mon, 24 Dec 2018 03:13:16 +0200 -Subject: [PATCH] Use st_mtim if st_mtime is macro, fix #1510 - -In POSIX.1-2008, sys_stat has a st_mtim member and a st_mtime backward -compatibility macro. Should help avoid hardcoding platform detection. ---- - src/disk_interface.cc | 14 ++++---------- - 1 file changed, 4 insertions(+), 10 deletions(-) - -diff --git a/src/disk_interface.cc b/src/disk_interface.cc -index d4c2fb087..dc297c449 100644 ---- src/disk_interface.cc -+++ /src/disk_interface.cc -@@ -202,19 +202,13 @@ TimeStamp RealDiskInterface::Stat(const string& path, string* err) const { - // that it doesn't exist. - if (st.st_mtime == 0) - return 1; --#if defined(__APPLE__) && !defined(_POSIX_C_SOURCE) -+#if defined(_AIX) -+ return (int64_t)st.st_mtime * 1000000000LL + st.st_mtime_n; -+#elif defined(__APPLE__) - return ((int64_t)st.st_mtimespec.tv_sec * 1000000000LL + - st.st_mtimespec.tv_nsec); --#elif (_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700 || defined(_BSD_SOURCE) || defined(_SVID_SOURCE) || \ -- defined(__BIONIC__) || (defined (__SVR4) && defined (__sun)) || defined(__FreeBSD__)) -- // For glibc, see "Timestamp files" in the Notes of http://www.kernel.org/doc/man-pages/online/pages/man2/stat.2.html -- // newlib, uClibc and musl follow the kernel (or Cygwin) headers and define the right macro values above. -- // For bsd, see https://github.com/freebsd/freebsd/blob/master/sys/sys/stat.h and similar -- // For bionic, C and POSIX API is always enabled. -- // For solaris, see https://docs.oracle.com/cd/E88353_01/html/E37841/stat-2.html. -+#elif defined(st_mtime) // A macro, so we're likely on modern POSIX. - return (int64_t)st.st_mtim.tv_sec * 1000000000LL + st.st_mtim.tv_nsec; --#elif defined(_AIX) -- return (int64_t)st.st_mtime * 1000000000LL + st.st_mtime_n; - #else - return (int64_t)st.st_mtime * 1000000000LL + st.st_mtimensec; - #endif diff --git a/unmaintained/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch b/unmaintained/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch deleted file mode 100644 index 3b8456e664d..00000000000 --- a/unmaintained/nldev/0001-Revert-nldev-set-kernel-buffer-to-16kb.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 6df459de208c7f148f2c0f06b0712ea1708ed614 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> -Date: Wed, 10 Feb 2016 22:57:13 +0100 -Subject: [PATCH 1/4] Revert "nldev: set kernel buffer to 16kb" - -This reverts commit 025a4aef1a05cf523fbdf98ed71fd2e7b902d7fd. ---- - nldev.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/nldev.c b/nldev.c -index 018ed86..9153fd2 100644 ---- a/nldev.c -+++ b/nldev.c -@@ -161,7 +161,7 @@ init_netlink_socket(void) - if (fd < 0) - edie("socket"); - -- slen = 16*1024; -+ slen = 128*1024*1024; - if (setsockopt(fd, SOL_SOCKET, SO_RCVBUFFORCE, &slen, - sizeof(slen)) < 0) { - edie("setsockopt"); --- -2.7.2 - diff --git a/unmaintained/nldev/0002-Preserve-the-PATH-environment-variable.patch b/unmaintained/nldev/0002-Preserve-the-PATH-environment-variable.patch deleted file mode 100644 index d6c4ffec67c..00000000000 --- a/unmaintained/nldev/0002-Preserve-the-PATH-environment-variable.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 980c9181b9bf44be6007462ef54568759aabbc5a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> -Date: Wed, 10 Feb 2016 23:26:23 +0100 -Subject: [PATCH 2/4] Preserve the PATH environment variable - -No idea why this wasn't done before... ---- - nldev.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/nldev.c b/nldev.c -index 9153fd2..deabf10 100644 ---- a/nldev.c -+++ b/nldev.c -@@ -193,7 +193,7 @@ main(int argc, char *argv[]) - struct msghdr hdr; - struct iovec iov; - char buf[4097], *subsystem, *runpath, *key, *value, -- cbuf[CMSG_SPACE(sizeof(struct ucred))]; -+ *origpath, cbuf[CMSG_SPACE(sizeof(struct ucred))]; - struct cmsghdr *chdr; - struct ucred *cred; - int i, len, slen, showudev, showkernel; -@@ -203,6 +203,10 @@ main(int argc, char *argv[]) - subsystem = NULL; - runpath = "/bin/mdev"; - -+ origpath = getenv("PATH"); -+ if (!origpath || strlen(origpath) <= 0) -+ origpath = "/sbin:/bin"; -+ - ARGBEGIN { - case 'b': - dofork = 1; -@@ -242,7 +246,7 @@ main(int argc, char *argv[]) - buf[sizeof(buf)-1] = '\0'; - while (poll(&fds, 1, -1) > -1) { - clearenv(); -- setenv("PATH", "/sbin:/bin", 1); -+ setenv("PATH", origpath, 1); - - iov.iov_base = &buf; - iov.iov_len = sizeof(buf); --- -2.7.2 - diff --git a/unmaintained/nldev/0003-Change-the-default-mdev-path-to-sbin-mdev.patch b/unmaintained/nldev/0003-Change-the-default-mdev-path-to-sbin-mdev.patch deleted file mode 100644 index 395f674c866..00000000000 --- a/unmaintained/nldev/0003-Change-the-default-mdev-path-to-sbin-mdev.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 5a979c33e4859d07660fad54d253c91202cf2a37 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net> -Date: Wed, 10 Feb 2016 23:29:04 +0100 -Subject: [PATCH 3/4] Change the default mdev path to /sbin/mdev - -You can set it using the -r command line flag but I prefer it when -things work out of the box (the flag is nice to have non the less). ---- - nldev.8 | 2 +- - nldev.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/nldev.8 b/nldev.8 -index b1c18db..45c307b 100644 ---- a/nldev.8 -+++ b/nldev.8 -@@ -56,7 +56,7 @@ Only show netlink messages from libudev. - . - .It Fl r Ar runpath - This option specifies the runpath for the helper that is launched --on every received netlink event (default: /bin/mdev). -+on every received netlink event (default: /sbin/mdev). - .El - . - .Sh AUTHORS -diff --git a/nldev.c b/nldev.c -index deabf10..a1d529a 100644 ---- a/nldev.c -+++ b/nldev.c -@@ -201,7 +201,7 @@ main(int argc, char *argv[]) - showkernel = 1; - showudev = 1; - subsystem = NULL; -- runpath = "/bin/mdev"; -+ runpath = "/sbin/mdev"; - - origpath = getenv("PATH"); - if (!origpath || strlen(origpath) <= 0) --- -2.7.2 - diff --git a/unmaintained/nldev/APKBUILD b/unmaintained/nldev/APKBUILD deleted file mode 100644 index 66141beb329..00000000000 --- a/unmaintained/nldev/APKBUILD +++ /dev/null @@ -1,84 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> -pkgname=nldev -pkgver=0.3_git20160406 -pkgrel=0 -verbase=0.3 -pkgdesc="A simple netlink device manager" -url="http://git.r-36.net/nldev/" -arch="all" -license="MIT" -depends="" -depends_dev="" -makedepends="linux-headers" -install="" -subpackages="$pkgname-doc" -source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz - ${pkgname}.initd - ${pkgname}-trigger.initd - - 0001-Revert-nldev-set-kernel-buffer-to-16kb.patch - 0002-Preserve-the-PATH-environment-variable.patch - 0003-Change-the-default-mdev-path-to-sbin-mdev.patch" - -disturl="dev.alpinelinux.org:/archive/$pkgname" -reporev="d2974b64d4e8bab0e08c6395c2925c94e13a3ca5" -giturl="git://git.r-36.net/$pkgname" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - make CFLAGS="$CFLAGS \${INCS} \${CPPFLAGS}" \ - LDFLAGS="$LDFLAGS \${LIBS}" CC="${CC:-gcc}" \ - -C "$_builddir" || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" PREFIX=/ \ - MANPREFIX=/usr/share/man install || return 1 - - # Move nldev to /sbin - mkdir -p "$pkgdir"/sbin/ - mv "$pkgdir"/bin/$pkgname "$pkgdir"/sbin/ || return 1 - - # We don't need run_nldev, use the init script instead - rm -f "$pkgdir"/bin/run_$pkgname - - # Install OpenRC service files - for service in ${pkgname} ${pkgname}-trigger; do - install -Dm755 "$srcdir"/$service.initd \ - "$pkgdir"/etc/init.d/$service || return 1 - done - - # Install utility scripts - mkdir -p "$pkgdir"/lib/$pkgname || return 1 - install -m755 mdev/lib/* "$pkgdir"/lib/$pkgname/ || return 1 - - # Install additional documentation - mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ - install -m644 FIXES.md README.md \ - "$pkgdir"/usr/share/doc/$pkgname/ || return 1 - install -m644 mdev/etc/* \ - "$pkgdir"/usr/share/doc/$pkgname/examples || return 1 - install -m755 mdev/lib/* \ - "$pkgdir"/usr/share/doc/$pkgname/examples || return 1 -} - -md5sums="498f8815a0864382a94feb0b67c9897e nldev-0.3_git20160406.tar.gz -3bc9f761fe7b57c538089bb3875cb1cd nldev.initd -f57e754d52f06529e82979db8bd3106e nldev-trigger.initd -e565d056ea4dd5c74b308c397e7e27e5 0001-Revert-nldev-set-kernel-buffer-to-16kb.patch -a921cc18e879114a1c8009d2f9cfb552 0002-Preserve-the-PATH-environment-variable.patch -bfc26b861b96d253b89defb14697523a 0003-Change-the-default-mdev-path-to-sbin-mdev.patch" -sha256sums="1580e7d65a5079ac83ae6c58e9445533f151109405d6c191d5074bda302014f1 nldev-0.3_git20160406.tar.gz -3e88e5a53b0db3724f03fb4b9ec90b42b2c9734516db6d9f11d125ed2b365776 nldev.initd -1ab6163a350a7c7e377f0e6ea9070c736c434c9a55c3ef28438af552effa1714 nldev-trigger.initd -22e295e2f3391c139b735098f11c8dfabf835373ad80a1d12f0df3d4ee4ffc7d 0001-Revert-nldev-set-kernel-buffer-to-16kb.patch -7d47ff02a42273446fed0774658d0f9f199e4d9b1ede3e02143985db6fab3d0f 0002-Preserve-the-PATH-environment-variable.patch -a861166721ecae633bffa91a6ac055c23f3ad5a1070cb7c9a303816326328619 0003-Change-the-default-mdev-path-to-sbin-mdev.patch" -sha512sums="d0aadfbd29b22a7efe52c9e0976b7e24313a9827ac52ed726324f7a444ae89cca8a1ea55448694849ca6e636d6d8ec19614a9e58f1298c8f2d4c3c58f930b687 nldev-0.3_git20160406.tar.gz -1e2b4ca1f7b6c9a6d36ac659acf5ef8fb0aef49c7db69dc3f94ef54bfd024a34ce849092c23f67934ea36e19df3b76b01eb347daa423a8eaf63b556077d2af64 nldev.initd -0e34e2db640bcfe7ba8b8e2a07a681906e7e6a2fe267f255a216c36e93db5096b7ed4865935ef448aabc8c4c130a786e555113d8ba90bed58f4ae3450890a1ea nldev-trigger.initd -7821f54b0eeab13355d0a534bafc7c07250b91dcd43e334ffe9bcd9ee601680489ade4aa97b45543d38be93279c3cb11357d58497a3fb7e66052bf743917088f 0001-Revert-nldev-set-kernel-buffer-to-16kb.patch -3d592c4f5a8ae1081aa3780d099b98e3c9869cecc1a3d06dff096e8ee1ea00059c8d5c702fdbb6c5829a429a813f37deab7de7164d38887834d62c0da6165173 0002-Preserve-the-PATH-environment-variable.patch -b9128249077981718d34477b5b81655f256f0a28a549099ed20a611d5aeb54e0d837debe623d6f65071a036fd31322454bb99906058e6309b18c0178c5ce3e5e 0003-Change-the-default-mdev-path-to-sbin-mdev.patch" diff --git a/unmaintained/nldev/nldev-trigger.initd b/unmaintained/nldev/nldev-trigger.initd deleted file mode 100644 index 65482d8cba7..00000000000 --- a/unmaintained/nldev/nldev-trigger.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need nldev - provide dev - keyword -lxc -vserver -} - -start() { - ebegin "Populating /dev with existing devices through uevents" - /bin/nltrigger add all - eend $? -} diff --git a/unmaintained/nldev/nldev.initd b/unmaintained/nldev/nldev.initd deleted file mode 100644 index ed6f1e21baa..00000000000 --- a/unmaintained/nldev/nldev.initd +++ /dev/null @@ -1,14 +0,0 @@ -#!/sbin/openrc-run - -name="$SVCNAME" -command="/sbin/$SVCNAME" -command_args="${NLDEV_OPTS:--k}" -pidfile="/var/run/$SVCNAME.pid" -command_background="yes" - -depend() { - provide dev - need sysfs dev-mount - before checkfs fsck - keyword -lxc -vserver -} diff --git a/unmaintained/nlmon/APKBUILD b/unmaintained/nlmon/APKBUILD deleted file mode 100644 index b8c5bb560ed..00000000000 --- a/unmaintained/nlmon/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> -pkgname=nlmon -pkgver=0.3_git20160406 -pkgrel=0 -verbase=0.3 -pkgdesc="A lightweight udevadm monitor replacement" -url="http://git.r-36.net/nlmon/" -arch="all" -license="MIT" -depends="" -depends_dev="" -makedepends="linux-headers" -install="" -subpackages="$pkgname-doc" -source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz" - -disturl="dev.alpinelinux.org:/archive/$pkgname" -reporev="5881cff90359800b1d01ebc0bf35f53f4a67815d" -giturl="git://git.r-36.net/$pkgname" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - make CFLAGS="$CFLAGS \${INCS} \${CPPFLAGS}" \ - LDFLAGS="$LDFLAGS \${LIBS}" CC="${CC:-gcc}" \ - -C "$_builddir" || return 1 -} - -package() { - make DESTDIR="$pkgdir" PREFIX=/usr \ - -C "$_builddir" install || return 1 -} - -md5sums="126daa071ad3aefd8d30a5070280045b nlmon-0.3_git20160406.tar.gz" -sha256sums="912937f4aeac73fafb109a70447fd8df8b4c12bdcfe74776d638ab7d75fa5546 nlmon-0.3_git20160406.tar.gz" -sha512sums="634224e7b8f7f4cb8400210005f692e880171e2a1fa20824796c7db86a7ba54f69bb13f71c721e2a04105e8bd0a5dcd969ee09e472e8bf95e944ec5e345ccf9d nlmon-0.3_git20160406.tar.gz" diff --git a/unmaintained/node-sodium/APKBUILD b/unmaintained/node-sodium/APKBUILD deleted file mode 100644 index fb09fe8f946..00000000000 --- a/unmaintained/node-sodium/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Corey Oliver <coreyjonoliver@gmail.com> -# Maintainer: Corey Oliver <coreyjonoliver@gmail.com> -pkgname=node-sodium -_pkgname=sodium -pkgver=1.2.3 -pkgrel=2 -pkgdesc="Port of the lib sodium encryption library to Node.js" -url="https://github.com/paixaop/node-sodium" -arch="x86 x86_64" -license="MIT" -depends="nodejs" -makedepends="libsodium-dev=1.0.11-r0 python2 npm" -source="$pkgname-$pkgver.tar.gz::https://github.com/paixaop/$pkgname/archive/$pkgver.tar.gz -fix-gyp-binding.patch -remove-preinstall.patch -" -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare || return 1 - update_config_guess || return 1 -} - -build() { - cd "$builddir" - npm install && npm test && npm prune --production -} - -package() { - moduledir="$pkgdir/usr/lib/node_modules/$_pkgname" - - mkdir -p "$moduledir" - cp "$builddir/index.js" "$moduledir/index.js" - cp "$builddir/package.json" "$moduledir/package.json" - cp -r "$builddir/node_modules" "$moduledir/node_modules" - cp -r "$builddir/build" "$moduledir/build" - cp -r "$builddir/lib" "$moduledir/lib" -} - -sha512sums="60dd7e5bf07a87d22d25099caa3814a59175281a352c03cd7d589ba2163013e946e9853609f77be9d4115a0c2fd7a9463afaa1f42f954f6e89a6b6f2fbb238a8 node-sodium-1.2.3.tar.gz -95b18085d8d2143987dd011dfbd9b3386dae3254f936290f77565788cafb9c98ceb757354cba5a4866d0c6d3d4b95fa9dc9e1de985544358d6446cf0cbf29372 fix-gyp-binding.patch -f3b90002182d0f1f01fea450469e9d04cd4312479cf57a9742523bc60289704d70ae1e3356d9dee69e291bc86a0d091eee6ce41c288b30b5cbbcd20c44727f83 remove-preinstall.patch" diff --git a/unmaintained/node-sodium/fix-gyp-binding.patch b/unmaintained/node-sodium/fix-gyp-binding.patch deleted file mode 100644 index 0b32f9a37ba..00000000000 --- a/unmaintained/node-sodium/fix-gyp-binding.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/binding.gyp -+++ src/binding.gyp -@@ -79,7 +79,7 @@ - }], - ['OS=="linux"', { - 'libraries': [ -- '../deps/build/lib/libsodium.a' -+ '/usr/lib/libsodium.so.18.1.1' - ] - }] - ] diff --git a/unmaintained/node-sodium/remove-preinstall.patch b/unmaintained/node-sodium/remove-preinstall.patch deleted file mode 100644 index d9b55610f6b..00000000000 --- a/unmaintained/node-sodium/remove-preinstall.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/package.json -+++ src/package.json -@@ -18,7 +18,6 @@ - }, - "scripts": { - "test": "make test", -- "preinstall": "node install.js --preinstall", - "install": "node install.js --install" - }, - "repository": { diff --git a/unmaintained/notepadqq/APKBUILD b/unmaintained/notepadqq/APKBUILD deleted file mode 100644 index 89a9677bc99..00000000000 --- a/unmaintained/notepadqq/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=notepadqq -pkgver=1.4.8 -pkgrel=1 -pkgdesc="Notepad++-like text editor for Linux" -url="https://notepadqq.altervista.org/" -#arch="x86 x86_64" -license="GPL-3.0-only" # No source code headers -depends="coreutils qt5-qtwebkit qt5-qtsvg qt5-qtbase" -makedepends="qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev - qt5-qtwebkit-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" - -prepare() { - default_prepare - sed -i \ - -e 's:/lib/notepadqq/:/bin/:' \ - src/ui/ui.pro - sed -i -e 's:\.\./\.\.:\.\.:' src/ui/notepadqq.cpp -} - -build() { - qmake-qt5 PREFIX=/usr LRELEASE=/usr/lib/qt5/bin/lrelease notepadqq.pro - make -} - -check() { - make check -} - -package() { - make INSTALL_ROOT="$pkgdir" install -} - -sha512sums="fa1937b75a378fb81486a871a5b736f6ba216cd4b71f99e342e457de65ea034c2ee4d2c9f42754c4737671ccb1083fb1e6c946240ab2094042125430578141fa notepadqq-1.4.8.tar.gz" diff --git a/unmaintained/npapi-vlc/APKBUILD b/unmaintained/npapi-vlc/APKBUILD deleted file mode 100644 index 041b9b01fee..00000000000 --- a/unmaintained/npapi-vlc/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Taner Tas <taner76@gmail.com> -# Maintainer: Taner Tas <taner76@gmail.com> -pkgname=npapi-vlc -pkgver=2.2.6 -_pkglibver="0_git20180718" -pkgrel=1 -pkgdesc="NPAPI browser plugin based on libvlc" -url="https://code.videolan.org/videolan/npapi-vlc" -arch="all !s390x !mips !mips64 !armhf" # vlc missing -license="GPL-2.0-or-later" -makedepends="vlc-dev automake autoconf libtool npapi-sdk libx11-dev libxcb-dev - gtk+2.0-dev" -source="https://code.videolan.org/videolan/npapi-vlc/-/archive/$pkgver/npapi-vlc-${pkgver}.tar.bz2 - https://dev.alpinelinux.org/archive/$pkgname/libvlcpp-${_pkglibver}.tar.gz - " -builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - default_prepare - cd "$srcdir" - mv libvlcpp-master-* libvlcpp-master - cd "$builddir" - cp -rf "$srcdir"/libvlcpp-master/vlcpp . - ./autogen.sh -} - -check() { - cd "$builddir" - make check -} - -build() { - cd "$builddir" - ./configure --prefix=/usr - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="688ed0909955ec797fe23739e96220617be3e947025f83548a463f92d29578f5cb9015b1effa0ac4a43cf689be29368a602b9cb5b0475d2a90da94e9266d3c13 npapi-vlc-2.2.6.tar.bz2 -7a505e17b7bf3f74d39b63ae608ad72b59367f7653e935d35a616800e4dbddc95750f1437a3022f0d17f6ff34c40dc93b060ef35bb08973849d43b2332a5ebae libvlcpp-0_git20180718.tar.gz" diff --git a/unmaintained/ntop/APKBUILD b/unmaintained/ntop/APKBUILD deleted file mode 100644 index 083ad8b730a..00000000000 --- a/unmaintained/ntop/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=ntop -pkgver=5.0.1 -pkgrel=15 -pkgdesc="Network traffic probe" -url="https://www.ntop.org/" -arch="all" -license="GPL-3.0-only" -pkgusers="ntop" -pkggroups="ntop" -makedepends="autoconf automake freetype-dev gdbm-dev geoip-dev - libart-lgpl-dev libevent-dev libpcap-dev libpng-dev libtool libxml2-dev - lua-dev openssl-dev python2-dev rrdtool-dev subversion wget zlib-dev - linux-headers" -install="$pkgname.pre-install" -subpackages="$pkgname-dev $pkgname-doc" -source="https://sourceforge.net/projects/ntop/files/ntop/Stable/ntop-$pkgver.tar.gz - include-sys-types.h.patch - automake.patch - reorder_make_deps - ntop-rrdtool-1.6.0.patch - ntop.initd - ntop.confd - ntop-update-geoip-db" - -build() { - update_config_guess - update_config_sub - ./autogen.sh --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --disable-snmp - patch -p1 < "$srcdir"/reorder_make_deps - make -} - -package() { - make DESTDIR="$pkgdir" install - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - install -m755 -D "$srcdir"/ntop-update-geoip-db \ - "$pkgdir"/usr/bin/ntop-update-geoip-db - # ntop internal db dir - install -d -o ntop -g ntop -m755 "$pkgdir"/var/lib/ntop - chown -R ntop.ntop "$pkgdir"/usr/share/ntop -} - -sha512sums="f52c40e6c00c8d2f46b68078c5f9aef8ed78670f92a0a81f66f2f44c71d41bc4c001b4550f19b71c546f7c07cbbed15e0aa1ee13873ac63a11678bf2b8483f2a ntop-5.0.1.tar.gz -b67705152cd8723ba3e1c340ca55267134dddae04dd281fae262d07ce273a78d24bf40c297fe61ea7f70deb9cb7d59445e8a3ce360ed7810497e63052e1a9214 include-sys-types.h.patch -ce284679f9ecf589139b6cfdba95a76df5205f5292a5ff88b7cdeb39fe01b4fef27fb097a6a594017aa015a2474fea6c5729917423398a911e1732329ec1504a automake.patch -ab1fb14317721a18d044145ddb552f827ec02c042ae591af6e7a738c28defcce53767493f01dcc31a6f4bfeb0d8032ceeca330a425a6c6e4efde0b22f8e1be9e reorder_make_deps -3532acc6e54a1abdefeba42b3adb68cba1a0d1d2d6422e5b33fb9823b48481bb83696f097e65288c5811a6dd65ce20bff6d285d152776156b0690610d4026245 ntop-rrdtool-1.6.0.patch -22b61d88e1fc30106d07ee87701ff46b7f63f1ee2aa7bb5666d9cb5cb6251c583f793c80a5d799ac27fcb63650e7ecacb37e7992feb8aa8cbc2d326b36b05a8f ntop.initd -8693050cab03eeb29b59e0a7b173c7791625e8cd6bc33eaa5d74a50ab3ecf435577d7918626cfe3963a0d23d4522a737737b2b9fd8335df29784858a6191813d ntop.confd -7b5ae8dbd7d5d084c7278af1deb64a903b106663c3195df70acead3e8d7e14fbd996e69d5132c0ddac9147b3e70892c91695d834ab7b22fec2569efcd52df5f6 ntop-update-geoip-db" diff --git a/unmaintained/ntop/automake.patch b/unmaintained/ntop/automake.patch deleted file mode 100644 index db68ccee2b7..00000000000 --- a/unmaintained/ntop/automake.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ./configure.in.orig 2012-12-31 21:13:54.969154614 +0000 -+++ ./configure.in 2012-12-31 21:14:11.542636354 +0000 -@@ -56,7 +56,7 @@ - dnl> generate the config header - dnl> - umask 002 --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADER(config.h) - - HAS_ERROR= - HAS_WARNING= -@@ -324,7 +324,6 @@ - echo - echo "Checking C compiler program and features..." - echo --AM_PROG_CC_STDC - if test ".${ac_cv_prog_cc_stdc}" = ".no"; then - echo - echo "*******************************************************************" diff --git a/unmaintained/ntop/include-sys-types.h.patch b/unmaintained/ntop/include-sys-types.h.patch deleted file mode 100644 index dfb0e7378c6..00000000000 --- a/unmaintained/ntop/include-sys-types.h.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/nDPI/src/include/ipq_api.h.orig -+++ b/nDPI/src/include/ipq_api.h -@@ -24,6 +24,7 @@ - #ifndef __IPOQUE_API_INCLUDE_FILE__
- #define __IPOQUE_API_INCLUDE_FILE__
-
-+#include <sys/types.h>
-
- #if defined(HAVE_NTOP) && defined(WIN32)
- #include <winsock2.h>
---- a/nDPI/src/lib/ipq_main.c.orig -+++ b/nDPI/src/lib/ipq_main.c -@@ -21,6 +21,7 @@ - */ - - -+#include <sys/types.h> - #include "ipq_main.h" - #include "ipq_protocols.h" - #include "ipq_utils.h" diff --git a/unmaintained/ntop/ntop-rrdtool-1.6.0.patch b/unmaintained/ntop/ntop-rrdtool-1.6.0.patch deleted file mode 100644 index 51439390f17..00000000000 --- a/unmaintained/ntop/ntop-rrdtool-1.6.0.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -up ntop-5.0.1/configure.in.rrdtool ntop-5.0.1/configure.in ---- ntop-5.0.1/configure.in.rrdtool 2016-10-16 20:32:46.194496951 +0200 -+++ ntop-5.0.1/configure.in 2016-10-16 20:32:57.392486940 +0200 -@@ -893,19 +893,19 @@ else - fi - fi - --RRD_LIB="-L${RRD_HOME}/lib -lrrd_th" -+RRD_LIB="-L${RRD_HOME}/lib -lrrd" - --if test -f "$RRD_HOME/lib/librrd_th.so"; then -+if test -f "$RRD_HOME/lib/librrd.so"; then - AC_MSG_RESULT(checking for rrdtool... yes) - else -- if test -f "$RRD_HOME/lib/librrd_th.dylib"; then # OSX -+ if test -f "$RRD_HOME/lib/librrd.dylib"; then # OSX - AC_MSG_RESULT(checking for rrdtool... yes) - else -- if test -f "$RRD_HOME/lib/librrd_th.a"; then -+ if test -f "$RRD_HOME/lib/librrd.a"; then - AC_MSG_RESULT(checking for rrdtool... yes) - else -- AC_CHECK_LIB([rrd_th], [main]) -- if test ".${ac_cv_lib_rrd_th_main}" != ".yes"; then -+ AC_CHECK_LIB([rrd], [main]) -+ if test ".${ac_cv_lib_rrd_main}" != ".yes"; then - AC_MSG_ERROR(Unable to find RRD at $RRD_HOME: please use --with-rrd-home=DIR); - AC_MSG_ERROR(RRD source can be downloaded from http://www.rrdtool.org/); - else diff --git a/unmaintained/ntop/ntop-update-geoip-db b/unmaintained/ntop/ntop-update-geoip-db deleted file mode 100644 index 2bf3faaf68c..00000000000 --- a/unmaintained/ntop/ntop-update-geoip-db +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -BASE_URL=http://geolite.maxmind.com/download/geoip/database - -echo "Updating NTOP GeoIP databases..." - -cd /var/lib/ntop || exit - -for u in asnum/GeoIPASNum.dat.gz GeoLiteCity.dat.gz ; do - FILE_GZ=${u#*/} - FILE=${FILE_GZ%.gz} - wget -nv -O ${FILE_GZ} ${BASE_URL}/${u} && - gunzip < ${FILE_GZ} > .${FILE} && - mv -f .${FILE} ${FILE} && - rm -f ${FILE_GZ} || - exit -done - -/etc/init.d/ntop --quiet status && /etc/init.d/ntop restart - -echo "NTOP GeoIP databases were successfully updated" diff --git a/unmaintained/ntop/ntop.confd b/unmaintained/ntop/ntop.confd deleted file mode 100644 index 352a26fa9b1..00000000000 --- a/unmaintained/ntop/ntop.confd +++ /dev/null @@ -1,9 +0,0 @@ -# Config file for /etc/init.d/ntop - -# Set preferred options here -#NTOP_OPTS="--http-server 3000 --https-server 0 --interface eth0" - -# suggestions from bug #136983 (use it in case you experience ntop hangs) -#NTOP_OPTS="u ntop -P /var/lib/ntop --disable-schedyield --http-server 3000 --https-server 3001" - -NTOP_OPTS="-u ntop -P /var/lib/ntop" diff --git a/unmaintained/ntop/ntop.initd b/unmaintained/ntop/ntop.initd deleted file mode 100644 index ec9afd576f3..00000000000 --- a/unmaintained/ntop/ntop.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -checkconfig() { - if [ ! -e /var/lib/ntop/ntop_pw.db ]; then - eerror "You need to set a password first by running" - eerror "ntop --set-admin-password" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting ntop" - export LC_ALL=C # apparently doesn't work with some locales (#191576 and #205382) - export GDFONTPATH=/usr/share/fonts/corefonts # apparently the only font that works (#231705) - start-stop-daemon --start --exec /usr/bin/ntop -- -d -L ${NTOP_OPTS} - eend $? -} - -stop() { - ebegin "Stopping ntop" - start-stop-daemon --stop --retry 30 --pidfile /var/run/ntop.pid - eend $? -} diff --git a/unmaintained/ntop/ntop.pre-install b/unmaintained/ntop/ntop.pre-install deleted file mode 100755 index 0fea81baa7b..00000000000 --- a/unmaintained/ntop/ntop.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S ntop 2>/dev/null -adduser -S -D -H -h /var/lib/ntop -s /sbin/nologin -G ntop -g ntop ntop 2>/dev/null - -exit 0 diff --git a/unmaintained/ntop/reorder_make_deps b/unmaintained/ntop/reorder_make_deps deleted file mode 100644 index 3a104272eef..00000000000 --- a/unmaintained/ntop/reorder_make_deps +++ /dev/null @@ -1,11 +0,0 @@ ---- a/plugins/Makefile -+++ b/plugins/Makefile -@@ -793,7 +793,7 @@ - done - check-am: all-am - check: check-recursive --all-am: Makefile $(PROGRAMS) $(LTLIBRARIES) -+all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) - installdirs: installdirs-recursive - installdirs-am: - for dir in "$(DESTDIR)$(libdir)"; do \ diff --git a/unmaintained/ntopng/APKBUILD b/unmaintained/ntopng/APKBUILD deleted file mode 100644 index 5a984c6ab4f..00000000000 --- a/unmaintained/ntopng/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=ntopng -pkgver=2.4 -pkgrel=4 -pkgdesc="ntop next-generation" -url="http://www.ntop.org" -# luajit is not available for disabled arches -arch="all !s390x" -license="GPL" -depends= -pkgusers="ntop" -pkggroups="ntop" -makedepends="autoconf automake curl-dev geoip-dev glib-dev hiredis-dev - libpcap-dev libtool libxml2-dev lua-dev luajit-dev lua-redis libressl-dev - paxmark rrdtool-dev sqlite-dev wget zeromq-dev zlib-dev - linux-headers mariadb-connector-c-dev" -install="$pkgname.pre-install" -#subpackages="$pkgname-doc" -source="https://downloads.sourceforge.net/project/ntop/$pkgname/$pkgname-$pkgver-stable.tar.gz - $pkgname.initd - $pkgname.confd - ntopng-update-geoip-db - - " - -_builddir="$srcdir"/$pkgname-$pkgver-stable - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" MAN_DIR="$pkgdir/usr/share" install || return 1 - - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - install -m755 -D "$srcdir"/ntopng-update-geoip-db \ - "$pkgdir"/usr/bin/ntopng-update-geoip-db - # ntop internal db dir - install -d -o ntop -g ntop -m755 "$pkgdir"/var/lib/ntopng/geoip || return 1 - install -d -o ntop -g ntop -m755 "$pkgdir"/var/run/ntopng || return 1 - # need to disable PAX mprotect protection for luajit - paxmark -m "$pkgdir"/usr/bin/$pkgname || return 1 -} - -sha512sums="515dd7889ae3aaf2482371bb2c55ab7300cf4207fe07f37029b7529bfb710379c19a54f58cf6df87e42454c0c99d15291af334adff676252301d9edd0acf3c7a ntopng-2.4-stable.tar.gz -b7924953953470971e67e463260514c30a4a3038ecbb642aec1ad66d12b5af76bdda56c99de675a1fbb106664fa0e3779a4f35fdeedc94d65af486053b7650e1 ntopng.initd -bbe7a15e0aec59f12264f39bf33abb67a12b76adac3a6554fcf1e21849aea06fce1e0c0d9831836bd46105a5cc4b3eb780866934d8711386e1cb1218dbdbbe8b ntopng.confd -de509706c36e895159b4e57b5fe53f1fa8f32167416aad5fa391ac107f0e7e1a06fa5ce6d92816ef7cb13bf98bb74cb99fa482d03f77a6beb38eafe1d53d2deb ntopng-update-geoip-db" diff --git a/unmaintained/ntopng/ntopng-update-geoip-db b/unmaintained/ntopng/ntopng-update-geoip-db deleted file mode 100644 index 1ac05bc0e03..00000000000 --- a/unmaintained/ntopng/ntopng-update-geoip-db +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -BASE_URL=http://geolite.maxmind.com/download/geoip/database - -echo "Updating NTOP GeoIP databases..." - -cd /usr/share/ntopng/geoip || exit - -for u in \ - asnum/GeoIPASNum.dat.gz \ - asnum/GeoIPASNumv6.dat.gz \ - GeoLiteCity.dat.gz \ - GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz; do - FILE_GZ=${u#*/} - FILE=${FILE_GZ%.gz} - wget -O ${FILE_GZ} ${BASE_URL}/${u} && - gunzip < ${FILE_GZ} > .${FILE} && - mv -f .${FILE} ${FILE} && - rm -f ${FILE_GZ} || - exit -done - -rc-service ntopng status && rc-service ntopng restart - -echo "NTOP GeoIP databases were successfully updated" diff --git a/unmaintained/ntopng/ntopng.confd b/unmaintained/ntopng/ntopng.confd deleted file mode 100644 index 4d11cffe8ab..00000000000 --- a/unmaintained/ntopng/ntopng.confd +++ /dev/null @@ -1,8 +0,0 @@ -### Default options for ntopng - -# pidfile="/var/run/ntopng/ntopng.pid" -# exec_user=ntop -# command_args="--daemon --data-dir /var/lib/ntopng --httpdocs-dir /usr/share/ntopng/httpdocs --pid $pidfile -U $exec_user" - -### Additional options here -NTOPNG_OPTS="" diff --git a/unmaintained/ntopng/ntopng.initd b/unmaintained/ntopng/ntopng.initd deleted file mode 100644 index c625b2ca466..00000000000 --- a/unmaintained/ntopng/ntopng.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need net - use redis -} - -command="/usr/bin/ntopng" -pidfile="/var/run/ntopng/ntopng.pid" -: ${exec_user:=ntop} -: ${command_args:="--daemon --data-dir /var/lib/ntopng --httpdocs-dir /usr/share/ntopng/httpdocs --pid $pidfile -U $exec_user $NTOPNG_OPTS"} - -checkconfig() { - if [ ! -e /usr/share/ntopng/httpdocs/geoip/GeoIPASNum.dat ] || \ - [ ! -e /usr/share/ntopng/httpdocs/geoip/GeoLiteCity.dat ]; then - eerror "You need download the GeoIP database" - eerror "ntopng-update-geoip-db" - return 1 - fi -} - -prestart() { - checkconfig || return 1 - eend $? -} - diff --git a/unmaintained/ntopng/ntopng.pre-install b/unmaintained/ntopng/ntopng.pre-install deleted file mode 100755 index 0fea81baa7b..00000000000 --- a/unmaintained/ntopng/ntopng.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S ntop 2>/dev/null -adduser -S -D -H -h /var/lib/ntop -s /sbin/nologin -G ntop -g ntop ntop 2>/dev/null - -exit 0 diff --git a/unmaintained/ocaml-camlp5/APKBUILD b/unmaintained/ocaml-camlp5/APKBUILD deleted file mode 100644 index 8a0bce3d26e..00000000000 --- a/unmaintained/ocaml-camlp5/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: alpine-mips-patches <info@mobile-stream.com> -# Maintainer: alpine-mips-patches <info@mobile-stream.com> -pkgname=ocaml-camlp5 -_pkgname=camlp5 -pkgver=8.00.01 -_pkgver="rel$pkgver" -pkgrel=0 -pkgdesc="Preprocessor-pretty-printer of OCaml" -url="https://camlp5.github.io" -arch="all !riscv64" # restricted by ocaml -license="BSD-3-Clause" -depends="ocaml-runtime" -makedepends="ocaml ocaml-compiler-libs perl" -options="!check" -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$_pkgver.tar.gz::https://github.com/camlp5/$_pkgname/archive/$_pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$_pkgver" - -build() { - ./configure \ - --prefix /usr \ - --bindir /usr/bin \ - --libdir /usr/lib/ocaml \ - --mandir /usr/share/man - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -dev() { - # mkcamlp5* call ocamlc - depends="$pkgname=$pkgver-r$pkgrel ocaml ocaml-compiler-libs" - pkgdesc="$pkgdesc (development files)" - - local _bindir="usr/bin" - mkdir -p "$subpkgdir/$_bindir" - mv "$pkgdir/$_bindir/"mkcamlp5* "$subpkgdir/$_bindir" - - local _camlp5dir="usr/lib/ocaml/camlp5" - mkdir -p "$subpkgdir/$_camlp5dir" - for p in '*.a' '*.cmx' '*.cmxa' '*.mli' '*.o'; do - mv "$pkgdir/$_camlp5dir/"$p "$subpkgdir/$_camlp5dir" - done -} - -sha512sums=" -f40e57845ac4a14cf260ddd9df616d12df09f67efaf6735e915598aee981721e8203bf9203fb83d08e34e43021c08003de64dbf3bdcd4d12fd079542fb7649aa ocaml-camlp5-rel8.00.01.tar.gz -" diff --git a/unmaintained/ocaml-csv/APKBUILD b/unmaintained/ocaml-csv/APKBUILD deleted file mode 100644 index 8b74c977691..00000000000 --- a/unmaintained/ocaml-csv/APKBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -# TODO: Build csv-lwt (?). -pkgname=ocaml-csv -_pkgname=csv -pkgver=2.2 -pkgrel=1 -pkgdesc="OCaml library for reading and writing CSV files" -url="https://github.com/Chris00/ocaml-csv" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml abuild -license="LGPL-2.1-or-later" -depends="ocaml-runtime" -depends_dev="$pkgname=$pkgver-r$pkgrel" -makedepends="dune ocaml ocaml-findlib opam" -subpackages="$pkgname-dev csvtool" -source="$pkgname-$pkgver.tar.bz2::https://github.com/Chris00/$pkgname/releases/download/$pkgver/csv-$pkgver.tbz" -builddir="$srcdir/$_pkgname-$pkgver" -options="textrels !check" # FIXME check requires package lwt - -build() { - dune build -p csv @install -} - -package() { - mkdir -p "$pkgdir"/usr/lib/ocaml - dune install \ - --destdir="$pkgdir" \ - --prefix=/usr \ - --libdir=/usr/lib/ocaml \ - csv - - cd "$pkgdir" - - # Remove annotation files, some generated code (?) and sources. - find usr/lib/ocaml \ - -name '*.cmt' -delete \ - -o -name '*.cmti' -delete \ - -o -name '*.ml-gen' -delete \ - -o -name '*.ml' -delete - - # Contains just a readme and changelog. - rm -Rf usr/doc -} - -dev() { - local sitelib="usr/lib/ocaml/$_pkgname" - - default_dev - - cd "$pkgdir"/$sitelib - mkdir -p "$subpkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -csvtool() { - pkgdesc="A command line tool for handling CSV files" - depends="" - - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ -} - -sha512sums="f9db9f2b9934ba568c6546fc0ebbfcff7de9f3383b619a5bc49566bbbca37d8fc1ae967014012b9bf547ffd04911888df3c588bdefc0f24ce4869353f4f10207 ocaml-csv-2.2.tar.bz2" diff --git a/unmaintained/ocaml-dtoa/APKBUILD b/unmaintained/ocaml-dtoa/APKBUILD deleted file mode 100644 index a79f979588b..00000000000 --- a/unmaintained/ocaml-dtoa/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-dtoa -_pkgname=dtoa -pkgver=0.3.2 -pkgrel=1 -pkgdesc="double-to-ascii ocaml implementation" -url="https://github.com/flowtype/ocaml-dtoa" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="MIT" -depends="ocaml-runtime" -checkdepends="ocaml-ounit-dev" -makedepends="dune ocaml ocaml-findlib opam" -subpackages="$pkgname-dev" -source="https://github.com/flowtype/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz - bignum_align-noinline.patch - " - -build() { - dune build @install -} - -check() { - dune runtest -} - -package() { - mkdir -p "$pkgdir"/usr/lib/ocaml - dune install \ - --destdir="$pkgdir" \ - --prefix=/usr \ - --libdir=/usr/lib/ocaml - - # There's just a readme and changelog. - rm -Rf "$pkgdir"/usr/doc - - # Remove annotation files and sources. - cd "$pkgdir"/usr/lib/ocaml/$_pkgname - rm -f *.cmt* *.ml -} - -dev() { - default_dev - - depends="$pkgname=$pkgver-r$pkgrel" - local sitelib="usr/lib/ocaml/$_pkgname" - - mkdir -p "$subpkgdir"/$sitelib - - cd "$pkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -sha512sums="a5dcce83f53725c45b0891f6af6275c5e617d536a2d491852215c9aefbbd22c7ac65f2738795eaba3a162e360d2fa86b33a98cdefb030230045789179c300604 ocaml-dtoa-0.3.2.tar.gz -b5974d89debc14fb0beeb31a08d4a3d82298336488fc907005bcc2fcb1c5a1df12bc2b596956809f4982d9125995d01f08312f5591bd8857c6f0b136bf9aeb25 bignum_align-noinline.patch" diff --git a/unmaintained/ocaml-dtoa/bignum_align-noinline.patch b/unmaintained/ocaml-dtoa/bignum_align-noinline.patch deleted file mode 100644 index 1968f253d7a..00000000000 --- a/unmaintained/ocaml-dtoa/bignum_align-noinline.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Mike Sullivan <mksully22@gmail.com> -Date: Mon, 9 Jul 2018 16:17:10 +0000 -Subject: [PATCH] Avoid flow link error on ppc64 by eliminating bignum_align inlining - -The libtoa_stubs.a library created when building ocaml-dtoa on ppc64le -contains the bignum_align.part.4 section created by the compiler -optimizing the bignum_align(). This causes the linking against the -library on ppc64le to report errors like we see when building the -flow package. For example: - - /usr/lib/gcc/powerpc64le-alpine-linux-musl/6.4.0/../../../../powerpc64le-alpine-linux-musl/bin/ld: /usr/lib/ocaml/lwt/liblwt_unix_stubs.a(unix_lseek_job.o): In function `result_lseek': - /home/buildozer/aports/testing/ocaml-lwt/src/lwt-3.2.1/_build/default/src/unix/unix_lseek_job.c:113:(.text+0xb8): call to `result_lseek.part.0' lacks nop, can't restore toc; (-mcmodel=small toc adjust stub) - /usr/lib/gcc/powerpc64le-alpine-linux-musl/6.4.0/../../../../powerpc64le-alpine-linux-musl/bin/ld: /usr/lib/ocaml/lwt/liblwt_unix_stubs.a(unix_lseek_job.o): In function `result_lseek_64': - /home/buildozer/aports/testing/ocaml-lwt/src/lwt-3.2.1/_build/default/src/unix/unix_lseek_job.c:134:(.text+0x134): call to `result_lseek_64.part.1' lacks nop, can't restore toc; (-mcmodel=small toc adjust stub) - ---- a/src/bignum.c 2018-07-09 14:12:25.025413017 +0000 -+++ b/src/bignum.c 2018-07-09 14:13:23.210604404 +0000 -@@ -86,7 +86,7 @@ - } - - --void bignum_align(bignum* num, bignum other) { -+__attribute__((noinline)) void bignum_align(bignum* num, bignum other) { - if (num->exponent > other.exponent) { - // If "X" represents a "hidden" digit (by the exponent) then we are in the - // following case (a == this, b == other): diff --git a/unmaintained/ocaml-migrate-parsetree/APKBUILD b/unmaintained/ocaml-migrate-parsetree/APKBUILD deleted file mode 100644 index d6d1d229b20..00000000000 --- a/unmaintained/ocaml-migrate-parsetree/APKBUILD +++ /dev/null @@ -1,80 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-migrate-parsetree -pkgver=1.0.11 -pkgrel=1 -pkgdesc="Convert OCaml parsetrees between different major versions" -url="https://github.com/ocaml-ppx/ocaml-migrate-parsetree" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml -license="LGPL-2.1-only-WITH-linking-exception" -depends="ocaml-result ocaml-runtime" -depends_dev="ocaml-result-dev" -makedepends="$depends_dev dune ocaml ocaml-compiler-libs ocaml-findlib - ocaml-ocamlbuild-dev opam" -options="textrels" # ppc64le (?!) -subpackages="$pkgname-dev $pkgname-ocamlbuild" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml-ppx/$pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - jbuilder build @install -} - -check() { - cd "$builddir" - jbuilder runtest -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/usr/lib/ocaml - jbuilder install \ - --destdir="$pkgdir/usr" \ - --libdir="$pkgdir/usr/lib/ocaml" - - cd "$pkgdir" - - find usr/lib/ocaml -name '*.cmxs' -exec chmod 0755 {} \; - - # Remove annotation files, sources and some generated code (?). - find usr/lib/ocaml \( \ - -name '*.cmt' -o \ - -name '*.cmti' -o \ - -name '*.ml' -o \ - -name '*.ml-gen' \) -delete - - # There's just a readme, changelog etc. - rm -Rf usr/doc -} - -ocamlbuild() { - pkgdesc="$pkgdesc (ocamlbuild plugin)" - depends="$pkgname=$pkgver-r$pkgrel ocaml-ocamlbuild" - - mkdir -p "$subpkgdir"/usr/lib/ocaml - mv "$pkgdir"/usr/lib/ocaml/$pkgname-ocamlbuild "$subpkgdir"/usr/lib/ocaml/ -} - -dev() { - default_dev - - depends="$depends_dev - $pkgname=$pkgver-r$pkgrel - $pkgname-ocamlbuild=$pkgver-r$pkgrel" - - cd "$pkgdir" - - local path; for path in $(find usr/lib/ocaml/$pkgname*/ \ - -name '*.cmx' -o \ - -name '*.cmxa' -o \ - -name '*.mli') - do - mkdir -p "${path%/*}" - mv "$path" "$subpkgdir"/${path%/*}/ - rmdir "$path" 2>/dev/null || true - done -} - -sha512sums="37d877ab00e6ff6c93916da49a6bdeb0af16f4ce9cc32fe1c41438c7e344bc5a5400432f11edc44b73c8308bc509d0b393344f9d2a626677a658801655276821 ocaml-migrate-parsetree-1.0.11.tar.gz" diff --git a/unmaintained/ocaml-ppx_gen_rec/APKBUILD b/unmaintained/ocaml-ppx_gen_rec/APKBUILD deleted file mode 100644 index 3b62da06252..00000000000 --- a/unmaintained/ocaml-ppx_gen_rec/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-ppx_gen_rec -_pkgname=ppx_gen_rec -pkgver=1.0.0 -pkgrel=1 -pkgdesc="OCaml preprocessor that generates a recursive module" -url="https://github.com/flowtype/ocaml-ppx_gen_rec" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="MIT" -depends="ocaml-runtime ocaml-migrate-parsetree" -makedepends="dune ocaml ocaml-compiler-libs ocaml-findlib ocaml-migrate-parsetree-dev opam" -options="!check" # no tests provided -subpackages="$pkgname-dev" -source="https://github.com/flowtype/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - jbuilder build @install -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/usr/lib/ocaml - jbuilder install \ - --destdir="$pkgdir/usr" \ - --libdir="$pkgdir/usr/lib/ocaml" - - # There's just a readme and changelog. - rm -Rf "$pkgdir"/usr/doc - - # Remove annotation files and sources. - cd "$pkgdir"/usr/lib/ocaml/$_pkgname - rm -f *.cmt* *.ml -} - -dev() { - default_dev - - depends="$pkgname=$pkgver-r$pkgrel" - local sitelib="usr/lib/ocaml/$_pkgname" - - cd "$pkgdir"/$sitelib - - mkdir -p "$subpkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -sha512sums="7eb5f131646e984e7e5bd2765604f532772bb2f706fec607581ee10f1ebae4ffb3e032da93550c1ffa7e024690ed06bc2d7355cf66949198ec853ac60fdd5a8e ocaml-ppx_gen_rec-1.0.0.tar.gz" diff --git a/unmaintained/ocaml-ppx_tools/APKBUILD b/unmaintained/ocaml-ppx_tools/APKBUILD deleted file mode 100644 index 3fb99c0480a..00000000000 --- a/unmaintained/ocaml-ppx_tools/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-ppx_tools -_pkgname=ppx_tools -pkgver=5.1 -pkgrel=2 -_ocamlver=4.06 -_pkgver="$pkgver+$_ocamlver.0" -pkgdesc="Tools for authors of ppx rewriters" -url="https://github.com/ocaml-ppx/ppx_tools" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="MIT" -depends="ocaml-findlib ocaml-runtime" -depends_dev="$pkgname=$pkgver-r$pkgrel" -makedepends="ocaml=~$_ocamlver ocaml-compiler-libs=~$_ocamlver" -options="!check" # no tests provided -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml-ppx/$_pkgname/archive/$_pkgver.tar.gz" -builddir="$srcdir/$_pkgname-${_pkgver/+/-}" - -build() { - cd "$builddir" - make -j1 -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir/usr/lib/ocaml" - OCAMLFIND_DESTDIR="$pkgdir/usr/lib/ocaml" \ - make install - - # Remove annotation files. - rm -Rf "$pkgdir"/usr/lib/ocaml/$_pkgname/*.cmt* -} - -dev() { - local sitelib="usr/lib/ocaml/$_pkgname" - default_dev - - cd "$pkgdir"/$sitelib - - mkdir -p "$subpkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -sha512sums="9adab758f2e68f155775559ed6568b1c3338d03291a27108b7e47a4fc5bbe65c6451c9bb90fc3270b62148213dfcc30b709b6a95e99d218884f915b48ecda9ff ocaml-ppx_tools-5.1.tar.gz" diff --git a/unmaintained/ocaml-ppx_tools_versioned/APKBUILD b/unmaintained/ocaml-ppx_tools_versioned/APKBUILD deleted file mode 100644 index db25483c88d..00000000000 --- a/unmaintained/ocaml-ppx_tools_versioned/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-ppx_tools_versioned -_pkgname=ppx_tools_versioned -pkgver=5.2 -pkgrel=1 -pkgdesc="Tools for authors of ppx rewriters" -url="https://github.com/ocaml-ppx/ppx_tools_versioned" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="MIT" -depends="ocaml-runtime ocaml-migrate-parsetree" -makedepends="dune ocaml ocaml-compiler-libs ocaml-findlib - ocaml-migrate-parsetree-dev opam" -# textrels needed for ppc64le -# no tests provided -options="textrels !check" -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml-ppx/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - jbuilder build @install -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/usr/lib/ocaml - jbuilder install \ - --destdir="$pkgdir"/usr \ - --libdir="$pkgdir"/usr/lib/ocaml - - # There's just a readme and changelog. - rm -Rf "$pkgdir"/usr/doc - - # Remove annotation files and sources. - cd "$pkgdir"/usr/lib/ocaml/$_pkgname - rm -f *.cmt* */*.cmt* *.ml */*.ml -} - -dev() { - default_dev - depends="$pkgname=$pkgver-r$pkgrel" - - cd "$pkgdir" - - local path; for path in $(find usr/lib/ocaml/$_pkgname \ - -name '*.cmx' \ - -o -name '*.cmxa' \ - -o -name '*.mli') - do - mkdir -p "${path%/*}" - mv "$path" "$subpkgdir"/${path%/*}/ - done -} - -sha512sums="1efb7fc24f0b909d948aca53abee6e0613aaf101e6cf914772557ec00c879890d50b9c6e232f55a54381eab164a40d796d953b4992ef40a6e9141abd2b409cba ocaml-ppx_tools_versioned-5.2.tar.gz" diff --git a/unmaintained/ocaml-reactivedata/APKBUILD b/unmaintained/ocaml-reactivedata/APKBUILD deleted file mode 100644 index 08387890591..00000000000 --- a/unmaintained/ocaml-reactivedata/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-reactivedata -_pkgname=reactiveData -pkgver=0.2.1 -pkgrel=2 -pkgdesc="FRP with incremental changes in data structures for OCaml" -url="https://github.com/ocsigen/reactiveData/" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="LGPL-2.1-or-later-WITH-linking-exception" -depends="ocaml-react ocaml-runtime" -depends_dev="$pkgname=$pkgver-r$pkgrel" -makedepends="ocaml ocaml-findlib ocaml-react-dev ocamlbuild opam" -options="!check" # no tests provided -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - make -} - -package() { - cd "$builddir" - - opam-installer -i \ - --prefix="$pkgdir/usr" \ - --libdir="$pkgdir/usr/lib/ocaml" \ - --docdir="$builddir/.omit" \ - $_pkgname.install - - # Remove annotation files. - rm -Rf "$pkgdir"/usr/lib/ocaml/$_pkgname/*.cmt* -} - -dev() { - local sitelib="usr/lib/ocaml/$_pkgname" - default_dev - - cd "$pkgdir"/$sitelib - - mkdir -p "$subpkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -sha512sums="e4dad870fd1f669566394d9c2ab52665a3d27f6b2dd3807dba245d89ca90eda08b98b266fb0795bcfa5cb4ffed7a86aa719f8db5c316b0d920ee3c342493d029 ocaml-reactivedata-0.2.1.tar.gz" diff --git a/unmaintained/ocaml-tyxml/APKBUILD b/unmaintained/ocaml-tyxml/APKBUILD deleted file mode 100644 index 5540c511867..00000000000 --- a/unmaintained/ocaml-tyxml/APKBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-tyxml -_pkgname=tyxml -pkgver=4.2.0 -pkgrel=2 -pkgdesc="OCaml library for building statically correct HTML and SVG documents" -url="https://ocsigen.org/tyxml/" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="LGPL-2.1-or-later" -depends="ocaml-runtime ocaml-re ocaml-uchar ocaml-uutf" -depends_dev="$pkgname=$pkgver-r$pkgrel $pkgname-ppx=$pkgver-r$pkgrel" -makedepends=" - ocaml - ocaml-compiler-libs - ocaml-ocamldoc - ocaml-findlib - ocaml-markup-dev - ocaml-migrate-parsetree-dev - ocaml-ocamlbuild-dev - ocaml-ppx_tools_versioned-dev - ocaml-re-dev - ocaml-uchar-dev - ocaml-uutf-dev - ocamlbuild - " -options="!check" # requires additional dependencies -subpackages="$pkgname-dev $pkgname-ppx" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -_sitelib="usr/lib/ocaml/$_pkgname" - -build() { - cd "$builddir" - - # --disable-syntax - Camlp4-based syntax is deprecated - ./configure \ - --destdir="$pkgdir" \ - --prefix=/usr \ - --disable-syntax \ - --disable-tests - make -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"/usr/lib/ocaml - make install OCAMLFIND_DESTDIR="$pkgdir/usr/lib/ocaml" - - # Remove annotation files and sources. - cd "$pkgdir"/usr/lib/ocaml/$_pkgname - rm -f *.annot *.cmt* *.ml -} - -dev() { - default_dev - - cd "$pkgdir"/$_sitelib - _mv *.cmx *.cmxa *.mli "$subpkgdir"/$_sitelib/ -} - -ppx() { - pkgdesc="$pkgdesc (ppx syntax extension)" - depends="$pkgname=$pkgver-r$pkgrel ocaml-markup ocaml-ppx_tools_versioned" - - _mv "$pkgdir"/$_sitelib/ppx_* "$subpkgdir"/$_sitelib/ -} - -_mv() { - local dest; for dest; do true; done # get last argument - mkdir -p "$dest" - mv "$@" -} - -sha512sums="555df1fdf5eb30592a3bd93b7d08345964b1cd6e16c2f746ef777cb3c5fc9a31dddf316432e0457d317eaf7728c5d1156982956169a7b1eb9b660eedcf89ca58 ocaml-tyxml-4.2.0.tar.gz" diff --git a/unmaintained/ocaml-uchar/APKBUILD b/unmaintained/ocaml-uchar/APKBUILD deleted file mode 100644 index 7f1297e1df7..00000000000 --- a/unmaintained/ocaml-uchar/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -# -# NOTE: This is just a dummy module to satisfy dependencies, uchar is provided -# directly by ocaml since 4.03. -pkgname=ocaml-uchar -_pkgname=uchar -pkgver=0.0.2 -pkgrel=1 -pkgdesc="Compatibility library for OCaml's Uchar module" -url="https://github.com/ocaml/uchar" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="LGPL-2.1-WITH-linking-exception" -depends="ocaml-runtime" -depends_dev="$pkgname=$pkgver-r$pkgrel" -makedepends="ocaml ocamlbuild opam" -options="!check" # no tests provided -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml/uchar/archive/v$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - - ocaml pkg/build.ml \ - native=true \ - native-dynlink=true -} - -package() { - cd "$builddir" - - opam-installer -i \ - --prefix="$pkgdir/usr" \ - --libdir="$pkgdir/usr/lib/ocaml" \ - $_pkgname.install -} - -dev() { - default_dev - mkdir -p "$subpkgdir"/usr/lib/ocaml/$_pkgname -} - -sha512sums="487a9706cf9dfc9b9c94442a51766cc211687d6ebcb4dd3c94d09cb1ed6d7fd61e966e91a4121fe2d1681b2fd6bfee9079d3bccccdb6d65ba2111524ab5dd1bc ocaml-uchar-0.0.2.tar.gz" diff --git a/unmaintained/ocaml-wtf8/APKBUILD b/unmaintained/ocaml-wtf8/APKBUILD deleted file mode 100644 index e2562295029..00000000000 --- a/unmaintained/ocaml-wtf8/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ocaml-wtf8 -_pkgname=wtf8 -pkgver=1.0.2 -pkgrel=1 -pkgdesc="An ocaml library that implements a WTF-8 encoder and decoder" -url="https://github.com/flowtype/ocaml-wtf8" -arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport -license="MIT" -depends="ocaml-runtime" -makedepends="dune ocaml ocaml-findlib opam" -options="!check" # no tests provided -subpackages="$pkgname-dev" -source="https://github.com/flowtype/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz" - -build() { - dune build @install -} - -package() { - mkdir -p "$pkgdir"/usr/lib/ocaml - dune install \ - --destdir="$pkgdir" \ - --prefix=/usr \ - --libdir=/usr/lib/ocaml - - # There's just a readme and changelog. - rm -Rf "$pkgdir"/usr/doc - - # Remove annotation files and sources. - cd "$pkgdir"/usr/lib/ocaml/$_pkgname - rm -f *.cmt* *.ml - - chmod +x *.cmxs -} - -dev() { - default_dev - - depends="$pkgname=$pkgver-r$pkgrel" - local sitelib="usr/lib/ocaml/$_pkgname" - - mkdir -p "$subpkgdir"/$sitelib - - cd "$pkgdir"/$sitelib - mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/ -} - -sha512sums="3e7a65e0085a84648e4758faf6873a7b6d037d0e45ac6be3f545b0ab9676287a31b803d5ceb0d93f8f34b771dd80b7b8770af06227a2ebfc8e0a9f12d21a7215 ocaml-wtf8-1.0.2.tar.gz" diff --git a/unmaintained/oha/APKBUILD b/unmaintained/oha/APKBUILD deleted file mode 100644 index e0398c32f26..00000000000 --- a/unmaintained/oha/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Michał Polański <michal@polanski.me> -# Maintainer: -pkgname=oha -pkgver=0.4.6 -pkgrel=0 -pkgdesc="HTTP load generator, inspired by rakyll/hey with tui animation" -url="https://github.com/hatoo/oha" -# s389x, mips, mips64: limited by cargo -# armhf, armv7: ftbfs -arch="all !s390x !mips !mips64 !armhf !armv7" -license="MIT" -makedepends="cargo openssl-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/hatoo/oha/archive/v$pkgver.tar.gz" - -build() { - cargo build --release --locked -} - -check() { - cargo test --release --locked -} - -package() { - install -Dm755 target/release/oha "$pkgdir"/usr/bin/oha -} - -sha512sums=" -9d2b8306c5663daca2c3b55a2c0e313bb72a42044ef5ef56ab91dac44027e12b380b3a03b35b0bf6b6c28bf81a7789668cb9740264788ed7d83b078405b28310 oha-0.4.6.tar.gz -" diff --git a/unmaintained/open-zwave-control-panel/APKBUILD b/unmaintained/open-zwave-control-panel/APKBUILD deleted file mode 100644 index f38b80fd53a..00000000000 --- a/unmaintained/open-zwave-control-panel/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> -# Maintainer: -pkgname=open-zwave-control-panel -pkgver=20170321 -_sha=bbbd461c5763faab4949b12da12901f2d6f00f48 -pkgrel=1 -pkgdesc="The OpenZWave Control Panel" -url="https://github.com/OpenZWave/open-zwave-control-panel" -arch="" # Fails to compile due to new libmicrohttpd version -license="custom" -makedepends="libmicrohttpd-dev openzwave-dev tinyxml-dev gnutls-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/OpenZWave/open-zwave-control-panel/archive/$_sha.tar.gz - makefile.patch - " -builddir="$srcdir/$pkgname-$_sha" - -build() { - make -} - -package() { - install -Dm755 ozwcp "$pkgdir"/usr/bin/ozwcp - for i in *.js *.html; do - install -Dm644 $i "$pkgdir/usr/share/$pkgname/$i" - done -} - -sha512sums="b688dec8b2a281f233e05e34e90923ed7848e930625dad19e44ece70cd2a1abe3bb23030fc528ef78e1b37e33068973f1b1637319d299d8d88a0328a41b2bff0 open-zwave-control-panel-20170321.tar.gz -8540d69445526834b39c6fc670de7d4c4e3cbf6ce007b776a4fa6f8ccf018aaf330f87894343797831292dc85efb7a7d371da691a1e4f4d3c59b63d10d2c139a makefile.patch" diff --git a/unmaintained/open-zwave-control-panel/makefile.patch b/unmaintained/open-zwave-control-panel/makefile.patch deleted file mode 100644 index 5baea5a4cad..00000000000 --- a/unmaintained/open-zwave-control-panel/makefile.patch +++ /dev/null @@ -1,81 +0,0 @@ ---- ./Makefile -+++ ./Makefile.new -@@ -13,59 +13,45 @@ - RANLIB := $(CROSS_COMPILE)ranlib - - DEBUG_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 --RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Werror -Wno-format -O3 -DNDEBUG -+RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3 -DNDEBUG - - DEBUG_LDFLAGS := -g - - # Change for DEBUG or RELEASE --CFLAGS := -c $(DEBUG_CFLAGS) --LDFLAGS := $(DEBUG_LDFLAGS) -+CFLAGS := -c $(RELEASE_CFLAGS) -+LDFLAGS := $(RELEASE_CFLAGS) - --OPENZWAVE := ../open-zwave/ --LIBMICROHTTPD := -L/usr/local/lib/ -lmicrohttpd -+OPENZWAVE := /usr/include/openzwave -+LIBMICROHTTPD := -L/usr/lib/ -lmicrohttpd - --INCLUDES := -I $(OPENZWAVE)/cpp/src -I $(OPENZWAVE)/cpp/src/command_classes/ \ -- -I $(OPENZWAVE)/cpp/src/value_classes/ -I $(OPENZWAVE)/cpp/src/platform/ \ -- -I $(OPENZWAVE)/cpp/src/platform/unix -I $(OPENZWAVE)/cpp/tinyxml/ \ -- -I /usr/local/include/ -+INCLUDES := -I $(OPENZWAVE) -I $(OPENZWAVE)/command_classes/ \ -+ -I $(OPENZWAVE)/value_classes/ -I $(OPENZWAVE)/platform/ \ -+ -I $(OPENZWAVE)/platform/unix -I $(OPENZWAVE)/tinyxml/ \ -+ -I /usr/include/ - - # Remove comment below for gnutls support --#GNUTLS := -lgnutls -+GNUTLS := -lgnutls - - # for Linux uncomment out next three lines - LIBZWAVE := $(wildcard $(OPENZWAVE)/*.a) --#LIBUSB := -ludev --#LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB) -lresolv -+LIBUSB := -ludev -+LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB) -lresolv -ltinyxml -lopenzwave - --# for Mac OS X comment out above 2 lines and uncomment next 5 lines --#ARCH := -arch i386 -arch x86_64 --#CFLAGS += $(ARCH) --#LIBZWAVE := $(wildcard $(OPENZWAVE)/cpp/lib/mac/*.a) --LIBUSB := -framework IOKit -framework CoreFoundation --LIBS := $(LIBZWAVE) $(GNUTLS) $(LIBMICROHTTPD) -pthread $(LIBUSB) $(ARCH) -lresolv -- - %.o : %.cpp - $(CXX) $(CFLAGS) $(INCLUDES) -o $@ $< - - %.o : %.c - $(CC) $(CFLAGS) $(INCLUDES) -o $@ $< - --all: defs ozwcp -+all: ozwcp - -+ozwcp.o: ozwcp.h webserver.h $(OPENZWAVE)/Options.h $(OPENZWAVE)/Manager.h \ -+ $(OPENZWAVE)/Node.h $(OPENZWAVE)/Group.h \ -+ $(OPENZWAVE)/Notification.h $(OPENZWAVE)/platform/Log.h - --defs: --ifeq ($(LIBZWAVE),) -- @echo Please edit the Makefile to avoid this error message. -- @exit 1 --endif -- --ozwcp.o: ozwcp.h webserver.h $(OPENZWAVE)/cpp/src/Options.h $(OPENZWAVE)/cpp/src/Manager.h \ -- $(OPENZWAVE)/cpp/src/Node.h $(OPENZWAVE)/cpp/src/Group.h \ -- $(OPENZWAVE)/cpp/src/Notification.h $(OPENZWAVE)/cpp/src/platform/Log.h -- --webserver.o: webserver.h ozwcp.h $(OPENZWAVE)/cpp/src/Options.h $(OPENZWAVE)/cpp/src/Manager.h \ -- $(OPENZWAVE)/cpp/src/Node.h $(OPENZWAVE)/cpp/src/Group.h \ -- $(OPENZWAVE)/cpp/src/Notification.h $(OPENZWAVE)/cpp/src/platform/Log.h -+webserver.o: webserver.h ozwcp.h $(OPENZWAVE)/Options.h $(OPENZWAVE)/Manager.h \ -+ $(OPENZWAVE)/Node.h $(OPENZWAVE)/Group.h \ -+ $(OPENZWAVE)/Notification.h $(OPENZWAVE)/platform/Log.h - - ozwcp: ozwcp.o webserver.o zwavelib.o $(LIBZWAVE) - $(LD) -o $@ $(LDFLAGS) ozwcp.o webserver.o zwavelib.o $(LIBS) diff --git a/unmaintained/openjfx11/APKBUILD b/unmaintained/openjfx11/APKBUILD deleted file mode 100644 index 9c6af5ec16d..00000000000 --- a/unmaintained/openjfx11/APKBUILD +++ /dev/null @@ -1,267 +0,0 @@ -# Contributor: Simon Frankenberger <simon-alpine@fraho.eu> -# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu> -pkgname=openjfx11 -pkgver=11.0.4_p1 -_pkgver=${pkgver/_p/+} -pkgrel=1 -pkgdesc="Open JavaFX 11" -url="https://hg.openjdk.java.net/openjfx/11-dev/rt" -arch="" # fails on aarch64&ppc64le and hangs then -# openjdk11 is not yet available on 32 bit arches -license="GPL-2.0-with-classpath-exception" -depends="$pkgname-gtk3" # for the virtual openjfx11 package -makedepends="binutils-gold - cmake - ninja - python2 - gperf - openjdk11-jdk - alsa-lib-dev - ffmpeg-dev - freetype-dev - gtk+2.0-dev - gtk+3.0-dev - icu-dev - ruby-dev - sqlite-dev" -subpackages="$pkgname-media:_media - $pkgname-web:_web - $pkgname-jmods:_jmods:noarch - $pkgname-src:_src:noarch - $pkgname-doc:_doc:noarch - $pkgname-gtk2:_gtk2 - $pkgname-gtk3:_gtk3 - $pkgname-libs:_libs - $pkgname-base:_base:noarch - $pkgname-scenebuilder:_scenebuilder:noarch - $pkgname-dev:_dev:noarch" -source="openjfx-$_pkgver.tar.bz2::http://hg.openjdk.java.net/openjfx/11-dev/rt/archive/$_pkgver.tar.bz2 - https://archive.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.zip - - configure-ant-home.patch - crosscompile.patch - disable-architecture-verification.patch - disable-assembler-on-unsupported-archs.patch - disable-jit-for-non-x86.patch - disable-sse2.patch - disable-webkit-sampling-profiler.patch - fix-arm32-build.patch - fix-arm64-build.patch - gcc-no-error.patch - use-system-icu.patch - webcore-linker-flags.patch - webkit-debug-level.patch - - scenebuilder.bin" -builddir="$srcdir/rt-$_pkgver" - -_ant_home="$srcdir/apache-ant-1.8.2/" -_java_home="/usr/lib/java/openjfx11" - -sonameprefix="$pkgname:" -ldpath="$_java_home/lib" - -prepare() { - default_prepare - - # Create build properties - cat >gradle.properties <<EOF -PROMOTED_BUILD_NUMBER=${_pkgver##*+} -COMPANY_NAME=Alpine -HUDSON_JOB_NAME=abuild -RELEASE_SUFFIX=-alpine -COMPILE_WEBKIT=true -COMPILE_MEDIA=true -# non standard, alpine patched properties -ANT_HOME=$_ant_home -EXTRA_CXXFLAGS=$CXXFLAGS -EXTRA_LDFLAGS=$LDFLAGS -PKG_CONFIG_PATH=$PKG_CONFIG_PATH -PKG_CONFIG_SYSROOT_DIR=$PKG_CONFIG_SYSROOT_DIR -CC=${CC:-gcc} -CXX=${CXX:-g++} -AR=${AR:-ar} -EOF - - # use system provided library for icu - rm -rf modules/javafx.web/src/main/native/Source/ThirdParty/icu - - # make gradle wrapper executable - chmod +x ./gradlew -} - -build() { - ./gradlew publicExportsStandaloneLinux -} - -check() { - ./gradlew check -x :web:test -} - -package() { - mkdir -p "$pkgdir/$_java_home/apps" - cp -r build/artifacts/javafx-sdk-11*/* "$pkgdir/$_java_home" - cp -r build/artifacts/javafx-jmods-11*/ "$pkgdir/$_java_home/jmods" - cp -r build/artifacts/javafx-docs-11*/ "$pkgdir/$_java_home/api" - cp apps/scenebuilder/SceneBuilderApp/dist/SceneBuilderApp.jar "$pkgdir/$_java_home/apps" - cp apps/scenebuilder/SceneBuilderKit/dist/SceneBuilderKit.jar "$pkgdir/$_java_home/apps" -} - -_jmods() { - pkgdesc="$pkgdesc (jmods)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot" - mv "$_fromroot/jmods" "$_toroot" -} - -_src() { - pkgdesc="$pkgdesc (src)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot/lib/src.zip" "$_toroot/lib/src.zip" -} - -_doc() { - pkgdesc="$pkgdesc (Documentation)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot" - mv "$_fromroot/api" "$_toroot" -} - -_gtk2() { - pkgdesc="$pkgdesc (GTK 2)" - depends="$pkgname-base" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot/lib/libglassgtk2.so" "$_toroot/lib" -} - -_gtk3() { - pkgdesc="$pkgdesc (GTK 3)" - depends="$pkgname-base" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot/lib/libglassgtk3.so" "$_toroot/lib" -} - -_scenebuilder() { - pkgdesc="$pkgdesc (SceneBuilder)" - depends="$pkgname-gtk3 $pkgname-web dbus" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv \ - "$_fromroot/apps/SceneBuilderApp.jar" \ - "$_fromroot/apps/SceneBuilderKit.jar" \ - "$_toroot/lib" - - mkdir -p "$_toroot/bin" - install -m 0755 "$srcdir/scenebuilder.bin" "$_toroot/bin/scenebuilder" - - mkdir -p "$subpkgdir/usr/bin" - ln -s "$_java_home/bin/scenebuilder" "$subpkgdir/usr/bin/scenebuilder11" -} - -_web() { - pkgdesc="$pkgdesc (web)" - depends="$pkgname-media" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mkdir -p "$_toroot/jmods" - mkdir -p "$_toroot/legal" - mv \ - "$_fromroot"/lib/libjfxwebkit.so \ - "$_fromroot"/lib/javafx.web.jar \ - "$_toroot/lib" - mv \ - "$_fromroot"/jmods/javafx.web.jmod \ - "$_toroot/jmods" - mv \ - "$_fromroot/legal/javafx.web" \ - "$_toroot/legal" -} - -_media() { - pkgdesc="$pkgdesc (media)" - depends="$pkgname-libs" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mkdir -p "$_toroot/jmods" - mkdir -p "$_toroot/legal" - - mv \ - "$_fromroot"/lib/libavplugin.so \ - "$_fromroot"/lib/libgstreamer-lite.so \ - "$_fromroot"/lib/libjfxmedia.so \ - "$_fromroot"/lib/libfxplugins.so \ - "$_fromroot"/lib/javafx.media.jar \ - "$_toroot/lib" - mv \ - "$_fromroot"/jmods/javafx.media.jmod \ - "$_toroot/jmods" - mv \ - "$_fromroot/legal/javafx.media" \ - "$_toroot/legal/" -} - -_libs() { - pkgdesc="$pkgdesc (libs)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot"/lib/*.so "$_toroot/lib" -} - -_base() { - pkgdesc="$pkgdesc (base)" - depends="$pkgname-libs openjdk11-jre" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot" - mv "$_fromroot/legal" "$_toroot" - mv "$_fromroot/lib" "$_toroot" -} - -_dev() { - pkgdesc="$pkgdesc (development)" - depends="$pkgname-jmods $pkgname-src $pkgname-doc $pkgname-media $pkgname-web $pkgname-scenebuilder" - mkdir -p "$subpkgdir" -} - -sha512sums="10068828bf3f63782d734ccad3f385a9b092905fcd71caa6052fcbceb8108706f85c6e47ddb43aceea2dc84a7b8d8ef6ea91d820faa484b03c2cfff61b230bc1 openjfx-11.0.4+1.tar.bz2 -b10a420f65dc47b609fd3b7b0fae5b0bd1ddfa6a52cad41bc729c03f7ff82a79092ec81a24cdae363b8b6ec05061267e3cc48a0e14e097d07757bc021cb5619b apache-ant-1.8.2-bin.zip -076efe734b42bf2ff5979693590710cbebff58bcd789645e3cf7646381fe18b3b9057d20e3491785f6ef690a06094ab3fe7dea5ae8c9eb3fe1e38940e4ece181 configure-ant-home.patch -7356cb3139f8dd779e2531d16008bb08ccdac2add3f60f956a592a1de32005d2becc95895d8c9e49bd6ac94f13f93add1e9652987f07fc91aa15ed761f34f0ec crosscompile.patch -33a3e4067347a51f5a8dacd3827e6108aefce1dd6a8b39847b1af4652834ffc36d69622023f18cd6cad73c7a3e2e65b51cf14e57f96bf4152385838f82f99646 disable-architecture-verification.patch -c508a813d8c21151396fd385b6807f757236d0ddb0e33db21368c61c554f845c01326c774eb515a52b098ec51c55f77d1b9c185fba8f6dd0bd4aaf2b32e09880 disable-assembler-on-unsupported-archs.patch -71226d10a94bf08eefc64b58d577490a1f98316574daf3142e33c2eec0ea714487cbf6e6eb6eda13c76bd56186cf5d7f894482470c3abdfc2849841149924b1b disable-jit-for-non-x86.patch -f9d8396d94cd8776ed81298d6139ccdfc98fa2fb99591b2998a6f79038be5656f2a7f8eb8610ee60dc4327476147400e8184eafef5598dabeaf5eed97adc290c disable-sse2.patch -3d443a7216b5f0df3eca1ceb7da9cb973f17d015707cad0203972dee8af1422c3204bd77af36571ded0827a56a21f2f355bb657c1e2ff42da2780667bc8cb995 disable-webkit-sampling-profiler.patch -fd29cad92fa81f65d018b8319432fa665960ac2dba43433e186a001ece488447b34bcc63f8a8d75e0bfebef63a4745d2a54b01024b1423ba17d8445b25619893 fix-arm32-build.patch -3f7ec35437b94e8773541b8cfbf99c2225540572b0c2ba50a954824aba9ad374085fb1b3532ff7bb53a02346b9b5ef7804acf980016815c56acdf587f6559613 fix-arm64-build.patch -9a1c3270786adcf2d7d3f21ff1fc08fbff86ef8175f39eee9b58a7ae4f7923565b25ed5a11721669be89518b1568ab45f7e3b046a91884a2962b37178caa55a5 gcc-no-error.patch -1ad39f3d53ab52696f8ec6c1039afa494949de1c261dd3c0f9f68372860da2a9c601b09c92b61c9099b399c7589f7f2e313bf93aabaabde0e294ddb7eec60b92 use-system-icu.patch -2b8ec3bae8c93e5b6154988a5a7ac53477b7e86eea00d11cbd5ac1aaa5c87ddeaba239a65423549da29647f839c15d0f25126128f8fa619ea11ae907be646b44 webcore-linker-flags.patch -232aebbd13e2e3291d1ae2bc0df282ade5e861e17fce9aaf378ea930655137a2f3fd6e8b43b1ffbc9c3fcc5b21ec36129bdff1070253d6642162e099b32fc171 webkit-debug-level.patch -3e37adab75b12c4628cb8b43ef5ae83efdf29d1b4721ff5e1c8f89ea44b53837e4a596be7139a24a3d6d631dcc44ba0050212fba5be8bf19d5a3db6441610d90 scenebuilder.bin" diff --git a/unmaintained/openjfx11/configure-ant-home.patch b/unmaintained/openjfx11/configure-ant-home.patch deleted file mode 100644 index 5bb975126c0..00000000000 --- a/unmaintained/openjfx11/configure-ant-home.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- old/build.gradle -+++ new/build.gradle -@@ -764,7 +764,7 @@ - List<String> params // parameters (usually -Dxxx=yyy) - ) { - // Try to use ANT_HOME -- String antHomeEnv = System.getenv("ANT_HOME") -+ String antHomeEnv = "$ANT_HOME" - String antHome = antHomeEnv != null ? cygpath(antHomeEnv) : null; - String ant = (antHome != null && !antHome.equals("")) ? "$antHome/bin/ant" : "ant"; - diff --git a/unmaintained/openjfx11/crosscompile.patch b/unmaintained/openjfx11/crosscompile.patch deleted file mode 100644 index 4711890f1a5..00000000000 --- a/unmaintained/openjfx11/crosscompile.patch +++ /dev/null @@ -1,224 +0,0 @@ ---- old/build.gradle -+++ new/build.gradle -@@ -3175,6 +3175,12 @@ - processResources.dependsOn copyDTtoPackager - } - -+def pkgConfigEnv = [ -+ PKG_CONFIG_PATH: "$PKG_CONFIG_PATH", -+ PKG_CONFIG_SYSROOT_DIR: "$PKG_CONFIG_SYSROOT_DIR" -+] -+ -+ - project(":media") { - configurations { - media -@@ -3280,6 +3286,7 @@ - - doLast { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/jfxmedia/projects/${projectDir}") - args("JAVA_HOME=${JDK_HOME}", "GENERATED_HEADERS_DIR=${generatedHeadersDir}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=jfxmedia", -@@ -3309,6 +3316,7 @@ - enabled = IS_COMPILE_MEDIA - doLast { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/gstreamer-lite") - args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=gstreamer-lite", - IS_64 ? "ARCH=x64" : "ARCH=x32", "CC=${mediaProperties.compiler}", -@@ -3327,6 +3335,7 @@ - - doLast { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/fxplugins") - args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=fxplugins", - IS_64 ? "ARCH=x64" : "ARCH=x32", -@@ -3455,6 +3464,7 @@ - } - exec { - workingDir("$libavDir") -+ environment(pkgConfigEnv) - commandLine("make") - } - } -@@ -3523,6 +3533,7 @@ - } - exec { - workingDir("$libavDir") -+ environment(pkgConfigEnv) - commandLine("make") - } - } -@@ -3594,6 +3605,7 @@ - } - exec { - workingDir("$libavDir") -+ environment(pkgConfigEnv) - commandLine("make") - } - } -@@ -3628,6 +3640,7 @@ - File dir = file(libavDir) - if (dir.exists()) { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -3642,6 +3655,7 @@ - File dir = file(libavDir) - if (dir.exists()) { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -3656,6 +3670,7 @@ - File dir = file(libavDir) - if (dir.exists()) { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -3667,6 +3682,7 @@ - } else { - // Building fxavcodec plugin (libav plugin) - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -3865,7 +3881,7 @@ - exec { - workingDir("$webkitOutputDir") - commandLine("perl", "$projectDir/src/main/native/Tools/Scripts/set-webkit-configuration", "--$webkitConfig") -- environment(["WEBKIT_OUTPUTDIR" : webkitOutputDir]) -+ environment(["WEBKIT_OUTPUTDIR" : webkitOutputDir, "CC" : CC, "CXX" : CXX, "AR" : AR]) - } - - exec { -@@ -3911,6 +3927,9 @@ - "JAVA_HOME" : JDK_HOME, - "WEBKIT_OUTPUTDIR" : webkitOutputDir, - "PYTHONDONTWRITEBYTECODE" : "1", -+ "CC" : CC, -+ "CXX" : CXX, -+ "AR" : AR - ]) - - def targetCpuBitDepthSwitch = "" ---- old/buildSrc/linux.gradle -+++ new/buildSrc/linux.gradle -@@ -55,11 +55,13 @@ - commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c", - "-ffunction-sections", "-fdata-sections", - IS_DEBUG_NATIVE ? ["-ggdb", "-DVERBOSE"] : ["-O2", "-DNDEBUG"]].flatten() -+ccFlags.addAll(ext.EXTRA_CXXFLAGS.split(" ")) - def ccFlagsGTK3 = ccFlags - //ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"]) - def linkFlags = ["-static-libgcc", "-static-libstdc++", "-shared", commonFlags, - "-z", "relro", - "-Wl,--gc-sections"].flatten() -+linkFlags.addAll(ext.EXTRA_LDFLAGS.split(" ")) - - if (IS_DEBUG_NATIVE) { - linkFlags += "-g" -@@ -78,11 +80,17 @@ - def gtk3LinkFlags = [ ]; - LINUX.buildGTK3 = true - -+def pkgConfigEnv = [ -+ PKG_CONFIG_PATH: "$PKG_CONFIG_PATH", -+ PKG_CONFIG_SYSROOT_DIR: "$PKG_CONFIG_SYSROOT_DIR" -+] -+ - // Create $buildDir/linux_tools.properties file and load props from it - setupTools("linux_gtk2", - { propFile -> - ByteArrayOutputStream results1 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--cflags", "gtk+-2.0", "gthread-2.0", "xtst") - setStandardOutput(results1); - } -@@ -90,6 +98,7 @@ - - ByteArrayOutputStream results3 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--libs", "gtk+-2.0", "gthread-2.0", "xtst") - setStandardOutput(results3); - } -@@ -111,6 +120,7 @@ - { propFile -> - ByteArrayOutputStream results2 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--cflags", "gtk+-3.0", "gthread-2.0", "xtst") - setStandardOutput(results2); - ignoreExitValue(true) -@@ -119,6 +129,7 @@ - - ByteArrayOutputStream results4 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--libs", "gtk+-3.0", "gthread-2.0", "xtst") - setStandardOutput(results4); - ignoreExitValue(true) -@@ -145,6 +156,7 @@ - { propFile -> - ByteArrayOutputStream results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--cflags", "pangoft2" - standardOutput = results - } -@@ -152,6 +164,7 @@ - - results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--libs", "pangoft2" - standardOutput = results - } -@@ -176,6 +189,7 @@ - { propFile -> - ByteArrayOutputStream results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--cflags", "freetype2" - standardOutput = results - } -@@ -183,6 +197,7 @@ - - results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--libs", "freetype2" - standardOutput = results - } -@@ -200,8 +215,8 @@ - } - ) - --def compiler = IS_COMPILE_PARFAIT ? "parfait-gcc" : "${toolchainDir}gcc"; --def linker = IS_COMPILE_PARFAIT ? "parfait-g++" : "${toolchainDir}g++"; -+def compiler = ext.CC; -+def linker = ext.CXX; - - LINUX.glass = [:] - LINUX.glass.variants = ["glass", "glassgtk2"] -@@ -337,7 +352,7 @@ - LINUX.media = [:] - LINUX.media.compiler = compiler - LINUX.media.linker = linker --LINUX.media.ar = "${toolchainDir}ar" -+LINUX.media.ar = ext.AR - - LINUX.webkit = [:] - LINUX.webkit.compiler = compiler diff --git a/unmaintained/openjfx11/disable-architecture-verification.patch b/unmaintained/openjfx11/disable-architecture-verification.patch deleted file mode 100644 index 456598adf15..00000000000 --- a/unmaintained/openjfx11/disable-architecture-verification.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: Disable the architecture verification which is limited to i386 and amd64 -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/06-disable-architecture-verification.patch ---- a/build.gradle -+++ b/build.gradle -@@ -302,6 +302,7 @@ - // at present building on PI is not supported, but we would only need to make - // some changes on assumptions on what should be built (like SWT / Swing) and - // such and we could probably make it work. -+/* - if (!IS_MAC && !IS_WINDOWS && !IS_LINUX) fail("Unsupported build OS ${OS_NAME}") - if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") { - fail("Unknown and unsupported build architecture: $OS_ARCH") -@@ -310,6 +311,7 @@ - } else if (IS_LINUX && OS_ARCH != "i386" && OS_ARCH != "amd64") { - fail("Unknown and unsupported build architecture: $OS_ARCH") - } -+*/ - - - // Get the JDK_HOME automatically based on the version of Java used to execute gradle. Or, if specified, - diff --git a/unmaintained/openjfx11/disable-assembler-on-unsupported-archs.patch b/unmaintained/openjfx11/disable-assembler-on-unsupported-archs.patch deleted file mode 100644 index 3e2d534a89a..00000000000 --- a/unmaintained/openjfx11/disable-assembler-on-unsupported-archs.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: Disable assembler in WebKit on unsupported architectures -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/07-disable-assembler-on-unsupported-archs.patch ---- old/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -+++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -@@ -357,6 +357,12 @@ - #endif - #endif - -+#if !CPU(ARM_THUMB2) && !CPU(ARM_TRADITIONAL) && !CPU(X86) && !CPU(X86_64) && !CPU(SH4) -+#define ENABLE_ASSEMBLER 0 -+#define ENABLE_JIT 0 -+#define ENABLE_YARR_JIT 0 -+#endif -+ - /* ==== OS() - underlying operating system; only to be used for mandated low-level services like - virtual memory, not to choose a GUI toolkit ==== */ - diff --git a/unmaintained/openjfx11/disable-jit-for-non-x86.patch b/unmaintained/openjfx11/disable-jit-for-non-x86.patch deleted file mode 100644 index f6d9a3359a3..00000000000 --- a/unmaintained/openjfx11/disable-jit-for-non-x86.patch +++ /dev/null @@ -1,21 +0,0 @@ -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/disable-jit-for-non-x86.patch ---- old/build.gradle -+++ new/build.gradle -@@ -3897,11 +3897,17 @@ - cmakeArgs = " $cmakeArgs -DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_MIN_VERSION -DCMAKE_OSX_SYSROOT=$MACOSX_SDK_PATH" - } else if (t.name == "linux") { - cmakeArgs = " $cmakeArgs -DCMAKE_SYSTEM_NAME=Linux" -+ /* - if (IS_64) { - cmakeArgs = "$cmakeArgs -DCMAKE_SYSTEM_PROCESSOR=x86_64" - } else { - cmakeArgs = "$cmakeArgs -DCMAKE_SYSTEM_PROCESSOR=i586" - } -+ */ -+ if ( OS_ARCH != "amd64" && OS_ARCH != "i386" ) { -+ cmakeArgs = "$cmakeArgs -DENABLE_JIT=OFF" -+ } -+ cmakeArgs = "$cmakeArgs -DCMAKE_SYSTEM_PROCESSOR=$OS_ARCH" - // TODO: Use cflags and ldflags from all platforms - def cFlags = webkitProperties.ccFlags?.join(' ') ?: '' - def lFlags = webkitProperties.linkFlags?.join(' ') ?: '' diff --git a/unmaintained/openjfx11/disable-sse2.patch b/unmaintained/openjfx11/disable-sse2.patch deleted file mode 100644 index db99780c60e..00000000000 --- a/unmaintained/openjfx11/disable-sse2.patch +++ /dev/null @@ -1,60 +0,0 @@ -Description: Enable SSE2 on i386 and amd64 CPUs only -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/08-disable-sse2.patch ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -@@ -23,13 +23,16 @@ - -Wformat-security \ - -fstack-protector \ - -Werror=implicit-function-declaration \ -- -msse2 \ - -fbuiltin \ - -DHAVE_STDINT_H \ - -DLINUX \ - -DGST_DISABLE_LOADSAVE \ - -DGSTREAMER_LITE \ - -ffunction-sections -fdata-sections -+ -+ifneq (,$(filter $(CARCH), x86 x86_64)) -+ CFLAGS += -msse2 -+endif - - ifeq ($(BUILD_TYPE), Release) - CFLAGS += -Os ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -@@ -20,7 +20,6 @@ - -Wformat-security \ - -fstack-protector \ - -Werror=implicit-function-declaration \ -- -msse2 \ - -fbuiltin \ - -DHAVE_STDINT_H \ - -DLINUX \ -@@ -31,6 +30,10 @@ - -DGST_DISABLE_GST_DEBUG \ - -DGSTREAMER_LITE \ - -ffunction-sections -fdata-sections -+ -+ifneq (,$(filter $(CARCH), x86 x86_64)) -+ CFLAGS += -msse2 -+endif - - ifeq ($(BUILD_TYPE), Release) - CFLAGS += -Os ---- old/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -+++ new/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -@@ -42,8 +42,11 @@ - -Wformat-security \ - -fstack-protector \ - -Werror=implicit-function-declaration \ -- -msse2 \ - -DGSTREAMER_LITE -+ -+ifneq (,$(filter $(CARCH), x86 x86_64)) -+ CFLAGS += -msse2 -+endif - - PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0) - PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0) diff --git a/unmaintained/openjfx11/disable-webkit-sampling-profiler.patch b/unmaintained/openjfx11/disable-webkit-sampling-profiler.patch deleted file mode 100644 index 86285f8d754..00000000000 --- a/unmaintained/openjfx11/disable-webkit-sampling-profiler.patch +++ /dev/null @@ -1,15 +0,0 @@ -Description: Disables the sampling profiler in WebKit (fails to build on arm64) -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: not-needed -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/19-disable-webkit-sampling-profiler.patch ---- old/modules/javafx.web/src/main/native/Source/cmake/WebKitFeatures.cmake -+++ new/modules/javafx.web/src/main/native/Source/cmake/WebKitFeatures.cmake -@@ -163,7 +163,7 @@ - WEBKIT_OPTION_DEFINE(ENABLE_RESOLUTION_MEDIA_QUERY "Toggle resolution media query support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_RESOURCE_USAGE "Toggle resource usage support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_RUBBER_BANDING "Toggle rubber banding support" PRIVATE OFF) -- WEBKIT_OPTION_DEFINE(ENABLE_SAMPLING_PROFILER "Toggle sampling profiler support" PRIVATE ON) -+ WEBKIT_OPTION_DEFINE(ENABLE_SAMPLING_PROFILER "Toggle sampling profiler support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_SERVICE_CONTROLS "Toggle service controls support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_SERVICE_WORKER "Toggle ServiceWorker support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_SMOOTH_SCROLLING "Toggle smooth scrolling" PRIVATE ON) diff --git a/unmaintained/openjfx11/fix-arm32-build.patch b/unmaintained/openjfx11/fix-arm32-build.patch deleted file mode 100644 index df529fde7f4..00000000000 --- a/unmaintained/openjfx11/fix-arm32-build.patch +++ /dev/null @@ -1,91 +0,0 @@ -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/fix-arm32-build.patch ---- old/buildSrc/linux.gradle -+++ new/buildSrc/linux.gradle -@@ -46,10 +46,6 @@ - "-fstack-protector", - "-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration"] // warning flags - --if (!IS_64) { -- commonFlags += "-m32" --} -- - // Specify the compilation parameters and link parameters - def ccFlags = [ - commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c", -@@ -287,20 +283,12 @@ - LINUX.launcher.ccFlags = ["-Wextra", "-Wformat", "-Wformat-security", "-DJAVAARCH=\"$OS_ARCH\"", "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c"] - LINUX.launcher.linker = linker - LINUX.launcher.linkFlags = ["-ldl"] --if (!IS_64) { -- LINUX.launcher.ccFlags += "-m32" -- LINUX.launcher.linkFlags += "-m32" --} - - LINUX.launcherlibrary = [:] - LINUX.launcherlibrary.compiler = compiler - LINUX.launcherlibrary.ccFlags = ["-Wextra", "-Wformat", "-Wformat-security", "-DJAVAARCH=\"$OS_ARCH\"", "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c", "-fPIC", "-std=gnu++98", "-ffunction-sections", "-fdata-sections"] - LINUX.launcherlibrary.linker = linker - LINUX.launcherlibrary.linkFlags = ["-ldl", "-lpthread", "-shared", "-static-libgcc", "-static-libstdc++", "-Wl,--gc-sections"] --if (!IS_64) { -- LINUX.launcherlibrary.ccFlags += "-m32" -- LINUX.launcherlibrary.linkFlags += "-m32" --} - - LINUX.iio = [:] - LINUX.iio.nativeSource = [ ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -@@ -63,11 +63,6 @@ - LDFLAGS += $(shell pkg-config --libs libavcodec libavformat) - endif - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - SOURCES = av/fxavcodecplugin.c \ - av/avelement.c \ - av/decoder.c \ ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -@@ -54,11 +54,6 @@ - -z relro \ - -static-libgcc -static-libstdc++ -Wl,--gc-sections - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - SOURCES = fxplugins.c \ - progressbuffer/progressbuffer.c \ - progressbuffer/hlsprogressbuffer.c \ ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile -@@ -79,11 +79,6 @@ - -z relro \ - -static-libgcc -static-libstdc++ -Wl,--gc-sections - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - SOURCES = \ - gstreamer/gst/gst.c \ - gstreamer/gst/gstallocator.c \ ---- old/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -+++ new/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -@@ -74,11 +74,6 @@ - CFLAGS += -g -Wall -D_DEBUG - endif - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - CPP_SOURCES = \ - jni/com_sun_media_jfxmedia_logging_Logger.cpp \ - jni/JavaBandsHolder.cpp \ diff --git a/unmaintained/openjfx11/fix-arm64-build.patch b/unmaintained/openjfx11/fix-arm64-build.patch deleted file mode 100644 index 5add350ff3a..00000000000 --- a/unmaintained/openjfx11/fix-arm64-build.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Iain Lane <iain.lane@canonical.com> -Description: Fix arm64 build - Add AArch64 support in Platform.h - Don't use COMPARE_AND_SWAP on arm64; it produces invalid asm. - Fix some other areas where disabling JIT doesn't work. -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752735 -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/fix-arm64-build.patch ---- old/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -+++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -@@ -146,7 +146,9 @@ - #if (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__) - #define WTF_CPU_ARM64 1 - #define WTF_CPU_KNOWN 1 -- -+#if defined(__AARCH64BE__) -+#define WTF_CPU_BIG_ENDIAN 1 -+#endif - #if defined(__arm64e__) - #define WTF_CPU_ARM64E 1 - #endif diff --git a/unmaintained/openjfx11/gcc-no-error.patch b/unmaintained/openjfx11/gcc-no-error.patch deleted file mode 100644 index 46eacc7add2..00000000000 --- a/unmaintained/openjfx11/gcc-no-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -The compilation with GCC 8.2 produces a lot of warnings which are treated as errors by default. -Let the warnings be warnings and pretend we don't care. ---- old/buildSrc/linux.gradle -+++ new/buildSrc/linux.gradle -@@ -234,7 +234,7 @@ - LINUX.glass.glass = [:] - LINUX.glass.glass.nativeSource = ft_gtk_launcher.getFiles() - LINUX.glass.glass.compiler = compiler --LINUX.glass.glass.ccFlags = [ccFlags, gtk2CCFlags, "-Werror"].flatten() -+LINUX.glass.glass.ccFlags = [ccFlags, gtk2CCFlags, "-Wno-error"].flatten() - LINUX.glass.glass.linker = linker - LINUX.glass.glass.linkFlags = [linkFlags, "-lX11", "-ldl" ].flatten() - LINUX.glass.glass.lib = "glass" -@@ -242,7 +242,7 @@ - LINUX.glass.glassgtk2 = [:] - LINUX.glass.glassgtk2.nativeSource = ft_gtk.getFiles() - LINUX.glass.glassgtk2.compiler = compiler --LINUX.glass.glassgtk2.ccFlags = [ccFlags, gtk2CCFlags, "-Werror"].flatten() -+LINUX.glass.glassgtk2.ccFlags = [ccFlags, gtk2CCFlags, "-Wno-error"].flatten() - LINUX.glass.glassgtk2.linker = linker - LINUX.glass.glassgtk2.linkFlags = [linkFlags, gtk2LinkFlags ].flatten() - LINUX.glass.glassgtk2.lib = "glassgtk2" -@@ -250,7 +250,7 @@ - LINUX.glass.glassgtk3 = [:] - LINUX.glass.glassgtk3.nativeSource = ft_gtk.getFiles() - LINUX.glass.glassgtk3.compiler = compiler --LINUX.glass.glassgtk3.ccFlags = [ccFlags, gtk3CCFlags, "-Werror"].flatten() -+LINUX.glass.glassgtk3.ccFlags = [ccFlags, gtk3CCFlags, "-Wno-error"].flatten() - LINUX.glass.glassgtk3.linker = linker - LINUX.glass.glassgtk3.linkFlags = [linkFlags, gtk3LinkFlags ].flatten() - LINUX.glass.glassgtk3.lib = "glassgtk3" diff --git a/unmaintained/openjfx11/scenebuilder.bin b/unmaintained/openjfx11/scenebuilder.bin deleted file mode 100644 index ff44a99a34a..00000000000 --- a/unmaintained/openjfx11/scenebuilder.bin +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -_prog=$(readlink $0) -_bindir=$(dirname $_prog) -_basedir=$(dirname $_bindir) -_classpath=$_basedir/lib/SceneBuilderApp.jar:$_basedir/lib/SceneBuilderKit.jar -_modules="javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web" - -exec /usr/bin/java \ - -cp "$_classpath" \ - --module-path $_basedir/lib \ - --add-modules=$_modules \ - com.oracle.javafx.scenebuilder.app.SceneBuilderApp \ - $@ - diff --git a/unmaintained/openjfx11/use-system-icu.patch b/unmaintained/openjfx11/use-system-icu.patch deleted file mode 100644 index 5717f0c9718..00000000000 --- a/unmaintained/openjfx11/use-system-icu.patch +++ /dev/null @@ -1,39 +0,0 @@ -This patch disables usage of the bundled icu library as alpine -already has 63.1 -This saves about 30 MB on the final jfxwebkit.so ---- old/modules/javafx.web/src/main/native/Source/PlatformJava.cmake -+++ new/modules/javafx.web/src/main/native/Source/PlatformJava.cmake -@@ -1,4 +1,3 @@ - add_subdirectory(ThirdParty/sqlite) --add_subdirectory(ThirdParty/icu) - add_subdirectory(ThirdParty/libxml) - add_subdirectory(ThirdParty/libxslt) ---- old/modules/javafx.web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h -+++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h -@@ -18,7 +18,7 @@ - #if PLATFORM(JAVA) && OS(WINDOWS) - typedef wchar_t UChar; - #else --typedef uint16_t UChar; -+//typedef uint16_t UChar; - #endif - - // #ifdef UChar32 -@@ -26,7 +26,7 @@ - // #endif - - #ifndef __UMACHINE_H__ //XXX: recheck --typedef uint32_t UChar32; -+//typedef uint32_t UChar32; - #endif - - #define U_MASK(x) ((uint32_t)1<<(x)) ---- old/modules/javafx.web/src/main/native/Tools/CMakeLists.txt -+++ new/modules/javafx.web/src/main/native/Tools/CMakeLists.txt -@@ -48,6 +48,3 @@ - add_subdirectory(TestWebKitAPI) - endif () - --if (PORT STREQUAL "Java") -- add_subdirectory(DumpRenderTree/java) --endif () diff --git a/unmaintained/openjfx11/webcore-linker-flags.patch b/unmaintained/openjfx11/webcore-linker-flags.patch deleted file mode 100644 index 6e34ada9235..00000000000 --- a/unmaintained/openjfx11/webcore-linker-flags.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: Use the gold linker with memory saving options to avoid build failures caused by lack of RAM -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Bug-Debian: https://bugs.debian.org/857464 -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/23-webcore-linker-flags.patch ---- old/modules/javafx.web/src/main/native/Source/WebCore/PlatformJava.cmake -+++ new/modules/javafx.web/src/main/native/Source/WebCore/PlatformJava.cmake -@@ -314,7 +314,7 @@ - set_target_properties(JFXWebKit PROPERTIES LINK_FLAGS "-exported_symbols_list ${WEBCORE_DIR}/mapfile-macosx") - set(JFXWebKit_EXTERNAL_DEP "${WEBCORE_DIR}/mapfile-macosx") - elseif (UNIX) -- set_target_properties(JFXWebKit PROPERTIES LINK_FLAGS "-Xlinker -version-script=${WEBCORE_DIR}/mapfile-vers -Wl,--no-undefined") -+ set_target_properties(JFXWebKit PROPERTIES LINK_FLAGS "-Xlinker -version-script=${WEBCORE_DIR}/mapfile-vers -fuse-ld=gold -Wl,--no-undefined -Wl,--no-keep-memory -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped") - set(JFXWebKit_EXTERNAL_DEP "${WEBCORE_DIR}/mapfile-vers") - elseif (WIN32) - # Adds version information to jfxwebkit.dll created by Gradle build, see JDK-8166265 diff --git a/unmaintained/openjfx11/webkit-debug-level.patch b/unmaintained/openjfx11/webkit-debug-level.patch deleted file mode 100644 index 08d12692a6e..00000000000 --- a/unmaintained/openjfx11/webkit-debug-level.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: Use the -g1 debugging level instead of -g when compiling WebKit - to reduce the memory used and avoid build failures caused by lack of RAM. -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: not-needed -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/25-webkit-debug-level.patch ---- a/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake -+++ b/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake -@@ -89,6 +89,7 @@ - - if (COMPILER_IS_GCC_OR_CLANG) - WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-fno-strict-aliasing) -+ WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-g1) - - # clang-cl.exe impersonates cl.exe so some clang arguments like -fno-rtti are - # represented using cl.exe's options and should not be passed as flags, so - diff --git a/unmaintained/openjfx12/APKBUILD b/unmaintained/openjfx12/APKBUILD deleted file mode 100644 index 6b84c13370f..00000000000 --- a/unmaintained/openjfx12/APKBUILD +++ /dev/null @@ -1,241 +0,0 @@ -# Contributor: Simon Frankenberger <simon-alpine@fraho.eu> -# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu> -pkgname=openjfx12 -pkgver=12.0.2_p1 -_pkgver=${pkgver/_p/+} -pkgrel=1 -pkgdesc="Open JavaFX 12" -url="https://hg.openjdk.java.net/openjfx/12-dev/rt" -arch="" # openjdk11 is not yet available on 32 bit arches, gets stuck on others -license="GPL-2.0-with-classpath-exception" -depends="$pkgname-gtk3" # for the virtual openjfx12 package -makedepends="binutils-gold - cmake - ninja - python2 - gperf - openjdk11-jdk - alsa-lib-dev - ffmpeg-dev - freetype-dev - gtk+2.0-dev - gtk+3.0-dev - icu-dev - ruby-dev - sqlite-dev" -subpackages="$pkgname-media:_media - $pkgname-web:_web - $pkgname-jmods:_jmods:noarch - $pkgname-src:_src:noarch - $pkgname-doc:_doc:noarch - $pkgname-gtk2:_gtk2 - $pkgname-gtk3:_gtk3 - $pkgname-libs:_libs - $pkgname-base:_base:noarch - $pkgname-dev:_dev:noarch" -source="openjfx-$_pkgver.tar.bz2::http://hg.openjdk.java.net/openjfx/12-dev/rt/archive/$_pkgver.tar.bz2 - https://archive.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.zip - - configure-ant-home.patch - crosscompile.patch - disable-architecture-verification.patch - disable-assembler-on-unsupported-archs.patch - disable-jit-for-non-x86.patch - disable-sse2.patch - disable-webkit-sampling-profiler.patch - fix-arm32-build.patch - fix-arm64-build.patch - gcc-no-error.patch - use-system-icu.patch - webcore-linker-flags.patch - webkit-debug-level.patch" -builddir="$srcdir/rt-$_pkgver" - -_ant_home="$srcdir/apache-ant-1.8.2/" -_java_home="/usr/lib/java/openjfx12" - -sonameprefix="$pkgname:" -ldpath="$_java_home/lib" - -prepare() { - default_prepare - - # Create build properties - cat >gradle.properties <<EOF -PROMOTED_BUILD_NUMBER=${_pkgver##*+} -COMPANY_NAME=Alpine -HUDSON_JOB_NAME=abuild -RELEASE_SUFFIX=-alpine -COMPILE_WEBKIT=true -COMPILE_MEDIA=true -# non standard, alpine patched properties -ANT_HOME=$_ant_home -EXTRA_CXXFLAGS=$CXXFLAGS -EXTRA_LDFLAGS=$LDFLAGS -PKG_CONFIG_PATH=$PKG_CONFIG_PATH -PKG_CONFIG_SYSROOT_DIR=$PKG_CONFIG_SYSROOT_DIR -CC=${CC:-gcc} -CXX=${CXX:-g++} -AR=${AR:-ar} -EOF - - # use system provided library for icu - rm -rf modules/javafx.web/src/main/native/Source/ThirdParty/icu - - # make gradle wrapper executable - chmod +x ./gradlew -} - -build() { - ./gradlew publicExportsStandaloneLinux -} - -check() { - ./gradlew check -x :web:test -} - -package() { - mkdir -p "$pkgdir/$_java_home/apps" - cp -r build/artifacts/javafx-sdk-12*/* "$pkgdir/$_java_home" - cp -r build/artifacts/javafx-jmods-12*/ "$pkgdir/$_java_home/jmods" - cp -r build/artifacts/javafx-docs-12*/ "$pkgdir/$_java_home/api" -} - -_jmods() { - pkgdesc="$pkgdesc (jmods)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot" - mv "$_fromroot/jmods" "$_toroot" -} - -_src() { - pkgdesc="$pkgdesc (src)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot/lib/src.zip" "$_toroot/lib/src.zip" -} - -_doc() { - pkgdesc="$pkgdesc (Documentation)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot" - mv "$_fromroot/api" "$_toroot" -} - -_gtk2() { - pkgdesc="$pkgdesc (GTK 2)" - depends="$pkgname-base" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot/lib/libglassgtk2.so" "$_toroot/lib" -} - -_gtk3() { - pkgdesc="$pkgdesc (GTK 3)" - depends="$pkgname-base" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot/lib/libglassgtk3.so" "$_toroot/lib" -} - -_web() { - pkgdesc="$pkgdesc (web)" - depends="$pkgname-media" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mkdir -p "$_toroot/jmods" - mkdir -p "$_toroot/legal" - mv \ - "$_fromroot"/lib/libjfxwebkit.so \ - "$_fromroot"/lib/javafx.web.jar \ - "$_toroot/lib" - mv \ - "$_fromroot"/jmods/javafx.web.jmod \ - "$_toroot/jmods" - mv \ - "$_fromroot/legal/javafx.web" \ - "$_toroot/legal" -} - -_media() { - pkgdesc="$pkgdesc (media)" - depends="$pkgname-libs" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mkdir -p "$_toroot/jmods" - mkdir -p "$_toroot/legal" - - mv \ - "$_fromroot"/lib/libavplugin.so \ - "$_fromroot"/lib/libgstreamer-lite.so \ - "$_fromroot"/lib/libjfxmedia.so \ - "$_fromroot"/lib/libfxplugins.so \ - "$_fromroot"/lib/javafx.media.jar \ - "$_toroot/lib" - mv \ - "$_fromroot"/jmods/javafx.media.jmod \ - "$_toroot/jmods" - mv \ - "$_fromroot/legal/javafx.media" \ - "$_toroot/legal/" -} - -_libs() { - pkgdesc="$pkgdesc (libs)" - depends="" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot/lib" - mv "$_fromroot"/lib/*.so "$_toroot/lib" -} - -_base() { - pkgdesc="$pkgdesc (base)" - depends="$pkgname-libs openjdk11-jre" - _fromroot="$pkgdir/$_java_home" - _toroot="$subpkgdir/$_java_home" - - mkdir -p "$_toroot" - mv "$_fromroot/legal" "$_toroot" - mv "$_fromroot/lib" "$_toroot" -} - -_dev() { - pkgdesc="$pkgdesc (development)" - depends="$pkgname-jmods $pkgname-src $pkgname-doc $pkgname-media $pkgname-web" - mkdir -p "$subpkgdir" -} - -sha512sums="35b45abf22922f3bea17a746ccad683f7d408ccd7e3aa27f8775d10fbeec72058c6c5828b4b587a0e8c57dbcdee3e9d465f6ecc414cf78b0b38261d8b0b93f9a openjfx-12.0.2+1.tar.bz2 -b10a420f65dc47b609fd3b7b0fae5b0bd1ddfa6a52cad41bc729c03f7ff82a79092ec81a24cdae363b8b6ec05061267e3cc48a0e14e097d07757bc021cb5619b apache-ant-1.8.2-bin.zip -0c0c32bc1fcb1766c4149d16b07d5f656300a945208a1df5044c9ad2055c37ea7b348593ef88c529be0ff653daf662fc89b0b0e17acd58d95faafbf76de6b2a4 configure-ant-home.patch -261b5c26c33030caa5350bf1833455f0b80f24a115876b95bba1490a42b9bfde43d36c0887ff15d34cd73e14b89d33633316d4baece480f4cfef2f9e147775f6 crosscompile.patch -33a3e4067347a51f5a8dacd3827e6108aefce1dd6a8b39847b1af4652834ffc36d69622023f18cd6cad73c7a3e2e65b51cf14e57f96bf4152385838f82f99646 disable-architecture-verification.patch -c508a813d8c21151396fd385b6807f757236d0ddb0e33db21368c61c554f845c01326c774eb515a52b098ec51c55f77d1b9c185fba8f6dd0bd4aaf2b32e09880 disable-assembler-on-unsupported-archs.patch -b4a421f68a58d1e1f06344068fa835a07ba55e4ea73a9171fbb2a158c961ac0951ce6f29969f54ae5358f89f8f5284b78bcbf7a2c0727cda82d333d1ed4ca816 disable-jit-for-non-x86.patch -7d8c16f132e31a2caa86391944824dfc74ffdcd689c5429310f1546e66726c800583fb5e2bface1ee663fc4576ded545f6118baac9a0c8b7c67a2d21050ff8c7 disable-sse2.patch -3d443a7216b5f0df3eca1ceb7da9cb973f17d015707cad0203972dee8af1422c3204bd77af36571ded0827a56a21f2f355bb657c1e2ff42da2780667bc8cb995 disable-webkit-sampling-profiler.patch -1c139f90a666638866ce3898d0cd2597f6f6ac9c93eb9cfcf0538c30c63949b9a2a1e9a737d06f6b611cf1b13aef9690c82a14fd6d0ec5f9685418190eefab37 fix-arm32-build.patch -3f7ec35437b94e8773541b8cfbf99c2225540572b0c2ba50a954824aba9ad374085fb1b3532ff7bb53a02346b9b5ef7804acf980016815c56acdf587f6559613 fix-arm64-build.patch -51d4cb484996d62b441ce3ee310703b4e16ad79b4574d936215cb8aea512d5f74511244f0e21d7dc0f56f30469803e3581742444da6db7261b93c60f34ffd91a gcc-no-error.patch -1ad39f3d53ab52696f8ec6c1039afa494949de1c261dd3c0f9f68372860da2a9c601b09c92b61c9099b399c7589f7f2e313bf93aabaabde0e294ddb7eec60b92 use-system-icu.patch -2b8ec3bae8c93e5b6154988a5a7ac53477b7e86eea00d11cbd5ac1aaa5c87ddeaba239a65423549da29647f839c15d0f25126128f8fa619ea11ae907be646b44 webcore-linker-flags.patch -232aebbd13e2e3291d1ae2bc0df282ade5e861e17fce9aaf378ea930655137a2f3fd6e8b43b1ffbc9c3fcc5b21ec36129bdff1070253d6642162e099b32fc171 webkit-debug-level.patch" diff --git a/unmaintained/openjfx12/configure-ant-home.patch b/unmaintained/openjfx12/configure-ant-home.patch deleted file mode 100644 index d3851c2efa1..00000000000 --- a/unmaintained/openjfx12/configure-ant-home.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- old/build.gradle -+++ new/build.gradle -@@ -751,7 +751,7 @@ - List<String> params // parameters (usually -Dxxx=yyy) - ) { - // Try to use ANT_HOME -- String antHomeEnv = System.getenv("ANT_HOME") -+ String antHomeEnv = "$ANT_HOME" - String antHome = antHomeEnv != null ? cygpath(antHomeEnv) : null; - String ant = (antHome != null && !antHome.equals("")) ? "$antHome/bin/ant" : "ant"; - diff --git a/unmaintained/openjfx12/crosscompile.patch b/unmaintained/openjfx12/crosscompile.patch deleted file mode 100644 index 4c8004ee880..00000000000 --- a/unmaintained/openjfx12/crosscompile.patch +++ /dev/null @@ -1,224 +0,0 @@ ---- old/build.gradle -+++ new/build.gradle -@@ -2509,6 +2509,12 @@ - - } - -+def pkgConfigEnv = [ -+ PKG_CONFIG_PATH: "$PKG_CONFIG_PATH", -+ PKG_CONFIG_SYSROOT_DIR: "$PKG_CONFIG_SYSROOT_DIR" -+] -+ -+ - project(":media") { - configurations { - media -@@ -2614,6 +2620,7 @@ - - doLast { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/jfxmedia/projects/${projectDir}") - args("JAVA_HOME=${JDK_HOME}", "GENERATED_HEADERS_DIR=${generatedHeadersDir}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=jfxmedia", -@@ -2643,6 +2650,7 @@ - enabled = IS_COMPILE_MEDIA - doLast { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/gstreamer-lite") - args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=gstreamer-lite", - IS_64 ? "ARCH=x64" : "ARCH=x32", "CC=${mediaProperties.compiler}", -@@ -2661,6 +2669,7 @@ - - doLast { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/${projectDir}/fxplugins") - args("OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", "BASE_NAME=fxplugins", - IS_64 ? "ARCH=x64" : "ARCH=x32", -@@ -2789,6 +2798,7 @@ - } - exec { - workingDir("$libavDir") -+ environment(pkgConfigEnv) - commandLine("make") - } - } -@@ -2857,6 +2867,7 @@ - } - exec { - workingDir("$libavDir") -+ environment(pkgConfigEnv) - commandLine("make") - } - } -@@ -2928,6 +2939,7 @@ - } - exec { - workingDir("$libavDir") -+ environment(pkgConfigEnv) - commandLine("make") - } - } -@@ -2962,6 +2974,7 @@ - File dir = file(libavDir) - if (dir.exists()) { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -2976,6 +2989,7 @@ - File dir = file(libavDir) - if (dir.exists()) { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -2990,6 +3004,7 @@ - File dir = file(libavDir) - if (dir.exists()) { - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -3001,6 +3016,7 @@ - } else { - // Building fxavcodec plugin (libav plugin) - exec { -+ environment(pkgConfigEnv) - commandLine ("make", "${makeJobsFlag}", "-C", "${nativeSrcDir}/gstreamer/projects/linux/avplugin") - args("CC=${mediaProperties.compiler}", "LINKER=${mediaProperties.linker}", - "OUTPUT_DIR=${nativeOutputDir}", "BUILD_TYPE=${buildType}", -@@ -3199,7 +3215,7 @@ - exec { - workingDir("$webkitOutputDir") - commandLine("perl", "$projectDir/src/main/native/Tools/Scripts/set-webkit-configuration", "--$webkitConfig") -- environment(["WEBKIT_OUTPUTDIR" : webkitOutputDir]) -+ environment(["WEBKIT_OUTPUTDIR" : webkitOutputDir, "CC" : CC, "CXX" : CXX, "AR" : AR]) - } - - exec { -@@ -3245,6 +3261,9 @@ - "JAVA_HOME" : JDK_HOME, - "WEBKIT_OUTPUTDIR" : webkitOutputDir, - "PYTHONDONTWRITEBYTECODE" : "1", -+ "CC" : CC, -+ "CXX" : CXX, -+ "AR" : AR - ]) - - def targetCpuBitDepthSwitch = "" ---- old/buildSrc/linux.gradle -+++ new/buildSrc/linux.gradle -@@ -54,11 +54,13 @@ - commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c", - "-ffunction-sections", "-fdata-sections", - IS_DEBUG_NATIVE ? ["-ggdb", "-DVERBOSE"] : ["-O2", "-DNDEBUG"]].flatten() -+ccFlags.addAll(ext.EXTRA_CXXFLAGS.split(" ")) - def ccFlagsGTK3 = ccFlags - //ccFlags.addAll(["-Wnon-virtual-dtor", "-Woverloaded-virtual", "-std=c++0x"]) - def linkFlags = ["-static-libgcc", "-static-libstdc++", "-shared", commonFlags, - "-z", "relro", - "-Wl,--gc-sections"].flatten() -+linkFlags.addAll(ext.EXTRA_LDFLAGS.split(" ")) - - if (IS_DEBUG_NATIVE) { - linkFlags += "-g" -@@ -77,11 +79,17 @@ - def gtk3LinkFlags = [ ]; - LINUX.buildGTK3 = true - -+def pkgConfigEnv = [ -+ PKG_CONFIG_PATH: "$PKG_CONFIG_PATH", -+ PKG_CONFIG_SYSROOT_DIR: "$PKG_CONFIG_SYSROOT_DIR" -+] -+ - // Create $buildDir/linux_tools.properties file and load props from it - setupTools("linux_gtk2", - { propFile -> - ByteArrayOutputStream results1 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--cflags", "gtk+-2.0", "gthread-2.0", "xtst") - setStandardOutput(results1); - } -@@ -89,6 +97,7 @@ - - ByteArrayOutputStream results3 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--libs", "gtk+-2.0", "gthread-2.0", "xtst") - setStandardOutput(results3); - } -@@ -110,6 +119,7 @@ - { propFile -> - ByteArrayOutputStream results2 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--cflags", "gtk+-3.0", "gthread-2.0", "xtst") - setStandardOutput(results2); - ignoreExitValue(true) -@@ -118,6 +128,7 @@ - - ByteArrayOutputStream results4 = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine("${toolchainDir}pkg-config", "--libs", "gtk+-3.0", "gthread-2.0", "xtst") - setStandardOutput(results4); - ignoreExitValue(true) -@@ -144,6 +155,7 @@ - { propFile -> - ByteArrayOutputStream results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--cflags", "pangoft2" - standardOutput = results - } -@@ -151,6 +163,7 @@ - - results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--libs", "pangoft2" - standardOutput = results - } -@@ -175,6 +188,7 @@ - { propFile -> - ByteArrayOutputStream results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--cflags", "freetype2" - standardOutput = results - } -@@ -182,6 +196,7 @@ - - results = new ByteArrayOutputStream(); - exec { -+ environment(pkgConfigEnv) - commandLine "${toolchainDir}pkg-config", "--libs", "freetype2" - standardOutput = results - } -@@ -199,8 +214,8 @@ - } - ) - --def compiler = IS_COMPILE_PARFAIT ? "parfait-gcc" : "${toolchainDir}gcc"; --def linker = IS_COMPILE_PARFAIT ? "parfait-g++" : "${toolchainDir}g++"; -+def compiler = ext.CC; -+def linker = ext.CXX; - - LINUX.glass = [:] - LINUX.glass.variants = ["glass", "glassgtk2"] -@@ -316,7 +331,7 @@ - LINUX.media = [:] - LINUX.media.compiler = compiler - LINUX.media.linker = linker --LINUX.media.ar = "${toolchainDir}ar" -+LINUX.media.ar = ext.AR - - LINUX.webkit = [:] - LINUX.webkit.compiler = compiler diff --git a/unmaintained/openjfx12/disable-architecture-verification.patch b/unmaintained/openjfx12/disable-architecture-verification.patch deleted file mode 100644 index 456598adf15..00000000000 --- a/unmaintained/openjfx12/disable-architecture-verification.patch +++ /dev/null @@ -1,23 +0,0 @@ -Description: Disable the architecture verification which is limited to i386 and amd64 -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/06-disable-architecture-verification.patch ---- a/build.gradle -+++ b/build.gradle -@@ -302,6 +302,7 @@ - // at present building on PI is not supported, but we would only need to make - // some changes on assumptions on what should be built (like SWT / Swing) and - // such and we could probably make it work. -+/* - if (!IS_MAC && !IS_WINDOWS && !IS_LINUX) fail("Unsupported build OS ${OS_NAME}") - if (IS_WINDOWS && OS_ARCH != "x86" && OS_ARCH != "amd64") { - fail("Unknown and unsupported build architecture: $OS_ARCH") -@@ -310,6 +311,7 @@ - } else if (IS_LINUX && OS_ARCH != "i386" && OS_ARCH != "amd64") { - fail("Unknown and unsupported build architecture: $OS_ARCH") - } -+*/ - - - // Get the JDK_HOME automatically based on the version of Java used to execute gradle. Or, if specified, - diff --git a/unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch b/unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch deleted file mode 100644 index 3e2d534a89a..00000000000 --- a/unmaintained/openjfx12/disable-assembler-on-unsupported-archs.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: Disable assembler in WebKit on unsupported architectures -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/07-disable-assembler-on-unsupported-archs.patch ---- old/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -+++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -@@ -357,6 +357,12 @@ - #endif - #endif - -+#if !CPU(ARM_THUMB2) && !CPU(ARM_TRADITIONAL) && !CPU(X86) && !CPU(X86_64) && !CPU(SH4) -+#define ENABLE_ASSEMBLER 0 -+#define ENABLE_JIT 0 -+#define ENABLE_YARR_JIT 0 -+#endif -+ - /* ==== OS() - underlying operating system; only to be used for mandated low-level services like - virtual memory, not to choose a GUI toolkit ==== */ - diff --git a/unmaintained/openjfx12/disable-jit-for-non-x86.patch b/unmaintained/openjfx12/disable-jit-for-non-x86.patch deleted file mode 100644 index a1c117a6eb2..00000000000 --- a/unmaintained/openjfx12/disable-jit-for-non-x86.patch +++ /dev/null @@ -1,21 +0,0 @@ -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/disable-jit-for-non-x86.patch ---- old/build.gradle -+++ new/build.gradle -@@ -3231,11 +3231,17 @@ - cmakeArgs = " $cmakeArgs -DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_MIN_VERSION -DCMAKE_OSX_SYSROOT=$MACOSX_SDK_PATH" - } else if (t.name == "linux") { - cmakeArgs = " $cmakeArgs -DCMAKE_SYSTEM_NAME=Linux" -+ /* - if (IS_64) { - cmakeArgs = "$cmakeArgs -DCMAKE_SYSTEM_PROCESSOR=x86_64" - } else { - cmakeArgs = "$cmakeArgs -DCMAKE_SYSTEM_PROCESSOR=i586" - } -+ */ -+ if ( OS_ARCH != "amd64" && OS_ARCH != "i386" ) { -+ cmakeArgs = "$cmakeArgs -DENABLE_JIT=OFF" -+ } -+ cmakeArgs = "$cmakeArgs -DCMAKE_SYSTEM_PROCESSOR=$OS_ARCH" - // TODO: Use cflags and ldflags from all platforms - def cFlags = webkitProperties.ccFlags?.join(' ') ?: '' - def lFlags = webkitProperties.linkFlags?.join(' ') ?: '' diff --git a/unmaintained/openjfx12/disable-sse2.patch b/unmaintained/openjfx12/disable-sse2.patch deleted file mode 100644 index ef60f825c23..00000000000 --- a/unmaintained/openjfx12/disable-sse2.patch +++ /dev/null @@ -1,60 +0,0 @@ -Description: Enable SSE2 on i386 and amd64 CPUs only -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/08-disable-sse2.patch ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -@@ -24,13 +24,16 @@ - -fstack-protector \ - -Werror=implicit-function-declaration \ - -Werror=trampolines \ -- -msse2 \ - -fbuiltin \ - -DHAVE_STDINT_H \ - -DLINUX \ - -DGST_DISABLE_LOADSAVE \ - -DGSTREAMER_LITE \ - -ffunction-sections -fdata-sections -+ -+ifneq (,$(filter $(CARCH), x86 x86_64)) -+ CFLAGS += -msse2 -+endif - - ifeq ($(BUILD_TYPE), Release) - CFLAGS += -Os ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -@@ -21,7 +21,6 @@ - -fstack-protector \ - -Werror=implicit-function-declaration \ - -Werror=trampolines \ -- -msse2 \ - -fbuiltin \ - -DHAVE_STDINT_H \ - -DLINUX \ -@@ -32,6 +31,10 @@ - -DGST_DISABLE_GST_DEBUG \ - -DGSTREAMER_LITE \ - -ffunction-sections -fdata-sections -+ -+ifneq (,$(filter $(CARCH), x86 x86_64)) -+ CFLAGS += -msse2 -+endif - - ifeq ($(BUILD_TYPE), Release) - CFLAGS += -Os ---- old/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -+++ new/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -@@ -43,8 +43,11 @@ - -fstack-protector \ - -Werror=implicit-function-declaration \ - -Werror=trampolines \ -- -msse2 \ - -DGSTREAMER_LITE -+ -+ifneq (,$(filter $(CARCH), x86 x86_64)) -+ CFLAGS += -msse2 -+endif - - PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0) - PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0) diff --git a/unmaintained/openjfx12/disable-webkit-sampling-profiler.patch b/unmaintained/openjfx12/disable-webkit-sampling-profiler.patch deleted file mode 100644 index 86285f8d754..00000000000 --- a/unmaintained/openjfx12/disable-webkit-sampling-profiler.patch +++ /dev/null @@ -1,15 +0,0 @@ -Description: Disables the sampling profiler in WebKit (fails to build on arm64) -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: not-needed -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/19-disable-webkit-sampling-profiler.patch ---- old/modules/javafx.web/src/main/native/Source/cmake/WebKitFeatures.cmake -+++ new/modules/javafx.web/src/main/native/Source/cmake/WebKitFeatures.cmake -@@ -163,7 +163,7 @@ - WEBKIT_OPTION_DEFINE(ENABLE_RESOLUTION_MEDIA_QUERY "Toggle resolution media query support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_RESOURCE_USAGE "Toggle resource usage support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_RUBBER_BANDING "Toggle rubber banding support" PRIVATE OFF) -- WEBKIT_OPTION_DEFINE(ENABLE_SAMPLING_PROFILER "Toggle sampling profiler support" PRIVATE ON) -+ WEBKIT_OPTION_DEFINE(ENABLE_SAMPLING_PROFILER "Toggle sampling profiler support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_SERVICE_CONTROLS "Toggle service controls support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_SERVICE_WORKER "Toggle ServiceWorker support" PRIVATE OFF) - WEBKIT_OPTION_DEFINE(ENABLE_SMOOTH_SCROLLING "Toggle smooth scrolling" PRIVATE ON) diff --git a/unmaintained/openjfx12/fix-arm32-build.patch b/unmaintained/openjfx12/fix-arm32-build.patch deleted file mode 100644 index 153ded3d658..00000000000 --- a/unmaintained/openjfx12/fix-arm32-build.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- old/buildSrc/linux.gradle -+++ new/buildSrc/linux.gradle -@@ -45,10 +45,6 @@ - "-fstack-protector", - "-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration", "-Werror=trampolines"] // warning flags - --if (!IS_64) { -- commonFlags += "-m32" --} -- - // Specify the compilation parameters and link parameters - def ccFlags = [ - commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c", ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile -@@ -64,11 +64,6 @@ - LDFLAGS += $(shell pkg-config --libs libavcodec libavformat) - endif - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - SOURCES = av/fxavcodecplugin.c \ - av/avelement.c \ - av/decoder.c \ ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile -@@ -55,11 +55,6 @@ - -z relro \ - -static-libgcc -static-libstdc++ -Wl,--gc-sections - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - SOURCES = fxplugins.c \ - progressbuffer/progressbuffer.c \ - progressbuffer/hlsprogressbuffer.c \ ---- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile -+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile -@@ -80,11 +80,6 @@ - -z relro \ - -static-libgcc -static-libstdc++ -Wl,--gc-sections - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - SOURCES = \ - gstreamer/gst/gst.c \ - gstreamer/gst/gstallocator.c \ ---- old/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -+++ new/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile -@@ -75,11 +75,6 @@ - CFLAGS += -g -Wall -D_DEBUG - endif - --ifeq ($(ARCH), x32) -- CFLAGS += -m32 -- LDFLAGS += -m32 --endif -- - CPP_SOURCES = \ - jni/com_sun_media_jfxmedia_logging_Logger.cpp \ - jni/JavaBandsHolder.cpp \ diff --git a/unmaintained/openjfx12/fix-arm64-build.patch b/unmaintained/openjfx12/fix-arm64-build.patch deleted file mode 100644 index 5add350ff3a..00000000000 --- a/unmaintained/openjfx12/fix-arm64-build.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Iain Lane <iain.lane@canonical.com> -Description: Fix arm64 build - Add AArch64 support in Platform.h - Don't use COMPARE_AND_SWAP on arm64; it produces invalid asm. - Fix some other areas where disabling JIT doesn't work. -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752735 -Forwarded: no -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/fix-arm64-build.patch ---- old/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -+++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/Platform.h -@@ -146,7 +146,9 @@ - #if (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__) - #define WTF_CPU_ARM64 1 - #define WTF_CPU_KNOWN 1 -- -+#if defined(__AARCH64BE__) -+#define WTF_CPU_BIG_ENDIAN 1 -+#endif - #if defined(__arm64e__) - #define WTF_CPU_ARM64E 1 - #endif diff --git a/unmaintained/openjfx12/gcc-no-error.patch b/unmaintained/openjfx12/gcc-no-error.patch deleted file mode 100644 index 36c9e2d729d..00000000000 --- a/unmaintained/openjfx12/gcc-no-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -The compilation with GCC 8.2 produces a lot of warnings which are treated as errors by default. -Let the warnings be warnings and pretend we don't care. ---- old/buildSrc/linux.gradle -+++ new/buildSrc/linux.gradle -@@ -233,7 +233,7 @@ - LINUX.glass.glass = [:] - LINUX.glass.glass.nativeSource = ft_gtk_launcher.getFiles() - LINUX.glass.glass.compiler = compiler --LINUX.glass.glass.ccFlags = [ccFlags, gtk2CCFlags, "-Werror"].flatten() -+LINUX.glass.glass.ccFlags = [ccFlags, gtk2CCFlags, "-Wno-error"].flatten() - LINUX.glass.glass.linker = linker - LINUX.glass.glass.linkFlags = [linkFlags, "-lX11", "-ldl" ].flatten() - LINUX.glass.glass.lib = "glass" -@@ -241,7 +241,7 @@ - LINUX.glass.glassgtk2 = [:] - LINUX.glass.glassgtk2.nativeSource = ft_gtk.getFiles() - LINUX.glass.glassgtk2.compiler = compiler --LINUX.glass.glassgtk2.ccFlags = [ccFlags, gtk2CCFlags, "-Werror"].flatten() -+LINUX.glass.glassgtk2.ccFlags = [ccFlags, gtk2CCFlags, "-Wno-error"].flatten() - LINUX.glass.glassgtk2.linker = linker - LINUX.glass.glassgtk2.linkFlags = [linkFlags, gtk2LinkFlags ].flatten() - LINUX.glass.glassgtk2.lib = "glassgtk2" -@@ -249,7 +249,7 @@ - LINUX.glass.glassgtk3 = [:] - LINUX.glass.glassgtk3.nativeSource = ft_gtk.getFiles() - LINUX.glass.glassgtk3.compiler = compiler --LINUX.glass.glassgtk3.ccFlags = [ccFlags, gtk3CCFlags, "-Werror"].flatten() -+LINUX.glass.glassgtk3.ccFlags = [ccFlags, gtk3CCFlags, "-Wno-error"].flatten() - LINUX.glass.glassgtk3.linker = linker - LINUX.glass.glassgtk3.linkFlags = [linkFlags, gtk3LinkFlags ].flatten() - LINUX.glass.glassgtk3.lib = "glassgtk3" diff --git a/unmaintained/openjfx12/use-system-icu.patch b/unmaintained/openjfx12/use-system-icu.patch deleted file mode 100644 index 5717f0c9718..00000000000 --- a/unmaintained/openjfx12/use-system-icu.patch +++ /dev/null @@ -1,39 +0,0 @@ -This patch disables usage of the bundled icu library as alpine -already has 63.1 -This saves about 30 MB on the final jfxwebkit.so ---- old/modules/javafx.web/src/main/native/Source/PlatformJava.cmake -+++ new/modules/javafx.web/src/main/native/Source/PlatformJava.cmake -@@ -1,4 +1,3 @@ - add_subdirectory(ThirdParty/sqlite) --add_subdirectory(ThirdParty/icu) - add_subdirectory(ThirdParty/libxml) - add_subdirectory(ThirdParty/libxslt) ---- old/modules/javafx.web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h -+++ new/modules/javafx.web/src/main/native/Source/WTF/wtf/unicode/java/UnicodeJava.h -@@ -18,7 +18,7 @@ - #if PLATFORM(JAVA) && OS(WINDOWS) - typedef wchar_t UChar; - #else --typedef uint16_t UChar; -+//typedef uint16_t UChar; - #endif - - // #ifdef UChar32 -@@ -26,7 +26,7 @@ - // #endif - - #ifndef __UMACHINE_H__ //XXX: recheck --typedef uint32_t UChar32; -+//typedef uint32_t UChar32; - #endif - - #define U_MASK(x) ((uint32_t)1<<(x)) ---- old/modules/javafx.web/src/main/native/Tools/CMakeLists.txt -+++ new/modules/javafx.web/src/main/native/Tools/CMakeLists.txt -@@ -48,6 +48,3 @@ - add_subdirectory(TestWebKitAPI) - endif () - --if (PORT STREQUAL "Java") -- add_subdirectory(DumpRenderTree/java) --endif () diff --git a/unmaintained/openjfx12/webcore-linker-flags.patch b/unmaintained/openjfx12/webcore-linker-flags.patch deleted file mode 100644 index 6e34ada9235..00000000000 --- a/unmaintained/openjfx12/webcore-linker-flags.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: Use the gold linker with memory saving options to avoid build failures caused by lack of RAM -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: no -Bug-Debian: https://bugs.debian.org/857464 -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/23-webcore-linker-flags.patch ---- old/modules/javafx.web/src/main/native/Source/WebCore/PlatformJava.cmake -+++ new/modules/javafx.web/src/main/native/Source/WebCore/PlatformJava.cmake -@@ -314,7 +314,7 @@ - set_target_properties(JFXWebKit PROPERTIES LINK_FLAGS "-exported_symbols_list ${WEBCORE_DIR}/mapfile-macosx") - set(JFXWebKit_EXTERNAL_DEP "${WEBCORE_DIR}/mapfile-macosx") - elseif (UNIX) -- set_target_properties(JFXWebKit PROPERTIES LINK_FLAGS "-Xlinker -version-script=${WEBCORE_DIR}/mapfile-vers -Wl,--no-undefined") -+ set_target_properties(JFXWebKit PROPERTIES LINK_FLAGS "-Xlinker -version-script=${WEBCORE_DIR}/mapfile-vers -fuse-ld=gold -Wl,--no-undefined -Wl,--no-keep-memory -Wl,--no-map-whole-files -Wl,--no-keep-files-mapped") - set(JFXWebKit_EXTERNAL_DEP "${WEBCORE_DIR}/mapfile-vers") - elseif (WIN32) - # Adds version information to jfxwebkit.dll created by Gradle build, see JDK-8166265 diff --git a/unmaintained/openjfx12/webkit-debug-level.patch b/unmaintained/openjfx12/webkit-debug-level.patch deleted file mode 100644 index 08d12692a6e..00000000000 --- a/unmaintained/openjfx12/webkit-debug-level.patch +++ /dev/null @@ -1,16 +0,0 @@ -Description: Use the -g1 debugging level instead of -g when compiling WebKit - to reduce the memory used and avoid build failures caused by lack of RAM. -Author: Emmanuel Bourg <ebourg@apache.org> -Forwarded: not-needed -Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/25-webkit-debug-level.patch ---- a/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake -+++ b/modules/javafx.web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake -@@ -89,6 +89,7 @@ - - if (COMPILER_IS_GCC_OR_CLANG) - WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-fno-strict-aliasing) -+ WEBKIT_APPEND_GLOBAL_COMPILER_FLAGS(-g1) - - # clang-cl.exe impersonates cl.exe so some clang arguments like -fno-rtti are - # represented using cl.exe's options and should not be passed as flags, so - diff --git a/unmaintained/opensips/APKBUILD b/unmaintained/opensips/APKBUILD deleted file mode 100644 index 0fbdda0f159..00000000000 --- a/unmaintained/opensips/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=opensips -pkgver=1.6.3 -pkgrel=3 -pkgdesc="Flexible and customizable sip routing engine" -url="http://www.opensips.org/" -arch="all" -license="GPL" -depends= -makedepends="bison flex expat-dev coreutils linux-headers" -install="$pkgname.pre-install $pkgname.post-install" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-notls_src.tar.gz - $pkgname.initd" - -build() { - cd "$srcdir/$pkgname-$pkgver-notls" - sed -i -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \ - -e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' Makefile.defs - - cd scripts - sed -i -e 's:/var/run/opensips.pid:/var/run/opensips/opensips.pid:g' \ - opensipsctl.base opensipsctlrc osipsconsole osipsconsolerc - cd .. - - make prefix=/usr || return 1 -} - -package() { - cd "$srcdir/$pkgname-$pkgver-notls" - make prefix=/usr basedir="$pkgdir" install - chmod 750 "$pkgdir"/etc/opensips/opensips.cfg - install -d "$pkgdir"/var/run/opensips - install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname -} - -md5sums="84e5d6da6476dcdb8bc0fd736507040a opensips-1.6.3-notls_src.tar.gz -7fb51d35517f7f10cfe6e89139f7060a opensips.initd" -sha256sums="e27d6c83473827aa1279691567dc872d9268a1ffa6e5c2efedb1fc47935e88c0 opensips-1.6.3-notls_src.tar.gz -4d463b046cfd81818ade4cdf26825720101cc95dff9587061e3565c5d84e0475 opensips.initd" -sha512sums="43bfebe4ffe596964471363b9f2584c7f4bec7163ba490e53b553172d08ca89054c446af57fd3ca12ec9457ba817f73c93ba8f25881f80dec6ae0a714515776f opensips-1.6.3-notls_src.tar.gz -04c0354c6b1e3d30a6f0f97593687a56bfbdc762cb55a0b417cd3ce6eb871d0d4c5dd1a072f0a4e8beb120d6f8711929a392028ba83edca0a77ca5be537d2079 opensips.initd" diff --git a/unmaintained/opensips/opensips.initd b/unmaintained/opensips/opensips.initd deleted file mode 100644 index 09c03fd5d1b..00000000000 --- a/unmaintained/opensips/opensips.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript - -daemon=/usr/sbin/opensips -pidfile=/var/run/opensips/opensips.pid - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting OpenSIPS" - start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon \ - -- \ - -u ${OPENSIPS_USER:-opensips} \ - -g ${OPENSIPS_GROUP:-opensips} \ - -P $pidfile - eend $? -} - -stop() { - ebegin "Stopping OpenSIPS" - start-stop-daemon --stop --quiet --pidfile $pidfile - eend $? -} - diff --git a/unmaintained/opensips/opensips.post-install b/unmaintained/opensips/opensips.post-install deleted file mode 100644 index eb9d86d98be..00000000000 --- a/unmaintained/opensips/opensips.post-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -chown -R opensips:opensips /var/run/opensips -chgrp opensips /etc/opensips/opensips.cfg -exit 0 diff --git a/unmaintained/opensips/opensips.pre-install b/unmaintained/opensips/opensips.pre-install deleted file mode 100644 index 1fcd8dc61ca..00000000000 --- a/unmaintained/opensips/opensips.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S opensips 2>/dev/null -adduser -S -D -H -h /var/empty -s /bin/false -G opensips -g opensips opensips 2>/dev/null - -exit 0 diff --git a/unmaintained/openssl-d/58.patch b/unmaintained/openssl-d/58.patch deleted file mode 100644 index 169902487e8..00000000000 --- a/unmaintained/openssl-d/58.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 31c3a3b930cc493bae1bdc7505665b187a388038 Mon Sep 17 00:00:00 2001 -From: Rasmus Thomsen <oss@cogitri.dev> -Date: Mon, 9 Mar 2020 19:23:36 +0100 -Subject: [PATCH] Add support for building with meson - -This makes it easier for distros to install this and provides a pkgconfig -file for other projects which want to use this together with -meson ---- - meson.build | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - create mode 100644 meson.build - -diff --git a/meson.build b/meson.build -new file mode 100644 -index 0000000..422c562 ---- /dev/null -+++ b/meson.build -@@ -0,0 +1,17 @@ -+project('openssld', ['d'], version: '1.1.0h') -+ -+openssl_dep = dependency('openssl') -+ -+install_subdir( -+ 'deimos', -+ install_dir: join_paths(get_option('includedir'), 'd', 'openssld'), -+) -+ -+pkgc = import ('pkgconfig') -+ -+pkgc.generate( -+ name: 'openssld', -+ subdirs: 'd/openssld', -+ requires: openssl_dep, -+ description: 'OpenSSL D interface', -+) diff --git a/unmaintained/openssl-d/APKBUILD b/unmaintained/openssl-d/APKBUILD deleted file mode 100644 index a171d86e428..00000000000 --- a/unmaintained/openssl-d/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=openssl-d -pkgver=2.0.1 -_opensslver=1.1.0h -pkgrel=1 -pkgdesc="D version of the C headers for openssl" -url="https://github.com/D-Programming-Deimos/openssl" -arch="noarch !ppc64le !mips !mips64 !armhf !armv7 !x86" # gdc -license="OpenSSL" -makedepends="meson openssl-dev gcc-gdc" -subpackages="$pkgname-dev" -options="!check" # Bindings, so no tests to run -source="https://github.com/D-Programming-Deimos/openssl/archive/v${pkgver}+$_opensslver/openssl-d-${pkgver}+$_opensslver.tar.gz - 58.patch" -builddir="$srcdir/openssl-$pkgver-$_opensslver" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="2aefaf48df7bb27fe21f401ebeeb6cf9ce46dcdf31811bcaba4729896af077a613d8ed920a708cc96d4dfaa11cd72a8f15440c6f452d6b594ba04b1baf4489bd openssl-d-2.0.1+1.1.0h.tar.gz -289f65eac29ea514ee42d6aa2b2fe98c8a2c5e0a3da7843c448fe657e657ba57f79b9f303538f02c60858e1370c62294c745324a343ef73ac259114c055478cd 58.patch" diff --git a/unmaintained/openvas-cli/001-fortify-source.patch b/unmaintained/openvas-cli/001-fortify-source.patch deleted file mode 100644 index 49a9cdfd974..00000000000 --- a/unmaintained/openvas-cli/001-fortify-source.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index db7cb9b..3681573 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -190,9 +190,9 @@ configure_file (VERSION.in VERSION) - ## Program - - if (MINGW) -- set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2") -+ set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2") - else (MINGW) -- set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector") -+ set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector") - set (LINKER_HARDENING_FLAGS "-Wl,-z,relro -Wl,-z,now") - endif (MINGW) - diff --git a/unmaintained/openvas-cli/APKBUILD b/unmaintained/openvas-cli/APKBUILD deleted file mode 100644 index 2d336d80134..00000000000 --- a/unmaintained/openvas-cli/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=openvas-cli -pkgver=1.4.5 -pkgrel=5 -_pkgid=2397 -pkgdesc="The OpenVAS Command-Line Interface" -url="http://www.openvas.org" -arch="all" -license="GPL" -makedepends="openvas-libraries-dev cmake doxygen xmltoman graphviz" -subpackages="$pkgname-doc" -source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz - 001-fortify-source.patch" - -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONFDIR=/etc \ - -DLOCALSTATEDIR=/var . - make -} - -check() { - cd "$builddir" - make test -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir/" install -} - -sha512sums="35ec391d1e25bfe1a49507b9e2ec69243411a6e839232334bb0f2eed26750a159942b7d14528fab9e57e1c7d7bf40fa087686444168ced4e4281ad78f2aeae85 openvas-cli-1.4.5.tar.gz -979714b5625b87ec559be6d7520152c713b5455a401e50350b5c342b3769cfa83946a31dd963300cb0b0276fdc28f27ea66854563bec1a744322b6c268202935 001-fortify-source.patch" diff --git a/unmaintained/openxcap/APKBUILD b/unmaintained/openxcap/APKBUILD deleted file mode 100644 index 416cd1ccb48..00000000000 --- a/unmaintained/openxcap/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=openxcap -pkgver=2.2.0 -pkgrel=1 -pkgdesc="Open source fully featured XCAP server" -url="http://openxcap.org" -pkgusers="openxcap" -pkggroups="openxcap" -arch="noarch" -license="GPL" -depends="python2 py-application py-gnutls py-twisted py-pillow - py-lxml py-mysqldb" -makedepends="python2-dev" -install="$pkgname.pre-install" -source="http://download.ag-projects.com/XCAP/$pkgname-$pkgver.tar.gz - config.ini - openxcap.initd -" -package() { - cd "$srcdir"/$pkgname-$pkgver - mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages - python2 setup.py install --root="$pkgdir" || return 1 - echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" \ - > "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/config.ini \ - "$pkgdir"/etc/openxcap/config.ini - install -d -o openxcap "$pkgdir"/var/run/openxcap - chown -R $pkgusers:$pkggroups "$pkgdir"/var/run/openxcap - - chgrp $pkggroups "$pkgdir"/etc/openxcap/config.ini -} - -md5sums="14eacc9b5daa9451b2a585a82e24eff1 openxcap-2.2.0.tar.gz -7a18872843586717eaf3879444cc13d2 config.ini -eb916ed5abe002493a2721f7769e8ee5 openxcap.initd" -sha256sums="4b932cade046e4723f7339fa8270997501c52fb2c3eb6b33a684537386fcc007 openxcap-2.2.0.tar.gz -078f4a5787a6c6c07e3fe279e2767eb33bcd2d9ce6c624ecb11f6e5778c2495c config.ini -59df4642575f778da2f3b8a730fa06c6a820498507c13a3c9ffd042828ab8c95 openxcap.initd" -sha512sums="2e1b857d5083f34d42d621db7109fe1f0ba1f026220325ae9be54a9e5b7e4046798331ef2ebe56f5026d2c676da23dbde7b56317793ece173ac92e99274ff5cb openxcap-2.2.0.tar.gz -176399345d19dcfe6f8b5d341490c5d48dbbb8c00a3dc22e76287814988f26bf4aab7b5229e3ce049141d6861ff1bc1d7b973e74434377e619cb6eaa8715861c config.ini -df4874b0654ad89ab458a6b2924aa16be955e6d58ea28285c9dde48d7645361a57497b31e64197a0dfd5e740e158486a6330b3c0d65dcef940f5e20b0b319dde openxcap.initd" diff --git a/unmaintained/openxcap/config.ini b/unmaintained/openxcap/config.ini deleted file mode 100644 index bcf5b22f238..00000000000 --- a/unmaintained/openxcap/config.ini +++ /dev/null @@ -1,118 +0,0 @@ -; -; Configuration file for OpenXCAP -; -; The values in the commented lines represent the defaults built in the -; server software -; -[Server] - -; IP address to listen for requests -; 0.0.0.0 means any address of this host - -; address = 0.0.0.0 - -; This is a comma separated list of XCAP root URIs. The first is the -; primary XCAP root URI, while the others (if specified) are aliases. -; The primary root URI is used when generating xcap-diff -; If the scheme is https, then the server will listen for requests in TLS mode. - -root = http://xcap.example.com/xcap-root - -; The backend to be used for storage and authentication. Current supported -; values are Database and OpenSIPS. OpenSIPS backend inherits all the settings -; from the Database backend but performs extra actions related to the -; integration with OpenSIPS for which it read the settings from [OpenSIPS] -; section - -backend = OpenSIPS - -; Validate XCAP documents against XML schemas - -; document_validation = Yes - - -[Logging] - -; Start, stop and major server error messages are always logged to syslog. - -; This section can be used to log more details about XCAP clients accessing -; the server. The values in the commented lines represent the defaults built -; in the server software - -; Directory where to write access.log file that will contain requests and/or -; responses to OpenXCAP server in Apache style. If set to an empty string, -; access logs will be printed to stdout if the server runs in no-fork mode -; or to syslog if the server runs in the background - -; directory=/var/log/openxcap - -; The following parameters control what kind of information (like -; stacktrace, body or headers) is logged for which response codes. The -; values must be a comma-separated list of HTTP response codes or the -; keyword 'any' that matches all response codes. - -; log_stacktrace=500 -; log_response_headers=500 -; log_response_body=500 -; log_request_headers=500 -; log_request_body=500 - - -[Authentication] - -; The HTTP authentication type, this can be either 'basic' or 'digest'. The -; standard states 'digest' as the mandatory, however it can be changed to -; basic - -; type = digest - -; Specify if the passwords are stored as plain text - Yes -; or in a hashed format MD5('username:domain:password') - No -; cleartext_passwords = Yes - -; The default authentication realm, if none indicated in the HTTP request -; URI -default_realm = example.com - -; A comma-separated list of hosts or networks to trust. -; The elements can be an IP address in CIDR format, a -; hostname or an IP address (in the latter 2 a mask of 32 -; is assumed), or the special keywords 'any' and 'none' -; (being equivalent to 0.0.0.0/0 and 0.0.0.0/32 -; respectively). -; trusted_peers = - - -[TLS] - -; Location of X509 certificate and private key that identify this server. -; The path is relative to /etc/openxcap, or it can be given as an absolute -; path. - -; Server X509 certificate -; certificate = - -; Server X509 private key -; private_key = - - -[Database] - -; The database connection URI for the datase with subscriber accounts -authentication_db_uri = pgsql://username:password@db/opensips - -; The database connection URI for the database that stores the XCAP documents -storage_db_uri = mysql://username:password@db/opensips - -; Authentication and storage tables -; subscriber_table = subscriber -; xcap_table = xcap - - -[OpenSIPS] - -; The address and port of the xml-rpc management interface -xmlrpc_url = http://sip.example.com:8080 - -; Publish xcap-diff event via OpenSIPS management interface -; enable_publish_xcapdiff = yes diff --git a/unmaintained/openxcap/openxcap.initd b/unmaintained/openxcap/openxcap.initd deleted file mode 100644 index 7a2f667e1bf..00000000000 --- a/unmaintained/openxcap/openxcap.initd +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -INSTALL_DIR="/usr/bin" -RUNTIME_DIR="/var/run/openxcap" -DEFAULTS="/etc/default/openxcap" -SERVER="$INSTALL_DIR/openxcap" -PID="$RUNTIME_DIR/openxcap.pid" -OPTIONS="" -NAME="openxcap" -DESC="OpenXCAP server" - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting $DESC: $NAME " - start-stop-daemon --start --quiet --pidfile $PID --exec $SERVER -- $OPTIONS - eend $? -} - -stop () { - ebegin -n "Stopping $DESC: $NAME " - start-stop-daemon --stop --quiet --oknodo --signal 15 --pidfile $PID - eend $? -} - -exit 0 - diff --git a/unmaintained/openxcap/openxcap.pre-install b/unmaintained/openxcap/openxcap.pre-install deleted file mode 100755 index 0a932aa4fe6..00000000000 --- a/unmaintained/openxcap/openxcap.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S openxcap 2>/dev/null -adduser -S -D -H -h /var/run/openxcap -s /bin/false -G openxcap -g openxcap openxcap 2>/dev/null - -exit 0 diff --git a/unmaintained/ophcrack/APKBUILD b/unmaintained/ophcrack/APKBUILD deleted file mode 100644 index 475b1fd78b7..00000000000 --- a/unmaintained/ophcrack/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: -pkgname=ophcrack -pkgver=3.8.0 -pkgrel=0 -pkgdesc="Windows password cracker based on rainbow tables" -url="http://ophcrack.sourceforge.net/" -arch="all" -license="GPL-2.0-or-later" -makedepends="expat-dev openssl-dev" -source="https://downloads.sourceforge.net/project/ophcrack/ophcrack/$pkgver/ophcrack-$pkgver.tar.bz2 - " -options="!check" # No testsuite - -prepare() { - default_prepare - update_config_sub -} - -build() { - ./configure \ - --prefix=/usr \ - --disable-gui - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="c66276b72299744d3e0c9fc14220c7f568e383bd324c1ede228bda5d51da78db817388421c9f5f8cd2f18687e7e53cfb0c65bcc0354b3d55ac16324c61f62dbd ophcrack-3.8.0.tar.bz2" diff --git a/unmaintained/oprofile/APKBUILD b/unmaintained/oprofile/APKBUILD deleted file mode 100644 index cc7ae974fcc..00000000000 --- a/unmaintained/oprofile/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Timo Teräs <timo.teras@iki.fi> -# Maintainer: Timo Teräs <timo.teras@iki.fi> -pkgname=oprofile -pkgver=0.9.9 -pkgrel=0 -pkgdesc="A System Profiler for Linux" -url="http://oprofile.sourceforge.net/" -arch="" -license="GPL" -depends="" -makedepends="popt-dev gettext-dev" -install= -subpackages="$pkgname-doc" -options="libtool" -source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - op-AT_BASE_PLATFORM.patch" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-pic \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make -j1 DESTDIR="$pkgdir" install -} - -md5sums="00aec1287da2dfffda17a9b1c0a01868 oprofile-0.9.9.tar.gz -fc86dc788151ff8d0348a0c2fd9bddb4 op-AT_BASE_PLATFORM.patch" -sha256sums="1e523400daaba7b8d0d15269e977a08b40edfea53970774b69ae130e25117597 oprofile-0.9.9.tar.gz -f96d25ee22040085ad5b5026ff5116f83154fed345ce07c5293012112fbd5ec0 op-AT_BASE_PLATFORM.patch" -sha512sums="98cc3d2c15744d02ed649833cf4797482aec73bd52653e916f80b490e17a8250d988c4c945e52dd8999a0d0603fec405e99c9570dfc54baa4992950fe4d8763f oprofile-0.9.9.tar.gz -3f9ef8330cfea7f0f3f4d0cf824398ef42eee187e50a6d9458307954d2cebbe60573c7879d63fa6a6b9d6c76152f7fc95ba5b1bcac1a21a5ce07f2af1c861b6f op-AT_BASE_PLATFORM.patch" diff --git a/unmaintained/oprofile/op-AT_BASE_PLATFORM.patch b/unmaintained/oprofile/op-AT_BASE_PLATFORM.patch deleted file mode 100644 index ea77357b690..00000000000 --- a/unmaintained/oprofile/op-AT_BASE_PLATFORM.patch +++ /dev/null @@ -1,45 +0,0 @@ -http://sourceforge.net/p/oprofile/bugs/245/ - -Index: oprof-work/libop/op_cpu_type.c -=================================================================== ---- oprof-work.orig/libop/op_cpu_type.c -+++ oprof-work/libop/op_cpu_type.c -@@ -23,9 +23,16 @@ - #include <elf.h> - #include <link.h> - -+#include "config.h" - #include "op_cpu_type.h" - #include "op_hw_specific.h" - -+/* A macro to be used for ppc64 architecture-specific code. The '__powerpc__' macro -+ * is defined for both ppc64 and ppc32 architectures, so we must further qualify by -+ * including the 'HAVE_LIBPFM' macro, since that macro will be defined only for ppc64. -+ */ -+#define PPC64_ARCH (HAVE_LIBPFM) && ((defined(__powerpc__) || defined(__powerpc64__))) -+ - struct cpu_descr { - char const * pretty; - char const * name; -@@ -176,6 +183,7 @@ static char * _get_cpuinfo_cpu_type(char - return _get_cpuinfo_cpu_type_line(buf, len, prefix, 1); - } - -+#if PPC64_ARCH - // The aux vector stuff below is currently only used by ppc64 arch - static ElfW(auxv_t) * auxv_buf = NULL; - -@@ -312,6 +320,13 @@ static op_cpu _get_ppc64_cpu_type(void) - cpu_type = op_get_cpu_number(cpu_type_str); - return cpu_type; - } -+#else -+static op_cpu _get_ppc64_cpu_type(void) -+{ -+ return CPU_NO_GOOD; -+} -+#endif -+ - - static op_cpu _get_arm_cpu_type(void) - { diff --git a/unmaintained/ospd-acunetix/APKBUILD b/unmaintained/ospd-acunetix/APKBUILD deleted file mode 100644 index a78e17ecf9b..00000000000 --- a/unmaintained/ospd-acunetix/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-acunetix -pkgver=1.0b1 -pkgrel=5 -_pkgid=2181 -pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner" -url="https://www.openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3" -makedepends="py3-setuptools" -source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-acunetix-$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="2a5b6fde959a890cd2084d1f8414639f8d281c3456239f101d1f353ec4044142cf71d7f7788a4d9aa0ce5d7a8a33204b785f5fd5d372d5c661e1ba9b9a447fd3 ospd-acunetix-1.0b1.tar.gz" diff --git a/unmaintained/ospd-ancor/APKBUILD b/unmaintained/ospd-ancor/APKBUILD deleted file mode 100644 index ef2a6e2f128..00000000000 --- a/unmaintained/ospd-ancor/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-ancor -pkgver=1.0.0 -pkgrel=4 -_pkgid=2005 -pkgdesc="OSP server implementation to allow OpenVAS to get scan results from an Ancor server" -url="http://openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 py3-requests ospd" -makedepends="python3-dev py3-setuptools" -source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build -} - -check() { - cd "$builddir" - python3 setup.py check -} - -package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="5bf23798c6bed4ba70e8f9c694c5870ef05d39a92091821687251e92df05363016a700dd9432c94646af7763bc7f6681b69a827f9bd8786a614a356d8c40602a ospd-ancor-1.0.0.tar.gz" diff --git a/unmaintained/ospd-debsecan/APKBUILD b/unmaintained/ospd-debsecan/APKBUILD deleted file mode 100644 index dd9d909ce04..00000000000 --- a/unmaintained/ospd-debsecan/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-debsecan -pkgver=1.2b1 -pkgrel=4 -_pkgid=2405 -pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner" -url="https://www.openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd" -makedepends="py3-paramiko py3-setuptools" -source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-debsecan-$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="f86f72713dda710c4b7975ed78dc26c664dcbcd5e77e7cab227416748982e29b7e22259fbf5c790a6c7d620234fc38e2c921555900b323f1bf57179ff472dcc3 ospd-debsecan-1.2b1.tar.gz" diff --git a/unmaintained/ospd-ikeprobe/APKBUILD b/unmaintained/ospd-ikeprobe/APKBUILD deleted file mode 100644 index 29f6ebb3e51..00000000000 --- a/unmaintained/ospd-ikeprobe/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-ikeprobe -pkgver=1.0b1 -pkgrel=5 -_pkgid=2204 -pkgdesc="OSP server implementation to allow OpenVAS to remotely control a ikeprobe scanner" -url="http://www.openvas.org/" -arch="noarch" -license="GPL" -depends="python3 ospd" -makedepends="cmake python3-dev py3-setuptools" -source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build -} - -check() { - cd "$builddir" - python3 setup.py check -} - -package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="567b2100ab42d7effe8fb47890a3c05fb7066ef97e29f2c723a3f29fd58addac220a91dda01804e997eec126905d43d59621b7318bfa02487ed789e228fe8660 ospd-ikeprobe-1.0b1.tar.gz" diff --git a/unmaintained/ospd-ikescan/APKBUILD b/unmaintained/ospd-ikescan/APKBUILD deleted file mode 100644 index da47d948dbe..00000000000 --- a/unmaintained/ospd-ikescan/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-ikescan -pkgver=1.0b1 -pkgrel=6 -_pkgid=2185 -pkgdesc="OSP server implementation to allow OpenVAS to remotely control a ike-scan scanner" -url="https://www.openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd py3-pexpect" -makedepends="python3-dev py3-setuptools" -source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-ikescan-$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="4035656008d9cae579a836a4d69a7d1d2b5a45610fcfdab9b4311c942788bf4dc10b8db1dba6325fb162b4dd19cd3a522f44cff1d70152af7bfb096095a00e60 ospd-ikescan-1.0b1.tar.gz" diff --git a/unmaintained/ospd-netstat/APKBUILD b/unmaintained/ospd-netstat/APKBUILD deleted file mode 100644 index d521fcea2e6..00000000000 --- a/unmaintained/ospd-netstat/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-netstat -pkgver=1.0b1 -pkgrel=7 -_pkgid=2219 -pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner" -url="https://www.openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd" -makedepends="python3-dev py3-setuptools" -source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-netstat-$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="f5a439cd0f60073d5d25c4a10743945b8ef7eb041e0364f0ba73d250d0988b90d75f3156464433a7baab116680e3f54be2bb556053b0020177edca008cda0e69 ospd-netstat-1.0b1.tar.gz" diff --git a/unmaintained/ospd-nmap/APKBUILD b/unmaintained/ospd-nmap/APKBUILD deleted file mode 100644 index 928b4293043..00000000000 --- a/unmaintained/ospd-nmap/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-nmap -pkgver=1.0b1 -pkgrel=6 -_pkgid=2218 -pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner" -url="https://www.openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3" -makedepends="python3-dev py3-setuptools" -source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-nmap-$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="f251d0951ba6225844274d26187aa7b90a654ed765471f356fa7979b623c5c04c7f7527dffb9e8f28e278c3e4079a7881947787435779c57d5346520934a9d21 ospd-nmap-1.0b1.tar.gz" diff --git a/unmaintained/ospd-ovaldi/APKBUILD b/unmaintained/ospd-ovaldi/APKBUILD deleted file mode 100644 index 851136a4415..00000000000 --- a/unmaintained/ospd-ovaldi/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-ovaldi -pkgver=1.0.0 -pkgrel=5 -_pkgid=2003 -pkgdesc="OSP server implementation to allow OpenVAS to remotely control ovaldi scanners" -url="http://openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd" -makedepends="python3-dev py3-paramiko py3-setuptools" -source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build -} - -check() { - cd "$builddir" - python3 setup.py check -} - -package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="73a0e2782225ca010abcf3ba45378238da44450fd856a2dc6dfbcc1d24c83a8b5e1e252189029c80bab850dff4b91c8f461f49b4a3410e86285b85ce4ac5113a ospd-ovaldi-1.0.0.tar.gz" diff --git a/unmaintained/ospd-paloalto/APKBUILD b/unmaintained/ospd-paloalto/APKBUILD deleted file mode 100644 index b418446fe57..00000000000 --- a/unmaintained/ospd-paloalto/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-paloalto -pkgver=1.0b1 -pkgrel=6 -_pkgid=2149 -pkgdesc="OSP server implementation to allow OpenVAS to remotely control a PaloAlto" -url="https://www.openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd" -makedepends="python3-dev py3-setuptools" -source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-paloalto-$pkgver.tar.gz" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="33e0645a467e08c0836096568859917beee9abc2131b22ca35e280c1a0f5ace36047cec93cbfb42c679f30e81ed1f238b7fdf8bf1ecbb90fe1f5beb1a1d0cc55 ospd-paloalto-1.0b1.tar.gz" diff --git a/unmaintained/ospd-ssh-keyscan/APKBUILD b/unmaintained/ospd-ssh-keyscan/APKBUILD deleted file mode 100644 index 6470307ce34..00000000000 --- a/unmaintained/ospd-ssh-keyscan/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-ssh-keyscan -pkgver=1.0b1 -pkgrel=4 -_pkgid=2213 -pkgdesc="OSP server implementation to allow OpenVAS to scan ssh keys" -url="http://openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd" -makedepends="python3-dev py3-paramiko py3-setuptools" -source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build -} - -check() { - cd "$builddir" - python3 setup.py check -} - -package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="510a084ff93e2c6283ef21ea4c439077b15c9ada92f48cd0876fca87d430a4479b5700b536d68322cbcde7a1cc5109993706fae4d29e9ee61a7cb927450e5262 ospd-ssh-keyscan-1.0b1.tar.gz" diff --git a/unmaintained/ospd-w3af/APKBUILD b/unmaintained/ospd-w3af/APKBUILD deleted file mode 100644 index 396c424d1f4..00000000000 --- a/unmaintained/ospd-w3af/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=ospd-w3af -pkgver=1.0.0 -pkgrel=5 -_pkgid=2004 -pkgdesc="OSP server implementation to allow OpenVAS to remotely control a w3af scanner" -url="http://openvas.org/" -arch="noarch" -license="GPL-2.0-or-later" -depends="python3 ospd" -makedepends="python3-dev py3-paramiko py3-setuptools" -source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - python3 setup.py build -} - -check() { - cd "$builddir" - python3 setup.py check -} - -package() { - cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="798ce2551134e8060d2c8ed5e72ceaa9b378ee31a175120aa43441ea6ff8f5a6cd421c710d6fde7beaf659cd82d213fe78d7d5b8f846be5d2535e094b719977e ospd-w3af-1.0.0.tar.gz" diff --git a/unmaintained/owncloud/APKBUILD b/unmaintained/owncloud/APKBUILD deleted file mode 100644 index fe58310a686..00000000000 --- a/unmaintained/owncloud/APKBUILD +++ /dev/null @@ -1,275 +0,0 @@ -# Contributor: Łukasz Jendrysik <scadu@yandex.com> -# Maintainer: -pkgname=owncloud -pkgver=9.1.3 -pkgrel=0 -_contactsver="0.0.0.183" -_calendarver="1.3.3" -_tasksver="0.9.3" -_documentsver="$pkgver" -_pdfviewerver="$pkgver" -_texteditorver="$pkgver" -_musicver="0.3.11" -_php=php5 -pkgdesc="Your own WebDAV-based cloud service" -url="http://owncloud.org" -arch="noarch" -license="AGPL" -depends="$_php ${_php}-ctype ${_php}-curl ${_php}-dom ${_php}-gd ${_php}-iconv - ${_php}-json ${_php}-xml ${_php}-xmlreader ${_php}-zlib ${_php}-zip" -makedepends="" -subpackages="$pkgname-initscript $pkgname-doc $pkgname-pgsql $pkgname-sqlite - $pkgname-mysql $pkgname-encryption $pkgname-calendar $pkgname-contacts - $pkgname-documents $pkgname-external $pkgname-gallery $pkgname-music - $pkgname-ldap $pkgname-tasks $pkgname-texteditor $pkgname-pdfviewer - $pkgname-videoplayer" -replaces="$pkgname-plugins" -source="https://download.owncloud.org/community/$pkgname-$pkgver.tar.bz2 - $pkgname-contacts-$_contactsver.tar.gz::https://github.com/owncloud/contacts/releases/download/v$_contactsver/contacts.tar.gz - $pkgname-calendar-$_calendarver.tar.gz::https://github.com/owncloud/calendar/releases/download/v$_calendarver/calendar.tar.gz - $pkgname-documents-$_documentsver.tar.gz::https://github.com/owncloud/documents/archive/v$_documentsver.tar.gz - $pkgname-texteditor-$_texteditorver.tar.gz::https://github.com/owncloud/files_texteditor/archive/v$_texteditorver.tar.gz - $pkgname-music-$_musicver.zip::https://github.com/owncloud/music/releases/download/v$_musicver/music.zip - $pkgname-pdfviewer-$_pdfviewerver.tar.gz::https://github.com/owncloud/files_pdfviewer/archive/v$_pdfviewerver.tar.gz - $pkgname-tasks-$_tasksver.tar.gz::https://github.com/owncloud/tasks/archive/v$_tasksver.tar.gz - $pkgname.confd - fpm-pool.conf - owncloud.config.php.in - " -pkgusers="owncloud" -pkggroups="www-data" -builddir="$srcdir/$pkgname" - -_ocbasedir="/var/lib/owncloud" -_ocdatadir="$_ocbasedir/data" -_ocwwwdir="/usr/share/webapps/owncloud" -_ocappsdir="$_ocwwwdir/apps" -_occonfdir="/etc/owncloud" - -prepare() { - default_prepare || return 1 - - sed "s/__VERSION__/$pkgver/" "$srcdir"/owncloud.config.php.in \ - > "$srcdir"/owncloud.config.php -} - -package() { - cd "$builddir" - - mkdir -p "$pkgdir"$_occonfdir "$pkgdir"$_ocdatadir "$pkgdir"$_ocwwwdir - - rm -rf config data - mv * "$pkgdir"${_ocwwwdir}/ || return 1 - chmod +x "$pkgdir"${_ocwwwdir}/occ || return 1 - - ln -s $_occonfdir "$pkgdir"${_ocwwwdir}/config || return 1 - install -m660 ../owncloud.config.php \ - "$pkgdir"${_occonfdir}/config.php || return 1 - install -m664 .htaccess "$pkgdir"${_ocwwwdir}/.htaccess || return 1 - - local dir; for dir in $_occonfdir $_ocdatadir $_ocappsdir; do - chown -R :www-data "$pkgdir"$dir || return 1 - chmod 770 "$pkgdir"$dir || return 1 - done -} - -initscript() { - pkgdesc="Init script that runs ownCloud with php-fpm" - depends="$pkgname $_php-fpm" - install="$subpkgname.pre-install $subpkgname.post-install" - - local confdir="$subpkgdir/etc/$_php/php-fpm.d" - local fpm_name="php-fpm${_php:3}" - - if [ "$_php" = "php5" ]; then - confdir="${confdir/php-/}" - fpm_name="php-fpm" - fi - - install -m 755 -o owncloud -d "$subpkgdir"/var/log/$pkgname || return 1 - install -m 700 -o owncloud -d "$subpkgdir"/var/tmp/$pkgname || return 1 - - install -m 644 -D "$srcdir"/fpm-pool.conf \ - "$confdir"/$pkgname.conf || return 1 - - install -m 644 -D "$srcdir"/$pkgname.confd \ - "$subpkgdir"/etc/conf.d/$pkgname || return 1 - - mkdir -p "$subpkgdir"/etc/init.d - ln -s $fpm_name "$subpkgdir"/etc/init.d/$pkgname -} - -doc() { - pkgdesc="$pkgdesc (documentation)" - depends="$pkgname" - - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/core - mv "$pkgdir"/usr/share/webapps/$pkgname/core/doc \ - "$subpkgdir"/usr/share/doc/$pkgname/core -} - -pgsql() { - pkgdesc="ownCloud PostgreSQL support" - depends="$pkgname ${_php}-pgsql ${_php}-pdo_pgsql ${_php}-pear-mdb2-driver-pgsql" - - mkdir -p "$subpkgdir" -} - -sqlite() { - pkgdesc="ownCloud SQLite support" - depends="$pkgname ${_php}-sqlite3 ${_php}-pdo_sqlite" - - mkdir -p "$subpkgdir" -} - -mysql() { - pkgdesc="ownCloud MySQL support" - depends="$pkgname ${_php}-mysql ${_php}-pdo_mysql ${_php}-pear-mdb2-driver-mysql" - - mkdir -p "$subpkgdir" -} - -plugins() { - pkgdesc="ownCloud 3rdparty plugins" - depends="$pkgname" - - mkdir -p "$subpkgdir"${_ocwwwdir} - mv "$pkgdir"${_ocwwwdir}/3rdparty "$subpkgdir"${_ocwwwdir}/ -} - -_mv_app() { - local from="$1" - local dir="$2" - - mkdir -p "$subpkgdir"${_ocappsdir} - - if [ "$from" = "pkg" ]; then - mv "$pkgdir"${_ocappsdir}/$dir "$subpkgdir"${_ocappsdir}/ || return 1 - elif [ "$from" = "src" ]; then - local appname="${subpkgname#$pkgname-}" - mv "$srcdir"/$dir "$subpkgdir"${_ocappsdir}/$appname/ || return 1 - fi - chown -R :www-data "$subpkgdir"${_ocappsdir} || return 1 - chmod 770 "$subpkgdir"${_ocappsdir} || return 1 -} - -contacts() { - pkgdesc="ownCloud contacts" - depends="$pkgname" - - _mv_app src contacts -} - -calendar() { - pkgdesc="ownCloud calendar" - depends="$pkgname" - - _mv_app src calendar -} - -documents() { - pkgdesc="ownCloud integrated documents editor" - depends="$pkgname" - - _mv_app src documents-$_documentsver -} - -encryption() { - pkgdesc="ownCloud integrated encryption support" - depends="$pkgname ${_php}-openssl" - - _mv_app pkg encryption -} - -external() { - pkgdesc="ownCloud integrated external storage support" - depends="$pkgname ${_php}-curl ${_php}-ftp" - - _mv_app pkg files_external -} - -gallery() { - pkgdesc="ownCloud integrated gallery application" - depends="$pkgname" - - _mv_app pkg gallery -} - -ldap() { - pkgdesc="ownCloud integrated LDAP authentication" - depends="$pkgname ${_php}-ldap" - - _mv_app pkg user_ldap -} - -music() { - pkgdesc="ownCloud music app" - depends="$pkgname" - - _mv_app src music - # Correct world-writable directories. - find "${subpkgdir}${_ocappsdir}" -type d -exec chmod 775 {} \; -} - -pdfviewer() { - pkgdesc="ownCloud integrated PDF viewer" - depends="$pkgname" - - _mv_app pkg files_pdfviewer -} - -tasks() { - pkgdesc="ownCloud tasks" - depends="$pkgname" - - _mv_app src tasks-$_tasksver -} - -texteditor() { - pkgdesc="ownCloud integrated text editor" - depends="$pkgname" - - _mv_app pkg files_texteditor -} - -videoplayer() { - pkgdesc="ownCloud integrated video viewer" - depends="$pkgname" - provides="$pkgname-videoviewer" - - _mv_app pkg files_videoplayer -} - -md5sums="095df252495e246a053fee7c048db255 owncloud-9.1.3.tar.bz2 -a2623501e3e524b973759a9628a4749d owncloud-contacts-0.0.0.183.tar.gz -1183d4bb6a1ef40b10473757e4694c52 owncloud-calendar-1.3.3.tar.gz -4f7058773d488c022cdc3735d6e293d0 owncloud-documents-9.1.3.tar.gz -cc694da1f081181a9e36194803e50b3d owncloud-texteditor-9.1.3.tar.gz -8452cdd43587469e680597a2c10c830e owncloud-music-0.3.11.zip -3420df7f6c05ca20be239ea5cebfd7a4 owncloud-pdfviewer-9.1.3.tar.gz -84e7e522faa5f4a6bd3c75a29e259bcb owncloud-tasks-0.9.3.tar.gz -ea483e710da2fa9995543d9b5b8ee11e owncloud.confd -779c544fd1900557f4e69504aa28eeed fpm-pool.conf -e1081190b2916a7f61fe403a03d8fa06 owncloud.config.php.in" -sha256sums="e0a1eb35fffb61dab5ca41f6d3fdb4ddcc3ec09683cd620b8094846785d4f6e9 owncloud-9.1.3.tar.bz2 -d6ea14796f27f4cfb6db63b8e3612a71d3e3e6e2d8edffce85df45fcb71c7106 owncloud-contacts-0.0.0.183.tar.gz -e3cd0de34e7de1d9f08d5c7dce5e9f45826cc9e59292b847fa900ca3cdf6b3fc owncloud-calendar-1.3.3.tar.gz -7028152d65d463791353f256f39f85d131b6b7481d266ec16354ab55d7d8444f owncloud-documents-9.1.3.tar.gz -888b6c803240415d04de064c3768740b650709a971854222e8638644ea2e138e owncloud-texteditor-9.1.3.tar.gz -e480e639e48419977f06822aa92f1245c21a43d9aafc156edb6fd097873a73ca owncloud-music-0.3.11.zip -db3f803990612b1e6c6500a0b77ef7383da318b5b6e61bd4a1a4e586dc9b192f owncloud-pdfviewer-9.1.3.tar.gz -0a5ef52ba915e7ec8f124ab7bd2c01f22db27f77343ddfa8d799927711133c55 owncloud-tasks-0.9.3.tar.gz -96d61ee75e8c948f78d31bdb770636819b8d678892a4003168c140fab69861cd owncloud.confd -41dd626e34ea0b0ea3eac13b43a655586097fe746d5a713c0c765dbc2b8c2fa0 fpm-pool.conf -d00bdbf610d6994cdb61269620dc0fdb892a43a10895c00060d72731f7acd854 owncloud.config.php.in" -sha512sums="e661d3a69d1bce51aa6336fddd2ba205970d0d14e306a6ea0befa9fad6bb3563ff26118cd0471d4728cd9387fe67b58ba55058109bbf84f6c5c71fd87be38cea owncloud-9.1.3.tar.bz2 -7d0b3808a8734cd6895847ea1986345df71cd7e0633dcf2b8b9989bc9d38c3182bf6d93d75c32378270d124e885d7d730fd1ead5198bd9276de8425a5ff725d3 owncloud-contacts-0.0.0.183.tar.gz -8f2b260a63644a5fb529211dd160aa3169ffde56ceeacf25f7c7748b2d7dfa9b1115663955eae3b9e35283545e57ff1b6f48ea75713f50db6bab51ebdb5e598e owncloud-calendar-1.3.3.tar.gz -9494672aeb6a4cf193c2b5f258a781713c009c47060f17ed951aa7cd9d3d00d912983156aa30d2d2b27667d30f746e496053e63a495e1e36f9072fa153745e96 owncloud-documents-9.1.3.tar.gz -df0425e2769f32f7b8919e67e7eece3a9fd2d7a86a1fe1875a31ab1e3d0829a7b178ee2c6bc9a4ca13777f27c1f880792d6f8638fb72c0fd6c53312af0cc8f7d owncloud-texteditor-9.1.3.tar.gz -fde1758a512a960985cbbfde9294f77458fad2cb4801daceedac76a58dbb2862f2586cb17376915cdcb47a768c75be46f863834a96f1148eae98285217491d59 owncloud-music-0.3.11.zip -9b3642ba9a1b01dbcc96c4e46735a546c6e0bdb77f87b166aadf9dc1c0c27a276bf4464009d9ef494107786c1ab38f59d218e0f9a2aa2a9a3db2e1e002fbebbe owncloud-pdfviewer-9.1.3.tar.gz -05903caadaab8c7982cb91b1442d617c777a9d97fcd5406d1b404006fa91ef73251852a53a03cb7fcbed097c1120fc920983c1a24a0e8f1f2e95b230153fd26a owncloud-tasks-0.9.3.tar.gz -7d1fa12f08f74b88d1ba7858a8295f6e5b200f16ed7366af48cc891b8c0074da85df008ed6f920df8b61bdfd5a27ac2a9623309b6334f82051a04067e746023e owncloud.confd -e5afd329faf06acec747cb2af8dea409b6991dcc7aa15e894444899ccaf17502fdfab437cfb91170d1e1aee39385b72f277922dccdd8c6e08cc928b146ccaeda fpm-pool.conf -c7aa08cf9b8fb8f61454af3ccc5b743e33b4cc294e6c42ed2eb16894f0a411b22bdc4d8f691964860a7c88ea7255424c1e369063ae37041850a9624b4139d478 owncloud.config.php.in" diff --git a/unmaintained/owncloud/fpm-pool.conf b/unmaintained/owncloud/fpm-pool.conf deleted file mode 100644 index 57db4968c2c..00000000000 --- a/unmaintained/owncloud/fpm-pool.conf +++ /dev/null @@ -1,183 +0,0 @@ -[global] -; Error log file -; Default Value: log/php-fpm.log -error_log = /var/log/owncloud/php-fpm.log - -; Log level -; Possible Values: alert, error, warning, notice, debug -; Default Value: notice -log_level = warning - -; If this number of child processes exit with SIGSEGV or SIGBUS within the time -; interval set by emergency_restart_interval then FPM will restart. A value -; of '0' means 'Off'. -; Default Value: 0 -emergency_restart_threshold = 10 - -; Interval of time used by emergency_restart_interval to determine when -; a graceful restart will be initiated. This can be useful to work around -; accidental corruptions in an accelerator's shared memory. -; Available Units: s(econds), m(inutes), h(ours), or d(ays) -; Default Unit: seconds -; Default Value: 0 -emergency_restart_interval = 1m - -; Time limit for child processes to wait for a reaction on signals from master. -; Available units: s(econds), m(inutes), h(ours), or d(ays) -; Default Unit: seconds -; Default Value: 0 -process_control_timeout = 10s - - -[owncloud] -; The address on which to accept FastCGI requests. -; Valid syntaxes are: -; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on -; a specific port; -; 'port' - to listen on a TCP socket to all addresses on a -; specific port; -; '/path/to/unix/socket' - to listen on a unix socket (the path is *not* -; relative to chroot!) -; Note: This value is mandatory. -listen = /run/owncloud/fastcgi.sock - -; Set permissions for unix socket, if one is used. In Linux, read/write -; permissions must be set in order to allow connections from a web server. Many -; BSD-derived systems allow connections regardless of permissions. -; Default Values: user and group are set as the running user -; mode is set to 0666 -listen.mode = 0660 - -; Choose how the process manager will control the number of child processes. -; Possible Values: -; static ... a fixed number of child processes. -; dynamic ... the number of child processes are set dynamically. -; ondemand ... no children are created at startup; children will be forked -; when new requests will connect. -; Note: This value is mandatory. -pm = ondemand - -; The number of child processes to be created when pm is set to 'static' and the -; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. -; This value sets the limit on the number of simultaneous requests that will be -; served. -; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' -; Note: This value is mandatory. -pm.max_children = 15 - -; The number of seconds after which an idle process will be killed. -; Note: Used only when pm is set to 'ondemand' -; Default Value: 10s -pm.process_idle_timeout = 120s - -; The number of requests each child process should execute before respawning. -; This can be useful to work around memory leaks in 3rd party libraries. For -; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS. -; Default Value: 0 -pm.max_requests = 500 - -; The URI to view the FPM status page. If this value is not set, no URI will be -; recognized as a status page. -; Note: The value must start with a leading slash (/). The value can be -; anything, but it may not be a good idea to use the .php extension or it -; may conflict with a real PHP file. -; Default Value: not set -pm.status_path = - -; The ping URI to call the monitoring page of FPM. If this value is not set, no -; URI will be recognized as a ping page. This could be used to test from outside -; that FPM is alive and responding, or to -; - create a graph of FPM availability (rrd or such); -; - remove a server from a group if it is not responding (load balancing); -; - trigger alerts for the operating team (24/7). -; Note: The value must start with a leading slash (/). The value can be -; anything, but it may not be a good idea to use the .php extension or it -; may conflict with a real PHP file. -; Default Value: not set -ping.path = /ping - -; The timeout for serving a single request after which the worker process will -; be killed. This option should be used when the 'max_execution_time' ini option -; does not stop script execution for some reason. A value of '0' means 'off'. -; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) -; Default Value: 0 -;request_terminate_timeout = 0 - -; The timeout for serving a single request after which a PHP backtrace will be -; dumped to the 'slowlog' file. A value of '0s' means 'off'. -; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) -; Default Value: 0 -;request_slowlog_timeout = 0 - -; The log file for slow requests -; Default Value: not set -; Note: slowlog is mandatory if request_slowlog_timeout is set -; Note: the path is *not* relative to chroot. -;slowlog = /var/log/owncloud/php-fpm.slow.log - -; Redirect worker stdout and stderr into main error log. If not set, stdout and -; stderr will be redirected to /dev/null according to FastCGI specs. -; Note: on highloaded environement, this can cause some delay in the page -; process time (several ms). -; Default Value: no -;catch_workers_output = yes - -; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from -; the current environment. -; Default Value: clean env -env[PATH] = /usr/bin:/bin - -; Additional php.ini defines, specific to this pool of workers. These settings -; overwrite the values previously defined in the php.ini. The directives are the -; same as the PHP SAPI: -; php_value/php_flag - you can set classic ini defines which can -; be overwritten from PHP call 'ini_set'. -; php_admin_value/php_admin_flag - these directives won't be overwritten by -; PHP call 'ini_set' -; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. -; -; Defining 'extension' will load the corresponding shared extension from -; extension_dir. Defining 'disable_functions' or 'disable_classes' will not -; overwrite previously defined php.ini values, but will append the new value -; instead. -; -; Note: path INI options can be relative and will be expanded with the prefix -; (pool, global or /usr/lib/php5.3) - -; Allow HTTP file uploads. -php_admin_flag[file_uploads] = true - -; Maximal size of a file that can be uploaded via web interface. -php_admin_value[memory_limit] = 512M -php_admin_value[post_max_size] = 513M -php_admin_value[upload_max_filesize] = 513M - -; Where to store temporary files. -php_admin_value[session.save_path] = /var/tmp/owncloud -php_admin_value[sys_temp_dir] = /var/tmp/owncloud -php_admin_value[upload_tmp_dir] = /var/tmp/owncloud - -; Log errors to specified file. -php_admin_value[error_log] = /var/log/owncloud/php.error.log - -; OPcache error_log file name. Empty string assumes "stderr" -php_admin_value[opcache.error_log] = /var/log/owncloud/php.error.log - -; Output buffering is a mechanism for controlling how much output data -; (excluding headers and cookies) PHP should keep internally before pushing that -; data to the client. If your application's output exceeds this setting, PHP -; will send that data in chunks of roughly the size you specify. -; This must be disabled for ownCloud. -php_admin_flag[output_buffering] = false - -; Overload(replace) single byte functions by mbstring functions. -; This must be disabled for ownCloud. -php_admin_flag[mbstring.func_overload] = false - -; Never populate the $HTTP_RAW_POST_DATA variable. -; http://php.net/always-populate-raw-post-data -php_admin_value[always_populate_raw_post_data] = -1 - -; Disable certain functions for security reasons. -; http://php.net/disable-functions -php_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,curl_multi_exec,show_source diff --git a/unmaintained/owncloud/owncloud-initscript.post-install b/unmaintained/owncloud/owncloud-initscript.post-install deleted file mode 100644 index 92db8896263..00000000000 --- a/unmaintained/owncloud/owncloud-initscript.post-install +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# It's not needed to be writable for www-data group when running with php-fpm. -for dir in /etc/owncloud \ - /etc/owncloud/config.php \ - /var/lib/owncloud/data \ - /usr/share/webapps/owncloud/apps -do - chmod g-w $dir - chown owncloud $dir -done -chgrp root /etc/owncloud/config.php - -cat <<EOF -* -* Point your web server to /run/owncloud/fastcgi.sock and start ownCloud with -* /etc/init.d/owncloud start. You can modify php-fpm settings in -* /etc/php5/fpm.d/owncloud.conf. -* -EOF - -exit 0 diff --git a/unmaintained/owncloud/owncloud-initscript.pre-install b/unmaintained/owncloud/owncloud-initscript.pre-install deleted file mode 100644 index e162bbac1d5..00000000000 --- a/unmaintained/owncloud/owncloud-initscript.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S -g 82 www-data 2>/dev/null -adduser -S -D -H -h /var/lib/owncloud -s /sbin/nologin -G www-data -g ownCloud owncloud 2>/dev/null - -exit 0 diff --git a/unmaintained/owncloud/owncloud.confd b/unmaintained/owncloud/owncloud.confd deleted file mode 100644 index c4bd6b162f2..00000000000 --- a/unmaintained/owncloud/owncloud.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Config file for /etc/init.d/owncloud - -name="ownCloud" -user="owncloud" -group="www-data" diff --git a/unmaintained/owncloud/owncloud.config.php.in b/unmaintained/owncloud/owncloud.config.php.in deleted file mode 100644 index 5fd814268c5..00000000000 --- a/unmaintained/owncloud/owncloud.config.php.in +++ /dev/null @@ -1,25 +0,0 @@ -<?php -$CONFIG = array( - 'datadirectory' => '/var/lib/owncloud/data', - 'apps_path' => array ( - 0 => array ( - "path" => OC::$SERVERROOT."/apps", - "url" => "/apps", - "writable" => false, - ), - /* Uncomment this and install your apps here - 1 => array ( - "path" => "/var/www/localhost/htdocs/myoc_apps", - "url" => "/myoc_apps", - "writable" = true, - ), - */ - ), - 'version' => '__VERSION__', - 'dbname' => 'owncloud', - 'dbhost' => 'localhost', - 'dbuser' => 'owncloud', - 'installed' => false, - 'loglevel' => '0', -); -?> diff --git a/unmaintained/paxmark/APKBUILD b/unmaintained/paxmark/APKBUILD deleted file mode 100644 index 0192ef91403..00000000000 --- a/unmaintained/paxmark/APKBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Maintainer: Timo Teräs <timo.teras@iki.fi> -pkgname=paxmark -pkgver=0.12 -pkgrel=0 -pkgdesc="Manage PaX marking of executables" -url="https://alpinelinux.org" -arch="noarch" -options="!check" -license="GPL-2.0-or-later" -depends="attr" -source="paxmark" - -package() { - mkdir -p "$pkgdir"/usr/sbin - install -m755 "$srcdir"/paxmark "$pkgdir"/usr/sbin - ln -s paxmark "$pkgdir"/usr/sbin/paxmark.sh -} - -sha512sums="8bbae69e8159a75abd24b461994ad2c1995529fac1457c48845eec43b7f03b4fe50f49992810978ae15b1854bdf97ed86948f1b48209fd26baabb39384384d52 paxmark" diff --git a/unmaintained/paxmark/paxmark b/unmaintained/paxmark/paxmark deleted file mode 100644 index 03e244bc09d..00000000000 --- a/unmaintained/paxmark/paxmark +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -ret=0 -flags="${1//[!zPpEeMmRrSs]}" -[ -n "${flags}" ] || exit 0 -shift - -# Create XATTR_PAX marking using attr -xval="" -[ "${flags//[!P]}" ] && xval="${xval}P" -[ "${flags//[!p]}" -a -z "${flags//[!P]}" ] && xval="${xval}p" -[ "${flags//[!E]}" ] && xval="${xval}E" -[ "${flags//[!e]}" -a -z "${flags//[!E]}" ] && xval="${xval}e" -[ -z "${flags//[!zEe]}" ] && xval="${xval}e" -[ "${flags//[!M]}" ] && xval="${xval}M" -[ "${flags//[!m]}" -a -z "${flags//[!M]}" ] && xval="${xval}m" -[ "${flags//[!R]}" ] && xval="${xval}R" -[ "${flags//[!r]}" -a -z "${flags//[!R]}" ] && xval="${xval}r" -[ "${flags//[!S]}" ] && xval="${xval}S" -[ "${flags//[!s]}" -a -z "${flags//[!S]}" ] && xval="${xval}s" - -for f in "$@"; do - if [ -n "FAKEROOTKEY" ]; then - # fakeroot does not set xattr's on disk. - # explicitly do that, because the marked binary might - # be executed next during install. But don't fail on it - # because if xattr is not supported it's not hardened kernel. - LD_PRELOAD="" FAKEROOTKEY="" attr -q -s pax.flags -V "${xval}" "${f}" &>/dev/null - fi - attr -q -s pax.flags -V "${xval}" "${f}" >/dev/null || ret=1 -done - -exit $ret - diff --git a/unmaintained/pdnsd/APKBUILD b/unmaintained/pdnsd/APKBUILD deleted file mode 100644 index eb9ea754d34..00000000000 --- a/unmaintained/pdnsd/APKBUILD +++ /dev/null @@ -1,103 +0,0 @@ -# Contributor: Matt Smith <mcs@darkregion.net> -# Maintainer: Matt Smith <mcs@darkregion.net> -pkgname=pdnsd -pkgver=1.2.9a -_realver=$pkgver-par -pkgrel=5 -pkgdesc="A proxy DNS server with permanent caching" -url="http://members.home.nl/p.a.rombouts/pdnsd/" -arch="all" -license="GPL" -depends= -depends_dev= -makedepends="$depends_dev linux-headers" -install="$pkgname.pre-install" -subpackages="$pkgname-doc" -pkgusers="pdnsd" -pkggroups="pdnsd" -source="http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$pkgver-par.tar.gz - pdnsd.initd - pdnsd.confd - pdnsd.conf - " - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-ipv6 \ - --with-random-device=/dev/urandom \ - --enable-tcp-subseq \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.conf \ - "$pkgdir"/etc/$pkgname.conf || return 1 - - chown -R pdnsd "$pkgdir"/var/cache/pdnsd || return 1 - sed -ri 's/([ ]*run_as=)"nobody";/\1"pdnsd";/' \ - "$pkgdir"/etc/pdnsd.conf.sample || return 1 - sed -ri '/pid_file/d' "$pkgdir"/etc/pdnsd.conf.sample || return 1 - sed -ri '/query_method/d' "$pkgdir"/etc/pdnsd.conf.sample || return 1 -} - -doc() { - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/html || return 1 - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname/txt || return 1 - mkdir -p "$subpkgdir"/usr/share/$pkgname/contrib || return 1 - - # /usr/share/{man,doc/$pkgname} - cp -a "$pkgdir"/usr/share/ "$subpkgdir"/usr/ || return 1 - rm -rf "$pkgdir"/usr/share/ || return 1 - _docs="AUTHORS COPYING COPYING.BSD ChangeLog ChangeLog.old \ - NEWS README README.par README.par.old THANKS TODO" - for _doc in $_docs; do - cp "$_builddir"/$_doc "$subpkgdir"/usr/share/doc/$pkgname/ \ - || return 1 - done - cp -R "$_builddir"/doc/html/* \ - "$subpkgdir"/usr/share/doc/$pkgname/html/ || return 1 - cp -R "$_builddir"/doc/txt/* \ - "$subpkgdir"/usr/share/doc/$pkgname/txt/ || return 1 - - # /usr/share/$pkgname - mv "$pkgdir"/etc/pdnsd.conf.sample \ - "$subpkgdir"/usr/share/$pkgname/ || return 1 - _contribs="README change_pdnsd_server_ip.pl dhcp2pdnsd pdnsd_dhcp.pl" - for _contrib in $_contribs; do - cp -a "$_builddir"/contrib/$_contrib \ - "$subpkgdir"/usr/share/$pkgname/contrib/ || return 1 - done - default_doc -} - -sha512sums="4fde296642306aa986ddb7cad0b5991bcd397656d93ef4962706276848c7fa62c664a40198e807d029637f116e8000c237d98b91cbbfec5c08b134d8bb3adf81 pdnsd-1.2.9a-par.tar.gz -41062d23e4586a3db38609c808584e55d913786627a83cd7d4bf61ac963b4ad8ba4ea4316dc1839e5082cfe6e7c84cf4d0323da9380d3b6d29b7c870c1a7a156 pdnsd.initd -e8fc0667dd58a4bf6a685b9a6590fd5141e116ca7e769aa14180c642908fc214f3c3a6c45c7a3bb17f241bcb06ff6972ca46d1ab58e139ac9b68049fc137eadc pdnsd.confd -ad023777f3d1f8eb5b9e296f42511c56aae4b5785b42a256c6f61d0b619657929622aced7034feabf321833e739a70c109610df0fc08e133557a7cf51c2fafd4 pdnsd.conf" diff --git a/unmaintained/pdnsd/pdnsd.conf b/unmaintained/pdnsd/pdnsd.conf deleted file mode 100644 index f3e6ae4b750..00000000000 --- a/unmaintained/pdnsd/pdnsd.conf +++ /dev/null @@ -1,51 +0,0 @@ -# -# Default Alpine Linux pdnsd config -# -# See /usr/share/pdnsd/pdnsd.conf.sample and the pdnsd.conf(5) manpage, -# both available in the pdnsd-doc package. -# -# Comments can begin with either '#' or '//', and entire blocks may be -# commented out with '/*' and '*/'. -# -global { - perm_cache=2048; - cache_dir="/var/cache/pdnsd"; - run_as="pdnsd"; - server_ip = any; - status_ctl = on; -# paranoid=on; # This option reduces the chance of cache poisoning - # but may make pdnsd less efficient, unfortunately. - min_ttl=15m; # Retain cached entries at least 15 minutes. - max_ttl=1w; # One week. - timeout=10; # Global timeout option (10 seconds). - neg_domain_pol=on; -} - -server { - label= "googledns"; - ip = 8.8.8.8, 8.8.4.4; - proxy_only=on; - lean_query=on; - timeout=4; # Server timeout; this may be much shorter - # that the global timeout option. - uptest=none; - interval=10m; # Check every 10 minutes. - purge_cache=off; -} - -/* -source { - owner=localhost; -# serve_aliases=on; - file="/etc/hosts"; -} -*/ - -rr { - name=localhost; - reverse=on; - a=127.0.0.1; -# a=::1; - owner=localhost; - soa=localhost,root.localhost,42,86400,900,86400,86400; -} diff --git a/unmaintained/pdnsd/pdnsd.confd b/unmaintained/pdnsd/pdnsd.confd deleted file mode 100644 index 8f8820c8da2..00000000000 --- a/unmaintained/pdnsd/pdnsd.confd +++ /dev/null @@ -1,18 +0,0 @@ -# -# Specify pdnsd options here. -# -# -4 run in IPv4 mode -# -6 run in IPv6 mode -# -a autodetects IPv6 supports, falls back to IPv4 -# NOTE: IPv6 mode seems to have issues. -# -d run in daemon mode -# -s enables the status control socket so pdnsd-ctl can be used at run-time -# (same as setting status_ctl=on; in the config file) -# -t enables the TCP server thread alongside the UDP server thread -# -mut sets the query method to 'ut': udp first, fallback to tcp -# -c specifies the config file -# -p specifies the pid file -# -g enables debugging/logging output at /var/cache/pdnsd/pdnsd.debug -# -vn where n specifies the debugging verbosity level (0-3) - -pdnsd_opts="-4 -d -s -t -mut -c /etc/pdnsd.conf -p /var/run/pdnsd.pid" diff --git a/unmaintained/pdnsd/pdnsd.initd b/unmaintained/pdnsd/pdnsd.initd deleted file mode 100644 index 12baa03cdb0..00000000000 --- a/unmaintained/pdnsd/pdnsd.initd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run - -name=pdnsd -daemon=/usr/sbin/$name - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${name}" - start-stop-daemon --start --quiet \ - --pidfile /var/run/${name}.pid \ - --exec ${daemon} -- ${pdnsd_opts} - eend $? -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet \ - --pidfile /var/run/$name.pid \ - --exec ${daemon} - eend $? -} diff --git a/unmaintained/pdnsd/pdnsd.pre-install b/unmaintained/pdnsd/pdnsd.pre-install deleted file mode 100644 index 164ef02a444..00000000000 --- a/unmaintained/pdnsd/pdnsd.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -adduser -S -H -h /var/cache/pdnsd -s /sbin/nologin -g pdnsd pdnsd 2>/dev/null - -exit 0 diff --git a/unmaintained/perl-anyevent-influxdb/APKBUILD b/unmaintained/perl-anyevent-influxdb/APKBUILD deleted file mode 100644 index cdf2b4ee579..00000000000 --- a/unmaintained/perl-anyevent-influxdb/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 2 -# Contributor: Nick Andrew <nick@nick-andrew.net> -# Maintainer: Nick Andrew <nick@nick-andrew.net> -pkgname=perl-anyevent-influxdb -_pkgreal=AnyEvent-InfluxDB -pkgver=1.0.2.0 -pkgrel=4 -pkgdesc="An asynchronous library for InfluxDB time-series database" -url="https://metacpan.org/release/AnyEvent-InfluxDB" -arch="" # blocking on perl-www-curl -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -depends=" - perl perl-anyevent-http perl-anyevent perl-list-moreutils perl-moo perl-json perl-uri - perl-uri-encode-xs - " -makedepends="perl-module-build" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/A/AJ/AJGB/$_pkgreal-$pkgver.tar.gz" -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - default_prepare - - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - perl Build.PL installdirs=vendor -} - -build() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - ./Build && ./Build test -} - -package() { - ./Build install destdir="$pkgdir" - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="1b88aa659fae9f7089547f9765048368811af26a0d090ead61a862dd00ebe175e9a2ea458dae39590268b0bb77913b630fb13e07fe3bccaff002bb5da6bc2c42 AnyEvent-InfluxDB-1.0.2.0.tar.gz" diff --git a/unmaintained/perl-couchbase/APKBUILD b/unmaintained/perl-couchbase/APKBUILD deleted file mode 100644 index ae43ae5edef..00000000000 --- a/unmaintained/perl-couchbase/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Nathan Johnson <nathan@nathanjohnson.info> -# Maintainer: Nathan Johnson <nathan@nathanjohnson.info> -pkgname=perl-couchbase -_pkgreal=Couchbase -pkgver=2.0.3 -pkgrel=9 -pkgdesc="Couchbase Client Library" -url="https://metacpan.org/release/Couchbase" -arch="all" -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -cpandepends="perl-constant-generate perl-uri perl-class-xsaccessor perl-json-maybexs" -cpanmakedepends="perl-log-fu perl-test-class perl-dir-self" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends libcouchbase-dev" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/M/MN/MNUNBERG/$_pkgreal-$pkgver.tar.gz" -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make -} - -check() { - make test -} - -package() { - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="5d4fd37c828f8ddfa918ac30f50570b25fa6393fbb1b44527bc10a49e02fcc2a3a3fff4f687c33245bf5504fbc7392920f43b61946212ef27ec05e6c06f4e888 Couchbase-2.0.3.tar.gz" diff --git a/unmaintained/perl-dancer-plugin-swig/APKBUILD b/unmaintained/perl-dancer-plugin-swig/APKBUILD deleted file mode 100644 index f6267cd557e..00000000000 --- a/unmaintained/perl-dancer-plugin-swig/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-dancer-plugin-swig -_pkgreal=Dancer-Plugin-Swig -pkgver=0.02 -pkgrel=3 -pkgdesc="A plugin for swig client" -url="https://metacpan.org/release/Dancer-Plugin-Swig" -arch="" # blocked by perl-webservice-swigclient -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -depends="perl perl-dancer perl-webservice-swigclient" -makedepends="perl-test-most perl-test-easy" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/L/LO/LOGIE/$_pkgreal-$pkgver.tar.gz" - -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test -} - -package() { - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="81a72c1af8a2e7e9c01b0a6c7d79d54f54eda3fa1394670108d516ab1688a9bbce7e1130fba6e2d08d5feb8342dd2cf3c6c3541db4a0f69fd3b22b3595c3652f Dancer-Plugin-Swig-0.02.tar.gz" diff --git a/unmaintained/perl-io-async/APKBUILD b/unmaintained/perl-io-async/APKBUILD deleted file mode 100644 index 4b0d8ec637c..00000000000 --- a/unmaintained/perl-io-async/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Sheila Aman <sheila@vulpine.house> -# Maintainer: Sheila Aman <sheila@vulpine.house> -pkgname=perl-io-async -_pkgreal=IO-Async -pkgver=0.79 -pkgrel=0 -pkgdesc="Asynchronous event-driven programming" -url="https://metacpan.org/release/IO-Async" -arch="noarch" -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -depends="perl perl-struct-dumb perl-future" -makedepends="perl-test-refcount perl-test-fatal perl-test-identity perl-module-build" -checkdepends="perl-test-metrics-any" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" -options="net" # Required for tests -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - default_prepare - perl Build.PL installdirs=vendor -} - -build() { - ./Build -} - -check() { - ./Build test -} - -package() { - ./Build install destdir="$pkgdir" - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="33b5af45933ef402d1d73afaedb2e3d17cb41cf70d844a523a58319f29bb7c3938309c69f1c35ccdcbbb2ca87ab0af8d80bfc063ccb7e1438dbe48ff92ff14e2 IO-Async-0.79.tar.gz" diff --git a/unmaintained/perl-mail-clamav/0001.patch b/unmaintained/perl-mail-clamav/0001.patch deleted file mode 100644 index 17910bd6d8d..00000000000 --- a/unmaintained/perl-mail-clamav/0001.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -51,7 +51,23 @@ - } - - my $clver = get_cl_version(); -- return warn_cl_version_bad() if $clver lt $minclversion; -+ my @m_clver = split /\./, $clver; -+ my @m_minclversion = split /\./, $minclversion; -+ if ($m_clver[0] < $m_minclversion[0]) { -+ return warn_cl_version_bad() if $m_clver[0] lt $m_minclversion[0]; -+ } else { -+ if ($m_clver[0] = $m_minclversion[0]) { -+ if ($m_clver[1] < $m_minclversion[1]) { -+ return warn_cl_version_bad() if $m_clver[1] lt $m_minclversion[1]; -+ } else { -+ if ($m_clver[1] = $m_minclversion[1]) { -+ if ($m_clver[2] < $m_minclversion[2]) { -+ return warn_cl_version_bad() if $m_clver[2] lt $m_minclversion[2]; -+ } -+ } -+ } -+ } -+ } - - my $inc = get_cl_inc_paths(); - my $libs = get_cl_libs(); diff --git a/unmaintained/perl-mail-clamav/APKBUILD b/unmaintained/perl-mail-clamav/APKBUILD deleted file mode 100644 index 03b8a070b03..00000000000 --- a/unmaintained/perl-mail-clamav/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=perl-mail-clamav -_pkgname=Mail-ClamAV -pkgver=0.30 -pkgrel=1 -pkgdesc="Perl extension for the clamav virus scanner" -url="https://metacpan.org/pod/Mail::ClamAV" -arch="all" -license="Artistic-1.0-Perl OR GPL-1.0-or-later" -depends="perl clamav" -makedepends="bzip2-dev clamav-dev zlib-dev - perl-dev perl-inline perl-inline-c perl-parse-recdescent - " -options="!check" # requires clamav db in /var/lib/clamav -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/C/CA/CAVAC/Mail-ClamAV-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -prepare() { - sed -i -e 's%\(clamav-config --version\)%sh /usr/bin/\1%' Makefile.PL - default_prepare - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make -j1 -} - -check() { - make test -} -package() { - make DESTDIR="$pkgdir" INSTALLDIRS=vendor install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="0a6a029df2a46cbf09eeade22cd8b525f4e75c80f05a4833e41c52b4c1653f8f1cca6e19f6011354f053e3b4ec235d75bcf672bf91f63d0f5a92914f2e1f4e89 Mail-ClamAV-0.30.tar.gz" diff --git a/unmaintained/perl-net-async-http/APKBUILD b/unmaintained/perl-net-async-http/APKBUILD deleted file mode 100644 index 60cd87966c3..00000000000 --- a/unmaintained/perl-net-async-http/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 3 -# Contributor: Sheila Aman <sheila@vulpine.house> -# Maintainer: Sheila Aman <sheila@vulpine.house> -pkgname=perl-net-async-http -#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan -_pkgreal=Net-Async-HTTP -pkgver=0.48 -pkgrel=1 -pkgdesc="use HTTP with C<IO::Async>" -url="https://metacpan.org/release/Net-Async-HTTP/" -arch="noarch" -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -depends="perl perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb perl-metrics-any" -makedepends=" - perl-test-identity perl-http-cookies perl-test-refcount perl-module-build perl-io-async - perl-test-metrics-any - " -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-Async-HTTP-$pkgver.tar.gz" -builddir="$srcdir/$_pkgreal-$pkgver" - -build() { - perl Build.PL --installdirs=vendor - ./Build -} - -check() { - ./Build test -} - -package() { - ./Build install --destdir="$pkgdir" - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="40592c345574edb1274b797356f0077aaddbbb2d7d6ae7c13903b2d9184e4605e911dd0f0c55ecfee68a06e403840f6f5672972d71aa3dce823fdf56caf281dc Net-Async-HTTP-0.48.tar.gz" diff --git a/unmaintained/perl-webservice-swigclient/APKBUILD b/unmaintained/perl-webservice-swigclient/APKBUILD deleted file mode 100644 index 7edb446cb2f..00000000000 --- a/unmaintained/perl-webservice-swigclient/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=perl-webservice-swigclient -_pkgreal=WebService-SwigClient -pkgver=0.001 -pkgrel=4 -pkgdesc="A client for connecting to a swig service" -url="https://metacpan.org/release/WebService-SwigClient" -arch="" # blocked by perl-www-curl -license="GPL-1.0-or-later OR Artistic-1.0-Perl" -depends=" - perl perl-test-most perl-test-easy perl-moo perl-file-slurp perl-www-curl perl-json-xs - perl-common-sense perl-types-serialiser - " -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/L/LO/LOGIE/$_pkgreal-$pkgver.tar.gz" - -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test -} - -package() { - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="0e1eb0981b1bbc8f004689be85b20e87b1806d43748039831e0bdb032243bb573e43c974725c865d8c98333a376882460fd77c7b247f245370891a42ee2262b1 WebService-SwigClient-0.001.tar.gz" diff --git a/unmaintained/perl-www-curl/APKBUILD b/unmaintained/perl-www-curl/APKBUILD deleted file mode 100644 index 31874cddb10..00000000000 --- a/unmaintained/perl-www-curl/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-www-curl -_pkgreal=WWW-Curl -pkgver=4.17 -pkgrel=8 -pkgdesc="Perl extension interface for libcurl" -url="https://metacpan.org/release/WWW-Curl" -arch="" # fails to build -license="MIT" -depends="perl" -makedepends="curl-dev" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/S/SZ/SZBALINT/$_pkgreal-$pkgver.tar.gz - WWW-Curl-4.17-RT117793.patch - perl-5.26.patch - fix-curl.xs.patch - " - -builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - default_prepare - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make - if [ "$CARCH" != "ppc64le" ]; then - make test - fi -} - -package() { - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -sha512sums="bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6 WWW-Curl-4.17.tar.gz -d92cb37435d66867578818776f3ef64f4f6295515639d9bf860907ad28ca4109435c45174b49bdeb594a0cddafcc3f833c41d15d641eadfbbec598b77a1e90df WWW-Curl-4.17-RT117793.patch -a0e91afecc23df532c1256255b202152597d00fd6e677d25a473fb0ce5e6d2a0be978298fee9dd73343765a1ad925afea5c73be458ace4311c733a14d0f55bae perl-5.26.patch -5bdd2fcdc235d28b811c9197bc24f80857476a2704212b63f762aa61252665ddbfc2fb3493952426d3760c76e1f3ea23298fc040770664de87deab4945d3bb36 fix-curl.xs.patch" diff --git a/unmaintained/perl-www-curl/WWW-Curl-4.17-RT117793.patch b/unmaintained/perl-www-curl/WWW-Curl-4.17-RT117793.patch deleted file mode 100644 index e89d237ea23..00000000000 --- a/unmaintained/perl-www-curl/WWW-Curl-4.17-RT117793.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 292c05a8aa9c18bd27d0aaff0b4ee601d9b87b92 Mon Sep 17 00:00:00 2001 -From: Slaven Rezic <cpansand@cvrsnica-freebsd-101.herceg.de> -Date: Sun, 16 Apr 2017 22:17:00 +0200 -Subject: [PATCH] compilation fixes for curl 7.50.2 and newer (RT #117793) - ---- - Makefile.PL | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.PL b/Makefile.PL -index f9170bb..bb852e4 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -127,7 +127,7 @@ if (!defined($curl_h)) { - close H; - - for my $e (sort @syms) { -- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) { -+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z)/) { - next; - } - my ($group) = $e =~ m/^([^_]+_)/; --- -2.1.2 - diff --git a/unmaintained/perl-www-curl/fix-curl.xs.patch b/unmaintained/perl-www-curl/fix-curl.xs.patch deleted file mode 100644 index 1ae3e8b46c9..00000000000 --- a/unmaintained/perl-www-curl/fix-curl.xs.patch +++ /dev/null @@ -1,163 +0,0 @@ -From 893518f6ed260b67fc86e344a9c6bb7626617b3a Mon Sep 17 00:00:00 2001 -From: Tuukka Pasanen <tuukka.pasanen@ilmi.fi> -Date: Mon, 16 Dec 2019 10:41:59 +0200 -Subject: [PATCH 1/3] For maximum backward compability define __CURL_MULTI_H if - it's not defined - ---- - Curl.xs | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/Curl.xs b/Curl.xs -index cfa282d..a98c255 100644 ---- a/Curl.xs -+++ b/Curl.xs -@@ -68,6 +68,12 @@ typedef struct { - struct curl_httppost * last; - } perl_curl_form; - -+/* To keep backward compability define __CURL_MULTI_H if it's not defined */ -+#ifdef CURLINC_MULTI_H -+# ifndef __CURL_MULTI_H -+# define __CURL_MULTI_H 1 -+# endif -+#endif - - typedef struct { - #ifdef __CURL_MULTI_H - -From 3e94be6ae245ca29ac21745cf273c7bd0ca9b178 Mon Sep 17 00:00:00 2001 -From: Tuukka Pasanen <tuukka.pasanen@ilmi.fi> -Date: Mon, 16 Dec 2019 10:53:25 +0200 -Subject: [PATCH 2/3] Remove -Wunused-but-set-variable warnings - ---- - Curl.xs | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/Curl.xs b/Curl.xs -index a98c255..828b4ec 100644 ---- a/Curl.xs -+++ b/Curl.xs -@@ -358,7 +358,6 @@ fwrite_wrapper2 ( - - if (call_function) { /* We are doing a callback to perl */ - int count, status; -- SV *sv; - - ENTER; - SAVETMPS; -@@ -608,6 +607,8 @@ curl_easy_init(...) - char *sclass = "WWW::Curl::Easy"; - - PPCODE: -+ /* Prevent ununsed variable warning */ -+ (void)(ix); - if (items>0 && !SvROK(ST(0))) { - STRLEN dummy; - sclass = SvPV(ST(0),dummy); -@@ -951,6 +952,8 @@ int - curl_easy_cleanup(self) - WWW::Curl::Easy self - CODE: -+ /* Prevent unused variable warning */ -+ (void)(self); - /* does nothing anymore - cleanup is automatic when a curl handle goes out of scope */ - RETVAL = 0; - OUTPUT: -@@ -968,6 +971,8 @@ curl_easy_strerror(self, errornum) - int errornum - CODE: - { -+ /* Prevent unused variable */ -+ (void)(self); - #if (LIBCURL_VERSION_NUM>=0x070C00) - const char * vchar = curl_easy_strerror(errornum); - #else -@@ -1186,6 +1191,8 @@ curl_multi_strerror(self, errornum) - int errornum - CODE: - { -+ /* Prevent unused variable warning */ -+ (void)(self); - #if (LIBCURL_VERSION_NUM>=0x070C00) - const char * vchar = curl_multi_strerror(errornum); - #else -@@ -1256,6 +1263,8 @@ curl_share_strerror(self, errornum) - int errornum - CODE: - { -+ /* Prevent unused variable */ -+ (void)(self); - #if (LIBCURL_VERSION_NUM>=0x070C00) - const char * vchar = curl_share_strerror(errornum); - #else - -From 968e410fcd6ddc4a122d787186eac6516bf982aa Mon Sep 17 00:00:00 2001 -From: Tuukka Pasanen <tuukka.pasanen@ilmi.fi> -Date: Mon, 16 Dec 2019 11:00:46 +0200 -Subject: [PATCH 3/3] Remove -Wattribute-warning warning messages with - typecasting - ---- - Curl.xs | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/Curl.xs b/Curl.xs -index 828b4ec..05eb71a 100644 ---- a/Curl.xs -+++ b/Curl.xs -@@ -667,7 +667,7 @@ curl_easy_duphandle(self) - } - - if (self->callback[callback_index(CURLOPT_DEBUGFUNCTION)] || self->callback_ctx[callback_index(CURLOPT_DEBUGDATA)]) { -- curl_easy_setopt(clone->curl, CURLOPT_DEBUGFUNCTION, debug_callback_func); -+ curl_easy_setopt(clone->curl, CURLOPT_DEBUGFUNCTION, (curl_debug_callback) debug_callback_func); - curl_easy_setopt(clone->curl, CURLOPT_DEBUGDATA, clone); - } - -@@ -722,7 +722,7 @@ curl_easy_setopt(self, option, value, push=0) - perl_curl_easy_register_callback(aTHX_ self,&(self->callback_ctx[callback_index(option)]), value); - break; - case CURLOPT_DEBUGDATA: -- curl_easy_setopt(self->curl, CURLOPT_DEBUGFUNCTION, SvOK(value) ? debug_callback_func : NULL); -+ curl_easy_setopt(self->curl, CURLOPT_DEBUGFUNCTION, (curl_debug_callback) (SvOK(value) ? debug_callback_func : NULL)); - curl_easy_setopt(self->curl, option, SvOK(value) ? self : NULL); - perl_curl_easy_register_callback(aTHX_ self,&(self->callback_ctx[callback_index(option)]), value); - break; -@@ -743,7 +743,7 @@ curl_easy_setopt(self, option, value, push=0) - perl_curl_easy_register_callback(aTHX_ self,&(self->callback[callback_index(option)]), value); - break; - case CURLOPT_DEBUGFUNCTION: -- curl_easy_setopt(self->curl, option, SvOK(value) ? debug_callback_func : NULL); -+ curl_easy_setopt(self->curl, option, (curl_debug_callback) (SvOK(value) ? debug_callback_func : NULL)); - curl_easy_setopt(self->curl, CURLOPT_DEBUGDATA, SvOK(value) ? self : NULL); - perl_curl_easy_register_callback(aTHX_ self,&(self->callback[callback_index(option)]), value); - break; -@@ -796,7 +796,7 @@ curl_easy_setopt(self, option, value, push=0) - - /* tell curl to redirect STDERR - value should be a glob */ - case CURLOPT_STDERR: -- RETVAL = curl_easy_setopt(self->curl, option, IoOFP(sv_2io(value)) ); -+ RETVAL = curl_easy_setopt(self->curl, option, (FILE *) IoOFP(sv_2io(value)) ); - break; - - /* not working yet... */ -@@ -817,7 +817,7 @@ curl_easy_setopt(self, option, value, push=0) - WWW__Curl__Share wrapper; - IV tmp = SvIV((SV*)SvRV(value)); - wrapper = INT2PTR(WWW__Curl__Share,tmp); -- RETVAL = curl_easy_setopt(self->curl, option, wrapper->curlsh); -+ RETVAL = curl_easy_setopt(self->curl, option, (CURLSH *) wrapper->curlsh); - } else - croak("value is not of type WWW::Curl::Share"); - break; -@@ -1096,7 +1096,7 @@ curl_multi_info_read(self) - }; - if (easy) { - curl_easy_getinfo(easy, CURLINFO_PRIVATE, &stashid); -- curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL); -+ curl_easy_setopt(easy, CURLINFO_PRIVATE, (curl_off_t) NULL); - curl_multi_remove_handle(self->curlm, easy); - XPUSHs(sv_2mortal(newSVpv(stashid,0))); - XPUSHs(sv_2mortal(newSViv(res))); diff --git a/unmaintained/perl-www-curl/perl-5.26.patch b/unmaintained/perl-www-curl/perl-5.26.patch deleted file mode 100644 index 428d93c32d1..00000000000 --- a/unmaintained/perl-www-curl/perl-5.26.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/Makefile.PL b/Makefile.PL -index bb852e4..dd6d228 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -1,6 +1,7 @@ - # Makefile.PL for Perl module WWW::Curl - # Check out the README file for more information. - -+BEGIN { push @INC, '.'; } - use inc::Module::Install; - - name 'WWW-Curl'; diff --git a/unmaintained/pgcluster/APKBUILD b/unmaintained/pgcluster/APKBUILD deleted file mode 100644 index 73ef7d6ecf3..00000000000 --- a/unmaintained/pgcluster/APKBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Maintainer: Cameron Banta <cbanta@gmail.com> -pkgname=pgcluster -pkgver=1.9.00001 -_myver=1.9.0rc5 -pkgrel=0 -pkgdesc="PostgreSQL with multi-master cluster/replication patch" -url="http://pgfoundry.org/projects/pgcluster/" -arch="all !aarch64" -license="BSD" -depends= -makedepends="readline-dev libressl-dev zlib-dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libpq $pkgname-client" -source="http://pgfoundry.org/frs/download.php/1705/$pkgname-$_myver.tar.gz - musl-fixes.patch - $pkgname.initd - $pkgname.confd - " - -[ "$ALPINE_LIBC" = "eglibc" ] && arch= - -_builddir="$srcdir/$pkgname-$_myver" - -prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --with-docdir=/usr/share/doc \ - --with-openssl \ - || return 1 - - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - install -D -m755 "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname - install -D -m644 "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 -} - -libpq() { - depends= - pkgdesc="PGCluster libraries" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/libpq.so* "$subpkgdir"/usr/lib/ -} - -client() { - depends= - pkgdesc="PGCluster client" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/psql "$subpkgdir"/usr/bin/ -} - -sha512sums="825b3da733c2e455bbdfca5833ec6f874d622529cc70fa6a398db458696d8398aa52101633ea703c698df0c86170b2522bb289ac3888b3f76575781f4a4c0d64 pgcluster-1.9.0rc5.tar.gz -e07a310644f6bad61a199c0d16997d2cd5105a81ad92074839c8296f7357e0abd25a17601485f6baf5b62a07e478fda1ceb36ef79dff2341f5b5ea912bd5b17e musl-fixes.patch -32f21e761e963f91bd248f52ecb3c2abb9f0951fd5fb6b29c682ef2825aae2ed37483da728dfb8ce6281305e75568a1eac5037ced04ead604ce1c800695a1b52 pgcluster.initd -2dfa32a7c5fb39bf0fcc91f49a8fa432a983ad7eeecffe969f030e60da6ad5502aba6160daaae19c30c8596aab0ecf246775a53a18acb841c73c409a5a959bb2 pgcluster.confd" diff --git a/unmaintained/pgcluster/musl-fixes.patch b/unmaintained/pgcluster/musl-fixes.patch deleted file mode 100644 index 4f03458cda9..00000000000 --- a/unmaintained/pgcluster/musl-fixes.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- pgcluster-1.9.0rc5.orig/src/pgcluster/pgrp/main.c -+++ pgcluster-1.9.0rc5/src/pgcluster/pgrp/main.c -@@ -166,7 +166,7 @@ - static void startup_replication_server(void); - static int replicate_loop(int fd); - static void replicate_main(void); --static void quick_exit(SIGNAL_ARGS); -+static void signal_exit(SIGNAL_ARGS); - static void daemonize(void); - static void write_pid_file(void); - static void stop_pgreplicate(void); -@@ -231,10 +231,10 @@ - - close(fd); - -- PGRsignal(SIGHUP, quick_exit); -- PGRsignal(SIGINT, quick_exit); -- PGRsignal(SIGQUIT, quick_exit); -- PGRsignal(SIGTERM, quick_exit); -+ PGRsignal(SIGHUP, signal_exit); -+ PGRsignal(SIGINT, signal_exit); -+ PGRsignal(SIGQUIT, signal_exit); -+ PGRsignal(SIGTERM, signal_exit); - PGRsignal(SIGALRM, SIG_IGN); - PGRsignal(SIGPIPE, SIG_IGN); - setpgid(0,pgid); -@@ -524,7 +524,7 @@ - - /*-------------------------------------------------------------------- - * SYMBOL -- * quick_exit() -+ * signal_exit() - * NOTES - * Exit child process - * ARGS -@@ -534,10 +534,10 @@ - *-------------------------------------------------------------------- - */ - static void --quick_exit(SIGNAL_ARGS) -+signal_exit(SIGNAL_ARGS) - { - #ifdef PRINT_DEBUG -- show_debug("quick_exit:signo = %d", postgres_signal_arg); -+ show_debug("signal_exit:signo = %d", postgres_signal_arg); - #endif - exit(0); - } ---- pgcluster-1.9.0rc5.orig/src/pgcluster/pgrp/recovery.c -+++ pgcluster-1.9.0rc5/src/pgcluster/pgrp/recovery.c -@@ -398,7 +398,7 @@ - #ifdef PRINT_DEBUG - show_debug("%s:already recovery job runing",func); - #endif -- memset(packet,0,sizeof(packet)); -+ memset(packet,0,sizeof(*packet)); - PGRset_recovery_packet_no(packet, RECOVERY_ERROR_OCCUPIED) ; - status = send_packet(&Target,packet); - loop_end = true; diff --git a/unmaintained/pgcluster/pgcluster.confd b/unmaintained/pgcluster/pgcluster.confd deleted file mode 100644 index 9e1376eec70..00000000000 --- a/unmaintained/pgcluster/pgcluster.confd +++ /dev/null @@ -1,57 +0,0 @@ -# PostgreSQL's Database Directory -PGDATA="/var/lib/postgresql/pgcluster" - -# PostgreSQL User -PGUSER="postgres" - -# PostgreSQL Group -PGGROUP="postgres" - -# control what gets started by init script -PG_START_DB="yes" -PG_START_REPLICATE="yes" -PG_START_LB="no" - -# Extra options to run postmaster with, e.g.: -# -N is the maximal number of client connections -# -B is the number of shared buffers and has to be at least 2x the value for -N -# Please read the man-page to postmaster for more options. Many of these options -# can be set directly in the configuration-file. -#PGOPTS="-N 512 -B 1024" - - -# SERVER SHUTDOWN: -# The server will receive 3 signals in the worst case: -# 1. SIGTERM -# This signals the server to ignore new connections and to -# wait for all clients to end their transactions before shutting down. -# Use WAIT_FOR_DISCONNECT to control how much time the clients -# should have until the next signal is being sent. -# 2. SIGINT -# Tell the server to forcefully disconnect all clients. -# Terminating a client results in a rollback of the open transactions for this client. -# Use WAIT_FOR_CLEANUP to determine how much time the server has -# for cleanup. -# 3. SIGQUIT -# This will terminate the server immediately and results in a recovery run for the next start. - -# Wait for clients to disconnect -WAIT_FOR_DISCONNECT=30 - -# Time the server has to clean up -WAIT_FOR_CLEANUP=60 - -# Time the server has to quit (with a recover-run on next startup) -# Set to 0 to deactivate it -WAIT_FOR_QUIT=60 - -# Comment this out if you don't want to wait for the server to -# startup before continuing. For example, if this server is a -# PITR log shipping based replication standby -WAIT_FOR_START="-w" - -# If you have to export environment variables for the database process, -# this can be done here. -# -# Example: -# export R_HOME="/usr/lib/R" diff --git a/unmaintained/pgcluster/pgcluster.initd b/unmaintained/pgcluster/pgcluster.initd deleted file mode 100644 index f08d63606fd..00000000000 --- a/unmaintained/pgcluster/pgcluster.initd +++ /dev/null @@ -1,174 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.3,v 1.4 2008/09/28 22:53:02 caleb Exp $ - -extra_started_commands="reload" -extra_stopped_commands="setup" - -depend() { - use net - after firewall - provide postgresql -} - -checkconfig() { - if [ ! -d "$PGDATA" ] ; then - eerror "Directory not found: $PGDATA" - eerror "Please make sure that PGDATA points to the right path." - eerror "You can run '/etc/init.d/pgcluster setup' to setup a new database cluster." - return 1 - fi -} - -start() { - checkconfig || return 1 - - #ebegin "Starting PostgreSQL" - - if [ -f "$PGDATA/postmaster.pid" ] ; then - rm -f "$PGDATA/postmaster.pid" - fi - - local retval - - if [ ${PG_START_DB} == "yes" ]; then - ebegin "Starting PGCluster database instance" - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pg_ctl start ${WAIT_FOR_START} -o '--silent-mode=true ${PGOPTS}'" >/dev/null - retval=$? - if [ $retval -ne 0 ]; then - eend $retval - else - - # The following is to catch the case of an already running server - # in which pg_ctl doesn't know to which server it connected to and false reports the server as 'up' - sleep 2 - if [ ! -f "$PGDATA/postmaster.pid" ] ; then - eerror "The pid-file doesn't exist but pg_ctl reported a running server." - eerror "Please check whether there is another server running on the same port or read the log-file." - eend 1 - else - local pid=$(grep "^[0-9]\+" "$PGDATA/postmaster.pid") - test -d /proc/"${pid}" - eend $? - fi - fi - fi - - if [ ${PG_START_REPLICATE} == "yes" ]; then - ebegin "Starting PGCluster replicate instance" - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pgreplicate -D ${PGDATA} -l" >/dev/null - retval=$? - sleep 1 - if [ ! -f "$PGDATA/pgreplicate.pid" ] ; then - eerror "Where's the pid file?" - eend 1 - else - local pid=$(grep "^[0-9]\+" "$PGDATA/pgreplicate.pid") - test -d /proc/"${pid}" - eend $? - fi - fi - - if [ ${PG_START_LB} == "yes" ]; then - ebegin "Starting PGCluster load balancer instance" - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pglb -D ${PGDATA} -l" >/dev/null - retval=$? - sleep 1 - if [ ! -f "$PGDATA/pglb.pid" ] ; then - eerror "Where's the pid file?" - eend 1 - else - local pid=$(grep "^[0-9]\+" "$PGDATA/pglb.pid") - test -d /proc/"${pid}" - eend $? - fi - fi - return -} - -stop() { - local retval - - if [ ${PG_START_LB} == "yes" ]; then - ebegin "Stopping PGCluster Load Balancer instance" - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pglb -D ${PGDATA} -l stop" >/dev/null - eend $? - fi - if [ ${PG_START_REPLICATE} == "yes" ]; then - ebegin "Stopping PGCluster Replicate instance" - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pgreplicate -D ${PGDATA} -l stop" >/dev/null - eend $? - fi - - - if [ ${PG_START_DB} == "yes" ]; then - ebegin "Stopping PGCLuster database (this can take up to $(( ${WAIT_FOR_DISCONNECT} + ${WAIT_FOR_CLEANUP} )) seconds)" - if [ ! -f "$PGDATA/postmaster.pid" ] ; then - ewarn "$PGDATA/postmaster.pid not found. Was it running?" - eend 1 - return 0 - fi - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pg_ctl stop -t ${WAIT_FOR_DISCONNECT} -m smart" >/dev/null - - retval=$? - [ $retval -eq 0 ] && eend $retval && return $retval - - ewarn "Some clients did not disconnect within ${WAIT_FOR_DISCONNECT} seconds." - ewarn "Going to shutdown the server anyway." - - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pg_ctl stop -m fast" >/dev/null - - retval=$? - [ $retval -eq 0 ] && eend $retval && return $retval - - if [ ${WAIT_FOR_QUIT} -eq 0 ] ; then - eerror "Server did not shut down and sending the SIGQUIT has been disabled." - eend $retval - return $retval - fi - - ewarn "Shutting down the server gracefully failed." - ewarn "Forcing it to shutdown which leads to a recover-run on next startup." - - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pg_ctl stop -m immediate" >/dev/null - - retval=$? - [ $retval -eq 0 ] && eend $retval && return $retval - - eerror "Forced shutdown failed!!! Something is wrong with your system, please take care of it manually." - eend $? - fi -} - -reload() { - ebegin "Reloading PostgreSQL configuration" - su -l ${PGUSER} \ - -c "env PGDATA=\"${PGDATA}\" /usr/bin/pg_ctl reload" >/dev/null - eend $? -} - -setup() { - ebegin "Creating a new PGCluster database cluster" - if [ -d "${PGDATA}" ] ; then - eend 1 "${PGDATA} already exist" - return - fi - mkdir -p "${PGDATA}" - chown -Rf postgres:postgres "${PGDATA}" - chmod 0700 "${PGDATA}" - cd "${PGDATA}" # to avoid the: could not change directory to "/root" - su -c "/usr/bin/initdb --pgdata ${PGDATA}" postgres - einfo "You can use the '/etc/init.d/pgcluster' script to run PostgreSQL instead" - einfo "of 'pg_ctl'." - eend $? -} - diff --git a/unmaintained/php7-cassandra/APKBUILD b/unmaintained/php7-cassandra/APKBUILD deleted file mode 100644 index 20a9263c961..00000000000 --- a/unmaintained/php7-cassandra/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Gennady Feldman <gena01@gmail.com> -# Maintainer: Gennady Feldman <gena01@gmail.com> -pkgname=php7-cassandra -_pkgreal=cassandra -pkgver=1.3.2 -pkgrel=0 -pkgdesc="PHP7 extension: cassandra" -url="http://pecl.php.net/package/$_pkgreal" -arch="x86_64 x86 ppc64le" -license="PHP" -depends="" -makedepends="php7-dev autoconf cassandra-cpp-driver-dev>=2.4.2 gmp-dev libuv-dev pcre-dev" -source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz" -builddir="$srcdir/$_pkgreal-$pkgver" - -build() { - cd "$builddir" - - phpize7 || return 1 - ./configure --prefix=/usr --with-php-config=/usr/bin/php-config7 || return 1 - make || return 1 -} - -package() { - cd "$builddir" - - make INSTALL_ROOT="$pkgdir"/ install || return 1 - install -d "$pkgdir"/etc/php7/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini -} - -sha512sums="2b3605f24e81b247afa5ea6bb8e1d1c24216a281babfbd750b973fb2094c864a3d45c7769c759bfe2f3f31360766a5b2eb1ff0ee4414ec9a9e9c5f164748242a cassandra-1.3.2.tgz" diff --git a/unmaintained/php7-pear-auth_sasl/APKBUILD b/unmaintained/php7-pear-auth_sasl/APKBUILD deleted file mode 100644 index e562468215b..00000000000 --- a/unmaintained/php7-pear-auth_sasl/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-auth_sasl -_realname=Auth_SASL -pkgver=1.1.0 -pkgrel=1 -pkgdesc="Abstraction of various SASL mechanism responses" -url="http://pear.php.net/package/Auth_SASL" -arch="noarch" -license="BSD-3-Clause" -depends="${_php}-pear" -options="!check" # No testsuite -source="http://download.pear.php.net/package/$_realname-$pkgver.tgz" -builddir="$srcdir"/$_realname-$pkgver - -package() { - _phpdir="usr/share/$_php" - install -d "$pkgdir"/$_phpdir/PEAR && \ - cp -R Auth "$pkgdir"/$_phpdir/PEAR -} - -sha512sums="446ffa37fe7669d3993613167b07fb173c2e17664dcfb56d96a889b4a0cb2c83cc73d307aee15fc8fa7e666502835c15d09c32d8a491060bdd23c9093346bc40 Auth_SASL-1.1.0.tgz" diff --git a/unmaintained/php7-pear-auth_sasl2/APKBUILD b/unmaintained/php7-pear-auth_sasl2/APKBUILD deleted file mode 100644 index c826059c0bf..00000000000 --- a/unmaintained/php7-pear-auth_sasl2/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-auth_sasl2 -_realname=Auth_SASL2 -pkgver=0.2.0 -pkgrel=1 -pkgdesc="Abstraction of various SASL mechanism responses" -url="http://pear.php.net/package/Auth_SASL2" -arch="noarch" -license="BSD-3-Clause" -depends="${_php}-pear" -options="!check" # No testsuite -source="$pkgname-$pkgver.tgz::http://download.pear.php.net/package/$_realname-$pkgver.tgz" -builddir="$srcdir"/$_realname-$pkgver - -package() { - _phpdir="usr/lib/$_php" - install -d "$pkgdir"/$_phpdir/PEAR && \ - cp -R Auth "$pkgdir"/$_phpdir/PEAR -} - -sha512sums="ea4bed18d241e9e43e3d3b1edc8aec713276a19ed6fa2b2adc44cfe74b51895b719e4fbbf83836b26abb8bfa7f0600891b2c4511ddcc3f6d815e986a61277402 php7-pear-auth_sasl2-0.2.0.tgz" diff --git a/unmaintained/php7-pear-mail_mime/APKBUILD b/unmaintained/php7-pear-mail_mime/APKBUILD deleted file mode 100644 index 00f59c6f565..00000000000 --- a/unmaintained/php7-pear-mail_mime/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-mail_mime -_realname=Mail_Mime -pkgver=1.10.4 -pkgrel=0 -pkgdesc="Mail_Mime provides classes to create MIME messages" -url="http://pear.php.net/package/Mail_Mime/" -arch="noarch" -license="BSD-3-Clause" -depends="${_php}-pear" -options="!check" # No testsuite -source="http://download.pear.php.net/package/$_realname-$pkgver.tgz" -builddir="$srcdir"/$_realname-$pkgver - -package() { - _phpdir="usr/share/${_php}" - install -d "$pkgdir"/$_phpdir/PEAR && \ - cp -R Mail "$pkgdir"/$_phpdir/PEAR - install -d "$pkgdir"/$_phpdir/doc/$_realname/ && \ - cp -R scripts "$pkgdir"/$_phpdir/doc/$_realname - install -d "$pkgdir"/$_phpdir/test/$_realname && \ - cp -R tests "$pkgdir"/$_phpdir/test/$_realname -} - -sha512sums="6e58e1078292cf43605313e2402b60deb97be0b56c8eb5dbbb501cf92ca836ca4bdbc9e1ab878c89f8e59941962a91b73dd917c8e678f0944f271e5537f065e5 Mail_Mime-1.10.4.tgz" diff --git a/unmaintained/php7-pear-mdb2_driver_mysql/APKBUILD b/unmaintained/php7-pear-mdb2_driver_mysql/APKBUILD deleted file mode 100644 index f493dc65959..00000000000 --- a/unmaintained/php7-pear-mdb2_driver_mysql/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-mdb2_driver_mysql -_realname=MDB2_Driver_mysql -pkgver=1.5.0b4 -pkgrel=0 -pkgdesc="mysql MDB2 driver" -url="http://pear.php.net/package/$_realname/" -arch="noarch" -license="LGPL" -depends="${_php}-pear" -options="!check" -source="http://download.pear.php.net/package/$_realname-$pkgver.tgz" -builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - _phpdir="usr/share/${_php}" - cd "$builddir" - mkdir -p "$pkgdir"/$_phpdir/PEAR && \ - cp -R MDB2 "$pkgdir"/$_phpdir/PEAR - mkdir -p "$pkgdir"/$_phpdir/test/$_realname && \ - cp -R tests "$pkgdir"/$_phpdir/test/$_realname -} - -sha512sums="2c00d15fb81ff921dcbd6c440a533dd561be0728d41f6ad32d7f68a2a72fd2d527a37534f34ea55d28fd9dbabdcadeb40254a46823c58ae58bd8f6a3e9020e9d MDB2_Driver_mysql-1.5.0b4.tgz" diff --git a/unmaintained/php7-pear-mdb2_driver_pgsql/APKBUILD b/unmaintained/php7-pear-mdb2_driver_pgsql/APKBUILD deleted file mode 100644 index 3cb90721c5d..00000000000 --- a/unmaintained/php7-pear-mdb2_driver_pgsql/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-mdb2_driver_pgsql -_realname=MDB2_Driver_pgsql -pkgver=1.5.0b4 -pkgrel=0 -pkgdesc="pgsql MDB2 driver" -url="http://pear.php.net/package/$_realname/" -arch="noarch" -license="LGPL" -depends="${_php}-pear" -options="!check" -source="http://download.pear.php.net/package/$_realname-$pkgver.tgz" -builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - _phpdir="usr/share/${_php}" - cd "$builddir" - mkdir -p "$pkgdir"/$_phpdir/PEAR && \ - cp -R MDB2 "$pkgdir"/$_phpdir/PEAR - mkdir -p "$pkgdir"/$_phpdir/test/$_realname && \ - cp -R tests "$pkgdir"/$_phpdir/test/$_realname -} - -sha512sums="e3717a412f28e8b93d2c693c021ca2965c02072db91f6fd43ddcfc8913a9bb95ac9a8eb07c9efd6e19d42753c5ae46c2da484c5a7deb83b59673f40ee67c5ad7 MDB2_Driver_pgsql-1.5.0b4.tgz" diff --git a/unmaintained/php7-pear-net_idna2/APKBUILD b/unmaintained/php7-pear-net_idna2/APKBUILD deleted file mode 100644 index db076def9ec..00000000000 --- a/unmaintained/php7-pear-net_idna2/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-net_idna2 -_realname=Net_IDNA2 -pkgver=0.2.0 -pkgrel=1 -pkgdesc="Punycode encoding and decoding" -url="http://pear.php.net/package/Net_IDNA2/" -arch="noarch" -license="LGPL" -depends="${_php}-pear" -options="!check" -source="http://download.pear.php.net/package/$_realname-$pkgver.tgz" -builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - _phpdir="usr/share/${_php}" - cd "$builddir" - mkdir -p "$pkgdir"/$_phpdir/PEAR && \ - cp -R Net "$pkgdir"/$_phpdir/PEAR - mkdir -p "$pkgdir"/$_phpdir/test/$_realname && \ - cp -R tests "$pkgdir"/$_phpdir/test/$_realname -} - -sha512sums="728c79bd893d7202376cf9db7a285b69b6821db89621a454081f7c7b01123141950395106f11699c991733314a05f4810f3257dbab0b29592856b35dbb471e54 Net_IDNA2-0.2.0.tgz" diff --git a/unmaintained/php7-pear-net_sieve/APKBUILD b/unmaintained/php7-pear-net_sieve/APKBUILD deleted file mode 100644 index a42e3f4e855..00000000000 --- a/unmaintained/php7-pear-net_sieve/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -# -# FIXME: Figure out how to run tests. -_php=php7 -pkgname=$_php-pear-net_sieve -_pkgreal=Net_Sieve -pkgver=1.4.4 -pkgrel=0 -pkgdesc="Handles talking to a sieve server" -url="http://pear.php.net/package/Net_Sieve" -arch="noarch" -license="BSD-2-Clause" -depends="$_php-pear $_php-pear-net_socket" -source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz" -builddir="$srcdir/$_pkgreal-$pkgver" - -package() { - cd "$builddir" - install -m 644 -D Sieve.php "$pkgdir"/usr/share/$_php/PEAR/Net/Sieve.php -} - -sha512sums="882257c174b162875c0edb5b3add66991cc355e4b00c3675ced2d70ffb9819b83d97a7c2e96a92798a2d6f3b2a5d19c99f6390369926745f18b8c294e9f49357 Net_Sieve-1.4.4.tgz" diff --git a/unmaintained/php7-pear-net_smtp/APKBUILD b/unmaintained/php7-pear-net_smtp/APKBUILD deleted file mode 100644 index 077912cff6f..00000000000 --- a/unmaintained/php7-pear-net_smtp/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-net_smtp -_pkgreal=Net_SMTP -pkgver=1.9.0 -pkgrel=0 -pkgdesc="An implementation of the SMTP protocol" -url="http://pear.php.net/package/Net_SMTP" -arch="noarch" -license="BSD-2-Clause" -depends="${_php}-pear ${_php}-pear-net_socket" -options="!check" -subpackages="$pkgname-doc" -source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz" -builddir="$srcdir"/$_pkgreal-$pkgver - -_phpdir="usr/share/${_php}" - -package() { - cd "$builddir" - for dir in doc example test; do - install -d "$pkgdir"/$_phpdir/$dir/$_pkgreal - done - mv docs "$pkgdir"/$_phpdir/doc/$_pkgreal - mv examples "$pkgdir"/$_phpdir/example/$_pkgreal - mv tests "$pkgdir"/$_phpdir/test/$_pkgreal - install -d "$pkgdir"/$_phpdir/PEAR - mv Net "$pkgdir"/$_phpdir/PEAR - install -Dm0644 LICENSE "$pkgdir"/$_phpdir/doc/$_pkgreal/LICENSE -} - -doc() { - cd "$builddir" - install -d "$subpkgdir"/$_phpdir/doc - mv "$pkgdir"/$_phpdir/doc/$_pkgreal \ - "$subpkgdir"/$_phpdir/doc -} - -sha512sums="fb28bbf07e54d71d1a82d59b137e4905c77b5600c10cf7760890ec708fc9e6df9d47715cf6808569f88603fac80c1cfdd7c4f3893efe7ac7aecaac47ba849ec2 Net_SMTP-1.9.0.tgz" diff --git a/unmaintained/php7-pear-net_socket/APKBUILD b/unmaintained/php7-pear-net_socket/APKBUILD deleted file mode 100644 index eea2d4cb5a9..00000000000 --- a/unmaintained/php7-pear-net_socket/APKBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -_php=php7 -pkgname=${_php}-pear-net_socket -_pkgreal=Net_Socket -pkgver=1.2.2 -pkgrel=0 -pkgdesc="Network Socket Interface" -url="http://pear.php.net/package/$_pkgreal" -arch="noarch" -license="PHP" -depends="${_php}-pear" -options="!check" -source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz" -builddir="$srcdir"/$_pkgreal-$pkgver - -package() { - _phpdir="usr/share/${_php}" - cd "$builddir" - install -d "$pkgdir"/$_phpdir/PEAR - mv Net "$pkgdir"/$_phpdir/PEAR -} - -sha512sums="fd415fbd4a6801b63cda3168ff275fdeae233a3cc4c62f9bfe561f83f24f89795a7e7ad862641a73bb6d6e3c0da8b56cd00e7e7a1db616de040ea7883d84caa5 Net_Socket-1.2.2.tgz" diff --git a/unmaintained/polipo/APKBUILD b/unmaintained/polipo/APKBUILD deleted file mode 100644 index b2461d517b0..00000000000 --- a/unmaintained/polipo/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Alexander Georgievskiy <galeksandrp@gmail.com> -# Maintainer: -pkgname=polipo -pkgver=1.1.1 -pkgrel=0 -pkgdesc="The Polipo caching HTTP proxy" -url="https://github.com/jech/$pkgname" -arch="all" -license="MIT" -depends="" -makedepends="texinfo" -install="" -subpackages="$pkgname-doc" -source="https://github.com/jech/$pkgname/archive/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgname-$pkgver" -options="!check" - -build() { - cd "$builddir" - - make -} - -package() { - cd "$builddir" - - make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" INFODIR="$pkgdir/usr/share/info" LOCAL_ROOT="$pkgdir/usr/share/polipo/www" install -} - -sha512sums="f99f4f7bbd39f2651a1df12e1c88d45938ddbc85ef10e2ce0e8a40e25019986a17e7cd449efcc0a268367297bc9597d935df2d1e4f48661cc8f28310a17b6327 polipo-1.1.1.tar.gz" diff --git a/unmaintained/polkit-d/APKBUILD b/unmaintained/polkit-d/APKBUILD deleted file mode 100644 index 86907f560d7..00000000000 --- a/unmaintained/polkit-d/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=polkit-d -pkgver=0.1.1 -pkgrel=3 -pkgdesc="D bindings for polkit-gobject" -url="https://gitlab.alpinelinux.org/Cogitri/polkit-d" -arch="x86_64 aarch64" # ldc -license="GPL-3.0-or-later" -makedepends="meson ldc ldc-runtime glibd-dev polkit-dev gir-to-d glib-dev - gobject-introspection-dev" -subpackages="$pkgname-dev $pkgname-dbg" -source="https://gitlab.alpinelinux.org/Cogitri/polkit-d/-/archive/v$pkgver/polkit-d-v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-v$pkgver" - -build() { - env DLFAGS="$DFLAGS -g" meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --buildtype=plain \ - . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="adb0b55541f55ad41dcbafcdf8eaef53bad0d88a2a9e7c868cb507e5fe7c4258cb55465340ed5ea64baae52de0eb761d7899aa0fe30e8c50c2b4fd7fa92cb726 polkit-d-v0.1.1.tar.gz" diff --git a/unmaintained/pony-stable/APKBUILD b/unmaintained/pony-stable/APKBUILD deleted file mode 100644 index 5234c73a91b..00000000000 --- a/unmaintained/pony-stable/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=pony-stable -pkgver=0.2.1 -pkgrel=0 -pkgdesc="A simple dependency manager for the Pony language" -url="https://github.com/ponylang/pony-stable" -arch="x86_64" -license="BSD-2-Clause" -makedepends="ponyc libexecinfo-dev pcre2-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ponylang/$pkgname/archive/$pkgver.tar.gz" - -build() { - make -} - -check() { - make test -} - -package() { - DESTDIR="$pkgdir" make prefix=/usr install -} - -sha512sums="280d947ae04d26796d0bf0016925005b8f22dd4dd179f864ed34759f5f1f229c73870c7b3fcbb8d6a8411076af76d13d0321abc865d37d7cd2558aaf5c3b1e55 pony-stable-0.2.1.tar.gz" diff --git a/unmaintained/ponyc/APKBUILD b/unmaintained/ponyc/APKBUILD deleted file mode 100644 index fad0ea11d2a..00000000000 --- a/unmaintained/ponyc/APKBUILD +++ /dev/null @@ -1,80 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=ponyc -pkgver=0.33.2 -pkgrel=0 -pkgdesc="An open-source, actor-model, capabilities-secure, high performance programming language" -url="https://www.ponylang.org/" -arch="all !s390x !ppc64le !mips !mips64" -license="BSD-2-Clause" -_llvmver=9 -depends="binutils-gold" -checkdepends="openssl-dev pcre2-dev" -makedepends="libexecinfo-dev llvm$_llvmver-dev ncurses-dev paxmark - zlib-dev linux-headers" -options="!check" -subpackages="$pkgname-static $pkgname-dev $pkgname-doc" -source="ponyc-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz - more-portable-ln.patch - makefile-remove-march-mtune.patch - rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch - " - -export LLVM_CONFIG=/usr/lib/llvm$_llvmver/bin/llvm-config -# Required to not crash gold: https://sourceware.org/bugzilla/show_bug.cgi?id=23856 -export CFLAGS="$CFLAGS -fPIE" - -build() { - make \ - config=release \ - default_pic=true \ - link=llvm-dynamic \ - verbose=true - - paxmark m build/release/ponyc \ - build/release/libponyc.tests - - mkdir docs - build/release/ponyc packages/stdlib -rexpr -g -o docs -} - -check() { - make test -} - -package() { - make \ - config=release \ - default_pic=true \ - link=llvm-dynamic \ - ponydir="$pkgdir"/usr/lib/pony/$pkgver \ - prefix="$pkgdir"/usr \ - install - - # links to $pkgdir - ln -sf /usr/lib/pony/$pkgver/lib/native/libponyrt.a "$pkgdir"/usr/lib/libponyrt.a - ln -sf /usr/lib/pony/$pkgver/lib/native/libponyrt-pic.a "$pkgdir"/usr/lib/libponyrt-pic.a - ln -sf /usr/lib/pony/$pkgver/lib/native/libponyc.a "$pkgdir"/usr/lib/libponyc.a - ln -sf /usr/lib/pony/$pkgver/bin/ponyc "$pkgdir"/usr/bin/ponyc - - # We install these manually in dev() - rm -r "$pkgdir"/usr/include/ - - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - cp -r docs/stdlib-docs/docs "$pkgdir"/usr/share/doc/$pkgname/stdlib -} - -# Note: libponyrt*.a and libponyc.a are needed in runtime. -dev() { - pkgdesc="$pkgdesc (development files)" - depends="$pkgname=$pkgver-r$pkgrel" - - mkdir -p "$subpkgdir"/usr/ - mv "$pkgdir"/usr/lib/pony/$pkgver/include "$subpkgdir"/usr -} - -sha512sums="cc02bdac029325689fbe7a5c9e8c9f8a8adf9346e17a6c626c9eca8dcae110c3cf4fb9af348b603e9804dff97183e02687f092d76b62e4bb13e571cd1c7585e8 ponyc-0.33.2.tar.gz -38aa40f6000dcb823be7b542cdad8d04b6ac4cd0a4fff1a472520a7cb71631fb34e5bee74914fe559674594dd901aede91390809e143dd96c5d68a16f8ac196c more-portable-ln.patch -ce98aa2e33d057714703364509afd15e42ba53b5fefd42b66b9996a69036767595b868ddda592695bb109f09a7e1de118a53f262c2b23cbdf0b84063245f8b1b makefile-remove-march-mtune.patch -1c59f43f8aae369a0fc05c23082e86562d46f943a54e7490d5cb4f5087096213b44d7bda7fde9a1a536536c6f40fa29b9a88b3ac6c0e8e1d33c4a38f9201bc90 rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch" diff --git a/unmaintained/ponyc/makefile-remove-march-mtune.patch b/unmaintained/ponyc/makefile-remove-march-mtune.patch deleted file mode 100644 index 2b81fb00a4f..00000000000 --- a/unmaintained/ponyc/makefile-remove-march-mtune.patch +++ /dev/null @@ -1,39 +0,0 @@ -Don't hassle with -march and -mtune, use gcc defaults. - -diff --git a/Makefile-ponyc b/Makefile-ponyc -index 50f4936..8f28e1a 100644 ---- a/Makefile-ponyc -+++ b/Makefile-ponyc -@@ -108,9 +108,9 @@ else - endif - - LIB_EXT ?= a --BUILD_FLAGS = -march=$(arch) -mtune=$(tune) -Werror -Wconversion \ -+BUILD_FLAGS = -Werror -Wconversion \ - -Wno-sign-conversion -Wextra -Wall --LINKER_FLAGS = -march=$(arch) -mtune=$(tune) $(LDFLAGS) -+LINKER_FLAGS = $(LDFLAGS) - AR_FLAGS ?= rcs - ALL_CFLAGS = -std=gnu11 -fexceptions \ - -DPONY_VERSION=\"$(tag)\" -DLLVM_VERSION=\"$(llvm_version)\" \ -@@ -120,7 +120,7 @@ ALL_CFLAGS = -std=gnu11 -fexceptions \ - -DPONY_VERSION_STR=\"$(version_str)\" \ - -D_FILE_OFFSET_BITS=64 - ALL_CXXFLAGS = -std=gnu++11 -fno-rtti --LL_FLAGS = -mcpu=$(cpu) -+LL_FLAGS = - - # Determine pointer size in bits. - BITS := $(bits) -@@ -147,11 +147,6 @@ - endif - endif - --ifneq ($(fpu),) -- BUILD_FLAGS += -mfpu=$(fpu) -- LINKER_FLAGS += -mfpu=$(fpu) --endif -- - ifdef link - ifeq (,$(filter $(link),static llvm-static llvm-dynamic)) - $(error Unknown linking strategy "$(link)") diff --git a/unmaintained/ponyc/more-portable-ln.patch b/unmaintained/ponyc/more-portable-ln.patch deleted file mode 100644 index 51235e95c88..00000000000 --- a/unmaintained/ponyc/more-portable-ln.patch +++ /dev/null @@ -1,16 +0,0 @@ -https://github.com/ponylang/ponyc/issues/3169 ---- a/Makefile-ponyc -+++ b/Makefile-ponyc -@@ -95,11 +95,7 @@ - endif - endif - --ifneq (,$(filter $(OSTYPE), osx bsd)) -- symlink.flags = -sf --else -- symlink.flags = -srf --endif -+symlink.flags = -sf - - ifneq (,$(filter $(OSTYPE), osx bsd)) - SED_INPLACE = sed -i -e diff --git a/unmaintained/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch b/unmaintained/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch deleted file mode 100644 index d8b4ece8672..00000000000 --- a/unmaintained/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=45bdc66159d49bfc7f75fe02d25bc74f5d2660cf ---- a/src/libponyrt/lang/socket.c -+++ b/src/libponyrt/lang/socket.c -@@ -4470,8 +4470,8 @@ - #ifdef SO_RCVLOWAT - case 886: return SO_RCVLOWAT; - #endif --#ifdef SO_RCVTIMEO -- case 887: return SO_RCVTIMEO; -+#ifdef SO_RCVTIMEO_OLD -+ case 887: return SO_RCVTIMEO_OLD; - #endif - #ifdef SO_RDS_TRANSPORT - case 888: return SO_RDS_TRANSPORT; -@@ -4527,8 +4527,8 @@ - #ifdef SO_SNDLOWAT - case 905: return SO_SNDLOWAT; - #endif --#ifdef SO_SNDTIMEO -- case 906: return SO_SNDTIMEO; -+#ifdef SO_SNDTIMEO_OLD -+ case 906: return SO_SNDTIMEO_OLD; - #endif - #ifdef SO_TIMESTAMP - case 907: return SO_TIMESTAMP; diff --git a/unmaintained/postgresql-pglogical/001-fix-stdin-handling.patch b/unmaintained/postgresql-pglogical/001-fix-stdin-handling.patch deleted file mode 100644 index 8ba3f6c958b..00000000000 --- a/unmaintained/postgresql-pglogical/001-fix-stdin-handling.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/pglogical_apply_spi.c b/pglogical_apply_spi.c -index 3eaccc4..111a4eb 100644 ---- a/pglogical_apply_spi.c -+++ b/pglogical_apply_spi.c -@@ -454,7 +454,7 @@ static void - pglogical_proccess_copy(pglogical_copyState *pglcstate) - { - uint64 processed; -- FILE *save_stdin; -+ int save_stdin; - - if (!pglcstate->copy_parsetree || !pglcstate->copy_buffered_tuples) - return; -@@ -489,8 +489,16 @@ pglogical_proccess_copy(pglogical_copyState *pglcstate) - * for this relation. Before that we save the current 'stdin' stream and - * restore it back when the COPY is done - */ -- save_stdin = stdin; -- stdin = pglcstate->copy_read_file; -+ save_stdin = dup(fileno(stdin)); -+ if (save_stdin < 0) -+ ereport(FATAL, -+ (errcode_for_file_access(), -+ errmsg("could not save stdin: %m"))); -+ -+ if (dup2(fileno(pglcstate->copy_read_file), fileno(stdin)) < 0) -+ ereport(FATAL, -+ (errcode_for_file_access(), -+ errmsg("could not redirect stdin: %m"))); - - /* COPY may call into SPI (triggers, ...) and we already are in SPI. */ - SPI_push(); -@@ -501,10 +509,17 @@ pglogical_proccess_copy(pglogical_copyState *pglcstate) - - /* Clean up SPI state */ - SPI_pop(); -+ /* -+ * Also close the read end of the pipe and restore 'stdin' to its original -+ * value -+ */ -+ if (dup2(save_stdin, fileno(stdin)) < 0) -+ ereport(FATAL, -+ (errcode_for_file_access(), -+ errmsg("could not restore stdin: %m"))); - - fclose(pglcstate->copy_read_file); - pglcstate->copy_read_file = NULL; -- stdin = save_stdin; - - /* Ensure we processed correct number of tuples */ - Assert(processed == pglcstate->copy_buffered_tuples); diff --git a/unmaintained/postgresql-pglogical/APKBUILD b/unmaintained/postgresql-pglogical/APKBUILD deleted file mode 100644 index 00c6571610f..00000000000 --- a/unmaintained/postgresql-pglogical/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Contributor: Eugene Pirogov <iamexile@gmail.com> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=postgresql-pglogical -_pkgname=pglogical -pkgver=2.2.1 -pkgrel=0 -pkgdesc="Logical Replication extension for PostgreSQL" -url="https://2ndquadrant.com/en/resources/pglogical/" -arch="all" -license="PostgreSQL" -depends="postgresql" -makedepends="libedit-dev libxml2-dev postgresql-dev zlib-dev" -source="http://packages.2ndquadrant.com/pglogical/tarballs/$_pkgname-$pkgver.tar.bz2 - 001-fix-stdin-handling.patch" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - make USE_PGXS=1 all -} - -package() { - cd "$builddir" - make USE_PGXS=1 DESTDIR="$pkgdir" install -} - -sha512sums="7526f232e8a69518bb32cba8e9cc06cc18551e9c5747bd73ad443242bb927543faf1c8fc2d70d666aa1059a0b7263d777d4dac0cd708ec98974f0dd0f8d4d1c1 pglogical-2.2.1.tar.bz2 -89df4ed3992f43a0a37eebb5e06dedd2668b6acfad987b3c37e647c05718a9eb0d330d195f4f4426ffc5fad3e1fc7f156c10d3ea6dc7ee778bc2a5b27c6f138f 001-fix-stdin-handling.patch" diff --git a/unmaintained/premake/0001-Change-Test-FindLibrary-to-libc.patch b/unmaintained/premake/0001-Change-Test-FindLibrary-to-libc.patch deleted file mode 100644 index aaad9eaffb3..00000000000 --- a/unmaintained/premake/0001-Change-Test-FindLibrary-to-libc.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8b0d26300acb9b304259214fb4cb7c3a49fedb59 Mon Sep 17 00:00:00 2001 -From: jane400 <alpine@j4ne.de> -Date: Thu, 28 Apr 2022 01:04:43 +0200 -Subject: [PATCH] Change Test FindLibrary to libc - ---- - tests/base/test_os.lua | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/base/test_os.lua b/tests/base/test_os.lua -index c4d9a4a0..5f1e5d12 100644 ---- a/tests/base/test_os.lua -+++ b/tests/base/test_os.lua -@@ -31,7 +31,7 @@ - elseif os.istarget("haiku") then - test.istrue(os.findlib("root")) - else -- test.istrue(os.findlib("m")) -+ test.istrue(os.findlib("libc")) - end - end - --- -2.36.0 - diff --git a/unmaintained/premake/APKBUILD b/unmaintained/premake/APKBUILD deleted file mode 100644 index e24109c5cad..00000000000 --- a/unmaintained/premake/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: jane400 <alpine@j4ne.de> -# Maintainer: -# *Inspired* by https://github.com/archlinux/svntogit-community/blob/794c98925b4cc2684d067b7142710ae84bd80d21/trunk/PKGBUILD -pkgname=premake -pkgver=5.0.0_beta1 -_ver=5.0.0-beta1 -pkgrel=0 -pkgdesc="Simple build configuration and project generation tool" -url="https://premake.github.io" -arch="all" -license="BSD-3-Clause" -source=" - https://github.com/premake/premake-core/releases/download/v$_ver/premake-$_ver-src.zip - 0001-Change-Test-FindLibrary-to-libc.patch -" -builddir="$srcdir/premake-$_ver-src" - -build() { - make -C "$builddir/build/gmake2.unix" config=release -} - -check() { - bin/release/premake5 test -} - -package() { - install -Dm755 bin/release/premake5 "$pkgdir"/usr/bin/premake5 - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"/LICENSE -} - -sha512sums=" -4745cfa796f3f7616b96c2541bca54ba91ef53310cd3a8b9891fcb22170b1b68ebe245471aa63d82fbd94a50643ddf468b66c85e32c1ce214cf5c65b5da27e62 premake-5.0.0-beta1-src.zip -4cbb6d77637b0175be171265ad438bdae04c5902c69eab8e2ab275b15394cf03fbd5a27b8fed1a215bc64efc53781113a319eef400d018d3ff2c805d3cbc3160 0001-Change-Test-FindLibrary-to-libc.patch -" diff --git a/unmaintained/py3-aiofiles-gns3/APKBUILD b/unmaintained/py3-aiofiles-gns3/APKBUILD deleted file mode 100644 index 6fd72c0ae18..00000000000 --- a/unmaintained/py3-aiofiles-gns3/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-aiofiles-gns3 -_pkgname=aiofiles -pkgver=0.5.0 -pkgrel=0 -pkgdesc="File support for asyncio - GNS3 compatible version" -url="https://github.com/Tinche/aiofiles" -arch="noarch" -license="Apache-2.0" -depends="python3" -makedepends="python3-dev py3-setuptools !py3-aiofiles" -checkdepends="py3-pytest py3-pytest-asyncio" -source="$_pkgname-$pkgver.tar.gz::https://github.com/Tinche/aiofiles/archive/v$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - PYTHONPATH="$builddir"/build/lib pytest -} - -package() { - python3 setup.py install --root="$pkgdir" --optimize=1 -} - -sha512sums="89eb1af506bdf5f3f2e9c3afe90f17d521ada1cdeb449dcdc800d4faa4edc1c9ca93811915aa059d8c5a1b0a3aaa40231a46b3d041ca745e071628293bddf1b7 aiofiles-0.5.0.tar.gz" diff --git a/unmaintained/py3-aiohttp-cors-gns3/APKBUILD b/unmaintained/py3-aiohttp-cors-gns3/APKBUILD deleted file mode 100644 index 0844144a05b..00000000000 --- a/unmaintained/py3-aiohttp-cors-gns3/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-aiohttp-cors-gns3 -_pkgname=aiohttp_cors -pkgver=0.7.0 -pkgrel=1 -pkgdesc="CORS support for aiohttp - GNS3 compatible version" -url="https://github.com/aio-libs/aiohttp-cors" -arch="noarch" -license="Apache-2.0" -depends="py3-aiohttp-gns3 !py3-aiohttp-cors" -makedepends="python3-dev py3-setuptools" -source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-cors/archive/v$pkgver.tar.gz" -builddir="$srcdir"/aiohttp-cors-$pkgver - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="72e0b365b952c08a02c1123d7672cfea01063e2ff01743a71e10f804d22178edc0f1c6b7f87b7ed484ca7c24e89a32de90d0d279f2f5c060427319182f9bdd3b aiohttp_cors-0.7.0.tar.gz" diff --git a/unmaintained/py3-aiohttp-gns3/APKBUILD b/unmaintained/py3-aiohttp-gns3/APKBUILD deleted file mode 100644 index 772fc0b46f6..00000000000 --- a/unmaintained/py3-aiohttp-gns3/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-aiohttp-gns3 -_pkgname=aiohttp -pkgver=3.6.2 -pkgrel=2 -pkgdesc="HTTP client/server for asyncio - GNS3 compatible version" -url="https://pypi.python.org/pypi/aiohttp" -arch="all" -license="Apache-2.0" -depends="python3 py3-async-timeout-gns3 py3-chardet-gns3 py3-multidict-gns3 py3-yarl-gns3 - py3-idna-ssl py3-attrs !py3-aiohttp" -makedepends="python3-dev py3-setuptools cython" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --root="$pkgdir" --optimize=1 -} - -sha512sums="49bd3089158c05ff6312420190ccd7fed95efb4a18b8aff7497d5507c71c692080d6949801edabdcd95379ca8e6614398408118d72ff1e782399e059e2cfc1a8 py3-aiohttp-gns3-3.6.2.tar.gz" diff --git a/unmaintained/py3-async-timeout-gns3/APKBUILD b/unmaintained/py3-async-timeout-gns3/APKBUILD deleted file mode 100644 index d4670bc5383..00000000000 --- a/unmaintained/py3-async-timeout-gns3/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-async-timeout-gns3 -_pkgname=async-timeout -pkgver=3.0.1 -pkgrel=2 -pkgdesc="Timeout context manager for asyncio programs - GNS3 compatible version" -url="https://pypi.python.org/pypi/async_timeout" -arch="noarch" -license="Apache-2.0" -depends="python3 !py3-async-timeout" -makedepends="python3-dev py3-setuptools" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --root="$pkgdir" -} - -sha512sums="fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986 py3-async-timeout-gns3-3.0.1.tar.gz" diff --git a/unmaintained/py3-chardet-gns3/APKBUILD b/unmaintained/py3-chardet-gns3/APKBUILD deleted file mode 100644 index 1882f9156c8..00000000000 --- a/unmaintained/py3-chardet-gns3/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -_pkgname=chardet -pkgname=py3-$_pkgname-gns3 -pkgver=3.0.4 -pkgrel=2 -pkgdesc="The Universal Character Encoding Detector - GNS3 compatible version" -url="https://github.com/chardet/chardet/" -arch="noarch" -options="!check" # test fails due to new pytest -license="LGPL-2.1-or-later" -depends="python3 !py3-chardet" -makedepends="py3-setuptools" -checkdepends="py3-pytest" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 -m pytest -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 -} - -sha512sums="61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5 chardet-3.0.4.tar.gz" diff --git a/unmaintained/py3-django-overextends/APKBUILD b/unmaintained/py3-django-overextends/APKBUILD deleted file mode 100644 index f9c8b8825da..00000000000 --- a/unmaintained/py3-django-overextends/APKBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org> -# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org> -pkgname=py3-django-overextends -pkgver=0.4.3 -pkgrel=0 -pkgdesc="A Django reusable app providing the ability to use circular template inheritance" -url="https://github.com/stephenmcd/django-overextends" -arch="noarch" -license="BSD-2-Clause" -depends="py3-django" -makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/d/django-overextends/django-overextends-$pkgver.tar.gz - " -builddir="$srcdir/django-overextends-$pkgver" - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --root "$pkgdir" -} - -sha512sums="67540a68f4cb5fd27f253cf9397faa159caee69941cf184475244437f4db9889d32daff50fe6f26947a97ae7f17ddb6bae79803df779ab9b581c3be96e109d95 django-overextends-0.4.3.tar.gz" diff --git a/unmaintained/py3-flask-autoindex/APKBUILD b/unmaintained/py3-flask-autoindex/APKBUILD deleted file mode 100644 index 0e91a32d117..00000000000 --- a/unmaintained/py3-flask-autoindex/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py3-flask-autoindex -_pkgname=flask-autoindex -pkgver=0.6.4 -pkgrel=0 -pkgdesc="Flask autoindex" -url="https://pypi.python.org/pypi/Flask-AutoIndex" -arch="noarch" -license="MIT" -# Missing 'flask-silk' -depends="python3 py3-flask py3-future" -makedepends="py3-setuptools" -source="$pkgname-$pkgver.tar.gz::https://github.com/general03/flask-autoindex/archive/v$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -replaces="py-flask-autoindex" # Backwards compatibility -provides="py-flask-autoindex=$pkgver-r$pkgrel" # Backwards compatibility - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="57888c2349c5dfbb2d567f92a377eaee7f011418cb8fcbf0bda8f063f1083ea5b436b52cb65ccf1b6f40c2db104b876e2da33a9d5a07b46d725a4579c4eaf2bd py3-flask-autoindex-0.6.4.tar.gz" diff --git a/unmaintained/py3-ioflo/APKBUILD b/unmaintained/py3-ioflo/APKBUILD deleted file mode 100644 index acaea7994b4..00000000000 --- a/unmaintained/py3-ioflo/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py3-ioflo -_pkgname=ioflo -pkgver=2.0.2 -pkgrel=1 -pkgdesc="Automated Reasoning Engine and Flow Based Programming Framework" -url="https://github.com/ioflo/ioflo" -arch="noarch" -license="MIT" -depends="python3" -makedepends="py3-setuptools-git py3-setuptools" -checkdepends="py3-pytest" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz - python-3.9.patch - " -builddir="$srcdir"/$_pkgname-$pkgver - -replaces="py-ioflo" # Backwards compatibility -provides="py-ioflo=$pkgver-r$pkgrel" # Backwards compatibility - -build() { - python3 setup.py build -} - -check() { - py.test-3 -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - - # keep ioflo and remove ioflo3 - rm -f "$pkgdir"/usr/bin/ioflo3 -} - -sha512sums="7f704ccd5680b612d63990915259999e967d87dadd25608143dbc6ecf7a7679eb33f1c11c2d490a358845946add668e6014b80705db8701127b5d05ac436cc4b ioflo-2.0.2.tar.gz -f951ce837fbe501535b6baab8e4f998af14660c0ec375e01b2526fd848c8d24ceae822263a256befea75163fade36ab059c775b53d5e96fe514097516d9d5726 python-3.9.patch" diff --git a/unmaintained/py3-ioflo/python-3.9.patch b/unmaintained/py3-ioflo/python-3.9.patch deleted file mode 100644 index 4ae368cd642..00000000000 --- a/unmaintained/py3-ioflo/python-3.9.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 2961d846dd250334b8fc52c2ef4c00ebc36ed510 Mon Sep 17 00:00:00 2001 -From: Felix Yan <felixonmars@archlinux.org> -Date: Fri, 20 Nov 2020 04:42:02 +0800 -Subject: [PATCH] Fix compatibility with Python 3.9 - -json.loads() removed encoding parameter -(https://bugs.python.org/issue39377) -It was a no-op since 3.1. ---- - ioflo/aio/http/clienting.py | 4 ++-- - ioflo/aio/http/httping.py | 3 +-- - 2 files changed, 3 insertions(+), 4 deletions(-) - -diff --git a/ioflo/aio/http/clienting.py b/ioflo/aio/http/clienting.py -index 11132e3..967570e 100644 ---- a/ioflo/aio/http/clienting.py -+++ b/ioflo/aio/http/clienting.py -@@ -268,13 +268,13 @@ def build(self): - '\r\n{2}'.format(boundary, key, val)) - formParts.append('\r\n--{0}--'.format(boundary)) - form = "".join(formParts) -- body = form.encode(encoding='utf-8') -+ body = form.encode('utf-8') - self.headers[u'content-type'] = u'multipart/form-data; boundary={0}'.format(boundary) - else: - formParts = [u"{0}={1}".format(key, val) for key, val in self.fargs.items()] - form = u'&'.join(formParts) - form = quote_plus(form, '&=') -- body = form.encode(encoding='utf-8') -+ body = form.encode('utf-8') - self.headers[u'content-type'] = u'application/x-www-form-urlencoded; charset=utf-8' - else: # body last in precendence - body = self.body -diff --git a/ioflo/aio/http/httping.py b/ioflo/aio/http/httping.py -index ba604e7..a22cc84 100644 ---- a/ioflo/aio/http/httping.py -+++ b/ioflo/aio/http/httping.py -@@ -746,7 +746,7 @@ def parseEvents(self): - if edata: # data so dispatch event by appending to .events - if self.dictable: - try: -- ejson = json.loads(edata, encoding='utf-8', object_pairs_hook=odict) -+ ejson = json.loads(edata, object_pairs_hook=odict) - except ValueError as ex: - ejson = None - else: # valid json set edata to ejson -@@ -1058,7 +1058,6 @@ def dictify(self): - if self.jsoned or self.dictable: # attempt to deserialize json - try: - self.data = json.loads(self.body.decode('utf-8'), -- encoding='utf-8', - object_pairs_hook=odict) - except ValueError as ex: - self.data = None diff --git a/unmaintained/py3-jsonlint/APKBUILD b/unmaintained/py3-jsonlint/APKBUILD deleted file mode 100644 index 364d2f0803b..00000000000 --- a/unmaintained/py3-jsonlint/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Newbyte <newbytee@protonmail.com> -pkgname=py3-jsonlint -pkgver=0_git20181111 -pkgrel=0 -_commit=7dd6e59d7fd1ecc9c8d9f0cc99e32ffc63780caa -pkgdesc="Flexible JSON validator for Python web development" -url="https://github.com/tangwz/jsonlint" -arch="noarch" -license="BSD-3-Clause" -depends="python3" -makedepends="py3-setuptools" -source="https://github.com/tangwz/jsonlint/archive/$_commit/jsonlint-$_commit.tar.gz" -builddir="$srcdir/jsonlint-$_commit/" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="680afdba2232ba24193a8ec338ad565540cfac2c54e6e45b8e3d1654e6f5fcf785952aa7af39ac58455ab1f9f1198e5d1b19912378e17e6e94147329634d64c6 jsonlint-7dd6e59d7fd1ecc9c8d9f0cc99e32ffc63780caa.tar.gz" diff --git a/unmaintained/py3-jsonschema-gns3/APKBUILD b/unmaintained/py3-jsonschema-gns3/APKBUILD deleted file mode 100644 index ef8ef3b9d14..00000000000 --- a/unmaintained/py3-jsonschema-gns3/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-jsonschema-gns3 -_pkgname=jsonschema -pkgver=3.2.0 -pkgrel=1 -pkgdesc="An implementation of JSON Schema validation for Python - GNS3 compatible version" -url="https://github.com/Julian/jsonschema" -arch="noarch" -license="MIT" -depends="py3-pyrsistent py3-attrs !py3-jsonschema" -makedepends="python3-dev py3-setuptools py3-setuptools_scm" -options="!check" # py3-twisted missing -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab jsonschema-3.2.0.tar.gz" diff --git a/unmaintained/py3-mautrix/APKBUILD b/unmaintained/py3-mautrix/APKBUILD deleted file mode 100644 index 23abfd24229..00000000000 --- a/unmaintained/py3-mautrix/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: -pkgname=py3-mautrix -pkgver=0.8.16 -pkgrel=2 -pkgdesc="A Python 3 asyncio Matrix framework" -url="https://github.com/tulir/mautrix-python" -arch="noarch" -license="MPL-2.0" -depends=" - py3-aiohttp - py3-attrs - py3-commonmark - py3-lxml - py3-ruamel.yaml - py3-sqlalchemy - python3 - " -makedepends="py3-setuptools" -source="https://github.com/tulir/mautrix-python/archive/v$pkgver/mautrix-python-v$pkgver.tar.gz" -options="!check" # No tests -builddir="$srcdir/mautrix-python-$pkgver" - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums=" -db153fc71c5d743d70378d4cbc779899d0895347fa8c6064b2f75001799f6cf1664b117085ea1767eeb1ba90a3b0680a8c5af3ce0d7f686b02690225af58149f mautrix-python-v0.8.16.tar.gz -" diff --git a/unmaintained/py3-mopidy-subidy/APKBUILD b/unmaintained/py3-mopidy-subidy/APKBUILD deleted file mode 100644 index c1286c0e162..00000000000 --- a/unmaintained/py3-mopidy-subidy/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Galen Abell <galen@galenabell.com> -# Maintainer: Galen Abell <galen@galenabell.com> -pkgname=py3-mopidy-subidy -_pyname=Mopidy-Subidy -pkgver=1.0.0 -pkgrel=1 -pkgdesc="Mopidy extension for playing music from Subsonic servers" -url="https://github.com/Prior99/mopidy-subidy" -arch="" # Due to mopidy -license="BSD-3-Clause" -depends="python3 mopidy py3-pykka py3-pysonic" -makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz" -builddir="$srcdir/$_pyname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="eb0068646c8865d7be62f0c4075cc97dedd8dd52d96f5fa55f9626ca90e00b89211fac48d470f615066584c19dcbe8f4ef18a9dbfe3e2f3a57c96349272cfb36 Mopidy-Subidy-1.0.0.tar.gz" diff --git a/unmaintained/py3-multidict-gns3/APKBUILD b/unmaintained/py3-multidict-gns3/APKBUILD deleted file mode 100644 index eb76786a8d1..00000000000 --- a/unmaintained/py3-multidict-gns3/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-multidict-gns3 -_pkgname=multidict -pkgver=4.7.6 -pkgrel=1 -pkgdesc="The multidict implementation - GNS3 compatible version" -url="https://github.com/aio-libs/multidict/" -arch="all" -license="Apache-2.0" -depends="python3" -checkdepends="py3-pytest py3-pytest-cov" -makedepends="python3-dev py3-setuptools cython !py3-multidict" -subpackages="$pkgname-dev" -source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/multidict/archive/v$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" -options="!strip" - -build() { - (cd multidict && find -name '*.pyx' -exec cython {} \;) - python3 setup.py build -} - -check() { - python3 -m pytest -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - rm -f "$pkgdir"/usr/lib/python3*/site-packages/*.c - rm -f "$pkgdir"/usr/lib/python3*/site-packages/*.h -} -sha512sums="5f90cb04fe2562884c331018a5002e1370e2596e0afd21e4289ab696847a3028a074bbaa6717b3905161f823f8592d6572475307039f8f97c1ac65aad815a6b0 multidict-4.7.6.tar.gz" diff --git a/unmaintained/py3-openzwave/APKBUILD b/unmaintained/py3-openzwave/APKBUILD deleted file mode 100644 index 284f4bf3068..00000000000 --- a/unmaintained/py3-openzwave/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> -# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> -_name=python-openzwave -pkgname=py3-openzwave -pkgver=0.4.19 -pkgrel=5 -pkgdesc="Python wrapper for openzwave" -url="http://www.openzwave.com/" -arch="" # Fails with python3.9 -license="GPL" -depends=" $pkgname-lib $pkgname-api $pkgname-manager" -_libdeps="py3-six" -_apideps="py3-pydispatcher" -_managerdeps="py3-urwid" -makedepends="python3-dev linux-headers eudev-dev coreutils py3-setuptools cython - $_libdeps $_apideps $_managerdeps" -install="" -subpackages="$pkgname-lib $pkgname-api::noarch $pkgname-manager::noarch" -source="$_name-$pkgver.tar.gz::https://github.com/OpenZWave/python-openzwave/archive/v$pkgver.tar.gz" -builddir="$srcdir/python-openzwave-$pkgver" - -build() { - cd "$builddir" - unset CFLAGS CPPFLAGS - case "$CARCH" in - ppc64le) export CPPFLAGS="-Wno-error";; - esac - make build PYTHON_EXEC=python3 - python3 setup-lib.py build - python3 setup-api.py build - python3 setup-manager.py build -} - -package() { - mkdir -p "$pkgdir" -} - -lib() { - pkgdesc="$pkgdesc (lib)" - depends="python3 $_libdeps" - cd "$builddir" - python3 setup-lib.py install \ - --single-version-externally-managed --root ${subpkgdir} -} - -api() { - pkgdesc="$pkgdesc (api)" - depends="python3 $_apideps" - cd "$builddir" - python3 setup-api.py install \ - --single-version-externally-managed --root "$subpkgdir" -} - -manager() { - pkgdesc="$pkgdesc (manager)" - depends="python3 $_managerdeps" - cd "$builddir" - python3 setup-manager.py install \ - --single-version-externally-managed --root "$subpkgdir" -} - -sha512sums="153e7571ee445c3af1b5880097ba484657e4c1aa376ae7d3c46b58fc485087742ecd04dba4c1ffba97b2f3b64b4e055cabfed573a457857f9d75e3b6ad12194b python-openzwave-0.4.19.tar.gz" diff --git a/unmaintained/py3-pdfkit/APKBUILD b/unmaintained/py3-pdfkit/APKBUILD deleted file mode 100644 index 77d17cf7fac..00000000000 --- a/unmaintained/py3-pdfkit/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org> -# Maintainer: -pkgname=py3-pdfkit -pkgver=0.6.1 -pkgrel=2 -pkgdesc="Python wrapper to convert HTML to PDF using the WebKit rendering engine" -url="https://github.com/JazzCore/python-pdfkit" -license="MIT" -# armhf, mips64 and riscv64 blocked by qt5-qtwebkit -> wkhtmltopdf -arch="noarch !armhf !mips64 !riscv64" -depends="wkhtmltopdf python3" -makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/p/pdfkit/pdfkit-$pkgver.tar.gz" -options="!check" # No testsuite in pypi tarball, no github releases -builddir="$srcdir/pdfkit-$pkgver" - -replaces="py-pdfkit" # Backwards compatibility -provides="py-pdfkit=$pkgver-r$pkgrel" # Backwards compatibility - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --root "$pkgdir" -} - -sha512sums="b3ac1016d1c01a2a196f567b9b672caca10f564cc6a62122691d34c3cbbf143f6a846bfba26c3474e9c0296977f0d30c0b5af13b3321ab207b787df3cba12e5d pdfkit-0.6.1.tar.gz" diff --git a/unmaintained/py3-psutil-gns3/APKBUILD b/unmaintained/py3-psutil-gns3/APKBUILD deleted file mode 100644 index e9ab8bc6e14..00000000000 --- a/unmaintained/py3-psutil-gns3/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-psutil-gns3 -_pkgname=psutil -pkgver=5.7.0 -pkgrel=1 -pkgdesc="A cross-platform process and system utilities module for Python" -url="https://github.com/giampaolo/psutil" -arch="all" -license="BSD-3-Clause" -makedepends="linux-headers python3-dev" -depends="!py3-psutil" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py check -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="8cee64ab396dae79866e961aeabdb9a4174e1339bcd5c0a35f23fee97ca2a61c0cb08f7152d7e0db90c387400c5c6fb3da2dd2124ce9bf97dfffe6f3b4967981 psutil-5.7.0.tar.gz" diff --git a/unmaintained/py3-py-cpuinfo-gns3/APKBUILD b/unmaintained/py3-py-cpuinfo-gns3/APKBUILD deleted file mode 100644 index 2d979ad29b6..00000000000 --- a/unmaintained/py3-py-cpuinfo-gns3/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-py-cpuinfo-gns3 -_pkgname=py-cpuinfo -pkgver=7.0.0 -pkgrel=0 -pkgdesc="Pure-Python module for getting CPU info - GNS3 compatible version" -url="https://github.com/workhorsy/py-cpuinfo" -# does not actually work on mips -arch="noarch !mips !mips64" -license="MIT" -depends="python3 !py3-py-cpuinfo" -makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="fd291533dc5e78d75851e61ef2a754d9bdb62cbb5e04c86db0d6ea2d074a1e920b1ff50c136df3dd640cb64deaccd4f187c5af02c586a3d28b8c74dfe4143893 py-cpuinfo-7.0.0.tar.gz" diff --git a/unmaintained/py3-shouldbe/APKBUILD b/unmaintained/py3-shouldbe/APKBUILD deleted file mode 100644 index 36381aac347..00000000000 --- a/unmaintained/py3-shouldbe/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Dmitry Romanenko <dmitry@romanenko.in> -# Maintainer: Dmitry Romanenko <dmitry@romanenko.in> -pkgname=py3-shouldbe -_pkgname=shouldbe -pkgver=0.1.2 -pkgrel=0 -pkgdesc="A Python Assertions Helper Based on Shouldly" -url="https://github.com/directxman12/should_be" -arch="noarch" -license="ISC" -depends="python3 py3-forbiddenfruit" -checkdepends="py3-nose" -makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="4469d958db5dbdad08d48ccd11d24db2d2bdba7d11aaaa94827b2963ab7f84f63f4e5674e1cef7a0edecf6020be634d448195a4b322b5ce0381d5c65371019fb shouldbe-0.1.2.tar.gz" diff --git a/unmaintained/py3-spacy/APKBUILD b/unmaintained/py3-spacy/APKBUILD deleted file mode 100644 index f78a565a4aa..00000000000 --- a/unmaintained/py3-spacy/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Oleg Titov <oleg.titov@gmail.com> -# Maintainer: Oleg Titov <oleg.titov@gmail.com> -pkgname=py3-spacy -pkgver=2.3.2 -pkgrel=1 -pkgdesc="Industrial-strength Natural Language Processing (NLP)" -url="https://spacy.io/" -arch="x86_64" # limited by py3-blis as it has highly optimized routines for x86_64 only - # and py3-srsly as it does not pass tests for x86 and aarch64, reported upstream -arch="" # Requires 'wheel' for some reason -license="MIT" -depends=" - python3 - py3-numpy - py3-jsonschema - py3-thinc - py3-srsly - py3-tqdm - py3-wasabi - py3-pyrsistent - py3-plac - py3-catalogue - " -makedepends="python3-dev py3-setuptools cython py3-requests" -checkdepends="py3-pytest py3-pytest-timeout py3-mock py3-flake8" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/explosion/spaCy/archive/v$pkgver.tar.gz" -builddir=$srcdir/spaCy-$pkgver - -build() { - python3 setup.py build_ext --inplace -} - -check() { - pytest-3 spacy -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - - install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" -} - -sha512sums="48ad852a68c5f348f08bd1406936722ad45b850b61c33b8e6647c861856ffef387d85fbda978f4b3a1205774926a60c02cb4250bb2e38f74959f932201324abd py3-spacy-2.3.2.tar.gz" diff --git a/unmaintained/py3-yarl-gns3/APKBUILD b/unmaintained/py3-yarl-gns3/APKBUILD deleted file mode 100644 index d9c53fb0309..00000000000 --- a/unmaintained/py3-yarl-gns3/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py3-yarl-gns3 -_pkgname=yarl -pkgver=1.6.3 -pkgrel=0 -pkgdesc="Yet another URL library - GNS3 compatible version" -url="http://yarl.readthedocs.io" -arch="all" -license="Apache-2.0" -depends="py3-multidict-gns3 py3-idna !py3-yarl" -makedepends="py3-setuptools python3-dev" -checkdepends="py3-pytest py3-pytest-cov" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - python3 setup.py build -} - -check() { - PYTHONPATH="$(echo "$PWD"/build/lib.*)" py.test-3 -} - -package() { - python3 setup.py install --root="$pkgdir" -} - -sha512sums="4c76b94198b8e334f4b4e71d92b0fe23f752d35e0c29bc68df99648b3f48fbb6e3dd8d7339138544e5dc8fbf64c15cb61678052670ac47edc5be958df819d42e yarl-1.6.3.tar.gz" diff --git a/unmaintained/py3-zeep/APKBUILD b/unmaintained/py3-zeep/APKBUILD deleted file mode 100644 index da49b6c6352..00000000000 --- a/unmaintained/py3-zeep/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Duncan Bellamy <dunk@denkimushi.com> -# Maintainer: Duncan Bellamy <dunk@denkimushi.com> -pkgname=py3-zeep -pkgver=4.1.0 -pkgrel=2 -pkgdesc="modern/fast Python SOAP client based on lxml / requests" -options="!check" # Requires unpackaged 'flake8-imports' -url="https://docs.python-zeep.org/en/master/" -arch="noarch" -license="MIT" -depends=" - py3-attrs - py3-cached-property - py3-defusedxml - py3-isodate - py3-lxml - py3-platformdirs - py3-requests - py3-requests-file - py3-requests-toolbelt - py3-tz - !py3-softlayer-zeep - " -makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/z/zeep/zeep-$pkgver.tar.gz" -builddir="$srcdir/zeep-$pkgver" - -build() { - python3 setup.py build -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums=" -acc54f99d21fe401e06418223591bcf8e7f8819e225f892beb0f6e2a1ee359a0da6f9d0aa4212899197c084af37cc56126879b93a22cdad2458e57674bf66ed5 zeep-4.1.0.tar.gz -" diff --git a/unmaintained/quark/APKBUILD b/unmaintained/quark/APKBUILD deleted file mode 100644 index 2010f98cf14..00000000000 --- a/unmaintained/quark/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Sascha Paunovic <azarus@posteo.net> -# Maintainer: Sascha Paunovic <azarus@posteo.net> -pkgname=quark -pkgver=20180617 -_commit=ba38b0969f542e6e7d3f01ba500189a81ca32355 # there are no releases -pkgrel=0 -pkgdesc="quark web server" -url="https://tools.suckless.org/quark/" -arch="" # commit no longer available -license="ISC" -options="!check" # no test suite -subpackages="$pkgname-doc" -source="https://git.suckless.org/$pkgname/snapshot/$pkgname-$_commit.tar.gz" -builddir="$srcdir/$pkgname-$_commit" - -build() { - cd "$builddir" - make -} - -package() { - cd "$builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install -} - -sha512sums="d74b9fa2315ae92a9048d8d9b82075986c2bab13ed85f4827ef39083fee9eaede880611b48b3359f7ead2901f0ffd261257c23066a82717697d78f924ac655fd quark-ba38b0969f542e6e7d3f01ba500189a81ca32355.tar.gz" diff --git a/unmaintained/quicktun/APKBUILD b/unmaintained/quicktun/APKBUILD deleted file mode 100644 index f1ede540db8..00000000000 --- a/unmaintained/quicktun/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> -# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> -pkgname=quicktun -pkgver=2.2.4 -pkgrel=5 -pkgdesc="Simple and secure VPN software using NaCl encryption" -url="http://wiki.ucis.nl/QuickTun" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev linux-headers tar libsodium-dev" -install="quicktun.pre-install" -subpackages="$pkgname-keypair" -source="http://oss.ucis.nl/${pkgname}/src/${pkgname}-${pkgver}.tgz - quicktun.initd - quicktun.conf" - -_builddir="$srcdir/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./build.sh -} - -package() { - cd "$_builddir" - install -D out/quicktun.combined "${pkgdir}/usr/bin/quicktun.combined" - ln -s quicktun.combined "${pkgdir}/usr/bin/quicktun" - install -D -m600 ${srcdir}/quicktun.conf "${pkgdir}"/etc/quicktun/quicktun.conf - install -D -m755 ${srcdir}/quicktun.initd "${pkgdir}"/etc/init.d/quicktun -} - -keypair() { - pkgdesc="Tool to create a quicktun public/private keypair" - cd "$_builddir" - install -D out/quicktun.keypair "${subpkgdir}/usr/bin/quicktun.keypair" -} - -md5sums="5e27c9b1ccae0c6d6e4b30ca476f910d quicktun-2.2.4.tgz -08544bcdaa8148041535e5622fad6008 quicktun.initd -097c43021134f43294c894464099a8fb quicktun.conf" -sha256sums="652383d30f4a1ac2d42500e676f4c8590efaeea21a1e40a3ad1c332aa2ba3a0c quicktun-2.2.4.tgz -185430ca6d9d27144d3e2b81edaa10f425c29b0a7d7296bdde322134cef3ca7f quicktun.initd -787a37b2fbae6b44adebd422e6476da08c37c8db6bf0ac35a8d790ba4c50fe59 quicktun.conf" -sha512sums="da60fc39d8e85d5b2c162633840b887be3fd58d9f2b3a99fe605fa13546e4f53878ce6246d835b7931e42193fb044330c539b29751cdb6f54d025efc52041487 quicktun-2.2.4.tgz -3b9aa117800d23e84f4ac0ddfc37fe0499dc93514f72ab98d4cd315be201750f9acf2099268335a1774199d1f7310fc1b4c97f7ec7ba45740e9da5e0e89db959 quicktun.initd -6056ea4d4f8f8c58198a101b0f59f258e9318c3b57b6efbc6f3587665315b5b5990dee5662a27ee0e15a2333446c1d18b2a3650af7abbfbb4fe572c002b2a1b7 quicktun.conf" diff --git a/unmaintained/quicktun/quicktun.conf b/unmaintained/quicktun/quicktun.conf deleted file mode 100644 index 6b839e80c58..00000000000 --- a/unmaintained/quicktun/quicktun.conf +++ /dev/null @@ -1,47 +0,0 @@ -# To run multiple quicktun instances, copy this file to /etc/quicktun/example.conf, -# create a symlink /etc/init.d/quicktun.example -> quicktun -# and initialize the tunnel by issuing: rc-service quicktun.example start - -# interface name -#export INTERFACE= - -# set to 1 to operate in tun (IP), unset or 0 (recent versions only) for tap (Ethernet) mode -#export TUN_MODE=0 - -# set to 1 to include packet information header in wire packets, must be set on both sides if -# used; set to 2 to automatically add the packet information header for cross-platform compatibility -# (also compatible with USE_PI=0), some (BSD) kernels need USE_PI to be enabled for IPv6 support -#export USE_PI=0 - -# IP address or hostname of the remote end (use 0.0.0.0 for a floating/dynamic remote endpoint) -#export REMOTE_ADDRESS=0.0.0.0 - -# IP address or hostname of the local end, optional -#export LOCAL_ADDRESS= - -# local UDP port, optional, defaults to 2998 -#export LOCAL_PORT=2998 - -# remote UDP port, optional, defaults to LOCAL_PORT -#export REMOTE_PORT=${LOCAL_PORT} - -# allows the remote address and port to change when properly encrypted packets are received -#export REMOTE_FLOAT= - -# run specified command or script after the tunnel device has been opened -#export TUN_UP_SCRIPT= - -# drop privileges and change user and group IDs to specified username after setting up the tunnel -export SETUID=quicktun - -# nacl0, nacltai and salty (encrypted) protocols only: -#export PRIVATE_KEY= # local secret key in hexadecimal form (not needed for raw protocol) -#export PUBLIC_KEY= # remote public key in hexadecimal form (not needed for raw protocol) -#export PRIVATE_KEY_FILE= # file containing local secret key in binary or hexadecimal form (not needed for raw protocol) - -# nacltai (encrypted) protocol only: -# allowed time window for first received packet in seconds (positive number allows packets from history) -#export TIME_WINDOW= - -# the protocol to use, one of "raw", "nacl0" and "nacltai" -#export PROTOCOL=raw diff --git a/unmaintained/quicktun/quicktun.initd b/unmaintained/quicktun/quicktun.initd deleted file mode 100755 index 0564c3e0022..00000000000 --- a/unmaintained/quicktun/quicktun.initd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run - -VPN=${SVCNAME#*.} -if [ ${SVCNAME} != "quicktun" ]; then - pidfile="/var/run/quicktun.${VPN}.pid" -else - pidfile="/var/run/quicktun.pid" -fi - -command=/usr/bin/quicktun - -start() { - if [ -e "/etc/quicktun/${VPN}.conf" ] - then - source "/etc/quicktun/${VPN}.conf" - else - eerror "Config /etc/quicktun/${VPN}.conf not found" - exit 1 - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --exec ${command} --pidfile ${pidfile} \ - --background --make-pidfile - eend $? -} diff --git a/unmaintained/quicktun/quicktun.pre-install b/unmaintained/quicktun/quicktun.pre-install deleted file mode 100755 index e010a887325..00000000000 --- a/unmaintained/quicktun/quicktun.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S quicktun 2>/dev/null -adduser -S -D -H -h /var/run/quicktun -s /sbin/nologin -G quicktun -g "quicktun user" quicktun 2>/dev/null - -exit 0 diff --git a/unmaintained/refpolicy/APKBUILD b/unmaintained/refpolicy/APKBUILD deleted file mode 100644 index d52b9c902a3..00000000000 --- a/unmaintained/refpolicy/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Maintainer: Tycho Andersen <tycho@docker.com> -pkgname=refpolicy -pkgver=20170204 -pkgrel=0 -pkgdesc="SELinux policy reference" -url="https://github.com/TresysTechnology/refpolicy/wiki" -arch="" -license="GPL-2.0" -depends="" -depends_dev="" -makedepends="$depends_dev checkpolicy python3 gawk" -install="" -subpackages="$pkgname-doc" -source="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-2.$pkgver.tar.bz2 - Makefile.devel" -builddir="$srcdir/refpolicy" - -# refpolicy config -monolithic=n -distro=gentoo -# unknown perms here means what to do with perms that are unknown to the -# current userspace, because the kernel version is newer. By default, we deny. -unknown_perms=deny - -# These are somewhat related to what is in the CentOS spec file, although they -# are slightly differnet in what they install. -# -# https://selinuxproject.org/page/NB_RefPolicy#Reference_Policy_Build_Options_-_build.conf -# are the build options: M{L,C}S_CATS are the number of categories for m{l,c}s policies. -make_cmds() { - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 bare || return 1 - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 conf || return 1 -} - -install_cmds() { - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 SEMOD_EXP="/usr/bin/semodule_expand -a" base.pp - make validate UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 SEMOD_EXP="/usr/bin/semodule_expand -a" modules - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 DESTDIR="$pkgdir" install - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 DESTDIR="$pkgdir" install-appconfig - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 DESTDIR="$pkgdir" install-docs - make UNK_PERMS=$3 NAME=$1 TYPE=$2 DISTRO=$distro UBAC=n DIRECT_INITRC=y MONOLITHIC=$monolithic MLS_CATS=1024 MCS_CATS=1024 DESTDIR="$pkgdir" install-headers -} - -build() { - cd "$builddir" - make_cmds targeted mcs $unknown_perms || return 1 -} - -package() { - cd "$builddir" - install_cmds targeted mcs $unknown_perms || return 1 - mkdir -p $pkgdir/usr/share/selinux/devel || return 1 - cp -r "$pkgdir/usr/share/selinux/targeted/include" "$pkgdir/usr/share/selinux/devel/include" - cp $srcdir/Makefile.devel "$pkgdir/usr/share/selinux/devel/Makefile" || return 1 - install -m 644 doc/example.* "$pkgdir/usr/share/selinux/devel" || return 1 - install -m 644 doc/policy.* "$pkgdir/usr/share/selinux/devel" || return 1 - # TODO: libselinux needs to build the python bindings for this to work - # sepolicy manpage -a -p "$pkgdir/usr/share/man/man8/" -w -r "$pkgdir" || return 1 -} - -sha512sums="30deabb02a5bde51c463e3e89988d850cff51596c2e72733a064245dec152ea46317eea79550dbe82a7a0d327ec0bcfbd9474ff8a902507392df0da00df6397f refpolicy-2.20170204.tar.bz2 -01bd5f58e05feba2f318f6b80fb4c6cbe405691f947fee48566ad75c935d6e824ccfda5de88c5dad74b531ed28c18615d8ef4e2c2371d71c776b78767eb33740 Makefile.devel" diff --git a/unmaintained/refpolicy/Makefile.devel b/unmaintained/refpolicy/Makefile.devel deleted file mode 100644 index b1c6bfe71f4..00000000000 --- a/unmaintained/refpolicy/Makefile.devel +++ /dev/null @@ -1,22 +0,0 @@ -# installation paths -SHAREDIR := /usr/share/selinux - -AWK ?= gawk -NAME ?= $(strip $(shell $(AWK) -F= '/^SELINUXTYPE/{ print $$2 }' /etc/selinux/config)) - -ifeq ($(MLSENABLED),) - MLSENABLED := 1 -endif - -ifeq ($(MLSENABLED),1) - NTYPE = mcs -endif - -ifeq ($(NAME),mls) - NTYPE = mls -endif - -TYPE ?= $(NTYPE) - -HEADERDIR := $(SHAREDIR)/devel/include -include $(HEADERDIR)/Makefile diff --git a/unmaintained/reiserfsprogs/APKBUILD b/unmaintained/reiserfsprogs/APKBUILD deleted file mode 100644 index 0e0a70250b0..00000000000 --- a/unmaintained/reiserfsprogs/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=reiserfsprogs -pkgver=3.6.24 -pkgrel=0 -pkgdesc="Reiserfs Utilities" -url="http://www.namesys.com" -arch="" -license="GPL" -depends= -makedepends="e2fsprogs-dev" -install= -subpackages="$pkgname-doc" -source="https://kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$pkgver/$pkgname-$pkgver.tar.xz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - update_config_sub || return 1 -} - -#prepare() { -# cd "$_builddir" -# apply patches here -#} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="66787380fb418ff7d88a23e47cda7af6 reiserfsprogs-3.6.24.tar.xz" -sha256sums="7e44fefe557d68a642191428210f3d64d80283b9ad0e45c24130f6ce936b0760 reiserfsprogs-3.6.24.tar.xz" -sha512sums="183cda8c1bef375a9e90b6bfcbbbe7cc901f12890be29551e74950c723b0ae565786be86f69cba2a5d8b2f9014d22f6f3bdf277d666d4b6bea15406cb2803a42 reiserfsprogs-3.6.24.tar.xz" diff --git a/unmaintained/rmilter/APKBUILD b/unmaintained/rmilter/APKBUILD deleted file mode 100644 index 88cc71e5903..00000000000 --- a/unmaintained/rmilter/APKBUILD +++ /dev/null @@ -1,115 +0,0 @@ -# Maintainer: Valery Kartel <valery.kartel@gmail.com> -# Contributor: Valery Kartel <valery.kartel@gmail.com> -# Contributor: Nathan Angelacos <nangel@alpinelinux.org> -pkgname=rmilter -pkgver=1.10.0 -pkgrel=0 -pkgdesc="Rspamd mail filter" -url="https://rspamd.com/rmilter" -arch="all" -license="BSD" -pkgusers="rmilter" -pkggroups="rmilter" -depends="" -depends_dev="" -makedepends="$depends_dev cmake bison flex bsd-compat-headers - libressl-dev pcre-dev libmilter-dev opendkim-dev hiredis-dev - glib-dev" -install="$pkgname.pre-install $pkgname-clamav.pre-install $pkgname-dkim.pre-install" -subpackages="$pkgname-clamav::noarch $pkgname-rspamd::noarch $pkgname-redis::noarch $pkgname-dkim::noarch" -source="$pkgname-$pkgver.tar.gz::https://github.com/vstakhov/$pkgname/archive/$pkgver.tar.gz - $pkgname-clamav.conf - $pkgname-rspamd.conf - $pkgname-redis.conf - $pkgname-dkim.conf - $pkgname.confd - $pkgname.initd - $pkgname.conf - config.patch - config_dir.patch - system_hiredis.patch -" -builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$builddir" - cmake CMakeLists.txt \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DRMILTER_USER=$pkgusers \ - -DRMILTER_GROUP=$pkggroups \ - || return 1 - make || return 1 -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 $pkgname.conf.sample "$pkgdir"/etc/$pkgname/$pkgname.conf.common - install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname/$pkgname.conf - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - install -dm755 "$pkgdir"/etc/$pkgname/conf.d -} - -clamav() { - pkgdesc="$pkgdesc: enable virus scanning with local Clamav instance" - depends="$pkgname clamav" - install -Dm644 /dev/null "$subpkgdir"/etc/conf.d/$pkgname-rc_need@clamd - install -Dm644 "$srcdir"/$pkgname-clamav.conf "$subpkgdir"/etc/$pkgname/conf.d/clamav.conf -} - -rspamd() { - pkgdesc="$pkgdesc: enable spam filtering with local Rspamd instance" - depends="$pkgname rspamd" - install -Dm644 /dev/null "$subpkgdir"/etc/conf.d/$pkgname-rc_need@rspamd - install -Dm644 "$srcdir"/$pkgname-rspamd.conf "$subpkgdir"/etc/$pkgname/conf.d/rspamd.conf -} - -redis() { - pkgdesc="$pkgdesc: enable greylisting and limits with local Redis backend" - depends="$pkgname redis" - install -Dm644 /dev/null "$subpkgdir"/etc/conf.d/$pkgname-rc_need@redis - install -Dm644 "$srcdir"/$pkgname-redis.conf "$subpkgdir"/etc/$pkgname/conf.d/redis.conf -} - -dkim() { - pkgdesc="$pkgdesc: enable DKIM" - depends="$pkgname" - install -dm750 -g mail "$subpkgdir"/etc/mail - install -dm755 "$subpkgdir"/etc/mail/dkim - install -Dm644 "$srcdir"/$pkgname-dkim.conf "$subpkgdir"/etc/$pkgname/conf.d/dkim.conf -} - -md5sums="220d693636f9ec5606033d15816a2346 rmilter-1.10.0.tar.gz -ae0cd1a2b91e06c217d3883211ef57b8 rmilter-clamav.conf -bdbd10caee1958ce5f9b8b899accac9c rmilter-rspamd.conf -690b8f76f40f1a16d3ca7b994c27b637 rmilter-redis.conf -33eafa022a0e918c7a1cf74a81654373 rmilter-dkim.conf -d37109f41764e89606d1e40c30c010de rmilter.confd -098a8f376dab26291f3a5e3e775e14b5 rmilter.initd -a4a15e6c89caaecf7bbdae681cdf36a2 rmilter.conf -87da6d59c5ca17e760668ba878d83391 config.patch -e4f3e1ea90401b8d55e6a381af05b994 config_dir.patch -d1aded4ee98211bd5e644c63c77eab8b system_hiredis.patch" -sha256sums="ea80563fa7636afed0b5fd9a29aa2300f15793ed85788e4ce69c187d341a7d54 rmilter-1.10.0.tar.gz -35f6eecbac988a4a2fdbb649fdf93aec5e77ded321aaa0521ddc9ef2ffe721e1 rmilter-clamav.conf -eae2a0867c3e258fa052f1ada5465cf3132da87028ac9ac1a829c3239382fa13 rmilter-rspamd.conf -9c265b9dc02b5e520d62228e9486d8bf96041f50da8f240ad352a5b189da8b27 rmilter-redis.conf -f7513ab4345d127d2a6ef34848bc68faea83e3f7cdc11f1da641e2934bb19dd9 rmilter-dkim.conf -fd7ac67f1c2d8bc03fee67f5fca4d0a12c562eaaab00a390e0f8e5230e6a5da4 rmilter.confd -d0cce00aa6780fabbba03d14ab4ffa914326ac48a085bcde4c12853f8c44037d rmilter.initd -ee73f437d02ef343eb0c1aa6d2da5bfc502e4ee93fb9d9f3362dda2efe9e5a13 rmilter.conf -aada82ad61f3d33d285e163e054748159c378f4b7713814bf8ae94c6451bea1e config.patch -1aa29ce0a638356d4ebd75757a2094f9db20ad3895867e3676d5ae1129352760 config_dir.patch -aa57dbf0e6244675989caec1a62ce969f044e0f0dc4f7bfee00e91ae19c58bc0 system_hiredis.patch" -sha512sums="bef62d6dd4190b9a28e751cc598d201f0f994a08def46ae68587d1cc956e7e209ae540d91241545dc4efd055b4bf2b95039f0e9649448e5506f17ec37240adf8 rmilter-1.10.0.tar.gz -e28357e8eab451cb972149b003db56e4386f17e137c3a690e90c4b161edd6eeb7da99b8f36cdf016f11161664b90825ee2f706ce70887c6d8b9c6a7b167770cd rmilter-clamav.conf -15db17901e4fc53596860dadade29b656d0addb390a56a610d13caee6362c867215de0fb57071ba87f0b97620d076444ad22fd87a3c27b2ca709fc31d71ed19c rmilter-rspamd.conf -f56f4295209483e2e2d0ecceeecdd8a73e547ba85bca6cf9c54f3a57a87b3ca1dfbb6dd062d54224840019cee47a062d8b9384b8b08a789b0ea46b947cb11ac2 rmilter-redis.conf -b558762c18fbcb0a50c787094d267fabae3d336ea665b126fccf1fc67284b38336ee4b9997e23091bc64e60a0302e3c5a3f659581b72dccc5da0d26c8e722f30 rmilter-dkim.conf -a8c91009662e1f4b4fd140df8187bc2b781aab167b71219ed63447da480f3b856bea00e48651f26104e5e53f096a84dc10f769067bc9c0e6e1d504a9fcef4fbd rmilter.confd -010d6e8e83087212ef0fe0bebfcd9581e8205dcf2ddf3434f7b25b9e80959cd6f24a5ede3207f9a104b3d467a5649e365a78fa609a7d2bf361253c803bb1ab2c rmilter.initd -1ab84f669bd05268816c2c454e939921102713f4ce9ef39ca695a21fc3410d915abecabd5b732022f945abfdf3d1e39ab13c8412c8de46420651a1b26e2374b3 rmilter.conf -2112a10358d7f00931a850f501db53481932badeee488afc8d8481c07bde8556449e2485c0fad5e5a0837fd921dc153a674e1c69fc1d055f6f10b89f2f061237 config.patch -6ac3a1d73e52c156b60cabaabceea6e01c7e5f2dce78a557ccce24127440a8fea713b2465ecdd29486c4283afb6dee723cbcb476f1789bcd3876dd6c6aa5ebd1 config_dir.patch -6913c39c3335ecaebd6413ea8d39630cf67bc5fba9a91609f1ea25f756702e1652d51429534a5223a7136a7424deaffd16c2a2fb8d32fa1a1f1f23b3b8fed87c system_hiredis.patch" diff --git a/unmaintained/rmilter/config.patch b/unmaintained/rmilter/config.patch deleted file mode 100644 index feeac382656..00000000000 --- a/unmaintained/rmilter/config.patch +++ /dev/null @@ -1,156 +0,0 @@ ---- a/rmilter.conf.sample -+++ b/rmilter.conf.sample -@@ -1,24 +1,3 @@ --# Sample config file for rmilter --# $Id$ --# -- --# .include - directive to include other config file --#.include ./rmilter-grey.conf -- --# pidfile - path to pid file --# Default: pidfile = /var/run/rmilter.pid --pidfile = /var/run/rmilter/rmilter.pid; -- --# bind_socket - socket credits for local bind: --# unix:/path/to/file - bind to local socket --# inet:port@host - bind to inet socket --# Default: bind_socket = unix:/var/tmp/rmilter.sock; --bind_socket = unix:/var/run/rmilter/rmilter.sock; -- --# tempdir - path to directory that contains temporary files --# Default: $TMPDIR --tempdir = /tmp; -- - # max_size - maximum size of scanned message for ClamAV, Rspamd and DCC - # Default: 0 (no limit) - max_size = 10M; -@@ -27,14 +6,14 @@ - # Default: no - #strict_auth = no; - --# spf_domains - path to file that contains hash of spf domains --# Default: empty --#spf_domains = example.com, mail.ru; -- - # use_dcc - whether or not use DCC - # Default: no - #use_dcc = no; - -+# use_redis - switch cache to use redis or legacy memcached -+# Default: yes -+use_redis = no; -+ - # whitelist - global recipients whitelist - # Default: no - #whitelist = abuse@example.com, postmaster@example.com; -@@ -51,6 +30,7 @@ - # sockets are separated by ',' - # Default: empty - #servers = clam1.example.com, clam2.example.com; -+ - # connect_timeout - timeout in miliseconds for connecting to clamav - # Default: 1s - #connect_timeout = 1s; -@@ -84,13 +64,13 @@ - # sockets are separated by ',' - # if server name is prefixed with 'r:' it is an Rspamd server - # Default: empty -- servers = r:localhost:11333; -+ #servers = r:localhost:11333; - - # also_check - extra Rspamd servers to check - #also_check = r:clam10.example.com; - - # diff_dir - path where to write messages that have different results from main and extra checks -- #diff_dir = /var/run/rmilter/diffmsg; -+ #diff_dir = /run/rmilter/diffmsg; - - # connect_timeout - timeout in miliseconds for connecting to spamd - # Default: 1s -@@ -147,17 +127,17 @@ - redis { - # servers_grey - redis servers for greylisting in format: - # host[:port][, host[:port]] -- servers_grey = localhost; -+ #servers_grey = localhost; - - # servers_white - redis servers for whitelisting in format similar to that is used - # in servers_grey -- servers_white = localhost; -+ #servers_white = localhost; - - # servers_limits - redis servers used for limits storing, can not be mirrored -- servers_limits = localhost; -+ #servers_limits = localhost; - - # servers_id - redis servers used for message id storing, can not be mirrored -- servers_id = localhost; -+ #servers_id = localhost; - - # servers_spam - redis servers used to send spam messages - #servers_spam = localhost; -@@ -207,7 +187,6 @@ - #maxerrors = 10; - }; - -- - # rule definition: - # rule { - # accept|discard|reject|tempfail|quarantine "[message]"; <- action definition -@@ -223,7 +202,7 @@ - limits { - # enable: enable or disable rate limits (binary flag) - # Default: true -- #enable = yes; -+ enable = no; - - # Whitelisted ip or networks - #limit_whitelist = 194.67.45.4/32; -@@ -246,7 +225,7 @@ - greylisting { - # enable - enable or disable greylisting (binary flag) - # Default: true -- #enable = yes; -+ enable = no; - - # timeout - time during which we mark message greylisted - # Default: 300s -@@ -264,23 +243,23 @@ - dkim { - # enable - enable or disable DKIM signing (binary flag) - # Default: true -- #enable = yes; -+ enable = no; - - # Sample for dkim specific keys - # domain { -- # key = /etc/dkim/dkim_example.key; -+ # key = /etc/mail/dkim/dkim_example.key; - # domain = "example.com"; - # selector = "dkim"; - # }; - # domain { -- # key = /etc/dkim/dkim_test.key; -+ # key = /etc/mail/dkim/dkim_test.key; - # domain = "test.com"; - # selector = "dkim"; - # }; - -- # Universal selector, keys will be checked for pattern /etc/dkim/<domain>.<selector>.key -+ # Universal selector, keys will be checked for pattern /etc/mail/dkim/<domain>.<selector>.key - domain { -- key = /usr/local/etc/dkim; -+ key = /etc/mail/dkim; - domain = "*"; - selector = "dkim"; - }; -@@ -288,8 +267,3 @@ - body_canon = relaxed; - sign_alg = sha256; - }; -- -- --# include user's configuration, replace this with full path --.try_include /usr/local/etc/rmilter.conf.local --.try_include /usr/local/etc/rmilter.conf.d/*.conf diff --git a/unmaintained/rmilter/config_dir.patch b/unmaintained/rmilter/config_dir.patch deleted file mode 100644 index 92b5c7b016b..00000000000 --- a/unmaintained/rmilter/config_dir.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/src/cfg_file.h b/src/cfg_file.h -index a298493..ee87148 100644 ---- a/src/cfg_file.h -+++ b/src/cfg_file.h -@@ -39,6 +39,12 @@ - #include <dkim.h> - #endif - -+#ifndef RMILTER_CONFDIR -+#define RMILTER_CONFDIR "/etc/rmilter" -+#endif -+ -+#define FIXED_CONFIG_FILE RMILTER_CONFDIR "/rmilter.conf" -+ - #define COND_CONNECT_FLAG 0x1 - #define COND_HELO_FLAG 0x2 - #define COND_ENVFROM_FLAG 0x4 -diff --git a/src/main.c b/src/main.c -index 67c1667..b3990a8 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -259,7 +259,7 @@ main(int argc, char *argv[]) - init_defaults (cfg); - - if (cfg_file == NULL) { -- cfg_file = strdup ("/usr/local/etc/rmilter.conf"); -+ cfg_file = strdup (FIXED_CONFIG_FILE); - } - - f = fopen (cfg_file, "r"); diff --git a/unmaintained/rmilter/rmilter-clamav.conf b/unmaintained/rmilter/rmilter-clamav.conf deleted file mode 100644 index fac04675f1b..00000000000 --- a/unmaintained/rmilter/rmilter-clamav.conf +++ /dev/null @@ -1,3 +0,0 @@ -clamav { - servers = /run/clamav/clamd.sock; -}; diff --git a/unmaintained/rmilter/rmilter-clamav.pre-install b/unmaintained/rmilter/rmilter-clamav.pre-install deleted file mode 100644 index 1adaa3194f0..00000000000 --- a/unmaintained/rmilter/rmilter-clamav.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -adduser rmilter clamav 2>/dev/null -echo "You cat add clamd to rc_need list at /etc/conf.d/rmilter" - -exit 0 diff --git a/unmaintained/rmilter/rmilter-dkim.conf b/unmaintained/rmilter/rmilter-dkim.conf deleted file mode 100644 index bf158f8e55e..00000000000 --- a/unmaintained/rmilter/rmilter-dkim.conf +++ /dev/null @@ -1,3 +0,0 @@ -dkim { - enable = yes; -}; diff --git a/unmaintained/rmilter/rmilter-dkim.pre-install b/unmaintained/rmilter/rmilter-dkim.pre-install deleted file mode 100644 index a651ced4d4d..00000000000 --- a/unmaintained/rmilter/rmilter-dkim.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -adduser rmilter mail 2>/dev/null - -exit 0 diff --git a/unmaintained/rmilter/rmilter-redis.conf b/unmaintained/rmilter/rmilter-redis.conf deleted file mode 100644 index 0a1c96c0421..00000000000 --- a/unmaintained/rmilter/rmilter-redis.conf +++ /dev/null @@ -1,18 +0,0 @@ -use_redis = yes; - -redis { - servers_grey = localhost; - servers_white = localhost; - servers_limits = localhost; - servers_id = localhost; - #servers_spam = localhost; - #servers_copy = localhost; -}; - -greylisting { - enable = yes; -}; - -limits { - enable = yes; -}; diff --git a/unmaintained/rmilter/rmilter-rspamd.conf b/unmaintained/rmilter/rmilter-rspamd.conf deleted file mode 100644 index dcc785d67f3..00000000000 --- a/unmaintained/rmilter/rmilter-rspamd.conf +++ /dev/null @@ -1,3 +0,0 @@ -spamd { - servers = r:localhost:11333; -}; diff --git a/unmaintained/rmilter/rmilter.conf b/unmaintained/rmilter/rmilter.conf deleted file mode 100644 index f1a4b17b2cc..00000000000 --- a/unmaintained/rmilter/rmilter.conf +++ /dev/null @@ -1,20 +0,0 @@ -# .include - directive to include other config file -.include /etc/rmilter/rmilter.conf.common - -# pidfile - path to pid file -# Default: no defaults -pidfile = /run/rmilter/rmilter.pid; - -# bind_socket - socket credits for local bind: -# unix:/path/to/file - bind to local socket -# inet:port@host - bind to inet socket -# Default: no defaults -bind_socket = unix:/run/rmilter/rmilter.sock; - -# tempdir - path to directory that contains temporary files -# Default: $TMPDIR -tempdir = /tmp; - -# include user's configuration, replace this with full path -.try_include /etc/rmilter/rmilter.conf.local -.try_include /etc/rmilter/conf.d/*.conf diff --git a/unmaintained/rmilter/rmilter.confd b/unmaintained/rmilter/rmilter.confd deleted file mode 100644 index bf2a3472867..00000000000 --- a/unmaintained/rmilter/rmilter.confd +++ /dev/null @@ -1,6 +0,0 @@ -# User and group to run as -#user=rmilter -#group=rmilter - -# Main config file -#cfgfile=/etc/rmilter/rmilter.conf diff --git a/unmaintained/rmilter/rmilter.initd b/unmaintained/rmilter/rmilter.initd deleted file mode 100644 index 6983bddaefe..00000000000 --- a/unmaintained/rmilter/rmilter.initd +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/openrc-run - -description="Rapid mail filter" -command=/usr/sbin/rmilter -command_args=${cfgfile:+"-c $cfgfile"} - -: ${user:=rmilter} -: ${group:=rmilter} -: ${cfgfile:=/etc/rmilter/rmilter.conf} - -pidfile=$(grep '^[[:space:]]*pidfile[[:space:]]*=' $cfgfile | sed 's/[[:space:];]//g' | cut -d= -f2) -required_files="$cfgfile" -extra_started_commands="reload" -description_reload="Reload configuration" -start_stop_daemon_args="$start_stop_daemon_args --user $user --group $group" - -depend() { - need net localmount - use logger antivirus antispam - for file in $(ls /etc/conf.d/${RC_SVCNAME}-rc_need@* 2>/dev/null); do - need ${file#*@} - done -} - -start_pre() { - ebegin - checkpath --directory --owner $user:$group ${pidfile%/*} - bind_socket=$(grep '^[[:space:]]*bind_socket[[:space:]]*=[[:space:]]*unix:' $cfgfile | sed 's/[[:space:];]//g' | cut -d: -f2) - diff_dir=$(grep -hr '^[[:space:]]*diff_dir[[:space:]]*=' ${cfgfile%/*} | sed 's/[[:space:];]//g' | cut -d= -f2) - if [ "$bind_socket" ]; then - checkpath --directory --owner $user:$group ${bind_socket%/*} - rm -f $bind_socket - fi - if [ "$diff_dir" ]; then - checkpath --directory --owner $user:$group $diff_dir - rm -f $diff_dir/* - fi - eend $? -} - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --signal USR1 --pidfile $pidfile - eend $? -} diff --git a/unmaintained/rmilter/rmilter.pre-install b/unmaintained/rmilter/rmilter.pre-install deleted file mode 100644 index 80ddefc2914..00000000000 --- a/unmaintained/rmilter/rmilter.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S rmilter 2>/dev/null -adduser -S -D -H -h /run/rmilter -s /sbin/nologin -G rmilter -g rmilter rmilter 2>/dev/null - -exit 0 diff --git a/unmaintained/rmilter/system_hiredis.patch b/unmaintained/rmilter/system_hiredis.patch deleted file mode 100644 index d72e9cd03da..00000000000 --- a/unmaintained/rmilter/system_hiredis.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -370,6 +370,8 @@ - ProcessPackage(GLIB2 LIBRARY glib-2.0 INCLUDE glib.h - INCLUDE_SUFFIXES include/glib - ROOT ${GLIB_ROOT_DIR} MODULES glib-2.0>=2.28) -+ProcessPackage(LIBHIREDIS LIBRARY hiredis INCLUDE hiredis.h INCLUDE_SUFFIXES include/hiredis -+ LIB_SUFFIXES lib/libhiredis ROOT ${LIBHIREDIS_ROOT_DIR} MODULES libhiredis) - - IF(ENABLE_DKIM MATCHES "ON") - SET(WITH_DKIM 1) -@@ -388,8 +390,6 @@ - ENDIF() - - ################################ SOURCES SECTION ########################### --ADD_SUBDIRECTORY(hiredis) --INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/hiredis") - INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/contrib/lc-btrie") - INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/") - ADD_SUBDIRECTORY(contrib/libucl) -@@ -421,7 +421,6 @@ - ADD_EXECUTABLE(rmilter ${RMILTERSRC}) - SET_TARGET_PROPERTIES(rmilter PROPERTIES LINKER_LANGUAGE C) - TARGET_LINK_LIBRARIES(rmilter ${RMILTER_REQUIRED_LIBRARIES}) --TARGET_LINK_LIBRARIES(rmilter rmilter-hiredis) - TARGET_LINK_LIBRARIES(rmilter ucl) - TARGET_LINK_LIBRARIES(rmilter xxhash) - TARGET_LINK_LIBRARIES(rmilter rmilter-http-parser) diff --git a/unmaintained/roundcube-mobile/APKBUILD b/unmaintained/roundcube-mobile/APKBUILD deleted file mode 100644 index 5604a755937..00000000000 --- a/unmaintained/roundcube-mobile/APKBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> - -pkgname=roundcube-mobile -# NOTE: These 3 plugins/skins forms one product, they are not used separately -# anywhere, thus I put them together into single abuild. -_pkgname_plugin=Roundcube-Plugin-Mobile -_pkgname_skin=Roundcube-Skin-Melanie2-Larry-Mobile -_pkgname_jquery=Roundcube-Plugin-JQuery-Mobile -pkgver=0.4.9 -pkgrel=0 -_pkgver_jquery=1.2 -pkgdesc="Mobile plugin and skin for Roundcube by Melanie2" -url="https://plugins.roundcube.net/packages/melanie2/mobile" -arch="noarch" -license="GPL-3.0-or-later CC-3.0-BY-SA" -depends="roundcubemail" -pkggroups="roundcube" -options="!check" # no tests provided -subpackages=" - $pkgname-calendar:_plugin - $pkgname-enigma:_plugin - $pkgname-managesieve:_plugin - " -source="https://github.com/messagerie-melanie2/$_pkgname_plugin/archive/v$pkgver/$_pkgname_plugin-$pkgver.tar.gz - https://github.com/messagerie-melanie2/$_pkgname_skin/archive/v$pkgver/$_pkgname_skin-$pkgver.tar.gz - https://github.com/messagerie-melanie2/$_pkgname_jquery/archive/v$_pkgver_jquery/$_pkgname_jquery-$_pkgver_jquery.tar.gz - " - -_confdir="etc/roundcube/plugins" -_rcdir="usr/share/webapps/roundcube" - -prepare() { - cd "$srcdir" - - find . -type f -exec chmod -x {} + - rm -f */.gitignore */composer.json */package.xml */LICENCE */README.* -} - -package() { - local plugdir="$pkgdir/$_rcdir/plugins" - local skindir="$pkgdir/$_rcdir/skins" - - cd "$srcdir" - - mkdir -p "$plugdir" - cp -r "$_pkgname_jquery-$_pkgver_jquery" "$plugdir"/jquery_mobile - cp -r "$_pkgname_plugin-$pkgver" "$plugdir"/mobile - rm -R "$plugdir"/mobile/plugins - - mkdir -p "$skindir" - cp -r "$_pkgname_skin-$pkgver" "$skindir"/melanie2_larry_mobile - - install -m 644 -g roundcube -D "$plugdir"/mobile/config.inc.php.dist \ - "$pkgdir"/$_confdir/mobile.inc.php - ln -s /$_confdir/mobile.inc.php "$plugdir"/mobile/config.inc.php -} - -_plugin() { - local subname="${subpkgname#$pkgname-}" - local plugdir="$subpkgdir/$_rcdir/plugins" - - pkgdesc="$pkgdesc (skin for $subname)" - install_if="$pkgname=$pkgver-r$pkgrel roundcubemail-$subname" - - cd "$srcdir/$_pkgname_plugin-$pkgver" - - mkdir -p "$plugdir"/$subname - cp -r plugins/$subname/skins "$plugdir"/$subname/ -} - -sha512sums="7370cb1f20faee5e90084ac90e2af50613ac1cce2e0f00f034393c8abe47106e3ce51e3abddec422b3b8a13ad081c0bb85f2791f8ce409e40c3c466469c81045 Roundcube-Plugin-Mobile-0.4.9.tar.gz -c3d58335e26f85876a126d65c377fb98a1d8c6753777f46e89f1658fef83bafaea228ec98935725ae9f53e1492f552047b41b59e596c713cea705ee0893e3ab6 Roundcube-Skin-Melanie2-Larry-Mobile-0.4.9.tar.gz -e29c08b8a3299ecc0c4a5127dce90c00e7682b2ee9c1c884a4faa0d6b3550c3ab63ae52fdf363c002831098406492596a275c1ac6242db0dea6ed1568e96b655 Roundcube-Plugin-JQuery-Mobile-1.2.tar.gz" diff --git a/unmaintained/roundcubemail/APKBUILD b/unmaintained/roundcubemail/APKBUILD deleted file mode 100644 index ebbb485a9a7..00000000000 --- a/unmaintained/roundcubemail/APKBUILD +++ /dev/null @@ -1,225 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=roundcubemail -pkgver=1.3.10 -pkgrel=0 -pkgdesc="A PHP web-based mail client" -url="https://www.roundcube.net/" -arch="noarch" -license="GPL-3.0-or-later" -_php=php7 -depends="$_php - $_php-dom - $_php-exif - $_php-iconv - $_php-intl - $_php-json - $_php-mbstring - $_php-openssl - $_php-pdo - $_php-pear-auth_sasl - $_php-pear-mail_mime - $_php-pear-net_idna2 - $_php-pear-net_smtp - $_php-pear-net_socket - $_php-session - $_php-sockets - $_php-xml - ca-certificates - " -_depends_managesieve="$_php-pear-net_sieve" -_depends_zipdownload="$_php-zip" -# Install plugins' deps during build just to verify that they exist. -makedepends="$_depends_managesieve" -pkgusers="roundcube" -pkggroups="$pkgusers" -options="!check" # no tests provided -install="$pkgname.pre-install - $pkgname.post-install - $pkgname.post-upgrade - $pkgname-installer.post-install - $pkgname-openrc.post-install - $pkgname-pgsql.post-install - " -subpackages="$pkgname-installer $pkgname-openrc $pkgname-doc" -source="https://github.com/roundcube/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-complete.tar.gz - fix-dirs.patch - config-session_key.patch - config-disable-remote-spellcheck.patch - config.inc.php - fpm-pool.conf - nginx.conf - $pkgname.confd - $pkgname.logrotate - $pkgname.daily - " -builddir="$srcdir/$pkgname-$pkgver" - -# secfixes: -# 1.3.10-r0: -# - CVE-2019-10740 -# 1.3.8-r0: -# - CVE-2018-19206 -# 1.3.6-r0: -# - CVE-2018-9846 -# 1.2.7-r0: -# - CVE-2017-16651 -# 1.2.5-r0: -# - CVE-2017-8114 - -for _db in mssql mysql pgsql sqlite; do - subpackages="$subpackages $pkgname-$_db:_db" -done - -# List of plugins to move into subpackages. -_plugins=" - managesieve - zipdownload - " -for _plugin in $_plugins; do - subpackages="$subpackages $pkgname-$_plugin:_plugin" -done - -_destdir="usr/share/webapps/roundcube" - -prepare() { - cd "$builddir" - default_prepare - - # remove .htaccess - find . -name \.htaccess -print | xargs rm -f - - # cleanup - sed -i 's/\r//' SQL/mssql.initial.sql - rm -rf logs temp - - # Useless 'cause there's no FOSS PDO driver. - rm -R SQL/oracle* - - cd bin - - # Remove development scripts. - rm -f cssshrink.* dumpschema.* installto.* jsshrink.* makedoc.* - - # These are all PHP files, not shell scripts! - local file; for file in *.sh; do - mv $file ${file%.sh}.php - done - - # Fix shebang. - sed -i "s|/usr/bin/env php|/usr/bin/env $_php|" *.php -} - -package() { - local docdir="$pkgdir/usr/share/doc/roundcube" - local config plugname - - mkdir -p "$pkgdir/$_destdir" - cd "$pkgdir" - - cp -rp "$builddir"/* ./$_destdir/ - - # Install config in /etc/roundcube so config files are not overwritten - # on upgrades. - mkdir -p ./etc/ - mv ./$_destdir/config ./etc/roundcube - mkdir ./etc/roundcube/plugins - - install -m 640 -g roundcube \ - "$srcdir"/config.inc.php ./etc/roundcube/ - - local file; for file in CHANGELOG INSTALL README.md UPGRADING; do - _mv ./$_destdir/$file "$docdir"/ - done - _mv ./etc/roundcube/config.inc.php.sample "$docdir"/ - _mv ./$_destdir/LICENSE ./usr/share/licenses/roundcube/ - - install -m 644 -D "$srcdir"/nginx.conf "$docdir"/ - - install -m 755 -D "$srcdir"/$pkgname.daily ./etc/periodic/daily/$pkgname - install -m 644 -D "$srcdir"/$pkgname.logrotate ./etc/logrotate.d/$pkgname - - install -d -m 750 -o roundcube -g roundcube ./var/log/roundcube - - # Copy plugin configs into /etc and symlink them back. - cd ./$_destdir/plugins - for config in */config.inc.php.dist; do - plugname=${config%/*} - - install -m 644 -g roundcube $config -D \ - "$pkgdir"/etc/roundcube/plugins/$plugname.inc.php - ln -s /etc/roundcube/plugins/$plugname.inc.php \ - $plugname/config.inc.php - done -} - -installer() { - pkgdesc="Roundcubemail installer script" - depends="$pkgname=$pkgver-r$pkgrel" - - _mv "$pkgdir"/$_destdir/installer "$subpkgdir"/$_destdir/ -} - -openrc() { - default_openrc - pkgdesc="OpenRC init script that runs Roundcube with php-fpm" - depends="$pkgname=$pkgver-r$pkgrel $_php-fpm" - - local confdir="$subpkgdir/etc/$_php/php-fpm.d" - local fpm_name="php-fpm${_php#php}" - - install -m 644 -D "$srcdir"/fpm-pool.conf "$confdir"/roundcube.conf - install -m 644 -D "$srcdir"/$pkgname.confd "$subpkgdir"/etc/conf.d/roundcube - - mkdir -p "$subpkgdir"/etc/init.d - ln -s $fpm_name "$subpkgdir"/etc/init.d/roundcube - - install -m 700 -o roundcube -g roundcube -d "$subpkgdir"/var/tmp/roundcube -} - -_db() { - local subname=${subpkgname#$pkgname-} - local driver="$subname" - local rcname="$subname" - local desc - - case "$subname" in - mssql) desc="MS SQL" driver=dblib;; - mysql) desc="MariaDB";; - pgsql) desc="PostgreSQL" rcname="postgres";; - sqlite) desc="SQLite";; - esac - - pkgdesc="$pkgdesc ($desc DB)" - depends="$pkgname=$pkgver-r$pkgrel $_php-pdo_${driver}" - - _mv "$pkgdir"/$_destdir/SQL/$rcname* "$subpkgdir"/$_destdir/SQL/ -} - -_plugin() { - local name="${subpkgname#$pkgname-}" - pkgdesc="$pkgdesc ($name plugin)" - depends="$pkgname=$pkgver-r$pkgrel $(eval "echo \$_depends_$name")" - - cd "$pkgdir" - _mv ./$_destdir/plugins/$name "$subpkgdir"/$_destdir/plugins/ - _mv ./etc/roundcube/plugins/$name.inc.php "$subpkgdir"/etc/roundcube/plugins/ -} - -_mv() { - local dest; for dest; do true; done # get last argument - mkdir -p "$dest" - mv $@ -} - -sha512sums="8fffa16abda87d29081d1afedbf1d9e4862b8b1864785101d422e62048ca7f365c3708e8a76b4a37f716109230943bb9f03a5faa0cf3c3963fa5454207e00c49 roundcubemail-1.3.10-complete.tar.gz -d205ba8442870b26f93fb287e7fe2bd1a452ea534823869b7ef299e2dca52d64c8a3fdc9a44bd3bc731c1e400efcf745c1866974e3b908e4e54d05b47b835f3e fix-dirs.patch -7c4b88da4d2baa53d247dcb7b130d564954a04611c13f2770f45924fafab2a0e98f8dd078cabc87f3eddd0ab03f3ca48a48f27a462676354af22566cb19d220b config-session_key.patch -e46cdded33114ee7dae671d936cc41551168df29778dbf18f848a4f0eb0738a54c0751a5689716ba126ac256f2a50284afdcde542a42827003d6ba89af94f064 config-disable-remote-spellcheck.patch -1ed41e25b5045849a35eb0cb89b6779378773edcc6395b7390d9d919c956aaa487a4cc0dfa41b250129ae40444b93a3c20738101f784f17a25f7aba1d95de047 config.inc.php -c88d609e94c212215a24f54d2a2cb800d4a382b1044e0c875416bdda6a4e6c0cb896675918e8d24f3ed9e1b677d526d61f3ee1564cb870f674dac687696e8ba4 fpm-pool.conf -0825096ee7e401c5c1687fe784bc859ca30afa754bc1f49ea56b9156fbd05dd5018e68491247f5db484e644e6f67da3ebf5ee2d2324da0e9f031fdde76517f5b nginx.conf -acaa76bfbba6117172a02ad11e39f9b55838895104e75180b057f647156c04fd2e44ac695a333f2332691d19bac5ef8afaca1f89ad409800b19f78afbb40aecb roundcubemail.confd -b4de4810ac01a2c4b6922371cb949ecf9b57df4f56c3f1bbc3d0ef926b1d85182a3d801cb1af77d28195b587137a2bcbb9a171d932e7eb1b72950a281ca27c2a roundcubemail.logrotate -1864e3914a2efa846e9fd8f8e6e8338ea4d47da0d07424cc524cbed1a68e65342ef5dccda91688d942c5b25f3b7fad412d6020ed7a681aa9aa31b7657aa780a8 roundcubemail.daily" diff --git a/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch b/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch deleted file mode 100644 index c1c6d0523a1..00000000000 --- a/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch +++ /dev/null @@ -1,26 +0,0 @@ -The default spell checker sends everything you type to some remote server -(http://spell.roundcube.net). This is de facto keylogger! - -This patch just changes the default settings to disable spellcheck -and set pspell as default (however it requires php7-pspell to be installed). - ---- a/config/defaults.inc.php -+++ b/config/defaults.inc.php -@@ -723,7 +723,7 @@ - $config['quota_zero_as_unlimited'] = false; - - // Make use of the built-in spell checker. It is based on GoogieSpell. --$config['enable_spellcheck'] = true; -+$config['enable_spellcheck'] = false; - - // Enables spellchecker exceptions dictionary. - // Setting it to 'shared' will make the dictionary shared by all users. -@@ -737,7 +737,7 @@ - // Since Google shut down their public spell checking service, the default settings - // connect to http://spell.roundcube.net which is a hosted service provided by Roundcube. - // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly. --$config['spellcheck_engine'] = 'googie'; -+$config['spellcheck_engine'] = 'pspell'; - - // For locally installed Nox Spell Server or After the Deadline services, - // please specify the URI to call it. diff --git a/unmaintained/roundcubemail/config-session_key.patch b/unmaintained/roundcubemail/config-session_key.patch deleted file mode 100644 index a94bd9bd109..00000000000 --- a/unmaintained/roundcubemail/config-session_key.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/config/config.inc.php.sample -+++ b/config/config.inc.php.sample -@@ -74,7 +74,7 @@ - // in the session record (and the client cookie if remember password is enabled). - // please provide a string of exactly 24 chars. - // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS --$config['des_key'] = 'rcmail-!24ByteDESkey*Str'; -+$config['des_key'] = trim(file(RCMAIL_CONFIG_DIR . '/session_key')[0]); - - // List of active plugins (in plugins/ directory) - $config['plugins'] = array( diff --git a/unmaintained/roundcubemail/config.inc.php b/unmaintained/roundcubemail/config.inc.php deleted file mode 100644 index 7307c38cfb0..00000000000 --- a/unmaintained/roundcubemail/config.inc.php +++ /dev/null @@ -1,145 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | Local configuration for the Roundcube Webmail installation. | - | | - | This is a samle configuration file only containing the most common | - | configuration options. You may copy more options from | - | defaults.inc.php to this file to override the defaults. | - | | - | This file is provided by Alpine Linux. | - +-----------------------------------------------------------------------+ -*/ - -$config = array(); - -// ---------------------------------- -// SQL DATABASE -// ---------------------------------- - -// Database connection string (DSN) for read+write operations. -// Format (compatible with PEAR MDB2): db_provider://user:password@host/database -// Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv. -// IMPORTANT: Install package for the DB of your choice, e.g. `apk add roundcubemail-pgsql`. -$config['db_dsnw'] = 'pgsql://roundcube:top-secret@localhost/roundcube'; - - -// ---------------------------------- -// IMAP -// ---------------------------------- - -// The IMAP host chosen to perform the log-in. -// Leave blank to show a textbox at login, give a list of hosts -// to display a pulldown menu or set one host as string. -// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls:// -//$config['default_host'] = 'localhost'; - -// TCP port used for IMAP connections -//$config['default_port'] = 143; - -// IMAP connection timeout, in seconds. Default: 0 (use default_socket_timeout) -//$config['imap_timeout'] = 0; - - -// ---------------------------------- -// SMTP -// ---------------------------------- - -// SMTP server host (for sending mails). -// Enter hostname with prefix tls:// to use STARTTLS, or use -// prefix ssl:// to use the deprecated SSL over SMTP (aka SMTPS). -//$config['smtp_server'] = 'localhost'; - -// SMTP port (default is 25; use 587 for STARTTLS or 465 for the -// deprecated SSL over SMTP (aka SMTPS)). -//$config['smtp_port'] = 25; - -// SMTP username (if required) if you use %u as the username Roundcube -// will use the current username for login. -//$config['smtp_user'] = '%u'; - -// SMTP password (if required) if you use %p as the password Roundcube -// will use the current user's password for login. -//$config['smtp_pass'] = '%p'; - - -// ---------------------------------- -// SYSTEM -// ---------------------------------- - -// Provide an URL where a user can get support for this Roundcube installation. -// PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE! -//$config['support_url'] = ''; - -// Allow browser-autocompletion on login form. -// 0 - disabled, 1 - username and host only, 2 - username, host, password -//$config['login_autocomplete'] = 0; - -// Session lifetime in minutes. -//$config['session_lifetime'] = 10; - -// Name your service. This is displayed on the login screen and in the window title. -//$config['product_name'] = 'Roundcube Webmail'; - -// Load the key from /etc/roundcube/session_key (random key generated on install). -// This key is used to encrypt the users imap password which is stored -// in the session record (and the client cookie if remember password is enabled). -// It must be exactly 24 chars long. -$config['des_key'] = trim(file(RCMAIL_CONFIG_DIR . '/session_key')[0]); - -// Password charset. -// Defaults to ISO-8859-1 for backward compatibility -$config['password_charset'] = 'UTF-8'; - -// Mimetypes supported by the browser. -// Attachments of these types will open in a preview window. -// Either a comma-separated list or an array: 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,application/pdf'. -$config['client_mimetypes'] = 'text/plain,text/html,image/jpeg,image/gif,image/png,application/pdf'; - -// List of active plugins (in plugins/ directory). -//$config['plugins'] = array(); - - -// ---------------------------------- -// USER INTERFACE -// ---------------------------------- - -// Make use of the built-in spell checker. -//$config['enable_spellcheck'] = false; - -// Set the spell checking engine. Possible values: -// - 'googie' - don't use this, it sends everything you type to a remote service! -// - 'pspell' - requires the PHP Pspell module and aspell installed (apk add php7-pspell) -// - 'enchant' - requires the PHP Enchant module (apk add php7-enchant) -// - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API -//$config['spellcheck_engine'] = 'pspell'; - -// Enables files upload indicator. Requires APC installed (apk add php7-apcu) -// and enabled apc.rfc1867 option. -// By default refresh time is set to 1 second. You can set this value to true -// or any integer value indicating number of seconds. -//$config['upload_progress'] = false; - - -// ---------------------------------- -// USER PREFERENCES -// ---------------------------------- - -// Use this charset as fallback for message decoding -$config['default_charset'] = 'UTF-8'; - -// display remote inline images -// 0 - Never, always ask -// 1 - Ask if sender is not in address book -// 2 - Always show inline images -//$config['show_images'] = 0; - -// save compose message every 300 seconds (5min) -//$config['draft_autosave'] = 300; - -// When replying: -// -1 - don't cite the original message -// 0 - place cursor below the original message -// 1 - place cursor above original message (top posting) -//$config['reply_mode'] = 0; diff --git a/unmaintained/roundcubemail/fix-dirs.patch b/unmaintained/roundcubemail/fix-dirs.patch deleted file mode 100644 index 3d0807fb150..00000000000 --- a/unmaintained/roundcubemail/fix-dirs.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/config/defaults.inc.php -+++ b/config/defaults.inc.php -@@ -382,11 +382,11 @@ - // use this folder to store log files - // must be writeable for the user who runs PHP process (Apache user if mod_php is being used) - // This is used by the 'file' log driver. --$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/'; -+$config['log_dir'] = '/var/log/roundcube'; - - // use this folder to store temp files - // must be writeable for the user who runs PHP process (Apache user if mod_php is being used) --$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/'; -+$config['temp_dir'] = '/tmp'; - - // expire files in temp_dir after 48 hours - // possible units: s, m, h, d, w ---- a/program/include/iniset.php -+++ b/program/include/iniset.php -@@ -29,7 +29,7 @@ - } - - if (!defined('RCMAIL_CONFIG_DIR')) { -- define('RCMAIL_CONFIG_DIR', INSTALL_PATH . 'config'); -+ define('RCMAIL_CONFIG_DIR', '/etc/roundcube'); - } - - if (!defined('RCUBE_LOCALIZATION_DIR')) { ---- a/program/lib/Roundcube/bootstrap.php -+++ b/program/lib/Roundcube/bootstrap.php -@@ -65,7 +65,7 @@ - } - - if (!defined('RCUBE_CONFIG_DIR')) { -- define('RCUBE_CONFIG_DIR', RCUBE_INSTALL_PATH . 'config/'); -+ define('RCUBE_CONFIG_DIR', '/etc/roundcube'); - } - - if (!defined('RCUBE_PLUGINS_DIR')) { diff --git a/unmaintained/roundcubemail/fpm-pool.conf b/unmaintained/roundcubemail/fpm-pool.conf deleted file mode 100644 index 39b1206e02d..00000000000 --- a/unmaintained/roundcubemail/fpm-pool.conf +++ /dev/null @@ -1,190 +0,0 @@ -[global] -; Error log file -; Default Value: log/php-fpm.log -error_log = /var/log/roundcube/php-fpm.log - -; Log level -; Possible Values: alert, error, warning, notice, debug -; Default Value: notice -log_level = warning - -; If this number of child processes exit with SIGSEGV or SIGBUS within the time -; interval set by emergency_restart_interval then FPM will restart. A value -; of '0' means 'Off'. -; Default Value: 0 -emergency_restart_threshold = 10 - -; Interval of time used by emergency_restart_interval to determine when -; a graceful restart will be initiated. This can be useful to work around -; accidental corruptions in an accelerator's shared memory. -; Available Units: s(econds), m(inutes), h(ours), or d(ays) -; Default Unit: seconds -; Default Value: 0 -emergency_restart_interval = 1m - -; Time limit for child processes to wait for a reaction on signals from master. -; Available units: s(econds), m(inutes), h(ours), or d(ays) -; Default Unit: seconds -; Default Value: 0 -process_control_timeout = 10s - - -[roundcube] -; The address on which to accept FastCGI requests. -; Valid syntaxes are: -; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on -; a specific port; -; 'port' - to listen on a TCP socket to all addresses on a -; specific port; -; '/path/to/unix/socket' - to listen on a unix socket (the path is *not* -; relative to chroot!) -; Note: This value is mandatory. -listen = /run/roundcube/fastcgi.sock - -; Set permissions for unix socket, if one is used. In Linux, read/write -; permissions must be set in order to allow connections from a web server. Many -; BSD-derived systems allow connections regardless of permissions. -; Default Values: user and group are set as the running user -; mode is set to 0666 -listen.mode = 0666 - -; Choose how the process manager will control the number of child processes. -; Possible Values: -; static ... a fixed number of child processes. -; dynamic ... the number of child processes are set dynamically. -; ondemand ... no children are created at startup; children will be forked -; when new requests will connect. -; Note: This value is mandatory. -pm = ondemand - -; The number of child processes to be created when pm is set to 'static' and the -; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. -; This value sets the limit on the number of simultaneous requests that will be -; served. -; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' -; Note: This value is mandatory. -pm.max_children = 10 - -; The number of seconds after which an idle process will be killed. -; Note: Used only when pm is set to 'ondemand' -; Default Value: 10s -pm.process_idle_timeout = 120s - -; The number of requests each child process should execute before respawning. -; This can be useful to work around memory leaks in 3rd party libraries. For -; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS. -; Default Value: 0 -pm.max_requests = 500 - -; The URI to view the FPM status page. If this value is not set, no URI will be -; recognized as a status page. -; Note: The value must start with a leading slash (/). The value can be -; anything, but it may not be a good idea to use the .php extension or it -; may conflict with a real PHP file. -; Default Value: not set -pm.status_path = - -; The ping URI to call the monitoring page of FPM. If this value is not set, no -; URI will be recognized as a ping page. This could be used to test from outside -; that FPM is alive and responding, or to -; - create a graph of FPM availability (rrd or such); -; - remove a server from a group if it is not responding (load balancing); -; - trigger alerts for the operating team (24/7). -; Note: The value must start with a leading slash (/). The value can be -; anything, but it may not be a good idea to use the .php extension or it -; may conflict with a real PHP file. -; Default Value: not set -ping.path = /ping - -; The timeout for serving a single request after which the worker process will -; be killed. This option should be used when the 'max_execution_time' ini option -; does not stop script execution for some reason. A value of '0' means 'off'. -; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) -; Default Value: 0 -;request_terminate_timeout = 0 - -; The timeout for serving a single request after which a PHP backtrace will be -; dumped to the 'slowlog' file. A value of '0s' means 'off'. -; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) -; Default Value: 0 -;request_slowlog_timeout = 0 - -; The log file for slow requests -; Default Value: not set -; Note: slowlog is mandatory if request_slowlog_timeout is set -; Note: the path is *not* relative to chroot. -;slowlog = /var/log/roundcube/php-fpm.slow.log - -; Redirect worker stdout and stderr into main error log. If not set, stdout and -; stderr will be redirected to /dev/null according to FastCGI specs. -; Note: on highloaded environement, this can cause some delay in the page -; process time (several ms). -; Default Value: no -;catch_workers_output = yes - -; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from -; the current environment. -; Default Value: clean env -env[PATH] = /usr/local/bin:/usr/bin:/bin -env[TMP] = /tmp -env[TMPDIR] = /tmp -env[TEMP] = /tmp - -; Additional php.ini defines, specific to this pool of workers. These settings -; overwrite the values previously defined in the php.ini. The directives are the -; same as the PHP SAPI: -; php_value/php_flag - you can set classic ini defines which can -; be overwritten from PHP call 'ini_set'. -; php_admin_value/php_admin_flag - these directives won't be overwritten by -; PHP call 'ini_set' -; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. -; -; Defining 'extension' will load the corresponding shared extension from -; extension_dir. Defining 'disable_functions' or 'disable_classes' will not -; overwrite previously defined php.ini values, but will append the new value -; instead. -; -; Note: path INI options can be relative and will be expanded with the prefix -; (pool, global or /usr/lib/php7.x) - -; Allow HTTP file uploads. -php_admin_flag[file_uploads] = true - -; Maximal size of a file that can be uploaded via web interface. -php_admin_value[memory_limit] = 32M -php_admin_value[post_max_size] = 32M -php_admin_value[upload_max_filesize] = 32M - -; Where to store temporary files. -php_admin_value[session.save_path] = /var/tmp/roundcube -php_admin_value[sys_temp_dir] = /var/tmp/roundcube -php_admin_value[upload_tmp_dir] = /var/tmp/roundcube - -; Log errors to specified file. -php_admin_flag[log_errors] = on -php_admin_value[error_log] = /var/log/roundcube/php.error.log - -; OPcache error_log file name. Empty string assumes "stderr" -php_admin_value[opcache.error_log] = /var/log/roundcube/php.error.log - -; Output buffering is a mechanism for controlling how much output data -; (excluding headers and cookies) PHP should keep internally before pushing that -; data to the client. If your application's output exceeds this setting, PHP -; will send that data in chunks of roughly the size you specify. -; This must be disabled for Roundcube. -php_admin_flag[output_buffering] = false - -; Overload(replace) single byte functions by mbstring functions. -; This must be disabled for Roundcube. -php_admin_flag[mbstring.func_overload] = false - -; Never populate the $HTTP_RAW_POST_DATA variable. -; http://php.net/always-populate-raw-post-data -php_admin_value[always_populate_raw_post_data] = -1 - -; Disable certain functions for security reasons. -; http://php.net/disable-functions -php_admin_value[disable_functions] = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source - -; Enable OpCache. -php_admin_flag[opcache.enable] = true diff --git a/unmaintained/roundcubemail/nginx.conf b/unmaintained/roundcubemail/nginx.conf deleted file mode 100644 index 248d8d51fc7..00000000000 --- a/unmaintained/roundcubemail/nginx.conf +++ /dev/null @@ -1,56 +0,0 @@ -# Sample nginx config for Roundcube. - -server { - listen 443 ssl; - listen [::]:443 ssl; - server_name mail.example.org; - - access_log /var/log/nginx/mail.access.log main; - error_log /var/log/nginx/mail.error.log warn; - - #ssl_certificate /etc/ssl/acme/mail.example.org/fullchain.pem; - #ssl_certificate_key /etc/ssl/acme/mail.example.org/privkey.pem; - - # Set max upload size. Keep in sync with memory_limit, post_max_size, - # and upload_max_filesize in /etc/php7/php-fpm.d/roundcube.conf. - client_max_body_size 32M; - - root /usr/share/webapps/roundcube; - index index.php index.html; - - # Enable HSTS Policy - #add_header Strict-Transport-Security "max-age=315360000"; - - location ~ ^/(bin|SQL)/ { - deny all; - } - - location ~ [^/]\.php(/|$) { - fastcgi_split_path_info ^(.+\.php)(.*)$; - - if (!-f $document_root$fastcgi_script_name) { - return 404; - } - fastcgi_pass unix:/run/roundcube/fastcgi.sock; - fastcgi_keep_conn on; - fastcgi_index index.php; - - include fastcgi.conf; - } - - # Allow to cache static assets. - location ~ ^/(plugins|skins|program)/ { - add_header Cache-Control "public, max-age=2592000"; - } -} - -server { - listen 80; - listen [::]:80; - server_name mail.example.org; - - # Redirect to https://. - location / { - rewrite ^ https://$server_name$request_uri? permanent; - } -} diff --git a/unmaintained/roundcubemail/roundcubemail-installer.post-install b/unmaintained/roundcubemail/roundcubemail-installer.post-install deleted file mode 100644 index 8cd22c19e61..00000000000 --- a/unmaintained/roundcubemail/roundcubemail-installer.post-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Allow installer to modify the config. -chown roundcube /etc/roundcube/config.inc.php - -exit 0 diff --git a/unmaintained/roundcubemail/roundcubemail-openrc.post-install b/unmaintained/roundcubemail/roundcubemail-openrc.post-install deleted file mode 100644 index f6746112115..00000000000 --- a/unmaintained/roundcubemail/roundcubemail-openrc.post-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -cat >&2 <<EOF -* -* Point your web server to /run/roundcube/fastcgi.sock and start Roundcube with -* /etc/init.d/roundcube start. You can modify php-fpm settings in -* /etc/php7/fpm.d/roundcube.conf. -* -EOF - -exit 0 diff --git a/unmaintained/roundcubemail/roundcubemail-pgsql.post-install b/unmaintained/roundcubemail/roundcubemail-pgsql.post-install deleted file mode 100644 index f46ba5b3e25..00000000000 --- a/unmaintained/roundcubemail/roundcubemail-pgsql.post-install +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -cat >&2 <<EOF -* -* Create database for Roundcube and load the initialization script: -* -* su -l postgres -* psql -c "CREATE ROLE roundcube PASSWORD 'top-secret' INHERIT LOGIN;" -* psql -c "CREATE DATABASE roundcube OWNER roundcube ENCODING 'UTF-8';" -* psql -U roundcube roundcube < /usr/share/webapps/roundcube/SQL/postgres.initial.sql -* -EOF diff --git a/unmaintained/roundcubemail/roundcubemail.confd b/unmaintained/roundcubemail/roundcubemail.confd deleted file mode 100644 index dd391a8d7bb..00000000000 --- a/unmaintained/roundcubemail/roundcubemail.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Config file for /etc/init.d/roundcube - -name="Roundcube" -user="roundcube" -group="roundcube" - -required_files="/etc/roundcube/config.inc.php" -rc_after="mta dovecot" diff --git a/unmaintained/roundcubemail/roundcubemail.daily b/unmaintained/roundcubemail/roundcubemail.daily deleted file mode 100644 index 5a498d33009..00000000000 --- a/unmaintained/roundcubemail/roundcubemail.daily +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/ash -set -eu -set -o pipefail - -# An awk program to add timestamp prefix to all logged lines. -AWK_LOG_PREFIX='{ print strftime("%Y-%m-%d %H:%M:%S:"), $0; fflush(); }' - -su roundcube -s /bin/sh -c '/usr/share/webapps/roundcube/bin/cleandb.php' 2>&1 \ - | awk "$AWK_LOG_PREFIX" \ - | tee -a /var/log/roundcube/cron.log diff --git a/unmaintained/roundcubemail/roundcubemail.logrotate b/unmaintained/roundcubemail/roundcubemail.logrotate deleted file mode 100644 index 5b277c9ecc8..00000000000 --- a/unmaintained/roundcubemail/roundcubemail.logrotate +++ /dev/null @@ -1,6 +0,0 @@ -/var/log/roundcube/* { - compress - copytruncate - missingok - notifempty -} diff --git a/unmaintained/roundcubemail/roundcubemail.post-install b/unmaintained/roundcubemail/roundcubemail.post-install deleted file mode 100644 index e5da23494df..00000000000 --- a/unmaintained/roundcubemail/roundcubemail.post-install +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -keyfile='/etc/roundcube/session_key' - -if ! [ -e "$keyfile" ]; then - echo '* Generating random session key' >&2 - - { head /dev/urandom | tr -dc A-Za-z0-9 | head -c 24 && echo ''; } > "$keyfile" - chmod 440 "$keyfile" - chgrp roundcube "$keyfile" -fi - -if [ "${0##*.}" = 'post-upgrade' ]; then - ver_new="$1" - ver_old="$2" - - cat >&2 <<-EOF - * - * Please read /usr/share/doc/roundcube/UPGRADE - * in roundcubemail-doc package for schema or config update - * - EOF - - if [ "$(apk version -t "$ver_old" '1.3.6-r1')" = '<' ]; then - cat >&2 <<-EOF - * - * If you run Roundcube with web server's privileges, e.g. using Apache2 - * mod_php (which is highly not recommended due to security reasons!), you - * have to change config permissions (or add user apache to group roundcube): - * - * chgrp www-data /etc/roundcube/* - * - * Roundcube plugins managesieve and zipdownload has been moved into - * subpackages. If you use them, install roundcubemail-<plugin> using apk - * (e.g. apk add roundcubemail-zipdownload). - * - EOF - fi -fi -exit 0 diff --git a/unmaintained/roundcubemail/roundcubemail.post-upgrade b/unmaintained/roundcubemail/roundcubemail.post-upgrade deleted file mode 120000 index ef34de84efe..00000000000 --- a/unmaintained/roundcubemail/roundcubemail.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -roundcubemail.post-install
\ No newline at end of file diff --git a/unmaintained/roundcubemail/roundcubemail.pre-install b/unmaintained/roundcubemail/roundcubemail.pre-install deleted file mode 100644 index 49f4ee008d2..00000000000 --- a/unmaintained/roundcubemail/roundcubemail.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S roundcube 2>/dev/null -adduser -S -D -H -h /var/tmp/roundcube -s /sbin/nologin -G roundcube -g roundcubemail roundcube 2>/dev/null - -exit 0 diff --git a/unmaintained/rrdbot/APKBUILD b/unmaintained/rrdbot/APKBUILD deleted file mode 100644 index 61f95ecf9ec..00000000000 --- a/unmaintained/rrdbot/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=rrdbot -pkgver=0.9.7 -pkgrel=2 -pkgdesc="An SNMP polling daemon which writes the polled values to an RRD database" -url="http://thewalter.net/stef/software/rrdbot/" -arch="" -license="BSD" -depends="" -makedepends="rrdtool-dev" -install="$pkgname.pre-install $pkgname.post-install" -subpackages="$pkgname-doc" -source="http://thewalter.net/stef/software/rrdbot/rrdbot-$pkgver.tar.gz - rrdbotd.initd - rrdbotd.confd - " - -# append extra dependencies to -dev subpackage -# remove if not used. -# depends_dev="somepackage-dev" - -builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - default_prepare || return 1 - update_config_guess || return 1 -} - -build() { - cd "$builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir"/rrdbotd.initd \ - "$pkgdir"/etc/init.d/rrdbotd || return 1 - install -m644 -D "$srcdir"/rrdbotd.confd \ - "$pkgdir"/etc/conf.d/rrdbotd || return 1 -} - diff --git a/unmaintained/rrdbot/rrdbot.post-install b/unmaintained/rrdbot/rrdbot.post-install deleted file mode 100644 index 0586fcd5c52..00000000000 --- a/unmaintained/rrdbot/rrdbot.post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# add something which happends after install - diff --git a/unmaintained/rrdbot/rrdbot.pre-install b/unmaintained/rrdbot/rrdbot.pre-install deleted file mode 100644 index 4394576a24e..00000000000 --- a/unmaintained/rrdbot/rrdbot.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S rrdbotd 2>/dev/null -adduser -S -D -H -s /bin/false -G rrdbotd -g rrdbotd rrdbotd 2>/dev/null - -exit 0 diff --git a/unmaintained/rrdbot/rrdbotd.confd b/unmaintained/rrdbot/rrdbotd.confd deleted file mode 100644 index 486252b03c7..00000000000 --- a/unmaintained/rrdbot/rrdbotd.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Sample conf.d file for alpine linux - -# -# Specify daemon options here. -# - -sample_opts="" diff --git a/unmaintained/rrdbot/rrdbotd.initd b/unmaintained/rrdbot/rrdbotd.initd deleted file mode 100644 index 5fae6e8ddab..00000000000 --- a/unmaintained/rrdbot/rrdbotd.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/runscript - -name=rrdbotd -daemon=/usr/sbin/$name -pidfile=${rrdbotd_pidfile:-/var/run/rrdbotd/rrdbotd.pid} - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${name}" - start-stop-daemon --start --quiet \ - --pidfile "$pidfile" \ - --user ${rrdbotd_user:-rrdbotd}:${rrdbotd_group:-rrdbotd} \ - --exec ${daemon} -- ${rrdbotd_opts} -p "$pidfile" - eend $? -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet \ - --pidfile "$pidfile" \ - --exec ${daemon} - eend $? -} - diff --git a/unmaintained/s6-overlay-preinit/APKBUILD b/unmaintained/s6-overlay-preinit/APKBUILD deleted file mode 100644 index 70133be6715..00000000000 --- a/unmaintained/s6-overlay-preinit/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Dermot Bradley <dermot_bradley@yahoo.com> -# Maintainer: Dermot Bradley <dermot_bradley@yahoo.com> -pkgname=s6-overlay-preinit -pkgver=1.0.5 -pkgrel=0 -pkgdesc="used by s6 overlay to initialise non-root containers" -url="https://github.com/just-containers/s6-overlay-preinit/" -arch="all" -license="ISC" -makedepends="skalibs-dev" -options="!check suid" # No tests provided. Requires SUID. -source="$pkgname-$pkgver.tar.gz::https://github.com/just-containers/s6-overlay-preinit/archive/v$pkgver.tar.gz" - -build() { - ./configure \ - --enable-shared \ - --disable-allstatic \ - --with-sysdeps=/usr/lib/skalibs/sysdeps \ - --prefix=/ - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="3f97e5933a16b9bbc93568bd04ca9bab0ecb6da64e7cb97b15178713321f6be20b7bc6bae7e83b3468df986a6fa91cef9606d91bb331905da98cb4edd3b4604b s6-overlay-preinit-1.0.5.tar.gz" diff --git a/unmaintained/schroot/APKBUILD b/unmaintained/schroot/APKBUILD deleted file mode 100644 index 357d3f6bf37..00000000000 --- a/unmaintained/schroot/APKBUILD +++ /dev/null @@ -1,72 +0,0 @@ -# Contributor: Danct12 <danct12@disroot.org> -# Maintainer: Danct12 <danct12@disroot.org> -pkgname=schroot -pkgver=1.6.10 -pkgrel=7 -pkgdesc="Allows users to execute shell commands under different root filesystems. (Successor to dchroot)." -url="https://packages.qa.debian.org/s/schroot.html" -arch="all" -license="GPL-3.0-or-later" -makedepends="autoconf automake boost-dev coreutils cppunit-dev groff gettext-dev libtool" -subpackages="$pkgname-bash-completion $pkgname-dev $pkgname-doc $pkgname-lang" -source=" - https://deb.debian.org/debian/pool/main/s/schroot/schroot_$pkgver.orig.tar.xz - https://deb.debian.org/debian/pool/main/s/schroot/schroot_$pkgver-3+deb9u1.debian.tar.xz - busybox-compat.patch - getent.patch - getmntent.patch - musl.patch - pam.d.schroot.patch - remove-networks.patch - schroot-cppunit.patch - " -options="suid !check" # failing testsuite (20 out of 23 passed) - -prepare() { - default_prepare - - # shellcheck disable=SC2002 - cat "$srcdir"/debian/patches/series | while read -r p; do - patch -p1 -i "$srcdir"/debian/patches/"$p" - done - - # invalid sbuild_version - sed -i "s/@sbuild_version@/$pkgver/g" sbuild/sbuild.pc.in - - ./bootstrap -} - -build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --enable-dchroot \ - --enable-lvm-snapshot \ - --enable-btrfs-snapshot \ - --with-bash-completion-dir=/usr/share/bash-completion/completions/ \ - BTRFS=/sbin/btrfs \ - BTRFSCTL=/sbin/btrfsctl \ - LVCREATE=/sbin/lvcreate \ - LVREMOVE=/sbin/lvremove - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums=" -25155989c7811ab4c7bf3cdceaa8d0ffb12f08388143891def96fcd205f1cc401dad9a74f0e9a9ef8610d50174ff8319a8368401431dc87e1a11c0241e61fcbe schroot_1.6.10.orig.tar.xz -5e6e3e0438151f4ce9a2a9a31c3a814091665efd17cbb050a4374d57d0f7eaf562182e2d075a014969d8a299d6b223c833267b5d7827802927cf7f317ffe54bc schroot_1.6.10-3+deb9u1.debian.tar.xz -26fd02d3daf3a840685a1f58ffe95ecfa0405e8598eaf85484342a609d13f2c70b7393704cde5f1d85581b73269db2769ccb1d3a4744b05ed5e6675edf1f958d busybox-compat.patch -fa37b263a59e170734bdfbb046259632baf71b809602f52d532cb3c7ea8c1b45384ebc335233fb983ee0f17e823f157dfb65e56fb511f73f4b261bcfe4fcca6f getent.patch -21023b63665c6ab3993e8142e684b3d6086b35a15287db806a13013f5df3943383d8bb6063bc73a98d8cc548601ef89ad780e1e3a00b1bca3d239a4b217828e8 getmntent.patch -c8a87b5d03adcd13bd103a3044da84782ac11eb0d38e1a3267ea41862f5de86c03442289074d0964a861c1bc09222fc2ca60efbe8818338fb4e0583e81a22ec8 musl.patch -dcdbcb91e7960434ce2d7dc7eeea5b3bae65fa5800221c5cb6ffaf9aaaa45f9c2e0cdfdfe130de035095b2493364f1574dca73421043873adf65533f19791b8f pam.d.schroot.patch -82542ed4db7f3e00d5531fb3af799f70502d3464db4182a128940db80675bf9b45b2e65a71c891b3b1ee6a6f8dff81c82b844ca65507f076cc54a293003e7088 remove-networks.patch -229b0be8f45099af122139511bf8137ec01074df0865e33097e8baa80002a22b2e82ce338fb62a2b50ff33c0539242798f35dd9fc5438d3ea06aefc1d94663dd schroot-cppunit.patch -" diff --git a/unmaintained/schroot/busybox-compat.patch b/unmaintained/schroot/busybox-compat.patch deleted file mode 100644 index 98c0dc2d76f..00000000000 --- a/unmaintained/schroot/busybox-compat.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff --git a/etc/profile-templates/all/all/nssdatabases b/etc/profile-templates/all/all/nssdatabases -index 42fa310..815ddce 100644 ---- a/etc/profile-templates/all/all/nssdatabases -+++ b/etc/profile-templates/all/all/nssdatabases -@@ -4,4 +4,3 @@ - passwd - shadow - group --gshadow -diff --git a/etc/profile-templates/buildd/all/nssdatabases b/etc/profile-templates/buildd/all/nssdatabases -index 42fa310..815ddce 100644 ---- a/etc/profile-templates/buildd/all/nssdatabases -+++ b/etc/profile-templates/buildd/all/nssdatabases -@@ -4,4 +4,3 @@ - passwd - shadow - group --gshadow -diff --git a/etc/setup.d/20copyfiles b/etc/setup.d/20copyfiles -index 2c01af9..e427d35 100755 ---- a/etc/setup.d/20copyfiles -+++ b/etc/setup.d/20copyfiles -@@ -39,9 +39,9 @@ copy_file() - if [ -e "$2" ]; then - - # Device and inode -- da=$(/usr/bin/stat --format="%d %i" "$1") -+ da=$(/bin/stat -c "%d %i" "$1") - # This one can fail since it might not exist yet -- db=$(/usr/bin/stat --format="%d %i" "$2" 2>/dev/null || :) -+ db=$(/bin/stat -c "%d %i" "$2" 2>/dev/null || :) - - if [ "$da" = "$db" ]; then - COPY="false" -diff --git a/etc/setup.d/20nssdatabases b/etc/setup.d/20nssdatabases -index 6ea83c0..3f4019c 100755 ---- a/etc/setup.d/20nssdatabases -+++ b/etc/setup.d/20nssdatabases -@@ -42,9 +42,9 @@ if [ $STAGE = "setup-start" ] || [ $STAGE = "setup-recover" ]; then - fi - - # Device and inode -- dr=$(/usr/bin/stat --format="%d %i" "/etc/$db") -+ dr=$(/bin/stat -c "%d %i" "/etc/$db") - # This one can fail since it might not exist yet -- dc=$(/usr/bin/stat --format="%d %i" "${CHROOT_PATH}/etc/$db" 2>/dev/null || :) -+ dc=$(/bin/stat -c "%d %i" "${CHROOT_PATH}/etc/$db" 2>/dev/null || :) - - # If the database inside and outside the chroot is the - # same, it's very likely that dup_nss would blank the diff --git a/unmaintained/schroot/getent.patch b/unmaintained/schroot/getent.patch deleted file mode 100644 index b89e63c1d49..00000000000 --- a/unmaintained/schroot/getent.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 6ffdd152d3fb07921c02e739ce5b47d1e177e7e6 Mon Sep 17 00:00:00 2001 -From: Andrea Brancaleoni <miwaxe@gmail.com> -Date: Mon, 24 Aug 2015 18:39:16 +0200 -Subject: [PATCH] getent - ---- - etc/setup.d/20nssdatabases | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git etc/setup.d/20nssdatabases etc/setup.d/20nssdatabases -index 6f14c81..697bb1e 100755 ---- a/etc/setup.d/20nssdatabases -+++ b/etc/setup.d/20nssdatabases -@@ -29,7 +29,7 @@ set -e - dup_nss() - { - info "Copying $1 database to $2" -- getent "$1" > "$2" -+ getent "$1" > "$2" 2>/dev/null || cat "/etc/$1" > "$2" - } - - if [ $STAGE = "setup-start" ] || [ $STAGE = "setup-recover" ]; then --- -2.5.0 - diff --git a/unmaintained/schroot/getmntent.patch b/unmaintained/schroot/getmntent.patch deleted file mode 100644 index 8453bfb3a30..00000000000 --- a/unmaintained/schroot/getmntent.patch +++ /dev/null @@ -1,60 +0,0 @@ -From db62a534ebcf60391d9e0acffa641e60dfba18fb Mon Sep 17 00:00:00 2001 -From: Andrea Brancaleoni <abc@pompel.me> -Date: Wed, 19 Sep 2018 10:36:36 +0200 -Subject: [PATCH] getmntent fix - ---- - sbuild/sbuild-mntstream.cc | 15 ++------------- - sbuild/sbuild-mntstream.h | 3 +-- - 2 files changed, 3 insertions(+), 15 deletions(-) - -diff --git sbuild/sbuild-mntstream.cc sbuild/sbuild-mntstream.cc -index d376fe5..d7324e7 100644 ---- a/sbuild/sbuild-mntstream.cc -+++ b/sbuild/sbuild-mntstream.cc -@@ -37,9 +37,7 @@ namespace - emap init_errors[] = - { - // TRANSLATORS: %1% = mount file name -- emap(mntstream::MNT_OPEN, N_("Failed to open mount file ‘%1%’")), -- // TRANSLATORS: %1% = mount file name -- emap(mntstream::MNT_READ, N_("Failed to read mount file ‘%1%’")) -+ emap(mntstream::MNT_OPEN, N_("Failed to open mount file ‘%1%’")) - }; - - } -@@ -109,16 +107,7 @@ mntstream::read(int quantity) - errno = 0; - entry = getmntent(mntfile); - -- if (entry == 0) // EOF or error -- { -- //std::cerr << "Mount file read error: "; -- if (errno) // error -- { -- this->error_status = true; -- throw error(this->file, MNT_READ, strerror(errno)); -- } -- return; -- } -+ if (entry == 0) return; - - mntentry newentry(*entry); // make a mntentry - this->data.push_back(newentry); // push onto the end of the list -diff --git sbuild/sbuild-mntstream.h sbuild/sbuild-mntstream.h -index ea3d179..fffcdf4 100644 ---- a/sbuild/sbuild-mntstream.h -+++ b/sbuild/sbuild-mntstream.h -@@ -49,8 +49,7 @@ namespace sbuild - /// Error codes. - enum error_code - { -- MNT_OPEN, ///< Failed to open mount file. -- MNT_READ ///< Failed to read mount file. -+ MNT_OPEN ///< Failed to open mount file. - }; - - /// Exception type. --- -2.19.0 - diff --git a/unmaintained/schroot/musl.patch b/unmaintained/schroot/musl.patch deleted file mode 100644 index 8e27ad7e4cc..00000000000 --- a/unmaintained/schroot/musl.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 73936a423227aa78b7682bdd3edc20643763807b Mon Sep 17 00:00:00 2001 -From: Andrea Brancaleoni <abc@pompel.me> -Date: Wed, 19 Sep 2018 11:22:47 +0200 -Subject: [PATCH] musl - ---- - sbuild/sbuild-feature.cc | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git sbuild/sbuild-feature.cc sbuild/sbuild-feature.cc -index 5ac4725..9902db3 100644 ---- a/sbuild/sbuild-feature.cc -+++ b/sbuild/sbuild-feature.cc -@@ -20,6 +20,8 @@ - - #include <iostream> - -+#include <libintl.h> -+ - #include "sbuild-feature.h" - - using namespace sbuild; --- -2.19.0 - -diff --git a/sbuild/Makefile.am b/sbuild/Makefile.am -index 03b5c7b..afa7638 100644 ---- a/sbuild/Makefile.am -+++ b/sbuild/Makefile.am -@@ -222,7 +222,7 @@ pkgconfigdata_DATA = sbuild.pc - # Uncomment to build a versioned library - libsbuild_version = -version-info $(SBUILD_CURRENT_INTERFACE):$(SBUILD_INTERFACE_AGE):$(SBUILD_BINARY_AGE) - libsbuild_la_LDFLAGS = $(libsbuild_version) \ -- -rpath $(libdir) -no-undefined -+ -rpath $(libdir) -no-undefined -lintl - - EXTRA_DIST = \ - CMakeLists.txt \ -diff --git a/test/Makefile.in b/test/Makefile.in -index ce78448..efbc287 100644 ---- a/test/Makefile.in -+++ b/test/Makefile.in -@@ -334,7 +334,7 @@ am__v_CC_1 = - CCLD = $(CC) - LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ -- $(AM_LDFLAGS) $(LDFLAGS) -o $@ -+ $(AM_LDFLAGS) $(LDFLAGS) -lcppunit -o $@ - AM_V_CCLD = $(am__v_CCLD_@AM_V@) - am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) - am__v_CCLD_0 = @echo " CCLD " $@; diff --git a/unmaintained/schroot/pam.d.schroot.patch b/unmaintained/schroot/pam.d.schroot.patch deleted file mode 100644 index ec63323b0b6..00000000000 --- a/unmaintained/schroot/pam.d.schroot.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/etc/pam/schroot -+++ b/etc/pam/schroot -@@ -23,13 +23,9 @@ - # time restrainst on schroot usage. - # account requisite pam_time.so - --# The standard Unix authentication modules, used with --# NIS (man nsswitch) as well as normal /etc/passwd and --# /etc/shadow entries. --@include common-auth --@include common-account --@include common-session -- -+account required pam_unix.so -+session required pam_unix.so -+ - # Sets up user limits, please uncomment and read /etc/security/limits.conf - # to enable this functionality. - # session required pam_limits.so - diff --git a/unmaintained/schroot/remove-networks.patch b/unmaintained/schroot/remove-networks.patch deleted file mode 100644 index 75066693480..00000000000 --- a/unmaintained/schroot/remove-networks.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e59bc1b6c6535ec8ab8a57004351718ab2677196 Mon Sep 17 00:00:00 2001 -From: Andrea Brancaleoni <abc@pompel.me> -Date: Wed, 19 Sep 2018 12:36:41 +0200 -Subject: [PATCH] remove networks - ---- - etc/profile-templates/buildd/all/copyfiles | 1 - - etc/profile-templates/default/all/nssdatabases | 1 - - etc/profile-templates/desktop/all/nssdatabases | 1 - - 3 files changed, 3 deletions(-) - -diff --git etc/profile-templates/buildd/all/copyfiles etc/profile-templates/buildd/all/copyfiles -index fe18fb3..2469d3e 100644 ---- a/etc/profile-templates/buildd/all/copyfiles -+++ b/etc/profile-templates/buildd/all/copyfiles -@@ -3,4 +3,3 @@ - # <source and destination> - /etc/hosts - /etc/resolv.conf --/etc/networks -diff --git etc/profile-templates/default/all/nssdatabases etc/profile-templates/default/all/nssdatabases -index a9f1319..22efe1b 100644 ---- a/etc/profile-templates/default/all/nssdatabases -+++ b/etc/profile-templates/default/all/nssdatabases -@@ -1,4 +1,3 @@ - services - protocols --networks - hosts -diff --git etc/profile-templates/desktop/all/nssdatabases etc/profile-templates/desktop/all/nssdatabases -index a9f1319..22efe1b 100644 ---- a/etc/profile-templates/desktop/all/nssdatabases -+++ b/etc/profile-templates/desktop/all/nssdatabases -@@ -1,4 +1,3 @@ - services - protocols --networks - hosts --- -2.19.0 - diff --git a/unmaintained/schroot/schroot-cppunit.patch b/unmaintained/schroot/schroot-cppunit.patch deleted file mode 100644 index 3e11c73fd40..00000000000 --- a/unmaintained/schroot/schroot-cppunit.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/configure.ac 2017-05-20 09:50:30.146864516 +0000 -+++ b/configure.ac 2017-05-20 09:51:26.216792794 +0000 -@@ -336,7 +336,7 @@ - [HAVE_UUID=yes], - [HAVE_UUID=no]) - --AM_PATH_CPPUNIT([1.10.0], [HAVE_CPPUNIT=yes]) -+PKG_CHECK_MODULES([CPPUNIT], [cppunit], [HAVE_CPPUNIT=yes], [HAVE_CPPUNIT=no]) - AM_CONDITIONAL([USE_UNIT_TESTS], [test -n "$HAVE_CPPUNIT"]) - - SCHROOT_CFLAGS="$UUID_CFLAGS" diff --git a/unmaintained/sdfat/APKBUILD b/unmaintained/sdfat/APKBUILD deleted file mode 100644 index 4af88180798..00000000000 --- a/unmaintained/sdfat/APKBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Maintainer: TBK <alpine@jjtc.eu> -# Contributor: TBK <alpine@jjtc.eu> - -# when changing _ver we *must* bump _rel -_name=sdfat -_ver=2.1.8.2 -_rel=0 - -_flavor=${FLAVOR:-vanilla} -_kpkg=linux-$_flavor -_kver=4.19.90 -_krel=0 - -_kpkgver="$_kver-r$_krel" -_kabi="$_kver-$_krel-$_flavor" - -pkgname=$_name-$_flavor -pkgver=$_kver -pkgrel=$(( _krel + _rel )) - -pkgdesc="FAT12/16/32(VFAT)/64(exFAT) filesytems kernel module" -url="https://github.com/TBK/kernel-sdfat" -arch="" -license="GPL-2.0-or-later" -options="!check" # no test suite -depends="$_kpkg=$_kpkgver util-linux" -makedepends="$_kpkg-dev=$_kpkgver linux-headers" -install_if="$_kpkg=$_kpkgver $_name" -source="$_name-$_ver.tar.gz::https://github.com/TBK/kernel-sdfat/archive/$_ver.tar.gz - mount.exfat - " -builddir="$srcdir/kernel-$_name-$_ver" - -prepare() { - default_prepare - local _kapkbuild=../../main/linux-$_flavor/APKBUILD - if [ -f $_kapkbuild ]; then - ( . $_kapkbuild - pkgname="$_name-$_flavor" - [ "$_kver" != "$pkgver" ] && die "please update _kver to $pkgver" - [ "$_krel" != "$pkgrel" ] && die "please update _krel to $pkgrel" - return 0 - ) - fi -} - -build() { - unset LDFLAGS - make CONFIG_SDFAT_FS=m CONFIG_USE_FOR_EXFAT=y CONFIG_USE_FOR_VFAT=y KERNELDIR=/lib/modules/$_kabi/build -} - -package() { - local module="" - for module in *.ko; do - install -v -D -m644 ${module} \ - "$pkgdir/lib/modules/$_kabi/fs/${module}" - done - - install -Dm0755 "$srcdir"/mount.exfat "$pkgdir/sbin/mount.exfat" -} - -sha512sums="566050709952aae35d5e68e88231573ead2f6e5c883bff5dce0055a8df9e91318794cd2938b49c51e250e4e5c61083195ce851ccb7f7537317912e1246ea5a83 sdfat-2.1.8.2.tar.gz -85c54950e69e342221343b8b542fda47f80b9a7104e1097a7f1c9a09f69758ef8881c238d2740f3a21aa2b5cdcb3b9b8224c731ec2e39fa4632f56c2df85bc84 mount.exfat" diff --git a/unmaintained/sdfat/mount.exfat b/unmaintained/sdfat/mount.exfat deleted file mode 100644 index 93501a4c23f..00000000000 --- a/unmaintained/sdfat/mount.exfat +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -mount -t sdfat "$@" diff --git a/unmaintained/seahub/APKBUILD b/unmaintained/seahub/APKBUILD deleted file mode 100644 index 74119b4fb16..00000000000 --- a/unmaintained/seahub/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: <xmingske@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=seahub -pkgver=4.0.1 -pkgrel=1 -pkgdesc="web frontend for Seafile" -url="https://github.com/haiwen/seahub/" -arch="" -license="Apache" -depends="bash py-dateutil py-mako py-simplejson py-pillow py-pip py-virtualenv py-six - python2 py-django1.5 py-gunicorn py-chardet py-django-djblets py-ccnet py-libsearpc - py-django-simple-captcha py-django-registration py-flup py-seafile seafile-server" -source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/seahub/archive/v${pkgver}-server.tar.gz - seahub.confd seahub.initd" -install="seahub.post-install" - -_builddir="${srcdir}/${pkgname}-${pkgver}-server" - -prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} - -build() { - echo -} - -package() { - cd "${_builddir}" - mkdir -m 755 -p "${pkgdir}"/usr/share/seahub || return 1 - cp -ar "${_builddir}"/* "${pkgdir}"/usr/share/seahub - install -D -m0644 "${srcdir}"/seahub.confd "${pkgdir}"/etc/conf.d/seahub \ - || return 1 - install -D -m0755 "${srcdir}"/seahub.initd "${pkgdir}"/etc/init.d/seahub \ - || return 1 -} -md5sums="93e8755aec1cd7d028538e04683f30e7 seahub-4.0.1.tar.gz -e1ed5467cd78159fb7e73e2d2d925a8e seahub.confd -1a1777dd469cbbc6773b2c31e265cb37 seahub.initd" -sha256sums="7429751f1b47dbaf6ecc5b8cb32f00b85c817f536b34b923fb47cc046559c6d3 seahub-4.0.1.tar.gz -8b0e8bf45d278bbf32f4dca4a402f2584a87e46adee2e24732804acebd1c2cff seahub.confd -2da114c938efa349f7762466d5cffc26393262968db5194cd469c2fd79077396 seahub.initd" -sha512sums="85c793893dcada7b0600abdc4ab6c0fcc7ee978d8828af1cd7dc6a711c30c45e9b217c906de282b7d901923f582882361a2ac2f39ed6d49c8d8c5b6816dfc14e seahub-4.0.1.tar.gz -d55dbd3e59ae48a930cbcb42ec840689a17f6cb1cb16f6d0d155e646b24accb8a5e5c1f59f549f66941bb21475b2c6ce55a3bb014d016bfeddea13602984c2a6 seahub.confd -71445244d966d5770618c2b4b003959ae135e737657d7b7cb79b2def8787655d0a50f8a7fdb1fee64108e51410e99d1a52144c707c2247bc7ffd8d422c5c7f4c seahub.initd" diff --git a/unmaintained/seahub/seahub.confd b/unmaintained/seahub/seahub.confd deleted file mode 100644 index a72045dc1ea..00000000000 --- a/unmaintained/seahub/seahub.confd +++ /dev/null @@ -1,7 +0,0 @@ -instance="default" - -seafile_user="seafile" -seafile_group="seafile" - -# to run seahub in fcgi mode uncomment the following line -#seafile_opts="--fastcgi --port 8500" diff --git a/unmaintained/seahub/seahub.initd b/unmaintained/seahub/seahub.initd deleted file mode 100644 index faee878e3b6..00000000000 --- a/unmaintained/seahub/seahub.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run - -export SEAHUB_LOG_DIR=/var/lib/seafile/$instance/logs - -depend() { - need net -} - -start() { - ebegin "Starting Seafile $instance instance" - start-stop-daemon --chdir /var/lib/seafile/$instance --user $seafile_user \ - --group $seafile_group /usr/bin/seafile-admin start -} - -stop() { - ebegin "Stopping Seafile $instance instance" - start-stop-daemon --chdir /var/lib/seafile/$instance /usr/bin/seafile-admin \ - stop -} diff --git a/unmaintained/seahub/seahub.post-install b/unmaintained/seahub/seahub.post-install deleted file mode 100644 index 262e8be8fe4..00000000000 --- a/unmaintained/seahub/seahub.post-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -SEAFILE_HOME=/var/lib/seafile -SEAFILE_DEFAULT=$SEAFILE_HOME/default - -if [[ ! -h $SEAFILE_DEFAULT/seafile-server/seahub ]]; then - su seafile -c "mkdir -m 755 -p $SEAFILE_DEFAULT/seafile-server" 2>/dev/null - su seafile -c "cp -R /usr/share/seahub $SEAFILE_DEFAULT/seafile-server" 2>/dev/null -fi
\ No newline at end of file diff --git a/unmaintained/seamonkey/APKBUILD b/unmaintained/seamonkey/APKBUILD deleted file mode 100644 index ef8faba620f..00000000000 --- a/unmaintained/seamonkey/APKBUILD +++ /dev/null @@ -1,89 +0,0 @@ -# Contributor: Marc Vertes <mvertes@free.fr> -# Maintainer: Marc Vertes <mvertes@free.fr> -pkgname=seamonkey -pkgver=2.49.5 -pkgrel=4 -pkgdesc="all-in-one internet application suite" -url="https://www.seamonkey-project.org/" -arch="x86_64 x86" -license="GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND MPL-2.0" -makedepends="unzip zip gtk+3.0-dev gtk+2.0-dev yasm alsa-lib-dev libxt-dev linux-headers - hunspell-dev nspr-dev nss-dev jpeg-dev bzip2-dev zlib-dev libpng-dev - libevent-dev libvpx-dev sqlite-dev libffi-dev pixman-dev python2-dev - icu-dev m4 libxcomposite-dev autoconf2.13 nss-static - !firefox - " -source="https://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/$pkgver/source/seamonkey-$pkgver.source.tar.xz - mozconfig - fix-aouth.patch - fix-crmf.patch - fix-hunspell.patch - fix-i686-musl.patch - fix-libevent.patch - fix-libgen.patch - fix-linux-syscall.patch - fix-mallinfo.patch - fix-platform-linux.patch - fix-siginfo_t.patch - fix-stabs.patch - fix-sysctl.patch - fix-system-headers.patch - firefox-gcc-6.0.patch - avoid-getcontext-musl.patch - discard-x86-precision-musl.patch - " -options="!check" - -build() { - cp ../../mozconfig .mozconfig - export MOZ_MAKE_FLAGS="$MAKEFLAGS" - export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" - export SHELL="/bin/ash" - unset MAKEFLAGS CPPFLAGS - - # Disable some optimizations in gcc6 (rhbz#1328045) - CFLAGS="$CFLAGS -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -D_FILE_OFFSET_BITS=64" - CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -D_FILE_OFFSET_BITS=64" - - make -f client.mk build -} - -package() { - make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install - - rm -rf "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries" \ - "$pkgdir/usr/lib/seamonkey-$pkgver/hypenation" - ln -s /usr/share/hunspell \ - "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries" - ln -s /usr/share/hyphen \ - "$pkgdir/usr/lib/seamonkey-$pkgver/hyphenation" - install -Dm644 suite/branding/nightly/icons/gtk/seamonkey.png \ - "$pkgdir/usr/share/pixmaps/seamonkey.png" - install -Dm644 mozilla/toolkit/mozapps/installer/linux/rpm/mozilla.desktop \ - "$pkgdir/usr/share/applications/seamonkey.desktop" - sed -i 's/@MOZ_APP_DISPLAYNAME@/SeaMonkey internet suite/' \ - "$pkgdir/usr/share/applications/seamonkey.desktop" - sed -i 's/@MOZ_APP_NAME@/seamonkey/' \ - "$pkgdir/usr/share/applications/seamonkey.desktop" - rm -f "$pkgdir/usr/lib/pkgconfig/seamonkey-nss.pc" - rm -f "$pkgdir/usr/lib/pkgconfig/seamonkey-nspr.pc" -} - -sha512sums="31309def1ad4276f13ecb343e936c7cade4b6850db88d9d84700f86bff7024b2b217b9e50fc3756b1d1beea483ceaa2a5a3afd053da00f6ac06e3795e9116789 seamonkey-2.49.5.source.tar.xz -88bd5980cee447ef6fe8c837b60e2ee15dd2737ba3905a443085317da91e4942654e3a2b56b9b67a25844883c9690f504a664255030951bfac6c227cabb79a11 mozconfig -c3b3b5a32f8672a42c051c03c31761414ce52c4a32258f1c7417af7de891e4b5f620ef2762034a18f84e5c7235559d920963aff0f28c2c1f4ae697a38d49b89c fix-aouth.patch -e0f8e06ac71e5b4defdee80915793848e618174a9ba538477247a479bc7341ae312c66945b7b206f5f22c576091555a67223d7189e95f7b08a20f26d5e9bd2fc fix-crmf.patch -ea58a2cf58e7d1d99a2346a6977fcb2acff8052e304f9f0d66e24241d77fe352610537c4d2a886b9085b970368dbe46e5011acc210bebcdf22a88a4b5be960b1 fix-hunspell.patch -ac6ad28654723f8ee56f6ddcf2dc2800ee217cd4946cc6b543242881aeaf3edc9f66664205fb6939cec9ce4a2cb2ead4758c0ce021858b672b297ba9295fa392 fix-i686-musl.patch -c2a83214cadc827dd6d37c635ea92ff0779849e55e524b831f1a82ca09dc985770212a81377c2519c3470d752e922fa360d6e49fdfc1f6e9ee581f30ad1885f1 fix-libevent.patch -f148a9212b9d1bf62ce99e3ea69233fcdd74ffb0948ab53d17ec417539b4f9533409b2e9c487e3789b76cdfca92da074b9ea0f82452f56f72eced9cfbcd078f1 fix-libgen.patch -fe377b6c0acbbb569f363cde2de8c640837237120bcbc3099cb9d9691f5b576cd76c531b0019e45385f696d7be60bb97141e39f2de742cb6d1a138fbcf217cc5 fix-linux-syscall.patch -fd6b68082843a17a97a09953f24f74e72090acbcd245e8564ffe41ed5cb0a7afbf3dfc653a6e33a5f0bb0218ec11430f92acedc0c98a32c17dd2a053c3eef855 fix-mallinfo.patch -25bb4f99a2d831a8604444a1071ca946c14b9fe416929660ce6f9d196b3cecbd84b8706a8a16f2653db0d722a8f033fac9dc2f295bf5b59e7f39024d89221d01 fix-platform-linux.patch -285e9330810b0f57ebba3d15cb371543840a7c6b8a2656d6d6b3ad7e8d2ec840b34bcb75b92c3747b5a1b42625fbde3a5d1bbec7052ce47fe5455e5076ec6268 fix-siginfo_t.patch -4a7fae85299969618d729021ed79ab312650419dd849800c4e93c2b78a063a91f4003e2ee66c74abefa28b881376cf78f52e99e5ae3c08b85ba11eeae73a5034 fix-stabs.patch -43e800bdb15a11c21f71d0552ae2e92ad97574eb324f7be75cc92ed98332201386f9c9846d3e5f27b4e71452ffac71ab5b82ffdc2091d6c4830b9cb792bbdde4 fix-sysctl.patch -d65900a74901d0455266342e4efbb655d67c62b52e69f482c33c3da3e24af900a3186f1398b88cccd9e822395480cd4ec4ce0d6053978003911457cacc36f767 fix-system-headers.patch -664983718ba4ed2588850f499cc7da94f2b35d384b6655b1e5ec118e45e8cbd108aa2b9e04cc4b902f4ddba2e1be2cffb056643e053761bfc6da92c942f30305 firefox-gcc-6.0.patch -c67d6df7ee04539abe126493c2fb61b1377b0cc6d84f660b36ed74e940b575a81830c9d50ce52a70df1ddd1747439b4cef31cbb1642545c176da1d82361fa7da avoid-getcontext-musl.patch -e6023a4c01204f716849045f1ad3958dd2c0a62540f2b738beda7945ebbe836aabe9017463452ef6cad4df1a53642f2e7a5750870bdfd67d8a4ef6fdae775166 discard-x86-precision-musl.patch" diff --git a/unmaintained/seamonkey/avoid-getcontext-musl.patch b/unmaintained/seamonkey/avoid-getcontext-musl.patch deleted file mode 100644 index 5887a7a7220..00000000000 --- a/unmaintained/seamonkey/avoid-getcontext-musl.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/mozilla/tools/profiler/core/platform-linux.cc -+++ b/mozilla/tools/profiler/core/platform-linux.cc -@@ -625,10 +625,10 @@ - { - MOZ_ASSERT(aContext); - ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext); -- if (!getcontext(pContext)) { -+ /*if (!getcontext(pContext)) { - context = pContext; - SetSampleContext(this, aContext); -- } -+ }*/ - } - - void OS::SleepMicro(int microseconds) diff --git a/unmaintained/seamonkey/discard-x86-precision-musl.patch b/unmaintained/seamonkey/discard-x86-precision-musl.patch deleted file mode 100644 index ef591177f2e..00000000000 --- a/unmaintained/seamonkey/discard-x86-precision-musl.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/mozilla/js/src/jsnum.cpp -+++ b/mozilla/js/src/jsnum.cpp -@@ -1120,7 +1120,7 @@ - void - js::FIX_FPU() - { --#if (defined __GNUC__ && defined __i386__) || \ -+#if (defined __GLIBC__ && defined __i386__) || \ - (defined __SUNPRO_CC && defined __i386) - short control; - asm("fstcw %0" : "=m" (control) : ); diff --git a/unmaintained/seamonkey/firefox-gcc-6.0.patch b/unmaintained/seamonkey/firefox-gcc-6.0.patch deleted file mode 100644 index 6b02e59dd83..00000000000 --- a/unmaintained/seamonkey/firefox-gcc-6.0.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -up ./mozilla/nsprpub/config/make-system-wrappers.pl.back firefox-44.0/nsprpub/config/make-system-wrappers.pl ---- ./mozilla/nsprpub/config/make-system-wrappers.pl.back 2016-01-24 00:23:49.000000000 +0100 -+++ ./mozilla/nsprpub/config/make-system-wrappers.pl 2016-02-02 14:58:45.064112655 +0100 -@@ -19,7 +19,9 @@ while (<STDIN>) { - open OUT, ">$output_dir/$_"; - print OUT "#pragma GCC system_header\n"; # suppress include_next warning - print OUT "#pragma GCC visibility push(default)\n"; -+ print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n"; - print OUT "#include_next \<$_\>\n"; -+ print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n"; - print OUT "#pragma GCC visibility pop\n"; - close OUT; - } -diff -up firefox-44.0/mozglue/build/arm.cpp.old firefox-44.0/mozglue/build/arm.cpp ---- ./mozilla/mozglue/build/arm.cpp.old 2016-02-03 10:07:29.879526500 +0100 -+++ ./mozilla/mozglue/build/arm.cpp 2016-02-03 10:08:11.062697517 +0100 -@@ -104,7 +104,9 @@ check_neon(void) - - # elif defined(__linux__) || defined(ANDROID) - # include <stdio.h> -+#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS - # include <stdlib.h> -+#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS - # include <string.h> - - enum{ diff --git a/unmaintained/seamonkey/fix-aouth.patch b/unmaintained/seamonkey/fix-aouth.patch deleted file mode 100644 index a79c18bccf5..00000000000 --- a/unmaintained/seamonkey/fix-aouth.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.h.orig -+++ seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.h -@@ -56,7 +56,7 @@ - #ifdef HAVE_MACH_O_NLIST_H - #include <mach-o/nlist.h> - #elif defined(HAVE_A_OUT_H) --#include <a.out.h> -+#include <linux/a.out.h> - #endif - - #include <string> diff --git a/unmaintained/seamonkey/fix-crmf.patch b/unmaintained/seamonkey/fix-crmf.patch deleted file mode 100644 index c4eda8ef3f6..00000000000 --- a/unmaintained/seamonkey/fix-crmf.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- seamonkey-2.49.5/mozilla/security/manager/ssl/moz.build.orig -+++ seamonkey-2.49.5/mozilla/security/manager/ssl/moz.build -@@ -184,10 +184,6 @@ - - DEFINES['CERT_AddTempCertToPerm'] = '__CERT_AddTempCertToPerm' - --USE_LIBS += [ -- 'crmf', --] -- - include('/ipc/chromium/chromium-config.mozbuild') - - if CONFIG['GNU_CXX']: diff --git a/unmaintained/seamonkey/fix-hunspell.patch b/unmaintained/seamonkey/fix-hunspell.patch deleted file mode 100644 index 9eb4284e597..00000000000 --- a/unmaintained/seamonkey/fix-hunspell.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- seamonkey-2.46/mozilla/extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h.orig -+++ seamonkey-2.46/mozilla/extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h -@@ -50,9 +50,9 @@ - #include "mozilla/mozalloc.h" - #include "mozHunspellAllocator.h" - --#define malloc(size) HunspellAllocator::CountingMalloc(size) --#define calloc(count, size) HunspellAllocator::CountingCalloc(count, size) --#define free(ptr) HunspellAllocator::CountingFree(ptr) --#define realloc(ptr, size) HunspellAllocator::CountingRealloc(ptr, size) -+//#define malloc(size) HunspellAllocator::CountingMalloc(size) -+//#define calloc(count, size) HunspellAllocator::CountingCalloc(count, size) -+//#define free(ptr) HunspellAllocator::CountingFree(ptr) -+//#define realloc(ptr, size) HunspellAllocator::CountingRealloc(ptr, size) - - #endif diff --git a/unmaintained/seamonkey/fix-i686-musl.patch b/unmaintained/seamonkey/fix-i686-musl.patch deleted file mode 100644 index a85727d9b9c..00000000000 --- a/unmaintained/seamonkey/fix-i686-musl.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/mozilla/mozglue/misc/StackWalk.cpp 2017-04-11 04:13:21.000000000 +0200 -+++ b/mozilla/mozglue/misc/StackWalk.cpp 2017-11-29 15:23:07.218649970 +0100 -@@ -41,7 +41,7 @@ - #define MOZ_STACKWALK_SUPPORTS_MACOSX 0 - #endif - --#if (defined(linux) && \ -+#if defined(__GLIBC__) && (defined(linux) && \ - ((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \ - defined(HAVE__UNWIND_BACKTRACE))) - #define MOZ_STACKWALK_SUPPORTS_LINUX 1 -@@ -911,7 +911,7 @@ - } - - // {x86, ppc} x {Linux, Mac} stackwalking code. --#if ((defined(__i386) || defined(PPC) || defined(__ppc__)) && \ -+#if defined(__GLIBC__) && ((defined(__i386) || defined(PPC) || defined(__ppc__)) && \ - (MOZ_STACKWALK_SUPPORTS_MACOSX || MOZ_STACKWALK_SUPPORTS_LINUX)) - - MFBT_API bool diff --git a/unmaintained/seamonkey/fix-libevent.patch b/unmaintained/seamonkey/fix-libevent.patch deleted file mode 100644 index 2d410237cd8..00000000000 --- a/unmaintained/seamonkey/fix-libevent.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- seamonkey-2.48/mozilla/ipc/chromium/src/base/message_pump_libevent.cc.orig -+++ seamonkey-2.48/mozilla/ipc/chromium/src/base/message_pump_libevent.cc -@@ -23,7 +23,7 @@ - // This macro checks that the _EVENT_SIZEOF_* constants defined in - // ipc/chromiume/src/third_party/<platform>/event2/event-config.h are correct. - #define CHECK_EVENT_SIZEOF(TYPE, type) \ -- static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \ -+ static_assert(EVENT__SIZEOF_##TYPE == sizeof(type), \ - "bad _EVENT_SIZEOF_"#TYPE); - - CHECK_EVENT_SIZEOF(LONG, long); diff --git a/unmaintained/seamonkey/fix-libgen.patch b/unmaintained/seamonkey/fix-libgen.patch deleted file mode 100644 index d0b03c5ff18..00000000000 --- a/unmaintained/seamonkey/fix-libgen.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- seamonkey-2.39/mozilla/tools/profiler/lul/LulElf.cpp.orig -+++ seamonkey-2.39/mozilla/tools/profiler/lul/LulElf.cpp -@@ -47,6 +47,7 @@ - - #include <errno.h> - #include <fcntl.h> -+#include <libgen.h> - #include <stdio.h> - #include <string.h> - #include <sys/mman.h> ---- seamonkey-2.39/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc.orig -+++ seamonkey-2.39/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc -@@ -38,6 +38,7 @@ - #include <elf.h> - #include <errno.h> - #include <fcntl.h> -+#include <libgen.h> - #include <link.h> - #include <stdio.h> - #include <stdlib.h> diff --git a/unmaintained/seamonkey/fix-linux-syscall.patch b/unmaintained/seamonkey/fix-linux-syscall.patch deleted file mode 100644 index 2a0f2c674a4..00000000000 --- a/unmaintained/seamonkey/fix-linux-syscall.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h.orig -+++ seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h -@@ -1506,6 +1506,13 @@ - /* End of powerpc defininitions */ - #endif - -+#ifndef __NR_pread -+#define __NR_pread __NR_pread64 -+#endif -+#ifndef __NR_pwrite -+#define __NR_pwrite __NR_pwrite64 -+#endif -+ - - /* After forking, we must make sure to only call system calls. */ - #if defined(__BOUNDED_POINTERS__) diff --git a/unmaintained/seamonkey/fix-mallinfo.patch b/unmaintained/seamonkey/fix-mallinfo.patch deleted file mode 100644 index 4f6d91f6484..00000000000 --- a/unmaintained/seamonkey/fix-mallinfo.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- seamonkey-2.40/mozilla/xpcom/base/nsMemoryReporterManager.cpp.orig -+++ seamonkey-2.40/mozilla/xpcom/base/nsMemoryReporterManager.cpp -@@ -176,6 +176,7 @@ - }; - NS_IMPL_ISUPPORTS(ResidentUniqueReporter, nsIMemoryReporter) - -+#ifdef __GLIBC__ - #define HAVE_SYSTEM_HEAP_REPORTER 1 - nsresult - SystemHeapSize(int64_t* aSizeOut) -@@ -195,6 +196,7 @@ - *aSizeOut = size_t(info.hblkhd) + size_t(info.uordblks); - return NS_OK; - } -+#endif - - #elif defined(__DragonFly__) || defined(__FreeBSD__) \ - || defined(__NetBSD__) || defined(__OpenBSD__) \ diff --git a/unmaintained/seamonkey/fix-platform-linux.patch b/unmaintained/seamonkey/fix-platform-linux.patch deleted file mode 100644 index f9e3192906f..00000000000 --- a/unmaintained/seamonkey/fix-platform-linux.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc.orig -+++ seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc -@@ -98,6 +98,10 @@ - - #define SIGNAL_SAVE_PROFILE SIGUSR2 - -+#ifndef gettid -+#define gettid() syscall(SYS_gettid) -+#endif -+ - using namespace mozilla; - - #if defined(USE_LUL_STACKWALK) diff --git a/unmaintained/seamonkey/fix-siginfo_t.patch b/unmaintained/seamonkey/fix-siginfo_t.patch deleted file mode 100644 index f0175b41dd8..00000000000 --- a/unmaintained/seamonkey/fix-siginfo_t.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- seamonkey-2.39/mozilla/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc.orig -+++ seamonkey-2.39/mozilla/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc -@@ -155,7 +155,7 @@ - // most versions of glibc don't include this information in siginfo_t. So, - // we need to explicitly copy it into a arch_sigsys structure. - struct arch_sigsys sigsys; -- memcpy(&sigsys, &info->_sifields, sizeof(sigsys)); -+ memcpy(&sigsys, &info->__si_fields, sizeof(sigsys)); - - #if defined(__mips__) - // When indirect syscall (syscall(__NR_foo, ...)) is made on Mips, the diff --git a/unmaintained/seamonkey/fix-stabs.patch b/unmaintained/seamonkey/fix-stabs.patch deleted file mode 100644 index f0b1ae67873..00000000000 --- a/unmaintained/seamonkey/fix-stabs.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- seamonkey-2.39/mozilla/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.cc.orig -+++ seamonkey-2.39/mozilla/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.cc -@@ -34,7 +34,15 @@ - #include "common/stabs_reader.h" - - #include <assert.h> --#include <stab.h> -+//#include <stab.h> -+//#define N_UNDF 0x0 -+#define N_FUN 0x24 -+#define N_SLINE 0x44 -+#define N_SO 0x64 -+#define N_LSYM 0x80 -+#define N_BINCL 0x82 -+#define N_SOL 0x84 -+ - #include <string.h> - - #include <string> diff --git a/unmaintained/seamonkey/fix-sysctl.patch b/unmaintained/seamonkey/fix-sysctl.patch deleted file mode 100644 index d4509509085..00000000000 --- a/unmaintained/seamonkey/fix-sysctl.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- seamonkey-2.39/mozilla/media/libav/libavutil/cpu.c.orig -+++ seamonkey-2.39/mozilla/media/libav/libavutil/cpu.c -@@ -36,7 +36,7 @@ - #include <sys/param.h> - #endif - #include <sys/types.h> --#include <sys/sysctl.h> -+#include <linux/sysctl.h> - #endif - #if HAVE_SYSCONF - #include <unistd.h> diff --git a/unmaintained/seamonkey/fix-system-headers.patch b/unmaintained/seamonkey/fix-system-headers.patch deleted file mode 100644 index d0ce6d273fb..00000000000 --- a/unmaintained/seamonkey/fix-system-headers.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- seamonkey-2.39/mozilla/config/system-headers.orig -+++ seamonkey-2.39/mozilla/config/system-headers -@@ -172,7 +172,7 @@ - android_audio/AudioSystem.h - #endif - ansi_parms.h --a.out.h -+linux/a.out.h - app/Cursor.h - Appearance.h - AppFileInfo.h -@@ -419,7 +419,6 @@ - extras.h - fabdef.h - fcntl.h --features.h - fibdef.h - File.h - filehdr.h -@@ -1062,7 +1061,7 @@ - sys/stat.h - sys/statvfs.h - sys/syscall.h --sys/sysctl.h -+linux/sysctl.h - sys/sysinfo.h - sys/sysmp.h - sys/syssgi.h diff --git a/unmaintained/seamonkey/mozconfig b/unmaintained/seamonkey/mozconfig deleted file mode 100644 index c587527705d..00000000000 --- a/unmaintained/seamonkey/mozconfig +++ /dev/null @@ -1,57 +0,0 @@ -ac_add_options --enable-application=suite - -ac_add_options --prefix=/usr -ac_add_options --libdir=/usr/lib - -# System libraries -ac_add_options --with-system-nspr -ac_add_options --with-system-nss -ac_add_options --with-system-jpeg -ac_add_options --with-system-zlib -ac_add_options --with-system-bz2 -ac_add_options --with-system-png -ac_add_options --with-system-libevent -ac_add_options --with-system-libvpx -ac_add_options --with-system-icu - -ac_add_options --enable-system-hunspell -ac_add_options --enable-system-sqlite -ac_add_options --enable-system-ffi -ac_add_options --enable-system-cairo -ac_add_options --with-pthreads -ac_add_options --enable-system-pixman - -# Features -ac_add_options --enable-default-toolkit=cairo-gtk3 -#ac_add_options --enable-startup-notification -ac_add_options --enable-safe-browsing -ac_add_options --enable-gio -#ac_add_options --disable-gstreamer -#ac_add_options --enable-optimize -ac_add_options --enable-optimize="$CFLAGS" -ac_add_options --enable-pie -ac_add_options --enable-strip -ac_add_options --enable-install-strip -ac_add_options --enable-official-branding -ac_add_options --enable-safe-browsing -ac_add_options --enable-url-classifier - -ac_add_options --disable-pulseaudio -ac_add_options --disable-gconf -ac_add_options --disable-elf-hack -ac_add_options --disable-crashreporter -ac_add_options --disable-updater -ac_add_options --disable-tests -ac_add_options --disable-necko-wifi -ac_add_options --disable-icf -ac_add_options --disable-dbus -ac_add_options --disable-gnomeui -ac_add_options --disable-jemalloc -ac_add_options --disable-debug -ac_add_options --disable-debug-symbols -ac_add_options --enable-release -ac_add_options --disable-gold - -export MOZILLA_OFFICIAL=1 -export BUILD_OFFICIAL=1 -export USE_SHORT_LIBNAME=1 diff --git a/unmaintained/searx/APKBUILD b/unmaintained/searx/APKBUILD deleted file mode 100644 index c43800ae343..00000000000 --- a/unmaintained/searx/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=searx -pkgver=0.17.0 -pkgrel=1 -pkgdesc="Privacy-respecting metasearch engine" -url="https://asciimoo.github.io/searx/" -arch="noarch" -license="AGPL-3.0" -depends="python3 py3-certifi py3-babel py3-flask py3-flask-babel py3-idna - py3-jinja2 py3-lxml py3-pygments py3-openssl py3-dateutil py3-yaml - py3-requests" -makedepends="py3-setuptools" -options="!check" # many missing deps, e.g. py3-splinter -source="https://github.com/asciimoo/searx/archive/v$pkgver/searx-$pkgver.tar.gz - relax-dependencies.patch - " - -prepare() { - default_prepare - - # Searx only searches in $PWD for these by default - sed \ - -e 's|static_path : ""|static_path : "/usr/lib/python3.8/site-packages/searx/static"|' \ - -e 's|templates_path : ""|templates_path : "/usr/lib/python3.8/site-packages/searx/templates"|' \ - -i searx/settings.yml -} - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" - # Move the config to /etc - mkdir -p "$pkgdir"/etc/searx - mv "$pkgdir"/usr/lib/python*/site-packages/searx/settings.yml "$pkgdir"/etc/searx -} - -sha512sums="d87dc559aa199ae61adcc22c5683ccd06ce9ce3a0d6cfb35d171ec8c5f0db8211ea9315dce0f0099338a137e862c8943d917b77077c8b0a00e081a443a4c0e5f searx-0.17.0.tar.gz -0431400383b2ab7b5a12c96a3e86f1dd385c5c906ded607005b1877443fb2a497f06766d795d7fbe2d0c131a42efcf270595fcecc61ced76860a902b9270c736 relax-dependencies.patch" diff --git a/unmaintained/searx/relax-dependencies.patch b/unmaintained/searx/relax-dependencies.patch deleted file mode 100644 index 9eb03719b7c..00000000000 --- a/unmaintained/searx/relax-dependencies.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/requirements.txt b/requirements.txt -index 5d508d7..f6b7f37 100644 ---- a/requirements.txt -+++ b/requirements.txt -@@ -1,12 +1,12 @@ --certifi==2020.4.5.1 --babel==2.7.0 --flask-babel==1.0.0 --flask==1.1.2 --idna==2.9 --jinja2==2.11.1 --lxml==4.5.0 --pygments==2.1.3 --pyopenssl==19.1.0 --python-dateutil==2.8.0 --pyyaml==5.3.1 --requests[socks]==2.23.0 -+certifi>=2020.4.5.1 -+babel>=2.7.0<3 -+flask-babel>=1.0.0<2 -+flask>=1.1.2<2 -+idna>=2.9<3 -+jinja2>=2.11.1<3 -+lxml>=4.5.0<5 -+pygments>=2.1.3<3 -+pyopenssl>=19.1.0<20 -+python-dateutil>=2.8.0<3 -+pyyaml>=5.3.1<6 -+requests[socks]>=2.23.0<3 diff --git a/unmaintained/secure-delete/APKBUILD b/unmaintained/secure-delete/APKBUILD deleted file mode 100644 index 824a1d65a72..00000000000 --- a/unmaintained/secure-delete/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Stuart Cardall <developer@it-offshore.co.uk> -# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> -pkgname=secure-delete -_pkgname=secure_delete -pkgver=3.1 -pkgrel=0 -pkgdesc="Secure file, disk, swap, memory erasure utilities" -url="https://www.thc.org/" -arch="all" -license="GPL" -subpackages="$pkgname-doc" -source="http://freeworld.thc.org/releases/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver - -build() { - cd "$_builddir" - sed -i -e 's/mktemp/mkstemp/g' sfill.c - sed -i -e "s/sswap smem sdel-mod.o/sswap smem/" -e '/test.*sdel-mod/d' \ - -e "s/^srm: /srm: sdel-lib.o /" -e "s/^sfill: /sfill: sdel-lib.o /" \ - -e "s/^sswap: /sswap: sdel-lib.o /" -e "s/^smem: /smem: sdel-lib.o /" \ - Makefile - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_DIR="${pkgdir}/usr/bin" \ - MAN_DIR="${pkgdir}/usr/share/man" \ - DOC_DIR="${pkgdir}/usr/share/doc/secure_delete" \ - install || return 1 - chmod a+r "$pkgdir/usr/bin"/* -} - -md5sums="aabbd7e77bf96b326d260f16fb7f8bba secure_delete-3.1.tar.gz" -sha256sums="a9d846d1dce3f1bdf13bbb306e8596bc1f263198a086f6beecd90ccf7bddf8d5 secure_delete-3.1.tar.gz" -sha512sums="9e7ae1458ffcce53fac23cf9b8df673d0754e6c3ff7791c445f2290dfa04f01fd2eda8b7c5d0045883159a32438783c380f770d7277ca77c9642c68e8f42dd07 secure_delete-3.1.tar.gz" diff --git a/unmaintained/simplesnap/0001-fix-simplesnap-line-2-dotlockfile-command-not-found.patch b/unmaintained/simplesnap/0001-fix-simplesnap-line-2-dotlockfile-command-not-found.patch deleted file mode 100644 index 2c2954ff7e9..00000000000 --- a/unmaintained/simplesnap/0001-fix-simplesnap-line-2-dotlockfile-command-not-found.patch +++ /dev/null @@ -1,66 +0,0 @@ -From f477a6895512c77eef3637581ab36ad8319a0204 Mon Sep 17 00:00:00 2001 -From: Henrik Riomar <henrik.riomar@gmail.com> -Date: Mon, 18 Jun 2018 19:15:54 +0200 -Subject: [PATCH] fix: simplesnap: line 2??: dotlockfile: command not found - -Closes: #12 ---- - simplesnap | 28 +++++++++------------------- - 1 file changed, 9 insertions(+), 19 deletions(-) - -diff --git a/simplesnap b/simplesnap -index 6d60885..63fc0c2 100755 ---- a/simplesnap -+++ b/simplesnap -@@ -149,15 +149,11 @@ done - SSHCMD="${SSHCMD:-ssh}" - WRAPCMD="${WRAPCMD:-simplesnapwrap}" - --DATE="gdate" --gdate &> /dev/null || [ $? -eq 127 ] && DATE="date" --SED="gsed" --gsed &> /dev/null || [ $? -eq 127 ] && SED="sed" --GREP="ggrep" --ggrep &> /dev/null || [ $? -eq 127 ] && GREP="grep" --HEAD="ghead" --ghead -h &> /dev/null || [ $? -eq 127 ] && HEAD="head" -- -+command -v gdate > /dev/null && DATE="gdate" || DATE="date" -+command -v gsed > /dev/null && SED="gsed" || SED="sed" -+command -v ggrep > /dev/null && GREP="ggrep" || GREP="grep" -+command -v ghead > /dev/null && HEAD="ghead" || HEAD="head" -+command -v dotlockfile > /dev/null && LOCKMETHOD="dotlockfile" || LOCKMETHOD="mkdir" - - # Validating - [ -n "$SSHCMD" ] || syntaxerror "Invalid SSH command: $SSHCMD" -@@ -244,23 +240,17 @@ fi - - LOCKFILE="${MOUNTPOINT}/${HOST}/.lock" - --if dotlockfile -r 0 -l -p "${LOCKFILE}"; then -- LOCKMETHOD="dotlockfile" -+if [ x"$LOCKMETHOD" = x"dotlockfile" ] && ${LOCKMETHOD} -r 0 -l -p "${LOCKFILE}" ; then - logit "Lock obtained at ${LOCKFILE} with dotlockfile" - trap "ECODE=$?; dotlockfile -u \"${LOCKFILE}\"; exit $ECODE" EXIT INT TERM --else -- RETVAL="$?" -- if [ "$RETVAL" = "127" ]; then -- LOCKMETHOD="mkdir" -- mkdir "${LOCKFILE}" || exiterror "Could not obtain lock at ${LOCKFILE}; if $0 is not already running, rmdir that path." -+elif [ x"$LOCKMETHOD" = x"mkdir" ]; then -+ ${LOCKMETHOD} "${LOCKFILE}" || exiterror "Could not obtain lock at ${LOCKFILE}; if $0 is not already running, rmdir that path." - logit "Lock obtained at ${LOCKFILE} with mkdir" - trap "ECODE=$?; rmdir \"${LOCKFILE}\"" EXIT INT TERM -- else -+else - exiterror "Could not obtain lock at ${LOCKFILE}; $0 likely already running." -- fi - fi - -- - reap () { - DATASET="$1" - # We always save the most recent. --- -2.17.1 - diff --git a/unmaintained/simplesnap/0002-trap-do-not-define-ECODE-at-setup.patch b/unmaintained/simplesnap/0002-trap-do-not-define-ECODE-at-setup.patch deleted file mode 100644 index d15735afa77..00000000000 --- a/unmaintained/simplesnap/0002-trap-do-not-define-ECODE-at-setup.patch +++ /dev/null @@ -1,41 +0,0 @@ -From cfa251c80c31ea9b3a2993ec204061cdd4c06ef4 Mon Sep 17 00:00:00 2001 -From: Henrik Riomar <henrik.riomar@gmail.com> -Date: Mon, 18 Jun 2018 19:26:30 +0200 -Subject: [PATCH] trap: do not define ECODE at setup - -We need to delay defining ECODE until we call the trap - -Before this change (set -x output): -+ trap 'ECODE=0; dotlockfile -u "/mypool2/simplesnap/storage01/.lock"; exit ' EXIT INT TERM - -After: -+ trap 'ECODE=$?; dotlockfile -u /mypool2/simplesnap/storage01/.lock; exit $ECODE' EXIT INT TERM ---- - simplesnap | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/simplesnap b/simplesnap -index 63fc0c2..fb9c4d2 100755 ---- a/simplesnap -+++ b/simplesnap -@@ -239,14 +239,15 @@ if [ ! -d "${MOUNTPOINT}/${HOST}" ]; then - fi - - LOCKFILE="${MOUNTPOINT}/${HOST}/.lock" -+printf -v EVAL_SAFE_LOCKFILE '%q' "$LOCKFILE" - - if [ x"$LOCKMETHOD" = x"dotlockfile" ] && ${LOCKMETHOD} -r 0 -l -p "${LOCKFILE}" ; then - logit "Lock obtained at ${LOCKFILE} with dotlockfile" -- trap "ECODE=$?; dotlockfile -u \"${LOCKFILE}\"; exit $ECODE" EXIT INT TERM -+ trap 'ECODE=$?; dotlockfile -u '"${EVAL_SAFE_LOCKFILE}"'; exit $ECODE' EXIT INT TERM - elif [ x"$LOCKMETHOD" = x"mkdir" ]; then - ${LOCKMETHOD} "${LOCKFILE}" || exiterror "Could not obtain lock at ${LOCKFILE}; if $0 is not already running, rmdir that path." - logit "Lock obtained at ${LOCKFILE} with mkdir" -- trap "ECODE=$?; rmdir \"${LOCKFILE}\"" EXIT INT TERM -+ trap 'ECODE=$?; rmdir '"${EVAL_SAFE_LOCKFILE}"'; exit $ECODE' EXIT INT TERM - else - exiterror "Could not obtain lock at ${LOCKFILE}; $0 likely already running." - fi --- -2.17.1 - diff --git a/unmaintained/simplesnap/0003-use-CHECKHOST-in-checkbackups-function.patch b/unmaintained/simplesnap/0003-use-CHECKHOST-in-checkbackups-function.patch deleted file mode 100644 index b1bd214c437..00000000000 --- a/unmaintained/simplesnap/0003-use-CHECKHOST-in-checkbackups-function.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 79dd4680928fdc999527123ebd6b3363ca705e4a Mon Sep 17 00:00:00 2001 -From: Henrik Riomar <henrik.riomar@gmail.com> -Date: Tue, 26 Jun 2018 07:57:58 +0200 -Subject: [PATCH] use CHECKHOST in checkbackups() function - -$CHECKHOST variable defined in checkbackups is unused, lets use it -instead of the global $HOST ---- - simplesnap | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/simplesnap b/simplesnap -index 63fc0c2..d9e1806 100755 ---- a/simplesnap -+++ b/simplesnap -@@ -192,11 +192,11 @@ runzfs () { - - checkbackups () { - CHECKHOST="$1" -- DATASETS="`runzfs list -t filesystem,volume -o name -H -r \"${STORE}/${HOST}\"`" -+ DATASETS="`runzfs list -t filesystem,volume -o name -H -r \"${STORE}/${CHECKHOST}\"`" - CUTOFF="`$DATE -d \"${CHECKMODE}\" +%s`" - for CHECKDS in ${DATASETS}; do - # Don't check the top-level host dataset itself. -- if [ "${CHECKDS}" = "${STORE}/${HOST}" ]; then -+ if [ "${CHECKDS}" = "${STORE}/${CHECKHOST}" ]; then - continue - fi - --- -2.17.1 - diff --git a/unmaintained/simplesnap/APKBUILD b/unmaintained/simplesnap/APKBUILD deleted file mode 100644 index d4b1c2dead2..00000000000 --- a/unmaintained/simplesnap/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Henrik Riomar <henrik.riomar@gmail.com> -# Maintainer: -pkgname=simplesnap -pkgver=1.0.4 -pkgrel=2 -pkgdesc="Simple and powerful network transmission of ZFS snapshots" -url="https://github.com/jgoerzen/simplesnap" -arch="noarch !armhf !armv7" # limited by zfs -license="GPL-3.0-or-later" -depends="bash coreutils liblockfile openssh-client zfs" -subpackages="$pkgname-doc" -options="!check" # no test suite -source="$pkgname-$pkgver.tar.gz::https://github.com/jgoerzen/simplesnap/archive/release/$pkgver.tar.gz - 0001-fix-simplesnap-line-2-dotlockfile-command-not-found.patch - 0002-trap-do-not-define-ECODE-at-setup.patch - 0003-use-CHECKHOST-in-checkbackups-function.patch - " -builddir="$srcdir/$pkgname-release-$pkgver" - -prepare() { - default_prepare - - sed -i 's|sbin/zfs|usr/&|' simplesnap - sed -i 's|sbin/zfs|usr/&|' simplesnapwrap -} - -package() { - install -m 0755 -d "$pkgdir"/usr/sbin - install -m 0755 simplesnap "$pkgdir"/usr/sbin/ - install -m 0755 simplesnapwrap "$pkgdir"/usr/sbin/ - - install -m 0755 -d "$pkgdir"/usr/share/man/man8 - install -m 0644 doc/simplesnap.8 "$pkgdir"/usr/share/man/man8/ -} - -sha512sums="818f917d65b87366af1530441f2c070a51e34efbf7790509f00aa18949dae4f8f5b1bbde4b67ca45f95df4ea816f42416c9f09aba060769d3548eb5f12551b62 simplesnap-1.0.4.tar.gz -54273ec9630cc5e764db65361ac4a03e27dafcbbe67794053e8a94584e7e8ed10db908b0285485a80253cf93bb7daf9f5257924a1476ab235138c88abb0111b7 0001-fix-simplesnap-line-2-dotlockfile-command-not-found.patch -618fd1ed200ae30437528a52090bf4363ba7f3641741865fb78ef67401fbde41a77fe83681d9c26a2391b7be6c25d22ba4285922911c28a1d0b7c4b093a19df7 0002-trap-do-not-define-ECODE-at-setup.patch -49248602dbbdb22ae1ac224f716e71165320184941434e968c214e969e26a8dbbfe6058a6af56684b31b51440817ef9fe874e64fa793a32713e5d3a644def73b 0003-use-CHECKHOST-in-checkbackups-function.patch" diff --git a/unmaintained/sipwise-sems/APKBUILD b/unmaintained/sipwise-sems/APKBUILD deleted file mode 100644 index 2a113e68543..00000000000 --- a/unmaintained/sipwise-sems/APKBUILD +++ /dev/null @@ -1,236 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Nathan Angelacos <nangel@alpinelinux.org> -# -# NOTE: This is based on the sipwise "fork" of sems. - -_basename=sems -pkgname=sipwise-$_basename -pkgver=3.8.2.1 -pkgrel=2 -pkgdesc="SIP Express Media Server, an extensible SIP media server" -url="http://iptel.org/sems/" -arch="all !aarch64" -license="GPL-2.0-or-later" -pkgusers="sems" -pkggroups="sems" -install="$pkgname.pre-install" -makedepends="python2-dev cmake bash openssl-dev linux-headers - libsamplerate-dev spandsp-dev flite-dev gsm-dev speex-dev - libevent-dev" -subpackages="$pkgname-doc $pkgname-conf_auth $pkgname-conference - $pkgname-diameter_client $pkgname-dsm $pkgname-early_announce - $pkgname-g722 $pkgname-gsm $pkgname-ivr $pkgname-mailbox - $pkgname-pin_collect $pkgname-speex $pkgname-xmlrpc2di" - -source="https://github.com/sipwise/sems/archive/mr$pkgver.tar.gz - sems-0001-Force-to-use-system-wide-GSM-includes.patch - sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch - sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch - sems-0004-remove-execinfo-dependency.patch - sems-0005-define-SEMS_VERSION.patch - sems-0006-std-types.patch - atomic-swap8.patch - sems.initd - " - -# sems-0005-Add-sw_prepaid_sip-plugin-to-default-exclude-list-du.patch -# sems-0006-last-minute-fix-proper-version.patch -# sems-0008-Install-email-template.patch -# sems-0009-Don-t-start-py_sems-by-default.patch - -# applied: -# sems-0004-fix-PRACK-route.patch -# sems-0007-Fix-gateway-module-s-version-passing-in-CMake.patch -# sems-0010-Move-CMake-defines.patch - -_builddir="$srcdir/$_basename-mr$pkgver" - -prepare() { - cd "$_builddir" - rm -rf core/plug-in/gsm/gsm-1.0-pl10/ - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - # force cmake to use relative paths. It helps us avoid having the - # full file path in the logs - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_USE_RELATIVE_PATHS=yes \ - -DSEMS_USE_SPANDSP=yes \ - -DSEMS_USE_LIBSAMPLERATE=yes \ - -DSEMS_USE_ZRTP=NO \ - -DSEMS_USE_MP3=NO \ - -DSEMS_USE_ILBC=NO \ - -DSEMS_USE_TTS=yes \ - -DSEMS_USE_OPENSSL=yes \ - -DSEMS_USE_MONITORING=yes \ - -DSEMS_USE_IPV6=NO \ - -DSEMS_CFG_PREFIX= \ - -DSEMS_AUDIO_PREFIX=/usr/share \ - -DSEMS_EXEC_PREFIX=/usr \ - -DSEMS_LIBDIR=lib \ - || return 1 - make -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" - install -m755 -D "$srcdir"/$_basename.initd \ - "$pkgdir"/etc/init.d/$_basename || return 1 - # is empty - rm -f "$pkgdir"/etc/sems/etc/conf_auth.conf - - install -o sems -g sems -d "$pkgdir"/var/spool/voicebox - install -d -o sems "$pkgdir"/var/run/sems -} - -_mv_sub() { - local i - for i in "$@"; do - mkdir -p "$subpkgdir"/${i%/*} - mv "$pkgdir"/$i "$subpkgdir"/$i - done -} - -conf_auth() { - pkgdesc="Conference with authorization for SEMS" - depends="sems sems-ivr" - cd "$pkgdir" - _mv_sub usr/lib/sems/ivr/conf_auth* -} - -conference() { - pkgdesc="Conferencing application for SEMS" - depends="sems" - cd "$pkgdir" - _mv_sub etc/sems/etc/conference.conf \ - usr/lib/sems/plug-in/conference.so \ - usr/share/sems/audio/conference -} - -diameter_client() { - pkgdesc="A simple DIAMETER client implementation for SEMS" - depends="sems" - cd "$pkgdir" - _mv_sub usr/lib/sems/plug-in/diameter_client.so -} - -dsm() { - pkgdesc="The state machine interpreter for SEMS" - depends="sems" - cd "$pkgdir" - _mv_sub etc/sems/etc/dsm* \ - usr/lib/sems/plug-in/dsm.so \ - usr/lib/sems/dsm -} - -early_announce() { - pkgdesc="Early announce application for SEMS" - depends="sems" - cd "$pkgdir" - _mv_sub etc/sems/etc/early_announce.conf \ - usr/lib/sems/plug-in/early_announce.so -} - -g722() { - pkgdesc="G.722 support for SEMS" - depends="sems" - _mv_sub usr/lib/sems/plug-in/g722.so -} - -#gateway() { -# pkgdesc="ISDN gateway for SEMS" -# depends="sems" -#} - -gsm() { - pkgdesc="GSM support for SEMS" - depends="sems" - _mv_sub usr/lib/sems/plug-in/gsm.so -} - -ivr() { - pkgdesc="IVR functionallity for SEMS" - depends="sems python2" - cd "$pkgdir" - _mv_sub etc/sems/etc/ivr.conf \ - usr/lib/sems/plug-in/ivr.so \ - usr/lib/sems/ivr/log.* -} - -mailbox() { - pkgdesc="Mailbox application for SEMS" - depends="sems sems-ivr" - cd "$pkgdir" - _mv_sub etc/sems/etc/mailbox*.conf \ - usr/share/sems/audio/mailbox \ - usr/lib/sems/plug-in/ivr.so \ - usr/lib/sems/ivr/*mailbox* -} - -pin_collect() { - pkgdesc="Collects a PIN for SEMS" - depends="sems sems-ivr" - cd "$pkgdir" - _mv_sub etc/sems/etc/pin_collect.conf \ - usr/share/sems/audio/pin_collect \ - usr/lib/sems/plug-in/ivr.so \ - usr/lib/sems/ivr/pin_collect* -} - -_python() { - pkgdesc="Python bindings for SEMS" - depends="python2 sems" - cd "$pkgdir" - _mv_sub \ - usr/lib/sems/plug-in/py_sems* -} - -speex() { - pkgdesc="Speex support for SEMS" - depends="sems" - _mv_sub usr/lib/sems/plug-in/speex.so -} - -xmlrpc2di() { - pkgdesc="XMLRPC interface for SEMS" - depends="sems" - _mv_sub \ - etc/sems/etc/xmlrpc2di.conf \ - usr/lib/sems/plug-in/xmlrpc2di.so -} - -md5sums="8799f9be9161ee2024a10d2d36d4d0ae mr3.8.2.1.tar.gz -5b2fded836b44bda33f39adc37de4de7 sems-0001-Force-to-use-system-wide-GSM-includes.patch -b8efd1a6415afa08f7c676f6976fca36 sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch -331e7529833c906b4738006f32a65fde sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch -80cffaa7c8963b6619a69133a9ffc2f8 sems-0004-remove-execinfo-dependency.patch -a680e142ee9b83e6d34fd0757940c5cc sems-0005-define-SEMS_VERSION.patch -bbcbee0f73342b4c35deff15c1d708d5 sems-0006-std-types.patch -fe19aad863d6a0f3ed3edc4b771eb869 atomic-swap8.patch -4b537f18cda6c72d7afda582a6f5858e sems.initd" -sha256sums="29c5c2999bac9d675dff9721f279d00d4becf31623deda502872c8c941e1ec0d mr3.8.2.1.tar.gz -a36950f68e78af21f0e1152bb01e2f25f74b8c63210eecc01e4a4f90cf841371 sems-0001-Force-to-use-system-wide-GSM-includes.patch -0992f15e2a5c58d63a5a06dda027323e203fbf67d57022c11d5d63fd953088bc sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch -04e0b2a944c5f64305e5711f5dfdcf4675fc7980225ef87267fcaff241168d46 sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch -6e8d8a08004e44e603e32cb8e62809c7865b7e1c70bf66d37e8701dd308782d5 sems-0004-remove-execinfo-dependency.patch -0ecc448b3f90261af984bcd0c7ebd6e76e0e696b3c285b6c1837f9296a429b68 sems-0005-define-SEMS_VERSION.patch -c4aac6f50d8ba85d389a859d9067fb7e7589daf4b84cd1d68ac231bcdb0d2aeb sems-0006-std-types.patch -08adfa5d87427b56fdec1239a98429ba0e851fcb4cd5c5c0b319aeef93e8ebe7 atomic-swap8.patch -5bc8ece09cf1c47c8f0880fdeca40d1e72eb4bc5c6356ffc2d738179b9463e19 sems.initd" -sha512sums="27ba6a7c2671a3c9af14b9c37c458641e8deced10f19047fdb29d7b4a5c775ec1a378d574c73f8b5546a34dc27a759109ed638de3aea9f28a0d06db1c54a2fcc mr3.8.2.1.tar.gz -87c6f878c3ad5e947a9a80431ddf28f08c04ce1415b7c42878f66b423c78d909efda836c7c2d3ed97e075c08d7a07c4707a49c14ce42c1a3aa350de1878c8d09 sems-0001-Force-to-use-system-wide-GSM-includes.patch -4c09033d6acd1bbef2aa2d02571f74da29532decca67b9ce861872d8d9522ca31808d6e26c3b536913ef7a988f90d374e217187b9cadb6a79d5c830571e94b67 sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch -ba6f0d917464729c63628255bee3d864a954af4a510b802f0de1d51f35ff5d7c1c33cbe14db31818133a3c94f84da0f4bea4184ce1e8eae6aa9a1ba79f2e5347 sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch -b23f47640e495513abc85a9ae08b8ff7e2fbc9b57d072eb9b0b3875b9141ee9e67f1aebdbe3f2b09447dbae0e179490f2de7390da07127919ddf85c1a47c4e5c sems-0004-remove-execinfo-dependency.patch -02574aeb5b94f4a549fe71e1a8a0efad950d66dfd57ed2ee47befb8aa1c508dd6b05a55586ef1d237e9d61e64aa27fcd8689dc86552e69aff43aa4c96ea2245b sems-0005-define-SEMS_VERSION.patch -79e3ac2b202b3f6c710b3d2bc8ac459e3622f2bf5945eaaa81778f53bcbddc7951266f88c2fd9862fbed44f10a160368af7d19b5e81929a3b1e8ee150111f74b sems-0006-std-types.patch -504f91d1115e5e15d1724957b1205fcb9e82e9059bc8b480868bffb5e5b4363ff312d6deb23f6204164c4ec1d07d63312e9484f5b6c289b159fb86abe3b99037 atomic-swap8.patch -5be93b6444a9592daa6c883c78e5906e9e662891e1daa850d872bdaa657eb756f1bc0879732033479b279b75c2fd42ef79aa530ebf3b1692e7fb222d484f804b sems.initd" diff --git a/unmaintained/sipwise-sems/atomic-swap8.patch b/unmaintained/sipwise-sems/atomic-swap8.patch deleted file mode 100644 index 0d4d27a0937..00000000000 --- a/unmaintained/sipwise-sems/atomic-swap8.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./core/atomic_types.h.orig -+++ ./core/atomic_types.h -@@ -13,7 +13,7 @@ - ) || \ - (defined(__linux__) && \ - ( \ -- (defined(__i386__) && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4))) || \ -+ (defined(__i386__) && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8)))) || \ - defined(__ia64__) || \ - defined(__x86_64__) || \ - (defined(__powerpc__) && !defined(__powerpc64__)) || \ diff --git a/unmaintained/sipwise-sems/sems-0001-Force-to-use-system-wide-GSM-includes.patch b/unmaintained/sipwise-sems/sems-0001-Force-to-use-system-wide-GSM-includes.patch deleted file mode 100644 index d09b793395d..00000000000 --- a/unmaintained/sipwise-sems/sems-0001-Force-to-use-system-wide-GSM-includes.patch +++ /dev/null @@ -1,26 +0,0 @@ -From de3c54f85f893e4ee985b1da93cc014b00456fa8 Mon Sep 17 00:00:00 2001 -From: Peter Lemenkov <lemenkov@gmail.com> -Date: Wed, 31 Mar 2010 11:52:52 +0400 -Subject: [PATCH 01/11] Force to use system-wide GSM includes - -Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> ---- - core/plug-in/gsm/gsm.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/core/plug-in/gsm/gsm.c b/core/plug-in/gsm/gsm.c -index 286a989..3517e59 100644 ---- a/core/plug-in/gsm/gsm.c -+++ b/core/plug-in/gsm/gsm.c -@@ -27,7 +27,7 @@ - - #include "amci.h" - #include "codecs.h" --#include "gsm-1.0-pl10/inc/gsm.h" -+#include <gsm.h> - #include "../../log.h" - - #include <stdlib.h> --- -1.7.3.4 - diff --git a/unmaintained/sipwise-sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch b/unmaintained/sipwise-sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch deleted file mode 100644 index 0cfeab8c83a..00000000000 --- a/unmaintained/sipwise-sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 26929b6a7a62299b71bf7c99f17f75670a2040e2 Mon Sep 17 00:00:00 2001 -From: Peter Lemenkov <lemenkov@gmail.com> -Date: Wed, 31 Mar 2010 11:53:48 +0400 -Subject: [PATCH 02/11] Allow rewrite of custom makefiles by CMake - -Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> ---- - CMakeLists.txt | 9 --------- - 1 files changed, 0 insertions(+), 9 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a6ff425..ef3934e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -26,15 +26,6 @@ ELSE(IS_DEVEL) - ENDIF(IS_DEVEL) - MESSAGE(STATUS "Configuring ${CMAKE_PROJECT_NAME} v. ${SEMS_VERSION}") - --IF(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE) -- message(FATAL_ERROR "In-source builds are not allowed. --CMake would overwrite all makefiles distributed with SEMS. --Please create a directory and run cmake from there, passing the path --to this source directory as the last argument. --This process created the file `CMakeCache.txt' and the directory `CMakeFiles'. --Please delete them.") --ENDIF(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE) -- - OPTION(SEMS_USE_SPANDSP "Build with spandsp" OFF) - OPTION(SEMS_USE_LIBSAMPLERATE "Build with libsamplerate" OFF) - OPTION(SEMS_USE_ZRTP "Build with ZRTP" OFF) --- -1.7.3.4 - diff --git a/unmaintained/sipwise-sems/sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch b/unmaintained/sipwise-sems/sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch deleted file mode 100644 index df0a5ad405a..00000000000 --- a/unmaintained/sipwise-sems/sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e322f2e00e48b639b5d87ed06738aa24d99396bf Mon Sep 17 00:00:00 2001 -From: Peter Lemenkov <lemenkov@gmail.com> -Date: Wed, 31 Mar 2010 18:56:39 +0400 -Subject: [PATCH 03/11] Set CFG_PREFIX to empty string by default - -Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> ---- - CMakeLists.txt | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index ef3934e..c36ce62 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -48,7 +48,7 @@ ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STREQUAL "2.4") - SET(CMAKE_DL_LIBS ${CMAKE_DL_LIBS} m pthread) - - IF (NOT SEMS_CFG_PREFIX) -- SET(SEMS_CFG_PREFIX "/usr/local") -+ SET(SEMS_CFG_PREFIX "") - ENDIF (NOT SEMS_CFG_PREFIX) - MESSAGE(STATUS "SEMS cfg prefix was set to: ${SEMS_CFG_PREFIX}") - --- -1.7.3.4 - diff --git a/unmaintained/sipwise-sems/sems-0004-fix-PRACK-route.patch b/unmaintained/sipwise-sems/sems-0004-fix-PRACK-route.patch deleted file mode 100644 index af282714332..00000000000 --- a/unmaintained/sipwise-sems/sems-0004-fix-PRACK-route.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp -index d121606..17c9731 100644 ---- a/core/AmSipDialog.cpp -+++ b/core/AmSipDialog.cpp -@@ -406,6 +406,9 @@ void AmSipDialog::onRxReply(const AmSipReply& reply) - else { - status = Early; - remote_tag = reply.to_tag; -+ route = reply.route; -+ if(!reply.to_uri.empty()) -+ remote_uri = reply.to_uri; - } - } - else if(reply.code < 300){ diff --git a/unmaintained/sipwise-sems/sems-0004-remove-execinfo-dependency.patch b/unmaintained/sipwise-sems/sems-0004-remove-execinfo-dependency.patch deleted file mode 100644 index 12379a2ade4..00000000000 --- a/unmaintained/sipwise-sems/sems-0004-remove-execinfo-dependency.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff --git a/core/AmBasicSipDialog.cpp b/core/AmBasicSipDialog.cpp -index f0aeef4..c177766 100644 ---- a/core/AmBasicSipDialog.cpp -+++ b/core/AmBasicSipDialog.cpp -@@ -577,7 +577,7 @@ int AmBasicSipDialog::reply(const AmSipRequest& req, - "remote_tag=%s\n", - req.cseq,code,callid.c_str(), - local_tag.c_str(),remote_tag.c_str()); -- log_stacktrace(L_ERR); -+ /* log_stacktrace(L_ERR); */ - return -1; - } - DBG("reply: transaction found!\n"); -diff --git a/core/log.cpp b/core/log.cpp -index d1de02f..9e59464 100644 ---- a/core/log.cpp -+++ b/core/log.cpp -@@ -209,6 +209,7 @@ void register_log_hook(AmLoggingFacility* fac) - /** - * Print stack-trace through logging function - */ -+/* - void log_stacktrace(int ll) - { - void* callstack[128]; -@@ -219,3 +220,4 @@ void log_stacktrace(int ll) - } - free(strs); - } -+*/ -diff --git a/core/log.h b/core/log.h -index 7eb2480..892c926 100644 ---- a/core/log.h -+++ b/core/log.h -@@ -33,8 +33,9 @@ - #include <stdio.h> - #include <unistd.h> /* getpid() */ - #include <pthread.h> /* pthread_self() */ -+#if defined (__GLIBC__) - #include <execinfo.h> /* backtrace_symbols() */ -- -+#endif - - #ifdef __cplusplus - extern "C" { -@@ -174,7 +175,9 @@ void run_log_hooks(int, pid_t, pthread_t, const char*, const char*, int, char*); - int set_syslog_facility(const char*); - #endif - -+/* - void log_stacktrace(int ll); -+*/ - - #ifdef __cplusplus - } diff --git a/unmaintained/sipwise-sems/sems-0005-define-SEMS_VERSION.patch b/unmaintained/sipwise-sems/sems-0005-define-SEMS_VERSION.patch deleted file mode 100644 index b540751003e..00000000000 --- a/unmaintained/sipwise-sems/sems-0005-define-SEMS_VERSION.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/core/plug-in/stats/StatsUDPServer.cpp b/core/plug-in/stats/StatsUDPServer.cpp -index b5c7909..2a946b4 100644 ---- a/core/plug-in/stats/StatsUDPServer.cpp -+++ b/core/plug-in/stats/StatsUDPServer.cpp -@@ -37,6 +37,7 @@ - #include "AmApi.h" - - #include "sip/trans_table.h" -+#include "../../sems.h" - - #include <string> - using std::string; diff --git a/unmaintained/sipwise-sems/sems-0006-std-types.patch b/unmaintained/sipwise-sems/sems-0006-std-types.patch deleted file mode 100644 index edaf8d53aaf..00000000000 --- a/unmaintained/sipwise-sems/sems-0006-std-types.patch +++ /dev/null @@ -1,281 +0,0 @@ -diff --git a/apps/gateway/mISDNChannel.cpp b/apps/gateway/mISDNChannel.cpp -index 8abd77a..36e8778 100644 ---- a/apps/gateway/mISDNChannel.cpp -+++ b/apps/gateway/mISDNChannel.cpp -@@ -118,8 +118,8 @@ int mISDN_get_free_ext_ie(mISDN::Q931_info_t *qi) { - return (-1); - } - --int mISDN_AddIE(mISDN::Q931_info_t *qi, u_char *p, u_char ie, u_char *iep) { -- u_char *ps; -+int mISDN_AddIE(mISDN::Q931_info_t *qi, unsigned char *p, unsigned char ie, unsigned char *iep) { -+ unsigned char *ps; - mISDN::ie_info_t *ies; - int l; - -@@ -158,7 +158,7 @@ int mISDN_AddIE(mISDN::Q931_info_t *qi, u_char *p, u_char ie, u_char *iep) { - } - l = iep[0] + 1; - } -- ps = (u_char *) qi; -+ ps = (unsigned char *) qi; - ps += L3_EXTRA_SIZE; - ies->off = (u16)(p - ps); - *p++ = ie; -diff --git a/core/sip/parse_dns.cpp b/core/sip/parse_dns.cpp -index 2b62f3e..d24f537 100644 ---- a/core/sip/parse_dns.cpp -+++ b/core/sip/parse_dns.cpp -@@ -6,10 +6,10 @@ - #define SECTION_COUNTS_OFF 4 - #define HEADER_OFFSET 12 - --unsigned short dns_msg_count(u_char* begin, dns_section_type sect); --int dns_skip_name(u_char** p, u_char* end); --int dns_expand_name(u_char** ptr, u_char* begin, u_char* end, -- u_char* buf, unsigned int len); -+unsigned short dns_msg_count(unsigned char* begin, dns_section_type sect); -+int dns_skip_name(unsigned char** p, unsigned char* end); -+int dns_expand_name(unsigned char** ptr, unsigned char* begin, unsigned char* end, -+ unsigned char* buf, unsigned int len); - - - const char* dns_rr_type_str(dns_rr_type t) -@@ -27,11 +27,11 @@ const char* dns_rr_type_str(dns_rr_type t) - - - --int dns_msg_parse(u_char* msg, int len, dns_parse_fct fct, void* data) -+int dns_msg_parse(unsigned char* msg, int len, dns_parse_fct fct, void* data) - { -- u_char* begin = msg; -- u_char* p = begin + HEADER_OFFSET; -- u_char* end = msg + len; -+ unsigned char* begin = msg; -+ unsigned char* p = begin + HEADER_OFFSET; -+ unsigned char* end = msg + len; - - if(p >= end) return -1; - -@@ -48,7 +48,7 @@ int dns_msg_parse(u_char* msg, int len, dns_parse_fct fct, void* data) - for(int i=0; i<dns_msg_count(begin,(dns_section_type)s); i++){ - - // expand name -- if(dns_expand_name(&p,begin,end,(u_char*)rr.name,NS_MAXDNAME) < 0) return -1; -+ if(dns_expand_name(&p,begin,end,(unsigned char*)rr.name,NS_MAXDNAME) < 0) return -1; - - // at least 8 bytes for type+class+ttl left? - if((p + 8) > end) return -1; -@@ -79,14 +79,14 @@ int dns_msg_parse(u_char* msg, int len, dns_parse_fct fct, void* data) - return 0; - } - --unsigned short dns_msg_count(u_char* begin, dns_section_type sect) -+unsigned short dns_msg_count(unsigned char* begin, dns_section_type sect) - { -- u_char* p = begin + SECTION_COUNTS_OFF + 2*sect; -+ unsigned char* p = begin + SECTION_COUNTS_OFF + 2*sect; - - return ((u_short)*p)<<8 | ((u_short)*(p+1)); - } - --int dns_skip_name(u_char** p, u_char* end) -+int dns_skip_name(unsigned char** p, unsigned char* end) - { - while(*p < end) { - -@@ -106,11 +106,11 @@ int dns_skip_name(u_char** p, u_char* end) - return -1; - } - --int dns_expand_name(u_char** ptr, u_char* begin, u_char* end, -- u_char* start_buf, unsigned int len) -+int dns_expand_name(unsigned char** ptr, unsigned char* begin, unsigned char* end, -+ unsigned char* start_buf, unsigned int len) - { -- u_char* buf = start_buf; -- u_char* p = *ptr; -+ unsigned char* buf = start_buf; -+ unsigned char* p = *ptr; - bool is_ptr=false; - - while(p < end) { -diff --git a/core/sip/parse_dns.h b/core/sip/parse_dns.h -index c5de8b6..34406b0 100644 ---- a/core/sip/parse_dns.h -+++ b/core/sip/parse_dns.h -@@ -39,18 +39,18 @@ struct dns_record - - class dns_entry; - --typedef int (*dns_parse_fct)(dns_record* rr, dns_section_type t, u_char* begin, u_char* end, void* data); -+typedef int (*dns_parse_fct)(dns_record* rr, dns_section_type t, unsigned char* begin, unsigned char* end, void* data); - --int dns_msg_parse(u_char* msg, int len, dns_parse_fct fct, void* data); --int dns_expand_name(u_char** ptr, u_char* begin, u_char* end, -- u_char* buf, unsigned int len); -+int dns_msg_parse(unsigned char* msg, int len, dns_parse_fct fct, void* data); -+int dns_expand_name(unsigned char** ptr, unsigned char* begin, unsigned char* end, -+ unsigned char* buf, unsigned int len); - --inline uint16_t dns_get_16(const u_char* p) -+inline uint16_t dns_get_16(const unsigned char* p) - { - return ntohs(*(uint16_t*)p); - } - --inline uint32_t dns_get_32(const u_char* p) -+inline uint32_t dns_get_32(const unsigned char* p) - { - return ntohl(*(uint32_t*)p); - } -diff --git a/core/sip/resolver.cpp b/core/sip/resolver.cpp -index 9793069..80c547c 100644 ---- a/core/sip/resolver.cpp -+++ b/core/sip/resolver.cpp -@@ -169,7 +169,7 @@ public: - stable_sort(ip_vec.begin(),ip_vec.end(),srv_less); - } - -- dns_base_entry* get_rr(dns_record* rr, u_char* begin, u_char* end); -+ dns_base_entry* get_rr(dns_record* rr, unsigned char* begin, unsigned char* end); - - int next_ip(dns_handle* h, sockaddr_storage* sa) - { -@@ -316,7 +316,7 @@ dns_entry* dns_entry::make_entry(dns_rr_type t) - } - } - --void dns_entry::add_rr(dns_record* rr, u_char* begin, u_char* end, long now) -+void dns_entry::add_rr(dns_record* rr, unsigned char* begin, unsigned char* end, long now) - { - dns_base_entry* e = get_rr(rr,begin,end); - if(!e) return; -@@ -451,7 +451,7 @@ void ip_entry::to_sa(sockaddr_storage* sa) - string ip_entry::to_str() - { - if(type == IPv4) { -- u_char* cp = (u_char*)&addr; -+ unsigned char* cp = (unsigned char*)&addr; - return int2str(cp[0]) + - "." + int2str(cp[1]) + - "." + int2str(cp[2]) + -@@ -496,7 +496,7 @@ string ip_port_entry::to_str() - return ip_entry::to_str() + ":" + int2str(port); - } - --dns_base_entry* dns_ip_entry::get_rr(dns_record* rr, u_char* begin, u_char* end) -+dns_base_entry* dns_ip_entry::get_rr(dns_record* rr, unsigned char* begin, unsigned char* end) - { - if(rr->type != dns_r_a) - return NULL; -@@ -516,16 +516,16 @@ dns_base_entry* dns_ip_entry::get_rr(dns_record* rr, u_char* begin, u_char* end) - return new_ip; - } - --dns_base_entry* dns_srv_entry::get_rr(dns_record* rr, u_char* begin, u_char* end) -+dns_base_entry* dns_srv_entry::get_rr(dns_record* rr, unsigned char* begin, unsigned char* end) - { - if(rr->type != dns_r_srv) - return NULL; - -- u_char name_buf[NS_MAXDNAME]; -- const u_char * rdata = ns_rr_rdata(*rr); -+ unsigned char name_buf[NS_MAXDNAME]; -+ const unsigned char * rdata = ns_rr_rdata(*rr); - - /* Expand the target's name */ -- u_char* p = (u_char*)rdata+6; -+ unsigned char* p = (unsigned char*)rdata+6; - if (dns_expand_name(&p,begin,end, - name_buf, /* Result */ - NS_MAXDNAME) /* Size of result buffer */ -@@ -570,7 +570,7 @@ struct dns_search_h - }; - - int rr_to_dns_entry(dns_record* rr, dns_section_type t, -- u_char* begin, u_char* end, void* data) -+ unsigned char* begin, unsigned char* end, void* data) - { - // only answer and additional sections - if(t != dns_s_an && t != dns_s_ar) -@@ -668,7 +668,7 @@ void dns_naptr_entry::init() - stable_sort(ip_vec.begin(),ip_vec.end(),naptr_less); - } - --dns_base_entry* dns_naptr_entry::get_rr(dns_record* rr, u_char* begin, u_char* end) -+dns_base_entry* dns_naptr_entry::get_rr(dns_record* rr, unsigned char* begin, unsigned char* end) - { - enum NAPTR_FieldIndex { - NAPTR_Flags = 0, -@@ -681,7 +681,7 @@ dns_base_entry* dns_naptr_entry::get_rr(dns_record* rr, u_char* begin, u_char* e - if(rr->type != dns_r_naptr) - return NULL; - -- const u_char * rdata = ns_rr_rdata(*rr); -+ const unsigned char * rdata = ns_rr_rdata(*rr); - - unsigned short order = dns_get_16(rdata); - rdata += 2; -@@ -856,7 +856,7 @@ _resolver::~_resolver() - - int _resolver::query_dns(const char* name, dns_entry_map& entry_map, dns_rr_type t) - { -- u_char dns_res[NS_PACKETSZ]; -+ unsigned char dns_res[NS_PACKETSZ]; - - if(!name) return -1; - -diff --git a/core/sip/resolver.h b/core/sip/resolver.h -index 7565898..caa81e8 100644 ---- a/core/sip/resolver.h -+++ b/core/sip/resolver.h -@@ -77,7 +77,7 @@ class dns_entry - : public atomic_ref_cnt, - public dns_base_entry - { -- virtual dns_base_entry* get_rr(dns_record* rr, u_char* begin, u_char* end)=0; -+ virtual dns_base_entry* get_rr(dns_record* rr, unsigned char* begin, unsigned char* end)=0; - - public: - vector<dns_base_entry*> ip_vec; -@@ -87,7 +87,7 @@ public: - dns_entry(); - virtual ~dns_entry(); - virtual void init()=0; -- virtual void add_rr(dns_record* rr, u_char* begin, u_char* end, long now); -+ virtual void add_rr(dns_record* rr, unsigned char* begin, unsigned char* end, long now); - virtual int next_ip(dns_handle* h, sockaddr_storage* sa)=0; - - virtual string to_str(); -@@ -140,7 +140,7 @@ public: - {} - - void init(){}; -- dns_base_entry* get_rr(dns_record* rr, u_char* begin, u_char* end); -+ dns_base_entry* get_rr(dns_record* rr, unsigned char* begin, unsigned char* end); - int next_ip(dns_handle* h, sockaddr_storage* sa); - - int fill_ip_list(const list<sip_destination>& ip_list); -@@ -199,7 +199,7 @@ public: - {} - - void init(); -- dns_base_entry* get_rr(dns_record* rr, u_char* begin, u_char* end); -+ dns_base_entry* get_rr(dns_record* rr, unsigned char* begin, unsigned char* end); - - // not needed - int next_ip(dns_handle* h, sockaddr_storage* sa) { return -1; } -diff --git a/core/sip/udp_trsp.cpp b/core/sip/udp_trsp.cpp -index eb3a1ce..e33a156 100644 ---- a/core/sip/udp_trsp.cpp -+++ b/core/sip/udp_trsp.cpp -@@ -300,7 +300,7 @@ void udp_trsp::run() - msg.msg_namelen = sizeof(sockaddr_storage); - msg.msg_iov = iov; - msg.msg_iovlen = 1; -- msg.msg_control = new u_char[DSTADDR_DATASIZE]; -+ msg.msg_control = new unsigned char[DSTADDR_DATASIZE]; - msg.msg_controllen = DSTADDR_DATASIZE; - - if(sock->get_sd()<=0){ diff --git a/unmaintained/sipwise-sems/sems.initd b/unmaintained/sipwise-sems/sems.initd deleted file mode 100755 index fda1e8a8387..00000000000 --- a/unmaintained/sipwise-sems/sems.initd +++ /dev/null @@ -1,48 +0,0 @@ -#!/sbin/openrc-run -# SIP Express Media Server configuration file -# Follows Gentoo/AlpineLinux standards -# GPL 2 License - N. Angelacos 2011 - -SVC="${SVCNAME#*.}" -SEMS_CFG_FILE=${SEMS_CFG_FILE:-/etc/sems/${SVC}.conf} -SEMS_PIDDIR=/var/run/sems -SEMS_PIDFILE=${SEMS_PIDFILE:-${SEMS_PIDDIR}/${SVC}.pid} -SEMS_BINARY=${SEMS_BINARY:-/usr/sbin/sems} -SEMS_USER=${SEMS_USER:-sems} -SEMS_GROUP=${SEMS_GROUP:-sems} - -checkconfig() { - if [ ! -f "${SEMS_CFG_FILE}" ] ; then - eerror "You need a "${SEMS_CFG_FILE}" file to run sems" - return 1; - fi -} - - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - mkdir -p "${SEMS_PIDDIR}" - chown ${SEMS_USER}:${SEMS_GROUP} "${SEMS_PIDDIR}" - - start-stop-daemon --start --exec "${SEMS_BINARY}" \ - --pidfile "${SEMS_PIDFILE}" \ - --wait ${SEMS_WAIT:-500} \ - -- \ - -f "${SEMS_CFG_FILE}" \ - -P "${SEMS_PIDFILE}" \ - -u "${SEMS_USER}" \ - -g "${SEMS_GROUP}" - eend $? -} - -stop() { - if [ "${RC_CMD}" = "restart" ] ; then - checkconfig || return 1 - fi - - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --exec "${SEMS_BINARY}" \ - --pidfile "${SEMS_PIDFILE}" --quiet - eend $? -} diff --git a/unmaintained/sipwise-sems/sipwise-sems.pre-install b/unmaintained/sipwise-sems/sipwise-sems.pre-install deleted file mode 100644 index 5fe904da652..00000000000 --- a/unmaintained/sipwise-sems/sipwise-sems.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S sems 2>/dev/null -adduser -S -D -H -h /var/empty -s /sbin/nologin -G sems -g sems sems 2>/dev/null - -exit 0 diff --git a/unmaintained/solid-calendar-store/APKBUILD b/unmaintained/solid-calendar-store/APKBUILD deleted file mode 100644 index 1872d0ef787..00000000000 --- a/unmaintained/solid-calendar-store/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Dylan Van Assche <me@dylanvanassche.be> -# Contributor: Dylan Van Assche <me@dylanvanassche.be> -pkgname=solid-calendar-store -pkgver=0.0.18 -pkgrel=0 -pkgdesc="Solid stores for managing calendars" -url="https://github.com/KNowledgeOnWebScale/solid-calendar-store" -arch="all !riscv64" # disabled on riscv64 due to missing nodejs -license="MIT" -depends="nodejs>=12" -makedepends="npm solid-community-server rmlmapper python3" -arch="!x86" # textrels -options="!check" -source="https://github.com/KNowledgeOnWebScale/solid-calendar-store/archive/v$pkgver/solid-calendar-store-$pkgver.tar.gz" - -build() { - npm install --include=dev - npm run build -} - -check() { - npm run test -} - -package() { - # Solid Calendar Store is a plugin for the Solid Community Server - mkdir -p "$pkgdir"/usr/share/webapps/solid-community-server/solid-calendar-store - - cp -r "$builddir"/package.json \ - "$builddir"/config \ - "$builddir"/dist \ - "$builddir"/node_modules \ - "$pkgdir"/usr/share/webapps/solid-community-server/solid-calendar-store -} - -sha512sums=" -52f48a8525291af524910576e5350080b94da7ec296e985b995ff8747c4938cf1dbed60d5961685d0ecec1d5f6520a4f043e8cb5997204de4ed354f2dabc893e solid-calendar-store-0.0.18.tar.gz -" diff --git a/unmaintained/solid-community-server/APKBUILD b/unmaintained/solid-community-server/APKBUILD deleted file mode 100644 index 50f4887e785..00000000000 --- a/unmaintained/solid-community-server/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Dylan Van Assche <me@dylanvanassche.be> -# Contributor: Dylan Van Assche <me@dylanvanassche.be> -pkgname=solid-community-server -pkgver=2.0.1 -pkgrel=1 -pkgdesc="An open and modular implementation of the Solid specifications" -url="https://github.com/solid/community-server" -arch="all !x86 !armhf !riscv64" # x86 textrels, armhf failing tests, riscv64 nodejs missing -license="MIT" -depends="nodejs>=12" -makedepends="npm build-base python3" -subpackages="$pkgname-openrc" -install="$pkgname.pre-install" -source="$pkgname-$pkgver-2.tar.gz::https://github.com/solid/community-server/archive/refs/tags/v$pkgver.tar.gz - solid-community-server.initd - disable-husky.patch" -builddir="$srcdir/CommunitySolidServer-$pkgver" - -build() { - npm install --include=dev - npm run build -} - -check() { - npm run test -} - -package() { - mkdir -p "$pkgdir"/usr/share/webapps/solid-community-server - mkdir -p "$pkgdir"/usr/bin - - cp -r "$builddir"/package.json \ - "$builddir"/bin \ - "$builddir"/config \ - "$builddir"/dist \ - "$builddir"/node_modules \ - "$builddir"/templates \ - "$pkgdir"/usr/share/webapps/solid-community-server - - # Solid Community Server extensions expect the community server to be - # in node_modules while this is not the case when installing - # release tarballs. - mkdir -p "$pkgdir/usr/share/webapps/solid-community-server/node_modules/@solid/community-server" - ln -s "$pkgdir/usr/share/webapps/solid-community-server/bin" \ - "$pkgdir/usr/share/webapps/solid-community-server/node_modules/@solid/community-server/bin" - ln -s "$pkgdir/usr/share/webapps/solid-community-server/config" \ - "$pkgdir/usr/share/webapps/solid-community-server/node_modules/@solid/community-server/config" - ln -s "$pkgdir/usr/share/webapps/solid-community-server/dist" \ - "$pkgdir/usr/share/webapps/solid-community-server/node_modules/@solid/community-server/dist" - ln -s "$pkgdir/usr/share/webapps/solid-community-server/templates" \ - "$pkgdir/usr/share/webapps/solid-community-server/node_modules/@solid/community-server/templates" - ln -s "$pkgdir/usr/share/webapps/solid-community-server/package.json" \ - "$pkgdir/usr/share/webapps/solid-community-server/node_modules/@solid/community-server/package.json" - - ln -s /usr/share/webapps/solid-community-server/bin/server.js \ - "$pkgdir"/usr/bin/solid-community-server - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname -} - -sha512sums=" -c5419ee7df527e61e244ee375479118a8f008efbf9f2a067f8a9afdea916c226cb2d90b3d7357cc58ea3175f74873cf607da79996ff38cadbdf2e4f93820986a solid-community-server-2.0.1-2.tar.gz -5d48353a2ee00411967dccbe37fa140134f734cf0f87fa04b489a05978b9a1e1ec8908ff003c5e25523345943672dde1eeb5e0b559d96407c67eb7f287601a53 solid-community-server.initd -d3866bbc93c6824df4786c5f57008933ffa373f4cb8a9c66836def88c52d8cc8b2b91d22f0631bec8363fe7209b8a829e438a1f26a7df66d9fdf4afc45ef59f2 disable-husky.patch -" diff --git a/unmaintained/solid-community-server/disable-husky.patch b/unmaintained/solid-community-server/disable-husky.patch deleted file mode 100644 index 3b6239ca936..00000000000 --- a/unmaintained/solid-community-server/disable-husky.patch +++ /dev/null @@ -1,73 +0,0 @@ -diff --git a/package-lock.json b/package-lock.json -index 6554d23..cfb3fd4 100644 ---- a/package-lock.json -+++ b/package-lock.json -@@ -90,7 +90,6 @@ - "eslint-plugin-tsdoc": "^0.2.14", - "eslint-plugin-unused-imports": "^1.1.1", - "fs-extra": "^10.0.0", -- "husky": "^4.3.8", - "jest": "^27.0.6", - "jest-rdf": "^1.6.0", - "manual-git-changelog": "^1.0.1", -@@ -9329,36 +9328,6 @@ - "node": ">=10.17.0" - } - }, -- "node_modules/husky": { -- "version": "4.3.8", -- "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz", -- "integrity": "sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==", -- "dev": true, -- "hasInstallScript": true, -- "dependencies": { -- "chalk": "^4.0.0", -- "ci-info": "^2.0.0", -- "compare-versions": "^3.6.0", -- "cosmiconfig": "^7.0.0", -- "find-versions": "^4.0.0", -- "opencollective-postinstall": "^2.0.2", -- "pkg-dir": "^5.0.0", -- "please-upgrade-node": "^3.2.0", -- "slash": "^3.0.0", -- "which-pm-runs": "^1.0.0" -- }, -- "bin": { -- "husky-run": "bin/run.js", -- "husky-upgrade": "lib/upgrader/bin.js" -- }, -- "engines": { -- "node": ">=10" -- }, -- "funding": { -- "type": "opencollective", -- "url": "https://opencollective.com/husky" -- } -- }, - "node_modules/husky/node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", -diff --git a/package.json b/package.json -index 2e04765..991488f 100644 ---- a/package.json -+++ b/package.json -@@ -63,11 +63,6 @@ - "version": "manual-git-changelog onversion", - "watch": "nodemon --watch \"dist/**/*.js\" --exec npm start" - }, -- "husky": { -- "hooks": { -- "pre-commit": "npm run build && npm run lint && npm run test:unit && npm run test:integration" -- } -- }, - "files": [ - "bin", - "dist", -@@ -153,7 +148,6 @@ - "eslint-plugin-tsdoc": "^0.2.14", - "eslint-plugin-unused-imports": "^1.1.1", - "fs-extra": "^10.0.0", -- "husky": "^4.3.8", - "jest": "^27.0.6", - "jest-rdf": "^1.6.0", - "manual-git-changelog": "^1.0.1", diff --git a/unmaintained/solid-community-server/solid-community-server.initd b/unmaintained/solid-community-server/solid-community-server.initd deleted file mode 100644 index d1f6003284e..00000000000 --- a/unmaintained/solid-community-server/solid-community-server.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -supervisor=supervise-daemon - -name="solid-community-server" -description="Daemon for solid-community-server, a Solid pod server" - -: ${config_file:="/usr/share/webapps/solid-community-server/config/file.json"} -: ${storage_path:="/var/lib/solid-community-server"} - -command="/usr/bin/solid-community-server" -command_args="-c $config_file -f $storage_path" -command_user=solid:solid -log_dir="/var/log/solid-community-server" -log_file="$log_dir/server.log" -supervise_daemon_args="--chdir $storage_path --stdout $log_file --stderr $log_file" - -depends() { - use logger - need net localmount -} - -start_pre() { - checkpath -d -o solid "$storage_path" - checkpath -d -o solid "$log_dir" - checkpath -f -o solid "$log_file" -} diff --git a/unmaintained/solid-community-server/solid-community-server.pre-install b/unmaintained/solid-community-server/solid-community-server.pre-install deleted file mode 100644 index ffe72ee819f..00000000000 --- a/unmaintained/solid-community-server/solid-community-server.pre-install +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -name=solid - -addgroup -S $name 2>/dev/null -adduser -S -D -H -h /var/lib/solid-community-server -s /sbin/nologin -G $name -g $name $name 2>/dev/null - -exit 0 diff --git a/unmaintained/solidity/APKBUILD b/unmaintained/solidity/APKBUILD deleted file mode 100644 index 70748968e6c..00000000000 --- a/unmaintained/solidity/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Trevis Schiffer <nikolaibitinit@gmail.com> -# Maintainer: Trevis Schiffer <nikolaibitinit@gmail.com> -pkgname=solidity -pkgver=0.7.5 -pkgrel=4 -_commit=51b20bc0872bb9049e205d5547023cb06d1df9db -pkgdesc="The Solidity Contract-Oriented Programming Language" -url="https://github.com/ethereum/solidity" -# No support for big-endian systems and 32-bits -arch="all !s390x !x86 !armv7 !armhf !riscv64" -license="GPL-3.0-or-later" -makedepends="boost-dev cmake git" -source="$pkgname-$pkgver.tar.gz::https://github.com/ethereum/solidity/archive/v$pkgver.tar.gz" - -prepare() { - default_prepare - echo -n $_commit > commit_hash.txt -} - -build() { - cmake -B build \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBoost_USE_STATIC_LIBS=OFF \ - -DTESTS=ON \ - -DCMAKE_BUILD_TYPE=None - cmake --build build -} - -check() { - cd build - # Broken tests - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -V -} - -package() { - DESTDIR="$pkgdir" cmake --build build --target install -} - -sha512sums=" -4fbe5e3eac0fe534f3a9eda554c2d020fe65537ebcdacea4e113cf8fcfffd6b99bcb94f2d853f9cb0b2b0195ba36b6dbc8be2ce5f7304eccd94d8bf936271f79 solidity-0.7.5.tar.gz -" diff --git a/unmaintained/speedometer/APKBUILD b/unmaintained/speedometer/APKBUILD deleted file mode 100644 index 902681747e0..00000000000 --- a/unmaintained/speedometer/APKBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Contributor: Matt Smith <mcs@darkregion.net> -# Maintainer: Matt Smith <mcs@darkregion.net> -pkgname=speedometer -pkgver=2.8 -pkgrel=0 -pkgdesc="Measure and display the rate of data across a network connection or data being stored in a file" -url="http://excess.org/speedometer/" -arch="noarch" -license="LGPL" -depends="python2 py2-urwid" -source="http://excess.org/$pkgname/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" - -package() { - cd "$builddir" - install -Dm755 speedometer.py "$pkgdir"/usr/bin/speedometer -} - -sha512sums="edbb712b2bf4e86272f821f9498cf0ee1d9fd18aefdc619fbe5f761086b46b62a6d418b7c32cc379562eec931d377636d8292a618221433148bff1418fc2cefa speedometer-2.8.tar.gz" diff --git a/unmaintained/st-xrdb/APKBUILD b/unmaintained/st-xrdb/APKBUILD deleted file mode 100644 index f0185c37341..00000000000 --- a/unmaintained/st-xrdb/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Base-Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Base-Maintainer: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: -pkgname=st-xrdb -pkgname_base=st -pkgver=0.8.4 -pkgrel=0 -pkgdesc="Simple terminal emulator for X, with X resource support" -url="https://st.suckless.org" -arch="all" -license="MIT" -depends="ncurses-terminfo" -makedepends="fontconfig-dev freetype-dev libx11-dev libxext-dev libxft-dev" -subpackages="$pkgname-doc $pkgname-dbg" -source="https://dl.suckless.org/$pkgname_base/$pkgname_base-$pkgver.tar.gz - st-xresources-20200604-9ba7ecf.patch" -options="!check" -builddir="$srcdir/$pkgname_base-$pkgver" - -prepare() { - default_prepare - cd "$builddir" - sed -i '/tic/d' Makefile -} - -build() { - make -C "$builddir" -} - -package() { - cd "$builddir" - - make install PREFIX=/usr DESTDIR="$pkgdir" -} - -sha512sums="f6f95081f9d09d442228bac1149d75d36a9f4f049b5504cf5ce00b353563ff92c62a2628ce728663fec107a14bea0eeb22b7a72804c37090de33819243d7512a st-0.8.4.tar.gz -1d3a9e780e76b19ea123948973d80d8c1f5a691c31c3e45ac62813d7d6b1c82fc3c170e7437615b4555d078835bc8065a06b758a9177b327119cf645f5d05736 st-xresources-20200604-9ba7ecf.patch" diff --git a/unmaintained/st-xrdb/st-xresources-20200604-9ba7ecf.patch b/unmaintained/st-xrdb/st-xresources-20200604-9ba7ecf.patch deleted file mode 100644 index 78ba00aecb7..00000000000 --- a/unmaintained/st-xrdb/st-xresources-20200604-9ba7ecf.patch +++ /dev/null @@ -1,184 +0,0 @@ -From 2752a599ee01305a435729bfacf43b1dde7cf0ef Mon Sep 17 00:00:00 2001 -From: Benji Encalada Mora <benji@encalada.dev> -Date: Thu, 4 Jun 2020 00:41:10 -0500 -Subject: [PATCH] fix: replace xfps and actionfps variables - ---- - config.def.h | 36 ++++++++++++++++++++++++ - x.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 110 insertions(+), 4 deletions(-) - -diff --git a/config.def.h b/config.def.h -index 6f05dce..9b99782 100644 ---- a/config.def.h -+++ b/config.def.h -@@ -168,6 +168,42 @@ static unsigned int defaultattr = 11; - */ - static uint forcemousemod = ShiftMask; - -+/* -+ * Xresources preferences to load at startup -+ */ -+ResourcePref resources[] = { -+ { "font", STRING, &font }, -+ { "color0", STRING, &colorname[0] }, -+ { "color1", STRING, &colorname[1] }, -+ { "color2", STRING, &colorname[2] }, -+ { "color3", STRING, &colorname[3] }, -+ { "color4", STRING, &colorname[4] }, -+ { "color5", STRING, &colorname[5] }, -+ { "color6", STRING, &colorname[6] }, -+ { "color7", STRING, &colorname[7] }, -+ { "color8", STRING, &colorname[8] }, -+ { "color9", STRING, &colorname[9] }, -+ { "color10", STRING, &colorname[10] }, -+ { "color11", STRING, &colorname[11] }, -+ { "color12", STRING, &colorname[12] }, -+ { "color13", STRING, &colorname[13] }, -+ { "color14", STRING, &colorname[14] }, -+ { "color15", STRING, &colorname[15] }, -+ { "background", STRING, &colorname[256] }, -+ { "foreground", STRING, &colorname[257] }, -+ { "cursorColor", STRING, &colorname[258] }, -+ { "termname", STRING, &termname }, -+ { "shell", STRING, &shell }, -+ { "minlatency", INTEGER, &minlatency }, -+ { "maxlatency", INTEGER, &maxlatency }, -+ { "blinktimeout", INTEGER, &blinktimeout }, -+ { "bellvolume", INTEGER, &bellvolume }, -+ { "tabspaces", INTEGER, &tabspaces }, -+ { "borderpx", INTEGER, &borderpx }, -+ { "cwscale", FLOAT, &cwscale }, -+ { "chscale", FLOAT, &chscale }, -+}; -+ - /* - * Internal mouse shortcuts. - * Beware that overloading Button1 will disable the selection. -diff --git a/x.c b/x.c -index 210f184..76f167f 100644 ---- a/x.c -+++ b/x.c -@@ -14,6 +14,7 @@ - #include <X11/keysym.h> - #include <X11/Xft/Xft.h> - #include <X11/XKBlib.h> -+#include <X11/Xresource.h> - - char *argv0; - #include "arg.h" -@@ -45,6 +46,19 @@ typedef struct { - signed char appcursor; /* application cursor */ - } Key; - -+/* Xresources preferences */ -+enum resource_type { -+ STRING = 0, -+ INTEGER = 1, -+ FLOAT = 2 -+}; -+ -+typedef struct { -+ char *name; -+ enum resource_type type; -+ void *dst; -+} ResourcePref; -+ - /* X modifiers */ - #define XK_ANY_MOD UINT_MAX - #define XK_NO_MOD 0 -@@ -828,8 +842,8 @@ xclear(int x1, int y1, int x2, int y2) - void - xhints(void) - { -- XClassHint class = {opt_name ? opt_name : termname, -- opt_class ? opt_class : termname}; -+ XClassHint class = {opt_name ? opt_name : "st", -+ opt_class ? opt_class : "St"}; - XWMHints wm = {.flags = InputHint, .input = 1}; - XSizeHints *sizeh; - -@@ -1104,8 +1118,6 @@ xinit(int cols, int rows) - pid_t thispid = getpid(); - XColor xmousefg, xmousebg; - -- if (!(xw.dpy = XOpenDisplay(NULL))) -- die("can't open display\n"); - xw.scr = XDefaultScreen(xw.dpy); - xw.vis = XDefaultVisual(xw.dpy, xw.scr); - -@@ -1964,6 +1976,59 @@ run(void) - } - } - -+int -+resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst) -+{ -+ char **sdst = dst; -+ int *idst = dst; -+ float *fdst = dst; -+ -+ char fullname[256]; -+ char fullclass[256]; -+ char *type; -+ XrmValue ret; -+ -+ snprintf(fullname, sizeof(fullname), "%s.%s", -+ opt_name ? opt_name : "st", name); -+ snprintf(fullclass, sizeof(fullclass), "%s.%s", -+ opt_class ? opt_class : "St", name); -+ fullname[sizeof(fullname) - 1] = fullclass[sizeof(fullclass) - 1] = '\0'; -+ -+ XrmGetResource(db, fullname, fullclass, &type, &ret); -+ if (ret.addr == NULL || strncmp("String", type, 64)) -+ return 1; -+ -+ switch (rtype) { -+ case STRING: -+ *sdst = ret.addr; -+ break; -+ case INTEGER: -+ *idst = strtoul(ret.addr, NULL, 10); -+ break; -+ case FLOAT: -+ *fdst = strtof(ret.addr, NULL); -+ break; -+ } -+ return 0; -+} -+ -+void -+config_init(void) -+{ -+ char *resm; -+ XrmDatabase db; -+ ResourcePref *p; -+ -+ XrmInitialize(); -+ resm = XResourceManagerString(xw.dpy); -+ if (!resm) -+ return; -+ -+ db = XrmGetStringDatabase(resm); -+ for (p = resources; p < resources + LEN(resources); p++) -+ resource_load(db, p->name, p->type, p->dst); -+} -+ - void - usage(void) - { -@@ -2037,6 +2102,11 @@ run: - - setlocale(LC_CTYPE, ""); - XSetLocaleModifiers(""); -+ -+ if(!(xw.dpy = XOpenDisplay(NULL))) -+ die("Can't open display\n"); -+ -+ config_init(); - cols = MAX(cols, 1); - rows = MAX(rows, 1); - tnew(cols, rows); --- -2.26.2 - diff --git a/unmaintained/stalld/APKBUILD b/unmaintained/stalld/APKBUILD deleted file mode 100644 index 7dd997ef037..00000000000 --- a/unmaintained/stalld/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Milan P. Stanić <mps@arvanta.net> -# Maintainer: -pkgname=stalld -pkgver=1.6 -pkgrel=0 -pkgdesc="daemon that finds starving tasks and gives them a temporary boost" -url="https://git.kernel.org/pub/scm/utils/stalld/stalld.git/" -arch="all !mips64" # missing sched_getattr/sched_setattr syscalls -license="GPL-2.0-or-later" -makedepends="linux-headers" -options="!check" # no make test -subpackages="$pkgname-doc" -source="https://git.kernel.org/pub/scm/utils/stalld/stalld.git/snapshot/stalld-$pkgver.tar.gz - fix-test01.patch - fix-on_exit.patch" - -build() { - make -} - -package() { - make BINDIR=/usr/sbin DESTDIR=$pkgdir install - rm -rf $pkgdir/usr/share/doc - rm -rf $pkgdir/usr/share/licenses -} - -sha512sums="34d01d4e7ac09863eda90f9eb9f34b2652e0c4862dca6efa6cc4028022085237d8d67461a9f9c692950c9c6b8a0c334163ef3f59d31046e3010cee8304629028 stalld-1.6.tar.gz -2595a74564868683145cb748cfb8be6062bdc80373266373bc73491b2cb59dc6152c1fd15d36b13b1040c15f0031158531212082349f2360a6988f68e8af5ad3 fix-test01.patch -599d4bd5d53b3218f7aabf3409568c530aecac4c3ceb1b9771eb94c0312aaae41ed67af65f26f4c01679344184ea4fe7bddb0ac6c5395a7fcde075e59eef5237 fix-on_exit.patch" diff --git a/unmaintained/stalld/fix-on_exit.patch b/unmaintained/stalld/fix-on_exit.patch deleted file mode 100644 index dd3fcb84d47..00000000000 --- a/unmaintained/stalld/fix-on_exit.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/throttling.c 2021-01-26 14:54:03.000000000 +0000 -+++ b/src/throttling.c 2021-02-01 10:59:42.410317713 +0000 -@@ -83,7 +83,7 @@ - if (status < 0) - die("turn_off_rt_throttling: unable to write -1 to %s", RT_RUNTIME_PATH); - close(fd); -- on_exit(restore_rt_throttling, NULL); -+ atexit(&restore_rt_throttling); - log_msg("RT Throttling disabled\n"); - return 0; - } diff --git a/unmaintained/stalld/fix-test01.patch b/unmaintained/stalld/fix-test01.patch deleted file mode 100644 index aabef4042df..00000000000 --- a/unmaintained/stalld/fix-test01.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/tests/test01.c 2021-01-26 14:54:03.000000000 +0000 -+++ b/tests/test01.c 2021-02-01 10:44:05.788144855 +0000 -@@ -136,7 +136,7 @@ - - CPU_ZERO(&cpuset); - CPU_SET(cpu, &cpuset); -- status = pthread_attr_setaffinity_np(&attr, sizeof(cpuset), &cpuset); -+ status = pthread_setaffinity_np(&attr, sizeof(cpuset), &cpuset); - if (status != 0) { - error("failed to set blocker affinity to cpu %d: %s\n", - cpu, strerror(errno)); diff --git a/unmaintained/stargazer/APKBUILD b/unmaintained/stargazer/APKBUILD deleted file mode 100644 index 1adcde13262..00000000000 --- a/unmaintained/stargazer/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Alexander Georgievskiy <galeksandrp@gmail.com> -# Maintainer: -pkgname=stargazer -_pkgname=stg -pkgver=2.408 -pkgrel=0 -pkgdesc="A billing system for small home and office networks" -url="http://www.stg.dp.ua" -arch="all" -license="GPL-2.0-or-later" -depends="" -makedepends="expat-dev linux-headers" -install="" -subpackages="$pkgname-dev" -source="http://www.$_pkgname.dp.ua/download/server/$pkgver/$_pkgname-$pkgver.tar.gz - fix-name-max.patch - " -builddir="$srcdir/$_pkgname-$pkgver" -options="!check" - -prepare() { - default_prepare - cd "$builddir/projects/$pkgname" - sed 's/.*capture\/ipq_linux//' -i build -} - -build() { - cd "$builddir/projects/$pkgname" - ./build -} - -package() { - cd "$builddir/projects/$pkgname" - mkdir -p "$pkgdir/usr/sbin" - make PREFIX="$pkgdir" install -} - -sha512sums="200e08cfd629dbacda31ffd3134c2908a1ad58604421cc288ad0ec1bdcd60fe021d51fed50fdc2517bb7c2b61ef23b0b9c71a606babd09bc7804cb899e0b7f75 stg-2.408.tar.gz -b7572654091490bab39a6d6da081133df041df80f38f9de77156719ad05083dfa570a7a6df5db74ee30f3d22270271bd27a8793b6c0ee40ea123ddb4af11d6ec fix-name-max.patch" diff --git a/unmaintained/stargazer/fix-name-max.patch b/unmaintained/stargazer/fix-name-max.patch deleted file mode 100644 index 987aef9d794..00000000000 --- a/unmaintained/stargazer/fix-name-max.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- stg-2.408/stglibs/common.lib/include/stg/common.h.orig 2017-08-29 13:08:12.574050223 +0300 -+++ stg-2.408/stglibs/common.lib/include/stg/common.h 2017-08-29 13:08:44.261161176 +0300 -@@ -33,6 +33,7 @@ - #include <ctime> - #endif - #include <string> -+#include <limits.h> - - #include "stg/os_int.h" - #include "stg/const.h" diff --git a/unmaintained/stdx-allocator/APKBUILD b/unmaintained/stdx-allocator/APKBUILD deleted file mode 100644 index b26e54b03c2..00000000000 --- a/unmaintained/stdx-allocator/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> -pkgname=stdx-allocator -pkgver=3.1.0_beta2 -_betanum=${pkgver/${pkgver%beta*}/} -_pkgver=${pkgver/_$_betanum/} -_verstring=$_pkgver-${_betanum/ta/ta.} -pkgrel=1 -pkgdesc="Extracted std.experimental.allocator for usage via DUB" -url="https://github.com/dlang-community/stdx-allocator" -arch="x86_64 aarch64" # ldc -license="BSL-1.0" -makedepends="meson ldc ldc-runtime mir-core-dev" -subpackages="$pkgname-dev" -options="!check" # region.d(759) failing -source="https://github.com/dlang-community/stdx-allocator/archive/v$_verstring/stdx-allocator-$_verstring.tar.gz" -builddir="$srcdir/stdx-allocator-$_verstring" - -build() { - abuild-meson . output - meson compile ${JOBS:+-j ${JOBS}} -C output -} - -check() { - meson test --no-rebuild -v -C output -} - -package() { - DESTDIR="$pkgdir" meson install --no-rebuild -C output -} - -sha512sums="74089666471ca23df66ace2c3d57e828fe7282344c1a0f9e14c0db13b8d842d3f60385181a3a8953fd193a1dbf6ca6828a561306636ab05c6ebe952b97993cfe stdx-allocator-3.1.0-beta.2.tar.gz" diff --git a/unmaintained/swfdec-mozilla/APKBUILD b/unmaintained/swfdec-mozilla/APKBUILD deleted file mode 100644 index 39699fe2943..00000000000 --- a/unmaintained/swfdec-mozilla/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=swfdec-mozilla -pkgver=0.9.2 -pkgrel=0 -pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files" -url="http://swfdec.freedesktop.org" -arch="all !aarch64" -license="LGPL" -makedepends="swfdec-dev" -depends= -source="http://swfdec.freedesktop.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - cd "$_builddir" - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --disable-static \ - --with-plugin-dir=/usr/lib/mozilla/plugins/ \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="5e19c365d02f1ece2e7caec13c2b23d4 swfdec-mozilla-0.9.2.tar.gz" -sha256sums="8c8cfb52b47efabefab90577fb118ab2699c803cebbc82891700f8e2d712343b swfdec-mozilla-0.9.2.tar.gz" -sha512sums="202681ad3d08058d72c6980cf90508968d9ce96aa88c86a545f2b5f5fdf107b488200bee444c829c4c5e30c3723ac98e797d5031afc27dc559319aac774db3fa swfdec-mozilla-0.9.2.tar.gz" diff --git a/unmaintained/sword/00-fflush.patch b/unmaintained/sword/00-fflush.patch deleted file mode 100644 index 79f0649f65d..00000000000 --- a/unmaintained/sword/00-fflush.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/utilities/installmgr.cpp b/utilities/installmgr.cpp -index b705c25..132314a 100644 ---- a/utilities/installmgr.cpp -+++ b/utilities/installmgr.cpp -@@ -73,6 +73,7 @@ virtual bool isUserDisclaimerConfirmed() const { - cout << "If you understand this and are willing to enable remote source features\n"; - cout << "then type yes at the prompt\n\n"; - cout << "enable? [no] "; -+ fflush(stdout); - - char prompt[10]; - fgets(prompt, 9, stdin); diff --git a/unmaintained/sword/01-osisxhtml-super.patch b/unmaintained/sword/01-osisxhtml-super.patch deleted file mode 100644 index dec1de72ee9..00000000000 --- a/unmaintained/sword/01-osisxhtml-super.patch +++ /dev/null @@ -1,16 +0,0 @@ -Fix superscripts in OSIS->xhtml translations, based on a fix -by Karl Kleinpaste (revision 3375 in SVN) - -diff --git a/src/modules/filters/osisxhtml.cpp b/src/modules/filters/osisxhtml.cpp -index fb743e2..759acc4 100644 ---- a/src/modules/filters/osisxhtml.cpp -+++ b/src/modules/filters/osisxhtml.cpp -@@ -617,7 +617,7 @@ bool OSISXHTML::handleToken(SWBuf &buf, const char *token, BasicFilterUserData * - else if (type == "ol") { - outText("</span>", buf, u); - } -- else if (type == "sup") { -+ else if (type == "super") { - outText("</sup>", buf, u); - } - else if (type == "sub") { diff --git a/unmaintained/sword/APKBUILD b/unmaintained/sword/APKBUILD deleted file mode 100644 index 063f2cd684d..00000000000 --- a/unmaintained/sword/APKBUILD +++ /dev/null @@ -1,75 +0,0 @@ -# Contributor: Isaac Dunham <ibid.ag@gmail.com> -# Maintainer: Isaac Dunham <ibid.ag@gmail.com> -pkgname=sword -pkgver=1.7.4 -pkgrel=6 -pkgdesc="Library for free Bible software" -url="http://www.crosswire.org/sword/" -arch="all" -license="GPL-2.0" -depends="" -# all are optional but desireable; clucene-dev could be replaced with -# new --with-cxx11regex or --with-internalregex, -# but currently c++11 regex leads to this error in diatheke: -# terminate called after throwing an instance of 'std::runtime_error' -# what(): locale::facet::_S_create_c_locale name not valid -# Aborted -# This might be fixed by the musl locale rework. -# curl-dev is needed for standard packages. -depends_dev="zlib-dev icu-dev curl-dev clucene-dev" -makedepends="$depends_dev" -pkggroups="sword" -install="$pkgname.pre-install" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-utils" -source="http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-$pkgver.tar.gz - 00-fflush.patch - 01-osisxhtml-super.patch - " - -builddir="$srcdir"/sword-$pkgver -build() { - cd "$builddir" - export CXXFLAGS="$CXXFLAGS -std=gnu++98" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-icu --with-zlib \ - --with-curl --with-curl_sftp \ - --with-clucene=/usr - make -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - mkdir -p -m775 "$pkgdir/var/lib/sword/modules" && \ - mv "$pkgdir/usr/share/sword/mods.d" "$pkgdir/var/lib/sword/" && \ - chown root:sword "$pkgdir"/var/lib/sword/mod* && \ - chmod -R 0775 "$pkgdir/var/lib/sword/mods.d" && \ - sed -e 's|\(DataPath=\).*|\1/var/lib/sword/|g' \ - -i "$pkgdir/etc/sword.conf" - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING - for i in INSTALL README ChangeLog; do - install -Dm644 $i "$pkgdir"/usr/share/doc/sword/$i - done -} - -lang() { - mkdir -p "$subpkgdir"/usr/share/sword/ - mv "$pkgdir"/usr/share/sword/locales.d "$subpkgdir"/usr/share/sword/ -} - -utils() { - cd "$pkgdir" - mkdir -p "$subpkgdir"/usr/bin - mv usr/bin/* "$subpkgdir"/usr/bin -} - -sha512sums="4c8b183e613367364439cc7a8a842012f75180fccc8eb775b9af2dc4c10f39c152261d35f0aadaaa91a11df36ab1a4057c2edc50ea4b0b3bb0ab0a847ff68f75 sword-1.7.4.tar.gz -6f6c13e7d04458e73d36c114017ad9e76e04c991adb8e457a0b55ce09fcaa95f33b2c26b73c2fd28591f07b69d3d03c1db6d08676001b3a45e0b66b22cb47dc0 00-fflush.patch -98490104a0ef91497a3add3f078158b6fa57c73fc4028f26392716a0efb0957fd029a25239e04a2aa11ebd80583a23a9520a34d18bbf05ff54511d10bdd22bbe 01-osisxhtml-super.patch" diff --git a/unmaintained/sword/sword.pre-install b/unmaintained/sword/sword.pre-install deleted file mode 100755 index 2ebce6d5640..00000000000 --- a/unmaintained/sword/sword.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -echo "Adding 'sword' group for installing SWORD modules systemwide" -addgroup -S sword 2>/dev/null - -exit 0 diff --git a/unmaintained/tarantool/APKBUILD b/unmaintained/tarantool/APKBUILD deleted file mode 100644 index 177b7cec631..00000000000 --- a/unmaintained/tarantool/APKBUILD +++ /dev/null @@ -1,102 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: -pkgname=tarantool -pkgver=1.7.4.335 -_series=${pkgver%.*}; _series=${_series%.*} # x.y -pkgrel=8 -pkgdesc="Lua application server integrated with a database management system" -url="https://tarantool.org" -# x86, aarch64: fails to build -# armhf: zstd not available (fails to build) -# ppc64le: not supported by LuaJIT w/o patches -# s390x: not supported by LuaJIT -arch="" -license="BSD-2-Clause MIT Public-Domain" -pkgusers="$pkgname" -pkggroups="$pkgname" -install="$pkgname.pre-install" -checkdepends="python2-dev py2-argparse py2-gevent py2-msgpack py2-six py2-yaml" -makedepends="cmake curl-dev luajit-dev libcoro-dev openssl-dev msgpuck-dev - perl python2 readline-dev yaml-dev zstd-dev" -subpackages="$pkgname-dev $pkgname-doc" -source="http://download.tarantool.org/tarantool/$_series/src/$pkgname-$pkgver.tar.gz - $pkgname.initd - unbundle-dependencies.patch - tests-musl-compat.patch - tests-libressl-compat.patch - fix-compilation-with-libcurl-7.62.0.patch - " -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - default_prepare - cd "$builddir" - - # XXX: This test doesn't work, probably due to fakeroot. - rm test/xlog-py/misc.test.py - - # msgpuck.h is in /usr/include, not /usr/include/msgpuck. - find . -name '*.c' -o -name '*.cc' \ - | xargs -n 1 sed -Ei 's|#include\s*["<]msgpuck/msgpuck\.h[">]|#include <msgpuck.h>|' - - # Remove bundled libraries. - rm -r src/lib/msgpuck - cd third_party - rm -r coro libyaml zstd -} - -build() { - cd "$builddir" - - # Bundled libraries: - # - libgopt (Public Domain): probably patched, it does not correspond - # to 8.1 as stated in header - # - luajit (MIT): tarantool requires non-exported symbols, so cannot link - # dynamically; linking with system static libluajit doesn't work too - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_SYSCONFDIR=/etc \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DENABLE_BUNDLED_LIBCORO=OFF \ - -DENABLE_BUNDLED_LIBGOPT=ON \ - -DENABLE_BUNDLED_LIBYAML=OFF \ - -DENABLE_BUNDLED_LUAJIT=ON \ - -DENABLE_BUNDLED_MSGPUCK=OFF \ - -DENABLE_BUNDLED_ZSTD=OFF \ - -DENABLE_DIST=ON \ - -DWITH_SYSVINIT=OFF \ - -DWITH_SYSTEMD=OFF - make VERBOSE=1 -j2 # there's some problem with parallel build -} - -check() { - cd "$builddir"/test - - ../src/tarantool --help > /dev/null - - # TODO: Some tests are broken, fix it! - # --force means that it will not stop after first error. - #python2 test-run.py --force -} - -package() { - cd "$builddir" - - make DESTDIR="$pkgdir" install - rm -R "$pkgdir"/etc/default - - install -Dm755 "$srcdir"/tarantool.initd "$pkgdir"/etc/init.d/tarantool -} - -sha512sums="c95a6900d9e9b9963bb038f28f3e47d0f8fd66159efef99b98b792cd08748481043d9a2a39c1c455094725e1ac213df731280587b93746ecb7bea2431deb7bf3 tarantool-1.7.4.335.tar.gz -fe463c4b6ab8708ea6ec17bb6a887677ae131a489d2ce299ce951790b7c134ff356bc1a4d4745878beec3600ec702944c2329a3f02645f8ab0a0eb24edb6215a tarantool.initd -b48eefdf71e20db22c4366e4573441a0d4e5f6e727fc23b2b41534e8d5cc7dc9cc08baf2bf1cf1950c7b0e211920abb4254c2d1e972ec884db25800820824f2c unbundle-dependencies.patch -f6fec037780f830eb353b184d190b5dc8b481164c9cd06991f921d70be8cababb5dba43e5af96abe6fb87fda44c5573d706f7b032bc996d33debb7811b84addb tests-musl-compat.patch -146744f2e7265de2644c03d7beb6ce1657b63a99db9c4527cb603c915082dc1184a90e92ba39bfb946f2f8f7a2b866cc8343c7e865d4245fe704447a59cc4846 tests-libressl-compat.patch -db687fee5cc6cc975d560f17abf51a6a258a964ab1322ee5d209a153d98c80263fc36f0ae8e78d480dc9f0fb68d4de1e01174d111eb21e794c89d38934b85b01 fix-compilation-with-libcurl-7.62.0.patch" diff --git a/unmaintained/tarantool/fix-compilation-with-libcurl-7.62.0.patch b/unmaintained/tarantool/fix-compilation-with-libcurl-7.62.0.patch deleted file mode 100644 index 41d5cc5382b..00000000000 --- a/unmaintained/tarantool/fix-compilation-with-libcurl-7.62.0.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 02da15f7109b8bb7921eb97a751607b9dd2885b2 Mon Sep 17 00:00:00 2001 -From: Vladimir Davydov <vdavydov.dev@gmail.com> -Date: Thu, 1 Nov 2018 13:35:24 +0300 -Subject: [PATCH] httpc: fix compilation with libcurl >= 7.62.0 - -Starting from libcurl 7.62.0, CURL_SSL_CACERT is defined as a macro -alias to CURLE_PEER_FAILED_VERIFICATION, see - - https://github.com/curl/curl/commit/3f3b26d6feb0667714902e836af608094235fca2 - -This breaks compilation: - - httpc.c:337:7: error: duplicate case value 'CURLE_PEER_FAILED_VERIFICATION' - case CURLE_PEER_FAILED_VERIFICATION: - ^ - httpc.c:336:7: note: previous case defined here - case CURLE_SSL_CACERT: - ^ - curl.h:589:26: note: expanded from macro 'CURLE_SSL_CACERT' - #define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION - ^ - -Fix this by using CURLE_SSL_CACERT only if libcurl version is less -than 7.62.0. - -Note, we can't use CURL_AT_LEAST_VERSION to check libcurl version, -because it isn't available in libcurl shipped with CentOS 6. ---- - src/httpc.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/httpc.c b/src/httpc.c -index 4d48a313d8..950f8b32f6 100644 ---- a/src/httpc.c -+++ b/src/httpc.c -@@ -333,7 +333,9 @@ httpc_execute(struct httpc_request *req, double timeout) - ++env->stat.http_other_responses; - } - break; -- case CURLE_SSL_CACERT: -+#if LIBCURL_VERSION_NUM < 0x073e00 -+ case CURLE_SSL_CACERT: /* deprecated in libcurl 7.62.0 */ -+#endif - case CURLE_PEER_FAILED_VERIFICATION: - /* 495 SSL Certificate Error (nginx non-standard) */ - req->status = 495; diff --git a/unmaintained/tarantool/tarantool.initd b/unmaintained/tarantool/tarantool.initd deleted file mode 100644 index 18bc5c128ff..00000000000 --- a/unmaintained/tarantool/tarantool.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run - -INSTANCE=default -[ "${RC_SVCNAME}" != "${RC_SVCNAME##*.}" ] && INSTANCE=${RC_SVCNAME##*.} -command="/usr/bin/tarantoolctl" -command_user="${TARANTOOL_USER:-tarantool}" -command_args="start ${INSTANCE}" -pidfile="/run/${INSTANCE}.pid" - -depend() { - use logger dns - need net - after firewall -} - -start_pre() { - checkpath --owner ${TARANTOOL_USER:-tarantool}:${TARANTOOL_USER:-tarantool} \ - --directory --mode 0775 /var/log/tarantool /var/run/tarantool -} diff --git a/unmaintained/tarantool/tarantool.pre-install b/unmaintained/tarantool/tarantool.pre-install deleted file mode 100644 index ba1ed08258d..00000000000 --- a/unmaintained/tarantool/tarantool.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S tarantool 2>/dev/null -adduser -S -D -h /var/lib/tarantool -s /sbin/nologin -G tarantool -g tarantool tarantool 2>/dev/null - -exit 0 diff --git a/unmaintained/tarantool/tests-libressl-compat.patch b/unmaintained/tarantool/tests-libressl-compat.patch deleted file mode 100644 index 7816bf406a9..00000000000 --- a/unmaintained/tarantool/tests-libressl-compat.patch +++ /dev/null @@ -1,35 +0,0 @@ -Fix crypto/digest tests to be compatible with LibreSSL. - ---- a/test/app/crypto.result -+++ b/test/app/crypto.result -@@ -111,13 +111,13 @@ - ... - ciph.decrypt(enc, bad_pass, iv) - --- --- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06065064:digital envelope -- routines:EVP_DecryptFinal_ex:bad decrypt' -+- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06FFF064:digital envelope -+ routines:CRYPTO_internal:bad decrypt' - ... - ciph.decrypt(enc, pass, bad_iv) - --- --- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06065064:digital envelope -- routines:EVP_DecryptFinal_ex:bad decrypt' -+- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06FFF064:digital envelope -+ routines:CRYPTO_internal:bad decrypt' - ... - test_run:cmd("clear filter") - --- ---- a/test/app/digest.result -+++ b/test/app/digest.result -@@ -445,8 +445,8 @@ - ... - digest.aes256cbc.decrypt(digest.aes256cbc.encrypt('test123', 'passpasspasspasspasspasspasspass', 'iv12tras8712cvbh'), 'nosspasspasspasspasspasspasspass', 'iv12tras8712cvbh') - --- --- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06065064:digital envelope -- routines:EVP_DecryptFinal_ex:bad decrypt' -+- error: 'builtin/crypto.lua:<line>"]: Can''t finalize cipher:error:06FFF064:digital envelope -+ routines:CRYPTO_internal:bad decrypt' - ... - digest = nil - --- diff --git a/unmaintained/tarantool/tests-musl-compat.patch b/unmaintained/tarantool/tests-musl-compat.patch deleted file mode 100644 index f39fb8735b5..00000000000 --- a/unmaintained/tarantool/tests-musl-compat.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix fiber test to be compatible with musl libc. - ---- a/test/unit/fiber.result -+++ b/test/unit/fiber.result -@@ -1,6 +1,6 @@ --#gh-1238: log uncaught errors --SystemError Failed to allocate 42 bytes in allocator for exception: Cannot allocate memory - *** fiber_name_test *** -+#gh-1238: log uncaught errors -+SystemError Failed to allocate 42 bytes in allocator for exception: Out of memory - # name of a new fiber: main. - - # set new fiber name: Horace. diff --git a/unmaintained/tarantool/unbundle-dependencies.patch b/unmaintained/tarantool/unbundle-dependencies.patch deleted file mode 100644 index 864873e3f92..00000000000 --- a/unmaintained/tarantool/unbundle-dependencies.patch +++ /dev/null @@ -1,266 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -330,18 +330,29 @@ - # in the top level CMakeLists.txt, to ensure a consistent - # header file layout across the entire project. - # --set(ENABLE_BUNDLED_LIBCORO ON) --include(BuildLibCORO) --libcoro_build() --add_dependencies(build_bundled_libs coro) -+option(ENABLE_BUNDLED_LIBCORO "Enable building of the bundled libcoro" ON) -+if (ENABLE_BUNDLED_LIBCORO) -+ include(BuildLibCORO) -+ libcoro_build() -+ add_dependencies(build_bundled_libs coro) -+else() -+ set(LIBCORO_FIND_REQUIRED ON) -+ find_package(LibCORO) -+endif() - - # - # LibGOPT - # - --include(BuildLibGOPT) --libgopt_build() --add_dependencies(build_bundled_libs gopt) -+option(ENABLE_BUNDLED_LIBGOPT "Enable building of the bundled gopt" ON) -+if (ENABLE_BUNDLED_LIBGOPT) -+ include(BuildLibGOPT) -+ libgopt_build() -+ add_dependencies(build_bundled_libs gopt) -+else() -+ set(LIBGOPT_FIND_REQUIRED ON) -+ find_package(LibGOPT) -+endif() - - # - # MsgPuck -@@ -377,11 +388,14 @@ - # zstd - # - --# Debian: missing zstd_static.h in libzstd-dev --# Fedora: not found --# => always use bundled version --include(BuildZSTD) --zstd_build() -+option(ENABLE_BUNDLED_ZSTD "Enable building of the bundled zstd" ON) -+if (ENABLE_BUNDLED_ZSTD) -+ include(BuildZSTD) -+ zstd_build() -+else() -+ set(LIBZSTD_FIND_REQUIRED ON) -+ find_package(ZSTD) -+endif() - - # - # OpenSSL ---- /dev/null -+++ b/cmake/FindLibCORO.cmake -@@ -0,0 +1,24 @@ -+find_path(LIBCORO_INCLUDE_DIR -+ NAMES coro.h -+) -+ -+find_library(LIBCORO_LIBRARY -+ NAMES libcoro.a coro -+) -+ -+set(LIBCORO_INCLUDE_DIRS "${LIBCORO_INCLUDE_DIR}") -+set(LIBCORO_LIBRARIES "${LIBCORO_LIBRARY}") -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(LIBCORO REQUIRED_VARS -+ LIBCORO_LIBRARIES LIBCORO_INCLUDE_DIRS) -+ -+mark_as_advanced(LIBCORO_LIBRARY LIBCORO_LIBRARIES -+ LIBCORO_INCLUDE_DIR LIBCORO_INCLUDE_DIRS) -+ -+if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "86" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "amd64" -+ OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") -+ add_definitions("-DCORO_ASM") -+else() -+ add_definitions("-DCORO_SJLJ") -+endif() ---- /dev/null -+++ b/cmake/FindLibGOPT.cmake -@@ -0,0 +1,17 @@ -+find_path(LIBGOPT_INCLUDE_DIR -+ NAMES gopt.h -+) -+ -+find_library(LIBGOPT_LIBRARY -+ NAMES libgopt.a gopt -+) -+ -+set(LIBGOPT_INCLUDE_DIRS "${LIBGOPT_INCLUDE_DIR}") -+set(LIBGOPT_LIBRARIES "${LIBGOPT_LIBRARY}") -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(LIBGOPT REQUIRED_VARS -+ LIBGOPT_LIBRARIES LIBGOPT_INCLUDE_DIRS) -+ -+mark_as_advanced(LIBGOPT_LIBRARY LIBGOPT_LIBRARIES -+ LIBGOPT_INCLUDE_DIR LIBGOPT_INCLUDE_DIRS) ---- /dev/null -+++ b/cmake/FindZSTD.cmake -@@ -0,0 +1,17 @@ -+find_path(ZSTD_INCLUDE_DIR -+ NAMES zstd.h -+) -+ -+find_library(ZSTD_LIBRARY -+ NAMES zstd -+) -+ -+set(ZSTD_INCLUDE_DIRS "${ZSTD_INCLUDE_DIR}") -+set(ZSTD_LIBRARIES "${ZSTD_LIBRARY}") -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(ZSTD REQUIRED_VARS -+ ZSTD_LIBRARIES ZSTD_INCLUDE_DIRS) -+ -+mark_as_advanced(ZSTD_LIBRARY ZSTD_LIBRARIES -+ ZSTD_INCLUDE_DIR ZSTD_INCLUDE_DIRS) ---- a/src/main.cc -+++ b/src/main.cc -@@ -67,7 +67,7 @@ - #include "random.h" - #include "tt_uuid.h" - #include "iobuf.h" --#include <third_party/gopt/gopt.h> -+#include <gopt.h> - #include "cfg.h" - #include "version.h" - #include <readline/readline.h> ---- a/src/fiber.h -+++ b/src/fiber.h -@@ -44,7 +44,7 @@ - #include "small/rlist.h" - #include "salad/stailq.h" - --#include <third_party/coro/coro.h> -+#include <coro.h> - - #if defined(__cplusplus) - extern "C" { ---- a/src/opts.c -+++ b/src/opts.c -@@ -31,7 +31,7 @@ - #include "trivia/config.h" - #include <stddef.h> - --#include <third_party/gopt/gopt.h> -+#include <gopt.h> - - const void *opt_def = - gopt_start( ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -47,15 +47,15 @@ - lua_source(lua_sources lua/httpc.lua) - lua_source(lua_sources lua/iconv.lua) - # LuaJIT jit.* library --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/bc.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/bcsave.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/dis_x86.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/dis_x64.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/dump.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/vmdef.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/v.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/p.lua") --lua_source(lua_sources "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit/zone.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/bc.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/bcsave.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/dis_x86.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/dis_x64.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/dump.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/vmdef.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/v.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/p.lua") -+lua_source(lua_sources "${LUAJIT_JITLIB_DIR}/zone.lua") - - add_custom_target(generate_lua_sources - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src/box - -@@ -197,10 +197,11 @@ - # Rule of thumb: if exporting a symbol from a static library, list the - # library here. - set (reexport_libraries server core misc bitset csv -- ${LUAJIT_LIBRARIES} ${MSGPUCK_LIBRARIES}) -+ ${MSGPUCK_LIBRARIES}) - - set (common_libraries - ${reexport_libraries} -+ ${LUAJIT_LIBRARIES} - ${LIBEIO_LIBRARIES} - ${LIBGOPT_LIBRARIES} - ${LIBYAML_LIBRARIES} ---- a/cmake/luajit.cmake -+++ b/cmake/luajit.cmake -@@ -38,6 +38,7 @@ - set (LUAJIT_PREFIX "${LUAJIT_BUNDLED_PREFIX}") - set (LUAJIT_INCLUDE "${PROJECT_SOURCE_DIR}/third_party/luajit/src") - set (LUAJIT_LIB "${LUAJIT_BUNDLED_LIB}") -+ set (LUAJIT_JITLIB_DIR "${CMAKE_BINARY_DIR}/third_party/luajit/src/jit") - set (ENABLE_BUNDLED_LUAJIT True) - endmacro() - -@@ -63,10 +64,12 @@ - # usable with the server (determined by a compiled test). - # - macro (luajit_try_system) -- find_path (LUAJIT_INCLUDE lj_obj.h PATH_SUFFIXES luajit-2.0 luajit) -+ find_path (LUAJIT_INCLUDE lj_obj.h PATH_SUFFIXES luajit-2.1 luajit) - find_library (LUAJIT_LIB NAMES luajit luajit-5.1 PATH_SUFFIXES x86_64-linux-gnu) -- if (LUAJIT_INCLUDE AND LUAJIT_LIB) -- message (STATUS "include: ${LUAJIT_INCLUDE}, lib: ${LUAJIT_LIB}") -+ file (GLOB LUAJIT_JITLIB_SEARCH_PATHS "/usr/local/share/luajit-2.1*/jit" "/usr/share/luajit-2.1*/jit" "/share/luajit-2.1*/jit") -+ find_path (LUAJIT_JITLIB_DIR vmdef.lua PATHS ${LUAJIT_JITLIB_SEARCH_PATHS}) -+ if (LUAJIT_INCLUDE AND LUAJIT_LIB AND LUAJIT_JITLIB_DIR) -+ message (STATUS "include: ${LUAJIT_INCLUDE}, lib: ${LUAJIT_LIB}, jitlib_dir: ${LUAJIT_JITLIB_DIR}") - message (STATUS "Found a system-wide LuaJIT.") - luajit_test() - if ("${LUAJIT_RUNS}" STREQUAL "1") -@@ -79,6 +82,7 @@ - message (FATAL_ERROR "Not found a system LuaJIT") - #luajit_use_bundled() - endif() -+ unset(LUAJIT_JITLIB_SEARCH_PATHS) - endmacro() - - # -@@ -87,7 +91,8 @@ - macro (luajit_try_prefix) - find_path (LUAJIT_INCLUDE "lua.h" ${LUAJIT_PREFIX} NO_DEFAULT_PATH) - find_library (LUAJIT_LIB "luajit" ${LUAJIT_PREFIX} NO_DEFAULT_PATH) -- if (LUAJIT_INCLUDE AND LUAJIT_LIB) -+ find_path (LUAJIT_JITLIB_DIR "vmdef.lua" ${LUAJIT_PREFIX}/jit NO_DEFAULT_PATH) -+ if (LUAJIT_INCLUDE AND LUAJIT_LIB AND LUAJIT_JITLIB_DIR) - include_directories("${LUAJIT_INCLUDE}") - luajit_test() - if (LUAJIT_RUNS) ---- a/cmake/utils.cmake -+++ b/cmake/utils.cmake -@@ -41,8 +41,8 @@ - function(lua_source varname filename) - if (IS_ABSOLUTE "${filename}") - set (srcfile "${filename}") -- set (tmpfile "${filename}.new.c") -- set (dstfile "${filename}.c") -+ set (tmpfile "${CMAKE_CURRENT_BINARY_DIR}${filename}.new.c") -+ set (dstfile "${CMAKE_CURRENT_BINARY_DIR}${filename}.c") - else(IS_ABSOLUTE "${filename}") - set (srcfile "${CMAKE_CURRENT_SOURCE_DIR}/${filename}") - set (tmpfile "${CMAKE_CURRENT_BINARY_DIR}/${filename}.new.c") -@@ -62,7 +62,7 @@ - COMMAND ${ECHO} '\;' >> ${tmpfile} - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${tmpfile} ${dstfile} - COMMAND ${CMAKE_COMMAND} -E remove ${tmpfile} -- DEPENDS ${srcfile} txt2c libluajit) -+ DEPENDS ${srcfile} txt2c) - - set(var ${${varname}}) - set(${varname} ${var} ${dstfile} PARENT_SCOPE) diff --git a/unmaintained/tcllib/APKBUILD b/unmaintained/tcllib/APKBUILD deleted file mode 100644 index e5cbc6689bc..00000000000 --- a/unmaintained/tcllib/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: tcely <tcllib+aports@tcely.33mail.com> -# Maintainer: -pkgname=tcllib -pkgver=1.20 -pkgrel=0 -pkgdesc="Tcl Standard Library" -url="https://core.tcl.tk/tcllib" -arch="" # test failures -license="TCL" -depends="tcl" -makedepends="tcl-dev" -subpackages="$pkgname-doc" -source="https://core.tcl.tk/tcllib/uv/tcllib-$pkgver.tar.xz" - -case "$CARCH" in -mips*) options="!check";; # tests take forever on mips -esac - -build() { - ./configure \ - --build="$CBUILD" \ - --host="$CHOST" \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -check() { - sed -i \ - -e '/UP 1 CALL {::hook::call/s/::hook::call/call/' \ - modules/hook/hook.test - sed -i \ - -e '/::string::token::shell/s/::string::token::shell/shell/' \ - modules/string/token_shell.test - - # set user because the tcllib tests use this value - USER=${USER:-$(id -un)} make test_batch -} - -sha512sums="d2c20642f91cdc7bf3b329025be80eb9288d0919fa439c2066349b52950cf3c343f39c7745b9b08ec28a884ff2f219fe0fb5f47023f1266b6a6de6ae54852412 tcllib-1.20.tar.xz" diff --git a/unmaintained/tcolors/APKBUILD b/unmaintained/tcolors/APKBUILD deleted file mode 100644 index 9d821d7bbc4..00000000000 --- a/unmaintained/tcolors/APKBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Contributor: Joe Searle <joe@jsearle.net> -# Maintainer: Joe Searle <joe@jsearle.net> -pkgname=tcolors -pkgver=0.3.1 -pkgrel=2 -pkgdesc="Commandline color picker and palette builder" -url="https://github.com/bcicen/tcolors" -arch="" -license="MIT" -makedepends="go" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/bcicen/tcolors/archive/v$pkgver.tar.gz" -options="!check" # No tests - -build() { - go mod download - go build -ldflags "-w -X main.version=${pkgver}-${pkgrel} -X main.build=$pkgbuild" -o tcolors -} - -package() { - install -Dm755 tcolors "${pkgdir}/usr/bin/tcolors" - install -Dm644 docs/man1/tcolors.1 "$pkgdir/usr/share/man/man1/${pkgname}.1" -} - -sha512sums="ec492f93ca819140b8b933d57c6e352eecd67e3c9c8f404d87f63a191bed92290ab13730cf311697952a581a83671562937150bd450a5a58aedb2add3b83a670 tcolors-0.3.1.tar.gz" diff --git a/unmaintained/tcpproxy/APKBUILD b/unmaintained/tcpproxy/APKBUILD deleted file mode 100644 index 4d1638f18b7..00000000000 --- a/unmaintained/tcpproxy/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=tcpproxy -pkgver=2.0.0_beta15 -_pkgver=2.0.0-beta15 -pkgrel=4 -pkgdesc="Transparent TCP Proxy" -url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy" -arch="all" -license="GPL-2.0-or-later" -depends= -makedepends="ctags linux-headers" -install="" -subpackages="" -source="http://www.quietsche-entchen.de/download/$pkgname-$_pkgver.tar.gz - tcpproxy.initd" - -_builddir="$srcdir"/$pkgname-$_pkgver -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -m755 -D "$pkgname" "$pkgdir"/usr/sbin/$pkgname || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -md5sums="e946f807049d6296f54aa57b5c17f1c8 tcpproxy-2.0.0-beta15.tar.gz -6896b9e6c52ec58a30123d641f5cfd93 tcpproxy.initd" -sha256sums="05cce1d5127fc816465a8f7809ee8e6278cec403478179371dd1f85ac8fc86c0 tcpproxy-2.0.0-beta15.tar.gz -236457fd1479853ec40c1db2ee2c1b7b742904a76b2df7e79641746076ae6e83 tcpproxy.initd" -sha512sums="d5b0a8a11a5c90a86d5576d46c81985ba7f5a05b37b9eb1dc84ca1bdca123477e1246860fe2d16aca4a7db2b4ac8bb19bef4fe9a96dd5c6e8fc88ed4d6f50675 tcpproxy-2.0.0-beta15.tar.gz -de15102ec839e6ada80143a50b89187ede371de48ae5cfad8511aadbe8737d60121995ecdb0f155214440ac4f727b06885d205e3b31614164f3110ecff000d68 tcpproxy.initd" diff --git a/unmaintained/tcpproxy/tcpproxy.initd b/unmaintained/tcpproxy/tcpproxy.initd deleted file mode 100644 index b3101c61dc3..00000000000 --- a/unmaintained/tcpproxy/tcpproxy.initd +++ /dev/null @@ -1,14 +0,0 @@ -#!/sbin/openrc-run - -DAEMON=/usr/sbin/tcpproxy -start() { - ebegin "Starting tcpproxy" - start-stop-daemon -S -x $DAEMON -- $TCPPROXY_OPTS - eend $? -} - -stop() { - ebegin "Stopping tcpproxy" - start-stop-daemon -K -x $DAEMON - eend $? -} diff --git a/unmaintained/textadept/APKBUILD b/unmaintained/textadept/APKBUILD deleted file mode 100644 index 1b317c4e037..00000000000 --- a/unmaintained/textadept/APKBUILD +++ /dev/null @@ -1,75 +0,0 @@ -# Maintainer: Bradley Saulteaux <~@bradso.to> -pkgname=textadept -pkgver=10.3 -_pkgver=e7c3dfab62a7 -_scintver=8b888bf05fe3 -_gtdver=988719013a6a -_luaver=5.3.5 -_lpegver=1.0.1 -_lfsver=1_7_0_2 -_cdkver=5.0-20150928 -_tkver=0.20 -pkgrel=0 -pkgdesc="A fast, minimalist, and remarkably extensible cross-platform text editor" -url="https://foicica.com/textadept/" -arch="all !riscv64" -license="MIT" -depends="gtk+2.0" -makedepends="curl ncurses-dev gtk+2.0-dev lua5.3-dev cloc" -install="" -options="!check" -subpackages="${pkgname}-curses" -source="${pkgname}-${pkgver}.zip::https://foicica.com/hg/${pkgname}/archive/${_pkgver}.zip - http://foicica.com/hg/scintilla/archive/${_scintver}.zip - http://foicica.com/hg/gtdialog/archive/${_gtdver}.zip - http://www.lua.org/ftp/lua-${_luaver}.tar.gz - http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-${_lpegver}.tar.gz - http://github.com/keplerproject/luafilesystem/archive/v${_lfsver}.tar.gz - http://invisible-mirror.net/archives/cdk/cdk-${_cdkver}.tgz - http://www.leonerd.org.uk/code/libtermkey/libtermkey-${_tkver}.tar.gz - " -builddir="$srcdir/${pkgname}-${_pkgver}/src" - -prepare() { - default_prepare - mv ../../scintilla-${_scintver} scintilla - patch -d scintilla -N -p1 < scintilla.patch - mv ../../gtdialog-${_gtdver} gtdialog - mv ../../lua-${_luaver} lua - patch -d lua -N -p1 < lua.patch - mkdir lua/src/lib - mv ../../lpeg-${_lpegver}/* lua/src/lib/ - mv ../../luafilesystem-${_lfsver}/src/* lua/src/lib/ - mv ../../cdk-${_cdkver} cdk - mv cdk/include/*.h cdk/ - patch -d cdk -N -p1 < cdk.patch - mv ../../libtermkey-${_tkver} termkey - patch -d termkey -N -p1 < termkey.patch -} - -build() { - make CFLAGS="${CFLAGS} -I/usr/include/lua5.3" CXXFLAGS="${CXXFLAGS} -I/usr/include/lua5.3" - make CFLAGS="${CFLAGS} -I/usr/include/lua5.3" CXXFLAGS="${CXXFLAGS} -I/usr/include/lua5.3" ${pkgname}-curses -} - -curses() { - depends="ncurses-libs" - mkdir -p "$subpkgdir"/usr/bin - mkdir -p "$subpkgdir"/usr/share/applications/ - mv "$srcdir/${pkgname}-${_pkgver}/${pkgname}-curses" "$subpkgdir"/usr/bin/ - rm "$builddir/${subpkgname}.desktop" -} - -package() { - make WGET=":" DESTDIR="$pkgdir" PREFIX="/usr" install - chmod -x "$pkgdir"/usr/share/applications/*.desktop - rm "$pkgdir"/usr/share/applications/${pkgname}-curses.desktop -} -sha512sums="58c5824df2f16a730d420ed2f331b7e9c7aff1330d58b8a68c46ef90f736acdfc7b9d770bbce02aa7eb0afdd5c2b3967650ebf23f652645d676f536cafaea9a2 textadept-10.3.zip -a7bb469b9d2a34a951b7cf8907d890e609a3d1117f5b6952f8da233cef7cfc519a330cfe22abb3ca50a5d64e4028ebef968fa555f573712643a55ac142d47853 8b888bf05fe3.zip -df7e86317fc9c4113c4699993be799efc9cb9c8f50d9415ceed9218a0d331a086c9a04853aba8f0fdc6ca45b1009d8bf19096fac216686afa02f560fea6eafb9 988719013a6a.zip -4f9516acc4659dfd0a9e911bfa00c0788f0ad9348e5724fe8fb17aac59e9c0060a64378f82be86f8534e49c6c013e7488ad17321bafcc787831d3d67406bd0f4 lua-5.3.5.tar.gz -7b43fbee7eff443000986684bc56bba6d2796a31cf860740746c70e155bdea1b62a46b93f97e2747e3ef0f63e965148778ac2985d0f2d83e1e37ec4ebbabf4aa lpeg-1.0.1.tar.gz -a1d4d077776e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511 v1_7_0_2.tar.gz -5774e28d91edd477854e30eb456b7725987e82ec27f5cf055c1d1e46581e11d2958bafbac408124f274bf7454be68476d18643a265df7c74b8f43eb1895bf19d cdk-5.0-20150928.tgz -81a4bc5917c60ca692ec3065ac0252ae5dc1adccc2832be1c83c82318c97473d883900ab88a8a0ee08ab3f831ff07f3a4827ee3d8e936a3a42c4708ee58f6301 libtermkey-0.20.tar.gz" diff --git a/unmaintained/tg/APKBUILD b/unmaintained/tg/APKBUILD deleted file mode 100644 index 21857fa6f5c..00000000000 --- a/unmaintained/tg/APKBUILD +++ /dev/null @@ -1,70 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=tg -pkgver=1.3.1 -pkgrel=13 -_tglver=2.0.1 -_tlparserver=0_git20151118 -pkgdesc="Command line Telegram client" -url="https://github.com/vysheng/tg" -arch="all !s390x !mips !mips64" -license="GPL-3.0" -depends_dev="readline-dev openssl-dev libconfig-dev libevent-dev jansson-dev lua5.3-dev" -makedepends="$depends_dev zlib-dev grep" -provides="telegram-cli" -source="$pkgname-$pkgver.tar.gz::https://github.com/vysheng/tg/archive/$pkgver.tar.gz - tgl-$_tglver.tar.gz::https://github.com/vysheng/tgl/archive/$_tglver.tar.gz - https://dev.alpinelinux.org/archive/tl-parser/tl-parser-$_tlparserver.tar.gz - - makefile-tl-parser-nocrc32.patch - musl-include-fix.patch - makefile-remove-werror.patch - openssl-1.1.patch - " -# tgl-openssl-1.1.patch::https://github.com/vysheng/tgl/pull/126/commits/66758bbea27515c5f35e3fafc64d3a3601a5b777.patch -pkgusers="telegram" -pkggroups="telegram" -builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$builddir" - mv "$srcdir"/tg-$_tlparserver/* "$srcdir/tgl-$_tglver/tl-parser" - mv "$srcdir"/tgl-$_tglver/* "$srcdir/tg-$pkgver/tgl" - - default_prepare -} - -build() { - cd "$builddir" - - export LUA=/usr/bin/lua5.3 - export LUA_INCLUDE=-I/usr/include/lua5.3 - export LUA_LIB=$(pkg-config --libs lua5.3) - CFLAGS="$CFLAGS -fcommon" \ - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-libconfig \ - --enable-liblua - make -} - -package() { - cd "$builddir" - - install -D bin/telegram-cli \ - "$pkgdir"/usr/bin/telegram-cli - install -D tg-server.pub \ - "$pkgdir"/etc/telegram-cli/tg.pub -} - -sha512sums="ac8341e8f951922fa78a1db74d9b1a87b03c3339307bd9c46da71656d8d6e55bf0b546abba1638ae01843341a4d2134b6ab244e15547e8806d74b21ac1306114 tg-1.3.1.tar.gz -5d16a0e9c6e63ce91238501520e7699164298d9e6e275d8b90da675cca6d0b09944888d95320482e8e232d1bd540dbe80cfe58ac7d70f3157a4372c7fd550366 tgl-2.0.1.tar.gz -a7f16bd2cdedf62a1dbd180fcf957850d3b1c1c08b99f4f389ef5a83e228eb773e5da84e3127455880f4ebb526787bdae097200b337ae6df74b50bebec7c92fe tl-parser-0_git20151118.tar.gz -b61e5907c6cf035ce067cfbc19995a04afa1f04cef00be52a02943e850d4a2754dba67732fa6ca958f2e48a741b2048fb38652c17b73e46359c550257e563f42 makefile-tl-parser-nocrc32.patch -4e26e7421db48b7074197e4cea1c6a6fce33a2b259f0da0e378f9a83f115e961016586b63d960d491cb5c4866fffbf454a5e0eda47ad16b3b77d117c8508f1f2 musl-include-fix.patch -1f8fab90948079abc94169751851347a6753dc13cf19973ba05a6f533ac173ba6ce70863988f2b167c27a347f4aeaa710c70cc960c0ba4090c43461386f8b217 makefile-remove-werror.patch -46ada5490a7db962aa70b73fe867f737a852fa5fcad331d9221afaae93e0bb2f0129568bb9c9eb337fad3ead8935b5eb5262e87d156411f12860aa1e740d5b39 openssl-1.1.patch" diff --git a/unmaintained/tg/makefile-remove-werror.patch b/unmaintained/tg/makefile-remove-werror.patch deleted file mode 100644 index 19359d567dd..00000000000 --- a/unmaintained/tg/makefile-remove-werror.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile.in -+++ b/Makefile.in -@@ -4,7 +4,7 @@ - LDFLAGS=@LDFLAGS@ @OPENSSL_LDFLAGS@ - CPPFLAGS=@CPPFLAGS@ @OPENSSL_INCLUDES@ - DEFS=@DEFS@ --COMPILE_FLAGS=${CFLAGS} ${CPFLAGS} ${CPPFLAGS} ${DEFS} -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -+COMPILE_FLAGS=${CFLAGS} ${CPFLAGS} ${CPPFLAGS} ${DEFS} -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC - - EXTRA_LIBS=@LIBS@ @EXTRA_LIBS@ @OPENSSL_LIBS@ - LOCAL_LDFLAGS=-rdynamic -ggdb -levent ${EXTRA_LIBS} diff --git a/unmaintained/tg/makefile-tl-parser-nocrc32.patch b/unmaintained/tg/makefile-tl-parser-nocrc32.patch deleted file mode 100644 index 7e16ef61de2..00000000000 --- a/unmaintained/tg/makefile-tl-parser-nocrc32.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/tgl/Makefile.tl-parser -+++ b/tgl/Makefile.tl-parser -@@ -1,4 +1,4 @@ --TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o ${OBJ}/crc32.o -+TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o - - ${TL_PARSER_OBJECTS}: ${OBJ}/%.o: ${srcdir}/tl-parser/%.c | create_dirs - ${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tl-parser -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $< ---- a/Makefile.tl-parser -+++ b/Makefile.tl-parser -@@ -1,4 +1,4 @@ --TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o ${OBJ}/crc32.o -+TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o - - ${TL_PARSER_OBJECTS}: ${OBJ}/%.o: ${srcdir}/tgl/tl-parser/%.c | create_dirs - ${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl/tl-parser -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $< diff --git a/unmaintained/tg/musl-include-fix.patch b/unmaintained/tg/musl-include-fix.patch deleted file mode 100644 index a6cb63f2c79..00000000000 --- a/unmaintained/tg/musl-include-fix.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/tgl/generate.c -+++ b/tgl/generate.c -@@ -25,7 +25,11 @@ - - #include <stdio.h> - #include <signal.h> -+ -+#ifdef HAVE_EXECINFO_H - #include <execinfo.h> -+#endif -+ - #include <unistd.h> - #include <stdlib.h> - #include <sys/types.h> diff --git a/unmaintained/tg/openssl-1.1.patch b/unmaintained/tg/openssl-1.1.patch deleted file mode 100644 index fd791563085..00000000000 --- a/unmaintained/tg/openssl-1.1.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff --git a/tgl/mtproto-client.c b/tgl/mtproto-client.c -index 075decc..0f6c3f2 100644 ---- a/tgl/mtproto-client.c -+++ b/tgl/mtproto-client.c -@@ -143,7 +143,9 @@ static int decrypt_buffer[ENCRYPT_BUFFER_INTS]; - - static int encrypt_packet_buffer (struct tgl_state *TLS, struct tgl_dc *DC) { - RSA *key = TLS->rsa_key_loaded[DC->rsa_key_idx]; -- return tgl_pad_rsa_encrypt (TLS, (char *) packet_buffer, (packet_ptr - packet_buffer) * 4, (char *) encrypt_buffer, ENCRYPT_BUFFER_INTS * 4, key->n, key->e); -+ const BIGNUM *n, *e; -+ RSA_get0_key(key, &n, &e, NULL); -+ return tgl_pad_rsa_encrypt (TLS, (char *) packet_buffer, (packet_ptr - packet_buffer) * 4, (char *) encrypt_buffer, ENCRYPT_BUFFER_INTS * 4, n, e); - } - - static int encrypt_packet_buffer_aes_unauth (const char server_nonce[16], const char hidden_client_nonce[32]) { -diff --git a/tgl/mtproto-common.c b/tgl/mtproto-common.c -index f3b6582..b782256 100644 ---- a/tgl/mtproto-common.c -+++ b/tgl/mtproto-common.c -@@ -178,10 +178,12 @@ int tgl_serialize_bignum (BIGNUM *b, char *buffer, int maxlen) { - long long tgl_do_compute_rsa_key_fingerprint (RSA *key) { - static char tempbuff[4096]; - static unsigned char sha[20]; -- assert (key->n && key->e); -- int l1 = tgl_serialize_bignum (key->n, tempbuff, 4096); -+ const BIGNUM *n, *e; -+ RSA_get0_key(key, &n, &e, NULL); -+ assert (n && e); -+ int l1 = tgl_serialize_bignum (n, tempbuff, 4096); - assert (l1 > 0); -- int l2 = tgl_serialize_bignum (key->e, tempbuff + l1, 4096 - l1); -+ int l2 = tgl_serialize_bignum (e, tempbuff + l1, 4096 - l1); - assert (l2 > 0 && l1 + l2 <= 4096); - SHA1 ((unsigned char *)tempbuff, l1 + l2, sha); - return *(long long *)(sha + 12); -@@ -258,21 +260,20 @@ int tgl_pad_rsa_encrypt (struct tgl_state *TLS, char *from, int from_len, char * - assert (size >= chunks * 256); - assert (RAND_pseudo_bytes ((unsigned char *) from + from_len, pad) >= 0); - int i; -- BIGNUM x, y; -- BN_init (&x); -- BN_init (&y); -+ BIGNUM *x = BN_new(); -+ BIGNUM *y = BN_new(); - rsa_encrypted_chunks += chunks; - for (i = 0; i < chunks; i++) { -- BN_bin2bn ((unsigned char *) from, 255, &x); -- assert (BN_mod_exp (&y, &x, E, N, TLS->BN_ctx) == 1); -- unsigned l = 256 - BN_num_bytes (&y); -+ BN_bin2bn ((unsigned char *) from, 255, x); -+ assert (BN_mod_exp (y, x, E, N, TLS->BN_ctx) == 1); -+ unsigned l = 256 - BN_num_bytes (y); - assert (l <= 256); - memset (to, 0, l); -- BN_bn2bin (&y, (unsigned char *) to + l); -+ BN_bn2bin (y, (unsigned char *) to + l); - to += 256; - } -- BN_free (&x); -- BN_free (&y); -+ BN_free (x); -+ BN_free (y); - return chunks * 256; - } - -@@ -285,26 +286,25 @@ int tgl_pad_rsa_decrypt (struct tgl_state *TLS, char *from, int from_len, char * - assert (bits >= 2041 && bits <= 2048); - assert (size >= chunks * 255); - int i; -- BIGNUM x, y; -- BN_init (&x); -- BN_init (&y); -+ BIGNUM *x = BN_new(); -+ BIGNUM *y = BN_new(); - for (i = 0; i < chunks; i++) { - ++rsa_decrypted_chunks; -- BN_bin2bn ((unsigned char *) from, 256, &x); -- assert (BN_mod_exp (&y, &x, D, N, TLS->BN_ctx) == 1); -- int l = BN_num_bytes (&y); -+ BN_bin2bn ((unsigned char *) from, 256, x); -+ assert (BN_mod_exp (y, x, D, N, TLS->BN_ctx) == 1); -+ int l = BN_num_bytes (y); - if (l > 255) { -- BN_free (&x); -- BN_free (&y); -+ BN_free (x); -+ BN_free (y); - return -1; - } - assert (l >= 0 && l <= 255); - memset (to, 0, 255 - l); -- BN_bn2bin (&y, (unsigned char *) to + 255 - l); -+ BN_bn2bin (y, (unsigned char *) to + 255 - l); - to += 255; - } -- BN_free (&x); -- BN_free (&y); -+ BN_free (x); -+ BN_free (y); - return chunks * 255; - } - diff --git a/unmaintained/tiny-ec2-bootstrap/APKBUILD b/unmaintained/tiny-ec2-bootstrap/APKBUILD deleted file mode 100644 index 2a5dfdd1e70..00000000000 --- a/unmaintained/tiny-ec2-bootstrap/APKBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor: Jake Buchholz <tomalok@gmail.com> -# Contributor: Mike Crute <mike@crute.us> -# Maintainer: Mike Crute <mike@crute.us> -pkgname=tiny-ec2-bootstrap -pkgver=1.4.3 -pkgrel=1 -pkgdesc="A tiny EC2 instance bootstrapper that uses instance metadata" -url="https://gitlab.alpinelinux.org/alpine/cloud/tiny-ec2-bootstrap" -arch="noarch" -license="MIT" -options="!check" # no tests provided -depends="openrc e2fsprogs-extra partx sfdisk" -source="https://gitlab.alpinelinux.org/alpine/cloud/tiny-ec2-bootstrap/-/archive/release-$pkgver/tiny-ec2-bootstrap-release-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-release-$pkgver" - -package() { - make PREFIX=$pkgdir install -} - -sha512sums=" -6b15eaae722975b5f9deb6650cfd2319a37cab24084c3638ee3264e7784637cadfda863777909fc2cb09f1c27755082591b645342da697be040687da7a9936f3 tiny-ec2-bootstrap-release-1.4.3.tar.gz -" diff --git a/unmaintained/tlsdate/APKBUILD b/unmaintained/tlsdate/APKBUILD deleted file mode 100644 index 6cabe8b7145..00000000000 --- a/unmaintained/tlsdate/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=tlsdate -pkgver=0.0.13 -pkgrel=7 -pkgdesc="An secure parasitic rdate replacement" -url="https://github.com/ioerror/tlsdate" -arch="all" -license="BSD" -depends="" -depends_dev="" -pkgusers="tlsdate" -pkggroups="tlsdate" -# FIXME: does not support openssl 1.1 yet -makedepends="autoconf automake libtool libressl-dev linux-headers libevent-dev" -install="" -subpackages="$pkgname-doc" -source="tlsdate-${pkgver}.tar.gz::https://github.com/ioerror/tlsdate/tarball/tlsdate-${pkgver} - tlsdate.confd - tlsdate.initd - tlsdated.confd - tlsdated.initd - tlsdate-add-secondary-archs.patch - tlsdate-add-mips.patch - libressl-no-sslv3.patch - libressl-sslstate.patch - " - -builddir="$srcdir"/ioerror-tlsdate-ae33169 - -build() { - cd "$builddir" - autoreconf --install - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --disable-static \ - --sysconfdir=/etc \ - --with-unpriv-user=tlsdate \ - --with-unpriv-group=tlsdate \ - || return 1 - make || return 1 -} - -package() { - cd "$builddir" - make install DESTDIR="$pkgdir" || return 1 - install -Dm755 "$srcdir"/tlsdate.initd "$pkgdir"/etc/init.d/tlsdate - install -Dm644 "$srcdir"/tlsdate.confd "$pkgdir"/etc/conf.d/tlsdate - install -Dm755 "$srcdir"/tlsdated.initd "$pkgdir"/etc/init.d/tlsdated - install -Dm644 "$srcdir"/tlsdated.confd "$pkgdir"/etc/conf.d/tlsdated -} - -sha512sums="9c4fd51439976a8541fdf1bb70afa5333b43b2e43b801a65b3b1ac3e4a437fd3021ef2aaeeb13fc1ba63ccd119f6eff4c10e3a5a28cf0cfd96bbc7a174dbb789 tlsdate-0.0.13.tar.gz -62149e3a9f26a71624bd851780f92a41c9aaf138793b5da762aa3002bcc5a409686d1bbe687b4abf1fc2e12205720a3825d9603cab0b0d978c2d0fd41422efe7 tlsdate.confd -c54d11ead7ee5035e4829df92b23cd54a71535199844b4f64ecfa715d9838ef954e7c2434df0767bb32c8226448d2fa080180be76ed8e417d5fa6dfc9c08dce6 tlsdate.initd -38bd7d64473ab487eea2539b11a7acadfc3fa5a627fb12e78931b62c46d3ebedab4c75d56839b0dee9fd8f42d4b7ae9ace08ea3f58941b8e2d183828c6a4fef2 tlsdated.confd -9601ab4f9bd8870ed0c8e4f9dcbc32df902a5998ea6eeb8c40b8a8286515f35bf2d755784d267f78d53ac9baaf2d20051e99c35ceabe9d846d9a2a40cf135760 tlsdated.initd -03ebe29088f91eb45a13a467797c4f5a88233e2ebea957ca72012fe892dea1377b652f8aadaab865352a37d255df674f1abba09f6670bf8a9015aebfce89cf77 tlsdate-add-secondary-archs.patch -da5eb21058f1aeb9783db575434750e7c01b5372d1135f8e945da1f39c7eadfb3c2251163f40bebc53756482e9673160d99a912935b50fc743a9c3f91dfcf20f tlsdate-add-mips.patch -513ccff7056c0764a5d821a90819a0e293921fafc3d0f9ba93e42564bac2b6d041599eb075dfe43cb5d760e67e3ae9f5a46d3359080284c3df1adb845463478b libressl-no-sslv3.patch -251913739da7da0fdd6b5a597dbe1c8fa42ffc6714d6621922ce15f685eb89afd466015519ff700a2e28314f736cd5d4526e872adca98d6a2edad8c338691693 libressl-sslstate.patch" diff --git a/unmaintained/tlsdate/libressl-no-sslv3.patch b/unmaintained/tlsdate/libressl-no-sslv3.patch deleted file mode 100644 index f4d7ffbb57b..00000000000 --- a/unmaintained/tlsdate/libressl-no-sslv3.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- a/src/tlsdate.c.orig 2016-03-30 23:41:39.121031885 +0200 -+++ b/src/tlsdate.c 2016-03-30 23:41:49.442032351 +0200 -@@ -88,7 +88,7 @@ - " [-n|--dont-set-clock]\n" - " [-H|--host] [hostname|ip]\n" - " [-p|--port] [port number]\n" -- " [-P|--protocol] [sslv23|sslv3|tlsv1]\n" -+ " [-P|--protocol] [sslv23|tlsv1]\n" - " [-C|--certcontainer] [dirname|filename]\n" - " [-v|--verbose]\n" - " [-V|--showtime] [human|raw]\n" ---- a/man/tlsdate.1.orig 2016-03-30 23:42:18.100033647 +0200 -+++ b/man/tlsdate.1 2016-03-30 23:42:35.659034441 +0200 -@@ -5,7 +5,7 @@ - .SH NAME - tlsdate \- secure parasitic rdate replacement - .SH SYNOPSIS --.B tlsdate [\-hnvVstlw] [\-H [hostname]] [\-p [port]] [\-P [sslv23|sslv3|tlsv1]] \ -+.B tlsdate [\-hnvVstlw] [\-H [hostname]] [\-p [port]] [\-P [sslv23|tlsv1]] \ - [\-\-certdir [dirname]] [\-x [\-\-proxy] proxy\-type://proxyhost:proxyport] - .SH DESCRIPTION - .B tlsdate -@@ -30,7 +30,7 @@ - Do not set the system clock to the time of the remote server - .IP "\-p | \-\-port [port]" - Set remote port (default: '443') --.IP "\-P | \-\-protocol [sslv23|sslv3|tlsv1]" -+.IP "\-P | \-\-protocol [sslv23|tlsv1]" - Set protocol to use when communicating with server (default: 'tlsv1') - .IP "\-C | \-\-certdir [dirname]" - Set the local directory where certificates are located ---- a/src/tlsdate-helper-plan9.c.orig 2016-03-30 23:43:12.577036110 +0200 -+++ b/src/tlsdate-helper-plan9.c 2016-03-30 23:43:32.403037006 +0200 -@@ -978,10 +978,6 @@ - { - verb ("V: using SSLv23_client_method()\n"); - ctx = SSL_CTX_new(SSLv23_client_method()); -- } else if (0 == strcmp("sslv3", protocol)) -- { -- verb ("V: using SSLv3_client_method()\n"); -- ctx = SSL_CTX_new(SSLv3_client_method()); - } else if (0 == strcmp("tlsv1", protocol)) - { - verb ("V: using TLSv1_client_method()\n"); ---- a/src/tlsdate-helper.c.orig 2016-03-30 23:33:02.056008510 +0200 -+++ b/src/tlsdate-helper.c 2016-03-30 23:34:46.400013227 +0200 -@@ -1133,10 +1133,6 @@ - { - verb ("V: using SSLv23_client_method()"); - ctx = SSL_CTX_new(SSLv23_client_method()); -- } else if (0 == strcmp("sslv3", protocol)) -- { -- verb ("V: using SSLv3_client_method()"); -- ctx = SSL_CTX_new(SSLv3_client_method()); - } else if (0 == strcmp("tlsv1", protocol)) - { - verb ("V: using TLSv1_client_method()"); diff --git a/unmaintained/tlsdate/libressl-sslstate.patch b/unmaintained/tlsdate/libressl-sslstate.patch deleted file mode 100644 index de8ac981543..00000000000 --- a/unmaintained/tlsdate/libressl-sslstate.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/tlsdate-helper.c.orig -+++ b/src/tlsdate-helper.c -@@ -374,7 +374,7 @@ - openssl_time_callback (const SSL* ssl, int where, int ret) - { - if (where == SSL_CB_CONNECT_LOOP && -- (ssl->state == SSL3_ST_CR_SRVR_HELLO_A || ssl->state == SSL3_ST_CR_SRVR_HELLO_B)) -+ (SSL_state(ssl) == SSL3_ST_CR_SRVR_HELLO_A || SSL_state(ssl) == SSL3_ST_CR_SRVR_HELLO_B)) - { - // XXX TODO: If we want to trust the remote system for time, - // can we just read that time out of the remote system and if the diff --git a/unmaintained/tlsdate/tlsdate-add-mips.patch b/unmaintained/tlsdate/tlsdate-add-mips.patch deleted file mode 100644 index 44b4cf962e7..00000000000 --- a/unmaintained/tlsdate/tlsdate-add-mips.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/seccomp.c -+++ b/src/seccomp.c -@@ -60,6 +60,19 @@ - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_S390 - #elif defined(__s390x__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_S390X -+#elif defined(__mips64) -+/* FIXME: add N32 support */ -+# ifdef __MIPSEL__ -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MIPSEL64 -+# else -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MIPS64 -+# endif -+#elif defined(__mips) -+# ifdef __MIPSEL__ -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MIPSEL -+# else -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MIPS -+# endif - #else - # error "Platform does not support seccomp filter yet" - #endif diff --git a/unmaintained/tlsdate/tlsdate-add-secondary-archs.patch b/unmaintained/tlsdate/tlsdate-add-secondary-archs.patch deleted file mode 100644 index eeb3bbd7858..00000000000 --- a/unmaintained/tlsdate/tlsdate-add-secondary-archs.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - -Upstream-status: https://github.com/ioerror/tlsdate/pull/184 - -diff --git a/src/seccomp.c b/src/seccomp.c -index fbc5a33..8c23bf9 100644 ---- a/src/seccomp.c -+++ b/src/seccomp.c -@@ -48,6 +48,18 @@ - # define EM_ARM 40 - # endif - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_ARM -+#elif defined(__aarch64__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_AARCH64 -+#elif defined(__powerpc__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC -+#elif defined(__powerpc64le__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64LE -+#elif defined(__powerpc64__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64 -+#elif defined(__s390__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_S390 -+#elif defined(__s390x__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_S390X - #else - # error "Platform does not support seccomp filter yet" - #endif -@@ -87,7 +99,9 @@ enable_setter_seccomp (void) - SC_ALLOW (exit_group), - SC_ALLOW (exit), - -+#ifdef __NR_open - SC_DENY (open, EINVAL), -+#endif - SC_DENY (fcntl, EINVAL), - SC_DENY (fstat, EINVAL), - #ifdef __NR_mmap diff --git a/unmaintained/tlsdate/tlsdate.confd b/unmaintained/tlsdate/tlsdate.confd deleted file mode 100644 index 2d7ed030de3..00000000000 --- a/unmaintained/tlsdate/tlsdate.confd +++ /dev/null @@ -1,8 +0,0 @@ -# config file for /etc/init.d/tlsdate - -# Command to execute to set the time. -# This are some common tlsdate options: -# -l: leap (set time regardless of difference) -# -H: hostname to sync with -# -x: proxy URL -TLSDATE_OPTS="-l -H www.google.com" diff --git a/unmaintained/tlsdate/tlsdate.initd b/unmaintained/tlsdate/tlsdate.initd deleted file mode 100644 index 9f4b0c2af82..00000000000 --- a/unmaintained/tlsdate/tlsdate.initd +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/files/tlsdate.rc,v 1.1 2012/12/11 01:49:23 vapier Exp $ - -description="set time once when started" - -depend() { - use net -} - -start() { - : ${TLSDATE_CMD:=tlsdate} - ebegin "Setting clock via tlsdate '${TLSDATE_CMD}'" - "${TLSDATE_CMD}" ${TLSDATE_OPTS} - eend $? "Failed to set clock" -} diff --git a/unmaintained/tlsdate/tlsdated.confd b/unmaintained/tlsdate/tlsdated.confd deleted file mode 100644 index d257289cc58..00000000000 --- a/unmaintained/tlsdate/tlsdated.confd +++ /dev/null @@ -1,15 +0,0 @@ -# config file for /etc/init.d/tlsdated - -# Command to execute to set the time. -# This are some common tlsdate options: -# -l: leap (set time regardless of difference) -# -H: hostname to sync with -# -x: proxy URL -TLSDATED_CMD="/usr/bin/tlsdate -l -H www.google.com" - -# Additional options; see `man tlsdated` for reference. -TLSDATED_OPTS="" - -# Cache dir. Probably don't need to change this. -# It matches the compiled-in default. -TLSDATED_CACHE_DIR="/var/cache/tlsdated" diff --git a/unmaintained/tlsdate/tlsdated.initd b/unmaintained/tlsdate/tlsdated.initd deleted file mode 100644 index 32936875aca..00000000000 --- a/unmaintained/tlsdate/tlsdated.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tlsdate/files/tlsdated.rc,v 1.2 2014/11/06 16:00:28 vapier Exp $ - -description="start a daemon to continuously set time via a helper" - -command="tlsdated" -command_args="${TLSDATED_OPTS} -- ${TLSDATED_CMD}" -command_background="true" -pidfile="/var/run/${SVCNAME}.pid" - -depend() { - use net -} - -start_pre() { - checkpath -d -m 0700 -o tlsdate:tlsdate "${TLSDATED_CACHE_DIR}" -} diff --git a/unmaintained/trac/APKBUILD b/unmaintained/trac/APKBUILD deleted file mode 100644 index c2319a84710..00000000000 --- a/unmaintained/trac/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=trac -_realname=Trac -pkgver=1.2.3 -pkgrel=0 -pkgusers="tracd" -pkggroups="tracd" -pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system." -url="http://trac.edgewall.com/" -arch="noarch" -license="GPL" -depends="python2 py-setuptools py-genshi" -makedepends="python2-dev" -install="$pkgname.pre-install" -source="http://download.edgewall.org/trac/Trac-$pkgver.tar.gz - tracd.confd - tracd.initd" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" - install -d -o tracd -g tracd "$pkgdir"/var/lib/trac - install -m755 -D "$srcdir"/tracd.initd "$pkgdir"/etc/init.d/tracd - install -m644 -D "$srcdir"/tracd.confd "$pkgdir"/etc/conf.d/tracd -} - -sha512sums="988aa8c42f4f2e9b657b9fd9070328dc123f56954645def1e17ccffc6ec6da9d2a898ec58dae3045478df0e3c8f7b946dc723b46aec10627b31169eda0a08bad Trac-1.2.3.tar.gz -38a961fe59b690eb91e20143aaea6aa1becda8c2afa103599d14ff86c7aae88f06b57b342302de1f067dac5d99024b9cc72896a84349e09b3ff40c9a20f97bb1 tracd.confd -c5ec9242c8149056cebcd54383f15fe31f30fee7c2062e431df05db4449c2fa250560889ea871516736ec9fd06cdbc7ff341e8e63d5f0bfd938cc9495af426cd tracd.initd" diff --git a/unmaintained/trac/trac.pre-install b/unmaintained/trac/trac.pre-install deleted file mode 100644 index 40d70f69967..00000000000 --- a/unmaintained/trac/trac.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S tracd 2>/dev/null -adduser -S -D -H -s /sbin/nologin -G tracd -g tracd tracd 2>/dev/null - -exit 0 diff --git a/unmaintained/trac/tracd.confd b/unmaintained/trac/tracd.confd deleted file mode 100644 index 2cb9d292a7c..00000000000 --- a/unmaintained/trac/tracd.confd +++ /dev/null @@ -1,13 +0,0 @@ -# The commented variables in this file are the defaults that are used -# in the init-script. You don't need to uncomment them except to -# customize them to different values. - -# Port for tracd -#TRACD_PORT="8000" - -# Options for tracd -#TRACD_OPTS="--env-parent-dir /var/lib/trac/" - -# User and group as which to run tracd -#TRACD_USER="tracd" -#TRACD_GROUP="tracd" diff --git a/unmaintained/trac/tracd.initd b/unmaintained/trac/tracd.initd deleted file mode 100755 index 0021d63f505..00000000000 --- a/unmaintained/trac/tracd.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.4 2010/05/28 14:43:40 arfrever Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting tracd" - # tracd fails to create pidfile if started as non-root user, thus we are asking - # s-s-d to do that. To have correct pid we avoid -d option of tracd and use - # --background option of s-s-d. - start-stop-daemon --start --user ${TRACD_USER:-tracd}:${TRACD_GROUP:-tracd} \ - --pidfile /var/run/tracd.pid --make-pidfile --background \ - --env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \ - --exec /usr/bin/python -- /usr/bin/tracd \ - -p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/} - eend $? -} - -stop() { - ebegin "Stopping tracd" - start-stop-daemon --stop --quiet --pidfile /var/run/tracd.pid - eend $? -} diff --git a/unmaintained/trunk-recorder/APKBUILD b/unmaintained/trunk-recorder/APKBUILD deleted file mode 100644 index 7286519e080..00000000000 --- a/unmaintained/trunk-recorder/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: psykose <alice@ayaya.dev> -# Maintainer: psykose <alice@ayaya.dev> -pkgname=trunk-recorder -pkgver=4.3.2 -pkgrel=5 -pkgdesc="Records calls from a Trunked Radio System (P25 & SmartNet)" -url="https://github.com/robotastic/trunk-recorder" -options="!check" # no tests -arch="aarch64 x86_64" # blocked by gnuradio -license="GPL-3.0-only" -makedepends=" - cmake - curl-dev - grpc-dev - gr-osmosdr-dev - libvolk-dev - openssl-dev - protobuf-dev - samurai - " -source="$pkgname-$pkgver.tar.gz::https://github.com/robotastic/trunk-recorder/archive/v$pkgver.tar.gz" - -build() { - cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build -} - -sha512sums=" -9cb08612493e915b1b9378ef13e1c1aba30a5184207bc73069bff4d97c350766c314cfb1576cbb6d1741500f5adeacd6533f2f1a45ddef9fd19af8ebb9f701e5 trunk-recorder-4.3.2.tar.gz -" diff --git a/unmaintained/ttf-ubuntu-font-family/45-ubuntu.conf b/unmaintained/ttf-ubuntu-font-family/45-ubuntu.conf deleted file mode 100644 index d660f28d3d2..00000000000 --- a/unmaintained/ttf-ubuntu-font-family/45-ubuntu.conf +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<fontconfig> - - <alias> - <family>Ubuntu</family> - <default> - <family>sans-serif</family> - </default> - </alias> - - <alias> - <family>Ubuntu Condensed</family> - <default> - <family>sans-serif</family> - </default> - </alias> - - <alias> - <family>Ubuntu Mono</family> - <default> - <family>monospace</family> - </default> - </alias> - -</fontconfig> diff --git a/unmaintained/ttf-ubuntu-font-family/90-tt-ubuntu.conf b/unmaintained/ttf-ubuntu-font-family/90-tt-ubuntu.conf deleted file mode 100644 index 9ed867b65cf..00000000000 --- a/unmaintained/ttf-ubuntu-font-family/90-tt-ubuntu.conf +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> -<fontconfig> - - <!-- Ubuntu --> - <match target="font"> - <test name="force_autohint"> - <bool>false</bool> - </test> - <test name="family"> - <string>Ubuntu</string> - </test> - <edit name="antialias" mode="assign"> - <bool>true</bool> - </edit> - <edit name="hinting" mode="assign"> - <bool>true</bool> - </edit> - <edit name="hintstyle" mode="assign"> - <const>hintslight</const> - </edit> - <edit name="autohint" mode="assign"> - <bool>false</bool> - </edit> - </match> - - <!-- Ubuntu Condensed --> - <match target="font"> - <test name="force_autohint"> - <bool>false</bool> - </test> - <test name="family"> - <string>Ubuntu Condensed</string> - </test> - <edit name="antialias" mode="assign"> - <bool>true</bool> - </edit> - <edit name="hinting" mode="assign"> - <bool>true</bool> - </edit> - <edit name="hintstyle" mode="assign"> - <const>hintslight</const> - </edit> - <edit name="autohint" mode="assign"> - <bool>false</bool> - </edit> - </match> - - <!-- Ubuntu Mono --> - <match target="font"> - <test name="force_autohint"> - <bool>false</bool> - </test> - <test name="family"> - <string>Ubuntu Mono</string> - </test> - <edit name="antialias" mode="assign"> - <bool>true</bool> - </edit> - <edit name="hinting" mode="assign"> - <bool>true</bool> - </edit> - <edit name="hintstyle" mode="assign"> - <const>hintslight</const> - </edit> - <edit name="autohint" mode="assign"> - <bool>true</bool> - </edit> - </match> - -</fontconfig> diff --git a/unmaintained/ttf-ubuntu-font-family/APKBUILD b/unmaintained/ttf-ubuntu-font-family/APKBUILD deleted file mode 100644 index d8ea98f6e82..00000000000 --- a/unmaintained/ttf-ubuntu-font-family/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=ttf-ubuntu-font-family -pkgver=0.83 -pkgrel=0 -pkgdesc="Ubuntu font family" -url="http://font.ubuntu.com/" -arch="noarch" -license="Custom" -depends= -depends_dev= -makedepends="$depends_dev" -install="" -subpackages= -# added fontconfig configuration from: -# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings -source="https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-${pkgver}.zip - 45-ubuntu.conf - 90-tt-ubuntu.conf" - -_builddir="${srcdir}/ubuntu-font-family-${pkgver}" - -package() { - cd "$_builddir" - - mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ - "$pkgdir"/etc/fonts/conf.avail \ - "$pkgdir"/etc/fonts/conf.d - - for i in "$_builddir"/*.ttf; do - install -m644 "$i" \ - "$pkgdir"/usr/share/fonts/$pkgname/ || return 1 - done - - for j in "$srcdir"/*.conf; do - install -m644 "$j" \ - "$pkgdir"/etc/fonts/conf.avail/ || return 1 - cd "$pkgdir"/etc/fonts/conf.d - ln -sf /etc/fonts/conf.avail/${j##*/} - done - -} - -sha512sums="d9ab7afc8aab55810de6e403aa02c0118bb35d94844cc14bb07b71daef4c6d63a9c927f0e81a9f97d29904512d94fa0226fbff2341351ac000fc233d2dc55727 fad7939b-ubuntu-font-family-0.83.zip -5aad0801ef01921750ced9003d8896a0a58e20ed164ea59207a71967a28af6d54c34fb7763838e0b73cf4b4b4b72f8ba7f551b800557b09d1e1e25df3d8d6252 45-ubuntu.conf -c12eb45f2e5c1418ecd0f4e42f9c0c661134db2169f26b67ccd48e3524efda6e42cb192b6b9535b5f447cbe3a2ffb582229ed2789b6758d3ce98254bdc31fc8e 90-tt-ubuntu.conf" diff --git a/unmaintained/ufsutils/APKBUILD b/unmaintained/ufsutils/APKBUILD deleted file mode 100644 index 604d0013d7c..00000000000 --- a/unmaintained/ufsutils/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: -pkgname=ufsutils -pkgver=8.2 -pkgrel=0 -pkgdesc="utilities to manage the UFS, UFS2 and FFS filesystems" -url="http://packages.debian.org/sid/ufsutils" -arch="" -license="BSD" -depends="" -depends_dev="libbsd-dev" -makedepends="$depends_dev libedit-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.de.debian.org/debian/pool/main/u/ufsutils/ufsutils_8.2.orig.tar.gz - http://ftp.de.debian.org/debian/pool/main/u/ufsutils/ufsutils_8.2-3.debian.tar.gz - uclibc-no-fstab.patch" - -_builddir="$srcdir/ufsutils-$pkgver" -prepare() { - local i - cd "$_builddir" - mv "$srcdir"/debian "$_builddir" - for i in debian/patches/*.patch; do - msg $i; patch -p1 -i $i || return 1 - done - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -j1 || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/lib "$pkgdir"/usr/include \ - "$pkgdir"/usr/sbin "$pkgdir"/usr/share/man/man8 - make DESTDIR="$pkgdir" prefix="/usr" install || return 1 -} - -md5sums="e36f879da29e227e4d6494afc0c13559 ufsutils_8.2.orig.tar.gz -82077eb8980d3f9567910f61892c56f1 ufsutils_8.2-3.debian.tar.gz -874a9b9fde380da5d27eda1a23880401 uclibc-no-fstab.patch" -sha256sums="6298d2a94fb601f6951bf81ce074e6af597e8867ac210d8ff73348aeb3738bd9 ufsutils_8.2.orig.tar.gz -6040ad18ddbf9fa37b87b084fe6cf19c50f63456d15b6726067c558f8383b795 ufsutils_8.2-3.debian.tar.gz -c81681efed7ccc420b8e0eb78d5c9f4a4fd313459ab4393744fd7eb3e41188fa uclibc-no-fstab.patch" -sha512sums="f378372c2493c16fe8cb3977f4ed2d104e747895e97d7642d21b5e87a2a03ac696bbac093e534e13c2f1dc4638741edcbbb0ddec5abcbfa6b4f7401efbf7cf14 ufsutils_8.2.orig.tar.gz -7bc925e742eaf4e1837ca4b46afa7966490234492eeb40ad8fabf71550a79890f3294780c2dbdf3593a82fc8e0708cf4c72baba81f4fec9a884cfa545c8895c8 ufsutils_8.2-3.debian.tar.gz -0d4337183fd4af63905306096c335ef75b83b61a92e3f20437649bca7b303aedc5c29080bf9816e04e5e17e1506a0196a36f25a998a2fe620adb1f75b5bb1499 uclibc-no-fstab.patch" diff --git a/unmaintained/ufsutils/uclibc-no-fstab.patch b/unmaintained/ufsutils/uclibc-no-fstab.patch deleted file mode 100644 index 73f8338745d..00000000000 --- a/unmaintained/ufsutils/uclibc-no-fstab.patch +++ /dev/null @@ -1,123 +0,0 @@ ---- ufsutils-8.2.orig/lib/libufs/type.c -+++ ufsutils-8.2/lib/libufs/type.c -@@ -39,7 +39,9 @@ - - #include <errno.h> - #include <fcntl.h> --#include <fstab.h> -+#if 0 -+# include <fstab.h> -+#endif - #include <paths.h> - #include <stdio.h> - #include <stdlib.h> -@@ -86,7 +88,9 @@ - ufs_disk_fillout_blank(struct uufsd *disk, const char *name) - { - struct stat st; -+#if 0 - struct fstab *fs; -+#endif - struct statfs sfs; - const char *oname; - char dev[MAXPATHLEN]; -@@ -114,6 +118,7 @@ - } else if (ret >= 0 && (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))) { - /* This is what we need, do nothing. */ - ; -+#if 0 - } else if ((fs = getfsfile(name)) != NULL) { - /* - * The given mount point is listed in /etc/fstab. -@@ -125,6 +130,7 @@ - * statfs(2) will point us at different file system. - */ - name = fs->fs_spec; -+#endif - } else if (ret >= 0 && S_ISDIR(st.st_mode)) { - /* - * The mount point is not listed in /etc/fstab, so it may be ---- ufsutils-8.2.orig/sbin/dumpfs/dumpfs.c -+++ ufsutils-8.2/sbin/dumpfs/dumpfs.c -@@ -66,7 +66,6 @@ - #include <err.h> - #include <errno.h> - #include <fcntl.h> --#include <fstab.h> - #include <libufs.h> - #include <time.h> - #include <stdint.h> ---- ufsutils-8.2.orig/sbin/fsck_ffs/fsutil.c -+++ ufsutils-8.2/sbin/fsck_ffs/fsutil.c -@@ -53,7 +53,6 @@ - #include <errno.h> - #include <string.h> - #include <ctype.h> --#include <fstab.h> - #include <stdint.h> - #include <stdio.h> - #include <stdlib.h> ---- ufsutils-8.2.orig/sbin/fsck_ffs/main.c -+++ ufsutils-8.2/sbin/fsck_ffs/main.c -@@ -64,7 +64,9 @@ - - #include <err.h> - #include <errno.h> --#include <fstab.h> -+#if 0 -+# include <fstab.h> -+#endif - #include <grp.h> - #include <mntopts.h> - #include <paths.h> ---- ufsutils-8.2.orig/sbin/fsck_ffs/utilities.c -+++ ufsutils-8.2/sbin/fsck_ffs/utilities.c -@@ -47,7 +47,9 @@ - #include <errno.h> - #include <string.h> - #include <ctype.h> --#include <fstab.h> -+#if 0 -+# include <fstab.h> -+#endif - #include <paths.h> - #include <stdio.h> - #include <stdlib.h> -@@ -61,7 +63,9 @@ - { - struct stat stblock; - char *newname, *cp; -+#if 0 - struct fstab *fsinfo; -+#endif - int retried = 0, len; - static char device[MAXPATHLEN]; - -@@ -91,6 +95,7 @@ - if (len > 0 && origname[len] == '/') - /* remove trailing slash */ - origname[len] = '\0'; -+#if 0 - if ((fsinfo = getfsfile(origname)) == NULL) { - printf( - "Can't resolve %s to character special device.\n", -@@ -98,6 +103,9 @@ - return (origname); - } - newname = fsinfo->fs_spec; -+#else -+ return (origname); -+#endif - retried++; - goto retry; - } ---- ufsutils-8.2.orig/sbin/tunefs/tunefs.c -+++ ufsutils-8.2/sbin/tunefs/tunefs.c -@@ -63,7 +63,6 @@ - #include <ctype.h> - #include <err.h> - #include <fcntl.h> --#include <fstab.h> - #include <libufs.h> - #include <paths.h> - #include <stdio.h> diff --git a/unmaintained/v8/APKBUILD b/unmaintained/v8/APKBUILD deleted file mode 100644 index 77e52ef0fed..00000000000 --- a/unmaintained/v8/APKBUILD +++ /dev/null @@ -1,80 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=v8 -pkgver=3.30.33.16 -pkgrel=0 -pkgdesc="V8 JavaScript/ECMAScript Engine" -url="http://www.chromium.org/" -arch="all" -license="BSD" -depends="" -depends_dev="icu-dev readline-dev" -makedepends="${depends_dev} python paxmark" -install="" -subpackages="$pkgname-dev" -# look for updates: http://gsdview.appspot.com/chromium-browser-official/?marker=v8-3.30.22.tar.bz2.hashe%40 -source="http://gsdview.appspot.com/chromium-browser-official/v8-$pkgver.tar.bz2 - v8.pc" - -builddir="$srcdir"/v8-$pkgver - -[ "$CARCH" = 'x86' ] && ARCH=ia32 -[ "$CARCH" = 'x86_64' ] && ARCH=x64 - -prepare() { - local i - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed "s/@VERSION@/$pkgver/g" -i "$srcdir/v8.pc" -} - -build() { - cd "$builddir" - local paxflags="-m" - [ "$CARCH" = "x86" ] && paxflags="-msp" - - msg "Start building..." - export CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" - build/gyp_v8 \ - -Dv8_enable_i18n_support=1 \ - -Duse_system_icu=1 \ - -Dconsole=readline \ - -Dcomponent=shared_library \ - -Dv8_target_arch=$ARCH \ - -Dwerror= \ - --generator-output=out \ - -f make - cd out - make BUILDTYPE=Release Release/mksnapshot || return 1 - paxmark "$paxflags" Release/mksnapshot || return 1 - make BUILDTYPE=Release -} - -package() { - cd "$builddir" - ( - set -e - install -Dm755 out/Release/d8 "$pkgdir"/usr/bin/d8 - install -Dm755 out/Release/lib.target/libv8.so "$pkgdir"/usr/lib/libv8.so - - install -d "$pkgdir"/usr/include - install -Dm644 include/*.h "$pkgdir"/usr/include - - install -d "$pkgdir"/usr/lib/pkgconfig - install -m644 "$srcdir/v8.pc" "$pkgdir"/usr/lib/pkgconfig - - install -d "$pkgdir"/usr/share/licenses/v8 - install -m644 LICENSE* "$pkgdir"/usr/share/licenses/v8 - ) -} - -md5sums="935177ef0ca8119511c49b697e4d16f4 v8-3.30.33.16.tar.bz2 -082724bc560e90d846c0aa441847020c v8.pc" -sha256sums="85d0a3a599a34a572813d134b038f4eea774671398a7097af944e267c60aeeab v8-3.30.33.16.tar.bz2 -2b054309df9af9fb2e3e14527e88360b44745649b4866e592fb357ac90935f5d v8.pc" -sha512sums="af7c44e050d254dc51d5485dbf1c3208bb3aeed658a25689eb7c93a723ec704a6dfe771caab5c137624ee0cdbf7f9ff9f3a19a24c3af4a1ac736983e4592dd61 v8-3.30.33.16.tar.bz2 -67848ce85a6e4b674cf8775a21e687884530748a0296a2259373636729c9a230a27b7ebfbf5fafff3c1e9c102956246ec4eb744853e564fc8337b42a125aeea8 v8.pc" diff --git a/unmaintained/v8/v8.pc b/unmaintained/v8/v8.pc deleted file mode 100755 index f3e604becfc..00000000000 --- a/unmaintained/v8/v8.pc +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=${prefix} -libdir=/usr/lib -includedir=${prefix}/include - -Name: v8 -Description: V8 JavaScript Engine -Version: @VERSION@ -Libs: -L${libdir} -lv8 -pthread -Cflags: -I${includedir} diff --git a/unmaintained/volatility/APKBUILD b/unmaintained/volatility/APKBUILD deleted file mode 100644 index ef18450c260..00000000000 --- a/unmaintained/volatility/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=volatility -pkgver=2.6.1 -pkgrel=1 -pkgdesc="Volatile memory forensics toolkit" -url="http://volatilityfoundation.org/" -arch="noarch" -license="GPL-2.0" -depends="py-crypto" -makedepends="py-setuptools" -source="$pkgname-$pkgver.tar.gz::https://github.com/volatilityfoundation/$pkgname/archive/$pkgver.tar.gz" - -builddir="$srcdir/$pkgname-$pkgver" - -build () { - cd "$builddir" - python2 setup.py build -} - -package() { - cd "$builddir" - python2 setup.py install --root "$pkgdir" -} - -sha512sums="64d49de21a87fb6152ad430126466bf66bca06457f3fa2d54cee29b0e4a2eee53ab658570b6cbc782e85ca558f45fac5cf6e6625ebd85aa3ffc9f69768cfa844 volatility-2.6.1.tar.gz" diff --git a/unmaintained/waitforit/APKBUILD b/unmaintained/waitforit/APKBUILD deleted file mode 100644 index 88e4f1d5538..00000000000 --- a/unmaintained/waitforit/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Max Claus Nunes <maxcnunes@gmail.com> -# Maintainer: Max Claus Nunes <maxcnunes@gmail.com> -pkgname=waitforit -pkgver=1.3.2 -pkgrel=0 -pkgdesc="Wait until an address become available" -url="https://github.com/maxcnunes/waitforit" -arch="all" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev go" -install="" -subpackages="" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/maxcnunes/waitforit/archive/v$pkgver.tar.gz" - -builddir="${srcdir}/${pkgname}-${pkgver}" -_godir="${srcdir}/go" -_gourl="github.com/maxcnunes/waitforit" - -build() { - mkdir -p ${_godir}/bin ${_godir}/src/github.com/maxcnunes - ln -sf ${builddir} ${_godir}/src/github.com/maxcnunes/waitforit - - cd ${_godir}/src/${_gourl} - export GOPATH="${_godir}" - - go get -d -v ./... - go install -v ${_gourl} || return 1 -} - -package() { - cd "$_godir"/bin - - install -Dm755 waitforit \ - "${pkgdir}/usr/bin/waitforit" || return 1 -} - -md5sums="1d7d2d25386cd732c03fb63324ba3d15 waitforit-1.3.2.tar.gz" -sha256sums="8359692a2f63b5a13e831919f6ac51cf98ec7eb7b6e07038566c5ae21f40abe3 waitforit-1.3.2.tar.gz" -sha512sums="c50933cab19e160ea591cc2ee7793167b918c7c1dd94fcdf6f70c9744e92ce8287fad1ec135a325fc256fa3af8182d104595829c0627fd956f2a5b50ed2155a6 waitforit-1.3.2.tar.gz" diff --git a/unmaintained/webkitgtk/APKBUILD b/unmaintained/webkitgtk/APKBUILD deleted file mode 100644 index 5edefd271ed..00000000000 --- a/unmaintained/webkitgtk/APKBUILD +++ /dev/null @@ -1,175 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=webkitgtk -pkgver=2.4.11 -pkgrel=3 -pkgdesc="portable web rendering engine WebKit for GTK+" -url="http://webkitgtk.org/" -arch="all !ppc64le !s390x" -license="LGPL-2.0-or-later BSD" -depends="" -depends_dev="gtk+2.0-dev gtk+3.0-dev libsoup-dev gstreamer1-dev - gst-plugins-base1-dev" -makedepends="$depends_dev - autoconf automake libtool - bison - enchant-dev - expat-dev - flex - gnutls-dev - gobject-introspection-dev - gperf - gtk-doc - icu-dev - libgcrypt-dev - libgpg-error-dev - libjpeg-turbo-dev - libpng-dev - libsecret-dev - libsoup-dev - libwebp-dev - libxcomposite-dev - libxcursor-dev - libxdamage-dev - libxi-dev - libxml2-dev - libxrandr-dev - libxslt-dev - libxt-dev - mesa-dev - pango-dev - perl-switch - ruby - sqlite-dev - zlib-dev - " -install= -replaces="webkit" -subpackages="$pkgname-dev $pkgname-lang webkitgtk2" -source="http://webkitgtk.org/releases/webkitgtk-$pkgver.tar.xz - webkit-gtk-1.7.90-parallel-make-hack.patch - webkitgtk-1.10-textrels.patch - harfbuzz.patch - fix-execinfo.patch - disallow-ctype.patch - webkitgtk-2.4.9-abs.patch - " - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case "$i" in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done - libtoolize --force && aclocal -I Source/autotools \ - && autoconf && automake --force --add-missing || return 1 -} - -_build() { - local _ver=$1 - - # disable jit on aarch64 and ppc64le - if [ "$CARCH" = "aarch64" ] || [ "CARCH" = "ppc64le" ]; then - local _conf="--disable-jit" - export CXXFLAGS="$CXXFLAGS -DENABLE_YARR_JIT=0" - fi - - # Workaround crashes with gcc 6.1 - export CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" - - shift - ../configure $@\ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --libexecdir=/usr/lib/webkitgtk-$_ver \ - --disable-geolocation \ - --enable-introspection \ - --with-gtk=$_ver \ - --disable-webkit2 \ - $_conf \ - || return 1 - - # fight overlinking - # https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool || return 1 - - # hack to work around parallel make problems, - # see https://bugs.webkit.org/show_bug.cgi?id=79498 - make -j1 all-built-sources-local \ - && make all-ltlibraries-local \ - && make all-programs-local \ - && make || return 1 -} - -build() { - cd "$_builddir" - mkdir -p build-2.0 - msg "building for gtk2" - (cd build-2.0 && _build 2.0) || return 1 - - msg "building for gtk3" - mkdir -p build-3.0 - (cd build-3.0 && _build 3.0) || return 1 -} - -package() { - cd "$_builddir" - for i in 2.0 3.0; do - cd build-$i - make DESTDIR="$pkgdir" install || return 1 - # verify so we dont have textrels - if scanelf -qRt "$pkgdir" | grep TEXTREL; then - error "found textrels" - return 1 - fi - cd .. - done -} - -webkitgtk2() { - pkgdesc="portable web rendering engine WebKit for GTK+2" - local dir - mkdir -p "$subpkgdir"/usr/share \ - "$subpkgdir"/usr/lib \ - "$subpkgdir"/usr/lib/girepository-1.0 \ - "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/share/webkitgtk-1.0 "$subpkgdir"/usr/share/ \ - || return 1 - mv "$pkgdir"/usr/lib/girepository-1.0/*-1.0* \ - "$subpkgdir"/usr/lib/girepository-1.0/ || return 1 - mv "$pkgdir"/usr/lib/lib*-1.0* \ - "$subpkgdir"/usr/lib/ || return 1 - mv "$pkgdir"/usr/bin/jsc-1 \ - "$subpkgdir"/usr/bin/ || return 1 -} - -md5sums="24a25ccc30a7914ae50922aedf24b7bc webkitgtk-2.4.11.tar.xz -de77a3e7e61753e7f1cce3f4bd00a3f6 webkit-gtk-1.7.90-parallel-make-hack.patch -9ace721086b25f0f32d7f76b29789f67 webkitgtk-1.10-textrels.patch -b1f455b3ea4db1598b60f5aa59f27fd5 harfbuzz.patch -c114751c30cdcaede5a7ed5568b2b0d4 fix-execinfo.patch -f5b41e756d2dfdc2bbee034d4f2d2e66 disallow-ctype.patch -f5f1f913a4abd3bb9cff2055305ead16 webkitgtk-2.4.9-abs.patch" -sha256sums="588aea051bfbacced27fdfe0335a957dca839ebe36aa548df39c7bbafdb65bf7 webkitgtk-2.4.11.tar.xz -e20d7d45e6230308f7d4a7aac1095cb1fe8d9c7eb0f3e65b061acf8bc4bbaf73 webkit-gtk-1.7.90-parallel-make-hack.patch -754bbf13c7a6c9bd745f642367ff884156020dd2ea7611c3d20a509c6685c836 webkitgtk-1.10-textrels.patch -0b7c1ce7e0e8548507eed8911c73d4a06434e5ca3b84275e785013f8b04433a2 harfbuzz.patch -b2bc9e03fd5d968d6df4531a7d102496139120e666e6fed397a19ae4026751c6 fix-execinfo.patch -6e972b5cb3f1101be646d1a018ff61c0e6614310a971eb392c4fd0fee5623455 disallow-ctype.patch -ec294bbb5588a1802a68e3615c6718486b22f922645c5fef686d3d103014bf70 webkitgtk-2.4.9-abs.patch" -sha512sums="2e2cf01a52b8593765a0a3c2d7f0ad306121660019eb402226bd2826c7d4666dab4e91ca6ccbd29abe0ad3993549f256ed1ab88de22e9c8516d5f40a4edd6bfb webkitgtk-2.4.11.tar.xz -907356faab08ebf65da8760ad11ee8ecd4e97274b1c00c1e207fd52e479d64a0545ba66859b1a79bd150a95da4a9e8724b3c461a24f803fb341b8242566b5cc0 webkit-gtk-1.7.90-parallel-make-hack.patch -c3502a11ce4777abc164209c0087ec7cb6c28b376056bee52651b4e4bd2d49f2d6e4a74422f21d9bce848479a4a1b02052935b3c9397f1d43a59b3de22ef2758 webkitgtk-1.10-textrels.patch -8eb77ed1a1c60aac44fb00cfa6ddd46a23c4701fd6a24eac901d07eb49e0191080f7410fa3801115da5448b514e5d2095a4c4072a8c1e9f8c668eebb78afe6a1 harfbuzz.patch -602630468ee80b9f9bb53ee7808f4b2f2c86d1d4db14ac9c244b3e2e79a245510a289eb321cb7dbefd3b7a2dde13cf444b8ecf7cd46f23eaa5c0f04670914e42 fix-execinfo.patch -40a213548d4f76152d2cae57c15c6fb079b64a681a2b033b0c8265c5dbe2653818c898d1ac76ae59298cbf568dc4b811f86c3913e9d2c3d3f33e5cb8c1bd217e disallow-ctype.patch -64ec41fc02d6bfc4e6cdc13cc2560aaefcf2b5c9c6ac62a6e3d3b85221487b44bf8b7edbf972635d1628f1d3919f96f4dd417774b8d39691b3b0d7925e499f82 webkitgtk-2.4.9-abs.patch" diff --git a/unmaintained/webkitgtk/disallow-ctype.patch b/unmaintained/webkitgtk/disallow-ctype.patch deleted file mode 100644 index 01414a2d7ee..00000000000 --- a/unmaintained/webkitgtk/disallow-ctype.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Source/WTF/wtf/DisallowCType.h.orig 2014-04-07 06:37:46.851957952 +0000 -+++ ./Source/WTF/wtf/DisallowCType.h 2014-04-07 06:39:30.653205023 +0000 -@@ -41,7 +41,7 @@ - // or <glib/gi18n-lib.h>, which in turn include <xlocale/_ctype.h> which uses - // isacii(). - #include <wtf/Platform.h> --#if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION) -+#if !(OS(DARWIN) && PLATFORM(GTK)) && !PLATFORM(EFL) && !defined(_LIBCPP_VERSION) && defined(__GLIBC__) - - #include <ctype.h> - diff --git a/unmaintained/webkitgtk/fix-execinfo.patch b/unmaintained/webkitgtk/fix-execinfo.patch deleted file mode 100644 index eb825312f3b..00000000000 --- a/unmaintained/webkitgtk/fix-execinfo.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- webkitgtk-2.2.0.orig/Source/WTF/wtf/Assertions.cpp -+++ webkitgtk-2.2.0/Source/WTF/wtf/Assertions.cpp -@@ -64,7 +64,7 @@ - #include <windows.h> - #endif - --#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__)) -+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) - #include <cxxabi.h> - #include <dlfcn.h> - #include <execinfo.h> -@@ -242,7 +242,7 @@ - - void WTFGetBacktrace(void** stack, int* size) - { --#if OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__)) -+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__)) - *size = backtrace(stack, *size); - #elif OS(WINDOWS) && !OS(WINCE) - // The CaptureStackBackTrace function is available in XP, but it is not defined diff --git a/unmaintained/webkitgtk/harfbuzz.patch b/unmaintained/webkitgtk/harfbuzz.patch deleted file mode 100644 index c334fe877ff..00000000000 --- a/unmaintained/webkitgtk/harfbuzz.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ./Source/autotools/FindDependencies.m4.orig 2013-06-10 12:31:46.700819390 +0000 -+++ ./Source/autotools/FindDependencies.m4 2013-06-10 12:32:15.101112741 +0000 -@@ -373,6 +373,13 @@ - PKG_CHECK_MODULES([FREETYPE], - [cairo-ft fontconfig >= fontconfig_required_version freetype2 >= freetype2_required_version harfbuzz >= harfbuzz_required_version]) - fi -+# HarfBuzz 0.9.18 splits harbuzz-icu into a separate library. -+# Since we support earlier HarfBuzz versions we keep this conditional by now. -+if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz ; then -+ PKG_CHECK_MODULES(HARFBUZZ_ICU, harfbuzz-icu >= $harfbuzz_required_version) -+ FREETYPE_CFLAGS+=" $HARFBUZZ_ICU_CFLAGS" -+ FREETYPE_LIBS+=" $HARFBUZZ_ICU_LIBS" -+fi - AC_SUBST([FREETYPE_CFLAGS]) - AC_SUBST([FREETYPE_LIBS]) - diff --git a/unmaintained/webkitgtk/webkit-gtk-1.7.90-parallel-make-hack.patch b/unmaintained/webkitgtk/webkit-gtk-1.7.90-parallel-make-hack.patch deleted file mode 100644 index b632ca2791d..00000000000 --- a/unmaintained/webkitgtk/webkit-gtk-1.7.90-parallel-make-hack.patch +++ /dev/null @@ -1,21 +0,0 @@ -Horrible failure of a hack to enable workaround for -https://bugs.webkit.org/show_bug.cgi?id=79498 - ---- a/GNUmakefile.am -+++ b/GNUmakefile.am -@@ -285,6 +285,15 @@ - all-local: stamp-po - $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources - -+# Horrible hack to enable workaround for parallel make failure -+all-built-sources-local: $(BUILT_SOURCES) autotoolsconfig.h -+ -+all-ltlibraries-local: GNUmakefile $(LTLIBRARIES) -+ -+all-programs-local: GNUmakefile $(PROGRAMS) -+ -+all-data-local: GNUmakefile $(DATA) -+ - # remove built sources and program directories - clean-local: - -rm -rf $(GENPROGRAMS) diff --git a/unmaintained/webkitgtk/webkitgtk-1.10-textrels.patch b/unmaintained/webkitgtk/webkitgtk-1.10-textrels.patch deleted file mode 100644 index 7f2dda2d48d..00000000000 --- a/unmaintained/webkitgtk/webkitgtk-1.10-textrels.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Source/WTF/wtf/InlineASM.h.orig -+++ ./Source/WTF/wtf/InlineASM.h -@@ -42,7 +42,7 @@ - #define THUMB_FUNC_PARAM(name) - #endif - --#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64) -+#if (OS(LINUX) || OS(FREEBSD)) && (CPU(X86_64) || CPU(X86)) - #define GLOBAL_REFERENCE(name) #name "@plt" - #elif CPU(X86) && COMPILER(MINGW) - #define GLOBAL_REFERENCE(name) "@" #name "@4" diff --git a/unmaintained/webkitgtk/webkitgtk-2.0.4-bison-3.0.patch b/unmaintained/webkitgtk/webkitgtk-2.0.4-bison-3.0.patch deleted file mode 100644 index 87335d9947d..00000000000 --- a/unmaintained/webkitgtk/webkitgtk-2.0.4-bison-3.0.patch +++ /dev/null @@ -1,8229 +0,0 @@ -diff --git a/Source/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp b/Source/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp -new file mode 100644 -index 0000000..90c0dd4 ---- /dev/null -+++ b/Source/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp -@@ -0,0 +1,3041 @@ -+#line 17 "./glslang.l" -+// -+// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+// -+ -+// This file is auto-generated by generate_parser.sh. DO NOT EDIT! -+ -+// Ignore errors in auto-generated code. -+#if defined(__clang__) -+#pragma clang diagnostic ignored "-Wshorten-64-to-32" -+#endif -+#if defined(__GNUC__) -+#pragma GCC diagnostic ignored "-Wunused-function" -+#pragma GCC diagnostic ignored "-Wunused-variable" -+#pragma GCC diagnostic ignored "-Wswitch-enum" -+#elif defined(_MSC_VER) -+#pragma warning(disable: 4065) -+#pragma warning(disable: 4189) -+#pragma warning(disable: 4505) -+#pragma warning(disable: 4701) -+#endif -+ -+ -+ -+#line 25 "./glslang_lex.cpp" -+ -+#define YY_INT_ALIGNED short int -+ -+/* A lexical scanner generated by flex */ -+ -+#define FLEX_SCANNER -+#define YY_FLEX_MAJOR_VERSION 2 -+#define YY_FLEX_MINOR_VERSION 5 -+#define YY_FLEX_SUBMINOR_VERSION 35 -+#if YY_FLEX_SUBMINOR_VERSION > 0 -+#define FLEX_BETA -+#endif -+ -+/* First, we deal with platform-specific or compiler-specific issues. */ -+ -+/* begin standard C headers. */ -+#include <stdio.h> -+#include <string.h> -+#include <errno.h> -+#include <stdlib.h> -+ -+/* end standard C headers. */ -+ -+/* flex integer type definitions */ -+ -+#ifndef FLEXINT_H -+#define FLEXINT_H -+ -+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ -+ -+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -+ -+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, -+ * if you want the limit (max/min) macros for int types. -+ */ -+#ifndef __STDC_LIMIT_MACROS -+#define __STDC_LIMIT_MACROS 1 -+#endif -+ -+#include <inttypes.h> -+typedef int8_t flex_int8_t; -+typedef uint8_t flex_uint8_t; -+typedef int16_t flex_int16_t; -+typedef uint16_t flex_uint16_t; -+typedef int32_t flex_int32_t; -+typedef uint32_t flex_uint32_t; -+typedef uint64_t flex_uint64_t; -+#else -+typedef signed char flex_int8_t; -+typedef short int flex_int16_t; -+typedef int flex_int32_t; -+typedef unsigned char flex_uint8_t; -+typedef unsigned short int flex_uint16_t; -+typedef unsigned int flex_uint32_t; -+#endif /* ! C99 */ -+ -+/* Limits of integral types. */ -+#ifndef INT8_MIN -+#define INT8_MIN (-128) -+#endif -+#ifndef INT16_MIN -+#define INT16_MIN (-32767-1) -+#endif -+#ifndef INT32_MIN -+#define INT32_MIN (-2147483647-1) -+#endif -+#ifndef INT8_MAX -+#define INT8_MAX (127) -+#endif -+#ifndef INT16_MAX -+#define INT16_MAX (32767) -+#endif -+#ifndef INT32_MAX -+#define INT32_MAX (2147483647) -+#endif -+#ifndef UINT8_MAX -+#define UINT8_MAX (255U) -+#endif -+#ifndef UINT16_MAX -+#define UINT16_MAX (65535U) -+#endif -+#ifndef UINT32_MAX -+#define UINT32_MAX (4294967295U) -+#endif -+ -+#endif /* ! FLEXINT_H */ -+ -+#ifdef __cplusplus -+ -+/* The "const" storage-class-modifier is valid. */ -+#define YY_USE_CONST -+ -+#else /* ! __cplusplus */ -+ -+/* C99 requires __STDC__ to be defined as 1. */ -+#if defined (__STDC__) -+ -+#define YY_USE_CONST -+ -+#endif /* defined (__STDC__) */ -+#endif /* ! __cplusplus */ -+ -+#ifdef YY_USE_CONST -+#define yyconst const -+#else -+#define yyconst -+#endif -+ -+/* Returned upon end-of-file. */ -+#define YY_NULL 0 -+ -+/* Promotes a possibly negative, possibly signed char to an unsigned -+ * integer for use as an array index. If the signed char is negative, -+ * we want to instead treat it as an 8-bit unsigned char, hence the -+ * double cast. -+ */ -+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) -+ -+/* An opaque pointer. */ -+#ifndef YY_TYPEDEF_YY_SCANNER_T -+#define YY_TYPEDEF_YY_SCANNER_T -+typedef void* yyscan_t; -+#endif -+ -+/* For convenience, these vars (plus the bison vars far below) -+ are macros in the reentrant scanner. */ -+#define yyin yyg->yyin_r -+#define yyout yyg->yyout_r -+#define yyextra yyg->yyextra_r -+#define yyleng yyg->yyleng_r -+#define yytext yyg->yytext_r -+#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) -+#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) -+#define yy_flex_debug yyg->yy_flex_debug_r -+ -+/* Enter a start condition. This macro really ought to take a parameter, -+ * but we do it the disgusting crufty way forced on us by the ()-less -+ * definition of BEGIN. -+ */ -+#define BEGIN yyg->yy_start = 1 + 2 * -+ -+/* Translate the current start state into a value that can be later handed -+ * to BEGIN to return to the state. The YYSTATE alias is for lex -+ * compatibility. -+ */ -+#define YY_START ((yyg->yy_start - 1) / 2) -+#define YYSTATE YY_START -+ -+/* Action number for EOF rule of a given start state. */ -+#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) -+ -+/* Special action meaning "start processing a new file". */ -+#define YY_NEW_FILE yyrestart(yyin ,yyscanner ) -+ -+#define YY_END_OF_BUFFER_CHAR 0 -+ -+/* Size of default input buffer. */ -+#ifndef YY_BUF_SIZE -+#define YY_BUF_SIZE 16384 -+#endif -+ -+/* The state buf must be large enough to hold one state per character in the main buffer. -+ */ -+#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) -+ -+#ifndef YY_TYPEDEF_YY_BUFFER_STATE -+#define YY_TYPEDEF_YY_BUFFER_STATE -+typedef struct yy_buffer_state *YY_BUFFER_STATE; -+#endif -+ -+#ifndef YY_TYPEDEF_YY_SIZE_T -+#define YY_TYPEDEF_YY_SIZE_T -+typedef size_t yy_size_t; -+#endif -+ -+#define EOB_ACT_CONTINUE_SCAN 0 -+#define EOB_ACT_END_OF_FILE 1 -+#define EOB_ACT_LAST_MATCH 2 -+ -+ /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires -+ * access to the local variable yy_act. Since yyless() is a macro, it would break -+ * existing scanners that call yyless() from OUTSIDE yylex. -+ * One obvious solution it to make yy_act a global. I tried that, and saw -+ * a 5% performance hit in a non-yylineno scanner, because yy_act is -+ * normally declared as a register variable-- so it is not worth it. -+ */ -+ #define YY_LESS_LINENO(n) \ -+ do { \ -+ yy_size_t yyl;\ -+ for ( yyl = n; yyl < yyleng; ++yyl )\ -+ if ( yytext[yyl] == '\n' )\ -+ --yylineno;\ -+ }while(0) -+ -+/* Return all but the first "n" matched characters back to the input stream. */ -+#define yyless(n) \ -+ do \ -+ { \ -+ /* Undo effects of setting up yytext. */ \ -+ int yyless_macro_arg = (n); \ -+ YY_LESS_LINENO(yyless_macro_arg);\ -+ *yy_cp = yyg->yy_hold_char; \ -+ YY_RESTORE_YY_MORE_OFFSET \ -+ yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ -+ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ -+ } \ -+ while ( 0 ) -+ -+#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner ) -+ -+#ifndef YY_STRUCT_YY_BUFFER_STATE -+#define YY_STRUCT_YY_BUFFER_STATE -+struct yy_buffer_state -+ { -+ FILE *yy_input_file; -+ -+ char *yy_ch_buf; /* input buffer */ -+ char *yy_buf_pos; /* current position in input buffer */ -+ -+ /* Size of input buffer in bytes, not including room for EOB -+ * characters. -+ */ -+ yy_size_t yy_buf_size; -+ -+ /* Number of characters read into yy_ch_buf, not including EOB -+ * characters. -+ */ -+ yy_size_t yy_n_chars; -+ -+ /* Whether we "own" the buffer - i.e., we know we created it, -+ * and can realloc() it to grow it, and should free() it to -+ * delete it. -+ */ -+ int yy_is_our_buffer; -+ -+ /* Whether this is an "interactive" input source; if so, and -+ * if we're using stdio for input, then we want to use getc() -+ * instead of fread(), to make sure we stop fetching input after -+ * each newline. -+ */ -+ int yy_is_interactive; -+ -+ /* Whether we're considered to be at the beginning of a line. -+ * If so, '^' rules will be active on the next match, otherwise -+ * not. -+ */ -+ int yy_at_bol; -+ -+ int yy_bs_lineno; /**< The line count. */ -+ int yy_bs_column; /**< The column count. */ -+ -+ /* Whether to try to fill the input buffer when we reach the -+ * end of it. -+ */ -+ int yy_fill_buffer; -+ -+ int yy_buffer_status; -+ -+#define YY_BUFFER_NEW 0 -+#define YY_BUFFER_NORMAL 1 -+ /* When an EOF's been seen but there's still some text to process -+ * then we mark the buffer as YY_EOF_PENDING, to indicate that we -+ * shouldn't try reading from the input source any more. We might -+ * still have a bunch of tokens to match, though, because of -+ * possible backing-up. -+ * -+ * When we actually see the EOF, we change the status to "new" -+ * (via yyrestart()), so that the user can continue scanning by -+ * just pointing yyin at a new input file. -+ */ -+#define YY_BUFFER_EOF_PENDING 2 -+ -+ }; -+#endif /* !YY_STRUCT_YY_BUFFER_STATE */ -+ -+/* We provide macros for accessing buffer states in case in the -+ * future we want to put the buffer states in a more general -+ * "scanner state". -+ * -+ * Returns the top of the stack, or NULL. -+ */ -+#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ -+ ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ -+ : NULL) -+ -+/* Same as previous macro, but useful when we know that the buffer stack is not -+ * NULL or when we need an lvalue. For internal use only. -+ */ -+#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] -+ -+void yyrestart (FILE *input_file ,yyscan_t yyscanner ); -+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner ); -+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner ); -+void yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner ); -+void yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner ); -+void yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner ); -+void yypop_buffer_state (yyscan_t yyscanner ); -+ -+static void yyensure_buffer_stack (yyscan_t yyscanner ); -+static void yy_load_buffer_state (yyscan_t yyscanner ); -+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner ); -+ -+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) -+ -+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner ); -+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner ); -+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner ); -+ -+void *yyalloc (yy_size_t ,yyscan_t yyscanner ); -+void *yyrealloc (void *,yy_size_t ,yyscan_t yyscanner ); -+void yyfree (void * ,yyscan_t yyscanner ); -+ -+#define yy_new_buffer yy_create_buffer -+ -+#define yy_set_interactive(is_interactive) \ -+ { \ -+ if ( ! YY_CURRENT_BUFFER ){ \ -+ yyensure_buffer_stack (yyscanner); \ -+ YY_CURRENT_BUFFER_LVALUE = \ -+ yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \ -+ } \ -+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ -+ } -+ -+#define yy_set_bol(at_bol) \ -+ { \ -+ if ( ! YY_CURRENT_BUFFER ){\ -+ yyensure_buffer_stack (yyscanner); \ -+ YY_CURRENT_BUFFER_LVALUE = \ -+ yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \ -+ } \ -+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ -+ } -+ -+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) -+ -+/* Begin user sect3 */ -+ -+#define yywrap(n) 1 -+#define YY_SKIP_YYWRAP -+ -+typedef unsigned char YY_CHAR; -+ -+typedef int yy_state_type; -+ -+#define yytext_ptr yytext_r -+ -+static yy_state_type yy_get_previous_state (yyscan_t yyscanner ); -+static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner); -+static int yy_get_next_buffer (yyscan_t yyscanner ); -+static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); -+ -+/* Done after the current pattern has been matched and before the -+ * corresponding action - sets up yytext. -+ */ -+#define YY_DO_BEFORE_ACTION \ -+ yyg->yytext_ptr = yy_bp; \ -+ yyleng = (yy_size_t) (yy_cp - yy_bp); \ -+ yyg->yy_hold_char = *yy_cp; \ -+ *yy_cp = '\0'; \ -+ yyg->yy_c_buf_p = yy_cp; -+ -+#define YY_NUM_RULES 155 -+#define YY_END_OF_BUFFER 156 -+/* This struct is not used in this scanner, -+ but its presence is necessary. */ -+struct yy_trans_info -+ { -+ flex_int32_t yy_verify; -+ flex_int32_t yy_nxt; -+ }; -+static yyconst flex_int16_t yy_accept[459] = -+ { 0, -+ 0, 0, 0, 0, 0, 0, 156, 154, 153, 153, -+ 138, 144, 149, 133, 134, 142, 141, 130, 139, 137, -+ 143, 102, 102, 131, 127, 145, 132, 146, 150, 98, -+ 135, 136, 148, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 128, 147, 129, 140, 3, 4, 3, -+ 152, 155, 151, 124, 110, 129, 118, 113, 108, 116, -+ 106, 117, 107, 105, 2, 1, 109, 104, 100, 101, -+ 0, 0, 102, 136, 128, 135, 125, 121, 123, 122, -+ 126, 98, 114, 120, 98, 98, 98, 98, 98, 98, -+ -+ 98, 98, 98, 98, 17, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 98, 20, 22, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 115, 119, 5, -+ 151, 0, 1, 104, 0, 0, 103, 99, 111, 112, -+ 50, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 18, -+ 98, 98, 98, 98, 98, 98, 98, 98, 26, 98, -+ 98, 98, 98, 98, 98, 98, 98, 23, 98, 98, -+ -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 0, 105, 0, 104, 98, 28, 98, 98, 95, -+ 98, 98, 98, 98, 98, 98, 98, 21, 53, 98, -+ 98, 98, 69, 98, 98, 58, 73, 98, 98, 98, -+ 98, 98, 98, 98, 98, 70, 9, 33, 34, 35, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 98, 98, 98, 98, 56, 29, 98, 98, -+ 98, 98, 98, 98, 36, 37, 38, 27, 98, 98, -+ 98, 15, 42, 43, 44, 51, 12, 98, 98, 98, -+ -+ 98, 82, 83, 84, 98, 30, 74, 25, 85, 86, -+ 87, 7, 79, 80, 81, 98, 24, 77, 98, 98, -+ 39, 40, 41, 98, 98, 98, 98, 98, 98, 98, -+ 98, 98, 71, 98, 98, 98, 98, 98, 98, 98, -+ 98, 52, 98, 97, 98, 98, 19, 98, 98, 98, -+ 98, 72, 66, 61, 98, 98, 98, 98, 98, 78, -+ 57, 98, 64, 32, 98, 94, 65, 49, 76, 59, -+ 98, 98, 98, 98, 98, 98, 98, 98, 60, 31, -+ 98, 98, 98, 8, 98, 98, 98, 98, 98, 54, -+ 13, 98, 14, 98, 98, 16, 67, 98, 98, 98, -+ -+ 62, 98, 98, 98, 98, 98, 98, 55, 75, 63, -+ 11, 68, 6, 96, 10, 88, 45, 89, 98, 98, -+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, -+ 46, 98, 98, 98, 98, 98, 98, 98, 48, 98, -+ 92, 98, 98, 98, 98, 98, 90, 98, 91, 98, -+ 98, 98, 98, 98, 98, 47, 93, 0 -+ } ; -+ -+static yyconst flex_int32_t yy_ec[256] = -+ { 0, -+ 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, -+ 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 2, 4, 1, 1, 1, 5, 6, 1, 7, -+ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -+ 18, 19, 20, 20, 20, 21, 21, 22, 23, 24, -+ 25, 26, 27, 1, 28, 28, 29, 30, 31, 28, -+ 32, 32, 32, 32, 32, 32, 32, 32, 33, 32, -+ 32, 34, 35, 32, 32, 32, 32, 36, 32, 32, -+ 37, 1, 38, 39, 32, 1, 40, 41, 42, 43, -+ -+ 44, 45, 46, 47, 48, 32, 49, 50, 51, 52, -+ 53, 54, 32, 55, 56, 57, 58, 59, 60, 61, -+ 62, 63, 64, 65, 66, 67, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1 -+ } ; -+ -+static yyconst flex_int32_t yy_meta[68] = -+ { 0, -+ 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, -+ 3, 1, 1, 1, 1, 1, 1, 3, 3, 3, -+ 3, 4, 4, 4, 4, 4, 1, 1, 1, 3, -+ 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, -+ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, -+ 4, 4, 4, 1, 1, 1, 1 -+ } ; -+ -+static yyconst flex_int16_t yy_base[464] = -+ { 0, -+ 0, 0, 65, 66, 75, 0, 680, 681, 681, 681, -+ 654, 45, 137, 681, 681, 653, 134, 681, 133, 131, -+ 146, 159, 168, 651, 681, 186, 651, 47, 681, 0, -+ 681, 681, 128, 100, 110, 152, 156, 146, 166, 622, -+ 173, 109, 621, 126, 177, 615, 178, 628, 187, 184, -+ 141, 197, 624, 681, 157, 681, 681, 681, 681, 656, -+ 681, 681, 0, 681, 681, 681, 681, 681, 681, 681, -+ 681, 681, 681, 236, 681, 0, 681, 243, 273, 282, -+ 304, 0, 314, 681, 681, 681, 644, 681, 681, 681, -+ 643, 0, 681, 681, 616, 609, 612, 620, 619, 606, -+ -+ 621, 608, 614, 602, 599, 612, 599, 596, 596, 602, -+ 590, 189, 595, 605, 591, 597, 600, 601, 0, 216, -+ 600, 188, 586, 599, 590, 592, 582, 596, 593, 595, -+ 578, 583, 580, 569, 183, 577, 582, 578, 580, 569, -+ 572, 220, 577, 569, 581, 176, 574, 681, 681, 681, -+ 0, 331, 0, 344, 361, 290, 374, 0, 681, 681, -+ 0, 566, 570, 579, 576, 560, 560, 215, 575, 572, -+ 572, 570, 567, 559, 565, 552, 563, 549, 565, 0, -+ 562, 550, 557, 554, 558, 551, 540, 539, 552, 555, -+ 552, 547, 538, 260, 543, 546, 537, 534, 538, 544, -+ -+ 535, 526, 529, 527, 537, 523, 521, 534, 520, 522, -+ 519, 530, 529, 283, 524, 519, 508, 264, 526, 528, -+ 517, 381, 388, 395, 402, 518, 0, 516, 320, 0, -+ 508, 506, 514, 503, 520, 509, 336, 0, 0, 503, -+ 513, 513, 0, 498, 349, 0, 0, 500, 366, 501, -+ 495, 494, 495, 494, 407, 0, 0, 0, 0, 0, -+ 490, 491, 496, 487, 500, 495, 494, 486, 490, 482, -+ 485, 489, 494, 480, 492, 483, 0, 0, 489, 478, -+ 478, 483, 482, 479, 0, 0, 0, 0, 469, 481, -+ 483, 0, 0, 0, 0, 0, 0, 471, 472, 466, -+ -+ 476, 0, 0, 0, 467, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 474, 0, 0, 472, 468, -+ 0, 0, 0, 464, 460, 465, 455, 468, 454, 467, -+ 456, 463, 0, 461, 463, 447, 449, 455, 461, 456, -+ 444, 0, 446, 0, 445, 448, 0, 437, 436, 436, -+ 449, 0, 451, 0, 450, 449, 434, 447, 434, 0, -+ 0, 437, 0, 0, 429, 0, 0, 0, 0, 0, -+ 426, 437, 430, 436, 433, 428, 420, 432, 0, 0, -+ 425, 432, 421, 0, 430, 427, 417, 411, 425, 0, -+ 0, 425, 0, 423, 422, 0, 0, 421, 407, 419, -+ -+ 0, 410, 431, 430, 429, 400, 396, 0, 0, 0, -+ 0, 0, 0, 0, 0, 421, 250, 421, 411, 384, -+ 392, 394, 390, 392, 391, 390, 393, 390, 391, 388, -+ 0, 332, 343, 317, 329, 313, 317, 304, 321, 291, -+ 0, 302, 280, 271, 255, 262, 0, 256, 0, 232, -+ 206, 212, 148, 159, 113, 0, 0, 681, 442, 444, -+ 446, 450, 161 -+ } ; -+ -+static yyconst flex_int16_t yy_def[464] = -+ { 0, -+ 458, 1, 459, 459, 458, 5, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 460, -+ 458, 458, 458, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 461, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 462, 458, 458, 458, 458, -+ 458, 463, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 460, 458, 458, 460, 460, 460, 460, 460, 460, -+ -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 458, 458, 458, -+ 461, 458, 462, 458, 458, 458, 458, 463, 458, 458, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 458, 458, 458, 458, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, -+ 460, 460, 460, 460, 460, 460, 460, 0, 458, 458, -+ 458, 458, 458 -+ } ; -+ -+static yyconst flex_int16_t yy_nxt[749] = -+ { 0, -+ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, -+ 18, 19, 20, 21, 22, 23, 23, 23, 23, 23, -+ 23, 24, 25, 26, 27, 28, 29, 30, 30, 30, -+ 30, 30, 30, 30, 30, 30, 31, 32, 33, 34, -+ 35, 36, 37, 38, 39, 40, 41, 42, 30, 43, -+ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, -+ 30, 30, 30, 54, 55, 56, 57, 59, 59, 65, -+ 66, 90, 91, 60, 60, 8, 61, 62, 8, 8, -+ 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -+ 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, -+ -+ 8, 8, 63, 63, 63, 63, 63, 63, 63, 63, -+ 63, 8, 8, 8, 63, 63, 63, 63, 63, 63, -+ 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, -+ 63, 63, 63, 63, 63, 63, 63, 63, 8, 8, -+ 8, 8, 67, 70, 72, 74, 74, 74, 74, 74, -+ 74, 74, 93, 119, 75, 95, 96, 73, 71, 76, -+ 120, 68, 97, 158, 98, 123, 94, 121, 99, 124, -+ 77, 78, 457, 79, 79, 79, 79, 79, 79, 80, -+ 78, 148, 83, 83, 83, 83, 83, 83, 83, 81, -+ 85, 100, 142, 456, 82, 107, 143, 108, 81, 103, -+ -+ 455, 101, 81, 104, 102, 110, 109, 86, 105, 87, -+ 88, 81, 116, 111, 106, 112, 125, 128, 113, 82, -+ 117, 149, 206, 219, 114, 220, 132, 138, 178, 126, -+ 139, 118, 129, 133, 134, 130, 144, 207, 140, 192, -+ 145, 179, 454, 135, 136, 141, 137, 193, 453, 146, -+ 74, 74, 74, 74, 74, 74, 74, 154, 154, 154, -+ 154, 154, 154, 154, 452, 186, 152, 214, 187, 188, -+ 232, 233, 189, 155, 190, 215, 258, 259, 260, 152, -+ 285, 286, 287, 422, 423, 78, 155, 79, 79, 79, -+ 79, 79, 79, 80, 78, 451, 80, 80, 80, 80, -+ -+ 80, 80, 80, 81, 157, 157, 157, 157, 157, 157, -+ 157, 450, 81, 156, 449, 156, 81, 448, 157, 157, -+ 157, 157, 157, 157, 157, 81, 78, 280, 83, 83, -+ 83, 83, 83, 83, 83, 281, 293, 294, 295, 447, -+ 222, 446, 222, 445, 81, 223, 223, 223, 223, 223, -+ 223, 223, 302, 303, 304, 444, 443, 81, 154, 154, -+ 154, 154, 154, 154, 154, 309, 310, 311, 442, 441, -+ 224, 440, 224, 439, 155, 225, 225, 225, 225, 225, -+ 225, 225, 313, 314, 315, 438, 437, 155, 157, 157, -+ 157, 157, 157, 157, 157, 223, 223, 223, 223, 223, -+ -+ 223, 223, 223, 223, 223, 223, 223, 223, 223, 225, -+ 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, -+ 225, 225, 225, 321, 322, 323, 403, 404, 405, 436, -+ 435, 434, 433, 432, 431, 430, 429, 428, 427, 406, -+ 426, 407, 58, 58, 58, 58, 92, 92, 151, 151, -+ 153, 425, 153, 153, 424, 421, 420, 419, 418, 417, -+ 416, 415, 414, 413, 412, 411, 410, 409, 408, 402, -+ 401, 400, 399, 398, 397, 396, 395, 394, 393, 392, -+ 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, -+ 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, -+ -+ 371, 370, 369, 368, 367, 366, 365, 364, 363, 362, -+ 361, 360, 359, 358, 357, 356, 355, 354, 353, 352, -+ 351, 350, 349, 348, 347, 346, 345, 344, 343, 342, -+ 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, -+ 331, 330, 329, 328, 327, 326, 325, 324, 320, 319, -+ 318, 317, 316, 312, 308, 307, 306, 305, 301, 300, -+ 299, 298, 297, 296, 292, 291, 290, 289, 288, 284, -+ 283, 282, 279, 278, 277, 276, 275, 274, 273, 272, -+ 271, 270, 269, 268, 267, 266, 265, 264, 263, 262, -+ 261, 257, 256, 255, 254, 253, 252, 251, 250, 249, -+ -+ 248, 247, 246, 245, 244, 243, 242, 241, 240, 239, -+ 238, 237, 236, 235, 234, 231, 230, 229, 228, 227, -+ 226, 221, 218, 217, 216, 213, 212, 211, 210, 209, -+ 208, 205, 204, 203, 202, 201, 200, 199, 198, 197, -+ 196, 195, 194, 191, 185, 184, 183, 182, 181, 180, -+ 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, -+ 167, 166, 165, 164, 163, 162, 161, 160, 159, 150, -+ 147, 131, 127, 122, 115, 89, 84, 69, 64, 458, -+ 7, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458 -+ } ; -+ -+static yyconst flex_int16_t yy_chk[749] = -+ { 0, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 3, 4, 12, -+ 12, 28, 28, 3, 4, 5, 5, 5, 5, 5, -+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -+ -+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -+ 5, 5, 13, 17, 19, 20, 20, 20, 20, 20, -+ 20, 20, 33, 42, 21, 34, 34, 19, 17, 21, -+ 42, 13, 35, 463, 35, 44, 33, 42, 35, 44, -+ 21, 22, 455, 22, 22, 22, 22, 22, 22, 22, -+ 23, 55, 23, 23, 23, 23, 23, 23, 23, 22, -+ 26, 36, 51, 454, 22, 38, 51, 38, 23, 37, -+ -+ 453, 36, 22, 37, 36, 39, 38, 26, 37, 26, -+ 26, 23, 41, 39, 37, 39, 45, 47, 39, 22, -+ 41, 55, 135, 146, 39, 146, 49, 50, 112, 45, -+ 50, 41, 47, 49, 49, 47, 52, 135, 50, 122, -+ 52, 112, 452, 49, 49, 50, 49, 122, 451, 52, -+ 74, 74, 74, 74, 74, 74, 74, 78, 78, 78, -+ 78, 78, 78, 78, 450, 120, 74, 142, 120, 120, -+ 168, 168, 120, 78, 120, 142, 194, 194, 194, 74, -+ 218, 218, 218, 417, 417, 79, 78, 79, 79, 79, -+ 79, 79, 79, 79, 80, 448, 80, 80, 80, 80, -+ -+ 80, 80, 80, 79, 156, 156, 156, 156, 156, 156, -+ 156, 446, 80, 81, 445, 81, 79, 444, 81, 81, -+ 81, 81, 81, 81, 81, 80, 83, 214, 83, 83, -+ 83, 83, 83, 83, 83, 214, 229, 229, 229, 443, -+ 152, 442, 152, 440, 83, 152, 152, 152, 152, 152, -+ 152, 152, 237, 237, 237, 439, 438, 83, 154, 154, -+ 154, 154, 154, 154, 154, 245, 245, 245, 437, 436, -+ 155, 435, 155, 434, 154, 155, 155, 155, 155, 155, -+ 155, 155, 249, 249, 249, 433, 432, 154, 157, 157, -+ 157, 157, 157, 157, 157, 222, 222, 222, 222, 222, -+ -+ 222, 222, 223, 223, 223, 223, 223, 223, 223, 224, -+ 224, 224, 224, 224, 224, 224, 225, 225, 225, 225, -+ 225, 225, 225, 255, 255, 255, 388, 388, 388, 430, -+ 429, 428, 427, 426, 425, 424, 423, 422, 421, 388, -+ 420, 388, 459, 459, 459, 459, 460, 460, 461, 461, -+ 462, 419, 462, 462, 418, 416, 407, 406, 405, 404, -+ 403, 402, 400, 399, 398, 395, 394, 392, 389, 387, -+ 386, 385, 383, 382, 381, 378, 377, 376, 375, 374, -+ 373, 372, 371, 365, 362, 359, 358, 357, 356, 355, -+ 353, 351, 350, 349, 348, 346, 345, 343, 341, 340, -+ -+ 339, 338, 337, 336, 335, 334, 332, 331, 330, 329, -+ 328, 327, 326, 325, 324, 320, 319, 316, 305, 301, -+ 300, 299, 298, 291, 290, 289, 284, 283, 282, 281, -+ 280, 279, 276, 275, 274, 273, 272, 271, 270, 269, -+ 268, 267, 266, 265, 264, 263, 262, 261, 254, 253, -+ 252, 251, 250, 248, 244, 242, 241, 240, 236, 235, -+ 234, 233, 232, 231, 228, 226, 221, 220, 219, 217, -+ 216, 215, 213, 212, 211, 210, 209, 208, 207, 206, -+ 205, 204, 203, 202, 201, 200, 199, 198, 197, 196, -+ 195, 193, 192, 191, 190, 189, 188, 187, 186, 185, -+ -+ 184, 183, 182, 181, 179, 178, 177, 176, 175, 174, -+ 173, 172, 171, 170, 169, 167, 166, 165, 164, 163, -+ 162, 147, 145, 144, 143, 141, 140, 139, 138, 137, -+ 136, 134, 133, 132, 131, 130, 129, 128, 127, 126, -+ 125, 124, 123, 121, 118, 117, 116, 115, 114, 113, -+ 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, -+ 101, 100, 99, 98, 97, 96, 95, 91, 87, 60, -+ 53, 48, 46, 43, 40, 27, 24, 16, 11, 7, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, -+ 458, 458, 458, 458, 458, 458, 458, 458 -+ } ; -+ -+/* Table of booleans, true if rule could match eol. */ -+static yyconst flex_int32_t yy_rule_can_match_eol[156] = -+ { 0, -+0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, }; -+ -+/* The intent behind this definition is that it'll catch -+ * any uses of REJECT which flex missed. -+ */ -+#define REJECT reject_used_but_not_detected -+#define yymore() yymore_used_but_not_detected -+#define YY_MORE_ADJ 0 -+#define YY_RESTORE_YY_MORE_OFFSET -+/* -+// -+// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+// -+ -+This file contains the Lex specification for GLSL ES. -+Based on ANSI C grammar, Lex specification: -+http://www.lysator.liu.se/c/ANSI-C-grammar-l.html -+ -+IF YOU MODIFY THIS FILE YOU ALSO NEED TO RUN generate_parser.sh, -+WHICH GENERATES THE GLSL ES LEXER (glslang_lex.cpp). -+*/ -+ -+#include "compiler/glslang.h" -+#include "compiler/ParseHelper.h" -+#include "compiler/preprocessor/Token.h" -+#include "compiler/util.h" -+#include "glslang_tab.h" -+ -+/* windows only pragma */ -+#ifdef _MSC_VER -+#pragma warning(disable : 4102) -+#endif -+ -+#define YY_USER_ACTION yylval->lex.line = yylineno; -+#define YY_INPUT(buf, result, max_size) \ -+ result = string_input(buf, max_size, yyscanner); -+ -+static int string_input(char* buf, int max_size, yyscan_t yyscanner); -+static int check_type(yyscan_t yyscanner); -+static int reserved_word(yyscan_t yyscanner); -+ -+#define INITIAL 0 -+#define COMMENT 1 -+#define FIELDS 2 -+ -+#define YY_EXTRA_TYPE TParseContext* -+ -+/* Holds the entire state of the reentrant scanner. */ -+struct yyguts_t -+ { -+ -+ /* User-defined. Not touched by flex. */ -+ YY_EXTRA_TYPE yyextra_r; -+ -+ /* The rest are the same as the globals declared in the non-reentrant scanner. */ -+ FILE *yyin_r, *yyout_r; -+ size_t yy_buffer_stack_top; /**< index of top of stack. */ -+ size_t yy_buffer_stack_max; /**< capacity of stack. */ -+ YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */ -+ char yy_hold_char; -+ yy_size_t yy_n_chars; -+ yy_size_t yyleng_r; -+ char *yy_c_buf_p; -+ int yy_init; -+ int yy_start; -+ int yy_did_buffer_switch_on_eof; -+ int yy_start_stack_ptr; -+ int yy_start_stack_depth; -+ int *yy_start_stack; -+ yy_state_type yy_last_accepting_state; -+ char* yy_last_accepting_cpos; -+ -+ int yylineno_r; -+ int yy_flex_debug_r; -+ -+ char *yytext_r; -+ int yy_more_flag; -+ int yy_more_len; -+ -+ YYSTYPE * yylval_r; -+ -+ }; /* end struct yyguts_t */ -+ -+static int yy_init_globals (yyscan_t yyscanner ); -+ -+ /* This must go here because YYSTYPE and YYLTYPE are included -+ * from bison output in section 1.*/ -+ # define yylval yyg->yylval_r -+ -+int yylex_init (yyscan_t* scanner); -+ -+int yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner); -+ -+/* Accessor methods to globals. -+ These are made visible to non-reentrant scanners for convenience. */ -+ -+int yylex_destroy (yyscan_t yyscanner ); -+ -+int yyget_debug (yyscan_t yyscanner ); -+ -+void yyset_debug (int debug_flag ,yyscan_t yyscanner ); -+ -+YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner ); -+ -+void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner ); -+ -+FILE *yyget_in (yyscan_t yyscanner ); -+ -+void yyset_in (FILE * in_str ,yyscan_t yyscanner ); -+ -+FILE *yyget_out (yyscan_t yyscanner ); -+ -+void yyset_out (FILE * out_str ,yyscan_t yyscanner ); -+ -+yy_size_t yyget_leng (yyscan_t yyscanner ); -+ -+char *yyget_text (yyscan_t yyscanner ); -+ -+int yyget_lineno (yyscan_t yyscanner ); -+ -+void yyset_lineno (int line_number ,yyscan_t yyscanner ); -+ -+YYSTYPE * yyget_lval (yyscan_t yyscanner ); -+ -+void yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner ); -+ -+/* Macros after this point can all be overridden by user definitions in -+ * section 1. -+ */ -+ -+#ifndef YY_SKIP_YYWRAP -+#ifdef __cplusplus -+extern "C" int yywrap (yyscan_t yyscanner ); -+#else -+extern int yywrap (yyscan_t yyscanner ); -+#endif -+#endif -+ -+#ifndef yytext_ptr -+static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner); -+#endif -+ -+#ifdef YY_NEED_STRLEN -+static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner); -+#endif -+ -+#ifndef YY_NO_INPUT -+ -+#ifdef __cplusplus -+static int yyinput (yyscan_t yyscanner ); -+#else -+static int input (yyscan_t yyscanner ); -+#endif -+ -+#endif -+ -+ static void yy_push_state (int new_state ,yyscan_t yyscanner); -+ -+ static void yy_pop_state (yyscan_t yyscanner ); -+ -+ static int yy_top_state (yyscan_t yyscanner ); -+ -+/* Amount of stuff to slurp up with each read. */ -+#ifndef YY_READ_BUF_SIZE -+#define YY_READ_BUF_SIZE 8192 -+#endif -+ -+/* Copy whatever the last rule matched to the standard output. */ -+#ifndef ECHO -+/* This used to be an fputs(), but since the string might contain NUL's, -+ * we now use fwrite(). -+ */ -+#define ECHO fwrite( yytext, yyleng, 1, yyout ) -+#endif -+ -+/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, -+ * is returned in "result". -+ */ -+#ifndef YY_INPUT -+#define YY_INPUT(buf,result,max_size) \ -+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ -+ { \ -+ int c = '*'; \ -+ yy_size_t n; \ -+ for ( n = 0; n < max_size && \ -+ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ -+ buf[n] = (char) c; \ -+ if ( c == '\n' ) \ -+ buf[n++] = (char) c; \ -+ if ( c == EOF && ferror( yyin ) ) \ -+ YY_FATAL_ERROR( "input in flex scanner failed" ); \ -+ result = n; \ -+ } \ -+ else \ -+ { \ -+ errno=0; \ -+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ -+ { \ -+ if( errno != EINTR) \ -+ { \ -+ YY_FATAL_ERROR( "input in flex scanner failed" ); \ -+ break; \ -+ } \ -+ errno=0; \ -+ clearerr(yyin); \ -+ } \ -+ }\ -+\ -+ -+#endif -+ -+/* No semi-colon after return; correct usage is to write "yyterminate();" - -+ * we don't want an extra ';' after the "return" because that will cause -+ * some compilers to complain about unreachable statements. -+ */ -+#ifndef yyterminate -+#define yyterminate() return YY_NULL -+#endif -+ -+/* Number of entries by which start-condition stack grows. */ -+#ifndef YY_START_STACK_INCR -+#define YY_START_STACK_INCR 25 -+#endif -+ -+/* Report a fatal error. */ -+#ifndef YY_FATAL_ERROR -+#define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) -+#endif -+ -+/* end tables serialization structures and prototypes */ -+ -+/* Default declaration of generated scanner - a define so the user can -+ * easily add parameters. -+ */ -+#ifndef YY_DECL -+#define YY_DECL_IS_OURS 1 -+ -+extern int yylex \ -+ (YYSTYPE * yylval_param ,yyscan_t yyscanner); -+ -+#define YY_DECL int yylex \ -+ (YYSTYPE * yylval_param , yyscan_t yyscanner) -+#endif /* !YY_DECL */ -+ -+/* Code executed at the beginning of each rule, after yytext and yyleng -+ * have been set up. -+ */ -+#ifndef YY_USER_ACTION -+#define YY_USER_ACTION -+#endif -+ -+/* Code executed at the end of each rule. */ -+#ifndef YY_BREAK -+#define YY_BREAK break; -+#endif -+ -+#define YY_RULE_SETUP \ -+ YY_USER_ACTION -+ -+/** The main scanner function which does all the work. -+ */ -+YY_DECL -+{ -+ register yy_state_type yy_current_state; -+ register char *yy_cp, *yy_bp; -+ register int yy_act; -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ TParseContext* context = yyextra; -+ -+ /* Single-line comments */ -+ -+ yylval = yylval_param; -+ -+ if ( !yyg->yy_init ) -+ { -+ yyg->yy_init = 1; -+ -+#ifdef YY_USER_INIT -+ YY_USER_INIT; -+#endif -+ -+ if ( ! yyg->yy_start ) -+ yyg->yy_start = 1; /* first start state */ -+ -+ if ( ! yyin ) -+ yyin = stdin; -+ -+ if ( ! yyout ) -+ yyout = stdout; -+ -+ if ( ! YY_CURRENT_BUFFER ) { -+ yyensure_buffer_stack (yyscanner); -+ YY_CURRENT_BUFFER_LVALUE = -+ yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); -+ } -+ -+ yy_load_buffer_state(yyscanner ); -+ } -+ -+ while ( 1 ) /* loops until end-of-file is reached */ -+ { -+ yy_cp = yyg->yy_c_buf_p; -+ -+ /* Support of yytext. */ -+ *yy_cp = yyg->yy_hold_char; -+ -+ /* yy_bp points to the position in yy_ch_buf of the start of -+ * the current run. -+ */ -+ yy_bp = yy_cp; -+ -+ yy_current_state = yyg->yy_start; -+yy_match: -+ do -+ { -+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; -+ if ( yy_accept[yy_current_state] ) -+ { -+ yyg->yy_last_accepting_state = yy_current_state; -+ yyg->yy_last_accepting_cpos = yy_cp; -+ } -+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) -+ { -+ yy_current_state = (int) yy_def[yy_current_state]; -+ if ( yy_current_state >= 459 ) -+ yy_c = yy_meta[(unsigned int) yy_c]; -+ } -+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -+ ++yy_cp; -+ } -+ while ( yy_current_state != 458 ); -+ yy_cp = yyg->yy_last_accepting_cpos; -+ yy_current_state = yyg->yy_last_accepting_state; -+ -+yy_find_action: -+ yy_act = yy_accept[yy_current_state]; -+ -+ YY_DO_BEFORE_ACTION; -+ -+ if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] ) -+ { -+ yy_size_t yyl; -+ for ( yyl = 0; yyl < yyleng; ++yyl ) -+ if ( yytext[yyl] == '\n' ) -+ -+ do{ yylineno++; -+ yycolumn=0; -+ }while(0) -+; -+ } -+ -+do_action: /* This label is used only to access EOF actions. */ -+ -+ switch ( yy_act ) -+ { /* beginning of action switch */ -+ case 0: /* must back up */ -+ /* undo the effects of YY_DO_BEFORE_ACTION */ -+ *yy_cp = yyg->yy_hold_char; -+ yy_cp = yyg->yy_last_accepting_cpos; -+ yy_current_state = yyg->yy_last_accepting_state; -+ goto yy_find_action; -+ -+case 1: -+YY_RULE_SETUP -+; -+ YY_BREAK -+/* Multi-line comments */ -+case 2: -+YY_RULE_SETUP -+{ yy_push_state(COMMENT, yyscanner); } -+ YY_BREAK -+case 3: -+case 4: -+/* rule 4 can match eol */ -+YY_RULE_SETUP -+; -+ YY_BREAK -+case 5: -+YY_RULE_SETUP -+{ yy_pop_state(yyscanner); } -+ YY_BREAK -+case 6: -+YY_RULE_SETUP -+{ return(INVARIANT); } -+ YY_BREAK -+case 7: -+YY_RULE_SETUP -+{ return(HIGH_PRECISION); } -+ YY_BREAK -+case 8: -+YY_RULE_SETUP -+{ return(MEDIUM_PRECISION); } -+ YY_BREAK -+case 9: -+YY_RULE_SETUP -+{ return(LOW_PRECISION); } -+ YY_BREAK -+case 10: -+YY_RULE_SETUP -+{ return(PRECISION); } -+ YY_BREAK -+case 11: -+YY_RULE_SETUP -+{ return(ATTRIBUTE); } -+ YY_BREAK -+case 12: -+YY_RULE_SETUP -+{ return(CONST_QUAL); } -+ YY_BREAK -+case 13: -+YY_RULE_SETUP -+{ return(UNIFORM); } -+ YY_BREAK -+case 14: -+YY_RULE_SETUP -+{ return(VARYING); } -+ YY_BREAK -+case 15: -+YY_RULE_SETUP -+{ return(BREAK); } -+ YY_BREAK -+case 16: -+YY_RULE_SETUP -+{ return(CONTINUE); } -+ YY_BREAK -+case 17: -+YY_RULE_SETUP -+{ return(DO); } -+ YY_BREAK -+case 18: -+YY_RULE_SETUP -+{ return(FOR); } -+ YY_BREAK -+case 19: -+YY_RULE_SETUP -+{ return(WHILE); } -+ YY_BREAK -+case 20: -+YY_RULE_SETUP -+{ return(IF); } -+ YY_BREAK -+case 21: -+YY_RULE_SETUP -+{ return(ELSE); } -+ YY_BREAK -+case 22: -+YY_RULE_SETUP -+{ return(IN_QUAL); } -+ YY_BREAK -+case 23: -+YY_RULE_SETUP -+{ return(OUT_QUAL); } -+ YY_BREAK -+case 24: -+YY_RULE_SETUP -+{ return(INOUT_QUAL); } -+ YY_BREAK -+case 25: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(FLOAT_TYPE); } -+ YY_BREAK -+case 26: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(INT_TYPE); } -+ YY_BREAK -+case 27: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(VOID_TYPE); } -+ YY_BREAK -+case 28: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(BOOL_TYPE); } -+ YY_BREAK -+case 29: -+YY_RULE_SETUP -+{ yylval->lex.b = true; return(BOOLCONSTANT); } -+ YY_BREAK -+case 30: -+YY_RULE_SETUP -+{ yylval->lex.b = false; return(BOOLCONSTANT); } -+ YY_BREAK -+case 31: -+YY_RULE_SETUP -+{ return(DISCARD); } -+ YY_BREAK -+case 32: -+YY_RULE_SETUP -+{ return(RETURN); } -+ YY_BREAK -+case 33: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(MATRIX2); } -+ YY_BREAK -+case 34: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(MATRIX3); } -+ YY_BREAK -+case 35: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(MATRIX4); } -+ YY_BREAK -+case 36: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (VEC2); } -+ YY_BREAK -+case 37: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (VEC3); } -+ YY_BREAK -+case 38: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (VEC4); } -+ YY_BREAK -+case 39: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (IVEC2); } -+ YY_BREAK -+case 40: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (IVEC3); } -+ YY_BREAK -+case 41: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (IVEC4); } -+ YY_BREAK -+case 42: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (BVEC2); } -+ YY_BREAK -+case 43: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (BVEC3); } -+ YY_BREAK -+case 44: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return (BVEC4); } -+ YY_BREAK -+case 45: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return SAMPLER2D; } -+ YY_BREAK -+case 46: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return SAMPLERCUBE; } -+ YY_BREAK -+case 47: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return SAMPLER_EXTERNAL_OES; } -+ YY_BREAK -+case 48: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return SAMPLER2DRECT; } -+ YY_BREAK -+case 49: -+YY_RULE_SETUP -+{ context->lexAfterType = true; return(STRUCT); } -+ YY_BREAK -+case 50: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 51: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 52: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 53: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 54: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 55: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 56: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 57: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 58: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 59: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 60: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 61: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 62: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 63: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 64: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 65: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 66: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 67: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 68: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 69: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 70: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 71: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 72: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 73: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 74: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 75: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 76: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 77: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 78: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 79: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 80: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 81: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 82: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 83: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 84: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 85: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 86: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 87: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 88: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 89: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 90: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 91: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 92: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 93: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 94: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 95: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 96: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 97: -+YY_RULE_SETUP -+{ return reserved_word(yyscanner); } -+ YY_BREAK -+case 98: -+YY_RULE_SETUP -+{ -+ yylval->lex.string = NewPoolTString(yytext); -+ return check_type(yyscanner); -+} -+ YY_BREAK -+case 99: -+YY_RULE_SETUP -+{ yylval->lex.i = strtol(yytext, 0, 0); return(INTCONSTANT); } -+ YY_BREAK -+case 100: -+YY_RULE_SETUP -+{ yylval->lex.i = strtol(yytext, 0, 0); return(INTCONSTANT); } -+ YY_BREAK -+case 101: -+YY_RULE_SETUP -+{ context->error(yylineno, "Invalid Octal number.", yytext); context->recover(); return 0;} -+ YY_BREAK -+case 102: -+YY_RULE_SETUP -+{ yylval->lex.i = strtol(yytext, 0, 0); return(INTCONSTANT); } -+ YY_BREAK -+case 103: -+YY_RULE_SETUP -+{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return(FLOATCONSTANT); } -+ YY_BREAK -+case 104: -+YY_RULE_SETUP -+{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return(FLOATCONSTANT); } -+ YY_BREAK -+case 105: -+YY_RULE_SETUP -+{ yylval->lex.f = static_cast<float>(atof_dot(yytext)); return(FLOATCONSTANT); } -+ YY_BREAK -+case 106: -+YY_RULE_SETUP -+{ return(ADD_ASSIGN); } -+ YY_BREAK -+case 107: -+YY_RULE_SETUP -+{ return(SUB_ASSIGN); } -+ YY_BREAK -+case 108: -+YY_RULE_SETUP -+{ return(MUL_ASSIGN); } -+ YY_BREAK -+case 109: -+YY_RULE_SETUP -+{ return(DIV_ASSIGN); } -+ YY_BREAK -+case 110: -+YY_RULE_SETUP -+{ return(MOD_ASSIGN); } -+ YY_BREAK -+case 111: -+YY_RULE_SETUP -+{ return(LEFT_ASSIGN); } -+ YY_BREAK -+case 112: -+YY_RULE_SETUP -+{ return(RIGHT_ASSIGN); } -+ YY_BREAK -+case 113: -+YY_RULE_SETUP -+{ return(AND_ASSIGN); } -+ YY_BREAK -+case 114: -+YY_RULE_SETUP -+{ return(XOR_ASSIGN); } -+ YY_BREAK -+case 115: -+YY_RULE_SETUP -+{ return(OR_ASSIGN); } -+ YY_BREAK -+case 116: -+YY_RULE_SETUP -+{ return(INC_OP); } -+ YY_BREAK -+case 117: -+YY_RULE_SETUP -+{ return(DEC_OP); } -+ YY_BREAK -+case 118: -+YY_RULE_SETUP -+{ return(AND_OP); } -+ YY_BREAK -+case 119: -+YY_RULE_SETUP -+{ return(OR_OP); } -+ YY_BREAK -+case 120: -+YY_RULE_SETUP -+{ return(XOR_OP); } -+ YY_BREAK -+case 121: -+YY_RULE_SETUP -+{ return(LE_OP); } -+ YY_BREAK -+case 122: -+YY_RULE_SETUP -+{ return(GE_OP); } -+ YY_BREAK -+case 123: -+YY_RULE_SETUP -+{ return(EQ_OP); } -+ YY_BREAK -+case 124: -+YY_RULE_SETUP -+{ return(NE_OP); } -+ YY_BREAK -+case 125: -+YY_RULE_SETUP -+{ return(LEFT_OP); } -+ YY_BREAK -+case 126: -+YY_RULE_SETUP -+{ return(RIGHT_OP); } -+ YY_BREAK -+case 127: -+YY_RULE_SETUP -+{ context->lexAfterType = false; return(SEMICOLON); } -+ YY_BREAK -+case 128: -+YY_RULE_SETUP -+{ context->lexAfterType = false; return(LEFT_BRACE); } -+ YY_BREAK -+case 129: -+YY_RULE_SETUP -+{ return(RIGHT_BRACE); } -+ YY_BREAK -+case 130: -+YY_RULE_SETUP -+{ if (context->inTypeParen) context->lexAfterType = false; return(COMMA); } -+ YY_BREAK -+case 131: -+YY_RULE_SETUP -+{ return(COLON); } -+ YY_BREAK -+case 132: -+YY_RULE_SETUP -+{ context->lexAfterType = false; return(EQUAL); } -+ YY_BREAK -+case 133: -+YY_RULE_SETUP -+{ context->lexAfterType = false; context->inTypeParen = true; return(LEFT_PAREN); } -+ YY_BREAK -+case 134: -+YY_RULE_SETUP -+{ context->inTypeParen = false; return(RIGHT_PAREN); } -+ YY_BREAK -+case 135: -+YY_RULE_SETUP -+{ return(LEFT_BRACKET); } -+ YY_BREAK -+case 136: -+YY_RULE_SETUP -+{ return(RIGHT_BRACKET); } -+ YY_BREAK -+case 137: -+YY_RULE_SETUP -+{ BEGIN(FIELDS); return(DOT); } -+ YY_BREAK -+case 138: -+YY_RULE_SETUP -+{ return(BANG); } -+ YY_BREAK -+case 139: -+YY_RULE_SETUP -+{ return(DASH); } -+ YY_BREAK -+case 140: -+YY_RULE_SETUP -+{ return(TILDE); } -+ YY_BREAK -+case 141: -+YY_RULE_SETUP -+{ return(PLUS); } -+ YY_BREAK -+case 142: -+YY_RULE_SETUP -+{ return(STAR); } -+ YY_BREAK -+case 143: -+YY_RULE_SETUP -+{ return(SLASH); } -+ YY_BREAK -+case 144: -+YY_RULE_SETUP -+{ return(PERCENT); } -+ YY_BREAK -+case 145: -+YY_RULE_SETUP -+{ return(LEFT_ANGLE); } -+ YY_BREAK -+case 146: -+YY_RULE_SETUP -+{ return(RIGHT_ANGLE); } -+ YY_BREAK -+case 147: -+YY_RULE_SETUP -+{ return(VERTICAL_BAR); } -+ YY_BREAK -+case 148: -+YY_RULE_SETUP -+{ return(CARET); } -+ YY_BREAK -+case 149: -+YY_RULE_SETUP -+{ return(AMPERSAND); } -+ YY_BREAK -+case 150: -+YY_RULE_SETUP -+{ return(QUESTION); } -+ YY_BREAK -+case 151: -+YY_RULE_SETUP -+{ -+ BEGIN(INITIAL); -+ yylval->lex.string = NewPoolTString(yytext); -+ return FIELD_SELECTION; -+} -+ YY_BREAK -+case 152: -+YY_RULE_SETUP -+{} -+ YY_BREAK -+case 153: -+/* rule 153 can match eol */ -+YY_RULE_SETUP -+{ } -+ YY_BREAK -+case YY_STATE_EOF(INITIAL): -+case YY_STATE_EOF(COMMENT): -+case YY_STATE_EOF(FIELDS): -+{ context->AfterEOF = true; yyterminate(); } -+ YY_BREAK -+case 154: -+YY_RULE_SETUP -+{ context->warning(yylineno, "Unknown char", yytext, ""); return 0; } -+ YY_BREAK -+case 155: -+YY_RULE_SETUP -+ECHO; -+ YY_BREAK -+ -+ case YY_END_OF_BUFFER: -+ { -+ /* Amount of text matched not including the EOB char. */ -+ int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1; -+ -+ /* Undo the effects of YY_DO_BEFORE_ACTION. */ -+ *yy_cp = yyg->yy_hold_char; -+ YY_RESTORE_YY_MORE_OFFSET -+ -+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) -+ { -+ /* We're scanning a new file or input source. It's -+ * possible that this happened because the user -+ * just pointed yyin at a new source and called -+ * yylex(). If so, then we have to assure -+ * consistency between YY_CURRENT_BUFFER and our -+ * globals. Here is the right place to do so, because -+ * this is the first action (other than possibly a -+ * back-up) that will match for the new input source. -+ */ -+ yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; -+ YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; -+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; -+ } -+ -+ /* Note that here we test for yy_c_buf_p "<=" to the position -+ * of the first EOB in the buffer, since yy_c_buf_p will -+ * already have been incremented past the NUL character -+ * (since all states make transitions on EOB to the -+ * end-of-buffer state). Contrast this with the test -+ * in input(). -+ */ -+ if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) -+ { /* This was really a NUL. */ -+ yy_state_type yy_next_state; -+ -+ yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text; -+ -+ yy_current_state = yy_get_previous_state( yyscanner ); -+ -+ /* Okay, we're now positioned to make the NUL -+ * transition. We couldn't have -+ * yy_get_previous_state() go ahead and do it -+ * for us because it doesn't know how to deal -+ * with the possibility of jamming (and we don't -+ * want to build jamming into it because then it -+ * will run more slowly). -+ */ -+ -+ yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner); -+ -+ yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; -+ -+ if ( yy_next_state ) -+ { -+ /* Consume the NUL. */ -+ yy_cp = ++yyg->yy_c_buf_p; -+ yy_current_state = yy_next_state; -+ goto yy_match; -+ } -+ -+ else -+ { -+ yy_cp = yyg->yy_last_accepting_cpos; -+ yy_current_state = yyg->yy_last_accepting_state; -+ goto yy_find_action; -+ } -+ } -+ -+ else switch ( yy_get_next_buffer( yyscanner ) ) -+ { -+ case EOB_ACT_END_OF_FILE: -+ { -+ yyg->yy_did_buffer_switch_on_eof = 0; -+ -+ if ( yywrap(yyscanner ) ) -+ { -+ /* Note: because we've taken care in -+ * yy_get_next_buffer() to have set up -+ * yytext, we can now set up -+ * yy_c_buf_p so that if some total -+ * hoser (like flex itself) wants to -+ * call the scanner after we return the -+ * YY_NULL, it'll still work - another -+ * YY_NULL will get returned. -+ */ -+ yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ; -+ -+ yy_act = YY_STATE_EOF(YY_START); -+ goto do_action; -+ } -+ -+ else -+ { -+ if ( ! yyg->yy_did_buffer_switch_on_eof ) -+ YY_NEW_FILE; -+ } -+ break; -+ } -+ -+ case EOB_ACT_CONTINUE_SCAN: -+ yyg->yy_c_buf_p = -+ yyg->yytext_ptr + yy_amount_of_matched_text; -+ -+ yy_current_state = yy_get_previous_state( yyscanner ); -+ -+ yy_cp = yyg->yy_c_buf_p; -+ yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; -+ goto yy_match; -+ -+ case EOB_ACT_LAST_MATCH: -+ yyg->yy_c_buf_p = -+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars]; -+ -+ yy_current_state = yy_get_previous_state( yyscanner ); -+ -+ yy_cp = yyg->yy_c_buf_p; -+ yy_bp = yyg->yytext_ptr + YY_MORE_ADJ; -+ goto yy_find_action; -+ } -+ break; -+ } -+ -+ default: -+ YY_FATAL_ERROR( -+ "fatal flex scanner internal error--no action found" ); -+ } /* end of action switch */ -+ } /* end of scanning one token */ -+} /* end of yylex */ -+ -+/* yy_get_next_buffer - try to read in a new buffer -+ * -+ * Returns a code representing an action: -+ * EOB_ACT_LAST_MATCH - -+ * EOB_ACT_CONTINUE_SCAN - continue scanning from current position -+ * EOB_ACT_END_OF_FILE - end of file -+ */ -+static int yy_get_next_buffer (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; -+ register char *source = yyg->yytext_ptr; -+ register int number_to_move, i; -+ int ret_val; -+ -+ if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] ) -+ YY_FATAL_ERROR( -+ "fatal flex scanner internal error--end of buffer missed" ); -+ -+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) -+ { /* Don't try to fill the buffer, so this is an EOF. */ -+ if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 ) -+ { -+ /* We matched a single character, the EOB, so -+ * treat this as a final EOF. -+ */ -+ return EOB_ACT_END_OF_FILE; -+ } -+ -+ else -+ { -+ /* We matched some text prior to the EOB, first -+ * process it. -+ */ -+ return EOB_ACT_LAST_MATCH; -+ } -+ } -+ -+ /* Try to read more data. */ -+ -+ /* First move last chars to start of buffer. */ -+ number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1; -+ -+ for ( i = 0; i < number_to_move; ++i ) -+ *(dest++) = *(source++); -+ -+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) -+ /* don't do the read, it's not guaranteed to return an EOF, -+ * just force an EOF -+ */ -+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0; -+ -+ else -+ { -+ yy_size_t num_to_read = -+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; -+ -+ while ( num_to_read <= 0 ) -+ { /* Not enough room in the buffer - grow it. */ -+ -+ /* just a shorter name for the current buffer */ -+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER; -+ -+ int yy_c_buf_p_offset = -+ (int) (yyg->yy_c_buf_p - b->yy_ch_buf); -+ -+ if ( b->yy_is_our_buffer ) -+ { -+ yy_size_t new_size = b->yy_buf_size * 2; -+ -+ if ( new_size <= 0 ) -+ b->yy_buf_size += b->yy_buf_size / 8; -+ else -+ b->yy_buf_size *= 2; -+ -+ b->yy_ch_buf = (char *) -+ /* Include room in for 2 EOB chars. */ -+ yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner ); -+ } -+ else -+ /* Can't grow it, we don't own it. */ -+ b->yy_ch_buf = 0; -+ -+ if ( ! b->yy_ch_buf ) -+ YY_FATAL_ERROR( -+ "fatal error - scanner input buffer overflow" ); -+ -+ yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; -+ -+ num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - -+ number_to_move - 1; -+ -+ } -+ -+ if ( num_to_read > YY_READ_BUF_SIZE ) -+ num_to_read = YY_READ_BUF_SIZE; -+ -+ /* Read in more data. */ -+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), -+ yyg->yy_n_chars, num_to_read ); -+ -+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; -+ } -+ -+ if ( yyg->yy_n_chars == 0 ) -+ { -+ if ( number_to_move == YY_MORE_ADJ ) -+ { -+ ret_val = EOB_ACT_END_OF_FILE; -+ yyrestart(yyin ,yyscanner); -+ } -+ -+ else -+ { -+ ret_val = EOB_ACT_LAST_MATCH; -+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = -+ YY_BUFFER_EOF_PENDING; -+ } -+ } -+ -+ else -+ ret_val = EOB_ACT_CONTINUE_SCAN; -+ -+ if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { -+ /* Extend the array by 50%, plus the number we really need. */ -+ yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1); -+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner ); -+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) -+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); -+ } -+ -+ yyg->yy_n_chars += number_to_move; -+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR; -+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; -+ -+ yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; -+ -+ return ret_val; -+} -+ -+/* yy_get_previous_state - get the state just before the EOB char was reached */ -+ -+ static yy_state_type yy_get_previous_state (yyscan_t yyscanner) -+{ -+ register yy_state_type yy_current_state; -+ register char *yy_cp; -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ yy_current_state = yyg->yy_start; -+ -+ for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp ) -+ { -+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); -+ if ( yy_accept[yy_current_state] ) -+ { -+ yyg->yy_last_accepting_state = yy_current_state; -+ yyg->yy_last_accepting_cpos = yy_cp; -+ } -+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) -+ { -+ yy_current_state = (int) yy_def[yy_current_state]; -+ if ( yy_current_state >= 459 ) -+ yy_c = yy_meta[(unsigned int) yy_c]; -+ } -+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -+ } -+ -+ return yy_current_state; -+} -+ -+/* yy_try_NUL_trans - try to make a transition on the NUL character -+ * -+ * synopsis -+ * next_state = yy_try_NUL_trans( current_state ); -+ */ -+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner) -+{ -+ register int yy_is_jam; -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */ -+ register char *yy_cp = yyg->yy_c_buf_p; -+ -+ register YY_CHAR yy_c = 1; -+ if ( yy_accept[yy_current_state] ) -+ { -+ yyg->yy_last_accepting_state = yy_current_state; -+ yyg->yy_last_accepting_cpos = yy_cp; -+ } -+ while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) -+ { -+ yy_current_state = (int) yy_def[yy_current_state]; -+ if ( yy_current_state >= 459 ) -+ yy_c = yy_meta[(unsigned int) yy_c]; -+ } -+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; -+ yy_is_jam = (yy_current_state == 458); -+ -+ return yy_is_jam ? 0 : yy_current_state; -+} -+ -+#ifndef YY_NO_INPUT -+#ifdef __cplusplus -+ static int yyinput (yyscan_t yyscanner) -+#else -+ static int input (yyscan_t yyscanner) -+#endif -+ -+{ -+ int c; -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ *yyg->yy_c_buf_p = yyg->yy_hold_char; -+ -+ if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) -+ { -+ /* yy_c_buf_p now points to the character we want to return. -+ * If this occurs *before* the EOB characters, then it's a -+ * valid NUL; if not, then we've hit the end of the buffer. -+ */ -+ if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] ) -+ /* This was really a NUL. */ -+ *yyg->yy_c_buf_p = '\0'; -+ -+ else -+ { /* need more input */ -+ yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr; -+ ++yyg->yy_c_buf_p; -+ -+ switch ( yy_get_next_buffer( yyscanner ) ) -+ { -+ case EOB_ACT_LAST_MATCH: -+ /* This happens because yy_g_n_b() -+ * sees that we've accumulated a -+ * token and flags that we need to -+ * try matching the token before -+ * proceeding. But for input(), -+ * there's no matching to consider. -+ * So convert the EOB_ACT_LAST_MATCH -+ * to EOB_ACT_END_OF_FILE. -+ */ -+ -+ /* Reset buffer status. */ -+ yyrestart(yyin ,yyscanner); -+ -+ /*FALLTHROUGH*/ -+ -+ case EOB_ACT_END_OF_FILE: -+ { -+ if ( yywrap(yyscanner ) ) -+ return 0; -+ -+ if ( ! yyg->yy_did_buffer_switch_on_eof ) -+ YY_NEW_FILE; -+#ifdef __cplusplus -+ return yyinput(yyscanner); -+#else -+ return input(yyscanner); -+#endif -+ } -+ -+ case EOB_ACT_CONTINUE_SCAN: -+ yyg->yy_c_buf_p = yyg->yytext_ptr + offset; -+ break; -+ } -+ } -+ } -+ -+ c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */ -+ *yyg->yy_c_buf_p = '\0'; /* preserve yytext */ -+ yyg->yy_hold_char = *++yyg->yy_c_buf_p; -+ -+ if ( c == '\n' ) -+ -+ do{ yylineno++; -+ yycolumn=0; -+ }while(0) -+; -+ -+ return c; -+} -+#endif /* ifndef YY_NO_INPUT */ -+ -+/** Immediately switch to a different input stream. -+ * @param input_file A readable stream. -+ * @param yyscanner The scanner object. -+ * @note This function does not reset the start condition to @c INITIAL . -+ */ -+ void yyrestart (FILE * input_file , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ if ( ! YY_CURRENT_BUFFER ){ -+ yyensure_buffer_stack (yyscanner); -+ YY_CURRENT_BUFFER_LVALUE = -+ yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); -+ } -+ -+ yy_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner); -+ yy_load_buffer_state(yyscanner ); -+} -+ -+/** Switch to a different input buffer. -+ * @param new_buffer The new input buffer. -+ * @param yyscanner The scanner object. -+ */ -+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ /* TODO. We should be able to replace this entire function body -+ * with -+ * yypop_buffer_state(); -+ * yypush_buffer_state(new_buffer); -+ */ -+ yyensure_buffer_stack (yyscanner); -+ if ( YY_CURRENT_BUFFER == new_buffer ) -+ return; -+ -+ if ( YY_CURRENT_BUFFER ) -+ { -+ /* Flush out information for old buffer. */ -+ *yyg->yy_c_buf_p = yyg->yy_hold_char; -+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; -+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; -+ } -+ -+ YY_CURRENT_BUFFER_LVALUE = new_buffer; -+ yy_load_buffer_state(yyscanner ); -+ -+ /* We don't actually know whether we did this switch during -+ * EOF (yywrap()) processing, but the only time this flag -+ * is looked at is after yywrap() is called, so it's safe -+ * to go ahead and always set it. -+ */ -+ yyg->yy_did_buffer_switch_on_eof = 1; -+} -+ -+static void yy_load_buffer_state (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; -+ yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; -+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; -+ yyg->yy_hold_char = *yyg->yy_c_buf_p; -+} -+ -+/** Allocate and initialize an input buffer state. -+ * @param file A readable stream. -+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. -+ * @param yyscanner The scanner object. -+ * @return the allocated buffer state. -+ */ -+ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size , yyscan_t yyscanner) -+{ -+ YY_BUFFER_STATE b; -+ -+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); -+ if ( ! b ) -+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); -+ -+ b->yy_buf_size = size; -+ -+ /* yy_ch_buf has to be 2 characters longer than the size given because -+ * we need to put in 2 end-of-buffer characters. -+ */ -+ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ,yyscanner ); -+ if ( ! b->yy_ch_buf ) -+ YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); -+ -+ b->yy_is_our_buffer = 1; -+ -+ yy_init_buffer(b,file ,yyscanner); -+ -+ return b; -+} -+ -+/** Destroy the buffer. -+ * @param b a buffer created with yy_create_buffer() -+ * @param yyscanner The scanner object. -+ */ -+ void yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ if ( ! b ) -+ return; -+ -+ if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ -+ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; -+ -+ if ( b->yy_is_our_buffer ) -+ yyfree((void *) b->yy_ch_buf ,yyscanner ); -+ -+ yyfree((void *) b ,yyscanner ); -+} -+ -+/* Initializes or reinitializes a buffer. -+ * This function is sometimes called more than once on the same buffer, -+ * such as during a yyrestart() or at EOF. -+ */ -+ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner) -+ -+{ -+ int oerrno = errno; -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ yy_flush_buffer(b ,yyscanner); -+ -+ b->yy_input_file = file; -+ b->yy_fill_buffer = 1; -+ -+ /* If b is the current buffer, then yy_init_buffer was _probably_ -+ * called from yyrestart() or through yy_get_next_buffer. -+ * In that case, we don't want to reset the lineno or column. -+ */ -+ if (b != YY_CURRENT_BUFFER){ -+ b->yy_bs_lineno = 1; -+ b->yy_bs_column = 0; -+ } -+ -+ b->yy_is_interactive = 0; -+ -+ errno = oerrno; -+} -+ -+/** Discard all buffered characters. On the next scan, YY_INPUT will be called. -+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. -+ * @param yyscanner The scanner object. -+ */ -+ void yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ if ( ! b ) -+ return; -+ -+ b->yy_n_chars = 0; -+ -+ /* We always need two end-of-buffer characters. The first causes -+ * a transition to the end-of-buffer state. The second causes -+ * a jam in that state. -+ */ -+ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; -+ b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; -+ -+ b->yy_buf_pos = &b->yy_ch_buf[0]; -+ -+ b->yy_at_bol = 1; -+ b->yy_buffer_status = YY_BUFFER_NEW; -+ -+ if ( b == YY_CURRENT_BUFFER ) -+ yy_load_buffer_state(yyscanner ); -+} -+ -+/** Pushes the new state onto the stack. The new state becomes -+ * the current state. This function will allocate the stack -+ * if necessary. -+ * @param new_buffer The new state. -+ * @param yyscanner The scanner object. -+ */ -+void yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ if (new_buffer == NULL) -+ return; -+ -+ yyensure_buffer_stack(yyscanner); -+ -+ /* This block is copied from yy_switch_to_buffer. */ -+ if ( YY_CURRENT_BUFFER ) -+ { -+ /* Flush out information for old buffer. */ -+ *yyg->yy_c_buf_p = yyg->yy_hold_char; -+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p; -+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars; -+ } -+ -+ /* Only push if top exists. Otherwise, replace top. */ -+ if (YY_CURRENT_BUFFER) -+ yyg->yy_buffer_stack_top++; -+ YY_CURRENT_BUFFER_LVALUE = new_buffer; -+ -+ /* copied from yy_switch_to_buffer. */ -+ yy_load_buffer_state(yyscanner ); -+ yyg->yy_did_buffer_switch_on_eof = 1; -+} -+ -+/** Removes and deletes the top of the stack, if present. -+ * The next element becomes the new top. -+ * @param yyscanner The scanner object. -+ */ -+void yypop_buffer_state (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ if (!YY_CURRENT_BUFFER) -+ return; -+ -+ yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner); -+ YY_CURRENT_BUFFER_LVALUE = NULL; -+ if (yyg->yy_buffer_stack_top > 0) -+ --yyg->yy_buffer_stack_top; -+ -+ if (YY_CURRENT_BUFFER) { -+ yy_load_buffer_state(yyscanner ); -+ yyg->yy_did_buffer_switch_on_eof = 1; -+ } -+} -+ -+/* Allocates the stack if it does not exist. -+ * Guarantees space for at least one push. -+ */ -+static void yyensure_buffer_stack (yyscan_t yyscanner) -+{ -+ yy_size_t num_to_alloc; -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ if (!yyg->yy_buffer_stack) { -+ -+ /* First allocation is just for 2 elements, since we don't know if this -+ * scanner will even need a stack. We use 2 instead of 1 to avoid an -+ * immediate realloc on the next call. -+ */ -+ num_to_alloc = 1; -+ yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc -+ (num_to_alloc * sizeof(struct yy_buffer_state*) -+ , yyscanner); -+ if ( ! yyg->yy_buffer_stack ) -+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); -+ -+ memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*)); -+ -+ yyg->yy_buffer_stack_max = num_to_alloc; -+ yyg->yy_buffer_stack_top = 0; -+ return; -+ } -+ -+ if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){ -+ -+ /* Increase the buffer to prepare for a possible push. */ -+ int grow_size = 8 /* arbitrary grow size */; -+ -+ num_to_alloc = yyg->yy_buffer_stack_max + grow_size; -+ yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc -+ (yyg->yy_buffer_stack, -+ num_to_alloc * sizeof(struct yy_buffer_state*) -+ , yyscanner); -+ if ( ! yyg->yy_buffer_stack ) -+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); -+ -+ /* zero only the new slots.*/ -+ memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*)); -+ yyg->yy_buffer_stack_max = num_to_alloc; -+ } -+} -+ -+/** Setup the input buffer state to scan directly from a user-specified character buffer. -+ * @param base the character buffer -+ * @param size the size in bytes of the character buffer -+ * @param yyscanner The scanner object. -+ * @return the newly allocated buffer state object. -+ */ -+YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner) -+{ -+ YY_BUFFER_STATE b; -+ -+ if ( size < 2 || -+ base[size-2] != YY_END_OF_BUFFER_CHAR || -+ base[size-1] != YY_END_OF_BUFFER_CHAR ) -+ /* They forgot to leave room for the EOB's. */ -+ return 0; -+ -+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner ); -+ if ( ! b ) -+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); -+ -+ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ -+ b->yy_buf_pos = b->yy_ch_buf = base; -+ b->yy_is_our_buffer = 0; -+ b->yy_input_file = 0; -+ b->yy_n_chars = b->yy_buf_size; -+ b->yy_is_interactive = 0; -+ b->yy_at_bol = 1; -+ b->yy_fill_buffer = 0; -+ b->yy_buffer_status = YY_BUFFER_NEW; -+ -+ yy_switch_to_buffer(b ,yyscanner ); -+ -+ return b; -+} -+ -+/** Setup the input buffer state to scan a string. The next call to yylex() will -+ * scan from a @e copy of @a str. -+ * @param yystr a NUL-terminated string to scan -+ * @param yyscanner The scanner object. -+ * @return the newly allocated buffer state object. -+ * @note If you want to scan bytes that may contain NUL values, then use -+ * yy_scan_bytes() instead. -+ */ -+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr , yyscan_t yyscanner) -+{ -+ -+ return yy_scan_bytes(yystr,strlen(yystr) ,yyscanner); -+} -+ -+/** Setup the input buffer state to scan the given bytes. The next call to yylex() will -+ * scan from a @e copy of @a bytes. -+ * @param bytes the byte buffer to scan -+ * @param len the number of bytes in the buffer pointed to by @a bytes. -+ * @param yyscanner The scanner object. -+ * @return the newly allocated buffer state object. -+ */ -+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner) -+{ -+ YY_BUFFER_STATE b; -+ char *buf; -+ yy_size_t n, i; -+ -+ /* Get memory for full buffer, including space for trailing EOB's. */ -+ n = _yybytes_len + 2; -+ buf = (char *) yyalloc(n ,yyscanner ); -+ if ( ! buf ) -+ YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); -+ -+ for ( i = 0; i < _yybytes_len; ++i ) -+ buf[i] = yybytes[i]; -+ -+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; -+ -+ b = yy_scan_buffer(buf,n ,yyscanner); -+ if ( ! b ) -+ YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); -+ -+ /* It's okay to grow etc. this buffer, and we should throw it -+ * away when we're done. -+ */ -+ b->yy_is_our_buffer = 1; -+ -+ return b; -+} -+ -+ static void yy_push_state (int new_state , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth ) -+ { -+ yy_size_t new_size; -+ -+ yyg->yy_start_stack_depth += YY_START_STACK_INCR; -+ new_size = yyg->yy_start_stack_depth * sizeof( int ); -+ -+ if ( ! yyg->yy_start_stack ) -+ yyg->yy_start_stack = (int *) yyalloc(new_size ,yyscanner ); -+ -+ else -+ yyg->yy_start_stack = (int *) yyrealloc((void *) yyg->yy_start_stack,new_size ,yyscanner ); -+ -+ if ( ! yyg->yy_start_stack ) -+ YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); -+ } -+ -+ yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START; -+ -+ BEGIN(new_state); -+} -+ -+ static void yy_pop_state (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ if ( --yyg->yy_start_stack_ptr < 0 ) -+ YY_FATAL_ERROR( "start-condition stack underflow" ); -+ -+ BEGIN(yyg->yy_start_stack[yyg->yy_start_stack_ptr]); -+} -+ -+ static int yy_top_state (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yyg->yy_start_stack[yyg->yy_start_stack_ptr - 1]; -+} -+ -+#ifndef YY_EXIT_FAILURE -+#define YY_EXIT_FAILURE 2 -+#endif -+ -+static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner) -+{ -+ (void) fprintf( stderr, "%s\n", msg ); -+ exit( YY_EXIT_FAILURE ); -+} -+ -+/* Redefine yyless() so it works in section 3 code. */ -+ -+#undef yyless -+#define yyless(n) \ -+ do \ -+ { \ -+ /* Undo effects of setting up yytext. */ \ -+ int yyless_macro_arg = (n); \ -+ YY_LESS_LINENO(yyless_macro_arg);\ -+ yytext[yyleng] = yyg->yy_hold_char; \ -+ yyg->yy_c_buf_p = yytext + yyless_macro_arg; \ -+ yyg->yy_hold_char = *yyg->yy_c_buf_p; \ -+ *yyg->yy_c_buf_p = '\0'; \ -+ yyleng = yyless_macro_arg; \ -+ } \ -+ while ( 0 ) -+ -+/* Accessor methods (get/set functions) to struct members. */ -+ -+/** Get the user-defined data for this scanner. -+ * @param yyscanner The scanner object. -+ */ -+YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yyextra; -+} -+ -+/** Get the current line number. -+ * @param yyscanner The scanner object. -+ */ -+int yyget_lineno (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ if (! YY_CURRENT_BUFFER) -+ return 0; -+ -+ return yylineno; -+} -+ -+/** Get the current column number. -+ * @param yyscanner The scanner object. -+ */ -+int yyget_column (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ if (! YY_CURRENT_BUFFER) -+ return 0; -+ -+ return yycolumn; -+} -+ -+/** Get the input stream. -+ * @param yyscanner The scanner object. -+ */ -+FILE *yyget_in (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yyin; -+} -+ -+/** Get the output stream. -+ * @param yyscanner The scanner object. -+ */ -+FILE *yyget_out (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yyout; -+} -+ -+/** Get the length of the current token. -+ * @param yyscanner The scanner object. -+ */ -+yy_size_t yyget_leng (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yyleng; -+} -+ -+/** Get the current token. -+ * @param yyscanner The scanner object. -+ */ -+ -+char *yyget_text (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yytext; -+} -+ -+/** Set the user-defined data. This data is never touched by the scanner. -+ * @param user_defined The data to be associated with this scanner. -+ * @param yyscanner The scanner object. -+ */ -+void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ yyextra = user_defined ; -+} -+ -+/** Set the current line number. -+ * @param line_number -+ * @param yyscanner The scanner object. -+ */ -+void yyset_lineno (int line_number , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ /* lineno is only valid if an input buffer exists. */ -+ if (! YY_CURRENT_BUFFER ) -+ yy_fatal_error( "yyset_lineno called with no buffer" , yyscanner); -+ -+ yylineno = line_number; -+} -+ -+/** Set the current column. -+ * @param line_number -+ * @param yyscanner The scanner object. -+ */ -+void yyset_column (int column_no , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ /* column is only valid if an input buffer exists. */ -+ if (! YY_CURRENT_BUFFER ) -+ yy_fatal_error( "yyset_column called with no buffer" , yyscanner); -+ -+ yycolumn = column_no; -+} -+ -+/** Set the input stream. This does not discard the current -+ * input buffer. -+ * @param in_str A readable stream. -+ * @param yyscanner The scanner object. -+ * @see yy_switch_to_buffer -+ */ -+void yyset_in (FILE * in_str , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ yyin = in_str ; -+} -+ -+void yyset_out (FILE * out_str , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ yyout = out_str ; -+} -+ -+int yyget_debug (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yy_flex_debug; -+} -+ -+void yyset_debug (int bdebug , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ yy_flex_debug = bdebug ; -+} -+ -+/* Accessor methods for yylval and yylloc */ -+ -+YYSTYPE * yyget_lval (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ return yylval; -+} -+ -+void yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ yylval = yylval_param; -+} -+ -+/* User-visible API */ -+ -+/* yylex_init is special because it creates the scanner itself, so it is -+ * the ONLY reentrant function that doesn't take the scanner as the last argument. -+ * That's why we explicitly handle the declaration, instead of using our macros. -+ */ -+ -+int yylex_init(yyscan_t* ptr_yy_globals) -+ -+{ -+ if (ptr_yy_globals == NULL){ -+ errno = EINVAL; -+ return 1; -+ } -+ -+ *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL ); -+ -+ if (*ptr_yy_globals == NULL){ -+ errno = ENOMEM; -+ return 1; -+ } -+ -+ /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */ -+ memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); -+ -+ return yy_init_globals ( *ptr_yy_globals ); -+} -+ -+/* yylex_init_extra has the same functionality as yylex_init, but follows the -+ * convention of taking the scanner as the last argument. Note however, that -+ * this is a *pointer* to a scanner, as it will be allocated by this call (and -+ * is the reason, too, why this function also must handle its own declaration). -+ * The user defined value in the first argument will be available to yyalloc in -+ * the yyextra field. -+ */ -+ -+int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals ) -+ -+{ -+ struct yyguts_t dummy_yyguts; -+ -+ yyset_extra (yy_user_defined, &dummy_yyguts); -+ -+ if (ptr_yy_globals == NULL){ -+ errno = EINVAL; -+ return 1; -+ } -+ -+ *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts ); -+ -+ if (*ptr_yy_globals == NULL){ -+ errno = ENOMEM; -+ return 1; -+ } -+ -+ /* By setting to 0xAA, we expose bugs in -+ yy_init_globals. Leave at 0x00 for releases. */ -+ memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t)); -+ -+ yyset_extra (yy_user_defined, *ptr_yy_globals); -+ -+ return yy_init_globals ( *ptr_yy_globals ); -+} -+ -+static int yy_init_globals (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ /* Initialization is the same as for the non-reentrant scanner. -+ * This function is called from yylex_destroy(), so don't allocate here. -+ */ -+ -+ yyg->yy_buffer_stack = 0; -+ yyg->yy_buffer_stack_top = 0; -+ yyg->yy_buffer_stack_max = 0; -+ yyg->yy_c_buf_p = (char *) 0; -+ yyg->yy_init = 0; -+ yyg->yy_start = 0; -+ -+ yyg->yy_start_stack_ptr = 0; -+ yyg->yy_start_stack_depth = 0; -+ yyg->yy_start_stack = NULL; -+ -+/* Defined in main.c */ -+#ifdef YY_STDINIT -+ yyin = stdin; -+ yyout = stdout; -+#else -+ yyin = (FILE *) 0; -+ yyout = (FILE *) 0; -+#endif -+ -+ /* For future reference: Set errno on error, since we are called by -+ * yylex_init() -+ */ -+ return 0; -+} -+ -+/* yylex_destroy is for both reentrant and non-reentrant scanners. */ -+int yylex_destroy (yyscan_t yyscanner) -+{ -+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -+ -+ /* Pop the buffer stack, destroying each element. */ -+ while(YY_CURRENT_BUFFER){ -+ yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner ); -+ YY_CURRENT_BUFFER_LVALUE = NULL; -+ yypop_buffer_state(yyscanner); -+ } -+ -+ /* Destroy the stack itself. */ -+ yyfree(yyg->yy_buffer_stack ,yyscanner); -+ yyg->yy_buffer_stack = NULL; -+ -+ /* Destroy the start condition stack. */ -+ yyfree(yyg->yy_start_stack ,yyscanner ); -+ yyg->yy_start_stack = NULL; -+ -+ /* Reset the globals. This is important in a non-reentrant scanner so the next time -+ * yylex() is called, initialization will occur. */ -+ yy_init_globals( yyscanner); -+ -+ /* Destroy the main struct (reentrant only). */ -+ yyfree ( yyscanner , yyscanner ); -+ yyscanner = NULL; -+ return 0; -+} -+ -+/* -+ * Internal utility routines. -+ */ -+ -+#ifndef yytext_ptr -+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner) -+{ -+ register int i; -+ for ( i = 0; i < n; ++i ) -+ s1[i] = s2[i]; -+} -+#endif -+ -+#ifdef YY_NEED_STRLEN -+static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner) -+{ -+ register int n; -+ for ( n = 0; s[n]; ++n ) -+ ; -+ -+ return n; -+} -+#endif -+ -+void *yyalloc (yy_size_t size , yyscan_t yyscanner) -+{ -+ return (void *) malloc( size ); -+} -+ -+void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) -+{ -+ /* The cast to (char *) in the following accommodates both -+ * implementations that use char* generic pointers, and those -+ * that use void* generic pointers. It works with the latter -+ * because both ANSI C and C++ allow castless assignment from -+ * any pointer type to void*, and deal with argument conversions -+ * as though doing an assignment. -+ */ -+ return (void *) realloc( (char *) ptr, size ); -+} -+ -+void yyfree (void * ptr , yyscan_t yyscanner) -+{ -+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ -+} -+ -+#define YYTABLES_NAME "yytables" -+ -+int string_input(char* buf, int max_size, yyscan_t yyscanner) { -+ pp::Token token; -+ yyget_extra(yyscanner)->preprocessor.lex(&token); -+ int len = token.type == pp::Token::LAST ? 0 : token.text.size(); -+ if ((len > 0) && (len < max_size)) -+ memcpy(buf, token.text.c_str(), len); -+ yyset_lineno(EncodeSourceLoc(token.location.file, token.location.line),yyscanner); -+ -+ if (len >= max_size) -+ YY_FATAL_ERROR("Input buffer overflow"); -+ else if (len > 0) -+ buf[len++] = ' '; -+ return len; -+} -+ -+int check_type(yyscan_t yyscanner) { -+ struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; -+ -+ int token = IDENTIFIER; -+ TSymbol* symbol = yyextra->symbolTable.find(yytext); -+ if (yyextra->lexAfterType == false && symbol && symbol->isVariable()) { -+ TVariable* variable = static_cast<TVariable*>(symbol); -+ if (variable->isUserType()) { -+ yyextra->lexAfterType = true; -+ token = TYPE_NAME; -+ } -+ } -+ yylval->lex.symbol = symbol; -+ return token; -+} -+ -+int reserved_word(yyscan_t yyscanner) { -+ struct yyguts_t* yyg = (struct yyguts_t*) yyscanner; -+ -+ yyextra->error(yylineno, "Illegal use of reserved word", yytext, ""); -+ yyextra->recover(); -+ return 0; -+} -+ -+void yyerror(TParseContext* context, const char* reason) { -+ struct yyguts_t* yyg = (struct yyguts_t*) context->scanner; -+ -+ if (context->AfterEOF) { -+ context->error(yylineno, reason, "unexpected EOF"); -+ } else { -+ context->error(yylineno, reason, yytext); -+ } -+ context->recover(); -+} -+ -+int glslang_initialize(TParseContext* context) { -+ yyscan_t scanner = NULL; -+ if (yylex_init_extra(context,&scanner)) -+ return 1; -+ -+ context->scanner = scanner; -+ return 0; -+} -+ -+int glslang_finalize(TParseContext* context) { -+ yyscan_t scanner = context->scanner; -+ if (scanner == NULL) return 0; -+ -+ context->scanner = NULL; -+ yylex_destroy(scanner); -+ -+ return 0; -+} -+ -+int glslang_scan(int count, const char* const string[], const int length[], -+ TParseContext* context) { -+ yyrestart(NULL,context->scanner); -+ yyset_lineno(EncodeSourceLoc(0, 1),context->scanner); -+ context->AfterEOF = false; -+ -+ // Initialize preprocessor. -+ if (!context->preprocessor.init(count, string, length)) -+ return 1; -+ -+ // Define extension macros. -+ const TExtensionBehavior& extBehavior = context->extensionBehavior(); -+ for (TExtensionBehavior::const_iterator iter = extBehavior.begin(); -+ iter != extBehavior.end(); ++iter) { -+ context->preprocessor.predefineMacro(iter->first.c_str(), 1); -+ } -+ return 0; -+} -+ -diff --git a/Source/ThirdParty/ANGLE/src/compiler/glslang_tab.cpp b/Source/ThirdParty/ANGLE/src/compiler/glslang_tab.cpp -new file mode 100644 -index 0000000..72cc849 ---- /dev/null -+++ b/Source/ThirdParty/ANGLE/src/compiler/glslang_tab.cpp -@@ -0,0 +1,4847 @@ -+/* A Bison parser, made by GNU Bison 2.3. */ -+ -+/* Skeleton implementation for Bison's Yacc-like parsers in C -+ -+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 -+ Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 2, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, write to the Free Software -+ Foundation, Inc., 51 Franklin Street, Fifth Floor, -+ Boston, MA 02110-1301, USA. */ -+ -+/* As a special exception, you may create a larger work that contains -+ part or all of the Bison parser skeleton and distribute that work -+ under terms of your choice, so long as that work isn't itself a -+ parser generator using the skeleton or a modified version thereof -+ as a parser skeleton. Alternatively, if you modify or redistribute -+ the parser skeleton itself, you may (at your option) remove this -+ special exception, which will cause the skeleton and the resulting -+ Bison output files to be licensed under the GNU General Public -+ License without this special exception. -+ -+ This special exception was added by the Free Software Foundation in -+ version 2.2 of Bison. */ -+ -+/* C LALR(1) parser skeleton written by Richard Stallman, by -+ simplifying the original so-called "semantic" parser. */ -+ -+/* All symbols defined below should begin with yy or YY, to avoid -+ infringing on user name space. This should be done even for local -+ variables, as they might otherwise be expanded by user macros. -+ There are some unavoidable exceptions within include files to -+ define necessary library symbols; they are noted "INFRINGES ON -+ USER NAME SPACE" below. */ -+ -+/* Identify Bison output. */ -+#define YYBISON 1 -+ -+/* Bison version. */ -+#define YYBISON_VERSION "2.3" -+ -+/* Skeleton name. */ -+#define YYSKELETON_NAME "yacc.c" -+ -+/* Pure parsers. */ -+#define YYPURE 1 -+ -+/* Using locations. */ -+#define YYLSP_NEEDED 0 -+ -+ -+ -+/* Tokens. */ -+#ifndef YYTOKENTYPE -+# define YYTOKENTYPE -+ /* Put the tokens into the symbol table, so that GDB and other debuggers -+ know about them. */ -+ enum yytokentype { -+ INVARIANT = 258, -+ HIGH_PRECISION = 259, -+ MEDIUM_PRECISION = 260, -+ LOW_PRECISION = 261, -+ PRECISION = 262, -+ ATTRIBUTE = 263, -+ CONST_QUAL = 264, -+ BOOL_TYPE = 265, -+ FLOAT_TYPE = 266, -+ INT_TYPE = 267, -+ BREAK = 268, -+ CONTINUE = 269, -+ DO = 270, -+ ELSE = 271, -+ FOR = 272, -+ IF = 273, -+ DISCARD = 274, -+ RETURN = 275, -+ BVEC2 = 276, -+ BVEC3 = 277, -+ BVEC4 = 278, -+ IVEC2 = 279, -+ IVEC3 = 280, -+ IVEC4 = 281, -+ VEC2 = 282, -+ VEC3 = 283, -+ VEC4 = 284, -+ MATRIX2 = 285, -+ MATRIX3 = 286, -+ MATRIX4 = 287, -+ IN_QUAL = 288, -+ OUT_QUAL = 289, -+ INOUT_QUAL = 290, -+ UNIFORM = 291, -+ VARYING = 292, -+ STRUCT = 293, -+ VOID_TYPE = 294, -+ WHILE = 295, -+ SAMPLER2D = 296, -+ SAMPLERCUBE = 297, -+ SAMPLER_EXTERNAL_OES = 298, -+ SAMPLER2DRECT = 299, -+ IDENTIFIER = 300, -+ TYPE_NAME = 301, -+ FLOATCONSTANT = 302, -+ INTCONSTANT = 303, -+ BOOLCONSTANT = 304, -+ FIELD_SELECTION = 305, -+ LEFT_OP = 306, -+ RIGHT_OP = 307, -+ INC_OP = 308, -+ DEC_OP = 309, -+ LE_OP = 310, -+ GE_OP = 311, -+ EQ_OP = 312, -+ NE_OP = 313, -+ AND_OP = 314, -+ OR_OP = 315, -+ XOR_OP = 316, -+ MUL_ASSIGN = 317, -+ DIV_ASSIGN = 318, -+ ADD_ASSIGN = 319, -+ MOD_ASSIGN = 320, -+ LEFT_ASSIGN = 321, -+ RIGHT_ASSIGN = 322, -+ AND_ASSIGN = 323, -+ XOR_ASSIGN = 324, -+ OR_ASSIGN = 325, -+ SUB_ASSIGN = 326, -+ LEFT_PAREN = 327, -+ RIGHT_PAREN = 328, -+ LEFT_BRACKET = 329, -+ RIGHT_BRACKET = 330, -+ LEFT_BRACE = 331, -+ RIGHT_BRACE = 332, -+ DOT = 333, -+ COMMA = 334, -+ COLON = 335, -+ EQUAL = 336, -+ SEMICOLON = 337, -+ BANG = 338, -+ DASH = 339, -+ TILDE = 340, -+ PLUS = 341, -+ STAR = 342, -+ SLASH = 343, -+ PERCENT = 344, -+ LEFT_ANGLE = 345, -+ RIGHT_ANGLE = 346, -+ VERTICAL_BAR = 347, -+ CARET = 348, -+ AMPERSAND = 349, -+ QUESTION = 350 -+ }; -+#endif -+/* Tokens. */ -+#define INVARIANT 258 -+#define HIGH_PRECISION 259 -+#define MEDIUM_PRECISION 260 -+#define LOW_PRECISION 261 -+#define PRECISION 262 -+#define ATTRIBUTE 263 -+#define CONST_QUAL 264 -+#define BOOL_TYPE 265 -+#define FLOAT_TYPE 266 -+#define INT_TYPE 267 -+#define BREAK 268 -+#define CONTINUE 269 -+#define DO 270 -+#define ELSE 271 -+#define FOR 272 -+#define IF 273 -+#define DISCARD 274 -+#define RETURN 275 -+#define BVEC2 276 -+#define BVEC3 277 -+#define BVEC4 278 -+#define IVEC2 279 -+#define IVEC3 280 -+#define IVEC4 281 -+#define VEC2 282 -+#define VEC3 283 -+#define VEC4 284 -+#define MATRIX2 285 -+#define MATRIX3 286 -+#define MATRIX4 287 -+#define IN_QUAL 288 -+#define OUT_QUAL 289 -+#define INOUT_QUAL 290 -+#define UNIFORM 291 -+#define VARYING 292 -+#define STRUCT 293 -+#define VOID_TYPE 294 -+#define WHILE 295 -+#define SAMPLER2D 296 -+#define SAMPLERCUBE 297 -+#define SAMPLER_EXTERNAL_OES 298 -+#define SAMPLER2DRECT 299 -+#define IDENTIFIER 300 -+#define TYPE_NAME 301 -+#define FLOATCONSTANT 302 -+#define INTCONSTANT 303 -+#define BOOLCONSTANT 304 -+#define FIELD_SELECTION 305 -+#define LEFT_OP 306 -+#define RIGHT_OP 307 -+#define INC_OP 308 -+#define DEC_OP 309 -+#define LE_OP 310 -+#define GE_OP 311 -+#define EQ_OP 312 -+#define NE_OP 313 -+#define AND_OP 314 -+#define OR_OP 315 -+#define XOR_OP 316 -+#define MUL_ASSIGN 317 -+#define DIV_ASSIGN 318 -+#define ADD_ASSIGN 319 -+#define MOD_ASSIGN 320 -+#define LEFT_ASSIGN 321 -+#define RIGHT_ASSIGN 322 -+#define AND_ASSIGN 323 -+#define XOR_ASSIGN 324 -+#define OR_ASSIGN 325 -+#define SUB_ASSIGN 326 -+#define LEFT_PAREN 327 -+#define RIGHT_PAREN 328 -+#define LEFT_BRACKET 329 -+#define RIGHT_BRACKET 330 -+#define LEFT_BRACE 331 -+#define RIGHT_BRACE 332 -+#define DOT 333 -+#define COMMA 334 -+#define COLON 335 -+#define EQUAL 336 -+#define SEMICOLON 337 -+#define BANG 338 -+#define DASH 339 -+#define TILDE 340 -+#define PLUS 341 -+#define STAR 342 -+#define SLASH 343 -+#define PERCENT 344 -+#define LEFT_ANGLE 345 -+#define RIGHT_ANGLE 346 -+#define VERTICAL_BAR 347 -+#define CARET 348 -+#define AMPERSAND 349 -+#define QUESTION 350 -+ -+ -+ -+ -+/* Copy the first part of user declarations. */ -+ -+ -+// -+// Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. -+// -+ -+// This file is auto-generated by generate_parser.sh. DO NOT EDIT! -+ -+// Ignore errors in auto-generated code. -+#if defined(__GNUC__) -+#pragma GCC diagnostic ignored "-Wunused-function" -+#pragma GCC diagnostic ignored "-Wunused-variable" -+#pragma GCC diagnostic ignored "-Wswitch-enum" -+#elif defined(_MSC_VER) -+#pragma warning(disable: 4065) -+#pragma warning(disable: 4189) -+#pragma warning(disable: 4505) -+#pragma warning(disable: 4701) -+#endif -+ -+#include "compiler/SymbolTable.h" -+#include "compiler/ParseHelper.h" -+#include "GLSLANG/ShaderLang.h" -+ -+#define YYENABLE_NLS 0 -+#define YYLTYPE_IS_TRIVIAL 1 -+ -+#define YYLEX_PARAM context->scanner -+ -+ -+/* Enabling traces. */ -+#ifndef YYDEBUG -+# define YYDEBUG 0 -+#endif -+ -+/* Enabling verbose error messages. */ -+#ifdef YYERROR_VERBOSE -+# undef YYERROR_VERBOSE -+# define YYERROR_VERBOSE 1 -+#else -+# define YYERROR_VERBOSE 0 -+#endif -+ -+/* Enabling the token table. */ -+#ifndef YYTOKEN_TABLE -+# define YYTOKEN_TABLE 0 -+#endif -+ -+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -+typedef union YYSTYPE -+ -+{ -+ struct { -+ TSourceLoc line; -+ union { -+ TString *string; -+ float f; -+ int i; -+ bool b; -+ }; -+ TSymbol* symbol; -+ } lex; -+ struct { -+ TSourceLoc line; -+ TOperator op; -+ union { -+ TIntermNode* intermNode; -+ TIntermNodePair nodePair; -+ TIntermTyped* intermTypedNode; -+ TIntermAggregate* intermAggregate; -+ }; -+ union { -+ TPublicType type; -+ TPrecision precision; -+ TQualifier qualifier; -+ TFunction* function; -+ TParameter param; -+ TTypeLine typeLine; -+ TTypeList* typeList; -+ }; -+ } interm; -+} -+/* Line 193 of yacc.c. */ -+ -+ YYSTYPE; -+# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -+# define YYSTYPE_IS_DECLARED 1 -+# define YYSTYPE_IS_TRIVIAL 1 -+#endif -+ -+ -+ -+/* Copy the second part of user declarations. */ -+ -+ -+extern int yylex(YYSTYPE* yylval_param, void* yyscanner); -+extern void yyerror(TParseContext* context, const char* reason); -+ -+#define FRAG_VERT_ONLY(S, L) { \ -+ if (context->shaderType != SH_FRAGMENT_SHADER && \ -+ context->shaderType != SH_VERTEX_SHADER) { \ -+ context->error(L, " supported in vertex/fragment shaders only ", S); \ -+ context->recover(); \ -+ } \ -+} -+ -+#define VERTEX_ONLY(S, L) { \ -+ if (context->shaderType != SH_VERTEX_SHADER) { \ -+ context->error(L, " supported in vertex shaders only ", S); \ -+ context->recover(); \ -+ } \ -+} -+ -+#define FRAG_ONLY(S, L) { \ -+ if (context->shaderType != SH_FRAGMENT_SHADER) { \ -+ context->error(L, " supported in fragment shaders only ", S); \ -+ context->recover(); \ -+ } \ -+} -+ -+ -+/* Line 216 of yacc.c. */ -+ -+ -+#ifdef short -+# undef short -+#endif -+ -+#ifdef YYTYPE_UINT8 -+typedef YYTYPE_UINT8 yytype_uint8; -+#else -+typedef unsigned char yytype_uint8; -+#endif -+ -+#ifdef YYTYPE_INT8 -+typedef YYTYPE_INT8 yytype_int8; -+#elif (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+typedef signed char yytype_int8; -+#else -+typedef short int yytype_int8; -+#endif -+ -+#ifdef YYTYPE_UINT16 -+typedef YYTYPE_UINT16 yytype_uint16; -+#else -+typedef unsigned short int yytype_uint16; -+#endif -+ -+#ifdef YYTYPE_INT16 -+typedef YYTYPE_INT16 yytype_int16; -+#else -+typedef short int yytype_int16; -+#endif -+ -+#ifndef YYSIZE_T -+# ifdef __SIZE_TYPE__ -+# define YYSIZE_T __SIZE_TYPE__ -+# elif defined size_t -+# define YYSIZE_T size_t -+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+# include <stddef.h> /* INFRINGES ON USER NAME SPACE */ -+# define YYSIZE_T size_t -+# else -+# define YYSIZE_T unsigned int -+# endif -+#endif -+ -+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) -+ -+#ifndef YY_ -+# if YYENABLE_NLS -+# if ENABLE_NLS -+# include <libintl.h> /* INFRINGES ON USER NAME SPACE */ -+# define YY_(msgid) dgettext ("bison-runtime", msgid) -+# endif -+# endif -+# ifndef YY_ -+# define YY_(msgid) msgid -+# endif -+#endif -+ -+/* Suppress unused-variable warnings by "using" E. */ -+#if ! defined lint || defined __GNUC__ -+# define YYUSE(e) ((void) (e)) -+#else -+# define YYUSE(e) /* empty */ -+#endif -+ -+/* Identity function, used to suppress warnings about constant conditions. */ -+#ifndef lint -+# define YYID(n) (n) -+#else -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static int -+YYID (int i) -+#else -+static int -+YYID (i) -+ int i; -+#endif -+{ -+ return i; -+} -+#endif -+ -+#if ! defined yyoverflow || YYERROR_VERBOSE -+ -+/* The parser invokes alloca or malloc; define the necessary symbols. */ -+ -+# ifdef YYSTACK_USE_ALLOCA -+# if YYSTACK_USE_ALLOCA -+# ifdef __GNUC__ -+# define YYSTACK_ALLOC __builtin_alloca -+# elif defined __BUILTIN_VA_ARG_INCR -+# include <alloca.h> /* INFRINGES ON USER NAME SPACE */ -+# elif defined _AIX -+# define YYSTACK_ALLOC __alloca -+# elif defined _MSC_VER -+# include <malloc.h> /* INFRINGES ON USER NAME SPACE */ -+# define alloca _alloca -+# else -+# define YYSTACK_ALLOC alloca -+# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -+# ifndef _STDLIB_H -+# define _STDLIB_H 1 -+# endif -+# endif -+# endif -+# endif -+# endif -+ -+# ifdef YYSTACK_ALLOC -+ /* Pacify GCC's `empty if-body' warning. */ -+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) -+# ifndef YYSTACK_ALLOC_MAXIMUM -+ /* The OS might guarantee only one guard page at the bottom of the stack, -+ and a page size can be as small as 4096 bytes. So we cannot safely -+ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number -+ to allow for a few compiler-allocated temporary stack slots. */ -+# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ -+# endif -+# else -+# define YYSTACK_ALLOC YYMALLOC -+# define YYSTACK_FREE YYFREE -+# ifndef YYSTACK_ALLOC_MAXIMUM -+# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM -+# endif -+# if (defined __cplusplus && ! defined _STDLIB_H \ -+ && ! ((defined YYMALLOC || defined malloc) \ -+ && (defined YYFREE || defined free))) -+# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */ -+# ifndef _STDLIB_H -+# define _STDLIB_H 1 -+# endif -+# endif -+# ifndef YYMALLOC -+# define YYMALLOC malloc -+# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -+# endif -+# endif -+# ifndef YYFREE -+# define YYFREE free -+# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+void free (void *); /* INFRINGES ON USER NAME SPACE */ -+# endif -+# endif -+# endif -+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ -+ -+ -+#if (! defined yyoverflow \ -+ && (! defined __cplusplus \ -+ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) -+ -+/* A type that is properly aligned for any stack member. */ -+union yyalloc -+{ -+ yytype_int16 yyss; -+ YYSTYPE yyvs; -+ }; -+ -+/* The size of the maximum gap between one aligned stack and the next. */ -+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) -+ -+/* The size of an array large to enough to hold all stacks, each with -+ N elements. */ -+# define YYSTACK_BYTES(N) \ -+ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ -+ + YYSTACK_GAP_MAXIMUM) -+ -+/* Copy COUNT objects from FROM to TO. The source and destination do -+ not overlap. */ -+# ifndef YYCOPY -+# if defined __GNUC__ && 1 < __GNUC__ -+# define YYCOPY(To, From, Count) \ -+ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) -+# else -+# define YYCOPY(To, From, Count) \ -+ do \ -+ { \ -+ YYSIZE_T yyi; \ -+ for (yyi = 0; yyi < (Count); yyi++) \ -+ (To)[yyi] = (From)[yyi]; \ -+ } \ -+ while (YYID (0)) -+# endif -+# endif -+ -+/* Relocate STACK from its old location to the new one. The -+ local variables YYSIZE and YYSTACKSIZE give the old and new number of -+ elements in the stack, and YYPTR gives the new location of the -+ stack. Advance YYPTR to a properly aligned location for the next -+ stack. */ -+# define YYSTACK_RELOCATE(Stack) \ -+ do \ -+ { \ -+ YYSIZE_T yynewbytes; \ -+ YYCOPY (&yyptr->Stack, Stack, yysize); \ -+ Stack = &yyptr->Stack; \ -+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ -+ yyptr += yynewbytes / sizeof (*yyptr); \ -+ } \ -+ while (YYID (0)) -+ -+#endif -+ -+/* YYFINAL -- State number of the termination state. */ -+#define YYFINAL 71 -+/* YYLAST -- Last index in YYTABLE. */ -+#define YYLAST 1416 -+ -+/* YYNTOKENS -- Number of terminals. */ -+#define YYNTOKENS 96 -+/* YYNNTS -- Number of nonterminals. */ -+#define YYNNTS 83 -+/* YYNRULES -- Number of rules. */ -+#define YYNRULES 201 -+/* YYNRULES -- Number of states. */ -+#define YYNSTATES 304 -+ -+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ -+#define YYUNDEFTOK 2 -+#define YYMAXUTOK 350 -+ -+#define YYTRANSLATE(YYX) \ -+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) -+ -+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -+static const yytype_uint8 yytranslate[] = -+{ -+ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, -+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, -+ 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, -+ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, -+ 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, -+ 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, -+ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, -+ 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, -+ 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, -+ 95 -+}; -+ -+#if YYDEBUG -+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in -+ YYRHS. */ -+static const yytype_uint16 yyprhs[] = -+{ -+ 0, 0, 3, 5, 7, 9, 11, 13, 17, 19, -+ 24, 26, 30, 33, 36, 38, 40, 42, 46, 49, -+ 52, 55, 57, 60, 64, 67, 69, 71, 73, 75, -+ 78, 81, 84, 86, 88, 90, 92, 96, 100, 102, -+ 106, 110, 112, 114, 118, 122, 126, 130, 132, 136, -+ 140, 142, 144, 146, 148, 152, 154, 158, 160, 164, -+ 166, 172, 174, 178, 180, 182, 184, 186, 188, 190, -+ 194, 196, 199, 202, 207, 210, 212, 214, 217, 221, -+ 225, 228, 234, 238, 241, 245, 248, 249, 251, 253, -+ 255, 257, 259, 263, 269, 276, 282, 284, 287, 292, -+ 298, 303, 306, 308, 311, 313, 315, 317, 320, 322, -+ 324, 327, 329, 331, 333, 335, 340, 342, 344, 346, -+ 348, 350, 352, 354, 356, 358, 360, 362, 364, 366, -+ 368, 370, 372, 374, 376, 378, 380, 382, 384, 385, -+ 392, 393, 399, 401, 404, 408, 410, 414, 416, 421, -+ 423, 425, 427, 429, 431, 433, 435, 437, 439, 442, -+ 443, 444, 450, 452, 454, 455, 458, 459, 462, 465, -+ 469, 471, 474, 476, 479, 485, 489, 491, 493, 498, -+ 499, 506, 507, 516, 517, 525, 527, 529, 531, 532, -+ 535, 539, 542, 545, 548, 552, 555, 557, 560, 562, -+ 564, 565 -+}; -+ -+/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -+static const yytype_int16 yyrhs[] = -+{ -+ 175, 0, -1, 45, -1, 97, -1, 48, -1, 47, -+ -1, 49, -1, 72, 124, 73, -1, 98, -1, 99, -+ 74, 100, 75, -1, 101, -1, 99, 78, 50, -1, -+ 99, 53, -1, 99, 54, -1, 124, -1, 102, -1, -+ 103, -1, 99, 78, 103, -1, 105, 73, -1, 104, -+ 73, -1, 106, 39, -1, 106, -1, 106, 122, -1, -+ 105, 79, 122, -1, 107, 72, -1, 142, -1, 45, -+ -1, 50, -1, 99, -1, 53, 108, -1, 54, 108, -+ -1, 109, 108, -1, 86, -1, 84, -1, 83, -1, -+ 108, -1, 110, 87, 108, -1, 110, 88, 108, -1, -+ 110, -1, 111, 86, 110, -1, 111, 84, 110, -1, -+ 111, -1, 112, -1, 113, 90, 112, -1, 113, 91, -+ 112, -1, 113, 55, 112, -1, 113, 56, 112, -1, -+ 113, -1, 114, 57, 113, -1, 114, 58, 113, -1, -+ 114, -1, 115, -1, 116, -1, 117, -1, 118, 59, -+ 117, -1, 118, -1, 119, 61, 118, -1, 119, -1, -+ 120, 60, 119, -1, 120, -1, 120, 95, 124, 80, -+ 122, -1, 121, -1, 108, 123, 122, -1, 81, -1, -+ 62, -1, 63, -1, 64, -1, 71, -1, 122, -1, -+ 124, 79, 122, -1, 121, -1, 127, 82, -1, 135, -+ 82, -1, 7, 140, 141, 82, -1, 128, 73, -1, -+ 130, -1, 129, -1, 130, 132, -1, 129, 79, 132, -+ -1, 137, 45, 72, -1, 139, 45, -1, 139, 45, -+ 74, 125, 75, -1, 138, 133, 131, -1, 133, 131, -+ -1, 138, 133, 134, -1, 133, 134, -1, -1, 33, -+ -1, 34, -1, 35, -1, 139, -1, 136, -1, 135, -+ 79, 45, -1, 135, 79, 45, 74, 75, -1, 135, -+ 79, 45, 74, 125, 75, -1, 135, 79, 45, 81, -+ 150, -1, 137, -1, 137, 45, -1, 137, 45, 74, -+ 75, -1, 137, 45, 74, 125, 75, -1, 137, 45, -+ 81, 150, -1, 3, 45, -1, 139, -1, 138, 139, -+ -1, 9, -1, 8, -1, 37, -1, 3, 37, -1, -+ 36, -1, 141, -1, 140, 141, -1, 4, -1, 5, -+ -1, 6, -1, 142, -1, 142, 74, 125, 75, -1, -+ 39, -1, 11, -1, 12, -1, 10, -1, 27, -1, -+ 28, -1, 29, -1, 21, -1, 22, -1, 23, -1, -+ 24, -1, 25, -1, 26, -1, 30, -1, 31, -1, -+ 32, -1, 41, -1, 42, -1, 43, -1, 44, -1, -+ 143, -1, 46, -1, -1, 38, 45, 76, 144, 146, -+ 77, -1, -1, 38, 76, 145, 146, 77, -1, 147, -+ -1, 146, 147, -1, 139, 148, 82, -1, 149, -1, -+ 148, 79, 149, -1, 45, -1, 45, 74, 125, 75, -+ -1, 122, -1, 126, -1, 154, -1, 153, -1, 151, -+ -1, 163, -1, 164, -1, 167, -1, 174, -1, 76, -+ 77, -1, -1, -1, 76, 155, 162, 156, 77, -1, -+ 161, -1, 153, -1, -1, 159, 161, -1, -1, 160, -+ 153, -1, 76, 77, -1, 76, 162, 77, -1, 152, -+ -1, 162, 152, -1, 82, -1, 124, 82, -1, 18, -+ 72, 124, 73, 165, -1, 158, 16, 158, -1, 158, -+ -1, 124, -1, 137, 45, 81, 150, -1, -1, 40, -+ 72, 168, 166, 73, 157, -1, -1, 15, 169, 158, -+ 40, 72, 124, 73, 82, -1, -1, 17, 72, 170, -+ 171, 173, 73, 157, -1, 163, -1, 151, -1, 166, -+ -1, -1, 172, 82, -1, 172, 82, 124, -1, 14, -+ 82, -1, 13, 82, -1, 20, 82, -1, 20, 124, -+ 82, -1, 19, 82, -1, 176, -1, 175, 176, -1, -+ 177, -1, 126, -1, -1, 127, 178, 161, -1 -+}; -+ -+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -+static const yytype_uint16 yyrline[] = -+{ -+ 0, 168, 168, 203, 206, 219, 224, 229, 235, 238, -+ 317, 320, 421, 431, 444, 452, 552, 555, 563, 567, -+ 574, 578, 585, 591, 600, 608, 663, 670, 680, 683, -+ 693, 703, 724, 725, 726, 731, 732, 741, 753, 754, -+ 762, 773, 777, 778, 788, 798, 808, 821, 822, 832, -+ 845, 849, 853, 857, 858, 871, 872, 885, 886, 899, -+ 900, 917, 918, 931, 932, 933, 934, 935, 939, 942, -+ 953, 961, 988, 993, 1000, 1038, 1041, 1048, 1056, 1077, -+ 1098, 1109, 1138, 1143, 1153, 1158, 1168, 1171, 1174, 1177, -+ 1183, 1190, 1193, 1215, 1233, 1257, 1280, 1284, 1302, 1310, -+ 1342, 1362, 1451, 1460, 1483, 1486, 1492, 1500, 1508, 1516, -+ 1526, 1533, 1536, 1539, 1545, 1548, 1563, 1567, 1571, 1575, -+ 1584, 1589, 1594, 1599, 1604, 1609, 1614, 1619, 1624, 1629, -+ 1635, 1641, 1647, 1652, 1657, 1666, 1675, 1680, 1693, 1693, -+ 1707, 1707, 1716, 1719, 1734, 1770, 1774, 1780, 1788, 1804, -+ 1808, 1812, 1813, 1819, 1820, 1821, 1822, 1823, 1827, 1828, -+ 1828, 1828, 1838, 1839, 1843, 1843, 1844, 1844, 1849, 1852, -+ 1862, 1865, 1871, 1872, 1876, 1884, 1888, 1898, 1903, 1920, -+ 1920, 1925, 1925, 1932, 1932, 1940, 1943, 1949, 1952, 1958, -+ 1962, 1969, 1976, 1983, 1990, 2001, 2010, 2014, 2021, 2024, -+ 2030, 2030 -+}; -+#endif -+ -+#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE -+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. -+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -+static const char *const yytname[] = -+{ -+ "$end", "error", "$undefined", "INVARIANT", "HIGH_PRECISION", -+ "MEDIUM_PRECISION", "LOW_PRECISION", "PRECISION", "ATTRIBUTE", -+ "CONST_QUAL", "BOOL_TYPE", "FLOAT_TYPE", "INT_TYPE", "BREAK", "CONTINUE", -+ "DO", "ELSE", "FOR", "IF", "DISCARD", "RETURN", "BVEC2", "BVEC3", -+ "BVEC4", "IVEC2", "IVEC3", "IVEC4", "VEC2", "VEC3", "VEC4", "MATRIX2", -+ "MATRIX3", "MATRIX4", "IN_QUAL", "OUT_QUAL", "INOUT_QUAL", "UNIFORM", -+ "VARYING", "STRUCT", "VOID_TYPE", "WHILE", "SAMPLER2D", "SAMPLERCUBE", -+ "SAMPLER_EXTERNAL_OES", "SAMPLER2DRECT", "IDENTIFIER", "TYPE_NAME", -+ "FLOATCONSTANT", "INTCONSTANT", "BOOLCONSTANT", "FIELD_SELECTION", -+ "LEFT_OP", "RIGHT_OP", "INC_OP", "DEC_OP", "LE_OP", "GE_OP", "EQ_OP", -+ "NE_OP", "AND_OP", "OR_OP", "XOR_OP", "MUL_ASSIGN", "DIV_ASSIGN", -+ "ADD_ASSIGN", "MOD_ASSIGN", "LEFT_ASSIGN", "RIGHT_ASSIGN", "AND_ASSIGN", -+ "XOR_ASSIGN", "OR_ASSIGN", "SUB_ASSIGN", "LEFT_PAREN", "RIGHT_PAREN", -+ "LEFT_BRACKET", "RIGHT_BRACKET", "LEFT_BRACE", "RIGHT_BRACE", "DOT", -+ "COMMA", "COLON", "EQUAL", "SEMICOLON", "BANG", "DASH", "TILDE", "PLUS", -+ "STAR", "SLASH", "PERCENT", "LEFT_ANGLE", "RIGHT_ANGLE", "VERTICAL_BAR", -+ "CARET", "AMPERSAND", "QUESTION", "$accept", "variable_identifier", -+ "primary_expression", "postfix_expression", "integer_expression", -+ "function_call", "function_call_or_method", "function_call_generic", -+ "function_call_header_no_parameters", -+ "function_call_header_with_parameters", "function_call_header", -+ "function_identifier", "unary_expression", "unary_operator", -+ "multiplicative_expression", "additive_expression", "shift_expression", -+ "relational_expression", "equality_expression", "and_expression", -+ "exclusive_or_expression", "inclusive_or_expression", -+ "logical_and_expression", "logical_xor_expression", -+ "logical_or_expression", "conditional_expression", -+ "assignment_expression", "assignment_operator", "expression", -+ "constant_expression", "declaration", "function_prototype", -+ "function_declarator", "function_header_with_parameters", -+ "function_header", "parameter_declarator", "parameter_declaration", -+ "parameter_qualifier", "parameter_type_specifier", -+ "init_declarator_list", "single_declaration", "fully_specified_type", -+ "type_qualifier", "type_specifier", "precision_qualifier", -+ "type_specifier_no_prec", "type_specifier_nonarray", "struct_specifier", -+ "@1", "@2", "struct_declaration_list", "struct_declaration", -+ "struct_declarator_list", "struct_declarator", "initializer", -+ "declaration_statement", "statement", "simple_statement", -+ "compound_statement", "@3", "@4", "statement_no_new_scope", -+ "statement_with_scope", "@5", "@6", "compound_statement_no_new_scope", -+ "statement_list", "expression_statement", "selection_statement", -+ "selection_rest_statement", "condition", "iteration_statement", "@7", -+ "@8", "@9", "for_init_statement", "conditionopt", "for_rest_statement", -+ "jump_statement", "translation_unit", "external_declaration", -+ "function_definition", "@10", 0 -+}; -+#endif -+ -+# ifdef YYPRINT -+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to -+ token YYLEX-NUM. */ -+static const yytype_uint16 yytoknum[] = -+{ -+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, -+ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, -+ 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, -+ 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, -+ 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, -+ 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, -+ 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, -+ 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, -+ 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, -+ 345, 346, 347, 348, 349, 350 -+}; -+# endif -+ -+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -+static const yytype_uint8 yyr1[] = -+{ -+ 0, 96, 97, 98, 98, 98, 98, 98, 99, 99, -+ 99, 99, 99, 99, 100, 101, 102, 102, 103, 103, -+ 104, 104, 105, 105, 106, 107, 107, 107, 108, 108, -+ 108, 108, 109, 109, 109, 110, 110, 110, 111, 111, -+ 111, 112, 113, 113, 113, 113, 113, 114, 114, 114, -+ 115, 116, 117, 118, 118, 119, 119, 120, 120, 121, -+ 121, 122, 122, 123, 123, 123, 123, 123, 124, 124, -+ 125, 126, 126, 126, 127, 128, 128, 129, 129, 130, -+ 131, 131, 132, 132, 132, 132, 133, 133, 133, 133, -+ 134, 135, 135, 135, 135, 135, 136, 136, 136, 136, -+ 136, 136, 137, 137, 138, 138, 138, 138, 138, 139, -+ 139, 140, 140, 140, 141, 141, 142, 142, 142, 142, -+ 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, -+ 142, 142, 142, 142, 142, 142, 142, 142, 144, 143, -+ 145, 143, 146, 146, 147, 148, 148, 149, 149, 150, -+ 151, 152, 152, 153, 153, 153, 153, 153, 154, 155, -+ 156, 154, 157, 157, 159, 158, 160, 158, 161, 161, -+ 162, 162, 163, 163, 164, 165, 165, 166, 166, 168, -+ 167, 169, 167, 170, 167, 171, 171, 172, 172, 173, -+ 173, 174, 174, 174, 174, 174, 175, 175, 176, 176, -+ 178, 177 -+}; -+ -+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -+static const yytype_uint8 yyr2[] = -+{ -+ 0, 2, 1, 1, 1, 1, 1, 3, 1, 4, -+ 1, 3, 2, 2, 1, 1, 1, 3, 2, 2, -+ 2, 1, 2, 3, 2, 1, 1, 1, 1, 2, -+ 2, 2, 1, 1, 1, 1, 3, 3, 1, 3, -+ 3, 1, 1, 3, 3, 3, 3, 1, 3, 3, -+ 1, 1, 1, 1, 3, 1, 3, 1, 3, 1, -+ 5, 1, 3, 1, 1, 1, 1, 1, 1, 3, -+ 1, 2, 2, 4, 2, 1, 1, 2, 3, 3, -+ 2, 5, 3, 2, 3, 2, 0, 1, 1, 1, -+ 1, 1, 3, 5, 6, 5, 1, 2, 4, 5, -+ 4, 2, 1, 2, 1, 1, 1, 2, 1, 1, -+ 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 0, 6, -+ 0, 5, 1, 2, 3, 1, 3, 1, 4, 1, -+ 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, -+ 0, 5, 1, 1, 0, 2, 0, 2, 2, 3, -+ 1, 2, 1, 2, 5, 3, 1, 1, 4, 0, -+ 6, 0, 8, 0, 7, 1, 1, 1, 0, 2, -+ 3, 2, 2, 2, 3, 2, 1, 2, 1, 1, -+ 0, 3 -+}; -+ -+/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state -+ STATE-NUM when YYTABLE doesn't specify something else to do. Zero -+ means the default is an error. */ -+static const yytype_uint8 yydefact[] = -+{ -+ 0, 0, 111, 112, 113, 0, 105, 104, 119, 117, -+ 118, 123, 124, 125, 126, 127, 128, 120, 121, 122, -+ 129, 130, 131, 108, 106, 0, 116, 132, 133, 134, -+ 135, 137, 199, 200, 0, 76, 86, 0, 91, 96, -+ 0, 102, 0, 109, 114, 136, 0, 196, 198, 107, -+ 101, 0, 0, 140, 71, 0, 74, 86, 0, 87, -+ 88, 89, 77, 0, 86, 0, 72, 97, 103, 110, -+ 0, 1, 197, 0, 138, 0, 0, 201, 78, 83, -+ 85, 90, 0, 92, 79, 0, 0, 2, 5, 4, -+ 6, 27, 0, 0, 0, 34, 33, 32, 3, 8, -+ 28, 10, 15, 16, 0, 0, 21, 0, 35, 0, -+ 38, 41, 42, 47, 50, 51, 52, 53, 55, 57, -+ 59, 70, 0, 25, 73, 0, 0, 0, 142, 0, -+ 0, 181, 0, 0, 0, 0, 0, 159, 168, 172, -+ 35, 61, 68, 0, 150, 0, 114, 153, 170, 152, -+ 151, 0, 154, 155, 156, 157, 80, 82, 84, 0, -+ 0, 98, 0, 149, 100, 29, 30, 0, 12, 13, -+ 0, 0, 19, 18, 0, 20, 22, 24, 31, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 115, 0, 147, 0, 145, 141, 143, -+ 192, 191, 166, 183, 0, 195, 193, 0, 179, 158, -+ 0, 64, 65, 66, 67, 63, 0, 0, 173, 169, -+ 171, 0, 93, 0, 95, 99, 7, 0, 14, 26, -+ 11, 17, 23, 36, 37, 40, 39, 45, 46, 43, -+ 44, 48, 49, 54, 56, 58, 0, 139, 0, 0, -+ 144, 0, 0, 0, 0, 0, 194, 0, 160, 62, -+ 69, 0, 94, 9, 0, 0, 146, 0, 165, 167, -+ 186, 185, 188, 166, 177, 0, 0, 0, 81, 60, -+ 148, 0, 187, 0, 0, 176, 174, 0, 0, 161, -+ 0, 189, 0, 166, 0, 163, 180, 162, 0, 190, -+ 184, 175, 178, 182 -+}; -+ -+/* YYDEFGOTO[NTERM-NUM]. */ -+static const yytype_int16 yydefgoto[] = -+{ -+ -1, 98, 99, 100, 227, 101, 102, 103, 104, 105, -+ 106, 107, 140, 109, 110, 111, 112, 113, 114, 115, -+ 116, 117, 118, 119, 120, 141, 142, 216, 143, 122, -+ 144, 145, 34, 35, 36, 79, 62, 63, 80, 37, -+ 38, 39, 40, 41, 42, 43, 123, 45, 125, 75, -+ 127, 128, 196, 197, 164, 147, 148, 149, 150, 210, -+ 277, 296, 251, 252, 253, 297, 151, 152, 153, 286, -+ 276, 154, 257, 202, 254, 272, 283, 284, 155, 46, -+ 47, 48, 55 -+}; -+ -+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing -+ STATE-NUM. */ -+#define YYPACT_NINF -266 -+static const yytype_int16 yypact[] = -+{ -+ 1253, -20, -266, -266, -266, 148, -266, -266, -266, -266, -+ -266, -266, -266, -266, -266, -266, -266, -266, -266, -266, -+ -266, -266, -266, -266, -266, -39, -266, -266, -266, -266, -+ -266, -266, -266, -18, -2, 6, 21, -61, -266, 51, -+ 1296, -266, 1370, -266, 25, -266, 1209, -266, -266, -266, -+ -266, 1370, 42, -266, -266, 50, -266, 71, 95, -266, -+ -266, -266, -266, 1296, 123, 105, -266, 9, -266, -266, -+ 974, -266, -266, 81, -266, 1296, 290, -266, -266, -266, -+ -266, 125, 1296, -13, -266, 776, 974, 99, -266, -266, -+ -266, -266, 974, 974, 974, -266, -266, -266, -266, -266, -+ 35, -266, -266, -266, 100, -6, 1040, 104, -266, 974, -+ 36, -64, -266, -21, 102, -266, -266, -266, 113, 117, -+ -51, -266, 108, -266, -266, 1296, 129, 1109, -266, 97, -+ 103, -266, 112, 114, 106, 842, 115, 116, -266, -266, -+ 39, -266, -266, -43, -266, -18, 47, -266, -266, -266, -+ -266, 374, -266, -266, -266, -266, 118, -266, -266, 908, -+ 974, -266, 120, -266, -266, -266, -266, 19, -266, -266, -+ 974, 1333, -266, -266, 974, 119, -266, -266, -266, 974, -+ 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, -+ 974, 974, 974, -266, 1152, 122, -29, -266, -266, -266, -+ -266, -266, 121, -266, 974, -266, -266, 5, -266, -266, -+ 458, -266, -266, -266, -266, -266, 974, 974, -266, -266, -+ -266, 974, -266, 137, -266, -266, -266, 138, 111, -266, -+ 142, -266, -266, -266, -266, 36, 36, -266, -266, -266, -+ -266, -21, -21, -266, 113, 117, 82, -266, 974, 129, -+ -266, 175, 50, 626, 710, 38, -266, 197, 458, -266, -+ -266, 141, -266, -266, 974, 155, -266, 145, -266, -266, -+ -266, -266, 197, 121, 111, 186, 159, 160, -266, -266, -+ -266, 974, -266, 166, 176, 236, -266, 174, 542, -266, -+ 43, 974, 542, 121, 974, -266, -266, -266, 177, 111, -+ -266, -266, -266, -266 -+}; -+ -+/* YYPGOTO[NTERM-NUM]. */ -+static const yytype_int16 yypgoto[] = -+{ -+ -266, -266, -266, -266, -266, -266, -266, 85, -266, -266, -+ -266, -266, -44, -266, -15, -266, -55, -19, -266, -266, -+ -266, 72, 70, 73, -266, -66, -83, -266, -92, -73, -+ 13, 14, -266, -266, -266, 180, 206, 201, 184, -266, -+ -266, -241, -25, -30, 262, -4, 0, -266, -266, -266, -+ 143, -122, -266, 22, -145, 16, -144, -226, -266, -266, -+ -266, -17, -265, -266, -266, -54, 63, 20, -266, -266, -+ 4, -266, -266, -266, -266, -266, -266, -266, -266, -266, -+ 231, -266, -266 -+}; -+ -+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If -+ positive, shift that token. If negative, reduce the rule which -+ number is the opposite. If zero, do what YYDEFACT says. -+ If YYTABLE_NINF, syntax error. */ -+#define YYTABLE_NINF -165 -+static const yytype_int16 yytable[] = -+{ -+ 44, 77, 167, 163, 121, 199, 52, 220, 285, 191, -+ 68, 64, 162, 32, 33, 224, 275, 49, 65, 121, -+ 181, 66, 182, 176, 58, 50, 108, 269, 301, 6, -+ 7, 275, 64, 81, 183, 184, 217, 53, 69, 218, -+ 44, 108, 44, 207, 192, 126, 44, 73, 165, 166, -+ 249, 44, 81, 250, 59, 60, 61, 23, 24, 32, -+ 33, 159, 295, 44, 54, 178, 295, 173, 160, 185, -+ 186, 56, 199, 174, 58, 44, 146, 163, 228, 6, -+ 7, 84, 44, 85, 217, 57, 223, 256, 168, 169, -+ 86, 232, 226, 121, -75, 126, 67, 126, 217, 70, -+ 246, 211, 212, 213, 59, 60, 61, 23, 24, 170, -+ 214, 273, 255, 171, 220, 108, 298, 217, 74, -25, -+ 215, 70, 217, 179, 180, 44, 76, 44, 237, 238, -+ 239, 240, 49, 259, 260, 233, 234, 108, 108, 108, -+ 108, 108, 108, 108, 108, 108, 108, 108, 261, 302, -+ 83, 146, 2, 3, 4, 121, 59, 60, 61, 187, -+ 188, 217, 264, 124, 126, 274, 235, 236, 241, 242, -+ 156, -26, 189, 172, 195, 265, 177, 108, 190, 200, -+ 274, 279, 121, 193, 203, 201, 204, 208, 205, 290, -+ 217, -116, 221, 209, 44, 225, 248, -164, 268, 299, -+ 58, 2, 3, 4, 108, 6, 7, 8, 9, 10, -+ 146, 163, 262, 263, -27, 267, 278, 281, 11, 12, -+ 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, -+ 280, 287, 288, 23, 24, 25, 26, 289, 27, 28, -+ 29, 30, 87, 31, 88, 89, 90, 91, 291, 292, -+ 92, 93, 293, 146, 146, 294, 231, 146, 146, 303, -+ 244, 243, 157, 78, 245, 82, 158, 51, 194, 94, -+ 270, 266, 146, 258, 271, 300, 282, 72, 0, 0, -+ 95, 96, 0, 97, 0, 0, 0, 0, 146, 0, -+ 0, 0, 146, 1, 2, 3, 4, 5, 6, 7, -+ 8, 9, 10, 129, 130, 131, 0, 132, 133, 134, -+ 135, 11, 12, 13, 14, 15, 16, 17, 18, 19, -+ 20, 21, 22, 0, 0, 0, 23, 24, 25, 26, -+ 136, 27, 28, 29, 30, 87, 31, 88, 89, 90, -+ 91, 0, 0, 92, 93, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 94, 0, 0, 0, 137, 138, 0, 0, -+ 0, 0, 139, 95, 96, 0, 97, 1, 2, 3, -+ 4, 5, 6, 7, 8, 9, 10, 129, 130, 131, -+ 0, 132, 133, 134, 135, 11, 12, 13, 14, 15, -+ 16, 17, 18, 19, 20, 21, 22, 0, 0, 0, -+ 23, 24, 25, 26, 136, 27, 28, 29, 30, 87, -+ 31, 88, 89, 90, 91, 0, 0, 92, 93, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 94, 0, 0, 0, -+ 137, 219, 0, 0, 0, 0, 139, 95, 96, 0, -+ 97, 1, 2, 3, 4, 5, 6, 7, 8, 9, -+ 10, 129, 130, 131, 0, 132, 133, 134, 135, 11, -+ 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, -+ 22, 0, 0, 0, 23, 24, 25, 26, 136, 27, -+ 28, 29, 30, 87, 31, 88, 89, 90, 91, 0, -+ 0, 92, 93, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 94, 0, 0, 0, 137, 0, 0, 0, 0, 0, -+ 139, 95, 96, 0, 97, 1, 2, 3, 4, 5, -+ 6, 7, 8, 9, 10, 129, 130, 131, 0, 132, -+ 133, 134, 135, 11, 12, 13, 14, 15, 16, 17, -+ 18, 19, 20, 21, 22, 0, 0, 0, 23, 24, -+ 25, 26, 136, 27, 28, 29, 30, 87, 31, 88, -+ 89, 90, 91, 0, 0, 92, 93, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 94, 0, 0, 0, 76, 0, -+ 0, 0, 0, 0, 139, 95, 96, 0, 97, 1, -+ 2, 3, 4, 5, 6, 7, 8, 9, 10, 129, -+ 130, 131, 0, 132, 133, 134, 135, 11, 12, 13, -+ 14, 15, 16, 17, 18, 19, 20, 21, 22, 0, -+ 0, 0, 23, 24, 25, 26, 136, 27, 28, 29, -+ 30, 87, 31, 88, 89, 90, 91, 0, 0, 92, -+ 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 139, 95, -+ 96, 0, 97, 1, 2, 3, 4, 5, 6, 7, -+ 8, 9, 10, 0, 0, 0, 0, 0, 0, 0, -+ 0, 11, 12, 13, 14, 15, 16, 17, 18, 19, -+ 20, 21, 22, 0, 0, 0, 23, 24, 25, 26, -+ 0, 27, 28, 29, 30, 87, 31, 88, 89, 90, -+ 91, 0, 0, 92, 93, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 94, 0, 0, 0, 8, 9, 10, 0, -+ 0, 0, 139, 95, 96, 0, 97, 11, 12, 13, -+ 14, 15, 16, 17, 18, 19, 20, 21, 22, 0, -+ 0, 0, 0, 0, 25, 26, 0, 27, 28, 29, -+ 30, 87, 31, 88, 89, 90, 91, 0, 0, 92, -+ 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, -+ 0, 161, 8, 9, 10, 0, 0, 0, 0, 95, -+ 96, 0, 97, 11, 12, 13, 14, 15, 16, 17, -+ 18, 19, 20, 21, 22, 0, 0, 0, 0, 0, -+ 25, 26, 0, 27, 28, 29, 30, 87, 31, 88, -+ 89, 90, 91, 0, 0, 92, 93, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 94, 0, 0, 0, 8, 9, -+ 10, 0, 0, 0, 206, 95, 96, 0, 97, 11, -+ 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, -+ 22, 0, 0, 0, 0, 0, 25, 26, 0, 27, -+ 28, 29, 30, 87, 31, 88, 89, 90, 91, 0, -+ 0, 92, 93, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 94, 0, 0, 222, 8, 9, 10, 0, 0, 0, -+ 0, 95, 96, 0, 97, 11, 12, 13, 14, 15, -+ 16, 17, 18, 19, 20, 21, 22, 0, 0, 0, -+ 0, 0, 25, 26, 0, 27, 28, 29, 30, 87, -+ 31, 88, 89, 90, 91, 0, 0, 92, 93, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 94, 0, 0, 0, -+ 8, 9, 10, 0, 0, 0, 0, 95, 96, 0, -+ 97, 11, 12, 13, 14, 15, 16, 17, 18, 19, -+ 20, 21, 22, 0, 0, 0, 0, 0, 25, 175, -+ 0, 27, 28, 29, 30, 87, 31, 88, 89, 90, -+ 91, 0, 0, 92, 93, 0, 0, 0, 0, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -+ 0, 0, 94, 2, 3, 4, 0, 0, 0, 8, -+ 9, 10, 0, 95, 96, 0, 97, 0, 0, 0, -+ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, -+ 21, 22, 0, 0, 0, 0, 0, 25, 26, 0, -+ 27, 28, 29, 30, 0, 31, 2, 3, 4, 0, -+ 0, 0, 8, 9, 10, 0, 0, 0, 0, 0, -+ 0, 0, 0, 11, 12, 13, 14, 15, 16, 17, -+ 18, 19, 20, 21, 22, 0, 198, 0, 0, 0, -+ 25, 26, 0, 27, 28, 29, 30, 0, 31, 0, -+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 71, -+ 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, -+ 9, 10, 0, 0, 0, 0, 0, 0, 0, 247, -+ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, -+ 21, 22, 0, 0, 0, 23, 24, 25, 26, 0, -+ 27, 28, 29, 30, 0, 31, 1, 2, 3, 4, -+ 5, 6, 7, 8, 9, 10, 0, 0, 0, 0, -+ 0, 0, 0, 0, 11, 12, 13, 14, 15, 16, -+ 17, 18, 19, 20, 21, 22, 0, 0, 0, 23, -+ 24, 25, 26, 0, 27, 28, 29, 30, 0, 31, -+ 2, 3, 4, 0, 0, 0, 8, 9, 10, 0, -+ 0, 0, 0, 0, 0, 0, 0, 11, 12, 13, -+ 14, 15, 16, 17, 18, 19, 20, 21, 22, 0, -+ 0, 0, 0, 0, 25, 26, 0, 27, 28, 29, -+ 30, 0, 31, 8, 9, 10, 0, 0, 0, 0, -+ 0, 0, 0, 0, 11, 12, 13, 14, 15, 16, -+ 17, 18, 19, 20, 21, 22, 0, 0, 0, 0, -+ 0, 25, 26, 0, 27, 28, 29, 30, 229, 31, -+ 8, 9, 10, 230, 0, 0, 0, 0, 0, 0, -+ 0, 11, 12, 13, 14, 15, 16, 17, 18, 19, -+ 20, 21, 22, 0, 0, 0, 0, 0, 25, 26, -+ 0, 27, 28, 29, 30, 0, 31 -+}; -+ -+static const yytype_int16 yycheck[] = -+{ -+ 0, 55, 94, 86, 70, 127, 45, 151, 273, 60, -+ 40, 36, 85, 0, 0, 160, 257, 37, 79, 85, -+ 84, 82, 86, 106, 3, 45, 70, 253, 293, 8, -+ 9, 272, 57, 63, 55, 56, 79, 76, 42, 82, -+ 40, 85, 42, 135, 95, 75, 46, 51, 92, 93, -+ 79, 51, 82, 82, 33, 34, 35, 36, 37, 46, -+ 46, 74, 288, 63, 82, 109, 292, 73, 81, 90, -+ 91, 73, 194, 79, 3, 75, 76, 160, 170, 8, -+ 9, 72, 82, 74, 79, 79, 159, 82, 53, 54, -+ 81, 174, 73, 159, 73, 125, 45, 127, 79, 74, -+ 192, 62, 63, 64, 33, 34, 35, 36, 37, 74, -+ 71, 73, 204, 78, 258, 159, 73, 79, 76, 72, -+ 81, 74, 79, 87, 88, 125, 76, 127, 183, 184, -+ 185, 186, 37, 216, 217, 179, 180, 181, 182, 183, -+ 184, 185, 186, 187, 188, 189, 190, 191, 221, 294, -+ 45, 151, 4, 5, 6, 221, 33, 34, 35, 57, -+ 58, 79, 80, 82, 194, 257, 181, 182, 187, 188, -+ 45, 72, 59, 73, 45, 248, 72, 221, 61, 82, -+ 272, 264, 248, 75, 72, 82, 72, 72, 82, 281, -+ 79, 72, 74, 77, 194, 75, 74, 76, 252, 291, -+ 3, 4, 5, 6, 248, 8, 9, 10, 11, 12, -+ 210, 294, 75, 75, 72, 40, 75, 72, 21, 22, -+ 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, -+ 75, 45, 73, 36, 37, 38, 39, 77, 41, 42, -+ 43, 44, 45, 46, 47, 48, 49, 50, 82, 73, -+ 53, 54, 16, 253, 254, 81, 171, 257, 258, 82, -+ 190, 189, 82, 57, 191, 64, 82, 5, 125, 72, -+ 254, 249, 272, 210, 254, 292, 272, 46, -1, -1, -+ 83, 84, -1, 86, -1, -1, -1, -1, 288, -1, -+ -1, -1, 292, 3, 4, 5, 6, 7, 8, 9, -+ 10, 11, 12, 13, 14, 15, -1, 17, 18, 19, -+ 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, -+ 30, 31, 32, -1, -1, -1, 36, 37, 38, 39, -+ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, -+ 50, -1, -1, 53, 54, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, 72, -1, -1, -1, 76, 77, -1, -1, -+ -1, -1, 82, 83, 84, -1, 86, 3, 4, 5, -+ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, -+ -1, 17, 18, 19, 20, 21, 22, 23, 24, 25, -+ 26, 27, 28, 29, 30, 31, 32, -1, -1, -1, -+ 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, -+ 46, 47, 48, 49, 50, -1, -1, 53, 54, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, 72, -1, -1, -1, -+ 76, 77, -1, -1, -1, -1, 82, 83, 84, -1, -+ 86, 3, 4, 5, 6, 7, 8, 9, 10, 11, -+ 12, 13, 14, 15, -1, 17, 18, 19, 20, 21, -+ 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, -+ 32, -1, -1, -1, 36, 37, 38, 39, 40, 41, -+ 42, 43, 44, 45, 46, 47, 48, 49, 50, -1, -+ -1, 53, 54, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ 72, -1, -1, -1, 76, -1, -1, -1, -1, -1, -+ 82, 83, 84, -1, 86, 3, 4, 5, 6, 7, -+ 8, 9, 10, 11, 12, 13, 14, 15, -1, 17, -+ 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, -+ 28, 29, 30, 31, 32, -1, -1, -1, 36, 37, -+ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, -+ 48, 49, 50, -1, -1, 53, 54, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, 72, -1, -1, -1, 76, -1, -+ -1, -1, -1, -1, 82, 83, 84, -1, 86, 3, -+ 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -+ 14, 15, -1, 17, 18, 19, 20, 21, 22, 23, -+ 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, -+ -1, -1, 36, 37, 38, 39, 40, 41, 42, 43, -+ 44, 45, 46, 47, 48, 49, 50, -1, -1, 53, -+ 54, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, 72, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, 82, 83, -+ 84, -1, 86, 3, 4, 5, 6, 7, 8, 9, -+ 10, 11, 12, -1, -1, -1, -1, -1, -1, -1, -+ -1, 21, 22, 23, 24, 25, 26, 27, 28, 29, -+ 30, 31, 32, -1, -1, -1, 36, 37, 38, 39, -+ -1, 41, 42, 43, 44, 45, 46, 47, 48, 49, -+ 50, -1, -1, 53, 54, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, 72, -1, -1, -1, 10, 11, 12, -1, -+ -1, -1, 82, 83, 84, -1, 86, 21, 22, 23, -+ 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, -+ -1, -1, -1, -1, 38, 39, -1, 41, 42, 43, -+ 44, 45, 46, 47, 48, 49, 50, -1, -1, 53, -+ 54, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, 72, -1, -+ -1, 75, 10, 11, 12, -1, -1, -1, -1, 83, -+ 84, -1, 86, 21, 22, 23, 24, 25, 26, 27, -+ 28, 29, 30, 31, 32, -1, -1, -1, -1, -1, -+ 38, 39, -1, 41, 42, 43, 44, 45, 46, 47, -+ 48, 49, 50, -1, -1, 53, 54, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, 72, -1, -1, -1, 10, 11, -+ 12, -1, -1, -1, 82, 83, 84, -1, 86, 21, -+ 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, -+ 32, -1, -1, -1, -1, -1, 38, 39, -1, 41, -+ 42, 43, 44, 45, 46, 47, 48, 49, 50, -1, -+ -1, 53, 54, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ 72, -1, -1, 75, 10, 11, 12, -1, -1, -1, -+ -1, 83, 84, -1, 86, 21, 22, 23, 24, 25, -+ 26, 27, 28, 29, 30, 31, 32, -1, -1, -1, -+ -1, -1, 38, 39, -1, 41, 42, 43, 44, 45, -+ 46, 47, 48, 49, 50, -1, -1, 53, 54, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, 72, -1, -1, -1, -+ 10, 11, 12, -1, -1, -1, -1, 83, 84, -1, -+ 86, 21, 22, 23, 24, 25, 26, 27, 28, 29, -+ 30, 31, 32, -1, -1, -1, -1, -1, 38, 39, -+ -1, 41, 42, 43, 44, 45, 46, 47, 48, 49, -+ 50, -1, -1, 53, 54, -1, -1, -1, -1, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -+ -1, -1, 72, 4, 5, 6, -1, -1, -1, 10, -+ 11, 12, -1, 83, 84, -1, 86, -1, -1, -1, -+ 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, -+ 31, 32, -1, -1, -1, -1, -1, 38, 39, -1, -+ 41, 42, 43, 44, -1, 46, 4, 5, 6, -1, -+ -1, -1, 10, 11, 12, -1, -1, -1, -1, -1, -+ -1, -1, -1, 21, 22, 23, 24, 25, 26, 27, -+ 28, 29, 30, 31, 32, -1, 77, -1, -1, -1, -+ 38, 39, -1, 41, 42, 43, 44, -1, 46, -1, -+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -+ -1, -1, 3, 4, 5, 6, 7, 8, 9, 10, -+ 11, 12, -1, -1, -1, -1, -1, -1, -1, 77, -+ 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, -+ 31, 32, -1, -1, -1, 36, 37, 38, 39, -1, -+ 41, 42, 43, 44, -1, 46, 3, 4, 5, 6, -+ 7, 8, 9, 10, 11, 12, -1, -1, -1, -1, -+ -1, -1, -1, -1, 21, 22, 23, 24, 25, 26, -+ 27, 28, 29, 30, 31, 32, -1, -1, -1, 36, -+ 37, 38, 39, -1, 41, 42, 43, 44, -1, 46, -+ 4, 5, 6, -1, -1, -1, 10, 11, 12, -1, -+ -1, -1, -1, -1, -1, -1, -1, 21, 22, 23, -+ 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, -+ -1, -1, -1, -1, 38, 39, -1, 41, 42, 43, -+ 44, -1, 46, 10, 11, 12, -1, -1, -1, -1, -+ -1, -1, -1, -1, 21, 22, 23, 24, 25, 26, -+ 27, 28, 29, 30, 31, 32, -1, -1, -1, -1, -+ -1, 38, 39, -1, 41, 42, 43, 44, 45, 46, -+ 10, 11, 12, 50, -1, -1, -1, -1, -1, -1, -+ -1, 21, 22, 23, 24, 25, 26, 27, 28, 29, -+ 30, 31, 32, -1, -1, -1, -1, -1, 38, 39, -+ -1, 41, 42, 43, 44, -1, 46 -+}; -+ -+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing -+ symbol of state STATE-NUM. */ -+static const yytype_uint8 yystos[] = -+{ -+ 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, -+ 12, 21, 22, 23, 24, 25, 26, 27, 28, 29, -+ 30, 31, 32, 36, 37, 38, 39, 41, 42, 43, -+ 44, 46, 126, 127, 128, 129, 130, 135, 136, 137, -+ 138, 139, 140, 141, 142, 143, 175, 176, 177, 37, -+ 45, 140, 45, 76, 82, 178, 73, 79, 3, 33, -+ 34, 35, 132, 133, 138, 79, 82, 45, 139, 141, -+ 74, 0, 176, 141, 76, 145, 76, 161, 132, 131, -+ 134, 139, 133, 45, 72, 74, 81, 45, 47, 48, -+ 49, 50, 53, 54, 72, 83, 84, 86, 97, 98, -+ 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, -+ 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, -+ 120, 121, 125, 142, 82, 144, 139, 146, 147, 13, -+ 14, 15, 17, 18, 19, 20, 40, 76, 77, 82, -+ 108, 121, 122, 124, 126, 127, 142, 151, 152, 153, -+ 154, 162, 163, 164, 167, 174, 45, 131, 134, 74, -+ 81, 75, 125, 122, 150, 108, 108, 124, 53, 54, -+ 74, 78, 73, 73, 79, 39, 122, 72, 108, 87, -+ 88, 84, 86, 55, 56, 90, 91, 57, 58, 59, -+ 61, 60, 95, 75, 146, 45, 148, 149, 77, 147, -+ 82, 82, 169, 72, 72, 82, 82, 124, 72, 77, -+ 155, 62, 63, 64, 71, 81, 123, 79, 82, 77, -+ 152, 74, 75, 125, 150, 75, 73, 100, 124, 45, -+ 50, 103, 122, 108, 108, 110, 110, 112, 112, 112, -+ 112, 113, 113, 117, 118, 119, 124, 77, 74, 79, -+ 82, 158, 159, 160, 170, 124, 82, 168, 162, 122, -+ 122, 125, 75, 75, 80, 125, 149, 40, 161, 153, -+ 151, 163, 171, 73, 124, 137, 166, 156, 75, 122, -+ 75, 72, 166, 172, 173, 158, 165, 45, 73, 77, -+ 124, 82, 73, 16, 81, 153, 157, 161, 73, 124, -+ 157, 158, 150, 82 -+}; -+ -+#define yyerrok (yyerrstatus = 0) -+#define yyclearin (yychar = YYEMPTY) -+#define YYEMPTY (-2) -+#define YYEOF 0 -+ -+#define YYACCEPT goto yyacceptlab -+#define YYABORT goto yyabortlab -+#define YYERROR goto yyerrorlab -+ -+ -+/* Like YYERROR except do call yyerror. This remains here temporarily -+ to ease the transition to the new meaning of YYERROR, for GCC. -+ Once GCC version 2 has supplanted version 1, this can go. */ -+ -+#define YYFAIL goto yyerrlab -+ -+#define YYRECOVERING() (!!yyerrstatus) -+ -+#define YYBACKUP(Token, Value) \ -+do \ -+ if (yychar == YYEMPTY && yylen == 1) \ -+ { \ -+ yychar = (Token); \ -+ yylval = (Value); \ -+ yytoken = YYTRANSLATE (yychar); \ -+ YYPOPSTACK (1); \ -+ goto yybackup; \ -+ } \ -+ else \ -+ { \ -+ yyerror (context, YY_("syntax error: cannot back up")); \ -+ YYERROR; \ -+ } \ -+while (YYID (0)) -+ -+ -+#define YYTERROR 1 -+#define YYERRCODE 256 -+ -+ -+/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. -+ If N is 0, then set CURRENT to the empty location which ends -+ the previous symbol: RHS[0] (always defined). */ -+ -+#define YYRHSLOC(Rhs, K) ((Rhs)[K]) -+#ifndef YYLLOC_DEFAULT -+# define YYLLOC_DEFAULT(Current, Rhs, N) \ -+ do \ -+ if (YYID (N)) \ -+ { \ -+ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ -+ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ -+ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ -+ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ -+ } \ -+ else \ -+ { \ -+ (Current).first_line = (Current).last_line = \ -+ YYRHSLOC (Rhs, 0).last_line; \ -+ (Current).first_column = (Current).last_column = \ -+ YYRHSLOC (Rhs, 0).last_column; \ -+ } \ -+ while (YYID (0)) -+#endif -+ -+ -+/* YY_LOCATION_PRINT -- Print the location on the stream. -+ This macro was not mandated originally: define only if we know -+ we won't break user code: when these are the locations we know. */ -+ -+#ifndef YY_LOCATION_PRINT -+# if YYLTYPE_IS_TRIVIAL -+# define YY_LOCATION_PRINT(File, Loc) \ -+ fprintf (File, "%d.%d-%d.%d", \ -+ (Loc).first_line, (Loc).first_column, \ -+ (Loc).last_line, (Loc).last_column) -+# else -+# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -+# endif -+#endif -+ -+ -+/* YYLEX -- calling `yylex' with the right arguments. */ -+ -+#ifdef YYLEX_PARAM -+# define YYLEX yylex (&yylval, YYLEX_PARAM) -+#else -+# define YYLEX yylex (&yylval) -+#endif -+ -+/* Enable debugging if requested. */ -+#if YYDEBUG -+ -+# ifndef YYFPRINTF -+# include <stdio.h> /* INFRINGES ON USER NAME SPACE */ -+# define YYFPRINTF fprintf -+# endif -+ -+# define YYDPRINTF(Args) \ -+do { \ -+ if (yydebug) \ -+ YYFPRINTF Args; \ -+} while (YYID (0)) -+ -+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -+do { \ -+ if (yydebug) \ -+ { \ -+ YYFPRINTF (stderr, "%s ", Title); \ -+ yy_symbol_print (stderr, \ -+ Type, Value, context); \ -+ YYFPRINTF (stderr, "\n"); \ -+ } \ -+} while (YYID (0)) -+ -+ -+/*--------------------------------. -+| Print this symbol on YYOUTPUT. | -+`--------------------------------*/ -+ -+/*ARGSUSED*/ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, TParseContext* context) -+#else -+static void -+yy_symbol_value_print (yyoutput, yytype, yyvaluep, context) -+ FILE *yyoutput; -+ int yytype; -+ YYSTYPE const * const yyvaluep; -+ TParseContext* context; -+#endif -+{ -+ if (!yyvaluep) -+ return; -+ YYUSE (context); -+# ifdef YYPRINT -+ if (yytype < YYNTOKENS) -+ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -+# else -+ YYUSE (yyoutput); -+# endif -+ switch (yytype) -+ { -+ default: -+ break; -+ } -+} -+ -+ -+/*--------------------------------. -+| Print this symbol on YYOUTPUT. | -+`--------------------------------*/ -+ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, TParseContext* context) -+#else -+static void -+yy_symbol_print (yyoutput, yytype, yyvaluep, context) -+ FILE *yyoutput; -+ int yytype; -+ YYSTYPE const * const yyvaluep; -+ TParseContext* context; -+#endif -+{ -+ if (yytype < YYNTOKENS) -+ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); -+ else -+ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); -+ -+ yy_symbol_value_print (yyoutput, yytype, yyvaluep, context); -+ YYFPRINTF (yyoutput, ")"); -+} -+ -+/*------------------------------------------------------------------. -+| yy_stack_print -- Print the state stack from its BOTTOM up to its | -+| TOP (included). | -+`------------------------------------------------------------------*/ -+ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_stack_print (yytype_int16 *bottom, yytype_int16 *top) -+#else -+static void -+yy_stack_print (bottom, top) -+ yytype_int16 *bottom; -+ yytype_int16 *top; -+#endif -+{ -+ YYFPRINTF (stderr, "Stack now"); -+ for (; bottom <= top; ++bottom) -+ YYFPRINTF (stderr, " %d", *bottom); -+ YYFPRINTF (stderr, "\n"); -+} -+ -+# define YY_STACK_PRINT(Bottom, Top) \ -+do { \ -+ if (yydebug) \ -+ yy_stack_print ((Bottom), (Top)); \ -+} while (YYID (0)) -+ -+ -+/*------------------------------------------------. -+| Report that the YYRULE is going to be reduced. | -+`------------------------------------------------*/ -+ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_reduce_print (YYSTYPE *yyvsp, int yyrule, TParseContext* context) -+#else -+static void -+yy_reduce_print (yyvsp, yyrule, context) -+ YYSTYPE *yyvsp; -+ int yyrule; -+ TParseContext* context; -+#endif -+{ -+ int yynrhs = yyr2[yyrule]; -+ int yyi; -+ unsigned long int yylno = yyrline[yyrule]; -+ YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", -+ yyrule - 1, yylno); -+ /* The symbols being reduced. */ -+ for (yyi = 0; yyi < yynrhs; yyi++) -+ { -+ fprintf (stderr, " $%d = ", yyi + 1); -+ yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], -+ &(yyvsp[(yyi + 1) - (yynrhs)]) -+ , context); -+ fprintf (stderr, "\n"); -+ } -+} -+ -+# define YY_REDUCE_PRINT(Rule) \ -+do { \ -+ if (yydebug) \ -+ yy_reduce_print (yyvsp, Rule, context); \ -+} while (YYID (0)) -+ -+/* Nonzero means print parse trace. It is left uninitialized so that -+ multiple parsers can coexist. */ -+int yydebug; -+#else /* !YYDEBUG */ -+# define YYDPRINTF(Args) -+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) -+# define YY_STACK_PRINT(Bottom, Top) -+# define YY_REDUCE_PRINT(Rule) -+#endif /* !YYDEBUG */ -+ -+ -+/* YYINITDEPTH -- initial size of the parser's stacks. */ -+#ifndef YYINITDEPTH -+# define YYINITDEPTH 200 -+#endif -+ -+/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only -+ if the built-in stack extension method is used). -+ -+ Do not make this value too large; the results are undefined if -+ YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) -+ evaluated with infinite-precision integer arithmetic. */ -+ -+#ifndef YYMAXDEPTH -+# define YYMAXDEPTH 10000 -+#endif -+ -+ -+ -+#if YYERROR_VERBOSE -+ -+# ifndef yystrlen -+# if defined __GLIBC__ && defined _STRING_H -+# define yystrlen strlen -+# else -+/* Return the length of YYSTR. */ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static YYSIZE_T -+yystrlen (const char *yystr) -+#else -+static YYSIZE_T -+yystrlen (yystr) -+ const char *yystr; -+#endif -+{ -+ YYSIZE_T yylen; -+ for (yylen = 0; yystr[yylen]; yylen++) -+ continue; -+ return yylen; -+} -+# endif -+# endif -+ -+# ifndef yystpcpy -+# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE -+# define yystpcpy stpcpy -+# else -+/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in -+ YYDEST. */ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static char * -+yystpcpy (char *yydest, const char *yysrc) -+#else -+static char * -+yystpcpy (yydest, yysrc) -+ char *yydest; -+ const char *yysrc; -+#endif -+{ -+ char *yyd = yydest; -+ const char *yys = yysrc; -+ -+ while ((*yyd++ = *yys++) != '\0') -+ continue; -+ -+ return yyd - 1; -+} -+# endif -+# endif -+ -+# ifndef yytnamerr -+/* Copy to YYRES the contents of YYSTR after stripping away unnecessary -+ quotes and backslashes, so that it's suitable for yyerror. The -+ heuristic is that double-quoting is unnecessary unless the string -+ contains an apostrophe, a comma, or backslash (other than -+ backslash-backslash). YYSTR is taken from yytname. If YYRES is -+ null, do not copy; instead, return the length of what the result -+ would have been. */ -+static YYSIZE_T -+yytnamerr (char *yyres, const char *yystr) -+{ -+ if (*yystr == '"') -+ { -+ YYSIZE_T yyn = 0; -+ char const *yyp = yystr; -+ -+ for (;;) -+ switch (*++yyp) -+ { -+ case '\'': -+ case ',': -+ goto do_not_strip_quotes; -+ -+ case '\\': -+ if (*++yyp != '\\') -+ goto do_not_strip_quotes; -+ /* Fall through. */ -+ default: -+ if (yyres) -+ yyres[yyn] = *yyp; -+ yyn++; -+ break; -+ -+ case '"': -+ if (yyres) -+ yyres[yyn] = '\0'; -+ return yyn; -+ } -+ do_not_strip_quotes: ; -+ } -+ -+ if (! yyres) -+ return yystrlen (yystr); -+ -+ return yystpcpy (yyres, yystr) - yyres; -+} -+# endif -+ -+/* Copy into YYRESULT an error message about the unexpected token -+ YYCHAR while in state YYSTATE. Return the number of bytes copied, -+ including the terminating null byte. If YYRESULT is null, do not -+ copy anything; just return the number of bytes that would be -+ copied. As a special case, return 0 if an ordinary "syntax error" -+ message will do. Return YYSIZE_MAXIMUM if overflow occurs during -+ size calculation. */ -+static YYSIZE_T -+yysyntax_error (char *yyresult, int yystate, int yychar) -+{ -+ int yyn = yypact[yystate]; -+ -+ if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) -+ return 0; -+ else -+ { -+ int yytype = YYTRANSLATE (yychar); -+ YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); -+ YYSIZE_T yysize = yysize0; -+ YYSIZE_T yysize1; -+ int yysize_overflow = 0; -+ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; -+ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; -+ int yyx; -+ -+# if 0 -+ /* This is so xgettext sees the translatable formats that are -+ constructed on the fly. */ -+ YY_("syntax error, unexpected %s"); -+ YY_("syntax error, unexpected %s, expecting %s"); -+ YY_("syntax error, unexpected %s, expecting %s or %s"); -+ YY_("syntax error, unexpected %s, expecting %s or %s or %s"); -+ YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); -+# endif -+ char *yyfmt; -+ char const *yyf; -+ static char const yyunexpected[] = "syntax error, unexpected %s"; -+ static char const yyexpecting[] = ", expecting %s"; -+ static char const yyor[] = " or %s"; -+ char yyformat[sizeof yyunexpected -+ + sizeof yyexpecting - 1 -+ + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) -+ * (sizeof yyor - 1))]; -+ char const *yyprefix = yyexpecting; -+ -+ /* Start YYX at -YYN if negative to avoid negative indexes in -+ YYCHECK. */ -+ int yyxbegin = yyn < 0 ? -yyn : 0; -+ -+ /* Stay within bounds of both yycheck and yytname. */ -+ int yychecklim = YYLAST - yyn + 1; -+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; -+ int yycount = 1; -+ -+ yyarg[0] = yytname[yytype]; -+ yyfmt = yystpcpy (yyformat, yyunexpected); -+ -+ for (yyx = yyxbegin; yyx < yyxend; ++yyx) -+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) -+ { -+ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) -+ { -+ yycount = 1; -+ yysize = yysize0; -+ yyformat[sizeof yyunexpected - 1] = '\0'; -+ break; -+ } -+ yyarg[yycount++] = yytname[yyx]; -+ yysize1 = yysize + yytnamerr (0, yytname[yyx]); -+ yysize_overflow |= (yysize1 < yysize); -+ yysize = yysize1; -+ yyfmt = yystpcpy (yyfmt, yyprefix); -+ yyprefix = yyor; -+ } -+ -+ yyf = YY_(yyformat); -+ yysize1 = yysize + yystrlen (yyf); -+ yysize_overflow |= (yysize1 < yysize); -+ yysize = yysize1; -+ -+ if (yysize_overflow) -+ return YYSIZE_MAXIMUM; -+ -+ if (yyresult) -+ { -+ /* Avoid sprintf, as that infringes on the user's name space. -+ Don't have undefined behavior even if the translation -+ produced a string with the wrong number of "%s"s. */ -+ char *yyp = yyresult; -+ int yyi = 0; -+ while ((*yyp = *yyf) != '\0') -+ { -+ if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) -+ { -+ yyp += yytnamerr (yyp, yyarg[yyi++]); -+ yyf += 2; -+ } -+ else -+ { -+ yyp++; -+ yyf++; -+ } -+ } -+ } -+ return yysize; -+ } -+} -+#endif /* YYERROR_VERBOSE */ -+ -+ -+/*-----------------------------------------------. -+| Release the memory associated to this symbol. | -+`-----------------------------------------------*/ -+ -+/*ARGSUSED*/ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, TParseContext* context) -+#else -+static void -+yydestruct (yymsg, yytype, yyvaluep, context) -+ const char *yymsg; -+ int yytype; -+ YYSTYPE *yyvaluep; -+ TParseContext* context; -+#endif -+{ -+ YYUSE (yyvaluep); -+ YYUSE (context); -+ -+ if (!yymsg) -+ yymsg = "Deleting"; -+ YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); -+ -+ switch (yytype) -+ { -+ -+ default: -+ break; -+ } -+} -+ -+ -+/* Prevent warnings from -Wmissing-prototypes. */ -+ -+#ifdef YYPARSE_PARAM -+#if defined __STDC__ || defined __cplusplus -+int yyparse (void *YYPARSE_PARAM); -+#else -+int yyparse (); -+#endif -+#else /* ! YYPARSE_PARAM */ -+#if defined __STDC__ || defined __cplusplus -+int yyparse (TParseContext* context); -+#else -+int yyparse (); -+#endif -+#endif /* ! YYPARSE_PARAM */ -+ -+ -+ -+ -+ -+ -+/*----------. -+| yyparse. | -+`----------*/ -+ -+#ifdef YYPARSE_PARAM -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+int -+yyparse (void *YYPARSE_PARAM) -+#else -+int -+yyparse (YYPARSE_PARAM) -+ void *YYPARSE_PARAM; -+#endif -+#else /* ! YYPARSE_PARAM */ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+int -+yyparse (TParseContext* context) -+#else -+int -+yyparse (context) -+ TParseContext* context; -+#endif -+#endif -+{ -+ /* The look-ahead symbol. */ -+int yychar; -+ -+/* The semantic value of the look-ahead symbol. */ -+YYSTYPE yylval; -+ -+/* Number of syntax errors so far. */ -+int yynerrs; -+ -+ int yystate; -+ int yyn; -+ int yyresult; -+ /* Number of tokens to shift before error messages enabled. */ -+ int yyerrstatus; -+ /* Look-ahead token as an internal (translated) token number. */ -+ int yytoken = 0; -+#if YYERROR_VERBOSE -+ /* Buffer for error messages, and its allocated size. */ -+ char yymsgbuf[128]; -+ char *yymsg = yymsgbuf; -+ YYSIZE_T yymsg_alloc = sizeof yymsgbuf; -+#endif -+ -+ /* Three stacks and their tools: -+ `yyss': related to states, -+ `yyvs': related to semantic values, -+ `yyls': related to locations. -+ -+ Refer to the stacks thru separate pointers, to allow yyoverflow -+ to reallocate them elsewhere. */ -+ -+ /* The state stack. */ -+ yytype_int16 yyssa[YYINITDEPTH]; -+ yytype_int16 *yyss = yyssa; -+ yytype_int16 *yyssp; -+ -+ /* The semantic value stack. */ -+ YYSTYPE yyvsa[YYINITDEPTH]; -+ YYSTYPE *yyvs = yyvsa; -+ YYSTYPE *yyvsp; -+ -+ -+ -+#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) -+ -+ YYSIZE_T yystacksize = YYINITDEPTH; -+ -+ /* The variables used to return semantic value and location from the -+ action routines. */ -+ YYSTYPE yyval; -+ -+ -+ /* The number of symbols on the RHS of the reduced rule. -+ Keep to zero when no symbol should be popped. */ -+ int yylen = 0; -+ -+ YYDPRINTF ((stderr, "Starting parse\n")); -+ -+ yystate = 0; -+ yyerrstatus = 0; -+ yynerrs = 0; -+ yychar = YYEMPTY; /* Cause a token to be read. */ -+ -+ /* Initialize stack pointers. -+ Waste one element of value and location stack -+ so that they stay on the same level as the state stack. -+ The wasted elements are never initialized. */ -+ -+ yyssp = yyss; -+ yyvsp = yyvs; -+ -+ goto yysetstate; -+ -+/*------------------------------------------------------------. -+| yynewstate -- Push a new state, which is found in yystate. | -+`------------------------------------------------------------*/ -+ yynewstate: -+ /* In all cases, when you get here, the value and location stacks -+ have just been pushed. So pushing a state here evens the stacks. */ -+ yyssp++; -+ -+ yysetstate: -+ *yyssp = yystate; -+ -+ if (yyss + yystacksize - 1 <= yyssp) -+ { -+ /* Get the current used size of the three stacks, in elements. */ -+ YYSIZE_T yysize = yyssp - yyss + 1; -+ -+#ifdef yyoverflow -+ { -+ /* Give user a chance to reallocate the stack. Use copies of -+ these so that the &'s don't force the real ones into -+ memory. */ -+ YYSTYPE *yyvs1 = yyvs; -+ yytype_int16 *yyss1 = yyss; -+ -+ -+ /* Each stack pointer address is followed by the size of the -+ data in use in that stack, in bytes. This used to be a -+ conditional around just the two extra args, but that might -+ be undefined if yyoverflow is a macro. */ -+ yyoverflow (YY_("memory exhausted"), -+ &yyss1, yysize * sizeof (*yyssp), -+ &yyvs1, yysize * sizeof (*yyvsp), -+ -+ &yystacksize); -+ -+ yyss = yyss1; -+ yyvs = yyvs1; -+ } -+#else /* no yyoverflow */ -+# ifndef YYSTACK_RELOCATE -+ goto yyexhaustedlab; -+# else -+ /* Extend the stack our own way. */ -+ if (YYMAXDEPTH <= yystacksize) -+ goto yyexhaustedlab; -+ yystacksize *= 2; -+ if (YYMAXDEPTH < yystacksize) -+ yystacksize = YYMAXDEPTH; -+ -+ { -+ yytype_int16 *yyss1 = yyss; -+ union yyalloc *yyptr = -+ (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); -+ if (! yyptr) -+ goto yyexhaustedlab; -+ YYSTACK_RELOCATE (yyss); -+ YYSTACK_RELOCATE (yyvs); -+ -+# undef YYSTACK_RELOCATE -+ if (yyss1 != yyssa) -+ YYSTACK_FREE (yyss1); -+ } -+# endif -+#endif /* no yyoverflow */ -+ -+ yyssp = yyss + yysize - 1; -+ yyvsp = yyvs + yysize - 1; -+ -+ -+ YYDPRINTF ((stderr, "Stack size increased to %lu\n", -+ (unsigned long int) yystacksize)); -+ -+ if (yyss + yystacksize - 1 <= yyssp) -+ YYABORT; -+ } -+ -+ YYDPRINTF ((stderr, "Entering state %d\n", yystate)); -+ -+ goto yybackup; -+ -+/*-----------. -+| yybackup. | -+`-----------*/ -+yybackup: -+ -+ /* Do appropriate processing given the current state. Read a -+ look-ahead token if we need one and don't already have one. */ -+ -+ /* First try to decide what to do without reference to look-ahead token. */ -+ yyn = yypact[yystate]; -+ if (yyn == YYPACT_NINF) -+ goto yydefault; -+ -+ /* Not known => get a look-ahead token if don't already have one. */ -+ -+ /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */ -+ if (yychar == YYEMPTY) -+ { -+ YYDPRINTF ((stderr, "Reading a token: ")); -+ yychar = YYLEX; -+ } -+ -+ if (yychar <= YYEOF) -+ { -+ yychar = yytoken = YYEOF; -+ YYDPRINTF ((stderr, "Now at end of input.\n")); -+ } -+ else -+ { -+ yytoken = YYTRANSLATE (yychar); -+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); -+ } -+ -+ /* If the proper action on seeing token YYTOKEN is to reduce or to -+ detect an error, take that action. */ -+ yyn += yytoken; -+ if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) -+ goto yydefault; -+ yyn = yytable[yyn]; -+ if (yyn <= 0) -+ { -+ if (yyn == 0 || yyn == YYTABLE_NINF) -+ goto yyerrlab; -+ yyn = -yyn; -+ goto yyreduce; -+ } -+ -+ if (yyn == YYFINAL) -+ YYACCEPT; -+ -+ /* Count tokens shifted since error; after three, turn off error -+ status. */ -+ if (yyerrstatus) -+ yyerrstatus--; -+ -+ /* Shift the look-ahead token. */ -+ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); -+ -+ /* Discard the shifted token unless it is eof. */ -+ if (yychar != YYEOF) -+ yychar = YYEMPTY; -+ -+ yystate = yyn; -+ *++yyvsp = yylval; -+ -+ goto yynewstate; -+ -+ -+/*-----------------------------------------------------------. -+| yydefault -- do the default action for the current state. | -+`-----------------------------------------------------------*/ -+yydefault: -+ yyn = yydefact[yystate]; -+ if (yyn == 0) -+ goto yyerrlab; -+ goto yyreduce; -+ -+ -+/*-----------------------------. -+| yyreduce -- Do a reduction. | -+`-----------------------------*/ -+yyreduce: -+ /* yyn is the number of a rule to reduce with. */ -+ yylen = yyr2[yyn]; -+ -+ /* If YYLEN is nonzero, implement the default value of the action: -+ `$$ = $1'. -+ -+ Otherwise, the following line sets YYVAL to garbage. -+ This behavior is undocumented and Bison -+ users should not rely upon it. Assigning to YYVAL -+ unconditionally makes the parser a bit smaller, and it avoids a -+ GCC warning that YYVAL may be used uninitialized. */ -+ yyval = yyvsp[1-yylen]; -+ -+ -+ YY_REDUCE_PRINT (yyn); -+ switch (yyn) -+ { -+ case 2: -+ -+ { -+ // The symbol table search was done in the lexical phase -+ const TSymbol* symbol = (yyvsp[(1) - (1)].lex).symbol; -+ const TVariable* variable; -+ if (symbol == 0) { -+ context->error((yyvsp[(1) - (1)].lex).line, "undeclared identifier", (yyvsp[(1) - (1)].lex).string->c_str()); -+ context->recover(); -+ TType type(EbtFloat, EbpUndefined); -+ TVariable* fakeVariable = new TVariable((yyvsp[(1) - (1)].lex).string, type); -+ context->symbolTable.insert(*fakeVariable); -+ variable = fakeVariable; -+ } else { -+ // This identifier can only be a variable type symbol -+ if (! symbol->isVariable()) { -+ context->error((yyvsp[(1) - (1)].lex).line, "variable expected", (yyvsp[(1) - (1)].lex).string->c_str()); -+ context->recover(); -+ } -+ variable = static_cast<const TVariable*>(symbol); -+ } -+ -+ // don't delete $1.string, it's used by error recovery, and the pool -+ // pop will reclaim the memory -+ -+ if (variable->getType().getQualifier() == EvqConst ) { -+ ConstantUnion* constArray = variable->getConstPointer(); -+ TType t(variable->getType()); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yyvsp[(1) - (1)].lex).line); -+ } else -+ (yyval.interm.intermTypedNode) = context->intermediate.addSymbol(variable->getUniqueId(), -+ variable->getName(), -+ variable->getType(), (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 3: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 4: -+ -+ { -+ // -+ // INT_TYPE is only 16-bit plus sign bit for vertex/fragment shaders, -+ // check for overflow for constants -+ // -+ if (abs((yyvsp[(1) - (1)].lex).i) >= (1 << 16)) { -+ context->error((yyvsp[(1) - (1)].lex).line, " integer constant overflow", ""); -+ context->recover(); -+ } -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setIConst((yyvsp[(1) - (1)].lex).i); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 5: -+ -+ { -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setFConst((yyvsp[(1) - (1)].lex).f); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConst), (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 6: -+ -+ { -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst((yyvsp[(1) - (1)].lex).b); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 7: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(2) - (3)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 8: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 9: -+ -+ { -+ if (!(yyvsp[(1) - (4)].interm.intermTypedNode)->isArray() && !(yyvsp[(1) - (4)].interm.intermTypedNode)->isMatrix() && !(yyvsp[(1) - (4)].interm.intermTypedNode)->isVector()) { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->getAsSymbolNode()) -+ context->error((yyvsp[(2) - (4)].lex).line, " left of '[' is not of type array, matrix, or vector ", (yyvsp[(1) - (4)].interm.intermTypedNode)->getAsSymbolNode()->getSymbol().c_str()); -+ else -+ context->error((yyvsp[(2) - (4)].lex).line, " left of '[' is not of type array, matrix, or vector ", "expression"); -+ context->recover(); -+ } -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getQualifier() == EvqConst && (yyvsp[(3) - (4)].interm.intermTypedNode)->getQualifier() == EvqConst) { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isArray()) { // constant folding for arrays -+ (yyval.interm.intermTypedNode) = context->addConstArrayNode((yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst(), (yyvsp[(1) - (4)].interm.intermTypedNode), (yyvsp[(2) - (4)].lex).line); -+ } else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isVector()) { // constant folding for vectors -+ TVectorFields fields; -+ fields.num = 1; -+ fields.offsets[0] = (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst(); // need to do it this way because v.xy sends fields integer array -+ (yyval.interm.intermTypedNode) = context->addConstVectorNode(fields, (yyvsp[(1) - (4)].interm.intermTypedNode), (yyvsp[(2) - (4)].lex).line); -+ } else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isMatrix()) { // constant folding for matrices -+ (yyval.interm.intermTypedNode) = context->addConstMatrixNode((yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst(), (yyvsp[(1) - (4)].interm.intermTypedNode), (yyvsp[(2) - (4)].lex).line); -+ } -+ } else { -+ if ((yyvsp[(3) - (4)].interm.intermTypedNode)->getQualifier() == EvqConst) { -+ if (((yyvsp[(1) - (4)].interm.intermTypedNode)->isVector() || (yyvsp[(1) - (4)].interm.intermTypedNode)->isMatrix()) && (yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getNominalSize() <= (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst() && !(yyvsp[(1) - (4)].interm.intermTypedNode)->isArray() ) { -+ std::stringstream extraInfoStream; -+ extraInfoStream << "field selection out of range '" << (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst() << "'"; -+ std::string extraInfo = extraInfoStream.str(); -+ context->error((yyvsp[(2) - (4)].lex).line, "", "[", extraInfo.c_str()); -+ context->recover(); -+ } else { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isArray()) { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getArraySize() == 0) { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getMaxArraySize() <= (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst()) { -+ if (context->arraySetMaxSize((yyvsp[(1) - (4)].interm.intermTypedNode)->getAsSymbolNode(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getTypePointer(), (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst(), true, (yyvsp[(2) - (4)].lex).line)) -+ context->recover(); -+ } else { -+ if (context->arraySetMaxSize((yyvsp[(1) - (4)].interm.intermTypedNode)->getAsSymbolNode(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getTypePointer(), 0, false, (yyvsp[(2) - (4)].lex).line)) -+ context->recover(); -+ } -+ } else if ( (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst() >= (yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getArraySize()) { -+ std::stringstream extraInfoStream; -+ extraInfoStream << "array index out of range '" << (yyvsp[(3) - (4)].interm.intermTypedNode)->getAsConstantUnion()->getUnionArrayPointer()->getIConst() << "'"; -+ std::string extraInfo = extraInfoStream.str(); -+ context->error((yyvsp[(2) - (4)].lex).line, "", "[", extraInfo.c_str()); -+ context->recover(); -+ } -+ } -+ (yyval.interm.intermTypedNode) = context->intermediate.addIndex(EOpIndexDirect, (yyvsp[(1) - (4)].interm.intermTypedNode), (yyvsp[(3) - (4)].interm.intermTypedNode), (yyvsp[(2) - (4)].lex).line); -+ } -+ } else { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isArray() && (yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getArraySize() == 0) { -+ context->error((yyvsp[(2) - (4)].lex).line, "", "[", "array must be redeclared with a size before being indexed with a variable"); -+ context->recover(); -+ } -+ -+ (yyval.interm.intermTypedNode) = context->intermediate.addIndex(EOpIndexIndirect, (yyvsp[(1) - (4)].interm.intermTypedNode), (yyvsp[(3) - (4)].interm.intermTypedNode), (yyvsp[(2) - (4)].lex).line); -+ } -+ } -+ if ((yyval.interm.intermTypedNode) == 0) { -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setFConst(0.0f); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpHigh, EvqConst), (yyvsp[(2) - (4)].lex).line); -+ } else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isArray()) { -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getStruct()) -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getStruct(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getTypeName())); -+ else -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (4)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getPrecision(), EvqTemporary, (yyvsp[(1) - (4)].interm.intermTypedNode)->getNominalSize(), (yyvsp[(1) - (4)].interm.intermTypedNode)->isMatrix())); -+ -+ if ((yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getQualifier() == EvqConst) -+ (yyval.interm.intermTypedNode)->getTypePointer()->setQualifier(EvqConst); -+ } else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isMatrix() && (yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getQualifier() == EvqConst) -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (4)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getPrecision(), EvqConst, (yyvsp[(1) - (4)].interm.intermTypedNode)->getNominalSize())); -+ else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isMatrix()) -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (4)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getPrecision(), EvqTemporary, (yyvsp[(1) - (4)].interm.intermTypedNode)->getNominalSize())); -+ else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isVector() && (yyvsp[(1) - (4)].interm.intermTypedNode)->getType().getQualifier() == EvqConst) -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (4)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getPrecision(), EvqConst)); -+ else if ((yyvsp[(1) - (4)].interm.intermTypedNode)->isVector()) -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (4)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (4)].interm.intermTypedNode)->getPrecision(), EvqTemporary)); -+ else -+ (yyval.interm.intermTypedNode)->setType((yyvsp[(1) - (4)].interm.intermTypedNode)->getType()); -+ ;} -+ break; -+ -+ case 10: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 11: -+ -+ { -+ if ((yyvsp[(1) - (3)].interm.intermTypedNode)->isArray()) { -+ context->error((yyvsp[(3) - (3)].lex).line, "cannot apply dot operator to an array", "."); -+ context->recover(); -+ } -+ -+ if ((yyvsp[(1) - (3)].interm.intermTypedNode)->isVector()) { -+ TVectorFields fields; -+ if (! context->parseVectorFields(*(yyvsp[(3) - (3)].lex).string, (yyvsp[(1) - (3)].interm.intermTypedNode)->getNominalSize(), fields, (yyvsp[(3) - (3)].lex).line)) { -+ fields.num = 1; -+ fields.offsets[0] = 0; -+ context->recover(); -+ } -+ -+ if ((yyvsp[(1) - (3)].interm.intermTypedNode)->getType().getQualifier() == EvqConst) { // constant folding for vector fields -+ (yyval.interm.intermTypedNode) = context->addConstVectorNode(fields, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].lex).line); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ else -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (3)].interm.intermTypedNode)->getPrecision(), EvqConst, (int) (*(yyvsp[(3) - (3)].lex).string).size())); -+ } else { -+ TString vectorString = *(yyvsp[(3) - (3)].lex).string; -+ TIntermTyped* index = context->intermediate.addSwizzle(fields, (yyvsp[(3) - (3)].lex).line); -+ (yyval.interm.intermTypedNode) = context->intermediate.addIndex(EOpVectorSwizzle, (yyvsp[(1) - (3)].interm.intermTypedNode), index, (yyvsp[(2) - (3)].lex).line); -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (3)].interm.intermTypedNode)->getPrecision(), EvqTemporary, (int) vectorString.size())); -+ } -+ } else if ((yyvsp[(1) - (3)].interm.intermTypedNode)->isMatrix()) { -+ TMatrixFields fields; -+ if (! context->parseMatrixFields(*(yyvsp[(3) - (3)].lex).string, (yyvsp[(1) - (3)].interm.intermTypedNode)->getNominalSize(), fields, (yyvsp[(3) - (3)].lex).line)) { -+ fields.wholeRow = false; -+ fields.wholeCol = false; -+ fields.row = 0; -+ fields.col = 0; -+ context->recover(); -+ } -+ -+ if (fields.wholeRow || fields.wholeCol) { -+ context->error((yyvsp[(2) - (3)].lex).line, " non-scalar fields not implemented yet", "."); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setIConst(0); -+ TIntermTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), (yyvsp[(3) - (3)].lex).line); -+ (yyval.interm.intermTypedNode) = context->intermediate.addIndex(EOpIndexDirect, (yyvsp[(1) - (3)].interm.intermTypedNode), index, (yyvsp[(2) - (3)].lex).line); -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (3)].interm.intermTypedNode)->getPrecision(),EvqTemporary, (yyvsp[(1) - (3)].interm.intermTypedNode)->getNominalSize())); -+ } else { -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setIConst(fields.col * (yyvsp[(1) - (3)].interm.intermTypedNode)->getNominalSize() + fields.row); -+ TIntermTyped* index = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConst), (yyvsp[(3) - (3)].lex).line); -+ (yyval.interm.intermTypedNode) = context->intermediate.addIndex(EOpIndexDirect, (yyvsp[(1) - (3)].interm.intermTypedNode), index, (yyvsp[(2) - (3)].lex).line); -+ (yyval.interm.intermTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) - (3)].interm.intermTypedNode)->getPrecision())); -+ } -+ } else if ((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType() == EbtStruct) { -+ bool fieldFound = false; -+ const TTypeList* fields = (yyvsp[(1) - (3)].interm.intermTypedNode)->getType().getStruct(); -+ if (fields == 0) { -+ context->error((yyvsp[(2) - (3)].lex).line, "structure has no fields", "Internal Error"); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } else { -+ unsigned int i; -+ for (i = 0; i < fields->size(); ++i) { -+ if ((*fields)[i].type->getFieldName() == *(yyvsp[(3) - (3)].lex).string) { -+ fieldFound = true; -+ break; -+ } -+ } -+ if (fieldFound) { -+ if ((yyvsp[(1) - (3)].interm.intermTypedNode)->getType().getQualifier() == EvqConst) { -+ (yyval.interm.intermTypedNode) = context->addConstStruct(*(yyvsp[(3) - (3)].lex).string, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ else { -+ (yyval.interm.intermTypedNode)->setType(*(*fields)[i].type); -+ // change the qualifier of the return type, not of the structure field -+ // as the structure definition is shared between various structures. -+ (yyval.interm.intermTypedNode)->getTypePointer()->setQualifier(EvqConst); -+ } -+ } else { -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setIConst(i); -+ TIntermTyped* index = context->intermediate.addConstantUnion(unionArray, *(*fields)[i].type, (yyvsp[(3) - (3)].lex).line); -+ (yyval.interm.intermTypedNode) = context->intermediate.addIndex(EOpIndexDirectStruct, (yyvsp[(1) - (3)].interm.intermTypedNode), index, (yyvsp[(2) - (3)].lex).line); -+ (yyval.interm.intermTypedNode)->setType(*(*fields)[i].type); -+ } -+ } else { -+ context->error((yyvsp[(2) - (3)].lex).line, " no such field in structure", (yyvsp[(3) - (3)].lex).string->c_str()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ } -+ } else { -+ context->error((yyvsp[(2) - (3)].lex).line, " field selection requires structure, vector, or matrix on left hand side", (yyvsp[(3) - (3)].lex).string->c_str()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ // don't delete $3.string, it's from the pool -+ ;} -+ break; -+ -+ case 12: -+ -+ { -+ if (context->lValueErrorCheck((yyvsp[(2) - (2)].lex).line, "++", (yyvsp[(1) - (2)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = context->intermediate.addUnaryMath(EOpPostIncrement, (yyvsp[(1) - (2)].interm.intermTypedNode), (yyvsp[(2) - (2)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->unaryOpError((yyvsp[(2) - (2)].lex).line, "++", (yyvsp[(1) - (2)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (2)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 13: -+ -+ { -+ if (context->lValueErrorCheck((yyvsp[(2) - (2)].lex).line, "--", (yyvsp[(1) - (2)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = context->intermediate.addUnaryMath(EOpPostDecrement, (yyvsp[(1) - (2)].interm.intermTypedNode), (yyvsp[(2) - (2)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->unaryOpError((yyvsp[(2) - (2)].lex).line, "--", (yyvsp[(1) - (2)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (2)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 14: -+ -+ { -+ if (context->integerErrorCheck((yyvsp[(1) - (1)].interm.intermTypedNode), "[]")) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 15: -+ -+ { -+ TFunction* fnCall = (yyvsp[(1) - (1)].interm).function; -+ TOperator op = fnCall->getBuiltInOp(); -+ -+ if (op != EOpNull) -+ { -+ // -+ // Then this should be a constructor. -+ // Don't go through the symbol table for constructors. -+ // Their parameters will be verified algorithmically. -+ // -+ TType type(EbtVoid, EbpUndefined); // use this to get the type back -+ if (context->constructorErrorCheck((yyvsp[(1) - (1)].interm).line, (yyvsp[(1) - (1)].interm).intermNode, *fnCall, op, &type)) { -+ (yyval.interm.intermTypedNode) = 0; -+ } else { -+ // -+ // It's a constructor, of type 'type'. -+ // -+ (yyval.interm.intermTypedNode) = context->addConstructor((yyvsp[(1) - (1)].interm).intermNode, &type, op, fnCall, (yyvsp[(1) - (1)].interm).line); -+ } -+ -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->recover(); -+ (yyval.interm.intermTypedNode) = context->intermediate.setAggregateOperator(0, op, (yyvsp[(1) - (1)].interm).line); -+ } -+ (yyval.interm.intermTypedNode)->setType(type); -+ } else { -+ // -+ // Not a constructor. Find it in the symbol table. -+ // -+ const TFunction* fnCandidate; -+ bool builtIn; -+ fnCandidate = context->findFunction((yyvsp[(1) - (1)].interm).line, fnCall, &builtIn); -+ if (fnCandidate) { -+ // -+ // A declared function. -+ // -+ if (builtIn && !fnCandidate->getExtension().empty() && -+ context->extensionErrorCheck((yyvsp[(1) - (1)].interm).line, fnCandidate->getExtension())) { -+ context->recover(); -+ } -+ op = fnCandidate->getBuiltInOp(); -+ if (builtIn && op != EOpNull) { -+ // -+ // A function call mapped to a built-in operation. -+ // -+ if (fnCandidate->getParamCount() == 1) { -+ // -+ // Treat it like a built-in unary operator. -+ // -+ (yyval.interm.intermTypedNode) = context->intermediate.addUnaryMath(op, (yyvsp[(1) - (1)].interm).intermNode, 0, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ std::stringstream extraInfoStream; -+ extraInfoStream << "built in unary operator function. Type: " << static_cast<TIntermTyped*>((yyvsp[(1) - (1)].interm).intermNode)->getCompleteString(); -+ std::string extraInfo = extraInfoStream.str(); -+ context->error((yyvsp[(1) - (1)].interm).intermNode->getLine(), " wrong operand type", "Internal Error", extraInfo.c_str()); -+ YYERROR; -+ } -+ } else { -+ (yyval.interm.intermTypedNode) = context->intermediate.setAggregateOperator((yyvsp[(1) - (1)].interm).intermAggregate, op, (yyvsp[(1) - (1)].interm).line); -+ } -+ } else { -+ // This is a real function call -+ -+ (yyval.interm.intermTypedNode) = context->intermediate.setAggregateOperator((yyvsp[(1) - (1)].interm).intermAggregate, EOpFunctionCall, (yyvsp[(1) - (1)].interm).line); -+ (yyval.interm.intermTypedNode)->setType(fnCandidate->getReturnType()); -+ -+ // this is how we know whether the given function is a builtIn function or a user defined function -+ // if builtIn == false, it's a userDefined -> could be an overloaded builtIn function also -+ // if builtIn == true, it's definitely a builtIn function with EOpNull -+ if (!builtIn) -+ (yyval.interm.intermTypedNode)->getAsAggregate()->setUserDefined(); -+ (yyval.interm.intermTypedNode)->getAsAggregate()->setName(fnCandidate->getMangledName()); -+ -+ TQualifier qual; -+ for (int i = 0; i < fnCandidate->getParamCount(); ++i) { -+ qual = fnCandidate->getParam(i).type->getQualifier(); -+ if (qual == EvqOut || qual == EvqInOut) { -+ if (context->lValueErrorCheck((yyval.interm.intermTypedNode)->getLine(), "assign", (yyval.interm.intermTypedNode)->getAsAggregate()->getSequence()[i]->getAsTyped())) { -+ context->error((yyvsp[(1) - (1)].interm).intermNode->getLine(), "Constant value cannot be passed for 'out' or 'inout' parameters.", "Error"); -+ context->recover(); -+ } -+ } -+ } -+ } -+ (yyval.interm.intermTypedNode)->setType(fnCandidate->getReturnType()); -+ } else { -+ // error message was put out by PaFindFunction() -+ // Put on a dummy node for error recovery -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setFConst(0.0f); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConst), (yyvsp[(1) - (1)].interm).line); -+ context->recover(); -+ } -+ } -+ delete fnCall; -+ ;} -+ break; -+ -+ case 16: -+ -+ { -+ (yyval.interm) = (yyvsp[(1) - (1)].interm); -+ ;} -+ break; -+ -+ case 17: -+ -+ { -+ context->error((yyvsp[(3) - (3)].interm).line, "methods are not supported", ""); -+ context->recover(); -+ (yyval.interm) = (yyvsp[(3) - (3)].interm); -+ ;} -+ break; -+ -+ case 18: -+ -+ { -+ (yyval.interm) = (yyvsp[(1) - (2)].interm); -+ (yyval.interm).line = (yyvsp[(2) - (2)].lex).line; -+ ;} -+ break; -+ -+ case 19: -+ -+ { -+ (yyval.interm) = (yyvsp[(1) - (2)].interm); -+ (yyval.interm).line = (yyvsp[(2) - (2)].lex).line; -+ ;} -+ break; -+ -+ case 20: -+ -+ { -+ (yyval.interm).function = (yyvsp[(1) - (2)].interm.function); -+ (yyval.interm).intermNode = 0; -+ ;} -+ break; -+ -+ case 21: -+ -+ { -+ (yyval.interm).function = (yyvsp[(1) - (1)].interm.function); -+ (yyval.interm).intermNode = 0; -+ ;} -+ break; -+ -+ case 22: -+ -+ { -+ TParameter param = { 0, new TType((yyvsp[(2) - (2)].interm.intermTypedNode)->getType()) }; -+ (yyvsp[(1) - (2)].interm.function)->addParameter(param); -+ (yyval.interm).function = (yyvsp[(1) - (2)].interm.function); -+ (yyval.interm).intermNode = (yyvsp[(2) - (2)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 23: -+ -+ { -+ TParameter param = { 0, new TType((yyvsp[(3) - (3)].interm.intermTypedNode)->getType()) }; -+ (yyvsp[(1) - (3)].interm).function->addParameter(param); -+ (yyval.interm).function = (yyvsp[(1) - (3)].interm).function; -+ (yyval.interm).intermNode = context->intermediate.growAggregate((yyvsp[(1) - (3)].interm).intermNode, (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line); -+ ;} -+ break; -+ -+ case 24: -+ -+ { -+ (yyval.interm.function) = (yyvsp[(1) - (2)].interm.function); -+ ;} -+ break; -+ -+ case 25: -+ -+ { -+ // -+ // Constructor -+ // -+ TOperator op = EOpNull; -+ if ((yyvsp[(1) - (1)].interm.type).userDef) { -+ op = EOpConstructStruct; -+ } else { -+ switch ((yyvsp[(1) - (1)].interm.type).type) { -+ case EbtFloat: -+ if ((yyvsp[(1) - (1)].interm.type).matrix) { -+ switch((yyvsp[(1) - (1)].interm.type).size) { -+ case 2: op = EOpConstructMat2; break; -+ case 3: op = EOpConstructMat3; break; -+ case 4: op = EOpConstructMat4; break; -+ } -+ } else { -+ switch((yyvsp[(1) - (1)].interm.type).size) { -+ case 1: op = EOpConstructFloat; break; -+ case 2: op = EOpConstructVec2; break; -+ case 3: op = EOpConstructVec3; break; -+ case 4: op = EOpConstructVec4; break; -+ } -+ } -+ break; -+ case EbtInt: -+ switch((yyvsp[(1) - (1)].interm.type).size) { -+ case 1: op = EOpConstructInt; break; -+ case 2: FRAG_VERT_ONLY("ivec2", (yyvsp[(1) - (1)].interm.type).line); op = EOpConstructIVec2; break; -+ case 3: FRAG_VERT_ONLY("ivec3", (yyvsp[(1) - (1)].interm.type).line); op = EOpConstructIVec3; break; -+ case 4: FRAG_VERT_ONLY("ivec4", (yyvsp[(1) - (1)].interm.type).line); op = EOpConstructIVec4; break; -+ } -+ break; -+ case EbtBool: -+ switch((yyvsp[(1) - (1)].interm.type).size) { -+ case 1: op = EOpConstructBool; break; -+ case 2: FRAG_VERT_ONLY("bvec2", (yyvsp[(1) - (1)].interm.type).line); op = EOpConstructBVec2; break; -+ case 3: FRAG_VERT_ONLY("bvec3", (yyvsp[(1) - (1)].interm.type).line); op = EOpConstructBVec3; break; -+ case 4: FRAG_VERT_ONLY("bvec4", (yyvsp[(1) - (1)].interm.type).line); op = EOpConstructBVec4; break; -+ } -+ break; -+ default: break; -+ } -+ if (op == EOpNull) { -+ context->error((yyvsp[(1) - (1)].interm.type).line, "cannot construct this type", getBasicString((yyvsp[(1) - (1)].interm.type).type)); -+ context->recover(); -+ (yyvsp[(1) - (1)].interm.type).type = EbtFloat; -+ op = EOpConstructFloat; -+ } -+ } -+ TString tempString; -+ TType type((yyvsp[(1) - (1)].interm.type)); -+ TFunction *function = new TFunction(&tempString, type, op); -+ (yyval.interm.function) = function; -+ ;} -+ break; -+ -+ case 26: -+ -+ { -+ if (context->reservedErrorCheck((yyvsp[(1) - (1)].lex).line, *(yyvsp[(1) - (1)].lex).string)) -+ context->recover(); -+ TType type(EbtVoid, EbpUndefined); -+ TFunction *function = new TFunction((yyvsp[(1) - (1)].lex).string, type); -+ (yyval.interm.function) = function; -+ ;} -+ break; -+ -+ case 27: -+ -+ { -+ if (context->reservedErrorCheck((yyvsp[(1) - (1)].lex).line, *(yyvsp[(1) - (1)].lex).string)) -+ context->recover(); -+ TType type(EbtVoid, EbpUndefined); -+ TFunction *function = new TFunction((yyvsp[(1) - (1)].lex).string, type); -+ (yyval.interm.function) = function; -+ ;} -+ break; -+ -+ case 28: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 29: -+ -+ { -+ if (context->lValueErrorCheck((yyvsp[(1) - (2)].lex).line, "++", (yyvsp[(2) - (2)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = context->intermediate.addUnaryMath(EOpPreIncrement, (yyvsp[(2) - (2)].interm.intermTypedNode), (yyvsp[(1) - (2)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->unaryOpError((yyvsp[(1) - (2)].lex).line, "++", (yyvsp[(2) - (2)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(2) - (2)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 30: -+ -+ { -+ if (context->lValueErrorCheck((yyvsp[(1) - (2)].lex).line, "--", (yyvsp[(2) - (2)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = context->intermediate.addUnaryMath(EOpPreDecrement, (yyvsp[(2) - (2)].interm.intermTypedNode), (yyvsp[(1) - (2)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->unaryOpError((yyvsp[(1) - (2)].lex).line, "--", (yyvsp[(2) - (2)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(2) - (2)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 31: -+ -+ { -+ if ((yyvsp[(1) - (2)].interm).op != EOpNull) { -+ (yyval.interm.intermTypedNode) = context->intermediate.addUnaryMath((yyvsp[(1) - (2)].interm).op, (yyvsp[(2) - (2)].interm.intermTypedNode), (yyvsp[(1) - (2)].interm).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ const char* errorOp = ""; -+ switch((yyvsp[(1) - (2)].interm).op) { -+ case EOpNegative: errorOp = "-"; break; -+ case EOpLogicalNot: errorOp = "!"; break; -+ default: break; -+ } -+ context->unaryOpError((yyvsp[(1) - (2)].interm).line, errorOp, (yyvsp[(2) - (2)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(2) - (2)].interm.intermTypedNode); -+ } -+ } else -+ (yyval.interm.intermTypedNode) = (yyvsp[(2) - (2)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 32: -+ -+ { (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpNull; ;} -+ break; -+ -+ case 33: -+ -+ { (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpNegative; ;} -+ break; -+ -+ case 34: -+ -+ { (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpLogicalNot; ;} -+ break; -+ -+ case 35: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 36: -+ -+ { -+ FRAG_VERT_ONLY("*", (yyvsp[(2) - (3)].lex).line); -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpMul, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "*", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 37: -+ -+ { -+ FRAG_VERT_ONLY("/", (yyvsp[(2) - (3)].lex).line); -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpDiv, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "/", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 38: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 39: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpAdd, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "+", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 40: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpSub, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "-", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 41: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 42: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 43: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpLessThan, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "<", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 44: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpGreaterThan, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, ">", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 45: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpLessThanEqual, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "<=", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 46: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpGreaterThanEqual, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, ">=", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 47: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 48: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpEqual, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "==", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 49: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpNotEqual, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "!=", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 50: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 51: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 52: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 53: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 54: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpLogicalAnd, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "&&", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 55: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 56: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpLogicalXor, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "^^", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 57: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 58: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addBinaryMath(EOpLogicalOr, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line, context->symbolTable); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, "||", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ ConstantUnion *unionArray = new ConstantUnion[1]; -+ unionArray->setBConst(false); -+ (yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConst), (yyvsp[(2) - (3)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 59: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 60: -+ -+ { -+ if (context->boolErrorCheck((yyvsp[(2) - (5)].lex).line, (yyvsp[(1) - (5)].interm.intermTypedNode))) -+ context->recover(); -+ -+ (yyval.interm.intermTypedNode) = context->intermediate.addSelection((yyvsp[(1) - (5)].interm.intermTypedNode), (yyvsp[(3) - (5)].interm.intermTypedNode), (yyvsp[(5) - (5)].interm.intermTypedNode), (yyvsp[(2) - (5)].lex).line); -+ if ((yyvsp[(3) - (5)].interm.intermTypedNode)->getType() != (yyvsp[(5) - (5)].interm.intermTypedNode)->getType()) -+ (yyval.interm.intermTypedNode) = 0; -+ -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (5)].lex).line, ":", (yyvsp[(3) - (5)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(5) - (5)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(5) - (5)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 61: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 62: -+ -+ { -+ if (context->lValueErrorCheck((yyvsp[(2) - (3)].interm).line, "assign", (yyvsp[(1) - (3)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = context->intermediate.addAssign((yyvsp[(2) - (3)].interm).op, (yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].interm).line); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->assignError((yyvsp[(2) - (3)].interm).line, "assign", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 63: -+ -+ { (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpAssign; ;} -+ break; -+ -+ case 64: -+ -+ { FRAG_VERT_ONLY("*=", (yyvsp[(1) - (1)].lex).line); (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpMulAssign; ;} -+ break; -+ -+ case 65: -+ -+ { FRAG_VERT_ONLY("/=", (yyvsp[(1) - (1)].lex).line); (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpDivAssign; ;} -+ break; -+ -+ case 66: -+ -+ { (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpAddAssign; ;} -+ break; -+ -+ case 67: -+ -+ { (yyval.interm).line = (yyvsp[(1) - (1)].lex).line; (yyval.interm).op = EOpSubAssign; ;} -+ break; -+ -+ case 68: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 69: -+ -+ { -+ (yyval.interm.intermTypedNode) = context->intermediate.addComma((yyvsp[(1) - (3)].interm.intermTypedNode), (yyvsp[(3) - (3)].interm.intermTypedNode), (yyvsp[(2) - (3)].lex).line); -+ if ((yyval.interm.intermTypedNode) == 0) { -+ context->binaryOpError((yyvsp[(2) - (3)].lex).line, ",", (yyvsp[(1) - (3)].interm.intermTypedNode)->getCompleteString(), (yyvsp[(3) - (3)].interm.intermTypedNode)->getCompleteString()); -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(3) - (3)].interm.intermTypedNode); -+ } -+ ;} -+ break; -+ -+ case 70: -+ -+ { -+ if (context->constErrorCheck((yyvsp[(1) - (1)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 71: -+ -+ { -+ TFunction &function = *((yyvsp[(1) - (2)].interm).function); -+ -+ TIntermAggregate *prototype = new TIntermAggregate; -+ prototype->setType(function.getReturnType()); -+ prototype->setName(function.getName()); -+ -+ for (int i = 0; i < function.getParamCount(); i++) -+ { -+ const TParameter ¶m = function.getParam(i); -+ if (param.name != 0) -+ { -+ TVariable *variable = new TVariable(param.name, *param.type); -+ -+ prototype = context->intermediate.growAggregate(prototype, context->intermediate.addSymbol(variable->getUniqueId(), variable->getName(), variable->getType(), (yyvsp[(1) - (2)].interm).line), (yyvsp[(1) - (2)].interm).line); -+ } -+ else -+ { -+ prototype = context->intermediate.growAggregate(prototype, context->intermediate.addSymbol(0, "", *param.type, (yyvsp[(1) - (2)].interm).line), (yyvsp[(1) - (2)].interm).line); -+ } -+ } -+ -+ prototype->setOp(EOpPrototype); -+ (yyval.interm.intermNode) = prototype; -+ -+ context->symbolTable.pop(); -+ ;} -+ break; -+ -+ case 72: -+ -+ { -+ if ((yyvsp[(1) - (2)].interm).intermAggregate) -+ (yyvsp[(1) - (2)].interm).intermAggregate->setOp(EOpDeclaration); -+ (yyval.interm.intermNode) = (yyvsp[(1) - (2)].interm).intermAggregate; -+ ;} -+ break; -+ -+ case 73: -+ -+ { -+ context->symbolTable.setDefaultPrecision( (yyvsp[(3) - (4)].interm.type).type, (yyvsp[(2) - (4)].interm.precision) ); -+ (yyval.interm.intermNode) = 0; -+ ;} -+ break; -+ -+ case 74: -+ -+ { -+ // -+ // Multiple declarations of the same function are allowed. -+ // -+ // If this is a definition, the definition production code will check for redefinitions -+ // (we don't know at this point if it's a definition or not). -+ // -+ // Redeclarations are allowed. But, return types and parameter qualifiers must match. -+ // -+ TFunction* prevDec = static_cast<TFunction*>(context->symbolTable.find((yyvsp[(1) - (2)].interm.function)->getMangledName())); -+ if (prevDec) { -+ if (prevDec->getReturnType() != (yyvsp[(1) - (2)].interm.function)->getReturnType()) { -+ context->error((yyvsp[(2) - (2)].lex).line, "overloaded functions must have the same return type", (yyvsp[(1) - (2)].interm.function)->getReturnType().getBasicString()); -+ context->recover(); -+ } -+ for (int i = 0; i < prevDec->getParamCount(); ++i) { -+ if (prevDec->getParam(i).type->getQualifier() != (yyvsp[(1) - (2)].interm.function)->getParam(i).type->getQualifier()) { -+ context->error((yyvsp[(2) - (2)].lex).line, "overloaded functions must have the same parameter qualifiers", (yyvsp[(1) - (2)].interm.function)->getParam(i).type->getQualifierString()); -+ context->recover(); -+ } -+ } -+ } -+ -+ // -+ // If this is a redeclaration, it could also be a definition, -+ // in which case, we want to use the variable names from this one, and not the one that's -+ // being redeclared. So, pass back up this declaration, not the one in the symbol table. -+ // -+ (yyval.interm).function = (yyvsp[(1) - (2)].interm.function); -+ (yyval.interm).line = (yyvsp[(2) - (2)].lex).line; -+ -+ // We're at the inner scope level of the function's arguments and body statement. -+ // Add the function prototype to the surrounding scope instead. -+ context->symbolTable.getOuterLevel()->insert(*(yyval.interm).function); -+ ;} -+ break; -+ -+ case 75: -+ -+ { -+ (yyval.interm.function) = (yyvsp[(1) - (1)].interm.function); -+ ;} -+ break; -+ -+ case 76: -+ -+ { -+ (yyval.interm.function) = (yyvsp[(1) - (1)].interm.function); -+ ;} -+ break; -+ -+ case 77: -+ -+ { -+ // Add the parameter -+ (yyval.interm.function) = (yyvsp[(1) - (2)].interm.function); -+ if ((yyvsp[(2) - (2)].interm).param.type->getBasicType() != EbtVoid) -+ (yyvsp[(1) - (2)].interm.function)->addParameter((yyvsp[(2) - (2)].interm).param); -+ else -+ delete (yyvsp[(2) - (2)].interm).param.type; -+ ;} -+ break; -+ -+ case 78: -+ -+ { -+ // -+ // Only first parameter of one-parameter functions can be void -+ // The check for named parameters not being void is done in parameter_declarator -+ // -+ if ((yyvsp[(3) - (3)].interm).param.type->getBasicType() == EbtVoid) { -+ // -+ // This parameter > first is void -+ // -+ context->error((yyvsp[(2) - (3)].lex).line, "cannot be an argument type except for '(void)'", "void"); -+ context->recover(); -+ delete (yyvsp[(3) - (3)].interm).param.type; -+ } else { -+ // Add the parameter -+ (yyval.interm.function) = (yyvsp[(1) - (3)].interm.function); -+ (yyvsp[(1) - (3)].interm.function)->addParameter((yyvsp[(3) - (3)].interm).param); -+ } -+ ;} -+ break; -+ -+ case 79: -+ -+ { -+ if ((yyvsp[(1) - (3)].interm.type).qualifier != EvqGlobal && (yyvsp[(1) - (3)].interm.type).qualifier != EvqTemporary) { -+ context->error((yyvsp[(2) - (3)].lex).line, "no qualifiers allowed for function return", getQualifierString((yyvsp[(1) - (3)].interm.type).qualifier)); -+ context->recover(); -+ } -+ // make sure a sampler is not involved as well... -+ if (context->structQualifierErrorCheck((yyvsp[(2) - (3)].lex).line, (yyvsp[(1) - (3)].interm.type))) -+ context->recover(); -+ -+ // Add the function as a prototype after parsing it (we do not support recursion) -+ TFunction *function; -+ TType type((yyvsp[(1) - (3)].interm.type)); -+ function = new TFunction((yyvsp[(2) - (3)].lex).string, type); -+ (yyval.interm.function) = function; -+ -+ context->symbolTable.push(); -+ ;} -+ break; -+ -+ case 80: -+ -+ { -+ if ((yyvsp[(1) - (2)].interm.type).type == EbtVoid) { -+ context->error((yyvsp[(2) - (2)].lex).line, "illegal use of type 'void'", (yyvsp[(2) - (2)].lex).string->c_str()); -+ context->recover(); -+ } -+ if (context->reservedErrorCheck((yyvsp[(2) - (2)].lex).line, *(yyvsp[(2) - (2)].lex).string)) -+ context->recover(); -+ TParameter param = {(yyvsp[(2) - (2)].lex).string, new TType((yyvsp[(1) - (2)].interm.type))}; -+ (yyval.interm).line = (yyvsp[(2) - (2)].lex).line; -+ (yyval.interm).param = param; -+ ;} -+ break; -+ -+ case 81: -+ -+ { -+ // Check that we can make an array out of this type -+ if (context->arrayTypeErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(1) - (5)].interm.type))) -+ context->recover(); -+ -+ if (context->reservedErrorCheck((yyvsp[(2) - (5)].lex).line, *(yyvsp[(2) - (5)].lex).string)) -+ context->recover(); -+ -+ int size; -+ if (context->arraySizeErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(4) - (5)].interm.intermTypedNode), size)) -+ context->recover(); -+ (yyvsp[(1) - (5)].interm.type).setArray(true, size); -+ -+ TType* type = new TType((yyvsp[(1) - (5)].interm.type)); -+ TParameter param = { (yyvsp[(2) - (5)].lex).string, type }; -+ (yyval.interm).line = (yyvsp[(2) - (5)].lex).line; -+ (yyval.interm).param = param; -+ ;} -+ break; -+ -+ case 82: -+ -+ { -+ (yyval.interm) = (yyvsp[(3) - (3)].interm); -+ if (context->paramErrorCheck((yyvsp[(3) - (3)].interm).line, (yyvsp[(1) - (3)].interm.type).qualifier, (yyvsp[(2) - (3)].interm.qualifier), (yyval.interm).param.type)) -+ context->recover(); -+ ;} -+ break; -+ -+ case 83: -+ -+ { -+ (yyval.interm) = (yyvsp[(2) - (2)].interm); -+ if (context->parameterSamplerErrorCheck((yyvsp[(2) - (2)].interm).line, (yyvsp[(1) - (2)].interm.qualifier), *(yyvsp[(2) - (2)].interm).param.type)) -+ context->recover(); -+ if (context->paramErrorCheck((yyvsp[(2) - (2)].interm).line, EvqTemporary, (yyvsp[(1) - (2)].interm.qualifier), (yyval.interm).param.type)) -+ context->recover(); -+ ;} -+ break; -+ -+ case 84: -+ -+ { -+ (yyval.interm) = (yyvsp[(3) - (3)].interm); -+ if (context->paramErrorCheck((yyvsp[(3) - (3)].interm).line, (yyvsp[(1) - (3)].interm.type).qualifier, (yyvsp[(2) - (3)].interm.qualifier), (yyval.interm).param.type)) -+ context->recover(); -+ ;} -+ break; -+ -+ case 85: -+ -+ { -+ (yyval.interm) = (yyvsp[(2) - (2)].interm); -+ if (context->parameterSamplerErrorCheck((yyvsp[(2) - (2)].interm).line, (yyvsp[(1) - (2)].interm.qualifier), *(yyvsp[(2) - (2)].interm).param.type)) -+ context->recover(); -+ if (context->paramErrorCheck((yyvsp[(2) - (2)].interm).line, EvqTemporary, (yyvsp[(1) - (2)].interm.qualifier), (yyval.interm).param.type)) -+ context->recover(); -+ ;} -+ break; -+ -+ case 86: -+ -+ { -+ (yyval.interm.qualifier) = EvqIn; -+ ;} -+ break; -+ -+ case 87: -+ -+ { -+ (yyval.interm.qualifier) = EvqIn; -+ ;} -+ break; -+ -+ case 88: -+ -+ { -+ (yyval.interm.qualifier) = EvqOut; -+ ;} -+ break; -+ -+ case 89: -+ -+ { -+ (yyval.interm.qualifier) = EvqInOut; -+ ;} -+ break; -+ -+ case 90: -+ -+ { -+ TParameter param = { 0, new TType((yyvsp[(1) - (1)].interm.type)) }; -+ (yyval.interm).param = param; -+ ;} -+ break; -+ -+ case 91: -+ -+ { -+ (yyval.interm) = (yyvsp[(1) - (1)].interm); -+ ;} -+ break; -+ -+ case 92: -+ -+ { -+ if ((yyvsp[(1) - (3)].interm).type.type == EbtInvariant && !(yyvsp[(3) - (3)].lex).symbol) -+ { -+ context->error((yyvsp[(3) - (3)].lex).line, "undeclared identifier declared as invariant", (yyvsp[(3) - (3)].lex).string->c_str()); -+ context->recover(); -+ } -+ -+ TIntermSymbol* symbol = context->intermediate.addSymbol(0, *(yyvsp[(3) - (3)].lex).string, TType((yyvsp[(1) - (3)].interm).type), (yyvsp[(3) - (3)].lex).line); -+ (yyval.interm).intermAggregate = context->intermediate.growAggregate((yyvsp[(1) - (3)].interm).intermNode, symbol, (yyvsp[(3) - (3)].lex).line); -+ -+ if (context->structQualifierErrorCheck((yyvsp[(3) - (3)].lex).line, (yyval.interm).type)) -+ context->recover(); -+ -+ if (context->nonInitConstErrorCheck((yyvsp[(3) - (3)].lex).line, *(yyvsp[(3) - (3)].lex).string, (yyval.interm).type, false)) -+ context->recover(); -+ -+ TVariable* variable = 0; -+ if (context->nonInitErrorCheck((yyvsp[(3) - (3)].lex).line, *(yyvsp[(3) - (3)].lex).string, (yyval.interm).type, variable)) -+ context->recover(); -+ if (symbol && variable) -+ symbol->setId(variable->getUniqueId()); -+ ;} -+ break; -+ -+ case 93: -+ -+ { -+ if (context->structQualifierErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(1) - (5)].interm).type)) -+ context->recover(); -+ -+ if (context->nonInitConstErrorCheck((yyvsp[(3) - (5)].lex).line, *(yyvsp[(3) - (5)].lex).string, (yyvsp[(1) - (5)].interm).type, true)) -+ context->recover(); -+ -+ (yyval.interm) = (yyvsp[(1) - (5)].interm); -+ -+ if (context->arrayTypeErrorCheck((yyvsp[(4) - (5)].lex).line, (yyvsp[(1) - (5)].interm).type) || context->arrayQualifierErrorCheck((yyvsp[(4) - (5)].lex).line, (yyvsp[(1) - (5)].interm).type)) -+ context->recover(); -+ else { -+ (yyvsp[(1) - (5)].interm).type.setArray(true); -+ TVariable* variable; -+ if (context->arrayErrorCheck((yyvsp[(4) - (5)].lex).line, *(yyvsp[(3) - (5)].lex).string, (yyvsp[(1) - (5)].interm).type, variable)) -+ context->recover(); -+ } -+ ;} -+ break; -+ -+ case 94: -+ -+ { -+ if (context->structQualifierErrorCheck((yyvsp[(3) - (6)].lex).line, (yyvsp[(1) - (6)].interm).type)) -+ context->recover(); -+ -+ if (context->nonInitConstErrorCheck((yyvsp[(3) - (6)].lex).line, *(yyvsp[(3) - (6)].lex).string, (yyvsp[(1) - (6)].interm).type, true)) -+ context->recover(); -+ -+ (yyval.interm) = (yyvsp[(1) - (6)].interm); -+ -+ if (context->arrayTypeErrorCheck((yyvsp[(4) - (6)].lex).line, (yyvsp[(1) - (6)].interm).type) || context->arrayQualifierErrorCheck((yyvsp[(4) - (6)].lex).line, (yyvsp[(1) - (6)].interm).type)) -+ context->recover(); -+ else { -+ int size; -+ if (context->arraySizeErrorCheck((yyvsp[(4) - (6)].lex).line, (yyvsp[(5) - (6)].interm.intermTypedNode), size)) -+ context->recover(); -+ (yyvsp[(1) - (6)].interm).type.setArray(true, size); -+ TVariable* variable = 0; -+ if (context->arrayErrorCheck((yyvsp[(4) - (6)].lex).line, *(yyvsp[(3) - (6)].lex).string, (yyvsp[(1) - (6)].interm).type, variable)) -+ context->recover(); -+ TType type = TType((yyvsp[(1) - (6)].interm).type); -+ type.setArraySize(size); -+ (yyval.interm).intermAggregate = context->intermediate.growAggregate((yyvsp[(1) - (6)].interm).intermNode, context->intermediate.addSymbol(variable ? variable->getUniqueId() : 0, *(yyvsp[(3) - (6)].lex).string, type, (yyvsp[(3) - (6)].lex).line), (yyvsp[(3) - (6)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 95: -+ -+ { -+ if (context->structQualifierErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(1) - (5)].interm).type)) -+ context->recover(); -+ -+ (yyval.interm) = (yyvsp[(1) - (5)].interm); -+ -+ TIntermNode* intermNode; -+ if (!context->executeInitializer((yyvsp[(3) - (5)].lex).line, *(yyvsp[(3) - (5)].lex).string, (yyvsp[(1) - (5)].interm).type, (yyvsp[(5) - (5)].interm.intermTypedNode), intermNode)) { -+ // -+ // build the intermediate representation -+ // -+ if (intermNode) -+ (yyval.interm).intermAggregate = context->intermediate.growAggregate((yyvsp[(1) - (5)].interm).intermNode, intermNode, (yyvsp[(4) - (5)].lex).line); -+ else -+ (yyval.interm).intermAggregate = (yyvsp[(1) - (5)].interm).intermAggregate; -+ } else { -+ context->recover(); -+ (yyval.interm).intermAggregate = 0; -+ } -+ ;} -+ break; -+ -+ case 96: -+ -+ { -+ (yyval.interm).type = (yyvsp[(1) - (1)].interm.type); -+ (yyval.interm).intermAggregate = context->intermediate.makeAggregate(context->intermediate.addSymbol(0, "", TType((yyvsp[(1) - (1)].interm.type)), (yyvsp[(1) - (1)].interm.type).line), (yyvsp[(1) - (1)].interm.type).line); -+ ;} -+ break; -+ -+ case 97: -+ -+ { -+ TIntermSymbol* symbol = context->intermediate.addSymbol(0, *(yyvsp[(2) - (2)].lex).string, TType((yyvsp[(1) - (2)].interm.type)), (yyvsp[(2) - (2)].lex).line); -+ (yyval.interm).intermAggregate = context->intermediate.makeAggregate(symbol, (yyvsp[(2) - (2)].lex).line); -+ -+ if (context->structQualifierErrorCheck((yyvsp[(2) - (2)].lex).line, (yyval.interm).type)) -+ context->recover(); -+ -+ if (context->nonInitConstErrorCheck((yyvsp[(2) - (2)].lex).line, *(yyvsp[(2) - (2)].lex).string, (yyval.interm).type, false)) -+ context->recover(); -+ -+ (yyval.interm).type = (yyvsp[(1) - (2)].interm.type); -+ -+ TVariable* variable = 0; -+ if (context->nonInitErrorCheck((yyvsp[(2) - (2)].lex).line, *(yyvsp[(2) - (2)].lex).string, (yyval.interm).type, variable)) -+ context->recover(); -+ if (variable && symbol) -+ symbol->setId(variable->getUniqueId()); -+ ;} -+ break; -+ -+ case 98: -+ -+ { -+ context->error((yyvsp[(2) - (4)].lex).line, "unsized array declarations not supported", (yyvsp[(2) - (4)].lex).string->c_str()); -+ context->recover(); -+ -+ TIntermSymbol* symbol = context->intermediate.addSymbol(0, *(yyvsp[(2) - (4)].lex).string, TType((yyvsp[(1) - (4)].interm.type)), (yyvsp[(2) - (4)].lex).line); -+ (yyval.interm).intermAggregate = context->intermediate.makeAggregate(symbol, (yyvsp[(2) - (4)].lex).line); -+ (yyval.interm).type = (yyvsp[(1) - (4)].interm.type); -+ ;} -+ break; -+ -+ case 99: -+ -+ { -+ TType type = TType((yyvsp[(1) - (5)].interm.type)); -+ int size; -+ if (context->arraySizeErrorCheck((yyvsp[(2) - (5)].lex).line, (yyvsp[(4) - (5)].interm.intermTypedNode), size)) -+ context->recover(); -+ type.setArraySize(size); -+ TIntermSymbol* symbol = context->intermediate.addSymbol(0, *(yyvsp[(2) - (5)].lex).string, type, (yyvsp[(2) - (5)].lex).line); -+ (yyval.interm).intermAggregate = context->intermediate.makeAggregate(symbol, (yyvsp[(2) - (5)].lex).line); -+ -+ if (context->structQualifierErrorCheck((yyvsp[(2) - (5)].lex).line, (yyvsp[(1) - (5)].interm.type))) -+ context->recover(); -+ -+ if (context->nonInitConstErrorCheck((yyvsp[(2) - (5)].lex).line, *(yyvsp[(2) - (5)].lex).string, (yyvsp[(1) - (5)].interm.type), true)) -+ context->recover(); -+ -+ (yyval.interm).type = (yyvsp[(1) - (5)].interm.type); -+ -+ if (context->arrayTypeErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(1) - (5)].interm.type)) || context->arrayQualifierErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(1) - (5)].interm.type))) -+ context->recover(); -+ else { -+ int size; -+ if (context->arraySizeErrorCheck((yyvsp[(3) - (5)].lex).line, (yyvsp[(4) - (5)].interm.intermTypedNode), size)) -+ context->recover(); -+ -+ (yyvsp[(1) - (5)].interm.type).setArray(true, size); -+ TVariable* variable = 0; -+ if (context->arrayErrorCheck((yyvsp[(3) - (5)].lex).line, *(yyvsp[(2) - (5)].lex).string, (yyvsp[(1) - (5)].interm.type), variable)) -+ context->recover(); -+ if (variable && symbol) -+ symbol->setId(variable->getUniqueId()); -+ } -+ ;} -+ break; -+ -+ case 100: -+ -+ { -+ if (context->structQualifierErrorCheck((yyvsp[(2) - (4)].lex).line, (yyvsp[(1) - (4)].interm.type))) -+ context->recover(); -+ -+ (yyval.interm).type = (yyvsp[(1) - (4)].interm.type); -+ -+ TIntermNode* intermNode; -+ if (!context->executeInitializer((yyvsp[(2) - (4)].lex).line, *(yyvsp[(2) - (4)].lex).string, (yyvsp[(1) - (4)].interm.type), (yyvsp[(4) - (4)].interm.intermTypedNode), intermNode)) { -+ // -+ // Build intermediate representation -+ // -+ if(intermNode) -+ (yyval.interm).intermAggregate = context->intermediate.makeAggregate(intermNode, (yyvsp[(3) - (4)].lex).line); -+ else -+ (yyval.interm).intermAggregate = 0; -+ } else { -+ context->recover(); -+ (yyval.interm).intermAggregate = 0; -+ } -+ ;} -+ break; -+ -+ case 101: -+ -+ { -+ VERTEX_ONLY("invariant declaration", (yyvsp[(1) - (2)].lex).line); -+ if (context->globalErrorCheck((yyvsp[(1) - (2)].lex).line, context->symbolTable.atGlobalLevel(), "invariant varying")) -+ context->recover(); -+ (yyval.interm).type.setBasic(EbtInvariant, EvqInvariantVaryingOut, (yyvsp[(2) - (2)].lex).line); -+ if (!(yyvsp[(2) - (2)].lex).symbol) -+ { -+ context->error((yyvsp[(2) - (2)].lex).line, "undeclared identifier declared as invariant", (yyvsp[(2) - (2)].lex).string->c_str()); -+ context->recover(); -+ -+ (yyval.interm).intermAggregate = 0; -+ } -+ else -+ { -+ TIntermSymbol *symbol = context->intermediate.addSymbol(0, *(yyvsp[(2) - (2)].lex).string, TType((yyval.interm).type), (yyvsp[(2) - (2)].lex).line); -+ (yyval.interm).intermAggregate = context->intermediate.makeAggregate(symbol, (yyvsp[(2) - (2)].lex).line); -+ } -+ ;} -+ break; -+ -+ case 102: -+ -+ { -+ (yyval.interm.type) = (yyvsp[(1) - (1)].interm.type); -+ -+ if ((yyvsp[(1) - (1)].interm.type).array) { -+ context->error((yyvsp[(1) - (1)].interm.type).line, "not supported", "first-class array"); -+ context->recover(); -+ (yyvsp[(1) - (1)].interm.type).setArray(false); -+ } -+ ;} -+ break; -+ -+ case 103: -+ -+ { -+ if ((yyvsp[(2) - (2)].interm.type).array) { -+ context->error((yyvsp[(2) - (2)].interm.type).line, "not supported", "first-class array"); -+ context->recover(); -+ (yyvsp[(2) - (2)].interm.type).setArray(false); -+ } -+ -+ if ((yyvsp[(1) - (2)].interm.type).qualifier == EvqAttribute && -+ ((yyvsp[(2) - (2)].interm.type).type == EbtBool || (yyvsp[(2) - (2)].interm.type).type == EbtInt)) { -+ context->error((yyvsp[(2) - (2)].interm.type).line, "cannot be bool or int", getQualifierString((yyvsp[(1) - (2)].interm.type).qualifier)); -+ context->recover(); -+ } -+ if (((yyvsp[(1) - (2)].interm.type).qualifier == EvqVaryingIn || (yyvsp[(1) - (2)].interm.type).qualifier == EvqVaryingOut) && -+ ((yyvsp[(2) - (2)].interm.type).type == EbtBool || (yyvsp[(2) - (2)].interm.type).type == EbtInt)) { -+ context->error((yyvsp[(2) - (2)].interm.type).line, "cannot be bool or int", getQualifierString((yyvsp[(1) - (2)].interm.type).qualifier)); -+ context->recover(); -+ } -+ (yyval.interm.type) = (yyvsp[(2) - (2)].interm.type); -+ (yyval.interm.type).qualifier = (yyvsp[(1) - (2)].interm.type).qualifier; -+ ;} -+ break; -+ -+ case 104: -+ -+ { -+ (yyval.interm.type).setBasic(EbtVoid, EvqConst, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 105: -+ -+ { -+ VERTEX_ONLY("attribute", (yyvsp[(1) - (1)].lex).line); -+ if (context->globalErrorCheck((yyvsp[(1) - (1)].lex).line, context->symbolTable.atGlobalLevel(), "attribute")) -+ context->recover(); -+ (yyval.interm.type).setBasic(EbtVoid, EvqAttribute, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 106: -+ -+ { -+ if (context->globalErrorCheck((yyvsp[(1) - (1)].lex).line, context->symbolTable.atGlobalLevel(), "varying")) -+ context->recover(); -+ if (context->shaderType == SH_VERTEX_SHADER) -+ (yyval.interm.type).setBasic(EbtVoid, EvqVaryingOut, (yyvsp[(1) - (1)].lex).line); -+ else -+ (yyval.interm.type).setBasic(EbtVoid, EvqVaryingIn, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 107: -+ -+ { -+ if (context->globalErrorCheck((yyvsp[(1) - (2)].lex).line, context->symbolTable.atGlobalLevel(), "invariant varying")) -+ context->recover(); -+ if (context->shaderType == SH_VERTEX_SHADER) -+ (yyval.interm.type).setBasic(EbtVoid, EvqInvariantVaryingOut, (yyvsp[(1) - (2)].lex).line); -+ else -+ (yyval.interm.type).setBasic(EbtVoid, EvqInvariantVaryingIn, (yyvsp[(1) - (2)].lex).line); -+ ;} -+ break; -+ -+ case 108: -+ -+ { -+ if (context->globalErrorCheck((yyvsp[(1) - (1)].lex).line, context->symbolTable.atGlobalLevel(), "uniform")) -+ context->recover(); -+ (yyval.interm.type).setBasic(EbtVoid, EvqUniform, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 109: -+ -+ { -+ (yyval.interm.type) = (yyvsp[(1) - (1)].interm.type); -+ -+ if ((yyval.interm.type).precision == EbpUndefined) { -+ (yyval.interm.type).precision = context->symbolTable.getDefaultPrecision((yyvsp[(1) - (1)].interm.type).type); -+ if (context->precisionErrorCheck((yyvsp[(1) - (1)].interm.type).line, (yyval.interm.type).precision, (yyvsp[(1) - (1)].interm.type).type)) { -+ context->recover(); -+ } -+ } -+ ;} -+ break; -+ -+ case 110: -+ -+ { -+ (yyval.interm.type) = (yyvsp[(2) - (2)].interm.type); -+ (yyval.interm.type).precision = (yyvsp[(1) - (2)].interm.precision); -+ ;} -+ break; -+ -+ case 111: -+ -+ { -+ (yyval.interm.precision) = EbpHigh; -+ ;} -+ break; -+ -+ case 112: -+ -+ { -+ (yyval.interm.precision) = EbpMedium; -+ ;} -+ break; -+ -+ case 113: -+ -+ { -+ (yyval.interm.precision) = EbpLow; -+ ;} -+ break; -+ -+ case 114: -+ -+ { -+ (yyval.interm.type) = (yyvsp[(1) - (1)].interm.type); -+ ;} -+ break; -+ -+ case 115: -+ -+ { -+ (yyval.interm.type) = (yyvsp[(1) - (4)].interm.type); -+ -+ if (context->arrayTypeErrorCheck((yyvsp[(2) - (4)].lex).line, (yyvsp[(1) - (4)].interm.type))) -+ context->recover(); -+ else { -+ int size; -+ if (context->arraySizeErrorCheck((yyvsp[(2) - (4)].lex).line, (yyvsp[(3) - (4)].interm.intermTypedNode), size)) -+ context->recover(); -+ (yyval.interm.type).setArray(true, size); -+ } -+ ;} -+ break; -+ -+ case 116: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtVoid, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 117: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 118: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 119: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtBool, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 120: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(2); -+ ;} -+ break; -+ -+ case 121: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(3); -+ ;} -+ break; -+ -+ case 122: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(4); -+ ;} -+ break; -+ -+ case 123: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtBool, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(2); -+ ;} -+ break; -+ -+ case 124: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtBool, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(3); -+ ;} -+ break; -+ -+ case 125: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtBool, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(4); -+ ;} -+ break; -+ -+ case 126: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(2); -+ ;} -+ break; -+ -+ case 127: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(3); -+ ;} -+ break; -+ -+ case 128: -+ -+ { -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtInt, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(4); -+ ;} -+ break; -+ -+ case 129: -+ -+ { -+ FRAG_VERT_ONLY("mat2", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(2, true); -+ ;} -+ break; -+ -+ case 130: -+ -+ { -+ FRAG_VERT_ONLY("mat3", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(3, true); -+ ;} -+ break; -+ -+ case 131: -+ -+ { -+ FRAG_VERT_ONLY("mat4", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtFloat, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).setAggregate(4, true); -+ ;} -+ break; -+ -+ case 132: -+ -+ { -+ FRAG_VERT_ONLY("sampler2D", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtSampler2D, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 133: -+ -+ { -+ FRAG_VERT_ONLY("samplerCube", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtSamplerCube, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 134: -+ -+ { -+ if (!context->supportsExtension("GL_OES_EGL_image_external")) { -+ context->error((yyvsp[(1) - (1)].lex).line, "unsupported type", "samplerExternalOES"); -+ context->recover(); -+ } -+ FRAG_VERT_ONLY("samplerExternalOES", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtSamplerExternalOES, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 135: -+ -+ { -+ if (!context->supportsExtension("GL_ARB_texture_rectangle")) { -+ context->error((yyvsp[(1) - (1)].lex).line, "unsupported type", "sampler2DRect"); -+ context->recover(); -+ } -+ FRAG_VERT_ONLY("sampler2DRect", (yyvsp[(1) - (1)].lex).line); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtSampler2DRect, qual, (yyvsp[(1) - (1)].lex).line); -+ ;} -+ break; -+ -+ case 136: -+ -+ { -+ FRAG_VERT_ONLY("struct", (yyvsp[(1) - (1)].interm.type).line); -+ (yyval.interm.type) = (yyvsp[(1) - (1)].interm.type); -+ (yyval.interm.type).qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ ;} -+ break; -+ -+ case 137: -+ -+ { -+ // -+ // This is for user defined type names. The lexical phase looked up the -+ // type. -+ // -+ TType& structure = static_cast<TVariable*>((yyvsp[(1) - (1)].lex).symbol)->getType(); -+ TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; -+ (yyval.interm.type).setBasic(EbtStruct, qual, (yyvsp[(1) - (1)].lex).line); -+ (yyval.interm.type).userDef = &structure; -+ ;} -+ break; -+ -+ case 138: -+ -+ { if (context->enterStructDeclaration((yyvsp[(2) - (3)].lex).line, *(yyvsp[(2) - (3)].lex).string)) context->recover(); ;} -+ break; -+ -+ case 139: -+ -+ { -+ if (context->reservedErrorCheck((yyvsp[(2) - (6)].lex).line, *(yyvsp[(2) - (6)].lex).string)) -+ context->recover(); -+ -+ TType* structure = new TType((yyvsp[(5) - (6)].interm.typeList), *(yyvsp[(2) - (6)].lex).string); -+ TVariable* userTypeDef = new TVariable((yyvsp[(2) - (6)].lex).string, *structure, true); -+ if (! context->symbolTable.insert(*userTypeDef)) { -+ context->error((yyvsp[(2) - (6)].lex).line, "redefinition", (yyvsp[(2) - (6)].lex).string->c_str(), "struct"); -+ context->recover(); -+ } -+ (yyval.interm.type).setBasic(EbtStruct, EvqTemporary, (yyvsp[(1) - (6)].lex).line); -+ (yyval.interm.type).userDef = structure; -+ context->exitStructDeclaration(); -+ ;} -+ break; -+ -+ case 140: -+ -+ { if (context->enterStructDeclaration((yyvsp[(2) - (2)].lex).line, *(yyvsp[(2) - (2)].lex).string)) context->recover(); ;} -+ break; -+ -+ case 141: -+ -+ { -+ TType* structure = new TType((yyvsp[(4) - (5)].interm.typeList), TString("")); -+ (yyval.interm.type).setBasic(EbtStruct, EvqTemporary, (yyvsp[(1) - (5)].lex).line); -+ (yyval.interm.type).userDef = structure; -+ context->exitStructDeclaration(); -+ ;} -+ break; -+ -+ case 142: -+ -+ { -+ (yyval.interm.typeList) = (yyvsp[(1) - (1)].interm.typeList); -+ ;} -+ break; -+ -+ case 143: -+ -+ { -+ (yyval.interm.typeList) = (yyvsp[(1) - (2)].interm.typeList); -+ for (unsigned int i = 0; i < (yyvsp[(2) - (2)].interm.typeList)->size(); ++i) { -+ for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) { -+ if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[(2) - (2)].interm.typeList))[i].type->getFieldName()) { -+ context->error((*(yyvsp[(2) - (2)].interm.typeList))[i].line, "duplicate field name in structure:", "struct", (*(yyvsp[(2) - (2)].interm.typeList))[i].type->getFieldName().c_str()); -+ context->recover(); -+ } -+ } -+ (yyval.interm.typeList)->push_back((*(yyvsp[(2) - (2)].interm.typeList))[i]); -+ } -+ ;} -+ break; -+ -+ case 144: -+ -+ { -+ (yyval.interm.typeList) = (yyvsp[(2) - (3)].interm.typeList); -+ -+ if (context->voidErrorCheck((yyvsp[(1) - (3)].interm.type).line, (*(yyvsp[(2) - (3)].interm.typeList))[0].type->getFieldName(), (yyvsp[(1) - (3)].interm.type))) { -+ context->recover(); -+ } -+ for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) { -+ // -+ // Careful not to replace already known aspects of type, like array-ness -+ // -+ TType* type = (*(yyval.interm.typeList))[i].type; -+ type->setBasicType((yyvsp[(1) - (3)].interm.type).type); -+ type->setNominalSize((yyvsp[(1) - (3)].interm.type).size); -+ type->setMatrix((yyvsp[(1) - (3)].interm.type).matrix); -+ type->setPrecision((yyvsp[(1) - (3)].interm.type).precision); -+ -+ // don't allow arrays of arrays -+ if (type->isArray()) { -+ if (context->arrayTypeErrorCheck((yyvsp[(1) - (3)].interm.type).line, (yyvsp[(1) - (3)].interm.type))) -+ context->recover(); -+ } -+ if ((yyvsp[(1) - (3)].interm.type).array) -+ type->setArraySize((yyvsp[(1) - (3)].interm.type).arraySize); -+ if ((yyvsp[(1) - (3)].interm.type).userDef) { -+ type->setStruct((yyvsp[(1) - (3)].interm.type).userDef->getStruct()); -+ type->setTypeName((yyvsp[(1) - (3)].interm.type).userDef->getTypeName()); -+ } -+ -+ if (context->structNestingErrorCheck((yyvsp[(1) - (3)].interm.type).line, *type)) { -+ context->recover(); -+ } -+ } -+ ;} -+ break; -+ -+ case 145: -+ -+ { -+ (yyval.interm.typeList) = NewPoolTTypeList(); -+ (yyval.interm.typeList)->push_back((yyvsp[(1) - (1)].interm.typeLine)); -+ ;} -+ break; -+ -+ case 146: -+ -+ { -+ (yyval.interm.typeList)->push_back((yyvsp[(3) - (3)].interm.typeLine)); -+ ;} -+ break; -+ -+ case 147: -+ -+ { -+ if (context->reservedErrorCheck((yyvsp[(1) - (1)].lex).line, *(yyvsp[(1) - (1)].lex).string)) -+ context->recover(); -+ -+ (yyval.interm.typeLine).type = new TType(EbtVoid, EbpUndefined); -+ (yyval.interm.typeLine).line = (yyvsp[(1) - (1)].lex).line; -+ (yyval.interm.typeLine).type->setFieldName(*(yyvsp[(1) - (1)].lex).string); -+ ;} -+ break; -+ -+ case 148: -+ -+ { -+ if (context->reservedErrorCheck((yyvsp[(1) - (4)].lex).line, *(yyvsp[(1) - (4)].lex).string)) -+ context->recover(); -+ -+ (yyval.interm.typeLine).type = new TType(EbtVoid, EbpUndefined); -+ (yyval.interm.typeLine).line = (yyvsp[(1) - (4)].lex).line; -+ (yyval.interm.typeLine).type->setFieldName(*(yyvsp[(1) - (4)].lex).string); -+ -+ int size; -+ if (context->arraySizeErrorCheck((yyvsp[(2) - (4)].lex).line, (yyvsp[(3) - (4)].interm.intermTypedNode), size)) -+ context->recover(); -+ (yyval.interm.typeLine).type->setArraySize(size); -+ ;} -+ break; -+ -+ case 149: -+ -+ { (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); ;} -+ break; -+ -+ case 150: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 151: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermAggregate); ;} -+ break; -+ -+ case 152: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 153: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 154: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 155: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 156: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 157: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 158: -+ -+ { (yyval.interm.intermAggregate) = 0; ;} -+ break; -+ -+ case 159: -+ -+ { context->symbolTable.push(); ;} -+ break; -+ -+ case 160: -+ -+ { context->symbolTable.pop(); ;} -+ break; -+ -+ case 161: -+ -+ { -+ if ((yyvsp[(3) - (5)].interm.intermAggregate) != 0) { -+ (yyvsp[(3) - (5)].interm.intermAggregate)->setOp(EOpSequence); -+ (yyvsp[(3) - (5)].interm.intermAggregate)->setEndLine((yyvsp[(5) - (5)].lex).line); -+ } -+ (yyval.interm.intermAggregate) = (yyvsp[(3) - (5)].interm.intermAggregate); -+ ;} -+ break; -+ -+ case 162: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 163: -+ -+ { (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); ;} -+ break; -+ -+ case 164: -+ -+ { context->symbolTable.push(); ;} -+ break; -+ -+ case 165: -+ -+ { context->symbolTable.pop(); (yyval.interm.intermNode) = (yyvsp[(2) - (2)].interm.intermNode); ;} -+ break; -+ -+ case 166: -+ -+ { context->symbolTable.push(); ;} -+ break; -+ -+ case 167: -+ -+ { context->symbolTable.pop(); (yyval.interm.intermNode) = (yyvsp[(2) - (2)].interm.intermNode); ;} -+ break; -+ -+ case 168: -+ -+ { -+ (yyval.interm.intermNode) = 0; -+ ;} -+ break; -+ -+ case 169: -+ -+ { -+ if ((yyvsp[(2) - (3)].interm.intermAggregate)) { -+ (yyvsp[(2) - (3)].interm.intermAggregate)->setOp(EOpSequence); -+ (yyvsp[(2) - (3)].interm.intermAggregate)->setEndLine((yyvsp[(3) - (3)].lex).line); -+ } -+ (yyval.interm.intermNode) = (yyvsp[(2) - (3)].interm.intermAggregate); -+ ;} -+ break; -+ -+ case 170: -+ -+ { -+ (yyval.interm.intermAggregate) = context->intermediate.makeAggregate((yyvsp[(1) - (1)].interm.intermNode), 0); -+ ;} -+ break; -+ -+ case 171: -+ -+ { -+ (yyval.interm.intermAggregate) = context->intermediate.growAggregate((yyvsp[(1) - (2)].interm.intermAggregate), (yyvsp[(2) - (2)].interm.intermNode), 0); -+ ;} -+ break; -+ -+ case 172: -+ -+ { (yyval.interm.intermNode) = 0; ;} -+ break; -+ -+ case 173: -+ -+ { (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[(1) - (2)].interm.intermTypedNode)); ;} -+ break; -+ -+ case 174: -+ -+ { -+ if (context->boolErrorCheck((yyvsp[(1) - (5)].lex).line, (yyvsp[(3) - (5)].interm.intermTypedNode))) -+ context->recover(); -+ (yyval.interm.intermNode) = context->intermediate.addSelection((yyvsp[(3) - (5)].interm.intermTypedNode), (yyvsp[(5) - (5)].interm.nodePair), (yyvsp[(1) - (5)].lex).line); -+ ;} -+ break; -+ -+ case 175: -+ -+ { -+ (yyval.interm.nodePair).node1 = (yyvsp[(1) - (3)].interm.intermNode); -+ (yyval.interm.nodePair).node2 = (yyvsp[(3) - (3)].interm.intermNode); -+ ;} -+ break; -+ -+ case 176: -+ -+ { -+ (yyval.interm.nodePair).node1 = (yyvsp[(1) - (1)].interm.intermNode); -+ (yyval.interm.nodePair).node2 = 0; -+ ;} -+ break; -+ -+ case 177: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ if (context->boolErrorCheck((yyvsp[(1) - (1)].interm.intermTypedNode)->getLine(), (yyvsp[(1) - (1)].interm.intermTypedNode))) -+ context->recover(); -+ ;} -+ break; -+ -+ case 178: -+ -+ { -+ TIntermNode* intermNode; -+ if (context->structQualifierErrorCheck((yyvsp[(2) - (4)].lex).line, (yyvsp[(1) - (4)].interm.type))) -+ context->recover(); -+ if (context->boolErrorCheck((yyvsp[(2) - (4)].lex).line, (yyvsp[(1) - (4)].interm.type))) -+ context->recover(); -+ -+ if (!context->executeInitializer((yyvsp[(2) - (4)].lex).line, *(yyvsp[(2) - (4)].lex).string, (yyvsp[(1) - (4)].interm.type), (yyvsp[(4) - (4)].interm.intermTypedNode), intermNode)) -+ (yyval.interm.intermTypedNode) = (yyvsp[(4) - (4)].interm.intermTypedNode); -+ else { -+ context->recover(); -+ (yyval.interm.intermTypedNode) = 0; -+ } -+ ;} -+ break; -+ -+ case 179: -+ -+ { context->symbolTable.push(); ++context->loopNestingLevel; ;} -+ break; -+ -+ case 180: -+ -+ { -+ context->symbolTable.pop(); -+ (yyval.interm.intermNode) = context->intermediate.addLoop(ELoopWhile, 0, (yyvsp[(4) - (6)].interm.intermTypedNode), 0, (yyvsp[(6) - (6)].interm.intermNode), (yyvsp[(1) - (6)].lex).line); -+ --context->loopNestingLevel; -+ ;} -+ break; -+ -+ case 181: -+ -+ { ++context->loopNestingLevel; ;} -+ break; -+ -+ case 182: -+ -+ { -+ if (context->boolErrorCheck((yyvsp[(8) - (8)].lex).line, (yyvsp[(6) - (8)].interm.intermTypedNode))) -+ context->recover(); -+ -+ (yyval.interm.intermNode) = context->intermediate.addLoop(ELoopDoWhile, 0, (yyvsp[(6) - (8)].interm.intermTypedNode), 0, (yyvsp[(3) - (8)].interm.intermNode), (yyvsp[(4) - (8)].lex).line); -+ --context->loopNestingLevel; -+ ;} -+ break; -+ -+ case 183: -+ -+ { context->symbolTable.push(); ++context->loopNestingLevel; ;} -+ break; -+ -+ case 184: -+ -+ { -+ context->symbolTable.pop(); -+ (yyval.interm.intermNode) = context->intermediate.addLoop(ELoopFor, (yyvsp[(4) - (7)].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[(5) - (7)].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[(5) - (7)].interm.nodePair).node2), (yyvsp[(7) - (7)].interm.intermNode), (yyvsp[(1) - (7)].lex).line); -+ --context->loopNestingLevel; -+ ;} -+ break; -+ -+ case 185: -+ -+ { -+ (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); -+ ;} -+ break; -+ -+ case 186: -+ -+ { -+ (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); -+ ;} -+ break; -+ -+ case 187: -+ -+ { -+ (yyval.interm.intermTypedNode) = (yyvsp[(1) - (1)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 188: -+ -+ { -+ (yyval.interm.intermTypedNode) = 0; -+ ;} -+ break; -+ -+ case 189: -+ -+ { -+ (yyval.interm.nodePair).node1 = (yyvsp[(1) - (2)].interm.intermTypedNode); -+ (yyval.interm.nodePair).node2 = 0; -+ ;} -+ break; -+ -+ case 190: -+ -+ { -+ (yyval.interm.nodePair).node1 = (yyvsp[(1) - (3)].interm.intermTypedNode); -+ (yyval.interm.nodePair).node2 = (yyvsp[(3) - (3)].interm.intermTypedNode); -+ ;} -+ break; -+ -+ case 191: -+ -+ { -+ if (context->loopNestingLevel <= 0) { -+ context->error((yyvsp[(1) - (2)].lex).line, "continue statement only allowed in loops", ""); -+ context->recover(); -+ } -+ (yyval.interm.intermNode) = context->intermediate.addBranch(EOpContinue, (yyvsp[(1) - (2)].lex).line); -+ ;} -+ break; -+ -+ case 192: -+ -+ { -+ if (context->loopNestingLevel <= 0) { -+ context->error((yyvsp[(1) - (2)].lex).line, "break statement only allowed in loops", ""); -+ context->recover(); -+ } -+ (yyval.interm.intermNode) = context->intermediate.addBranch(EOpBreak, (yyvsp[(1) - (2)].lex).line); -+ ;} -+ break; -+ -+ case 193: -+ -+ { -+ (yyval.interm.intermNode) = context->intermediate.addBranch(EOpReturn, (yyvsp[(1) - (2)].lex).line); -+ if (context->currentFunctionType->getBasicType() != EbtVoid) { -+ context->error((yyvsp[(1) - (2)].lex).line, "non-void function must return a value", "return"); -+ context->recover(); -+ } -+ ;} -+ break; -+ -+ case 194: -+ -+ { -+ (yyval.interm.intermNode) = context->intermediate.addBranch(EOpReturn, (yyvsp[(2) - (3)].interm.intermTypedNode), (yyvsp[(1) - (3)].lex).line); -+ context->functionReturnsValue = true; -+ if (context->currentFunctionType->getBasicType() == EbtVoid) { -+ context->error((yyvsp[(1) - (3)].lex).line, "void function cannot return a value", "return"); -+ context->recover(); -+ } else if (*(context->currentFunctionType) != (yyvsp[(2) - (3)].interm.intermTypedNode)->getType()) { -+ context->error((yyvsp[(1) - (3)].lex).line, "function return is not matching type:", "return"); -+ context->recover(); -+ } -+ ;} -+ break; -+ -+ case 195: -+ -+ { -+ FRAG_ONLY("discard", (yyvsp[(1) - (2)].lex).line); -+ (yyval.interm.intermNode) = context->intermediate.addBranch(EOpKill, (yyvsp[(1) - (2)].lex).line); -+ ;} -+ break; -+ -+ case 196: -+ -+ { -+ (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); -+ context->treeRoot = (yyval.interm.intermNode); -+ ;} -+ break; -+ -+ case 197: -+ -+ { -+ (yyval.interm.intermNode) = context->intermediate.growAggregate((yyvsp[(1) - (2)].interm.intermNode), (yyvsp[(2) - (2)].interm.intermNode), 0); -+ context->treeRoot = (yyval.interm.intermNode); -+ ;} -+ break; -+ -+ case 198: -+ -+ { -+ (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); -+ ;} -+ break; -+ -+ case 199: -+ -+ { -+ (yyval.interm.intermNode) = (yyvsp[(1) - (1)].interm.intermNode); -+ ;} -+ break; -+ -+ case 200: -+ -+ { -+ TFunction* function = (yyvsp[(1) - (1)].interm).function; -+ -+ const TSymbol *builtIn = context->symbolTable.findBuiltIn(function->getMangledName()); -+ -+ if (builtIn) -+ { -+ context->error((yyvsp[(1) - (1)].interm).line, "built-in functions cannot be redefined", function->getName().c_str()); -+ context->recover(); -+ } -+ -+ TFunction* prevDec = static_cast<TFunction*>(context->symbolTable.find(function->getMangledName())); -+ // -+ // Note: 'prevDec' could be 'function' if this is the first time we've seen function -+ // as it would have just been put in the symbol table. Otherwise, we're looking up -+ // an earlier occurance. -+ // -+ if (prevDec->isDefined()) { -+ // -+ // Then this function already has a body. -+ // -+ context->error((yyvsp[(1) - (1)].interm).line, "function already has a body", function->getName().c_str()); -+ context->recover(); -+ } -+ prevDec->setDefined(); -+ -+ // -+ // Raise error message if main function takes any parameters or return anything other than void -+ // -+ if (function->getName() == "main") { -+ if (function->getParamCount() > 0) { -+ context->error((yyvsp[(1) - (1)].interm).line, "function cannot take any parameter(s)", function->getName().c_str()); -+ context->recover(); -+ } -+ if (function->getReturnType().getBasicType() != EbtVoid) { -+ context->error((yyvsp[(1) - (1)].interm).line, "", function->getReturnType().getBasicString(), "main function cannot return a value"); -+ context->recover(); -+ } -+ } -+ -+ // -+ // Remember the return type for later checking for RETURN statements. -+ // -+ context->currentFunctionType = &(prevDec->getReturnType()); -+ context->functionReturnsValue = false; -+ -+ // -+ // Insert parameters into the symbol table. -+ // If the parameter has no name, it's not an error, just don't insert it -+ // (could be used for unused args). -+ // -+ // Also, accumulate the list of parameters into the HIL, so lower level code -+ // knows where to find parameters. -+ // -+ TIntermAggregate* paramNodes = new TIntermAggregate; -+ for (int i = 0; i < function->getParamCount(); i++) { -+ const TParameter& param = function->getParam(i); -+ if (param.name != 0) { -+ TVariable *variable = new TVariable(param.name, *param.type); -+ // -+ // Insert the parameters with name in the symbol table. -+ // -+ if (! context->symbolTable.insert(*variable)) { -+ context->error((yyvsp[(1) - (1)].interm).line, "redefinition", variable->getName().c_str()); -+ context->recover(); -+ delete variable; -+ } -+ -+ // -+ // Add the parameter to the HIL -+ // -+ paramNodes = context->intermediate.growAggregate( -+ paramNodes, -+ context->intermediate.addSymbol(variable->getUniqueId(), -+ variable->getName(), -+ variable->getType(), (yyvsp[(1) - (1)].interm).line), -+ (yyvsp[(1) - (1)].interm).line); -+ } else { -+ paramNodes = context->intermediate.growAggregate(paramNodes, context->intermediate.addSymbol(0, "", *param.type, (yyvsp[(1) - (1)].interm).line), (yyvsp[(1) - (1)].interm).line); -+ } -+ } -+ context->intermediate.setAggregateOperator(paramNodes, EOpParameters, (yyvsp[(1) - (1)].interm).line); -+ (yyvsp[(1) - (1)].interm).intermAggregate = paramNodes; -+ context->loopNestingLevel = 0; -+ ;} -+ break; -+ -+ case 201: -+ -+ { -+ //?? Check that all paths return a value if return type != void ? -+ // May be best done as post process phase on intermediate code -+ if (context->currentFunctionType->getBasicType() != EbtVoid && ! context->functionReturnsValue) { -+ context->error((yyvsp[(1) - (3)].interm).line, "function does not return a value:", "", (yyvsp[(1) - (3)].interm).function->getName().c_str()); -+ context->recover(); -+ } -+ -+ (yyval.interm.intermNode) = context->intermediate.growAggregate((yyvsp[(1) - (3)].interm).intermAggregate, (yyvsp[(3) - (3)].interm.intermNode), 0); -+ context->intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[(1) - (3)].interm).line); -+ (yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[(1) - (3)].interm).function->getMangledName().c_str()); -+ (yyval.interm.intermNode)->getAsAggregate()->setType((yyvsp[(1) - (3)].interm).function->getReturnType()); -+ -+ // store the pragma information for debug and optimize and other vendor specific -+ // information. This information can be queried from the parse tree -+ (yyval.interm.intermNode)->getAsAggregate()->setOptimize(context->pragma().optimize); -+ (yyval.interm.intermNode)->getAsAggregate()->setDebug(context->pragma().debug); -+ -+ if ((yyvsp[(3) - (3)].interm.intermNode) && (yyvsp[(3) - (3)].interm.intermNode)->getAsAggregate()) -+ (yyval.interm.intermNode)->getAsAggregate()->setEndLine((yyvsp[(3) - (3)].interm.intermNode)->getAsAggregate()->getEndLine()); -+ -+ context->symbolTable.pop(); -+ ;} -+ break; -+ -+ -+/* Line 1267 of yacc.c. */ -+ -+ default: break; -+ } -+ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); -+ -+ YYPOPSTACK (yylen); -+ yylen = 0; -+ YY_STACK_PRINT (yyss, yyssp); -+ -+ *++yyvsp = yyval; -+ -+ -+ /* Now `shift' the result of the reduction. Determine what state -+ that goes to, based on the state we popped back to and the rule -+ number reduced by. */ -+ -+ yyn = yyr1[yyn]; -+ -+ yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; -+ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) -+ yystate = yytable[yystate]; -+ else -+ yystate = yydefgoto[yyn - YYNTOKENS]; -+ -+ goto yynewstate; -+ -+ -+/*------------------------------------. -+| yyerrlab -- here on detecting error | -+`------------------------------------*/ -+yyerrlab: -+ /* If not already recovering from an error, report this error. */ -+ if (!yyerrstatus) -+ { -+ ++yynerrs; -+#if ! YYERROR_VERBOSE -+ yyerror (context, YY_("syntax error")); -+#else -+ { -+ YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); -+ if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) -+ { -+ YYSIZE_T yyalloc = 2 * yysize; -+ if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) -+ yyalloc = YYSTACK_ALLOC_MAXIMUM; -+ if (yymsg != yymsgbuf) -+ YYSTACK_FREE (yymsg); -+ yymsg = (char *) YYSTACK_ALLOC (yyalloc); -+ if (yymsg) -+ yymsg_alloc = yyalloc; -+ else -+ { -+ yymsg = yymsgbuf; -+ yymsg_alloc = sizeof yymsgbuf; -+ } -+ } -+ -+ if (0 < yysize && yysize <= yymsg_alloc) -+ { -+ (void) yysyntax_error (yymsg, yystate, yychar); -+ yyerror (context, yymsg); -+ } -+ else -+ { -+ yyerror (context, YY_("syntax error")); -+ if (yysize != 0) -+ goto yyexhaustedlab; -+ } -+ } -+#endif -+ } -+ -+ -+ -+ if (yyerrstatus == 3) -+ { -+ /* If just tried and failed to reuse look-ahead token after an -+ error, discard it. */ -+ -+ if (yychar <= YYEOF) -+ { -+ /* Return failure if at end of input. */ -+ if (yychar == YYEOF) -+ YYABORT; -+ } -+ else -+ { -+ yydestruct ("Error: discarding", -+ yytoken, &yylval, context); -+ yychar = YYEMPTY; -+ } -+ } -+ -+ /* Else will try to reuse look-ahead token after shifting the error -+ token. */ -+ goto yyerrlab1; -+ -+ -+/*---------------------------------------------------. -+| yyerrorlab -- error raised explicitly by YYERROR. | -+`---------------------------------------------------*/ -+yyerrorlab: -+ -+ /* Pacify compilers like GCC when the user code never invokes -+ YYERROR and the label yyerrorlab therefore never appears in user -+ code. */ -+ if (/*CONSTCOND*/ 0) -+ goto yyerrorlab; -+ -+ /* Do not reclaim the symbols of the rule which action triggered -+ this YYERROR. */ -+ YYPOPSTACK (yylen); -+ yylen = 0; -+ YY_STACK_PRINT (yyss, yyssp); -+ yystate = *yyssp; -+ goto yyerrlab1; -+ -+ -+/*-------------------------------------------------------------. -+| yyerrlab1 -- common code for both syntax error and YYERROR. | -+`-------------------------------------------------------------*/ -+yyerrlab1: -+ yyerrstatus = 3; /* Each real token shifted decrements this. */ -+ -+ for (;;) -+ { -+ yyn = yypact[yystate]; -+ if (yyn != YYPACT_NINF) -+ { -+ yyn += YYTERROR; -+ if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) -+ { -+ yyn = yytable[yyn]; -+ if (0 < yyn) -+ break; -+ } -+ } -+ -+ /* Pop the current state because it cannot handle the error token. */ -+ if (yyssp == yyss) -+ YYABORT; -+ -+ -+ yydestruct ("Error: popping", -+ yystos[yystate], yyvsp, context); -+ YYPOPSTACK (1); -+ yystate = *yyssp; -+ YY_STACK_PRINT (yyss, yyssp); -+ } -+ -+ if (yyn == YYFINAL) -+ YYACCEPT; -+ -+ *++yyvsp = yylval; -+ -+ -+ /* Shift the error token. */ -+ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); -+ -+ yystate = yyn; -+ goto yynewstate; -+ -+ -+/*-------------------------------------. -+| yyacceptlab -- YYACCEPT comes here. | -+`-------------------------------------*/ -+yyacceptlab: -+ yyresult = 0; -+ goto yyreturn; -+ -+/*-----------------------------------. -+| yyabortlab -- YYABORT comes here. | -+`-----------------------------------*/ -+yyabortlab: -+ yyresult = 1; -+ goto yyreturn; -+ -+#ifndef yyoverflow -+/*-------------------------------------------------. -+| yyexhaustedlab -- memory exhaustion comes here. | -+`-------------------------------------------------*/ -+yyexhaustedlab: -+ yyerror (context, YY_("memory exhausted")); -+ yyresult = 2; -+ /* Fall through. */ -+#endif -+ -+yyreturn: -+ if (yychar != YYEOF && yychar != YYEMPTY) -+ yydestruct ("Cleanup: discarding lookahead", -+ yytoken, &yylval, context); -+ /* Do not reclaim the symbols of the rule which action triggered -+ this YYABORT or YYACCEPT. */ -+ YYPOPSTACK (yylen); -+ YY_STACK_PRINT (yyss, yyssp); -+ while (yyssp != yyss) -+ { -+ yydestruct ("Cleanup: popping", -+ yystos[*yyssp], yyvsp, context); -+ YYPOPSTACK (1); -+ } -+#ifndef yyoverflow -+ if (yyss != yyssa) -+ YYSTACK_FREE (yyss); -+#endif -+#if YYERROR_VERBOSE -+ if (yymsg != yymsgbuf) -+ YYSTACK_FREE (yymsg); -+#endif -+ /* Make sure YYID is used. */ -+ return YYID (yyresult); -+} -+ -+ -+ -+ -+ -+int glslang_parse(TParseContext* context) { -+ return yyparse(context); -+} -+ -+ -diff --git a/Source/ThirdParty/ANGLE/src/compiler/glslang_tab.h b/Source/ThirdParty/ANGLE/src/compiler/glslang_tab.h -new file mode 100644 -index 0000000..23945b8 ---- /dev/null -+++ b/Source/ThirdParty/ANGLE/src/compiler/glslang_tab.h -@@ -0,0 +1,278 @@ -+/* A Bison parser, made by GNU Bison 2.3. */ -+ -+/* Skeleton interface for Bison's Yacc-like parsers in C -+ -+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 -+ Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 2, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, write to the Free Software -+ Foundation, Inc., 51 Franklin Street, Fifth Floor, -+ Boston, MA 02110-1301, USA. */ -+ -+/* As a special exception, you may create a larger work that contains -+ part or all of the Bison parser skeleton and distribute that work -+ under terms of your choice, so long as that work isn't itself a -+ parser generator using the skeleton or a modified version thereof -+ as a parser skeleton. Alternatively, if you modify or redistribute -+ the parser skeleton itself, you may (at your option) remove this -+ special exception, which will cause the skeleton and the resulting -+ Bison output files to be licensed under the GNU General Public -+ License without this special exception. -+ -+ This special exception was added by the Free Software Foundation in -+ version 2.2 of Bison. */ -+ -+/* Tokens. */ -+#ifndef YYTOKENTYPE -+# define YYTOKENTYPE -+ /* Put the tokens into the symbol table, so that GDB and other debuggers -+ know about them. */ -+ enum yytokentype { -+ INVARIANT = 258, -+ HIGH_PRECISION = 259, -+ MEDIUM_PRECISION = 260, -+ LOW_PRECISION = 261, -+ PRECISION = 262, -+ ATTRIBUTE = 263, -+ CONST_QUAL = 264, -+ BOOL_TYPE = 265, -+ FLOAT_TYPE = 266, -+ INT_TYPE = 267, -+ BREAK = 268, -+ CONTINUE = 269, -+ DO = 270, -+ ELSE = 271, -+ FOR = 272, -+ IF = 273, -+ DISCARD = 274, -+ RETURN = 275, -+ BVEC2 = 276, -+ BVEC3 = 277, -+ BVEC4 = 278, -+ IVEC2 = 279, -+ IVEC3 = 280, -+ IVEC4 = 281, -+ VEC2 = 282, -+ VEC3 = 283, -+ VEC4 = 284, -+ MATRIX2 = 285, -+ MATRIX3 = 286, -+ MATRIX4 = 287, -+ IN_QUAL = 288, -+ OUT_QUAL = 289, -+ INOUT_QUAL = 290, -+ UNIFORM = 291, -+ VARYING = 292, -+ STRUCT = 293, -+ VOID_TYPE = 294, -+ WHILE = 295, -+ SAMPLER2D = 296, -+ SAMPLERCUBE = 297, -+ SAMPLER_EXTERNAL_OES = 298, -+ SAMPLER2DRECT = 299, -+ IDENTIFIER = 300, -+ TYPE_NAME = 301, -+ FLOATCONSTANT = 302, -+ INTCONSTANT = 303, -+ BOOLCONSTANT = 304, -+ FIELD_SELECTION = 305, -+ LEFT_OP = 306, -+ RIGHT_OP = 307, -+ INC_OP = 308, -+ DEC_OP = 309, -+ LE_OP = 310, -+ GE_OP = 311, -+ EQ_OP = 312, -+ NE_OP = 313, -+ AND_OP = 314, -+ OR_OP = 315, -+ XOR_OP = 316, -+ MUL_ASSIGN = 317, -+ DIV_ASSIGN = 318, -+ ADD_ASSIGN = 319, -+ MOD_ASSIGN = 320, -+ LEFT_ASSIGN = 321, -+ RIGHT_ASSIGN = 322, -+ AND_ASSIGN = 323, -+ XOR_ASSIGN = 324, -+ OR_ASSIGN = 325, -+ SUB_ASSIGN = 326, -+ LEFT_PAREN = 327, -+ RIGHT_PAREN = 328, -+ LEFT_BRACKET = 329, -+ RIGHT_BRACKET = 330, -+ LEFT_BRACE = 331, -+ RIGHT_BRACE = 332, -+ DOT = 333, -+ COMMA = 334, -+ COLON = 335, -+ EQUAL = 336, -+ SEMICOLON = 337, -+ BANG = 338, -+ DASH = 339, -+ TILDE = 340, -+ PLUS = 341, -+ STAR = 342, -+ SLASH = 343, -+ PERCENT = 344, -+ LEFT_ANGLE = 345, -+ RIGHT_ANGLE = 346, -+ VERTICAL_BAR = 347, -+ CARET = 348, -+ AMPERSAND = 349, -+ QUESTION = 350 -+ }; -+#endif -+/* Tokens. */ -+#define INVARIANT 258 -+#define HIGH_PRECISION 259 -+#define MEDIUM_PRECISION 260 -+#define LOW_PRECISION 261 -+#define PRECISION 262 -+#define ATTRIBUTE 263 -+#define CONST_QUAL 264 -+#define BOOL_TYPE 265 -+#define FLOAT_TYPE 266 -+#define INT_TYPE 267 -+#define BREAK 268 -+#define CONTINUE 269 -+#define DO 270 -+#define ELSE 271 -+#define FOR 272 -+#define IF 273 -+#define DISCARD 274 -+#define RETURN 275 -+#define BVEC2 276 -+#define BVEC3 277 -+#define BVEC4 278 -+#define IVEC2 279 -+#define IVEC3 280 -+#define IVEC4 281 -+#define VEC2 282 -+#define VEC3 283 -+#define VEC4 284 -+#define MATRIX2 285 -+#define MATRIX3 286 -+#define MATRIX4 287 -+#define IN_QUAL 288 -+#define OUT_QUAL 289 -+#define INOUT_QUAL 290 -+#define UNIFORM 291 -+#define VARYING 292 -+#define STRUCT 293 -+#define VOID_TYPE 294 -+#define WHILE 295 -+#define SAMPLER2D 296 -+#define SAMPLERCUBE 297 -+#define SAMPLER_EXTERNAL_OES 298 -+#define SAMPLER2DRECT 299 -+#define IDENTIFIER 300 -+#define TYPE_NAME 301 -+#define FLOATCONSTANT 302 -+#define INTCONSTANT 303 -+#define BOOLCONSTANT 304 -+#define FIELD_SELECTION 305 -+#define LEFT_OP 306 -+#define RIGHT_OP 307 -+#define INC_OP 308 -+#define DEC_OP 309 -+#define LE_OP 310 -+#define GE_OP 311 -+#define EQ_OP 312 -+#define NE_OP 313 -+#define AND_OP 314 -+#define OR_OP 315 -+#define XOR_OP 316 -+#define MUL_ASSIGN 317 -+#define DIV_ASSIGN 318 -+#define ADD_ASSIGN 319 -+#define MOD_ASSIGN 320 -+#define LEFT_ASSIGN 321 -+#define RIGHT_ASSIGN 322 -+#define AND_ASSIGN 323 -+#define XOR_ASSIGN 324 -+#define OR_ASSIGN 325 -+#define SUB_ASSIGN 326 -+#define LEFT_PAREN 327 -+#define RIGHT_PAREN 328 -+#define LEFT_BRACKET 329 -+#define RIGHT_BRACKET 330 -+#define LEFT_BRACE 331 -+#define RIGHT_BRACE 332 -+#define DOT 333 -+#define COMMA 334 -+#define COLON 335 -+#define EQUAL 336 -+#define SEMICOLON 337 -+#define BANG 338 -+#define DASH 339 -+#define TILDE 340 -+#define PLUS 341 -+#define STAR 342 -+#define SLASH 343 -+#define PERCENT 344 -+#define LEFT_ANGLE 345 -+#define RIGHT_ANGLE 346 -+#define VERTICAL_BAR 347 -+#define CARET 348 -+#define AMPERSAND 349 -+#define QUESTION 350 -+ -+ -+ -+ -+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -+typedef union YYSTYPE -+ -+{ -+ struct { -+ TSourceLoc line; -+ union { -+ TString *string; -+ float f; -+ int i; -+ bool b; -+ }; -+ TSymbol* symbol; -+ } lex; -+ struct { -+ TSourceLoc line; -+ TOperator op; -+ union { -+ TIntermNode* intermNode; -+ TIntermNodePair nodePair; -+ TIntermTyped* intermTypedNode; -+ TIntermAggregate* intermAggregate; -+ }; -+ union { -+ TPublicType type; -+ TPrecision precision; -+ TQualifier qualifier; -+ TFunction* function; -+ TParameter param; -+ TTypeLine typeLine; -+ TTypeList* typeList; -+ }; -+ } interm; -+} -+/* Line 1529 of yacc.c. */ -+ -+ YYSTYPE; -+# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -+# define YYSTYPE_IS_DECLARED 1 -+# define YYSTYPE_IS_TRIVIAL 1 -+#endif -+ -+ -+ -diff --git a/Source/WebCore/GNUmakefile.am b/Source/WebCore/GNUmakefile.am -index f31a472..4837b70 100644 ---- a/Source/WebCore/GNUmakefile.am -+++ b/Source/WebCore/GNUmakefile.am -@@ -352,14 +352,6 @@ audio_DATA = $(WebCore)/platform/audio/resources/Composite.wav - dist_audio_DATA = $(audio_DATA) - endif # END ENABLE_WEB_AUDIO - --# ANGLE tokenizer & parser --DerivedSources/ANGLE/glslang.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.l -- $(AM_V_GEN)$(FLEX) --noline --nounistd --outfile="$@" "$<" -- --DerivedSources/ANGLE/glslang_tab.cpp: Source/ThirdParty/ANGLE/src/compiler/glslang.y -- $(AM_V_GEN)$(BISON) --no-lines --defines="DerivedSources/ANGLE/glslang_tab.h" --skeleton=yacc.c --output="$@" $< --DerivedSources/ANGLE/glslang_tab.h: DerivedSources/ANGLE/glslang_tab.cpp -- - IDL_PATH := \ - $(WebCore)/Modules/filesystem \ - $(WebCore)/Modules/gamepad \ -diff --git a/Source/WebCore/GNUmakefile.list.am b/Source/WebCore/GNUmakefile.list.am -index a1c6841..19ee41b 100644 ---- a/Source/WebCore/GNUmakefile.list.am -+++ b/Source/WebCore/GNUmakefile.list.am -@@ -6305,11 +6305,6 @@ endif - # 3D canvas (WebGL) support - # --- - if ENABLE_WEBGL --webcore_built_sources += \ -- DerivedSources/ANGLE/glslang.cpp \ -- DerivedSources/ANGLE/glslang_tab.cpp \ -- DerivedSources/ANGLE/glslang_tab.h -- - webcore_sources += \ - Source/ThirdParty/ANGLE/include/EGL/egl.h \ - Source/ThirdParty/ANGLE/include/EGL/eglplatform.h \ -@@ -6346,6 +6341,9 @@ webcore_sources += \ - Source/ThirdParty/ANGLE/src/compiler/ForLoopUnroll.cpp \ - Source/ThirdParty/ANGLE/src/compiler/ForLoopUnroll.h \ - Source/ThirdParty/ANGLE/src/compiler/glslang.h \ -+ Source/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp \ -+ Source/ThirdParty/ANGLE/src/compiler/glslang_tab.cpp \ -+ Source/ThirdParty/ANGLE/src/compiler/glslang_tab.h \ - Source/ThirdParty/ANGLE/src/compiler/HashNames.h \ - Source/ThirdParty/ANGLE/src/compiler/InfoSink.cpp \ - Source/ThirdParty/ANGLE/src/compiler/InfoSink.h \ diff --git a/unmaintained/webkitgtk/webkitgtk-2.4.9-abs.patch b/unmaintained/webkitgtk/webkitgtk-2.4.9-abs.patch deleted file mode 100644 index 9a1c5f990de..00000000000 --- a/unmaintained/webkitgtk/webkitgtk-2.4.9-abs.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp ---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600 -+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700 -@@ -85,8 +85,8 @@ - guint32 eventTime = getEventTime(event); - - if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS) -- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) -- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) -+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance) -+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance) - && (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime)) - && (buttonEvent->button == m_previousClickButton))) - m_currentClickCount++; -diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp ---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600 -+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700 -@@ -659,7 +659,7 @@ - if (!std::isfinite(time)) - return String::fromUTF8(_("indefinite time")); - -- int seconds = static_cast<int>(abs(time)); -+ int seconds = static_cast<int>(fabs(time)); - int days = seconds / (60 * 60 * 24); - int hours = seconds / (60 * 60); - int minutes = (seconds / 60) % 60; diff --git a/unmaintained/wicd/APKBUILD b/unmaintained/wicd/APKBUILD deleted file mode 100644 index 3523ff24c26..00000000000 --- a/unmaintained/wicd/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Konstantin Khokhlov <khohlovsky@gmail.com> -pkgname=wicd -pkgver=1.7.2.4 -pkgrel=0 -pkgdesc="Wicd is an open source wired and wireless network manager for Linux" -url="http://wicd.sourceforge.net/" -arch="noarch" -license="GPL-2.0" -depends="python2 py-gtk dbus py-dbus wireless-tools iproute2 pm-utils py2-babel" -makedepends="py-setuptools" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/dpaleino/wicd/archive/1.7.2.4.tar.gz -wicd.initd" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - python setup.py configure \ - --distro=gentoo \ - --no-install-init \ - --no-install-man - -} - -package() { - cd "$builddir" - python setup.py install --root="$pkgdir" --prefix="/usr" - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -sha512sums="3b42e94de3c6f0bfcbb45e7f6b598e7b6dbec25ff29ce3e1744876f75e0662d4f3ad0ccaba1a24e728fd63fc492d6f7d5c768247b9d55bcc2994df0d1b52bf80 wicd-1.7.2.4.tar.gz -6e4d550bc496cb28b6234f6feb1c16ee595fd9ae77bfcb0bb35b41a66e68d638d062cb3ac4abe3548fcf22b51189fbf26cd7c269995224650de495ff67ac24ba wicd.initd" diff --git a/unmaintained/wicd/wicd.initd b/unmaintained/wicd/wicd.initd deleted file mode 100755 index 071f3fd52a7..00000000000 --- a/unmaintained/wicd/wicd.initd +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run -## Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -WICD_DAEMON=/usr/sbin/wicd -WICD_PIDFILE=/var/run/wicd/wicd.pid - -depend() { - need dbus - after hald - provide net -} - -start() { - ebegin "Starting wicd daemon" - [ -f /etc/wicd/wired-settings.conf ] && sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf - "${WICD_DAEMON}" >/dev/null 2>&1 - eend $? -} - -stop() { - ebegin "Stopping wicd daemon and closing connections" - "${WICD_DAEMON}" -k >/dev/null 2>&1 - eend $? -} - -force_kill() { - ebegin "Stopping wicd daemon" - start-stop-daemon --stop --pidfile "${WICD_PIDFILE}" - eend $? -} - -restart() { - force_kill - start -} diff --git a/unmaintained/wine-staging/APKBUILD b/unmaintained/wine-staging/APKBUILD deleted file mode 100644 index c7636b15bb5..00000000000 --- a/unmaintained/wine-staging/APKBUILD +++ /dev/null @@ -1,130 +0,0 @@ -# Maintainer: Jens Staal <staal1978@gmail.com> -# Contributor: Valery Kartel <valery.kartel@gmail.com> -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Contributor: Łukasz Jendrysik <scadu@yandex.com> -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -pkgname=wine-staging -pkgver=2.2 -_pkgver=${pkgver/_/-} -pkgrel=1 -pkgdesc="A compatibility layer for running Windows programs :: Staging" -url="https://wine-staging.com/" -arch="x86_64" -license="LGPL-2.0-or-later" -replaces="wine" -subpackages="$pkgname-libs $pkgname-dev $pkgname-doc" -depends_dev="$pkgname perl" -makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev - libxcursor-dev libxrandr-dev libxdamage-dev mesa-dev flex-dev bison - libpng-dev libjpeg-turbo-dev freetype-dev ncurses-dev libressl-dev - libxcomposite-dev libxrender-dev libxinerama-dev zlib-dev - cups-dev alsa-lib-dev lcms-dev libxml2-dev paxmark dbus-dev libxi-dev - gnutls-dev tiff-dev v4l-utils-dev udisks2-dev autoconf automake - " -source="https://github.com/wine-compholio/wine-patched/archive/staging-$_pkgver.tar.gz - https://github.com/sarnex/wine-d3d9-patches/archive/wine-d3d9-$_pkgver.tar.gz - nopie.patch - winhlp32-flex.patch - " -builddir="$srcdir/wine-patched-staging-$_pkgver" - -prepare() { - cd "$builddir" - - patch -p1 -i "$srcdir"/wine-d3d9-patches-wine-d3d9-$_pkgver/staging-helper.patch - patch -p1 -i "$srcdir"/wine-d3d9-patches-wine-d3d9-$_pkgver/wine-d3d9.patch - - default_prepare || return 1 - aclocal && autoheader && autoreconf || return 1 -} - -build() { - cd "$builddir" - - case "$CARCH" in - x86_64) _win64=--enable-win64;; - esac - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --libdir=/usr/lib \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-dbus \ - --with-x \ - --with-d3dadapter \ - --disable-tests \ - $_win64 \ - || return 1 - make || return 1 -} - -package() { - local file - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 - - case "$CARCH" in - x86_64) _wine="wine64";; - *) _wine="wine";; - esac - - paxmark -psmre "$pkgdir"/usr/bin/$_wine-preloader \ - "$pkgdir"/usr/bin/$_wine - - install -Dm755 tools/wineapploader \ - "$pkgdir"/usr/bin/wineapploader || return 1 - - for file in msiexec notepad regedit regsvr32 wineboot \ - winecfg wineconsole winefile winemine winepath msidb - do - rm "$pkgdir"/usr/bin/$file || return 1 - ln -sf /usr/bin/wineapploader "$pkgdir"/usr/bin/$file - done -} - -dev() { - local file - default_dev || return 1 - replaces="wine-dev" - - install -d "$subpkgdir"/usr/bin - for file in widl wmc wrc winebuild winedump function_grep.pl \ - winedbg winemaker winegcc winecpp wineg++ - do - mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ - done - - install -d "$subpkgdir"/usr/lib/wine - mv "$pkgdir"/usr/lib/wine/*.def "$subpkgdir"/usr/lib/wine/ -} - -doc() { - default_doc || return 1 - replaces="wine-doc" - - rm -rf "$pkgdir"/usr/share/man - rm -fr "$subpkgdir"/usr/share/man/*.UTF-8 -} - -libs() { - local ext file - default_libs || return 1 - replaces="wine-libs" - - install -d "$subpkgdir"/usr/lib/wine/fakedlls - for ext in dll16 drv16 exe16 acm dll drv ds ocx sys tlb vxd; do - for file in $(find "$pkgdir/usr/lib/wine/fakedlls" -name "*.$ext"); do - mv "$pkgdir"/usr/lib/wine/fakedlls/${file##*/} \ - "$subpkgdir"/usr/lib/wine/fakedlls/ - mv "$pkgdir"/usr/lib/wine/${file##*/}.so \ - "$subpkgdir"/usr/lib/wine/ - done - done -} - -sha512sums="f1bad84c3e8158d6d43b9a8be59daf02256c4956cc906c85fd8a26b073e768f9f932fb2799e5f5ce41e0614c67df3bdb45bd11ea93f96bccef432a75651c0b74 staging-2.2.tar.gz -6e9e031b51afc8ec200bbd252ff0d768c29af23907f782409834de593f896afb128f86fe012c95dc18e5f3c7267f170eb343d2a2c53d639933a337f0c1e04fab wine-d3d9-2.2.tar.gz -f4c3ffc86ceb14c865282574f837c2114cdfa38df64327f17c2d5913cb85726d883e4a136ce38297612cda6dd47f9bdf80aff770368b8b846a642337f52a68bf nopie.patch -522a94a31fc459e80ea7dd05f7aee64f6ae666ec05236d06614acde118d5c60002e0f253ae75edb5f02164f22937ca89578504b690d1a5611bd60f703c8f0c00 winhlp32-flex.patch" diff --git a/unmaintained/wine-staging/nopie.patch b/unmaintained/wine-staging/nopie.patch deleted file mode 100644 index 54eb141befc..00000000000 --- a/unmaintained/wine-staging/nopie.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/loader/Makefile.in b/loader/Makefile.in -index 8190037..b4f2902 100644 ---- a/loader/Makefile.in -+++ b/loader/Makefile.in -@@ -29,4 +29,4 @@ wine_preloader_OBJS = preloader.o - wine_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 - - wine64_preloader_OBJS = preloader.o --wine64_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 -+wine64_preloader_LDFLAGS = -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 -no-pie diff --git a/unmaintained/wine-staging/winhlp32-flex.patch b/unmaintained/wine-staging/winhlp32-flex.patch deleted file mode 100644 index daeb790c2ed..00000000000 --- a/unmaintained/wine-staging/winhlp32-flex.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/programs/winhlp32/Makefile.in -+++ b/programs/winhlp32/Makefile.in -@@ -1,5 +1,5 @@ - MODULE = winhlp32.exe --APPMODE = -mwindows -+APPMODE = -mwindows -lfl - IMPORTS = user32 gdi32 - DELAYIMPORTS = shell32 comctl32 comdlg32 - diff --git a/unmaintained/xf86-video-mach64/APKBUILD b/unmaintained/xf86-video-mach64/APKBUILD deleted file mode 100644 index 40c696e7ed6..00000000000 --- a/unmaintained/xf86-video-mach64/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=xf86-video-mach64 -pkgver=6.9.5 -pkgrel=1 -pkgdesc="ATI Mach64 video driver" -url="http://xorg.freedesktop.org/" -arch="" -license="custom" -subpackages="$pkgname-doc" -depends="mesa-dri-mach64" -makedepends="xorg-server-dev libxi-dev fontsproto randrproto - videoproto renderproto xineramaproto libdrm-dev xf86driproto glproto - mesa-dev - " - -source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" - -build() { - cd "$srcdir"/$pkgname-$pkgver - export LDFLAGS="$LDFLAGS -Wl,-z,lazy" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING -} -md5sums="1013ccc86052d0e82c4d504e0c4e896e xf86-video-mach64-6.9.5.tar.bz2" -sha256sums="3e98985b6e044189efd42342862208f472881c25debf22230a1d54a96d71b41f xf86-video-mach64-6.9.5.tar.bz2" -sha512sums="855b1a505c4309dd6accd0a2b371763fe98f510e0b6c680e2b2a1ce780e4ee6ea8eeeafb85fd22b879a25679b4c3f03a8216b2ea5797fbbc00fccd597fb7622d xf86-video-mach64-6.9.5.tar.bz2" diff --git a/unmaintained/youtube-dlc/APKBUILD b/unmaintained/youtube-dlc/APKBUILD deleted file mode 100644 index 0a7426d450d..00000000000 --- a/unmaintained/youtube-dlc/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Peter Bui <pnutzh4x0r@gmail.com> -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Contributor: Timo Teräs <timo.teras@iki.fi> -# Contributor: Alex Denes <caskd@redxen.eu> -# Maintainer: -pkgname=youtube-dlc -pkgver=2020.11.10 -pkgrel=3 -pkgdesc="Command-line program to download videos from YouTube" -url="https://blackjack4494.github.io/youtube-dlc" -arch="noarch" -license="Unlicense" -depends="python3" -makedepends="py3-setuptools" -checkdepends="py3-flake8 py3-nose" -subpackages="$pkgname-doc - $pkgname-bash-completion - $pkgname-fish-completion" -source="https://github.com/blackjack4494/yt-dlc/archive/$pkgver/yt-dlc-$pkgver.tar.gz" -builddir="$srcdir/yt-dlc-$pkgver" - -prepare() { - default_prepare - sed -i \ - -e 's|etc/bash_completion.d|share/bash-completion/completions|' \ - -e 's|etc/fish/completions|share/fish/completions|' \ - ./setup.py -} - -build() { - python3 setup.py build -} - -check() { - PYTHON=/usr/bin/python3 make offlinetest -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="5b732c421861ca5913fc712aa41a8dea428061b85d5fc6ea4c557d0c37b5a734eeec5490cd19bbe1c43ef48bba211969008c82677f9ff44fabfb08762b2ae185 yt-dlc-2020.11.10.tar.gz" diff --git a/unmaintained/zendframework/APKBUILD b/unmaintained/zendframework/APKBUILD deleted file mode 100644 index baa0f37d797..00000000000 --- a/unmaintained/zendframework/APKBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=zendframework -pkgver=2.4.13 -pkgrel=0 -pkgdesc="PHP web application framework" -url="https://framework.zend.com/" -arch="noarch" -license="BSD-3-Clause" -source="https://packages.zendframework.com/releases/ZendFramework-$pkgver/ZendFramework-$pkgver.tgz" - -builddir="$srcdir/ZendFramework-$pkgver" - -package() { - mkdir -p "$pkgdir"/usr/share/php/zend - cp -a "$builddir"/* "$pkgdir"/usr/share/php/zend/ - -} - -sha512sums="3cd3cca1dcdf5de1b745b7ae946584727abd13dd48d0c67acc5b278f6a7a79666fc6f43b436151e529d20f9674558f7167fbe47ed04f98e58b0675868cee2038 ZendFramework-2.4.13.tgz" |