unmaintained/*: purge aports not touched since v3.5.0

We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to
periodically purge aports in unmaintained that haven't been touched
in last 1 year (2 releases).
This commit is contained in:
Jakub Jirutka 2017-12-01 17:26:53 +01:00
parent 62b8ba5f8f
commit 3ce3c4fd59
1168 changed files with 0 additions and 89589 deletions

View File

@ -1,36 +0,0 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=aalib
pkgver=1.4.0
_pkgver=1.4
pkgrel=1.rc4
pkgdesc="An portable ascii art GFX library"
url="http://aa-project.sourceforge.net/aalib/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/aa-project/$pkgname-"$_pkgver"rc4.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="d5aa8e9eae07b7441298b5c30490f6a6 aalib-1.4rc4.tar.gz"
sha256sums="0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58 aalib-1.4rc4.tar.gz"
sha512sums="247813d6b232d83c3347f038ea246ce10b70679e2ff2f3c647c3a462aeb0febc4e3b96bba37c71940b55da1ff8872fbc66598b0ac091590c979b6e163792a35d aalib-1.4rc4.tar.gz"

View File

@ -1,20 +0,0 @@
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-jquery-mobile
pkgver=0.0.1
pkgrel=1
pkgdesc="jquery mobile libraries for ACF"
url="http://git.alpinelinux.org/cgit/acf/acf-jquery-mobile"
arch="noarch"
license="GPL2"
depends="acf-jquery"
replaces=""
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
md5sums="2fd8424c4f26ff6d982fde9ff2404ad0 acf-jquery-mobile-0.0.1.tar.xz"
sha256sums="58222822740287937a1a7fc6a73b116364aa3cdc9c6af67fb5799c8e9a4dbe66 acf-jquery-mobile-0.0.1.tar.xz"
sha512sums="b816cbdcbb746337ddf6b9df9fd70374e19471f9de2c955e425acafc7d883f0866f706a9ca49adcf7decdc16da597864d4a942a1fc61f7d9a6b16f4946745377 acf-jquery-mobile-0.0.1.tar.xz"

View File

@ -1,45 +0,0 @@
# Contributor: Seung Soo Mun <hamletmun@gmail.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-provisioning-grandstream-ata
pkgver=1.0.7.3
pkgrel=0
pkgdesc="Files for provisioning Grandstream HandyTone products"
url="http://www.grandstream.com/index.php/products"
arch="noarch"
license="AS IS"
depends=""
makedepends=""
source="
http://www.grandstream.com/firmware/GXW40xx_HT50x/Release_HT502_1.0.14.1.zip
http://www.grandstream.com/firmware/GXW40xx_HT50x/Release_HT503_1.0.14.1.zip
http://www.grandstream.com/firmware/HT70x/Release_HT701_1.0.7.3.zip
http://www.grandstream.com/firmware/HT70x/Release_HT702_1.0.7.3.zip
http://www.grandstream.com/firmware/HT70x/Release_HT704_1.0.7.3.zip
init.cfg.sample"
subpackages=""
package() {
cd "$srcdir"
mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Grandstream
cp *.cfg.sample *fw.bin "$pkgdir"/var/www/provisioning/htdocs/Grandstream
}
md5sums="45afec66616b94beb255d13376b0c1a6 Release_HT502_1.0.14.1.zip
cf250b6bc7b7ac95223b63023f9f14c9 Release_HT503_1.0.14.1.zip
40ed2488819b48bf207592b2feccd4e9 Release_HT701_1.0.7.3.zip
1058fea95c6e7f9e1e257ab317ac9a90 Release_HT702_1.0.7.3.zip
64210b2c52cbc42039c237ec8deaa903 Release_HT704_1.0.7.3.zip
dada214a3a51fb69f27dfb746e3f5d10 init.cfg.sample"
sha256sums="1c08eeae52b477e2028d2ce8b97cc66c2e0ab670c78576026b6a75b06157dfb0 Release_HT502_1.0.14.1.zip
23500431b0a4a81b36e31a0926f82612246daf7ec18310fba6cd0c8c87fe0258 Release_HT503_1.0.14.1.zip
bc3a5be33ee4c96685466ad67bf911e4b11a521d56e79747afa0d488ef6c6f6f Release_HT701_1.0.7.3.zip
67544b68778cb3e87a0ccd5b07e6a34e707368c1c1c896d336655ccaf27981f6 Release_HT702_1.0.7.3.zip
71abcd72e89550c7de85034ae1b869ee9f06218304f0002213897480716655c4 Release_HT704_1.0.7.3.zip
0525a686672fd7080a4cfb76f5d466c172c8b6f50d507fd4be35fbab6ff413e2 init.cfg.sample"
sha512sums="28e924c9995cdfbc3b3c632e9dc3a67b0b919d1af1ed543579bb8bd45fad4c0286ef24b09ac0d4302cb585362d138d88f85fb2dc645ff126e9756c9659cf2541 Release_HT502_1.0.14.1.zip
9abc4c9356bbea404a2e5d6de62ad500365e6d019abc38d95802972dcba59a80c4b67a8acb5598aa68a97e7349c71150db65d7b2521fe3e347f625bde76088a2 Release_HT503_1.0.14.1.zip
6cc5c17dd94efa9aface1a3f2b098d11798ae7dfbbcfdf69182b0784ac1fcb6c99138e215378aa9712f6fc3764c55e17bfe33c415d1cd67ce47cefe95491f2d6 Release_HT701_1.0.7.3.zip
ccbf52d9530c3a88294764a8de8e36d0dc21f50c84be269c6ae5ee1bf0b1f404682db534fdbbb402588b7924d0cac865bec72145314db979b993b84c6d535e3d Release_HT702_1.0.7.3.zip
4b6e999ebb7ad357b8026f6a0635500b34ff7d74c0ffc76f6e5b9c2f1e079ec8cd5dabd099cbce976f204b814ea20acf36e1d51a88b0676b124e0ad18ef55722 Release_HT704_1.0.7.3.zip
a19a8b174f65603879420fdde77a70534bae6b03f1c11c28a83fd63a55252e11cfc8e4fd821b97d8ec742321bcdc6e1299155cd112bff8e7435f1703e2adbcff init.cfg.sample"

View File

@ -1,73 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<gs_provision version="1">
<config version="1">
<!-- Advanced Settings -->
<!-- HT-502 - Layer 3 QoS (IP Diff-Serv or Precedence value for RTP) -->
<P38>46</P38>
<!-- Layer 2 QoS. 802.1Q/VLAN Tag -->
<P51>1</P51>
<!-- HT-502 - Layer 2 QoS. 802.1p priority value -->
<P87>5</P87>
<!-- HT-701 - Layer 2 QoS. SIP 802.1p priority value -->
<P5038>5</P5038>
<!-- HT-701 - Layer 2 QoS. RTP 802.1p priority value -->
<P5042>5</P5042>
<!-- Firmware Upgrade and Provisioning. 0 - TFTP, 1 - HTTP, 2 - HTTPS
<P212>1</P4428>
<!-- Firmware Server Path -->
<P192>10.0.0.1/Grandstream</P192>
<!-- Config Server Path -->
<P237>10.0.0.1/Grandstream</P237>
<!-- Allow DHCP Option 66 to override server -->
<P145>0</P145>
<!-- Disable SIP NOTIFY Authentication -->
<P4428>1</P4428>
<!-- Disable Direct IP Call -->
<P277>1</P277>
<!-- FXS Port 1 -->
<!-- DNS Mode: NAPTR/SRV -->
<P103>2</P103>
<!-- Refer-To Use Target Contact -->
<P135>1</P135>
<!-- Disable Call-Waiting -->
<P91>1</P91>
<!-- Delayed Call Forward Wait Time -->
<P139>120</P139>
<!-- Fax Mode: Pass Through -->
<P228>1</P228>
<!-- FXS Port 2 -->
<!-- DNS Mode: NAPTR/SRV -->
<P702>2</P702>
<!-- Refer-To Use Target Contact -->
<P469>1</P469>
<!-- Disable Call-Waiting -->
<P791>1</P791>
<!-- Delayed Call Forward Wait Time -->
<P470>120</P470>
<!-- Fax Mode: Pass Through -->
<P710>1</P710>
<!-- Basic Settings -->
<!-- Telnet Server: No -->
<P276>1</P276>
<!-- Reply to ICMP on WAN port -->
<P189>1</P189>
<!-- WAN side HTTP/Telnet access -->
<P190>1</P190>
<!-- Enable LAN DHCP -->
<P5001>0</P5001>
<!-- Time Zone -->
<P64>customize</P64>
</config>
</gs_provision>

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,27 +0,0 @@
--- src/000000000000.cfg.org
+++ src/000000000000.cfg
@@ -4,15 +4,15 @@
<!-- Configuration File Management white paper available from: -->
<!-- http://www.polycom.com/common/documents/whitepapers/configuration_file_management_on_soundpoint_ip_phones.pdf -->
<!-- $RCSfile$ $Revision: 130593 $ -->
-<APPLICATION APP_FILE_PATH="sip.ld" CONFIG_FILES="" MISC_FILES="" LOG_FILE_DIRECTORY="" OVERRIDES_DIRECTORY="" CONTACTS_DIRECTORY="" LICENSE_DIRECTORY="" USER_PROFILES_DIRECTORY="" CALL_LISTS_DIRECTORY="">
- <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"/>
+<APPLICATION APP_FILE_PATH="sip.ld" CONFIG_FILES="Polycom/[PHONE_MAC_ADDRESS]-default.cfg, Polycom/initial.cfg" MISC_FILES="" LOG_FILE_DIRECTORY="log" OVERRIDES_DIRECTORY="Polycom" CONTACTS_DIRECTORY="Polycom" LICENSE_DIRECTORY="Polycom" USER_PROFILES_DIRECTORY="Polycom" CALL_LISTS_DIRECTORY="Polycom">
+ <APPLICATION_SPIP300 APP_FILE_PATH_SPIP300="sip_213.ld" CONFIG_FILES_SPIP300="Polycom/phone1_213.cfg, Polycom/sip_213.cfg"/>
+ <APPLICATION_SPIP500 APP_FILE_PATH_SPIP500="sip_213.ld" CONFIG_FILES_SPIP500="Polycom/phone1_213.cfg, Polycom/sip_213.cfg"/>
+ <APPLICATION_SPIP301 APP_FILE_PATH_SPIP301="sip_318.ld" CONFIG_FILES_SPIP301="Polycom/phone1_318.cfg, Polycom/sip_318.cfg"/>
<APPLICATION_SPIP320 APP_FILE_PATH_SPIP320="sip_334.ld" CONFIG_FILES_SPIP320=""/>
<APPLICATION_SPIP330 APP_FILE_PATH_SPIP330="sip_334.ld" CONFIG_FILES_SPIP330=""/>
- <APPLICATION_SPIP430 APP_FILE_PATH_SPIP430="sip_327.ld" CONFIG_FILES_SPIP430="phone1_327.cfg, sip_327.cfg"/>
- <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_SSIP4000 APP_FILE_PATH_SSIP4000="sip_318.ld" CONFIG_FILES_SSIP4000="phone1_318.cfg, sip_318.cfg"/>
+ <APPLICATION_SPIP430 APP_FILE_PATH_SPIP430="sip_327.ld" CONFIG_FILES_SPIP430="Polycom/phone1_327.cfg, Polycom/sip_327.cfg"/>
+ <APPLICATION_SPIP501 APP_FILE_PATH_SPIP501="sip_318.ld" CONFIG_FILES_SPIP501="Polycom/phone1_318.cfg, Polycom/sip_318.cfg"/>
+ <APPLICATION_SPIP600 APP_FILE_PATH_SPIP600="sip_318.ld" CONFIG_FILES_SPIP600="Polycom/phone1_318.cfg, Polycom/sip_318.cfg"/>
+ <APPLICATION_SPIP601 APP_FILE_PATH_SPIP601="sip_318.ld" CONFIG_FILES_SPIP601="Polycom/phone1_318.cfg, Polycom/sip_318.cfg"/>
+ <APPLICATION_SSIP4000 APP_FILE_PATH_SSIP4000="sip_318.ld" CONFIG_FILES_SSIP4000="Polycom/phone1_318.cfg, Polycom/sip_318.cfg"/>
</APPLICATION>

View File

@ -1,86 +0,0 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=acf-provisioning-polycom4.0.3f
pkgver=0
pkgrel=2
pkgdesc="Files for provisioning Polycom IP phones"
url="http://www.polycom.com/products/voice/index.html"
arch="noarch"
license="AS IS"
depends=""
makedepends=""
source="http://downloads.polycom.com/voice/voip/uc/UC_Software_4_0_3F_release_sig_split.zip
http://downloads.polycom.com/voice/voip/uc/SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip
000000000000-directory.xml
000000000000-phone.cfg
000000000000-web.cfg
000000000000.cfg.patch
"
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 000000000000.cfg "$pkgdir"/var/www/provisioning/htdocs
cp 000000000000-directory.xml 000000000000-phone.cfg 000000000000-web.cfg "$pkgdir"/var/www/provisioning/htdocs/Polycom
}
md5sums="f2d6c889b6471878427b729988e5ea94 UC_Software_4_0_3F_release_sig_split.zip
4361b57fbe7534a1170797dc40f21a3c SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip
4a6ff93b944a710da0c3eb99938f42cc 000000000000-directory.xml
2c32486b7c9d692326fd6270664eac01 000000000000-phone.cfg
2c32486b7c9d692326fd6270664eac01 000000000000-web.cfg
ad802a8e30d4d816513f7e9132639dd4 000000000000.cfg.patch"
sha256sums="c061ae619355d429787ddf660cb4136f75636da9b0de632b93126038880b8790 UC_Software_4_0_3F_release_sig_split.zip
3fbe07e0f2c288d501ab41e711cdb2bdfca0831dbb5a44c63a34a0551f9ed129 SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip
875f5bbec057d29508bcd671a203d8e2852cd959aeaeb937443cedbe824e0a41 000000000000-directory.xml
e2f3dcd842d6eb44a98140e7fb60487ca70e519d5d09872a54ce1372d5a432b4 000000000000-phone.cfg
e2f3dcd842d6eb44a98140e7fb60487ca70e519d5d09872a54ce1372d5a432b4 000000000000-web.cfg
c50d37f8bf6cdbf803236c9b2504ae92fa3e32fd794d7c0d43f7c2f9546f8e8d 000000000000.cfg.patch"
sha512sums="8699f129c8b2f9b96d4578644597725d28875cd6a67391c8f362dace5b31c55619aa04a06f8d3bd0810a908b520ec839c4059110d596fa06c4bbda1b51ca979b UC_Software_4_0_3F_release_sig_split.zip
17c661fb224269abc8e4a53a9c078cc9f5599e054666842f590d9c5cdfcaa52100463d0dfe826ad9c4f65684e7eb574852b4fe3c2e9d5b0e52890c2b93b07b5e SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip
9adc73d02aa4f545aca893c335284d77099c56fcc17a48f61003ede8713e96aeb8f467896f4dfbf7db67255cc3d60faf353b76ab86c5881d0ba884d1c0acffb3 000000000000-directory.xml
db2da0f4c393bdea773f3e5a7daa581a58caca738538db6153b223383176aae30e2081c198291d78c44eddd446a1cab9cffef78646360847ce4955c59f288300 000000000000-phone.cfg
db2da0f4c393bdea773f3e5a7daa581a58caca738538db6153b223383176aae30e2081c198291d78c44eddd446a1cab9cffef78646360847ce4955c59f288300 000000000000-web.cfg
beac1a354cbd7ca6118e801f6cc6941974567c5127bd0489b3f86f01de46b98910da203dadf32e45089c554d0566c36ccfece48c329087f474692113192802d1 000000000000.cfg.patch"

View File

@ -1,20 +0,0 @@
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-skins-jqmobile
pkgver=0.0.1
pkgrel=1
pkgdesc="ACF skin based upon jquery mobile"
url="http://git.alpinelinux.org/cgit/acf/acf-skins-jqmobile"
arch="noarch"
license="GPL2"
depends="acf-skins acf-jquery-mobile"
replaces=""
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
md5sums="ba74d5bd6a6f37cdbd0193a7686b1b07 acf-skins-jqmobile-0.0.1.tar.xz"
sha256sums="0e474b3c0cb77fb512f519d146347c48434fc67b3a0efe58b76f33e61e37fb88 acf-skins-jqmobile-0.0.1.tar.xz"
sha512sums="6281fa34fb7ce12114e1fe9739b38c6f98ff86311efde9e88466eef47fc6f9cafb74efda1e859a8b1ee7180baf7fe2ce0480056d2c94d1c146a822445df780b2 acf-skins-jqmobile-0.0.1.tar.xz"

View File

@ -1,43 +0,0 @@
# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
pkgname=agg
pkgver=2.5
pkgrel=3
pkgdesc="A Rendering Engine for C++"
url="http://antigrain.com"
license="GPL2+"
depends=""
makedepends="autoconf automake libtool libx11-dev freetype-dev sdl-dev"
install=""
arch="all"
subpackages="$pkgname-dev"
source="http://www.antigrain.com/$pkgname-$pkgver.tar.gz
agg-2.4-depends.patch
agg-2.5-pkgconfig.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd $_builddir
for i in "$srcdir"/*.patch; do
msg "Applying ${i}"
patch -Np1 -i "$i" || return 1
done
# fix building against automake-1.12
sed -i '/^AM_C_PROTOTYPES/d' configure.in
sh ./autogen.sh || return 1
}
build() {
cd "$_builddir"
./configure --prefix=/usr --disable-static || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
}
md5sums="0229a488bc47be10a2fee6cf0b2febd6 agg-2.5.tar.gz
22f8e48c137d25038181c86d5e40b110 agg-2.4-depends.patch
43a19a7b1564c591e56c8d09a0fd8da5 agg-2.5-pkgconfig.patch"

View File

@ -1,48 +0,0 @@
--- agg-2.4.orig/font_freetype/Makefile.am 2005-10-18 11:45:40.000000000 +0100
+++ agg-2.4/font_freetype/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -4,8 +4,9 @@
agginclude_HEADERS = agg_font_freetype.h
lib_LTLIBRARIES = libaggfontfreetype.la
-libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@
+libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp
libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@
+libaggfontfreetype_la_LIBADD = ../src/libagg.la @FREETYPE_LIBS@
endif
--- agg-2.4.orig/src/platform/sdl/Makefile.am 2005-10-17 23:49:35.000000000 +0100
+++ agg-2.4/src/platform/sdl/Makefile.am 2006-07-10 15:11:55.000000000 +0100
@@ -5,6 +5,6 @@
libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@
libaggplatformsdl_la_SOURCES = agg_platform_support.cpp
libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@
-libaggplatformsdl_la_LIBADD = @SDL_LIBS@
+libaggplatformsdl_la_LIBADD = ../../libagg.la @SDL_LIBS@
endif
--- agg-2.5.orig/configure.in 2006-10-09 05:06:36.000000000 +0100
+++ agg-2.5/configure.in 2007-01-07 14:07:39.000000000 +0000
@@ -122,7 +122,8 @@
fi
AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes])
AC_SUBST(x_includes)
-AC_SUBST(x_libraries)
+test -n "$x_libraries" && X_LDFLAGS="-L$x_libraries"
+AC_SUBST(X_LDFLAGS)
dnl ###############################################
dnl Settung up library version
--- agg-2.5.orig/src/platform/X11/Makefile.am 2006-12-11 00:59:45.000000000 +0000
+++ agg-2.5/src/platform/X11/Makefile.am 2007-01-07 14:07:39.000000000 +0000
@@ -1,8 +1,8 @@
if ENABLE_X11
lib_LTLIBRARIES = libaggplatformX11.la
-libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@
+libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @X_LDFLAGS@
libaggplatformX11_la_SOURCES = agg_platform_support.cpp
libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include -I@x_includes@
-libaggplatformX11_la_LIBADD = -lX11
+libaggplatformX11_la_LIBADD = ../../libagg.la -lX11
endif

View File

@ -1,10 +0,0 @@
--- agg-2.5/libagg.pc.in.orig 2007-01-07 13:58:28.000000000 +0000
+++ agg-2.5/libagg.pc.in 2007-01-07 14:02:40.000000000 +0000
@@ -6,5 +6,6 @@
Name: libagg
Description: Anti Grain Geometry - A High Quality Rendering Engine for C++
Version: @VERSION@
-Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg
+Requires.private: freetype2
+Libs: -L${libdir} -lagg
Cflags: -I${includedir}

View File

@ -1,51 +0,0 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=akonadi
pkgver=1.13.0
pkgrel=2
pkgdesc="kde PIM storage service server"
url="http://pim.kde.org/akonadi"
arch="x86 x86_64"
license="LGPL"
depends=""
depends_dev="boost-dev qt-dev postgresql-dev libxslt-dev shared-mime-info"
makedepends="$depends_dev cmake automoc4"
install=""
subpackages="$pkgname-dev"
source="http://download.kde.org/stable/akonadi/src/akonadi-$pkgver.tar.bz2
disable-backtrace-1.13.0.patch"
_builddir="$srcdir"/akonadi-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
-DAKONADI_BUILD_TESTS=OFF \
-Wno-dev \
"$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="84eb2e471bd6bdfe54a2a2f1d858c07d akonadi-1.13.0.tar.bz2
e9c4b8af3e3222ec001bf3a90132fcf5 disable-backtrace-1.13.0.patch"
sha256sums="8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2 akonadi-1.13.0.tar.bz2
31c929cd87b655075380cee2790f73c7ef80373c3c845bf195029cef6e875390 disable-backtrace-1.13.0.patch"
sha512sums="4bf2026c3807b5493c9f63d0c2bff2e6db00fbe97a4e2c2f707aaa3bf4a848b70dd9657d8fa1743690e8eeefd967de4895c1329c6bb817a1d023fe398285222f akonadi-1.13.0.tar.bz2
bf4571643e27e705933a0e6491144b0fd1d55abbfbc75f93a65234e880625cc4c03eca0994d6c0a90b9c3521be5d33b91399b079fc07da662bdbc807775daa8d disable-backtrace-1.13.0.patch"

View File

@ -1,11 +0,0 @@
--- akonadi-1.13.0/shared/akcrash.cpp.orig
+++ akonadi-1.13.0/shared/akcrash.cpp
@@ -39,7 +39,7 @@
QString s;
/* FIXME: is there an equivalent for windows? */
-#ifdef Backtrace_FOUND
+#if defined (__GLIBC__)
void *trace[256];
int n = backtrace( trace, 256 );
if ( !n ) {

View File

@ -1,40 +0,0 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible-playbook-debugger
pkgver=0.2.1
pkgrel=0
pkgdesc="A debugger for Ansible playbooks"
url="https://github.com/ks888/ansible-playbook-debugger"
arch="noarch"
license="GPLv3"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="af3b9b98fa080819febfefbd4a2942ce ansible-playbook-debugger-0.2.1.tar.gz"
sha256sums="3c95f8a61aecd66ffd3770d102baa83e043f1025c40ed6eefe4c261e50ab95c6 ansible-playbook-debugger-0.2.1.tar.gz"
sha512sums="a303c7f4587ce5e243f571c6c0cce658fa94b4818a3892d2c78952a0ae104266ff908a38f8bff53a23a5938933ade82b6a7d7de20d841d3ad73815f82fdd1707 ansible-playbook-debugger-0.2.1.tar.gz"

View File

@ -1,38 +0,0 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=apache-mod-backtrace
pkgver=0
pkgrel=2
pkgdesc="A module which uses system functions to format a backtrace to show what code did the dirty deed."
url="http://people.apache.org/~trawick/exception_hook.html"
arch="all"
license="ASL 2.0"
depends="apache2"
makedepends="apache2-dev apr-dev autoconf"
install=""
subpackages=""
source="http://people.apache.org/~trawick/mod_backtrace.c
configure.in
Makefile.in"
build() {
cd "$srcdir"
autoconf
./configure
make DESTDIR="$pkgdir" || return 1
}
package() {
cd "$srcdir"
install -D -m755 "$srcdir"/.libs/mod_backtrace.so "$pkgdir"/usr/lib/apache2/mod_backtrace.so
}
md5sums="6535f86200e759722d5145a1f29ef966 mod_backtrace.c
623409fd18dea63d6da509f2818491ef configure.in
e796e84b98ad73f2420ad8ef6fc5c01b Makefile.in"
sha256sums="285d38fb1ccb2824c1194e8951846d2660a64747c8b10a3f238e0d62beb6e87c mod_backtrace.c
a679a358e0bffc448cc9250081a38ff10c15e045e2be8abdd5d97d2c87def9a8 configure.in
a6856d67302d79a9d85881a49a0c9119e070b3ebedd4e8d814fa7e045e84c5d6 Makefile.in"
sha512sums="ac8fff0c531fc46f6e6eba32b7eeaaf0fc3945927bca4e7c822f268d2132a1c3521ccc3b3593cb4ee6bc4d8c531c536fbc6c8c2c4a034213267d40f865774efc mod_backtrace.c
bd21dc9c2b2c176478a47dc47bb6eaf1d2348dfbd2ffcb689605aa8f9270ebfd623a9dac1b30b27c3622bf025e74233a58096b9f21c8f31147e90009dd5031d3 configure.in
2805d1ad2efb0c82a54aa53fd6fb999c5d332909af7a97da8cc47a36d539dfa8dbfca94165cd78dde85aef88db437516f65ed04078dcd1de2e71608a6790ed5c Makefile.in"

View File

@ -1,35 +0,0 @@
#
# Makefile for mod_backtrace
#
# Based off of Makefile for mod_auth_ntlm_winbind by
# Matt Smith <mcs@darkregion.net>, 2011/01/04
#
# Programs
APXS = @APXS@
APXS_FLAGS = @APXS_FLAGS@
SODIR = @SODIR@
APXSLIBDIR=$(DESTDIR)/$(shell $(APXS) -q LIBEXECDIR)
# Build the dso
MOD_BACKTRACE_SRC = mod_backtrace.c
$(SODIR)mod_backtrace.so: $(MOD_BACKTRACE_SRC)
$(APXS) $(APXS_FLAGS) -Wc,-Wall -c -lubacktrace $(MOD_BACKTRACE_SRC)
install: $(SODIR)mod_backtrace.so
$(APXS) $(APXS_FLAGS) -S LIBEXECDIR=$(APXSLIBDIR) -n backtrace -i $(SODIR)mod_backtrace.so
# Clean targets
clean:
@rm -f *~ $(MOD_BACKTRACE_SRC:.c=.{la,lo,o,slo})
@rm -rf $(SODIR)
realclean: clean
@rm -f config.log
distclean: realclean
@rm -f config.h Makefile \
config.status config.cache
@rm -rf autom4te.cache

View File

@ -1,46 +0,0 @@
# Process this file with autoconf to produce a configure script.
AC_INIT(mod_backtrace.c)
# Basic stuff
AC_PROG_CC
AC_PROG_CPP
AC_STDC_HEADERS
# We use axps to compile source files, which may be in /usr/sbin
AC_ARG_WITH(apxs,
[ --with-apxs=PATH Specify path to apxs],
[ APXS="$withval" ],
[ AC_PATH_PROGS([APXS], [apxs2 apxs],, [$PATH:/usr/sbin]) ])
AC_ARG_WITH(apache,
[ --with-apache=PATH Specify path to apache executable],
[ HTTPD="$withval" ],
[ AC_PATH_PROG([HTTPD], [httpd], [/usr/sbin/httpd], [$PATH:/usr/sbin]) ])
APACHE_VER=`${HTTPD} -v | grep version`
if echo "$APACHE_VER" | grep -q "/2\."
then
APXS_FLAGS=-DAPACHE2
SODIR=.libs/
echo "Building for Apache 2."
else
echo "Building for Apache 1."
fi
# Check for some headers
AC_CHECK_HEADERS(stdlib.h unistd.h sys/socket.h sys/time.h grp.h)
AC_CHECK_HEADERS(nss_common.h nss.h)
# Determine size of basic types
AC_CHECK_SIZEOF(int,cross)
AC_CHECK_SIZEOF(long,cross)
AC_CHECK_SIZEOF(short,cross)
# Create Makefile
AC_SUBST(APXS_FLAGS)
AC_SUBST(SODIR)
AC_OUTPUT(Makefile)

View File

@ -1,58 +0,0 @@
# Contributor: Florian Heigl <florian.heigl@gmail.com>
# Maintainer: Florian Heigl <florian.heigl@gmail.com>
pkgname=apache2-mod-sflow
pkgver=1.0.5
pkgrel=0
pkgdesc="Apache module to implement logging using sFlow for monitoring of large web clusters."
url="https://code.google.com/p/mod-sflow/"
arch="all"
license="InMon sFlow (http://www.inmon.com/technology/sflowlicense.txt)"
depends="apache2"
# add svn?
makedepends="apache2-dev apr-dev autoconf"
install=""
subpackages=""
source="http://dev.alpinelinux.org/archive/mod-sflow/mod-sflow-$pkgver.tar.gz"
_builddir="$srcdir"/mod-sflow-$pkgver
prepare() {
return 0
}
snapshot() {
cd "$srcdir"
svn checkout http://mod-sflow.googlecode.com/svn/tags/REL-$pkgver \
mod-sflow-$pkgver || return 1
tar -zcf mod-sflow-$pkgver.tar.gz \
--exclude mod-sflow-$pkgver/.svn \
mod-sflow-$pkgver || return 1
scp mod-sflow-$pkgver.tar.gz dev.alpinelinux.org:/archive/mod-sflow/
}
build() {
cd "$_builddir"
/usr/bin/apxs -Wc -c mod_sflow.c sflow_api.c
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/lib/apache2 "$pkgdir"/etc/apache2/conf.d
install -D -m755 "$_builddir"/.libs/mod_sflow.so \
"$pkgdir"/usr/lib/apache2/mod_sflow.so || return 1
install -d "$pkgdir"/etc/httpd/conf.d
cat > "$pkgdir"/etc/httpd/conf.d/sflow.conf <<EOF
LoadModule sflow_module modules/mod_sflow.so
<IfModule mod_sflow.c>
<Location /sflow>
SetHandler sflow
</Location>
</IfModule>
EOF
}
md5sums="0279b545f433fa8aa5f74647b6ec567f mod-sflow-1.0.5.tar.gz"
sha256sums="5639e6953269afb418514c288614083f1a39d6f58ab8d59d98f0260cf4499673 mod-sflow-1.0.5.tar.gz"
sha512sums="66cb95364d32ca2a5cdfc84f022b14aeb8a6af2eeec899e7a2424ad64063616ff6e349fb4ecae6d6d07c5256d2187a439995c027151ce720e40fae05cbcee270 mod-sflow-1.0.5.tar.gz"

View File

@ -1,39 +0,0 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=apts
pkgver=0.3
pkgrel=2
pkgdesc="APTS - Alpine Package Testing Suite"
depends=
makedepends=
source="http://git.alpinelinux.org/cgit/jbilyk/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
"
url="http://git.alpinelinux.org/cgit/jbilyk/apts.git/"
arch="noarch"
license=GPL2
build() {
echo "Nothing to build, moving on to package"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
mkdir -p "$pkgdir"/etc/apts
mkdir -p "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/share/$pkgname/tests
mkdir -p "$pkgdir"/usr/share/docs/$pkgname
install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname
install -m644 -D apts.conf "$pkgdir"/etc/$pkgname/${pkgname}.conf
install -m644 -D README "$pkgdir"/usr/share/docs/$pkgname/README
install -m644 -D missing-tests "$pkgdir"/usr/share/docs/$pkgname/missing-tests
install -m644 -D torvalds-says-linux.mp3 "$pkgdir"/usr/share/$pkgname/torvalds-says-linux.mp3
install -m644 -D test.rar "$pkgdir"/usr/share/$pkgname/test.rar
for i in `ls tests`; do
install -m644 -D tests/$i "$pkgdir"/usr/share/$pkgname/tests/$i
done
}
md5sums="58d42b53f2a88b74fc3422be681ce9dd apts-0.3.tar.bz2"
sha256sums="360f9e4232a0ba8f06151b30ca3762ac7e48086eabe9d122c05ebc39adb18932 apts-0.3.tar.bz2"
sha512sums="571b2c89c4747d2b4c2d113c3289a1fce53679fa778c3f4bcedab9e8ce1106beccf7ca7a773ec1d235c96ca37ebdd4e4c656ef3808e941f636476983be4601fd apts-0.3.tar.bz2"

View File

@ -1,68 +0,0 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=arc-theme
_project="horst3180/Arc-theme"
_sha=5955dfd4603983c7dfffa6e903bf3220df60c03e
pkgver=20150603
pkgrel=0
pkgdesc="A flat theme with transparent elements"
url="https://github.com/horst3180/Arc-theme"
arch="noarch"
license="GPL"
depends="gtk-murrine-engine"
depends_dev=""
makedepends="$depends_dev automake autoconf libtool coreutils"
install=""
subpackages="$pkgname-gtk2 $pkgname-gtk3"
source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz"
_builddir="$srcdir"/${_project#*/}-$_sha
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-unity \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
gtk2() {
pkgdesc="A GTK2 flat theme with transparent elements"
mkdir -p "$subpkgdir"/usr/share/themes/Arc
mv "$pkgdir"/usr/share/themes/Arc/gtk-2.0 \
"$subpkgdir"/usr/share/themes/Arc/ || return 1
}
gtk3() {
pkgdesc="A GTK3 flat theme with transparent elements"
mkdir -p "$subpkgdir"/usr/share/themes/Arc
mv "$pkgdir"/usr/share/themes/Arc/gtk-3.0 \
"$subpkgdir"/usr/share/themes/Arc/ || return 1
}
md5sums="c0074f11844b2aeabba1f85b5c069c35 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz"
sha256sums="1b62ee973f0b351a7c6ea76bf11c7758deeb89a0c46ce3bfcff63376b4d8ee66 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz"
sha512sums="8462c23e53ad951207b8f6a145dfd9cacc0a3963df5d89a1d1a97de9c01f1872febf2ebf91048c966115b66fcc6b4ef842b9e6c1a6c1113878e39e2f492643b2 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz"

View File

@ -1,53 +0,0 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=arpalert
pkgver=2.0.11
pkgrel=1
pkgdesc="Monitor ARP changes in ethernet networks"
url="http://www.arpalert.org"
arch="all"
license="GPL2"
depends=""
depends_dev="libpcap-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.arpalert.org/src/$pkgname-$pkgver.tar.gz
$pkgname.initd"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--sharedstatedir=/usr/share \
--localstatedir=/var \
--includedir=/usr/include \
--datarootdir=/usr/share \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="4b2b7682b27c7f260716f59ecfa50ecc arpalert-2.0.11.tar.gz
da046bdcd1dde63930a3353b37e35ddd arpalert.initd"
sha256sums="d3166f0de57729902d84a61626794494c4eac80ee58241d07c813809328e62cd arpalert-2.0.11.tar.gz
c413e956f253120455874c1d94ec24b09d896fa410974aa309eb31468e25306e arpalert.initd"
sha512sums="8593b5f87c8435bc0dfb6b1d48b72705a109425410039341fddb49beddacb30c87e2b30a1f86cca17bb64aa407060ee5b9437ff2801b9869261ed91f6f5e141f arpalert-2.0.11.tar.gz
0f0caf396601d199e649a35e078ab512d67fca020f207a3389968a2c9749fdeca3856359ba3d2650ef1dda5a1d399de39cd3e33a54df12258825646f0a626160 arpalert.initd"

View File

@ -1,18 +0,0 @@
#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting arpalert"
start-stop-daemon --quiet --start --pidfile /var/run/arpalert.lock --exec /usr/sbin/arpalert -- -d
eend $?
}
stop() {
ebegin "Stopping arpalert"
start-stop-daemon --quiet --stop --pidfile /var/run/arpalert.lock
eend $?
}

View File

@ -1,30 +0,0 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=array-info
pkgver=0.16
pkgrel=1
pkgdesc="Retrieve informations and status from RAID controllers"
url="http://sourceforge.net/projects/array-info/"
license="GPL2+"
arch="all"
depends=""
makedepends="docbook-xsl gzip"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
local _xsl=$(echo /usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl)
make prefix=/usr DOCBOOK2XMAN="xsltproc --nonet $_xsl" \
#build_lib build_plugins abuild-info array-info.1.gz \
}
package() {
cd "$_builddir"
make prefix=/usr DESTDIR="$pkgdir" install || return 1
}
md5sums="802e9be5e40a5a945956a123fc81f65f array-info_0.16.tar.gz"
sha256sums="800090f8d6008c60a5018e230071b6f5fc9b81f8a72d38dae3242cf1372eee3a array-info_0.16.tar.gz"
sha512sums="a671a503cacf12e4cc5b62a3290b0483eb9b8f80923e051867e0afc5f9b06132e6b1c98f6188fe2cfe41ab7c0ead209dd0a3bd1559a7d72bf0a789c445c242ba array-info_0.16.tar.gz"

