1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 11:49:53 +03:00

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.
This commit is contained in:
psykose 2023-06-27 11:55:07 +00:00
parent ce94b038c2
commit eb615cfe36
650 changed files with 0 additions and 38103 deletions

View file

@ -1,5 +0,0 @@
$mirror/$version/main
$mirror/$version/community
$mirror/$version/testing
$mirror/$version/non-free
$mirror/$version/unmaintained

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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>

View file

@ -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>

View file

@ -1,6 +0,0 @@
<specific>
<FirmwareSettings>
<OutdoorIntercom31>CyberData/1148-uImage-outdoor_intercom</OutdoorIntercom31>
<OutdoorKeypad31>CyberData/1148-uImage-outdoor_keypad</OutdoorKeypad31>
</FirmwareSettings>
</specific>

View file

@ -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"

View file

@ -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"

View file

@ -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>

View file

@ -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>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" standalone="yes"?>
<directory>
<item_list/>
</directory>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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"

View file

@ -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"

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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;
-}

View file

@ -1,3 +0,0 @@
DAEMON=/usr/bin/ajaxterm
PORT=8022
PIDFILE=/var/run/ajaxterm.pid

View file

@ -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 $?
}

View file

@ -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
"

View file

@ -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
}

View file

@ -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

View file

@ -1,8 +0,0 @@
# Sample conf.d file for alpine linux
#
# Specify daemon options here.
#
sample_opts=""
sample_user=""

View file

@ -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

View file

@ -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

View file

@ -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_)

View file

@ -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};

View file

@ -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, "");

View file

@ -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
)

View file

@ -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)

View file

@ -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"

View file

@ -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"

View file

@ -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
"

View file

@ -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
"

View file

@ -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

View file

@ -1 +0,0 @@
archlinux-keyring.post-install

View file

@ -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"

View file

@ -1,7 +0,0 @@
#!/bin/sh
cat <<EOF
*
* Default admin user is "admin" with password "password".
*
EOF

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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 $?
}

View file

@ -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

View file

@ -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");

View file

@ -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);
}

View file

@ -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: $!";

View file

@ -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"

View file

@ -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;

View file

@ -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"

View file

@ -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 {

View file

@ -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
"

View file

@ -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
}

View file

@ -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.",
+"............... "};

View file

@ -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"

View file

@ -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

View file

@ -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=""

View file

@ -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 $?
}

View file

@ -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"

View file

@ -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)])

View file

@ -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
"

View file

@ -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"

View file

@ -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

View file

@ -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";

View file

@ -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

View file

@ -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;

View file

@ -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"

View file

@ -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"

View file

@ -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 $?
}

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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 $@

View file

@ -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"

View file

@ -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 "$@"

View file

@ -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
"

View file

@ -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"

View file

@ -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 {

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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 ' $@

View file

@ -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"

View file

@ -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!";

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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

Some files were not shown because too many files have changed in this diff Show more