View File

@ -1,20 +0,0 @@
--- Makefile.orig Tue Dec 29 13:46:28 2009
+++ Makefile Tue Dec 29 13:47:38 2009
@@ -1,5 +1,5 @@
DESTDIR =
-prefix = /usr/local
+prefix = /usr
sbindir = $(prefix)/sbin
pkglibdir = $(prefix)/lib/array-info
mandir = $(prefix)/share/man
@@ -8,8 +8,8 @@
INCLUDES = -I./include -I./linuxheaders
-CFLAGS = -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
-LDFLAGS = -L./lib -larray-info -ldl
+CFLAGS += -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\"
+LDFLAGS += -L./lib -larray-info -ldl
OBJS = array_plugin.o array_utils.o main.o
ARRAY_PLUGIN_PATH=$(pkglibdir)/plugins

View File

@ -1,66 +0,0 @@
# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asterisk-audio-konf
_basever=0
_gitver=101026
pkgver=${_basever}_git${_gitver}
pkgrel=2
pkgdesc="A fork of AppKonference focused entirely on audio conferencing"
url="http://github.com/jthomerson/AsteriskAudioKonf/"
arch=""
license="GPL2"
depends=""
makedepends="asterisk-dev"
install=""
subpackages=""
_snapfile="$pkgname-$pkgver.tar.bz2"
source="http://dev.alpinelinux.org/~tteras/$_snapfile"
_gitver=101026
_giturl="git://github.com/jthomerson/AsteriskAudioKonf.git"
_builddir="$srcdir"/$pkgname/konference
snapshot() {
_gitver=$(date +%y%m%d)
pkgver=${_basever}_git$_gitver
_snapfile="$pkgname-$pkgver.tar.bz2"
if [ -d "$SRCDEST"/$pkgname ]; then
cd "$SRCDEST"/$pkgname
git pull --rebase || return 1
else
cd "$SRCDEST"
git clone $_giturl $pkgname
fi
cd "$SRCDEST"
tar -jcf $_snapfile $pkgname
pkgrel=0
sed -i -e "s/^_gitver=.*/_gitver=${_gitver}/" \
-e "s/^pkgrel=.*/pkgrel=$pkgrel/" \
"$startdir"/APKBUILD
checksum
}
prepare() {
cd "$_builddir"
# Enable Speex16 support
sed -e '/CPPFLAGS += -DAC_USE_SPEEX16/s/^\# *//' -i Makefile
#for i in "$srcdir"/*.patch; do
# patch -p1 -i "$i" || return 1
#done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make INSTALL_PREFIX="$pkgdir" install
}
md5sums="9f560cae3afc363282db60e0d69c6643 asterisk-audio-konf-0_git101026.tar.bz2"

View File

@ -1,41 +0,0 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asunder
pkgver=2.3
pkgrel=1
pkgdesc="A graphical Audio CD ripper and encoder"
url="http://littlesvr.ca/asunder"
arch="all"
license="GPL2"
depends="cdparanoia"
makedepends="libcddb-dev gtk+-dev"
install=""
subpackages="$pkgname-lang"
source="http://littlesvr.ca/asunder/releases/asunder-$pkgver.tar.bz2"
_builddir="$srcdir"/asunder-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="dd690d8f4c68a2e786c657e08be688d0 asunder-2.3.tar.bz2"
sha256sums="ded2eff22c7e65f46eecd8ad89c6c37c5a032af280e293a59c3e5bb34c0bb05f asunder-2.3.tar.bz2"
sha512sums="fdab3a7767b63d807d7a8d7bb590da0e2229c4da34eba92d3cde0b955aa3cb7a6f45081fe3616576bfd4ed7847aac56c580cb4ecaa9f3bdde9759dd1a75f777d asunder-2.3.tar.bz2"

View File

@ -1,52 +0,0 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atheme-services
pkgver=7.0.5
pkgrel=1
pkgdesc="Atheme IRC services"
url="http://www.atheme.net/atheme.html"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev openssl-dev pcre-dev libmowgli-dev>=2"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.atheme.net/downloads/atheme-services-$pkgver.tar.bz2
cc.patch"
_builddir="$srcdir"/atheme-services-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc/atheme \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-fhs-paths \
--disable-rpath \
--with-pcre \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="e9b7ae54374eed559d0a693e3bb34ac0 atheme-services-7.0.5.tar.bz2
ad2542446b126511c61250d8f6a085d8 cc.patch"
sha256sums="25271eb1e9218ceeec87824dbe90a2bfc59f116e258b6ee803573dfa8c4fcc30 atheme-services-7.0.5.tar.bz2
d49ad794e1513477bbe69dfe678ab90f6eb496f209a64ca114f7cde2fd64ff03 cc.patch"
sha512sums="dfa27c2d7a90ae9be173ccf6675bec4db92f92f01a9ebb8e8847730f45d159db316d827cbe1f30276dbd7db326529d42f1281e0b6940261992893f0ff36710a5 atheme-services-7.0.5.tar.bz2
f925ca0d69c79e597bcf322b0b7dbdf9f929166cbb8e62171f0b4674309023eaa679df29f9fdf11ccdacf770dad676db32657f58ea62d066bf9cda5709e55db8 cc.patch"

View File

@ -1,11 +0,0 @@
--- ./buildsys.module.mk.orig 2013-02-27 15:42:02.645844726 +0000
+++ ./buildsys.module.mk 2013-02-27 15:42:29.722758404 +0000
@@ -8,7 +8,7 @@
install: $(PLUGIN)
.c$(PLUGIN_SUFFIX):
- COMPILER=${CC}; \
+ COMPILER="${CC}"; \
COMPILER_FLAGS="-MMD -MP ${CFLAGS} ${PLUGIN_CFLAGS} ${CPPFLAGS} ${PLUGIN_LDFLAGS} ${LDFLAGS} -o $@ $< ${LIBS}"; \
${COMPILE_STATUS}; \
if $${COMPILER} $${COMPILER_FLAGS}; then \

View File

@ -1,56 +0,0 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=aurena
_project=thaytan/aurena
_sha=ccc0530a57edf8e86729abaf378779d2e689aabf
pkgver=20150622
pkgrel=0
pkgdesc="Aurena distributed media player"
url="https://github.com/thaytan/aurena"
arch="all"
license="GPLv2"
depends=""
depends_dev="glib-dev avahi-dev libsoup-dev py-gobject-dev json-glib-dev
gstreamer1-dev gst-plugins-base1-dev sqlite-dev gtk+3.0-dev"
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-simple-client:simple_client"
source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz"
_builddir="$srcdir"/${_project#*/}-$_sha
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh || return 1
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
simple_client() {
pkgdesc="Aurena simple client"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/aurena-simple* \
"$subpkgdir"/usr/bin/ || return 1
}
md5sums="6c41811d8a6f4e7499a628d20e822832 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz"
sha256sums="92f4aa89b412ab3221ab90fb610a114a70a549d347b9eb2d4a8f62de4c59dd96 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz"
sha512sums="3ee629fda2e889775fb6c36dd212aa9ecb29354e738cca55a930192a70d422265c148aa4807f4c3a14bb478e0411c25507aeb719d824d641dc32c33e3b335994 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz"

View File

@ -1,44 +0,0 @@
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer:
pkgname=baloo-widgets
pkgver=4.13.3
pkgrel=0
pkgdesc="Widgets for Baloo"
url="https://projects.kde.org/projects/kde/kdelibs/baloo-widgets"
arch="all"
license="LGPL"
depends=
depends_dev="baloo-dev"
makedepends="$depends_dev automoc4 cmake"
install=""
subpackages="$pkgname-dev"
source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"
_builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir -p "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev "$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="0a59414e29fc71550ee6e239ec2d0bfa baloo-widgets-4.13.3.tar.xz"
sha256sums="94ba17e9d9c1f711f9fd1fffc801d812907f078fe4d929a33c8b6c059408238a baloo-widgets-4.13.3.tar.xz"
sha512sums="3f6d6002de309c13d5b60188898117b21c4e1fed6d646a963f82618b8652afdf1adb75d378c01c0770c3bb439ffe2e2f03dfabc724c0a6490cedb024c3749faa baloo-widgets-4.13.3.tar.xz"

View File

@ -1,48 +0,0 @@
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer:
pkgname=baloo
pkgver=4.13.3
pkgrel=0
pkgdesc="A framework for searching and managing metadata"
url="https://projects.kde.org/projects/kde/kdelibs/baloo"
arch="all"
license="LGPL"
depends=
depends_dev="kdepimlibs-dev kfilemetadata-dev xapian-core-dev"
makedepends="$depends_dev automoc4 cmake"
install=""
subpackages="$pkgname-dev $pkgname-libs"
source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz
no-malloc-xapiandatabase-4.13.3.patch"
_builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir -p "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev "$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="00d818ad48d4ef618e86f5094ebebaa8 baloo-4.13.3.tar.xz
357fadd2779d8243d5c060583ae12aa4 no-malloc-xapiandatabase-4.13.3.patch"
sha256sums="c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043 baloo-4.13.3.tar.xz
4bded5e80c9e49dff0a8c2b767b63a39d46f380cb2ab99397d77f0557d236458 no-malloc-xapiandatabase-4.13.3.patch"
sha512sums="4f476ca4b1462b89c0f12da297cf629cf23bcd6aceb2c1d83caf45e89a55fb20d6effcbc4ed4c9b08c24877f899beb7aa462b2f15e0bb5aba719e613f768862d baloo-4.13.3.tar.xz
b3b9f966acf72da52df378ee9885c3b5d66d6d7bd976fa3b7b1a0a19e69fdd7fa1a2261438e247c4a6dc8c125fb25b6d41e189b163d171d99b7bc283e4266c99 no-malloc-xapiandatabase-4.13.3.patch"

View File

@ -1,11 +0,0 @@
--- baloo-4.13.3/src/xapian/xapiandatabase.cpp.orig
+++ baloo-4.13.3/src/xapian/xapiandatabase.cpp
@@ -140,7 +140,7 @@
m_docsToAdd.clear();
m_docsToRemove.clear();
-#ifdef __GNUC__
+#if defined (__GLIBC__)
malloc_trim(0);
#endif
}

View File

@ -1,58 +0,0 @@
"""This provides Bcfg2 support for alpinelinux APK packages."""
__revision__ = '$Revision$'
import Bcfg2.Client.Tools
class APK(Bcfg2.Client.Tools.PkgTool):
"""apk package support."""
name = 'APK'
__execs__ = ["/sbin/apk"]
__handles__ = [('Package', 'apk')]
__req__ = {'Package': ['name', 'version']}
pkgtype = 'apk'
pkgtool = ("/sbin/apk add %s", ("%s", ["name"]))
def __init__(self, logger, setup, config):
Bcfg2.Client.Tools.PkgTool.__init__(self, logger, setup, config)
self.installed = {}
self.RefreshPackages()
def RefreshPackages(self):
"""Refresh memory hashes of packages."""
names = self.cmd.run("/sbin/apk info")[1]
nameversions = self.cmd.run("/sbin/apk info -v")[1]
for pkg in zip(names, nameversions):
pkgname = pkg[0]
version = pkg[1][len(pkgname)+1:]
self.logger.debug(" pkgname: %s\n version: %s" % (pkgname, version))
self.installed[pkgname] = version
def VerifyPackage(self, entry, modlist):
"""Verify Package status for entry."""
if not 'version' in entry.attrib:
self.logger.info("Cannot verify unversioned package %s" %
(entry.attrib['name']))
return False
if entry.attrib['name'] in self.installed:
if entry.attrib['version'] == 'auto' or self.installed[entry.attrib['name']] == entry.attrib['version']:
#if not self.setup['quick'] and \
# entry.get('verify', 'true') == 'true':
#FIXME: We should be able to check this once
# http://trac.macports.org/ticket/15709 is implemented
return True
else:
self.loggger.info( " pkg %s at version %s, not %s" % (entry.attrib['name'],self.installed[entry.attrib['name']],entry.attrib['version']) )
entry.set('current_version', self.installed[entry.get('name')])
return False
entry.set('current_exists', 'false')
return False
def RemovePackages(self, packages):
"""Remove extra packages."""
names = [pkg.get('name') for pkg in packages]
self.logger.info("Removing packages: %s" % " ".join(names))
self.cmd.run("/sbin/apk del %s" % \
" ".join(names))
self.RefreshPackages()
self.extra = self.FindExtraPackages()

View File

@ -1,43 +0,0 @@
# Contributor: Cameron Banta <cbanta@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=bcfg2
pkgver=1.3.5
pkgrel=0
pkgdesc="A configuration management tool"
url="http://bcfg2.org"
arch="noarch"
license="BSD"
depends="python py-lxml"
makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-doc $pkgname-server"
source="ftp://ftp.mcs.anl.gov/pub/bcfg/$pkgname-$pkgver.tar.gz
bcfg2-server.initd"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --root="$pkgdir" || return 1
}
server() {
depends="python bcfg2 py-lxml openssl"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/bcfg2-* "$subpkgdir"/usr/bin/
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/bcfg2 "$subpkgdir"/usr/share/
install -m755 -D bcfg2-server.initd "$subpkgdir"/etc/init.d/$subpkgname
}
md5sums="35729ef9ee75cb0215e89f2578b9c1b7 bcfg2-1.3.5.tar.gz
9a13baa6f40267ff9dbec574967c5068 bcfg2-server.initd"
sha256sums="67af2ea039c159a88ea29105f40589b677a08359101b428afbab6e1fec117c06 bcfg2-1.3.5.tar.gz
c23385c66d5a472d3a322873b2873301db8f674af9e03c24105158c27ce0831c bcfg2-server.initd"
sha512sums="cd6b7785231e112fdb719747682d9d0f09e6dfc9bc24b8c44f07537b729b98e8bbab2106325ac04921ee2acdcf92077b3d716f9820457ab7091371a74a640190 bcfg2-1.3.5.tar.gz
8ad40aedeaa5084793a624599ff4ec61a1b6489854b5533504baf456c9c39f97a4c80a521909c7386c481d2417ad59f28735cfbeedf86468634223695f1dc2fc bcfg2-server.initd"

View File

@ -1,23 +0,0 @@
#!/sbin/runscript
#
# bcfgd - bcfg configuration daemon
#
#
depend () {
need net
}
start () {
ebegin "Starting bcfg2-server"
start-stop-daemon --start --quiet --pidfile /var/run/bcfg2-server.pid \
--startas /usr/bin/bcfg2-server -- -D /var/run/bcfg2-server.pid
eend $? "Failed to start bcfg2-server"
}
stop () {
ebegin "Stopping bcfg2-server"
start-stop-daemon --stop --quiet --pidfile /var/run/bcfg2-server.pid \
--signal INT
eend $? "Failed to stop bcfg2-server"
}

View File

@ -1,49 +0,0 @@
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=biblesync
pkgver=1.1.2
pkgrel=1
pkgdesc="Library for multicasting Bible navigation used by Xiphos"
url="sf.net/p/gnomesword"
arch="all"
license="Public domain"
depends=""
depends_dev="util-linux-dev"
makedepends="cmake $depends_dev gettext-dev linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/gnomesword/BibleSync/$pkgver/biblesync-$pkgver.tar.gz"
_builddir="$srcdir"/biblesync-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|| return 1
# --build=$CBUILD
# --host=$CHOST
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="25bc063de3da2fc087954c746714f735 biblesync-1.1.2.tar.gz"
sha256sums="886e1ac165b8900254c00a182fa34e3680ef3aa25051418470f15ea09ac02005 biblesync-1.1.2.tar.gz"
sha512sums="7725c8228e2dff79edaf065ff4d4816a6cf214d1d874817345cc4154142144bce479ca1ae871053886bff4f6610715a27bce81c25c2a636444d5873e93bfdc62 biblesync-1.1.2.tar.gz"

View File

@ -1,38 +0,0 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=blists
pkgver=1.0
pkgrel=0
pkgdesc="Web interface to mailing list archives"
url="http://www.openwall.com/blists/"
arch="all"
license="BSD"
depends=
makedepends=
install=
subpackages=
source="http://www.openwall.com/blists/blists-$pkgver.tar.gz"
_builddir="$srcdir"/blists-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
install -D bit "$pkgdir"/usr/bin/bit
install -D bindex "$pkgdir"/usr/bin/bindex
}
md5sums="bd84e3793ec05d3910631e7b55e32630 blists-1.0.tar.gz"

View File

@ -1,50 +0,0 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bsnes
pkgver=0.91
_x=${pkgver%.*}
_y=${pkgver#*.}
_pkgver="v${_x}${_y}"
pkgrel=1
pkgdesc="high accuracy SNES emulator"
url="http://byuu.org/bsnes/"
arch="x86 x86_64"
license="GPL"
depends=
depends_dev="qt-dev openal-soft-dev sdl-dev alsa-lib-dev mesa-dev libao-dev
libxv-dev gtk+-dev"
makedepends="$depends_dev"
install=""
subpackages=
source="http://bsnes.googlecode.com/files/${pkgname}_${_pkgver}-source.tar.xz
no-pulseaudio.patch
define-disassembler_read-relb.patch
"
_builddir="${srcdir}/${pkgname}_${_pkgver}-source/bsnes"
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
# remove sudo from makefiles
# don't install stuff in the buildbot user's homedir
find -name 'Makefile' | xargs sed -i -e 's/sudo //' -e '/~\/\.config/d'
}
build() {
cd "$_builddir"
make compiler=gcc prefix=/usr profile=performance || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" prefix=/usr profile=performance install || return 1
}
md5sums="ba53212c56990e83d7770393c4e2d173 bsnes_v091-source.tar.xz
037fb1b2949957daf1942ff3abc4deed no-pulseaudio.patch
957204062ed4634bd83345aa597666c4 define-disassembler_read-relb.patch"

View File

@ -1,13 +0,0 @@
diff --git a/bsnes/snes/alt/smp/smp.hpp b/bsnes/snes/alt/smp/smp.hpp
index f81c454..ad04d3e 100755
--- a/bsnes/sfc/alt/smp/smp.hpp
+++ b/bsnes/sfc/alt/smp/smp.hpp
@@ -22,6 +22,8 @@ public:
~SMP();
void disassemble_opcode(char *output, uint16 addr);
+ uint8 disassemble_read(uint16);
+ uint16 relb(int8, int);
//private:
struct Flags {

View File

@ -1,13 +0,0 @@
diff --git a/bsnes/ui/Makefile b/bsnes/ui/Makefile
index 8b9a1a6..11e7b99 100755
--- a/bsnes/target-ethos/Makefile
+++ b/bsnes/target-ethos/Makefile
@@ -11,7 +11,7 @@ ui_objects += $(if $(call streq,$(platform),win),resource)
# platform
ifeq ($(platform),x)
ruby := video.glx video.xv video.sdl
- ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao
+ ruby += audio.alsa audio.openal audio.oss audio.ao
ruby += input.sdl input.x
else ifeq ($(platform),osx)
ruby :=

View File

@ -1,47 +0,0 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=bugzilla
pkgver=4.4
pkgrel=0
pkgdesc="A bug tracker"
url="http://www.bugzilla.org"
arch="noarch"
license="MPL 2.0"
depends=""
depends_dev="perl perl-timedate perl-datetime perl-email-abstract \
perl-email-address perl-email-date-format \
perl-email-messageid perl-email-mime perl-email-mime-attachment-stripper \
perl-email-mime-contenttype perl-email-mime-encodings \
perl-email-reply perl-email-sender perl-email-simple perl-patchreader \
perl-ldap perl-soap-lite perl-authen-sasl \
perl-xml-twig perl-html-scrubber perl-radiusperl perl-template-toolkit"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-$pkgver.tar.gz"
_builddir="$srcdir"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
}
package() {
cd "$_builddir"
install -d -m0755 "$pkgdir"/usr/share/webapps
cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps
rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzr
rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrignore
}
md5sums="88fc3e1ec2ed37973dd134032168a0e7 bugzilla-4.4.tar.gz"
sha256sums="709e1b07ca23a91fbf5fb3d34645a8b574af39034b216daa1811effd02ebd72e bugzilla-4.4.tar.gz"
sha512sums="3ae45ebca5b3faf0d416d26b5f0e759067837e09c38f137aeea49d1ebfe8e9277a7d5337b13f54484c959ad86cd36e05c2f592c6d759dc302a92cd2993b1622f bugzilla-4.4.tar.gz"

View File

@ -1,52 +0,0 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=burp
pkgver=1.4.32
pkgrel=0
pkgdesc="Backup and resore program"
url="http://burp.grke.net/"
arch="all"
license="AGPLv3"
depends=
depends_dev="librsync-dev zlib-dev openssl-dev"
makedepends="$depends_dev gettext-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/burp/burp-$pkgver/burp-$pkgver.tar.bz2
librsync-1.0.0.patch
"
_builddir="$srcdir"/burp
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make -C src || return 1
make NO_ECHO= || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="d2cd5bb6f8266e7d2b0350157bedc480 burp-1.4.32.tar.bz2
ae7640202c3c36ee3b302d0551cedd59 librsync-1.0.0.patch"
sha256sums="3f1aa69d0a8dcc472f789cc4d41aed449ec9b9e79d2c61dd16d270b34c34617e burp-1.4.32.tar.bz2
1341e72efd8a3cc4b98c7508ec3404ab6735b21722a569297abb4b8354ee3612 librsync-1.0.0.patch"
sha512sums="020947ab4f957a3dc99d65dc9197c6a65f205756b55ff2dfc4c3340e28c88f1b6ddaf579373c969c6b1af1050be8af0bc3756281a0b3a1ea9ff5b775aaed29ae burp-1.4.32.tar.bz2
f866e5caebb69bea812f662458e824191206abbdc15a15b379df374c32cedcddb260c246d201c8eb33f9965a74e00ffb750912de90e1d991b614785f9868df8f librsync-1.0.0.patch"

View File

@ -1,36 +0,0 @@
--- ./src/backup_phase2_server.c.orig
+++ ./src/backup_phase2_server.c
@@ -483,7 +483,11 @@
free(curpath);
blocklen=get_librsync_block_len(cb->endfile);
+#ifdef RS_DEFAULT_STRONG_LEN
if(!(p1b->sigjob=rs_sig_begin(blocklen, RS_DEFAULT_STRONG_LEN)))
+#else
+ if(!(p1b->sigjob=rs_sig_begin(blocklen, 8, RS_MD4_SIG_MAGIC)))
+#endif
{
logp("could not start signature job.\n");
return -1;
--- ./src/backup_phase4_server.c.orig
+++ ./src/backup_phase4_server.c
@@ -38,7 +38,7 @@
}
result=rs_sig_gzfile(dstfp, dstzp, sigp,
get_librsync_block_len(endfile),
- RS_DEFAULT_STRONG_LEN, NULL, cntr);
+ 8, NULL, cntr);
gzclose_fp(&dstzp);
close_fp(&dstfp);
if(close_fp(&sigp))
--- ./src/rs_buf.c.orig
+++ ./src/rs_buf.c
@@ -497,7 +497,7 @@
rs_job_t *job;
rs_result r;
- job = rs_sig_begin(new_block_len, strong_len);
+ job = rs_sig_begin(new_block_len, strong_len, RS_MD4_SIG_MAGIC);
r = rs_whole_gzrun(job, old_file, old_zfile, sig_file, NULL, cntr);
/*
if (stats)

View File

@ -1,46 +0,0 @@
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer:
pkgname=cantata
pkgver=1.5.2
pkgrel=0
pkgdesc="Qt based graphical client for MPD"
url="https://code.google.com/p/cantata/"
arch="all"
license="GPLv3"
depends=""
depends_dev="qt-dev ffmpeg-dev taglib-dev mpg123-dev"
makedepends="cmake $depends_dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.bz2::https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60LV9rM3RMQk85Z1E"
_builddir=$srcdir/$pkgname-$pkgver
prepare() {
# Apply patches
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
mkdir build
cd build
cmake ..
make
}
package() {
cd "$_builddir/build"
make DESTDIR="$pkgdir" install || return 1
mv $pkgdir/usr/local/share/* $pkgdir/usr/share/
rm -r $pkgdir/usr/local
}
md5sums="0b29d30f1b03ecac23eb608309fbeaa1 cantata-1.5.2.tar.bz2"
sha256sums="4de985b74597c4c3936982437ea562711d08c37d318b61e04f5c07af55f52c5f cantata-1.5.2.tar.bz2"
sha512sums="84314758a936d5795a05cade68fe86df90c83b7fae78152bd60ae8b77d3cb71db6e37f0e30d49aba60b5205aea794729357051819d2d806e0a21701a1e0c78ab cantata-1.5.2.tar.bz2"

View File

@ -1,69 +0,0 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=captagent
pkgver=6.0.1
pkgrel=1
pkgdesc="Standalone agent for HOMER, a SIP capture and monitoring system"
url="https://github.com/sipcapture/captagent"
arch="x86 x86_64"
license="GPL3"
depends=
depends_dev=
makedepends="$depends_dev autoconf automake libtool bison libpcap-dev flex
flex-dev flex-libs json-c-dev linux-headers expat-dev"
install=
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive/v$pkgver.tar.gz
build.patch
default-config.patch
captagent.initd
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
msg "Applying $i"
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
./build.sh
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -D -m0664 "$_builddir"/conf/database_hash.xml \
"$pkgdir"/etc/captagent/database_hash.xml
libtool --finish "$pkgdir"/usr/lib/captagent/modules
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="d4039723cc7ea66c33d911ae1d0f182a captagent-6.0.1.tar.gz
fa80597864c1d0f2078780578cce4e71 build.patch
65c7c46864ebff66ccd25033a6e195fd default-config.patch
e08448976f57ef7dd80c628e1e4866a4 captagent.initd"
sha256sums="88e92a0d71b7d39fcbd52e947a98f42f62a54dc94ad857c68f9b05349b5409ec captagent-6.0.1.tar.gz
7f80b504d6d281d6727ffa65f87dff53a7c36c0144cd6fb0ec37863fee53d091 build.patch
37cce9bed56e29621ab8fdd1f1819744823cfcc6cb155d799b2180e2e0f3b0e3 default-config.patch
a32508e6908f95975571cb471dbc79e64678ef26a06925ffa88bbb3d519a53a3 captagent.initd"
sha512sums="ef78bb2bb0f8c72b54116ec2757e0b604b21010161526c4223c2159b2e37c6526b5ebe8eeea7c553f3550c082797894fe3673381e07e0b927627f70d7ebfbef0 captagent-6.0.1.tar.gz
b7188f5f14aadad7bbbb1819b40c245eb5e5f4cc5b92582771bf9f494630b1e39d5c3cb8e51ef250b55ed40309c3e38d2be8281b0b998b2613ca8a168808a746 build.patch
0808b9a2564618f2a7df695101cb713929ae52a77df4709608d4e6e8e38d3cadb75770575d2275347eda0d0521a695ed71785f833459e838ad73b4525d5a10b0 default-config.patch
ab9055cbaa8fffc9ab7fec3f12438350283ab8f039ada7589bbfa1d07c81dac142a7ee46f11652d2a1fc8c9ecb4eb771dcf3f4cd46c5174f215ac6647c6eaafe captagent.initd"

View File

@ -1,48 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 525738c..4fbfa5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,15 +147,8 @@ fi
AC_CHECK_LIB(expat, XML_ParserCreate, , [AC_MSG_ERROR([captagent requires but cannot find libexpat])])
AC_CHECK_LIB(pcap, pcap_open_live, ,[AC_CHECK_LIB(wpcap, pcap_open_live, ,[AC_MSG_ERROR([captagent requires but cannot find libpcap])])])
-AC_CHECK_LIB(json, json_object_get,[ JSON_LIBS="-ljson" ],[
-AC_CHECK_LIB(json-c, json_object_get,[ JSON_LIBS="-ljson-c" ],[
-echo "ERROR: You need libjson to build CaptAgent API module.";
-echo " Verify that you have libjson.a or libjson.so installed";
-echo " If it is in a different directory, try using";
-echo " the LDFLAGS to set its proper path.";
-AC_MSG_ERROR([Fatal: libjson not found.])])])
-
-AC_CHECK_LIB(fl, yywrap, [ FLEX_LIBS="-lfl" ] , [AC_MSG_ERROR([captagent requires but cannot find libfl])])
+PKG_CHECK_MODULES(JSON, json-c)
+FLEX_LIBS="-lfl"
AC_SUBST(PTHREAD_LIBS)
AC_SUBST(DL_LIBS)
diff --git a/src/modules/transport/json/Makefile.am b/src/modules/transport/json/Makefile.am
index 5778a67..db5078e 100644
--- a/src/modules/transport/json/Makefile.am
+++ b/src/modules/transport/json/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = .
noinst_HEADERS = transport_json.h
#
transport_json_la_SOURCES = transport_json.c
-transport_json_la_CFLAGS = -Wall ${MODULE_CFLAGS}
+transport_json_la_CFLAGS = -Wall ${MODULE_CFLAGS} ${JSON_CFLAGS}
transport_json_la_LDFLAGS = -module -avoid-version
transport_json_la_LIBADD = ${PTHREAD_LIBS} ${EXPAT_LIBS} ${JSON_LIBS}
transport_json_laconfdir = $(confdir)
diff --git a/src/modules/transport/json/transport_json.c b/src/modules/transport/json/transport_json.c
index 4c7ed4b..c6d3691 100644
--- a/src/modules/transport/json/transport_json.c
+++ b/src/modules/transport/json/transport_json.c
@@ -41,7 +41,7 @@
#include <signal.h>
#include <time.h>
#include <pthread.h>
-#include <json/json.h>
+#include <json.h>
#ifndef __FAVOR_BSD
#define __FAVOR_BSD

View File

@ -1,18 +0,0 @@
#!/sbin/openrc-run
command=/usr/bin/captagent
pidfile=/var/run/${SVCNAME}.pid
conf=/etc/captagent/${SVCNAME}.xml
#start_stop_daemon_args="--make-pidfile"
depend() {
need net
after firewall
}
start_pre() {
#checkpath --directory ${pidfile%/*}
command_args="-d -f $conf"
}

View File

@ -1,11 +0,0 @@
--- a/conf/captagent.xml
+++ b/conf/captagent.xml
@@ -9,7 +9,7 @@
<param name="daemon" value="false"/>
<param name="syslog" value="false"/>
<param name="pid_file" value="/var/run/captagent.pid"/>
- <param name="module_path" value="/usr/lib64/captagent/modules"/>
+ <param name="module_path" value="/usr/lib/captagent/modules"/>
<param name="config_path" value="/etc/captagent"/>
<param name="capture_plans_path" value="/etc/captagent/captureplans"/>
<param name="backup" value="/etc/captagent/backup"/>

View File

@ -1,56 +0,0 @@
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ccnet
pkgver=5.0.7
pkgrel=0
pkgdesc="framework for writing networked applications in C"
url="https://github.com/haiwen/ccnet/"
arch="all"
license="GPL3"
makedepends="autoconf automake bash glib-dev jansson-dev openssl-dev libevent-dev
libsearpc-dev libtool libzdb-dev python-dev sqlite-dev util-linux-dev vala"
source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/ccnet/archive/v${pkgver}.tar.gz"
subpackages="$pkgname-dev py-$pkgname:py $pkgname-libs"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local pf
cd "${_builddir}"
for pf in $source; do
case $pf in
*.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
esac
done
}
build() {
cd "${_builddir}"
./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-python \
--enable-server
make || return 1
}
package() {
cd "${_builddir}"
make DESTDIR="${pkgdir}" install || return 1
rm "${pkgdir}"/usr/lib/libccnet.la
}
py() {
arch="noarch"
cd "$_builddir"
pkgdesc="$pkgname python bindings"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
md5sums="14f2cc30c2655aadaddeaec48a5d0a36 ccnet-5.0.7.tar.gz"
sha256sums="1e1c670a85619b174328a15925a050c7a8b323fecd13434992332f5c15e05de1 ccnet-5.0.7.tar.gz"
sha512sums="31b980cf0e5187f6769c05c97ede77e4d6ad798ec3ea0fc2c7679e8ef92982683b772811db5435b0be2686b19e8b7dc8f8c8a8f15e5d89ae1de44842e2000954 ccnet-5.0.7.tar.gz"

View File

@ -1,41 +0,0 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cdpsnarf
pkgver=0.1.6
pkgrel=0
pkgdesc="Network sniffer exclusively written to extract information from CDP packets"
url="https://github.com/Zapotek/cdpsnarf"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev libpcap-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.zip::https://github.com/Zapotek/$pkgname/archive/v$pkgver.zip"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
install -Dm755 cdpsnarf "$pkgdir"/usr/bin/cdpsnarf
return 0
}
md5sums="97061a7d01bcb249c7e8b9e49bdf390e cdpsnarf-0.1.6.zip"
sha256sums="ff53991d43966e311d256e4cc64e31e4f0c90270bb466bdef020920801e18bd9 cdpsnarf-0.1.6.zip"
sha512sums="3736c4862c62505c48f26dc01c49a83d792427fadb0291cced7fbef6a2fbb3b3278afb7093f5504dc7fcfd5a01b43df12f23833a73270aeae4200e651292f4de cdpsnarf-0.1.6.zip"

View File

@ -1,58 +0,0 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cdrdao
pkgver=1.2.3
pkgrel=0
pkgdesc="Records audio/data CD-Rs in disk-at-once (DAO) mode"
url="http://cdrdao.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev="libmad-dev lame-dev libvorbis-dev libao-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://freefr.dl.sourceforge.net/project/cdrdao/cdrdao/$pkgver/cdrdao-$pkgver.tar.bz2
cdrdao-1.2.3-stat.patch"
_builddir="$srcdir"/cdrdao-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-xdao \
--with-lame \
--with-ogg-support \
--with-mp3-support \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2
0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch"
sha256sums="8193cb8fa6998ac362c55807e89ad0b3c63edc6b01afaeb3d5042519527fb75e cdrdao-1.2.3.tar.bz2
ca89b7c56a376d5a9574c5757f0d372236a895334f81867ff5e1703806565bbc cdrdao-1.2.3-stat.patch"
sha512sums="36b14180acf476de062f5f31e2b9dece39e3cc7a84552e80a6714931fa35d6090ec90ddfcdbd2651d690be8ce3fc78d483aa13856c3c311bcc2f571f0040adf6 cdrdao-1.2.3.tar.bz2
83d6a76f9b6c3e3e1522fe1fb64e50296f42c51d6f0b505d68adc3b7a85460d667ecf3f0998ba2ea5444dd5cd398e81f591ef9ca3bb4b5b167ce6e59234a5094 cdrdao-1.2.3-stat.patch"

View File

@ -1,13 +0,0 @@
diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc
--- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat 2010-01-20 20:11:36.000000000 +0100
+++ cdrdao-1.2.3/dao/ScsiIf-linux.cc 2010-01-20 20:14:07.000000000 +0100
@@ -19,6 +19,9 @@
#include <config.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>

View File

@ -1,43 +0,0 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=celt
pkgver=0.11.1
pkgrel=0
pkgdesc="An audio codec for use in low-delay speech and audio communication"
url="http://www.celt-codec.org/"
arch="all"
license="BSD"
depends=""
makedepends="libogg-dev"
install=""
subpackages="$pkgname-dev"
source="http://downloads.us.xiph.org/releases/celt/celt-$pkgver.tar.gz"
_builddir="$srcdir"/celt-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="94fe4acd241da8702c295bcd13a555e6 celt-0.11.1.tar.gz"

View File

@ -1,45 +0,0 @@
pkgname=chan-sccp
pkgver=4.2.2
pkgrel=0
release=6497
pkgdesc="Chan-SCCP channel driver for Asterisk"
url="http://chan-sccp-b.sourceforge.net/";
arch="all"
license="GPL2"
depends=""
makedepends="asterisk-dev"
install=""
subpackages="${pkgname}-gen_sccpconf ${pkgname}-doc"
source="http://downloads.sourceforge.net/project/chan-sccp-b/V${pkgver:0:1}/Chan_SCCP-${pkgver}_STABLE_r${release}.tar.gz"
_builddir="$srcdir"/Chan_SCCP-${pkgver}_STABLE_r${release}
build() {
cd "$_builddir"
./configure --prefix=/usr
make || return 1
cd contrib/gen_sccpconf
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
gen_sccpconf() {
pkgdesc="SCCP Config Generator"
cd "$_builddir"/contrib/gen_sccpconf
make DESTDIR="$subpkgdir" install || return 1
rm -fr "$subpkgdir"/usr/share
}
doc() {
arch="noarch"
cd "$_builddir"/conf
mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
cp -r . "$subpkgdir"/usr/share/doc/$pkgname
chmod -x "$subpkgdir"/usr/share/doc/$pkgname/*.sql
}
md5sums="49aaffef2efeb5b67d24b7e977adf03d Chan_SCCP-4.2.2_STABLE_r6497.tar.gz"
sha256sums="73bb1aec157f78b1823f4fb474d3a4981beefa01be1dcfb934a6d10117f291fc Chan_SCCP-4.2.2_STABLE_r6497.tar.gz"
sha512sums="643150456e03ce659e34bbf97f18cab132cc4ac17059a8c9ea1e93faab832464183a43959a59e48292a563e30a2395c273c8150d36e49c1efa37037271a3de05 Chan_SCCP-4.2.2_STABLE_r6497.tar.gz"

View File

@ -1,53 +0,0 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=cherokee
pkgver=1.2.104
pkgrel=1
pkgdesc="A very fast, flexible and easy to configure Web Server"
url="http://www.cherokee-project.com/"
arch="all"
license="GPL2"
depends="pcre rrdtool python"
depends_dev="openssl-dev gettext-dev ffmpeg-dev geoip-dev"
makedepends="$depends_dev automake autoconf libtool"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/cherokee/webserver/archive/v$pkgver.tar.gz
cherokee.initd
cherokee.confd
"
_builddir="$srcdir"/webserver-$pkgver
build() {
cd "$_builddir"
./autogen.sh || return 1
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--with-wwwroot=/var/www \
--enable-os-string="Alpine Linux"
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
install -m644 -D "$srcdir"/$pkgname.confd \
"$pkgdir"/etc/conf.d/$pkgname || return 1
}
md5sums="2266dd801dc0ccb1b81a38919ad322f4 cherokee-1.2.104.tar.gz
8cc44726585fa04a2772a0c3faa6a72d cherokee.initd
bd6a840f72c630ce1eaabe058097584f cherokee.confd"
sha256sums="5cbd00ff48503eaf90356b2975e311c02977f9166927e57fc23f541a109efd98 cherokee-1.2.104.tar.gz
ce60a8953fe78bf0c5f688d324a3433382709b1d77d78f1074df73366f9cd70c cherokee.initd
58db2070b710f2c3b38bc3d3be9703a22434f736cad742320b930b23cd5fa1b8 cherokee.confd"
sha512sums="1cb68dbfe457a49341eb4e3af4ccf9a55d81d7893b1d0ef2d4f3dbbbe1fde651139a8dac75feec665c7545a9e3d676e3b2745f29fd6ad8eeaeaa5d526004f3dc cherokee-1.2.104.tar.gz
d0e3a94ba4b6ad839ec227de26ca6d27416abe1640c73803549349edd1e7f8cf37346f8c8b8d948a4bfcaad4c596d5533448e3e084c4dd1260436731a9803c6d cherokee.initd
3dbe1bef319eb9f59d65194fa71f0b12235245b2f82d995817824be09f312bbad96f72a147fd5ea11b7d503d263e4543b2fca5b49873106b194246c3c75c790f cherokee.confd"

View File

@ -1,10 +0,0 @@
# Sample conf.d file for alpine linux
#
# Specify daemon $OPTS here.
#
OPTS="-d"
DAEMON_USER="root"
DAEMON_GROUP="root"

View File

@ -1,41 +0,0 @@
#!/sbin/runscript
# Cherokee init.d file for alpine linux.
NAME=cherokee
DAEMON=/usr/sbin/$NAME
DAEMON_USER=${DAEMON_USER:-root}
DAEMON_GROUP=${DAEMON_GROUP:-root}
depend() {
need net
}
start() {
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet \
--pidfile /var/run/${NAME}.pid \
--user ${DAEMON_USER}:${DAEMON_GROUP} \
--exec ${DAEMON} -- ${OPTS}
eend $?
}
stop() {
ebegin "Stopping ${NAME}"
start-stop-daemon --stop --quiet \
--exec ${DAEMON} \
--pidfile /var/run/${NAME}.pid
eend $?
}
reload() {
ebegin "Reloading ${NAME}"
if ! service_started "${NAME}" ; then
eend 1 "${NAME} is not started"
return 1
fi
start-stop-daemon --stop --oknodo --signal HUP \
--exec ${DAEMON} --pidfile /var/run/${NAME}.pid
eend $?
}

View File

@ -1,58 +0,0 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chmlib
pkgver=0.40
pkgrel=2
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
arch="all"
license="LGPL2+"
depends=""
depends_dev=
makedepends=""
install=""
subpackages="$pkgname-dev"
source="http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2
headers.patch
stdtypes.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
local i
for i in $source; do
case $i in
*.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="7ea49ed8c335215c1edc6fae83e6b912 chmlib-0.40.tar.bz2
668afec836d2af8e50e6f8a953744539 headers.patch
d8c82136eb221506f42b48d219cc3f5d stdtypes.patch"
sha256sums="3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3 chmlib-0.40.tar.bz2
60b67803466def393789c10daef789e0a54176aa1493d2e1e285730c60185683 headers.patch
1d1124f81c955dcf856013d37095c212a8ad858a1dce52bd07fecc736a0eb82e stdtypes.patch"
sha512sums="3a3e151cf455b19e9e7c163a1d1e5ac52e8196f0b98f77932c72af58f3517824b9244667a18279ae754ccea784f6d6ab0c47465e74e3768ce98bb7dca0ca16e3 chmlib-0.40.tar.bz2
940d6b766ada58cbdad31a4748de1f5bcad83170d2b233397dee80f4bd92e13c0f3fa2a027b5834c8547018f67e12726cbd6a8de7540ca9b3d12fda45db02d1d headers.patch
afd879f78d4d532be3f3253a645b54588b0faff7445bc856b461ceba4ad0fb8d4d1fd9d1497675894cfb40c2174e21a8a2842a35e66deb6ab8adab6cbb996319 stdtypes.patch"

View File

@ -1,18 +0,0 @@
--- src/chm_http.c
+++ src/chm_http.c
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#if __sun || __sgi
#include <strings.h>
#endif
@@ -42,6 +43,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
/* threading includes */
#include <pthread.h>

View File

@ -1,20 +0,0 @@
--- src/chm_lib.c
+++ src/chm_lib.c
@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32;
typedef __int64 Int64;
typedef unsigned __int64 UInt64;
+/* Linux: use C standard types */
+#elif defined(__linux__)
+#include <stdint.h>
+typedef unsigned char UChar;
+typedef int16_t Int16;
+typedef uint16_t UInt16;
+typedef int32_t Int32;
+typedef uint32_t UInt32;
+typedef int64_t Int64;
+typedef uint64_t UInt64;
+
/* I386, 32-bit, non-Windows */
/* Sparc */
/* MIPS */

View File

@ -1,46 +0,0 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=chromaprint
pkgver=1.2
pkgrel=1
pkgdesc="Library that implements a custom algorithm for extracting fingerprints from any audio source"
url="http://acoustid.org/chromaprint/"
arch="all"
license="LGPL"
depends=""
depends_dev="ffmpeg-dev"
makedepends="$depends_dev cmake"
install=""
subpackages="$pkgname-dev"
source="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-$pkgver.tar.gz"
_builddir="$srcdir"/chromaprint-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_EXAMPLES=ON \
. || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
}
md5sums="748da044a8f0ee5f31edec8b67045b3e chromaprint-1.2.tar.gz"
sha256sums="822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a chromaprint-1.2.tar.gz"
sha512sums="dc61db8894a20df3d7e7317cd7cd97148c19be5854dd66409341cb8e47c045e1c632b254e14a869279983a5af2cc6f9effea21b77a63dff729511e6144439cbb chromaprint-1.2.tar.gz"

View File

@ -1,51 +0,0 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cjs
pkgver=2.0.0
pkgrel=0
pkgdesc="Javascript Bindings for Cinnamon"
url="https://github.com/linuxmint/cjs"
arch="all"
license="GPL"
depends=""
depends_dev="gobject-introspection-dev js-dev dbus-glib-dev"
makedepends="$depends_dev autoconf automake libtool gnome-common"
install=""
subpackages="$pkgname-dev"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*/*.la
}
md5sums="f40addaca0e9cf55d80a31fe5d5bac7c cjs-2.0.0.tar.gz"
sha256sums="2fea6c491e6ce8567201f14c0e926181154d798d4811dd65da477c014bfb2a9a cjs-2.0.0.tar.gz"
sha512sums="0faec81c031e1ae54c4384f5a843b52ce6952d1c3334104914c40aa3ba8b34ab84c335efbdfeb1b99728c195a2f3f204cfe07ce887aa1a103e4151b20c9c14a8 cjs-2.0.0.tar.gz"

View File

@ -1,37 +0,0 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=claws-mail-theme_elementary
pkgver=0
pkgrel=0
pkgdesc="claws-mail elementary theme"
url="http://www.claws-mail.org/themes.php"
arch="noarch"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=
source="http://www.claws-mail.org/download.php?file=themes/png/claws-mail-theme_elementary.tar.gz"
_builddir=
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() {
mkdir -p "$pkgdir"/usr/share/claws-mail/themes
mv "$srcdir"/elementary "$pkgdir"/usr/share/claws-mail/themes/
}
md5sums="9398c8cb789928c41f55f255beb89d94 claws-mail-theme_elementary.tar.gz"

View File

@ -1,56 +0,0 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=compiz
pkgver=0.8.8
pkgrel=5
pkgdesc="opengl window and composition manager"
url="http://www.compiz.org/"
arch="all"
license="GPL"
depends=
depends_dev="mesa-dev
libx11-dev
libxslt-dev
libsm-dev
libxcomposite-dev
libxrender-dev
libxrandr-dev
libxinerama-dev
libwnck-dev
glib-dev
gconf-dev
glu-dev
startup-notification-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://releases.compiz.org/$pkgver/compiz-$pkgver.tar.gz"
_builddir="$srcdir"/compiz-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="d7e96f839b7cb0901470d5da04be4db2 compiz-0.8.8.tar.gz"

View File

@ -1,60 +0,0 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=corosync
pkgver=2.3.5
pkgrel=0
pkgdesc="The Corosync Cluster Engine and Application Programming Interfaces"
url="http://www.corosync.org/"
arch="all"
license="BSD2"
depends=""
depends_dev="nss-dev net-snmp-dev libqb-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://build.clusterlabs.org/corosync/releases/corosync-$pkgver.tar.gz
$pkgname.initd"
_builddir="$srcdir"/corosync-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-snmp \
--enable-nss \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
}
libs() {
pkgdesc="The Corosync Cluster Engine Libraries"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/ || return 1
}
md5sums="8894f00d499e0755467b381e6346f9ff corosync-2.3.5.tar.gz
4d18555dfdd036b7a48eb5bdfd0ff053 corosync.initd"
sha256sums="1d48cdfa224b0ceb02e27fe9d56b738fb2a92262b04b15bb3a67e1c4248da8e2 corosync-2.3.5.tar.gz
8e5a18febe55a08b8b5be80ca2e3b81cdf961784d7a2f246b9064825d3a847bc corosync.initd"
sha512sums="d9e3b8f71e02889320013c219ae078b2076be325bfcf17fa31b3c4ba2a327d680ff0522302e2e44a774889bf7ddb81041904dc68da556aa91b634f9efcbe98e5 corosync-2.3.5.tar.gz
be5ec458f8eb234eb01ba1023e59b35f967f0833fd8097eb8f9b5e9d172fe3beffc6ea3d15dd57f1b76ab7b90cdfccdb4868962488d4af573e70c55baf021a65 corosync.initd"

View File

@ -1,23 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/files/corosync.initd,v 1.2 2010/11/17 07:07:03 xarthisius Exp $
depend() {
need net
use logger
}
start() {
ebegin "Starting Corosync Cluster Engine"
start-stop-daemon --start -q --exec /usr/sbin/corosync \
--pidfile /var/run/corosync.pid --make-pidfile --background \
-- -f
eend $?
}
stop() {
ebegin "Stopping Corosync Cluster Engine"
start-stop-daemon --stop -q --pidfile /var/run/corosync.pid
eend $?
}

View File

@ -1,58 +0,0 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=courier-authlib
pkgver=0.66.1
pkgrel=2
pkgdesc="Authentication library for courier mailserver"
url="http://www.courier-mta.org"
arch="all"
license="GPL"
depends=""
depends_dev="libtool expect gdbm-dev openssl-dev libldap postgresql-dev mariadb-dev perl"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/courier/authlib/$pkgver/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--with-db=gdbm \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-authpwd \
--with-authshadow \
--with-authldap \
--with-authmysql \
--with-authpgsql \
--with-authuserdb \
--with-authcram \
--with-authdaemon \
--with-authdaemonvar=/var/run/authdaemon
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="123e9429909ed65a23464cb7ecb15cf1 courier-authlib-0.66.1.tar.bz2"
sha256sums="8f89166f57c8e59f445fe0135da92b95f1c4417896d01eda5e2e94d8ff878fe8 courier-authlib-0.66.1.tar.bz2"
sha512sums="d2b0c9c92c0af8c596fd9b14337034e2859c4540b5b20523e8dfbec78f54021104b6864c7f3488f518ebfff488b38bdbc26690763175940d12019f5cbc482b33 courier-authlib-0.66.1.tar.bz2"

View File

@ -1,39 +0,0 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=cowpatty
pkgver=4.3
pkgrel=0
pkgdesc="Attacking WPA/WPA2-PSK exchanges"
url="http://www.willhackforsushi.com/Cowpatty.html"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="libpcap-dev openssl-dev"
install=""
subpackages=""
source="http://www.willhackforsushi.com/code/$pkgname/$pkgver/$pkgname-$pkgver.tgz
makefile.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" BINDIR=/usr/bin || return 1
}
md5sums="deccac0763a05ef7014107d347bf9190 cowpatty-4.3.tgz
0c4e93c53b0356a5513d4a2dd798815d makefile.patch"

View File

@ -1,78 +0,0 @@
This patch was set upstream to author 2012-01-16
--- ./Makefile.orig
+++ ./Makefile
@@ -7,36 +7,42 @@
# <dragorn> i think thats all anyone does
# <dragorn> make is a twisted beast
##################################
-LDLIBS = -lpcap
-CFLAGS = -pipe -Wall -DOPENSSL
-CFLAGS += -O2
-LDLIBS += -lcrypto
-CFLAGS += -g3 -ggdb
-#CFLAGS += -static
+
+CFLAGS ?= -O2 -g3 -ggdb -pipe
+
+PCAP_LIBS = -lpcap
+CRYPTO_LIBS = -lcrypto
+CRYPTO_CFLAGS = -DOPENSSL
+
+LDLIBS = $(PCAP_LIBS) $(CRYPTO_LIBS)
+
PROGOBJ = md5.o sha1.o utils.o cowpatty.o genpmk.o
PROG = cowpatty genpmk
BINDIR = /usr/local/bin
-all: $(PROGOBJ) $(PROG)
+OBJS_cowpatty = cowpatty.o md5.o sha1.o utils.o
+OBJS_genpmk = genpmk.o md5.o sha1.o utils.o
-cowpatty: common.h md5.c md5.h sha1.h cowpatty.c cowpatty.h sha1.c \
- sha1.h utils.c utils.h
- $(CC) $(CFLAGS) cowpatty.c -o cowpatty utils.o md5.o sha1.o $(LDLIBS)
+all: $(PROG)
-genpmk: genpmk.c cowpatty.h utils.h sha1.h common.h
- $(CC) $(CFLAGS) genpmk.c -o genpmk utils.o sha1.o $(LDLIBS)
+cowpatty: $(OBJS_cowpatty)
+ $(CC) $(CFLAGS) -o $@ $(OBJS_cowpatty) $(LDLIBS)
-utils: utils.c utils.h
- $(CC) $(CFLAGS) utils.c -c
+genpmk: $(OBJS_genpmk)
+ $(CC) $(CFLAGS) -o $@ $(OBJS_genpmk) $(LDLIBS)
-md5: md5.c md5.h
- $(CC) $(CFLAGS) md5.c -c
+cowpatty.o: cowpatty.h common.h utils.h sha1.h md5.h radiotap.h
+genpmk.o: cowpatty.h common.h utils.h sha1.h
+md5.o: common.h md5.h
+sha1.o: common.h sha1.h
+utils.o: utils.h radiotap.h
+md5.o: md5.h
-sha1: sha1.c sha1.h
- $(CC) $(CFLAGS) sha1.c -c
+%.o: %.c
+ $(CC) $(CFLAGS) $(CRYPTO_CFLAGS) $(CFLAGS_$@) -c $<
clean:
- @rm $(PROGOBJ) $(PROG)
+ @rm -f $(PROGOBJ) $(PROG) *.o
strip:
@ls -l $(PROG)
@@ -45,7 +51,9 @@
install: all
install -d $(DESTDIR)$(BINDIR)
- install -m 755 $(PROG) $(BINDIR)$(DESTDIR)
+ install -m 755 $(PROG) $(DESTDIR)$(BINDIR)
love:
@echo "Not right now, I have a headache."
+
+

View File

@ -1,41 +0,0 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=crconf
pkgver=0_pre2
_ver=${pkgver/0_/}
pkgrel=0
pkgdesc="Linux crypto layer configuration tool"
url="http://sourceforge.net/projects/crconf/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/project/crconf/crconf-$_ver.tar.gz
"
_builddir="$srcdir"/crconf-$_ver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" SBINDIR="/usr/sbin"
}
md5sums="4b96e3fbd570d694ea25659a79a6db5c crconf-pre2.tar.gz"
sha256sums="15d39b599acda93a50f473190e702d593ba13613b6ed31711f3584b5726b81b8 crconf-pre2.tar.gz"
sha512sums="e4526626c71391968beafaf606bc477849ed11007bcfe4dd9b056bdbd08d19dce41b18418693fd5d2fab29f618e3fdad3ec4f4f2ea269207443e94e7552b4daa crconf-pre2.tar.gz"

View File

@ -1,73 +0,0 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=crtmpserver
pkgver=0_git20131228
pkgrel=2
pkgdesc="high performance streaming server"
url="http://www.rtmpd.com/"
arch="all"
license="GPL"
depends=""
depends_dev="openssl-dev lua-dev cmake"
makedepends="$depends_dev"
install="$pkgname.pre-install"
subpackages=""
pkgusers="rtmpd"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.confd"
_giturl="git://github.com/j0sh/crtmpserver.git"
_upload=dev.alpinelinux.org:/archive/$pkgname/
_builddir="$srcdir"/$pkgname-$pkgver
snapshot() {
local _date=$(date +%Y%m%d)
local _pkg=$pkgname-0_git$_date.tar.bz2
mkdir -p "$srcdir"
cd "$srcdir"
rm -rf "$pkgname"
git clone --depth=1 --bare $_giturl || return 1
git --git-dir ${_giturl##*/} archive --format=tar \
--prefix=$pkgname-0_git$_date/ HEAD | bzip2 > $_pkg \
|| return 1
msg "New snapshot: $_pkg"
if [ -n "$_upload" ]; then
msg "Uploading to $_upload"
scp $_pkg $_upload && abump $pkgname-0_git$_date || return 1
fi
}
build() {
cd "$_builddir"
cd builders/cmake
cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr
cd $pkgname
sed -i -e "46s/\${CMAKE_INSTALL_PREFIX}\/etc/\/etc\/crtmpserver\//g" cmake_install.cmake
make
}
package() {
cd "$_builddir"
cd builders/cmake
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m755 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
mkdir -p "$pkgdir"/var/log/crtmpserver
chown rtmpd "$pkgdir"/var/log/crtmpserver
mkdir -p "$pkgdir"/var/crtmpserver
chown rtmpd "$pkgdir"/var/crtmpserver -R
cp ../../configs/*.lua "$pkgdir"/etc/$pkgname/
}
md5sums="63ace36dcbb336463702eb258bfa974d crtmpserver-0_git20131228.tar.bz2
8c4072f255f72736028cc736081303b8 crtmpserver.initd
f628656f6fd50204492ed838a7993c38 crtmpserver.confd"
sha256sums="ca57a270400c492bf9378fabe5e76fa91fe48dcab70d0518271be873558498a1 crtmpserver-0_git20131228.tar.bz2
db010ea792cd738db98297bc7d24cb86bb5bc360a355a54622fd057197a3aa04 crtmpserver.initd
5ff47df741664ad9fdcf567e645e569ac9f47a61a46baf15bf920508a35c7811 crtmpserver.confd"
sha512sums="c6e501bc048989c93bae4b0f8cdfa98ea6ff46574c9a006f42e92096be5fc311ae0252b718dab43c416c41b602e35409e47a5143709789cb9121dc3419bfeba5 crtmpserver-0_git20131228.tar.bz2
85e2fa5816c9c6afba4f54c7aa780f0e9cfa9a317936de31ad1456d02ed79eb9e3d61a5fc21c3f2891b90f89d9885f3349e4eb6e281ca1c382769e2bb3c6bcbc crtmpserver.initd
0695f48e644b4cea9c4e8724dfd0f28f859aacf8af2ccb3bf4a2a077202eeef7a8b2a10000eb8c1101dd5dea309d4a9df3479d2084650f9d283468cee7f4fc1a crtmpserver.confd"

View File

@ -1,2 +0,0 @@
RTMPD_USER="rtmpd"
CONFFILE="/etc/crtmpserver/crtmpserver.lua"

View File

@ -1,38 +0,0 @@
#!/sbin/runscript
# Copyright (c) 2011 http://foxpa.ws
# All rights released
description="Runs C++ RTMP Server on Gentoo"
depend()
{
need net
}
checkconfig() {
if [ ! -e /etc/crtmpserver/crtmpserver.lua ] ; then
eerror "You need to create /etc/crtmpserver/crtmpserver.lua first."
eerror "An example can be found in /etc/crtmpserver/crtmpserver.lua.sample"
return 1
fi
}
start()
{
checkconfig || return 1
ebegin "Starting C++ RTMP Server"
start-stop-daemon --start --quiet --exec /usr/sbin/crtmpserver \
-- --daemon --uid=${RTMPD_USER} --pid=/var/run/crtmpserver.pid ${CONFFILE}
eend ${?}
}
stop()
{
ebegin "Stopping C++ RTMP Server"
start-stop-daemon --stop --quiet \
--exec /usr/sbin/crtmpserver --pid=/var/run/crtmpserver.pid
eend ${?}
}

View File

@ -1,5 +0,0 @@
#!/bin/sh
adduser -S -h /var/crtmpserver -s /bin/false -g rtmpd rtmpd 2>/dev/null
exit 0

View File

@ -1,40 +0,0 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=crunch
pkgver=3.4
pkgrel=0
pkgdesc="A wordlist generator"
url="http://sourceforge.net/projects/crunch-wordlist/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/$pkgname-$pkgver.tgz
crunch-3.4-destdir.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p2 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" geninstall || return 1
}
md5sums="3f658a60d8227025df12cfb4ff4b9e15 crunch-3.4.tgz
a75466c9dae86223f913f622208eef86 crunch-3.4-destdir.patch"

View File

@ -1,25 +0,0 @@
--- src/crunch-3.4/Makefile.orig
+++ src/crunch-3.4/Makefile
@@ -58,16 +58,16 @@
# Install generic target
geninstall: build
@echo "Creating directories..."
- $(INSTALL) -d -m 755 $(INSTALL_OPTIONS) $(BINDIR)
- $(INSTALL) -d -m 755 $(INSTALL_OPTIONS) $(MANDIR)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)
@echo "Copying binary..."
- $(INSTALL) crunch -m 755 $(INSTALL_OPTIONS) $(BINDIR)
+ $(INSTALL) crunch -m 755 $(DESTDIR)$(BINDIR)
@echo "Copying charset.lst..."
- $(INSTALL) charset.lst -m 644 $(INSTALL_OPTIONS) $(BINDIR)
+ $(INSTALL) charset.lst -m 644 $(DESTDIR)$(BINDIR)
@echo "Copying GPL.TXT..."
- $(INSTALL) GPL.TXT -m 644 $(INSTALL_OPTIONS) $(BINDIR)
+ $(INSTALL) GPL.TXT -m 644 $(DESTDIR)$(BINDIR)
@echo "Installing man page..."
- $(INSTALL) crunch.1 -m 644 $(INSTALL_OPTIONS) $(MANDIR)
+ $(INSTALL) crunch.1 -m 644 $(DESTDIR)$(MANDIR)
@echo ""
# Install BT specific target

View File

@ -1,71 +0,0 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=csync
pkgver=0.50.0
pkgrel=0
pkgdesc="a client only bidirectional file synchronizer"
url="http://www.csync.org/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev check-dev samba-dev libssh-dev cmake sqlite-dev
iniparser-dev neon-dev"
install=""
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-sftp:_plugin
$pkgname-smb:_plugin
$pkgname-owncloud:_plugin"
source="https://open.cryptomilk.org/attachments/download/27/csync-$pkgver.tar.xz
iconv.patch
gcc-fixes.patch"
_builddir="$srcdir"/csync-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
.. || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make install DESTDIR="$pkgdir" || return 1
}
_plugin() {
local _name="${subpkgname##*-}"
pkgdesc="csync $1 plugin"
local i
cd "$pkgdir"
for i in usr/lib/csync*/csync_${_name}.so; do
mkdir -p "$subpkgdir"/${i%/*}
mv $i "$subpkgdir"/${i%/*}
done
}
md5sums="4f022aaa19ecd8008b03876dd65a9df2 csync-0.50.0.tar.xz
166e828bf574dbfc1857b04985ec699b iconv.patch
70a120f5f913fb44f66844734e200131 gcc-fixes.patch"
sha256sums="c07526942a93c1e213d354dc45fd61fbc0430c60e109e7a2f0fcaf6213a45c86 csync-0.50.0.tar.xz
1a64b9ad6bc8c79b16ae8f6eb31ca2d3e124132e8130b908925d60ddc0eea98c iconv.patch
1bb262390c687780dc65adb36f0c89c7c04d3db235d69d1cae9280c8c6029cae gcc-fixes.patch"
sha512sums="babe44af3a4f0bf58e011f1c33c7a6df9bc7751e03714dd64d8269c7c51bcc7f2ab32c4d286e5a11465c9498c988d1812c426a4f415f1138a4fb9fa341e1e29a csync-0.50.0.tar.xz
fc124966d7b7405cc3d3bc1276180089dc44058bc89afa799c0d9378f4dc131e9382b96357fff5964c9b009cb77455f125b63557a32ca5eaa31e01cbd2f7a694 iconv.patch
88290d1dfbfeb775d89f4fbd20b9909a3fe5896ae85496eb53a0bd78162427ba7d910852ffb1887dcf380ad89e46c909d29e0a54f020c3ea92e613ac860b1b99 gcc-fixes.patch"

View File

@ -1,12 +0,0 @@
diff -upr csync-0.50.0.orig/src/csync_log.h csync-0.50.0/src/csync_log.h
--- csync-0.50.0.orig/src/csync_log.h 2015-09-29 19:44:49.692758996 +0200
+++ csync-0.50.0/src/csync_log.h 2015-09-29 19:45:48.439175389 +0200
@@ -55,7 +55,7 @@ enum csync_log_priority_e {
};
#define CSYNC_LOG(priority, ...) \
- csync_log(priority, __FUNCTION__, __VA_ARGS__)
+ csync_log(priority, __func__, __VA_ARGS__)
void csync_log(int verbosity,
const char *function,

View File

@ -1,26 +0,0 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1cc90bc..f8309dd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,7 +28,7 @@ set(CSYNC_LINK_LIBRARIES
${SQLITE3_LIBRARIES}
)
-if(HAVE_ICONV AND WITH_ICONV)
+if(WITH_ICONV)
list(APPEND CSYNC_PRIVATE_INCLUDE_DIRS ${ICONV_INCLUDE_DIR})
list(APPEND CSYNC_LINK_LIBRARIES ${ICONV_LIBRARIES})
endif()
diff --git a/src/std/c_string.c b/src/std/c_string.c
index f175734..ccc0644 100644
--- a/src/std/c_string.c
+++ b/src/std/c_string.c
@@ -39,7 +39,7 @@
#include <windows.h>
#endif
-#if defined(HAVE_ICONV) && defined(WITH_ICONV)
+#if defined(WITH_ICONV)
# ifdef HAVE_ICONV_H
# include <iconv.h>
# endif

View File

@ -1,84 +0,0 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=csync2
pkgver=2.0
pkgrel=3
pkgdesc="Cluster synchronization tool"
url="http://oss.linbit.com/csync2/"
arch="all"
license="GPL2+"
depends="openssl"
depends_dev=""
makedepends="autoconf automake librsync-dev gnutls-dev sqlite-dev mysql-dev postgresql-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-compare $pkgname-doc"
source="http://oss.linbit.com/$pkgname/$pkgname-$pkgver.tar.gz
csync2-openssl.cnf
longlong-format.patch
nossl-config.patch
have-strlcpy.patch
$pkgname.initd"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
autoreconf --install --force
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc/$pkgname \
--localstatedir=/var \
--docdir=/usr/share/doc/$pkgname \
--mandir=/usr/share/man \
--enable-postgres \
--enable-mysql \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cp doc/* "$pkgdir"/usr/share/doc/$pkgname/ || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
}
compare() {
subpkgdesc="csync2 compare script"
arch="noarch"
depends="bash perl-digest-md5"
mkdir -p "$subpkgdir"/usr/sbin
mv "$pkgdir"/usr/sbin/$pkgname-compare \
"$subpkgdir"/usr/sbin/ || return 1
}
md5sums="4069fc9e86e8508c392fe2862059eb91 csync2-2.0.tar.gz
f2f42a8ba543d5a22d2740e794c7f872 csync2-openssl.cnf
8fc73254db29316f9125761d18f1ed46 longlong-format.patch
b5adcbe1a3b0bc409336e539087319ea nossl-config.patch
3ed476916ba9afa7c4aa587ae86a6e34 have-strlcpy.patch
8197fe5a195d1e7a6843f0be7f9230f5 csync2.initd"
sha256sums="11cb37380fb185bce0c22b804fec9b01c385d9d83cc528cfd48d748453834fa2 csync2-2.0.tar.gz
53e2ae5141f9b1517072798f2d78b63b7a4653e59ebeb626940a7b8d173bc4df csync2-openssl.cnf
afb1317987cc4b81908bc437269162c7af23b34e6842306483da5b53efce2db3 longlong-format.patch
bc7abcb34224b6ea77cd4f90ee69d916b4bc7ef0f321bd649b1060ff54cdc084 nossl-config.patch
f9aad05465919657894ee24fd102451790911445d0d8291ce565242a96f6024e have-strlcpy.patch
c45f4177182cb567b9581e9882cf3004bbdde174b44b02b212df0e16a60bd6f8 csync2.initd"
sha512sums="f91fd222f67affe9634471d341b43ff67854a6ed25b620301a454e98a79a9fb80b2a66eb8713546758fd08300d52751e5ca7472c696daa20ee11779b87a830f8 csync2-2.0.tar.gz
614da46cdaea46da5de8d3f4e4dc634f34ec5fa402af8557e17324c43dd6b06cc4797bfb42bd5d0d4e34edcf9eb30241bd9054732d75e9646edd32e650fde7d4 csync2-openssl.cnf
38a17cbf23cbccd4996ad1af049851e33179586e619e3f3edbfacbaa36662e44d916839acd59b1cfc67b3af9042c3258068ec9e5b57f7e26c00a41a0e6f0e148 longlong-format.patch
9fe50c761ba463ebeecda147c7172526bb9a2378e11101bcab60433b2aec389439eefe8139539babe0d680e2f30cc69df34788454a1d3dce64decd66cc153b32 nossl-config.patch
66a4762c2a6f99dd0f48aaf36d977150b93f3710de8ae34f090636285115a5801878089ca509d26737bbc30fadb6f9f6acebad8cea1c60e40aaff95ce43ee3a6 have-strlcpy.patch
617235cb9383e72f48e7dd1aa82ecca394b87ceb1e5853b6eb04fb620e6146828fdf64a117d899be4174d3ddde81c9b092937fedada6d0c213825124d70546ee csync2.initd"

View File

@ -1,31 +0,0 @@
[ req ]
default_bits = 1024
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type
prompt = no
[ req_dn ]
# country (2 letter code)
#C=UA
# State or Province Name (full name)
#ST=
# Locality Name (eg. city)
#L=Kyiv
# Organization (eg. company)
#O=CSync2
# Organizational Unit Name (eg. section)
OU=CSYNC2 Server
# Common Name (*.example.com is also possible)
CN=csync2.example.com
# E-mail contact
emailAddress=root@example.com
[ cert_type ]
nsCertType = server

View File

@ -1,11 +0,0 @@
#!/sbin/openrc-run
pidfile="/run/csync2.pid"
command="/usr/sbin/csync2"
command_args="-ii${CSYNC2_OPTS:+ $CSYNC2_OPTS}"
command_background="yes"
depend() {
need net localmount
after firewall
}

View File

@ -1,25 +0,0 @@
#!/bin/sh
OPENSSL=${OPENSSL:-openssl}
OPENSSL_CONF=${OPENSSL_CONF:-/etc/csync2/csync2-openssl.cnf}
CRTFILE=/etc/csync2/csync2_ssl_cert.pem
CSRFILE=/etc/csync2/csync2_ssl_cert.csr
KEYFILE=/etc/csync2/csync2_ssl_key.pem
if [ -f $CRTFILE ]; then
echo "$CRTFILE already exists, won't overwrite"
exit 0
fi
if [ -f $KEYFILE ]; then
echo "$KEYFILE already exists, won't overwrite"
exit 0
fi
$OPENSSL genrsa -out $KEYFILE 1024 || exit 2
$OPENSSL req -config $OPENSSL_CONF -new -key $KEYFILE -out $CSRFILE || exit 2
$OPENSSL x509 -req -days 365 -in $CSRFILE -signkey $KEYFILE -out $CRTFILE || exit 2
chmod 0600 $KEYFILE
rm $CSRFILE

View File

@ -1,6 +0,0 @@
#!/bin/sh
mv /etc/csync2.cfg /etc/csync2/ >/dev/null 2>&1
mv /etc/csync2_ssl_*.pem /etc/csync2/ >/dev/null 2>&1
exit 0

View File

@ -1,30 +0,0 @@
--- old/configure.ac
+++ new/configure.ac
@@ -43,7 +43,7 @@
dnl inspired by rsync's configure.ac
-AC_CHECK_FUNCS(fchmod setmode open64 mkstemp64)
+AC_CHECK_FUNCS(strlcpy fchmod setmode open64 mkstemp64)
AC_CACHE_CHECK([for secure mkstemp],csync_cv_HAVE_SECURE_MKSTEMP,[
AC_TRY_RUN([#include <stdlib.h>
#include <sys/types.h>
--- old/rsync.c
+++ new/rsync.c
@@ -38,7 +38,7 @@
#include <w32api/windows.h>
#endif
-
+#ifndef HAVE_STRLCPY
/* This has been taken from rsync:lib/compat.c */
/**
@@ -61,6 +61,7 @@
}
return ret;
}
+#endif
/* splits filepath at the last '/', if any, like so:
* dirname basename filepath

View File

@ -1,31 +0,0 @@
--- old/checktxt.c
+++ new/checktxt.c
@@ -49,7 +49,7 @@
xxprintf("v1");
if ( !S_ISLNK(st->st_mode) && !S_ISDIR(st->st_mode) )
- xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime);
+ xxprintf(":mtime=%lld", ign_mtime ? (long long)0 : (long long)st->st_mtime);
if ( !csync_ignore_mod )
xxprintf(":mode=%d", (int)st->st_mode);
@@ -61,7 +61,7 @@
xxprintf(":gid=%d", (int)st->st_gid);
if ( S_ISREG(st->st_mode) )
- xxprintf(":type=reg:size=%Ld", (long long)st->st_size);
+ xxprintf(":type=reg:size=%lld", (long long)st->st_size);
if ( S_ISDIR(st->st_mode) )
xxprintf(":type=dir");
--- old/update.c
+++ new/update.c
@@ -469,7 +469,7 @@
skip_action:
if ( !S_ISLNK(st.st_mode) ) {
- conn_printf("SETIME %s %s %Ld\n",
+ conn_printf("SETIME %s %s %lld\n",
url_encode(key), url_encode(filename),
(long long)st.st_mtime);
last_conn_status = read_conn_status(filename, peername);

View File

@ -1,19 +0,0 @@
--- old/csync2.cfg
+++ new/csync2.cfg
@@ -4,12 +4,15 @@
# Please read the documentation:
# http://oss.linbit.com/csync2/paper.pdf
+# Do not use ssl by default
+nossl * *;
+
# group mygroup
# {
# host host1 host2 (host3);
# host host4@host4-eth2;
#
-# key /etc/csync2.key_mygroup;
+# key /etc/csync2/csync2.key_mygroup;
#
# #
# # WARNING:

View File

@ -1,62 +0,0 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cuetools
pkgver=1.4.0
pkgrel=0
pkgdesc="Cue and toc file parsers and utilities"
url="https://github.com/svend/cuetools"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev automake autoconf libtool byacc flex"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/svend/cuetools/archive/$pkgver.tar.gz
fix_build_with_automake-1.12.patch
cuetag-fix_spaces.patch"
_builddir=$srcdir/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
aclocal || return 1
autoheader || return 1
automake --force-missing --add-missing || return 1
autoconf || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="4492dae2b3f9e077f6455a1f1cddef3b cuetools-1.4.0.tar.gz
67a3b32711d1a1f508be6ed0f1bdadf3 fix_build_with_automake-1.12.patch
60f4aba26e529e48dbedd2adef917117 cuetag-fix_spaces.patch"
sha256sums="5dc86e9736929757b338827efa0ecae1b2fcee2273debc718511749a4178ddf6 cuetools-1.4.0.tar.gz
12019dc267a7a0f32197928af6b2d50fd23cb5eb34ac8acc2f552bc0f8eef651 fix_build_with_automake-1.12.patch
93768b1e8f458cf07bf643bd8d330c3907a6a73db2cb1f55a0e99da67776ff26 cuetag-fix_spaces.patch"
sha512sums="338909d22e3cc65ddd8e411ca2dbcf198606c5f34bc67867dcf0a54d48bf0d1339f2a26a18aeeeca968ce1452d0ea0c19a3c3609a2593e1d8b6bb432a6113a75 cuetools-1.4.0.tar.gz
71f397f7f514832e9109a0762631f7ea0b7ada95a6ea44eb0ae4c2d035efa672d0a29e3b3948b6f31dd35c115857b874f82e5a11e63248a048b83566d489148c fix_build_with_automake-1.12.patch
301b1fcb9a5eb1e576db29de9421af5d1500a4fe88b16cf7376ee3ca1839ea267a2c6e0695255312e8e4ab5f18a6db1af75d2045704a93c6dd33e3eaac1b83db cuetag-fix_spaces.patch"

View File

@ -1,46 +0,0 @@
From 21ee6cc40f02693928efbc4f3beeb681950c16b5 Mon Sep 17 00:00:00 2001
From: Svend Sorensen <svend@ciffer.net>
Date: Sat, 23 Nov 2013 17:23:01 -0800
Subject: [PATCH] cuetag: Fix handling of spaces in file names
Fixes #14
---
src/tools/cuetag.sh | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/tools/cuetag.sh b/src/tools/cuetag.sh
index f26fa20..448920f 100755
--- a/src/tools/cuetag.sh
+++ b/src/tools/cuetag.sh
@@ -182,16 +182,15 @@ main()
ntrack=$(cueprint -d '%N' "$cue_file")
trackno=1
- FILES= FIELDS=
+ NUM_FILES=0 FIELDS=
for arg in "$@"; do
case "$arg" in
- *.*) FILES="$FILES $arg";;
+ *.*) NUM_FILES=$(expr $NUM_FILES + 1);;
*) FIELDS="$FIELDS $arg";;
esac
done
- set -- $FILES
- if [ $# -ne $ntrack ]; then
+ if [ $NUM_FILES -ne $ntrack ]; then
echo "warning: number of files does not match number of tracks"
fi
@@ -209,7 +208,7 @@ main()
*.[Tt][Xx][Tt])
vorbis $trackno "$file"
;;
- *)
+ *.*)
echo "$file: uknown file type"
;;
esac
--
1.8.5.1

View File

@ -1,24 +0,0 @@
From 761eba5b9b9c87a872a18b7ba4bf3d77a96e2157 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Horv=C3=A1th=20Bal=C3=A1zs?= <q@qroa.ch>
Date: Tue, 15 Oct 2013 01:17:52 +0200
Subject: [PATCH] Fix build with automake-1.12.
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index f54bb92..9f36932 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,7 @@ AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB
AM_PROG_LEX
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_PROG_YACC
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/lib/Makefile src/tools/Makefile extras/Makefile])
--
1.8.4

View File

@ -1,40 +0,0 @@
# Contributor: z3bra <willy at mailoo dot org>
# Maintainer:
pkgname=cv
pkgver=0.5.1
pkgrel=0
pkgdesc="Linux tool to show progress for cp, rm, dd, ..."
url="https://github.com/Xfennec/cv"
arch="all"
license="GPL3"
depends="ncurses-dev"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=
source="http://github.com/Xfennec/$pkgname/archive/v$pkgver.tar.gz"
_builddir=$srcdir/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make
}
package() {
cd "$_builddir"
make PREFIX=/usr DESTDIR=$pkgdir install
}
md5sums="8ac0e1169428b23b46cf509cf30e8e5a v0.5.1.tar.gz"
sha256sums="d390a26a8db78366be8dfee93819135a106610ba7e3f6d94515c84d5803195d4 v0.5.1.tar.gz"
sha512sums="af12176cbf2806a411fb9be9709e51f59c34888689f96a46d64ecac0fc93d892673268b2a25253e46ca0dcf711325d67b94ffbe4033dbc3cf733d1a15b712863 v0.5.1.tar.gz"

View File

@ -1,11 +0,0 @@
--- cv.orig/cv.c
+++ cv/cv.c
@@ -44,7 +44,7 @@
#include "sizes.h"
#include "hlist.h"
-char *proc_names[] = {"cp", "mv", "dd", "tar", "gzip", "gunzip", "cat", "grep", "fgrep", "egrep", "cut", "sort", NULL};
+char *proc_names[] = {"cp", "mv", "dd", "tar", "gzip", "gunzip", "cat", "grep", "fgrep", "egrep", "cut", "sort", "cpio", "xz", "bzip2", "bunzip2", NULL};
char *proc_specifiq = NULL;
WINDOW *mainwin;
signed char flag_quiet = 0;

View File

@ -1,84 +0,0 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=darwin-streaming-server
_pkgname=DarwinStreamingSrvr
pkgver=6.0.3
pkgrel=1
pkgdesc="Open source version of Apple's QuickTime Streaming Server technology"
url="http://dss.macosforge.org/"
arch="all"
license="Custom"
depends="perl"
depends_dev="perl"
makedepends="$depends_dev"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
pkggroups="qtss"
source="http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar
dss-hh-20080728-1.patch
dss-6.0.3.patch
dss.initd"
_builddir="$srcdir"/"$_pkgname$pkgver-Source"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./Buildit || return 1
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/sbin
mkdir -p "$pkgdir"/var/run/darwinstreaming
mkdir -p "$pkgdir"/var/darwinstreaming
mkdir -p -m 775 "$pkgdir/var/darwinstreaming/movies"
mkdir -p -m 770 "$pkgdir/var/darwinstreaming/playlists"
mkdir -p "$pkgdir/usr/sbin/StreamingServerModules"
install -D -m0755 "$srcdir"/dss.initd "$pkgdir/etc/init.d/dss"
install -D -m 644 APPLE_LICENSE "$pkgdir/usr/share/licenses/$pkgname/APPLE_LICENSE"
install ./StreamingLoadTool/StreamingLoadTool "$pkgdir/usr/bin/StreamingLoadTool"
install ./WebAdmin/src/streamingadminserver.pl "$pkgdir/usr/sbin/streamingadminserver.pl"
install -D -m 600 relayconfig.xml-Sample "$pkgdir/etc/darwinstreaming/relayconfig.xml-Sample"
echo "realm Streaming Server" > "$pkgdir/etc/darwinstreaming/qtusers"
chmod 600 "$pkgdir/etc/darwinstreaming/qtusers"
echo "admin: " > "$pkgdir/etc/darwinstreaming/qtgroups"
chmod 600 "$pkgdir/etc/darwinstreaming/qtgroups"
install -m 644 -D ./Documentation/readme.txt "$pkgdir/var/darwinstreaming/readme.txt"
install -m 644 ./Documentation/3rdPartyAcknowledgements.rtf "$pkgdir/var/darwinstreaming/3rdPartyAcknowledgements.rtf"
install -m 644 sample_100kbit.mov "$pkgdir/var/darwinstreaming/movies/sample_100kbit.mov"
install -m 644 sample_300kbit.mov "$pkgdir/var/darwinstreaming/movies/sample_300kbit.mov"
install -m 644 sample_100kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_100kbit.mp4"
install -m 644 sample_300kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_300kbit.mp4"
install -m 644 sample.mp3 "$pkgdir/var/darwinstreaming/movies/sample.mp3"
install -m 644 sample_50kbit.3gp "$pkgdir/var/darwinstreaming/movies/sample_50kbit.3gp"
install -m 644 sample_h264_100kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_100kbit.mp4"
install -m 644 sample_h264_300kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_300kbit.mp4"
install -m 644 sample_h264_1mbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_1mbit.mp4"
install -m 644 StreamingLoadTool/streamingloadtool.conf "$pkgdir/etc/darwinstreaming/loadtool.conf"
cp -f -r ./WebAdmin/WebAdminHtml "$pkgdir/var/darwinstreaming"
mv "$pkgdir/var/darwinstreaming/WebAdminHtml" "$pkgdir/var/darwinstreaming/AdminHtml"
install -m 644 ./WebAdmin/streamingadminserver_Darwin.conf "$pkgdir/etc/darwinstreaming/adminserver.conf"
}
md5sums="ca676691db8417d05121699c0ca3d549 DarwinStreamingSrvr6.0.3-Source.tar
4a55c16f291f60056f38ee687680c769 dss-hh-20080728-1.patch
ee10f86fd27ef2da68782414e30cd226 dss-6.0.3.patch
aeb9cff914e598fa1a96c9e34d9ad535 dss.initd"
sha256sums="7bf75ced3f603f55c6f7601bfecd9f26393ea98be821d24169f2091843706522 DarwinStreamingSrvr6.0.3-Source.tar
ed2c25242c862bade182c1329c84b6003c6d5ed31ef6a00fc7364d224bad137a dss-hh-20080728-1.patch
13741e14f704d3b0db00100c9213ff0bec104403622905e92f370d846bf8f2ea dss-6.0.3.patch
f1e84078fe122a9e0debb3508e959b4f8bd7655bdb0cce25b32b7a477c0d61f0 dss.initd"
sha512sums="f507c8e01ca6f81e1d00a85fb137486d026817015178593c2a5de1dde34f809bc48b1348ea661a94ee0913811d23d0c204d28c29af0c1c9d69bd31eeefd9af85 DarwinStreamingSrvr6.0.3-Source.tar
2706e75e8ffca0096f2cd53b5c0d3a8b5577766fac9bbfa9c03a894c18ea13f01117adca52e6f539233971ccc283c2751d02e8a8cd44427c07b2569e9369bfd0 dss-hh-20080728-1.patch
299e330fd39a263ffebb573b9c5c8b264b203ba9cab108d074f34234491f25d84a929c3bfee045655abdb2564ea8201c0abebbdc36d5ee70399b3684a8c23f50 dss-6.0.3.patch
16755dcd3625f21ac6ab138e1a5b5c8589b9dc46add974065786db764dbd02f734f945aeb6f05e7b3d4cc80c804d2c1c8ac21e6e41264b3b9445687bad9b418c dss.initd"

View File

@ -1,6 +0,0 @@
#!/bin/sh
addgroup -S qtss 2>/dev/null
adduser -S -D -h /var/darwinstreaming -s /bin/false -G qtss -g qtss qtss 2>/dev/null
exit 0

View File

@ -1,381 +0,0 @@
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/APICommonCode/QTAccessFile.cpp DarwinStreamingSrvr6.0.3-Source/APICommonCode/QTAccessFile.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/APICommonCode/QTAccessFile.cpp 2008-05-06 01:28:57.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/APICommonCode/QTAccessFile.cpp 2008-05-24 03:23:13.000000000 +0200
@@ -46,7 +46,9 @@
#include <grp.h>
+#ifdef __MacOSX__
#include <membership.h>
+#endif
#include <pwd.h>
#include <signal.h>
#include <unistd.h>
@@ -613,6 +615,7 @@
bool DSAccessFile::CheckGroupMembership(const char* inUsername, const char* inGroupName)
{
+#ifdef __MacOSX__
// In Tiger, group membership is painfully simple: we ask memberd for it!
struct passwd *user = NULL;
struct group *group = NULL;
@@ -641,6 +644,9 @@
if ( mbr_check_membership(userID, groupID, &isMember) )
return false;
return (bool)isMember;
+#else
+ return true;
+#endif
}
Bool16 DSAccessFile::ValidUser( char*userName, void* extraDataPtr)
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSHeaders.h DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSHeaders.h
--- DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSHeaders.h 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSHeaders.h 2008-05-24 02:05:15.000000000 +0200
@@ -120,7 +120,6 @@
#elif __linux__ || __linuxppc__ || __FreeBSD__
-
/* Defines */
#define _64BITARG_ "q"
#define _S64BITARG_ "lld"
@@ -128,9 +127,13 @@
#if __LP64__
#define _S32BITARG_ "d"
#define _U32BITARG_ "u"
+ #define _SPOINTERSIZEARG_ _S64BITARG_
+ #define _UPOINTERSIZEARG_ _U64BITARG_
#else
- #define _S32BITARG_ "ld"
- #define _U32BITARG_ "lu"
+ #define _S32BITARG_ "d"
+ #define _U32BITARG_ "u"
+ #define _SPOINTERSIZEARG_ _S32BITARG_
+ #define _UPOINTERSIZEARG_ _U32BITARG_
#endif
/* paths */
@@ -141,6 +144,7 @@
/* Includes */
#include <sys/types.h>
+ #include <stdint.h>
/* Constants */
#define QT_TIME_TO_LOCAL_TIME (-2082844800)
@@ -149,14 +153,14 @@
/* Typedefs */
typedef signed long PointerSizedInt;
typedef unsigned long PointerSizedUInt;
- typedef unsigned char UInt8;
- typedef signed char SInt8;
- typedef unsigned short UInt16;
- typedef signed short SInt16;
- typedef unsigned int UInt32;
- typedef signed int SInt32;
- typedef signed int int SInt64;
- typedef unsigned int int UInt64;
+ typedef uint8_t UInt8;
+ typedef int8_t SInt8;
+ typedef uint16_t UInt16;
+ typedef int16_t SInt16;
+ typedef uint32_t UInt32;
+ typedef int32_t SInt32;
+ typedef int64_t SInt64;
+ typedef uint64_t UInt64;
typedef float Float32;
typedef double Float64;
typedef UInt16 Bool16;
@@ -177,11 +181,14 @@
#define TW0_CHARS_TO_INT( c1, c2 ) ( c1 << 8 | c2 )
+ #define kSInt16_Max USHRT_MAX
+ #define kUInt16_Max USHRT_MAX
+ #define kSInt32_Max LONG_MAX
+ #define kUInt32_Max ULONG_MAX
-
-
-
+ #define kSInt64_Max LONG_LONG_MAX
+ #define kUInt64_Max ULONG_LONG_MAX
#elif __Win32__
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSRef.h DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSRef.h
--- DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSRef.h 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSRef.h 2008-05-23 22:28:51.000000000 +0200
@@ -45,6 +45,7 @@
#include "StrPtrLen.h"
#include "OSHashTable.h"
#include "OSCond.h"
+#include "OSHeaders.h"
class OSRefKey;
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Makefile.POSIX DarwinStreamingSrvr6.0.3-Source/Makefile.POSIX
--- DarwinStreamingSrvr6.0.3-Source.orig/Makefile.POSIX 2007-11-16 06:17:59.000000000 +0100
+++ DarwinStreamingSrvr6.0.3-Source/Makefile.POSIX 2008-05-24 07:19:34.000000000 +0200
@@ -42,7 +42,6 @@
CCFLAGS += -IRTPMetaInfoLib
CCFLAGS += -IPrefsSourceLib
CCFLAGS += -IServer.tproj
-
# EACH DIRECTORY WITH A STATIC LIBRARY MUST BE APPENDED IN THIS MANNER TO THE LINKOPTS
LINKOPTS = -LCommonUtilitiesLib
@@ -52,38 +51,42 @@
CFILES = CommonUtilitiesLib/daemon.c
-CPPFILES = Server.tproj/QTSSExpirationDate.cpp\
+CPPFILES = Server.tproj/GenerateXMLPrefs.cpp \
+ Server.tproj/main.cpp \
Server.tproj/QTSSCallbacks.cpp \
- Server.tproj/QTSSDictionary.cpp\
Server.tproj/QTSSDataConverter.cpp \
+ Server.tproj/QTSSDictionary.cpp \
Server.tproj/QTSSErrorLogModule.cpp \
- Server.tproj/QTSSMessages.cpp\
+ Server.tproj/QTSServer.cpp \
+ Server.tproj/QTSServerInterface.cpp \
+ Server.tproj/QTSServerPrefs.cpp \
+ Server.tproj/QTSSExpirationDate.cpp \
+ Server.tproj/QTSSFile.cpp \
+ Server.tproj/QTSSMessages.cpp \
Server.tproj/QTSSModule.cpp \
- Server.tproj/QTSServerPrefs.cpp\
- Server.tproj/QTSSSocket.cpp\
- Server.tproj/QTSSFile.cpp\
Server.tproj/QTSSPrefs.cpp \
- Server.tproj/QTSServer.cpp\
- Server.tproj/QTSServerInterface.cpp \
- Server.tproj/RTCPTask.cpp\
- Server.tproj/RTPSession.cpp \
- Server.tproj/RTPPacketResender.cpp \
+ Server.tproj/QTSSSocket.cpp \
+ Server.tproj/QTSSUserProfile.cpp \
+ Server.tproj/RTCPTask.cpp \
Server.tproj/RTPBandwidthTracker.cpp \
Server.tproj/RTPOverbufferWindow.cpp \
- Server.tproj/RTPSessionInterface.cpp\
+ Server.tproj/RTPPacketResender.cpp \
+ Server.tproj/RTPSession3GPP.cpp \
+ Server.tproj/RTPSession.cpp \
+ Server.tproj/RTPSessionInterface.cpp \
+ Server.tproj/RTPStream3gpp.cpp \
Server.tproj/RTPStream.cpp \
- Server.tproj/RTSPProtocol.cpp\
+ Server.tproj/RTSPProtocol.cpp \
+ Server.tproj/RTSPRequest3GPP.cpp \
Server.tproj/RTSPRequest.cpp \
- Server.tproj/RTSPRequestInterface.cpp\
+ Server.tproj/RTSPRequestInterface.cpp \
Server.tproj/RTSPRequestStream.cpp \
- Server.tproj/RTSPResponseStream.cpp\
+ Server.tproj/RTSPResponseStream.cpp \
+ Server.tproj/RTSPSession3GPP.cpp \
Server.tproj/RTSPSession.cpp \
- Server.tproj/RTSPSessionInterface.cpp\
- Server.tproj/main.cpp \
+ Server.tproj/RTSPSessionInterface.cpp \
Server.tproj/RunServer.cpp \
- Server.tproj/GenerateXMLPrefs.cpp \
- Server.tproj/QTSSUserProfile.cpp\
- PrefsSourceLib/FilePrefsSource.cpp\
+ PrefsSourceLib/FilePrefsSource.cpp \
PrefsSourceLib/XMLPrefsParser.cpp \
PrefsSourceLib/XMLParser.cpp \
OSMemoryLib/OSMemory.cpp \
@@ -91,17 +94,20 @@
RTSPClientLib/ClientSocket.cpp \
HTTPUtilitiesLib/HTTPProtocol.cpp \
HTTPUtilitiesLib/HTTPRequest.cpp \
- RTCPUtilitiesLib/RTCPAPPPacket.cpp\
+ RTCPUtilitiesLib/RTCPAckPacket.cpp \
+ RTCPUtilitiesLib/RTCPAPPNADUPacket.cpp \
+ RTCPUtilitiesLib/RTCPAPPPacket.cpp \
+ RTCPUtilitiesLib/RTCPAPPQTSSPacket.cpp \
RTCPUtilitiesLib/RTCPPacket.cpp \
- RTCPUtilitiesLib/RTCPSRPacket.cpp\
- RTCPUtilitiesLib/RTCPAckPacket.cpp\
- RTPMetaInfoLib/RTPMetaInfoPacket.cpp\
+ RTCPUtilitiesLib/RTCPSRPacket.cpp \
+ RTPMetaInfoLib/RTPMetaInfoPacket.cpp \
APIStubLib/QTSS_Private.cpp \
APICommonCode/QTSSModuleUtils.cpp\
APICommonCode/QTSSRollingLog.cpp \
APICommonCode/SDPSourceInfo.cpp \
APICommonCode/SourceInfo.cpp \
APICommonCode/QTAccessFile.cpp \
+ APICommonCode/QTSS3GPPModuleUtils.cpp \
SafeStdLib/InternalStdLib.cpp \
APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp \
APIModules/QTSSFileModule/QTSSFileModule.cpp \
@@ -129,7 +135,7 @@
APIModules/QTSSAccessModule/QTSSAccessModule.cpp \
APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp \
APIModules/QTSSAccessModule/AccessChecker.cpp
-
+
# CCFLAGS += $(foreach dir,$(HDRS),-I$(dir))
LIBFILES = QTFileLib/libQTFileLib.a \
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/RTSPClientLib/PlayerSimulator.h DarwinStreamingSrvr6.0.3-Source/RTSPClientLib/PlayerSimulator.h
--- DarwinStreamingSrvr6.0.3-Source.orig/RTSPClientLib/PlayerSimulator.h 2008-05-06 01:29:00.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/RTSPClientLib/PlayerSimulator.h 2008-05-24 02:08:45.000000000 +0200
@@ -31,7 +31,7 @@
#ifndef _PLAYERSIMULATOR_H_
#define _PLAYERSIMULATOR_H_
-#include "SafeStdLib.h""
+#include "SafeStdLib.h"
#include "OSHeaders.h"
#include "OS.h"
#include "SVector.h"
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSErrorLogModule.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSErrorLogModule.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSErrorLogModule.cpp 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSErrorLogModule.cpp 2008-05-24 02:58:48.000000000 +0200
@@ -265,7 +265,11 @@
sDupErrorStringCount = 0;
}
- ::strlcpy(sLastErrorString, inParamBlock->errorParams.inBuffer, sizeof(sLastErrorString));
+#if __MacOSX__
+ strlcpy(sLastErrorString, inParamBlock->errorParams.inBuffer, sizeof(sLastErrorString));
+#else
+ strncpy(sLastErrorString, inParamBlock->errorParams.inBuffer, sizeof(sLastErrorString) -1);
+#endif
}
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSServer.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSServer.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSServer.cpp 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSServer.cpp 2008-05-24 07:24:39.000000000 +0200
@@ -70,7 +70,9 @@
#include "QTSSAdminModule.h"
#include "QTSSAccessModule.h"
#include "QTSSMP3StreamingModule.h"
+#if __MacOSX__
#include "QTSSDSAuthModule.h"
+#endif
#if MEMORY_DEBUGGING
#include "QTSSWebDebugModule.h"
#endif
@@ -85,7 +87,7 @@
#include "RTCPTask.h"
#include "QTSSFile.h"
-#include "RTPStream3GPP.h"
+#include "RTPStream3gpp.h"
#include "RTSPRequest3GPP.h"
// CLASS DEFINITIONS
@@ -680,9 +682,11 @@
(void)AddModule(theWebDebug);
#endif
+#if __MacOSX__
QTSSModule* theQTSSDSAuthModule = new QTSSModule("QTSSDSAuthModule");
(void)theQTSSDSAuthModule->SetupModule(&sCallbacks, &QTSSDSAuthModule_Main);
(void)AddModule(theQTSSDSAuthModule);
+#endif
QTSSModule* theQTACCESSmodule = new QTSSModule("QTSSAccessModule");
(void)theQTACCESSmodule->SetupModule(&sCallbacks, &QTSSAccessModule_Main);
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPSession.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSession.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPSession.cpp 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSession.cpp 2008-05-24 02:39:34.000000000 +0200
@@ -38,7 +38,7 @@
#include "RTSPProtocol.h"
#include "QTSServerInterface.h"
#include "QTSS.h"
-#include "RTSPRequest3gpp.h"
+#include "RTSPRequest3GPP.h"
#include "OS.h"
#include "OSMemory.h"
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream3gpp.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream3gpp.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream3gpp.cpp 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream3gpp.cpp 2008-05-24 02:48:52.000000000 +0200
@@ -34,7 +34,7 @@
#include "RTPStream.h"
#include "RTPStream3gpp.h"
#include "RTPSessionInterface.h"
-#include "RTSPRequest3gpp.h"
+#include "RTSPRequest3GPP.h"
#include "RTCPAPPNADUPacket.h"
#if DEBUG
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream.h DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream.h
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream.h 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream.h 2008-05-24 02:36:24.000000000 +0200
@@ -57,7 +57,7 @@
#include "RTCPPacket.h"
-#include "RTSPRequest3gpp.h"
+#include "RTSPRequest3GPP.h"
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTSPRequest3GPP.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPRequest3GPP.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTSPRequest3GPP.cpp 2008-05-06 01:28:59.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPRequest3GPP.cpp 2008-05-24 02:49:26.000000000 +0200
@@ -32,7 +32,7 @@
*/
-#include "RTSPRequest3gpp.h"
+#include "RTSPRequest3GPP.h"
#include "RTSPProtocol.h"
#include "QTSServerInterface.h"
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/Makefile.POSIX DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/Makefile.POSIX
--- DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/Makefile.POSIX 2007-11-16 06:17:36.000000000 +0100
+++ DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/Makefile.POSIX 2008-05-24 02:32:03.000000000 +0200
@@ -17,6 +17,7 @@
CCFLAGS += -I..
CCFLAGS += -I../OSMemoryLib
CCFLAGS += -I../RTSPClientLib
+CCFLAGS += -I../RTCPUtilitiesLib
CCFLAGS += -I../APICommonCode
CCFLAGS += -I../CommonUtilitiesLib
CCFLAGS += -I../PrefsSourceLib
@@ -36,6 +37,12 @@
../RTSPClientLib/ClientSocket.cpp \
../RTSPClientLib/RTSPClient.cpp \
../RTSPClientLib/ClientSession.cpp \
+ ../RTCPUtilitiesLib/RTCPAckPacket.cpp \
+ ../RTCPUtilitiesLib/RTCPAPPNADUPacket.cpp \
+ ../RTCPUtilitiesLib/RTCPAPPPacket.cpp \
+ ../RTCPUtilitiesLib/RTCPAPPQTSSPacket.cpp \
+ ../RTCPUtilitiesLib/RTCPPacket.cpp \
+ ../RTCPUtilitiesLib/RTCPSRPacket.cpp \
../PrefsSourceLib/FilePrefsSource.cpp \
../APICommonCode/SDPSourceInfo.cpp \
../APICommonCode/SourceInfo.cpp \
diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/StreamingLoadTool.cpp DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/StreamingLoadTool.cpp
--- DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/StreamingLoadTool.cpp 2008-05-06 01:28:57.000000000 +0200
+++ DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/StreamingLoadTool.cpp 2008-05-24 02:22:13.000000000 +0200
@@ -743,7 +743,7 @@
bitsReceived += .5;
- printf("%5lu %6lu %8lu %6lu %6lu %6lu %9.0fk\n",
+ printf("%5"_U32BITARG_" %6"_U32BITARG_" %8"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %9.0fk\n",
ClientSession:: GetActiveConnections (),
ClientSession:: GetPlayingConnections (),
ClientSession:: GetConnectionAttempts (),
@@ -811,7 +811,7 @@
if (sLog != NULL)
::fclose(sLog);
- printf("%5lu %6lu %8lu %6lu %6lu %6lu %9.0fk\n",
+ printf("%5"_U32BITARG_" %6"_U32BITARG_" %8"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %9.0fk\n",
ClientSession:: GetActiveConnections (),
ClientSession:: GetPlayingConnections (),
ClientSession:: GetConnectionAttempts (),

View File

@ -1,302 +0,0 @@
--- DarwinStreamingSrvr6.0.3-Source.orig/Buildit 2008-03-26 08:42:48.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Buildit 2008-07-10 18:56:05.000000000 +0800
@@ -86,14 +86,19 @@ case $PLAT in
;;
Linux.i586 | \
- Linux.i686)
+ Linux.i686 | \
+ Linux.x86_64 )
echo "Configuring for the "$OSNAME" "$HARDWARENAME" platform"
CPLUS=gcc
CCOMP=gcc
LINKER='gcc'
MAKE=make
- COMPILER_FLAGS="-D_REENTRANT -D__USE_POSIX -D__linux__ -pipe"
+ if [ "$PLAT" = "Linux.x86_64" ]; then
+ COMPILER_FLAGS="-D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -fPIC"
+ else
+ COMPILER_FLAGS="-D_REENTRANT -D__USE_POSIX -D__linux__ -pipe"
+ fi
INCLUDE_FLAG="-include"
CORE_LINK_LIBS="-lpthread -ldl -lstdc++ -lm -lcrypt"
--- DarwinStreamingSrvr6.0.3-Source.orig/MP3Broadcaster/BroadcasterMain.cpp_orig 2008-07-03 20:51:14.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/MP3Broadcaster/BroadcasterMain.cpp 2008-07-03 20:51:47.000000000 +0800
@@ -216,7 +216,7 @@ static void RegisterEventHandlers()
struct sigaction act;
-#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__linuxppc__)
+#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__linuxppc__) || defined(__linux__)
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = (void(*)(int))&SignalEventHandler;
--- DarwinStreamingSrvr6.0.3-Source.orig/PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp_orig 2008-07-03 20:42:56.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp 2008-07-03 20:43:13.000000000 +0800
@@ -2082,7 +2082,7 @@ static void RegisterEventHandlers()
struct sigaction act;
-#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__powerpc__) || defined (__sgi_cc__) || defined(__osf__) || defined(__hpux__)
+#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__powerpc__) || defined (__sgi_cc__) || defined(__osf__) || defined(__hpux__) || defined(__linux__)
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = (void(*)(int))&SignalEventHandler;
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/main.cpp_orig 2008-07-03 20:38:56.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/main.cpp 2008-07-03 20:39:30.000000000 +0800
@@ -216,7 +216,7 @@ int main(int argc, char * argv[])
//(void) ::signal(SIGPIPE, SIG_IGN);
struct sigaction act;
-#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__)
+#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined (__linux__)
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = (void(*)(int))&sigcatcher;
--- DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/StreamingLoadTool.cpp_orig 2008-07-04 13:37:58.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/StreamingLoadTool.cpp 2008-07-04 13:38:16.000000000 +0800
@@ -135,7 +135,7 @@ int main(int argc, char *argv[])
#ifndef __Win32__
struct sigaction act;
-#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__)
+#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined (__linux__)
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = (void(*)(int))&sigcatcher;
--- DarwinStreamingSrvr6.0.3-Source_orig/CommonUtilitiesLib/SocketUtils.cpp_orig 2008-07-22 13:27:28.026924464 +0800
+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/SocketUtils.cpp 2008-07-22 13:33:57.944935981 +0800
@@ -549,9 +549,6 @@ Bool16 SocketUtils::IncrementIfReqIter(c
//if the length of the addr is 0, use the family to determine
//what the addr size is
if (ifr->ifr_addr.sa_len == 0)
-#else
- *inIfReqIter += sizeof(ifr->ifr_name) + 0;
-#endif
{
switch (ifr->ifr_addr.sa_family)
{
@@ -565,6 +562,9 @@ Bool16 SocketUtils::IncrementIfReqIter(c
// return false;
}
}
+#else
+ *inIfReqIter += sizeof(*ifr);
+#endif
return true;
}
#endif
--- DarwinStreamingSrvr6.0.3-Source_orig/CommonUtilitiesLib/Task.h_orig 2008-07-25 17:12:53.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/Task.h 2008-07-25 17:14:05.000000000 +0800
@@ -213,7 +213,7 @@ private:
static UInt32 sNumShortTaskThreads;
static UInt32 sNumBlockingTaskThreads;
- static OSMutexRW sMutexRW;
+ static OSMutexRW sMutexRW __attribute__((visibility("hidden")));
friend class Task;
friend class TaskThread;
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSServer.cpp_orig 2008-07-24 10:00:06.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSServer.cpp 2008-07-24 20:59:40.000000000 +0800
@@ -135,13 +135,13 @@ QTSServer::~QTSServer()
//
// Grab the server mutex. This is to make sure all gets & set values on this
// object complete before we start deleting stuff
- OSMutexLocker serverlocker(this->GetServerObjectMutex());
+ OSMutexLocker* serverlocker = new OSMutexLocker(this->GetServerObjectMutex());
//
// Grab the prefs mutex. This is to make sure we can't reread prefs
// WHILE shutting down, which would cause some weirdness for QTSS API
// (some modules could get QTSS_RereadPrefs_Role after QTSS_Shutdown, which would be bad)
- OSMutexLocker locker(this->GetPrefs()->GetMutex());
+ OSMutexLocker* locker = new OSMutexLocker(this->GetPrefs()->GetMutex());
QTSS_ModuleState theModuleState;
theModuleState.curRole = QTSS_Shutdown_Role;
@@ -152,6 +152,13 @@ QTSServer::~QTSServer()
(void)QTSServerInterface::GetModule(QTSSModule::kShutdownRole, x)->CallDispatch(QTSS_Shutdown_Role, NULL);
OSThread::SetMainThreadData(NULL);
+
+ delete fRTPMap;
+ delete fSocketPool;
+ delete fSrvrMessages;
+ delete locker;
+ delete serverlocker;
+ delete fSrvrPrefs;
}
Bool16 QTSServer::Initialize(XMLPrefsParser* inPrefsSource, PrefsSource* inMessagesSource, UInt16 inPortOverride, Bool16 createListeners)
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSMessages.cpp_orig 2008-07-24 14:26:35.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSMessages.cpp 2008-07-24 19:28:31.000000000 +0800
@@ -212,15 +212,17 @@ void QTSSMessages::Initialize()
}
QTSSMessages::QTSSMessages(PrefsSource* inMessages)
-: QTSSDictionary(QTSSDictionaryMap::GetMap(QTSSDictionaryMap::kTextMessagesDictIndex))
+: QTSSDictionary(QTSSDictionaryMap::GetMap(QTSSDictionaryMap::kTextMessagesDictIndex)),
+ numAttrs(GetDictionaryMap()->GetNumAttrs())
{
static const UInt32 kMaxMessageSize = 2048;
char theMessage[kMaxMessageSize];
// Use the names of the attributes in the attribute map as the key values for
// finding preferences in the config file.
-
- for (UInt32 x = 0; x < this->GetDictionaryMap()->GetNumAttrs(); x++)
+ attrBuffer = NEW char* [numAttrs];
+ ::memset(attrBuffer, 0, sizeof(char*) * numAttrs);
+ for (UInt32 x = 0; x < numAttrs; x++)
{
theMessage[0] = '\0';
(void)inMessages->GetValue(this->GetDictionaryMap()->GetAttrName(x), &theMessage[0]);
@@ -248,9 +250,10 @@ QTSSMessages::QTSSMessages(PrefsSource*
// the new attribute, and copy the data into the newly allocated buffer
if (theMessage[0] != '\0')
{
- char* attrBuffer = NEW char[::strlen(theMessage) + 2];
- ::strcpy(attrBuffer, theMessage);
- this->SetVal(this->GetDictionaryMap()->GetAttrID(x), attrBuffer, ::strlen(attrBuffer));
+ attrBuffer[x] = NEW char[::strlen(theMessage) + 2];
+ ::strcpy(attrBuffer[x], theMessage);
+ this->SetVal(this->GetDictionaryMap()->GetAttrID(x),
+ attrBuffer[x], ::strlen(attrBuffer[x]));
}
}
}
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSDictionary.h_orig 2008-07-24 15:52:36.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSDictionary.h 2008-07-24 15:52:36.000000000 +0800
@@ -215,7 +215,8 @@ class QTSSDictionary : public QTSSStream
Bool16 fMyMutex;
Bool16 fLocked;
- void DeleteAttributeData(DictValueElement* inDictValues, UInt32 inNumValues);
+ void DeleteAttributeData(DictValueElement* inDictValues,
+ UInt32 inNumValues, QTSSDictionaryMap* theMap);
};
@@ -271,7 +272,11 @@ class QTSSDictionaryMap
// CONSTRUCTOR / DESTRUCTOR
QTSSDictionaryMap(UInt32 inNumReservedAttrs, UInt32 inFlags = kNoFlags);
- ~QTSSDictionaryMap(){ delete fAttrArray; }
+ ~QTSSDictionaryMap() {
+ for (UInt32 i = 0; i < fAttrArraySize; i++)
+ delete fAttrArray[i];
+ delete [] fAttrArray;
+ }
//
// QTSS API CALLS
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSMessages.h_orig 2008-07-24 14:26:35.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSMessages.h 2008-07-24 20:20:45.000000000 +0800
@@ -53,13 +53,20 @@ class QTSSMessages : public QTSSDictiona
static void Initialize();
QTSSMessages(PrefsSource* inMessages);
- virtual ~QTSSMessages() {}
+ virtual ~QTSSMessages() {
+ for (UInt32 x = 0; x < numAttrs; x++)
+ if (attrBuffer[x] != NULL)
+ delete [] attrBuffer[x];
+ delete [] attrBuffer;
+ }
//Use the standard GetAttribute method in QTSSDictionary to retrieve messages
private:
-
+ char** attrBuffer;
+ UInt32 numAttrs;
+
enum
{
kNumMessages = 74 // 0 based count so it is one more than last message index number
--- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSDictionary.cpp_orig 2008-07-23 12:27:56.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSDictionary.cpp 2008-07-24 16:54:46.000000000 +0800
@@ -60,12 +60,12 @@ QTSSDictionary::QTSSDictionary(QTSSDicti
QTSSDictionary::~QTSSDictionary()
{
if (fMap != NULL)
- this->DeleteAttributeData(fAttributes, fMap->GetNumAttrs());
+ this->DeleteAttributeData(fAttributes, fMap->GetNumAttrs(), fMap);
if (fAttributes != NULL)
delete [] fAttributes;
- delete fInstanceMap;
- this->DeleteAttributeData(fInstanceAttrs, fInstanceArraySize);
+ this->DeleteAttributeData(fInstanceAttrs, fInstanceArraySize, fInstanceMap);
delete [] fInstanceAttrs;
+ delete fInstanceMap;
if (fMyMutex)
delete fMutexP;
}
@@ -340,7 +340,8 @@ QTSS_Error QTSSDictionary::SetValue(QTSS
theAttrs[theMapIndex].fAttributeData.Len = sizeof(char*);
// store off original string as first value in array
*(char**)theAttrs[theMapIndex].fAttributeData.Ptr = temp;
- // question: why isn't theAttrs[theMapIndex].fAllocatedInternally set to true?
+ // question: why isn't theAttrs[theMapIndex].fAllocatedInternally set to true?
+ theAttrs[theMapIndex].fAllocatedInternally = true;
}
}
else
@@ -407,7 +408,7 @@ QTSS_Error QTSSDictionary::SetValue(QTSS
// The offset should be (attrLen * inIndex) and not (inLen * inIndex)
char** valuePtr = (char**)(theAttrs[theMapIndex].fAttributeData.Ptr + (attrLen * inIndex));
if (inIndex < numValues) // we're replacing an existing string
- delete *valuePtr;
+ delete [] *valuePtr;
*valuePtr = (char*)attributeBufferPtr;
}
@@ -522,7 +523,7 @@ QTSS_Error QTSSDictionary::RemoveValue(Q
{
// we need to delete the string
char* str = *(char**)(theAttrs[theMapIndex].fAttributeData.Ptr + (theValueLen * inIndex));
- delete str;
+ delete [] str;
}
//
@@ -797,12 +798,22 @@ QTSS_Error QTSSDictionary::GetAttrInfoBy
return theErr;
}
-void QTSSDictionary::DeleteAttributeData(DictValueElement* inDictValues, UInt32 inNumValues)
+void QTSSDictionary::DeleteAttributeData(DictValueElement* inDictValues,
+ UInt32 inNumValues,
+ QTSSDictionaryMap* theMap)
{
for (UInt32 x = 0; x < inNumValues; x++)
{
- if (inDictValues[x].fAllocatedInternally)
+ if (inDictValues[x].fAllocatedInternally) {
+ if ((theMap->GetAttrType(x) == qtssAttrDataTypeCharArray) &&
+ (inDictValues[x].fNumAttributes > 1)) {
+ UInt32 z = 0;
+ for (char **y = (char **) (inDictValues[x].fAttributeData.Ptr);
+ z < inDictValues[x].fNumAttributes; z++)
+ delete [] y[z];
+ }
delete [] inDictValues[x].fAttributeData.Ptr;
+ }
}
}
--- DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OS.cpp_orig 2008-07-24 09:38:53.000000000 +0800
+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OS.cpp 2008-07-24 09:39:31.000000000 +0800
@@ -220,7 +220,7 @@ SInt32 OS::GetGMTOffset()
return ((tzInfo.Bias / 60) * -1);
#else
- time_t clock;
+ time_t clock = 0; //Make 'clock' initialized for valgrind
struct tm *tmptr= localtime(&clock);
if (tmptr == NULL)
return 0;

View File

@ -1,98 +0,0 @@
#!/sbin/runscript
opts="statusdss statusadmin restart"
depend() {
need net
use dns
}
start() {
ebegin "Starting DSS (per Streaming Admin Server)"
/usr/sbin/streamingadminserver.pl
eend $?
}
stop(){
PIDFILE="/var/run/darwinstreaming/adminserver.pid"
if [ -f "$PIDFILE" ]; then
PID=`cat "$PIDFILE"`
ps axo pid | grep $PID &>/dev/null
if [ $? -eq 0 ]; then
ebegin "Stopping Streaming Admin Server"
kill $PID
eend $?
else
einfo "Streaming Admin Server not running."
ebegin "Dropping stale PID file"
rm "$PIDFILE"
eend $?
fi
else
einfo "Streaming Admin Server not running obviously."
fi
# DSS isn't writing PID file actually
# --> use ps to check for running instance
PID=`ps axo user,pid,cmd | grep -E '^qtss ' | grep Streaming | awk '{print $2}'`
if [ $? -eq 0 ]; then
ebegin "Stopping DSS"
kill $PID
eend $?
else
einfo "DSS not running."
fi
}
statusdss() {
PIDFILE="/var/run/darwinstreaming/DarwinStreamingServer.pid"
if [ -f "$PIDFILE" ]; then
PID=`cat "$PIDFILE"`
ps axo pid | grep PID &>/dev/null
if [ $? -eq 0 ]; then
einfo "DSS is running"
return 0
else
ewarning "found stale PID file"
fi
fi
einfo "DSS is not running"
return 1
}
statusadmin() {
PIDFILE="/var/run/darwinstreaming/adminserver.pid"
if [ -f "$PIDFILE" ]; then
PID=`cat "$PIDFILE"`
ps axo pid | grep PID &>/dev/null
if [ $? -eq 0 ]; then
einfo "Streaming Admin Server is running"
return 0
else
ewarning "found stale PID file"
fi
fi
einfo "Streaming Admin Server is not running"
return 1
}
restart() {
stop
start
}

View File

@ -1,40 +0,0 @@
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=datacoin-hp
pkgver=0_git20140921
pkgrel=0
_commit=791125b901767b9dec40e04f6865181a3276395b
pkgdesc="High-performance version of datacoin"
url=https://github.com/foo1inge/datacoin-hp
arch="x86_64"
license=MIT
depends=
makedepends="boost-dev db-dev gmp-dev miniupnpc-dev openssl-dev"
install=
subpackages=
source=$url/archive/$_commit.zip
_builddir=$srcdir/$pkgname-$_commit/src
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make -f makefile.unix BOOST_LIB_SUFFIX=-mt
}
package() {
cd "$_builddir"
install -D -m 755 datacoind "$pkgdir/usr/bin/datacoind"
}
md5sums="f5fc62457bf6d64286eb24d11a4b3169 791125b901767b9dec40e04f6865181a3276395b.zip"
sha256sums="99c0147bdf838337ff4b6b66519f6e04810b8ff2d88251bcb46e844c4720a507 791125b901767b9dec40e04f6865181a3276395b.zip"
sha512sums="8925bd53749f5370299c38a90c96be539c8064de4e077cc0f6090353d9484fdcd38236c0da88b9c2d6cfb215d77ad02addd0061ce39f997581251cdcb0a2495a 791125b901767b9dec40e04f6865181a3276395b.zip"

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