diff options
-rw-r--r-- | cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD | 36 | ||||
-rw-r--r-- | pcr/audio-entropyd/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/audio-entropyd/audio-entropyd.service | 10 | ||||
-rw-r--r-- | pcr/darcsver/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/nevow/PKGBUILD | 23 | ||||
-rw-r--r-- | pcr/pycryptopp/PKGBUILD | 31 | ||||
-rw-r--r-- | pcr/python2-mock/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/pyutil/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/rfc5766-turn-server/PKGBUILD | 49 | ||||
-rw-r--r-- | pcr/setuptools_darcs/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/tahoe-lafs/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/tahoe-lafs/nodaemon.patch | 19 | ||||
-rw-r--r-- | pcr/timer_entropyd/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/timer_entropyd/timer_entropyd.service | 9 | ||||
-rw-r--r-- | pcr/video_entropyd/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/video_entropyd/video_entropyd.service | 9 | ||||
-rw-r--r-- | pcr/youtube-dl-current/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/zbase32/PKGBUILD | 25 | ||||
-rw-r--r-- | pcr/zfec/PKGBUILD | 26 |
19 files changed, 421 insertions, 48 deletions
diff --git a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD index 6f4b12fef..91084085d 100644 --- a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD +++ b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 165111 2012-08-11 08:21:11Z allan $ +# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> @@ -8,40 +8,46 @@ _target=mips64el-unknown-linux-gnu _sysroot="/usr/${_target}" pkgname=${_target}-linux-libre-api-headers -_basekernel=3.5 -_sublevel=1 +_basekernel=3.10 +_sublevel=9 pkgver=${_basekernel}.${_sublevel} -pkgrel=1.1 +pkgrel=1 pkgdesc="Kernel headers sanitized for use in userspace" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libc" license=('GPL2') -provides=("${_target}-linux-api-headers=${pkgver}" "${_target}-kernel-headers=${pkgver}") -conflicts=("${_target}-linux-api-headers" "${_target}-kernel-headers") -replaces=("${_target}-linux-api-headers" "${_target}-kernel-headers") +provides=("${_target}-linux-api-headers=${pkgver}") +conflicts=("${_target}-linux-api-headers") +replaces=("${_target}-linux-api-headers" ) source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz") -md5sums=('2407fc9563a74acaf38aa0c06516eb1c' - '67b650dd355fbca16035510df063420b') +sha1sums=('22abb16dc6175bab805f2098c5a276ff700424cf' + '10f907e7127f14e1a7f524d1d39852d98622793f') +sha256sums=('abee814b92422cfa3df90b62ad9ba888697fcc03a713adc2c7f68e0d0c23c329' + 'd5bc5369b102dae74f0cbaeba19a6db1d0d919645672a16208b06a71aab1de1b') -build() { +prepare() { cd ${srcdir}/linux-${_basekernel} if [ "${_basekernel}" != "${pkgver}" ]; then patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" fi +} + +build() { + cd ${srcdir}/linux-${_basekernel} make mrproper - make headers_check + make ARCH=${ARCH} headers_check } package() { cd ${srcdir}/linux-${_basekernel} - make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot}/usr headers_install + make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot} headers_install # use headers from libdrm - rm -rf ${pkgdir}/usr/include/drm - + rm -r ${pkgdir}${_sysroot}/include/drm + # clean-up unnecessary files generated during install - find ${pkgdir} -name .install -or -name ..install.cmd -print0 | xargs -0 rm -f + find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete } diff --git a/pcr/audio-entropyd/PKGBUILD b/pcr/audio-entropyd/PKGBUILD new file mode 100644 index 000000000..c691c0128 --- /dev/null +++ b/pcr/audio-entropyd/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: fauno <fauno@parabola.nu> +pkgname=audio-entropyd +pkgver=2.0.3 +pkgrel=1 +pkgdesc="Feeds the /dev/random device with entropy-data read from an audio device" +arch=('i686') +url="http://vanheusden.com/aed/" +license=('GPL2') +groups=('entropy') +depends=('alsa-lib') +source=(http://www.vanheusden.com/aed/${pkgname}-${pkgver}.tgz + ${pkgname}.service) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + install -D -m 644 ${srcdir}/${pkgname}.service \ + ${pkgdir}/usr/lib/systemd/system/${pkgname}.service +} +sha1sums=('b788559c6c01e17bb9d314ac2a7411bc30fbb8a2' + '6d3ad093176efaa0e5a4fe80113048aa9c4810ce') +sha256sums=('6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff' + '41704fac32b2c180c1fb6155b902445e2c5bc493da0191180cb3720cd72bd42c') diff --git a/pcr/audio-entropyd/audio-entropyd.service b/pcr/audio-entropyd/audio-entropyd.service new file mode 100644 index 000000000..feff7cae4 --- /dev/null +++ b/pcr/audio-entropyd/audio-entropyd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Gathering entropy from audio +After=sound.target + +[Service] +Type=forking +ExecStart=/usr/bin/audio-entropyd + +[Install] +WantedBy=multi-user.target diff --git a/pcr/darcsver/PKGBUILD b/pcr/darcsver/PKGBUILD new file mode 100644 index 000000000..e93250680 --- /dev/null +++ b/pcr/darcsver/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net> +# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor: Peter Simons <simons@cryp.to> +pkgname=darcsver +pkgver=1.7.4 +pkgrel=2 +pkgdesc="generate a version number from darcs history" +arch=('any') +url='http://allmydata.org/trac/darcsver' +license=('BSD') +depends=('python2') +makedepends=('python2-mock' 'python2-distribute') +source=( http://pypi.python.org/packages/source/d/$pkgname/$pkgname-$pkgver.tar.gz ) +md5sums=('e38aecd1343ab8447888a479ab12cb59') + +build(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + + install -Dm644 darcsver.egg-info/PKG-INFO $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/nevow/PKGBUILD b/pcr/nevow/PKGBUILD new file mode 100644 index 000000000..956a0cd32 --- /dev/null +++ b/pcr/nevow/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor: Peter Simons <simons@cryp.to> +pkgname=nevow +pkgver=0.10.0 +pkgrel=8 +pkgdesc="web application construction kit written in Python" +arch=('any') +url='http://pypi.python.org/pypi/Nevow' +license=('custom') +depends=('python2' 'twisted') +source=( http://pypi.python.org/packages/source/N/Nevow/Nevow-$pkgver.tar.gz ) +md5sums=('66dda2ad88f42dea05911add15f4d1b2') + +build(){ + cd "$srcdir/Nevow-$pkgver" + python2 setup.py build +} + +package(){ + cd "$srcdir/Nevow-$pkgver" + python2 setup.py install --prefix=/usr --root="$pkgdir" --install-data=/usr/share/"$pkgname" + install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/pcr/pycryptopp/PKGBUILD b/pcr/pycryptopp/PKGBUILD new file mode 100644 index 000000000..f95654884 --- /dev/null +++ b/pcr/pycryptopp/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor: Peter Simons <simons@cryp.to> +pkgname=pycryptopp +pkgver=0.6.0 +_pkgtag=1206569328141510525648634803928199668821045408958 +pkgrel=2 +pkgdesc="Python wrappers for the Crypto++ library" +arch=('i686' 'x86_64') +url='http://allmydata.org/trac/pycryptopp' +license=('GPL2' 'custom') +depends=('python2' 'crypto++') +makedepends=('darcsver' 'setuptools_darcs') +source=( http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.$_pkgtag.tar.gz + http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.$_pkgtag.tar.gz.asc ) +md5sums=('ce38fbe03705d27da408c78b56eb1947' + '76fe2da5b1fc964d9e1ee4596c36d5bf') + +build() { + cd "$srcdir/$pkgname-$pkgver.$_pkgtag" + export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1 + python2 setup.py build + python2 setup.py test +} + +package() { + cd "$srcdir/$pkgname-$pkgver.$_pkgtag" + python2 setup.py install --root="$pkgdir" + + install -d $pkgdir/usr/share/licenses/$pkgname/ + install -m 644 COPYING* $pkgdir/usr/share/licenses/$pkgname/ +} diff --git a/pcr/python2-mock/PKGBUILD b/pcr/python2-mock/PKGBUILD new file mode 100644 index 000000000..5647c15d2 --- /dev/null +++ b/pcr/python2-mock/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: Felix Kaiser <felix.kaiser@fxkr.net> + +pkgname=python2-mock +pkgver=1.0.1 +pkgrel=1 +pkgdesc="A Python Mocking and Patching Library for Testing" +url='http://www.voidspace.org.uk/python/mock/' +license=('BSD') +depends=('python2') +arch=('i686' 'x86_64') +source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz") +md5sums=('c3971991738caa55ec7c356bbc154ee2') + +build() { + cd "$srcdir/mock-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/mock-$pkgver" + python2 setup.py install --optimize=1 --root="$pkgdir" + install -Dm644 LICENSE* $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + diff --git a/pcr/pyutil/PKGBUILD b/pcr/pyutil/PKGBUILD new file mode 100644 index 000000000..7c3ca9f60 --- /dev/null +++ b/pcr/pyutil/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor: Peter Simons <simons@cryp.to> +pkgname=pyutil +pkgver=1.9.4 +pkgrel=2 +pkgdesc="general-purpose python library (used by tahoe-lafs)" +arch=('any') +url='http://pypi.python.org/pypi/pyutil' +license=('GPL2' 'custom') +depends=('python2') +makedepends=('setuptools' 'darcsver' 'setuptools_darcs' 'python2-simplejson') # 'zbase32') # missing: setuptools_trial +source=( http://pypi.python.org/packages/source/p/pyutil/pyutil-$pkgver.tar.gz ) +md5sums=('af51cf296b574112e115c9dfba51464d') + +build(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build + python2 setup.py trial +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + + install -d $pkgdir/usr/share/licenses/$pkgname/ + install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/ + +} diff --git a/pcr/rfc5766-turn-server/PKGBUILD b/pcr/rfc5766-turn-server/PKGBUILD index e85f98bb8..c070ad309 100644 --- a/pcr/rfc5766-turn-server/PKGBUILD +++ b/pcr/rfc5766-turn-server/PKGBUILD @@ -2,15 +2,13 @@ pkgname=rfc5766-turn-server _portname=turnserver -pkgver=1.8.6.0 -pkgrel=2 -epoch= -pkgdesc="Free open source implementation of TURN and STUN Server" +pkgver=2.6.2.1 +pkgrel=1 +pkgdesc="STUN and TURN Relay Server for VoIP and WebRTC" arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/rfc5766-turn-server/" license=('custom:BSDNew') -makedepends=('gcc>=3.4.4' 'make' 'hiredis' 'postgresql-libs' 'libmariadbclient') -depends=('libevent') +depends=('libevent' 'postgresql-libs' 'libmysqlclient' 'hiredis') optdepends=('postgresql-client: to use postgresql' 'mariadb: mariadb backend' 'redis: redis backend') @@ -22,14 +20,9 @@ source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz build() { cd "${srcdir}/$_portname-${pkgver}" - PREFIX=/usr \ - MANPREFIX=/usr/share \ - EXAMPLESDIR="/usr/share/$pkgname/examples" \ - DOCSDIR="/usr/share/doc/$pkgname" \ - LIBDIR=/usr/lib \ - SCHEMADIR="/usr/share/$pkgname" \ - TURNINCLUDEDIR="/usr/include/turn" - ./configure + ./configure --prefix=/usr \ + --manprefix=/usr/share \ + --examplesdir="/usr/share/$_portname/examples" make } @@ -41,20 +34,12 @@ check() { package() { cd "${srcdir}/$_portname-${pkgver}" - make \ - PREFIX="$pkgdir/usr" \ - MANPREFIX="$pkgdir/usr/share" \ - EXAMPLESDIR="$pkgdir/usr/share/$pkgname/examples" \ - DOCSDIR="$pkgdir/usr/share/doc/$pkgname" \ - LIBDIR="$pkgdir/usr/lib" \ - SCHEMADIR="$pkgdir/usr/share/$pkgname" \ - TURNINCLUDEDIR="$pkgdir/usr/include/turn" \ - install + make DESTDIR="$pkgdir" install - install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnserver.conf" \ + install -D "$pkgdir/usr/share/$_portname/examples/etc/turnserver.conf" \ "$pkgdir/etc/turnserver.conf" - install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnuserdb.conf" \ + install -D "$pkgdir/usr/share/$_portname/examples/etc/turnuserdb.conf" \ "$pkgdir/etc/turnuserdb.conf" install -D "$srcdir/stun.service" \ "$pkgdir/usr/lib/systemd/system/stun.service" @@ -65,7 +50,15 @@ package() { chmod 644 "$pkgdir/usr/lib/libturnclient.a" install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + install -dm 755 "$pkgdir/var/log/$_portname" + + sed \ + -e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \ + -i "${pkgdir}"/etc/turnserver.conf } -md5sums=('def4cc2ea6239795edab12b5eee5f8ed' - '1da26c3a1fe29a8961e6b9d73f9048d3' - '83670d79026c67c7701481ee9d39f100') +sha1sums=('d7f01e6fadbe56fe4535d67a7d178a9cfba110b8' + '0c5b348e793bd52ce0ee38d420b26c9b2a2e2ca5' + 'b12805c049787cd1433181afaba4111f89740e63') +sha256sums=('4d131f353aadb15901d175755075af65abf2a0e820d7281c9c164285642ff9c1' + '319030c1916d353bfc3375626cc7f60d6eeca762fe4fce354f010212902c49dc' + '63198e4f802c7b4b44e671e0fcaebca36589ebb11405e51ab9f36c80327ac4d9') diff --git a/pcr/setuptools_darcs/PKGBUILD b/pcr/setuptools_darcs/PKGBUILD new file mode 100644 index 000000000..7fbbdcaa8 --- /dev/null +++ b/pcr/setuptools_darcs/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Peter Simons <simons@cryp.to> +# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com> +pkgname=setuptools_darcs +pkgver=1.2.11 +pkgrel=3 +pkgdesc="Python setuptools plugin for darcs" +arch=('any') +url='http://pypi.python.org/pypi/setuptools_darcs' +license=('BSD') +depends=('python2') +makedepends=('setuptools' 'darcsver') +source=( http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz ) +md5sums=('79451a8e77b9692861a655e53df094f0') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py test +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + install -Dm644 PKG-INFO $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/tahoe-lafs/PKGBUILD b/pcr/tahoe-lafs/PKGBUILD new file mode 100644 index 000000000..8ace70679 --- /dev/null +++ b/pcr/tahoe-lafs/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Peter Simons <simons@cryp.to> +# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com> +pkgname=tahoe-lafs +pkgver=1.10.0 +pkgrel=1 +pkgdesc="a secure, decentralized, fault-tolerant filesystem" +arch=('any') +url='http://tahoe-lafs.org/' +license=('GPL') +# net-tools is needed because Tahoe-LAFS uses /sbin/ifconfig +depends=('net-tools' 'python2' 'python2-zope-interface>=3.6.5' + 'twisted' 'python2-pyasn1' 'python2-crypto' 'pycryptopp' 'nevow' + 'python2-foolscap' 'python2-simplejson' 'zfec' 'python2-pyopenssl' + 'pyutil' 'python2-argparse' 'zbase32' 'python2-mock>=0.8.0') +source=(nodaemon.patch https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-$pkgver.tar.bz2) +sha256sums=('7fb13a50bdca729b9c78f12369e56fccf55594b646bddb270d55c08c83ce3449' + '9c5516700fe95fdf8c57eca1e2a7b4aebf2de9a4d327d50afd684ebf833ccfe2') + +build(){ + cd "$srcdir/allmydata-tahoe-$pkgver" + patch -p0 < ../nodaemon.patch + python2 setup.py build + # disabled due to the nodaemon patch and the test_filesystem* tests + #python2 setup.py test || return 1 +} + +package(){ + cd "$srcdir/allmydata-tahoe-$pkgver" + python2 setup.py install --root="$pkgdir" +} diff --git a/pcr/tahoe-lafs/nodaemon.patch b/pcr/tahoe-lafs/nodaemon.patch new file mode 100644 index 000000000..dfcc0b8ae --- /dev/null +++ b/pcr/tahoe-lafs/nodaemon.patch @@ -0,0 +1,19 @@ +--- src/allmydata/scripts/startstop_node.py 2011-10-30 22:54:34.000000000 +0100 ++++ src/allmydata/scripts/startstop_node.py 2011-11-10 15:22:21.432711365 +0100 +@@ -10,6 +10,7 @@ + optFlags = [ + ["profile", "p", "Run under the Python profiler, putting results in 'profiling_results.prof'."], + ["syslog", None, "Tell the node to log to syslog, not a file."], ++ ["nodaemon", "n", "Do not daemonize."], + ] + + def getSynopsis(self): +@@ -70,6 +71,8 @@ + args.extend(["--logfile", os.path.join("logs", "twistd.log")]) + if opts["profile"]: + args.extend(["--profile=profiling_results.prof", "--savestats",]) ++ if opts["nodaemon"]: ++ args.extend(["--nodaemon", "--umask=0077"]) + # now we're committed + os.chdir(basedir) + from twisted.scripts import twistd diff --git a/pcr/timer_entropyd/PKGBUILD b/pcr/timer_entropyd/PKGBUILD new file mode 100644 index 000000000..4d5f4437e --- /dev/null +++ b/pcr/timer_entropyd/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: fauno <fauno@parabola.nu> +pkgname=timer_entropyd +pkgver=0.2 +pkgrel=1 +pkgdesc="Feeds the /dev/random device with entropy-data (random values) read from timers." +arch=('i686') +url="http://www.vanheusden.com/te/" +license=('GPL2') +groups=('entropy') +source=(http://www.vanheusden.com/te/${pkgname}-${pkgver}.tgz + ${pkgname}.service) +sha1sums=('61b82128bf4df483271a475a0cc772a7fd80a804' + '96ff193aef61088759cf9d9c9d0e881fd1174824') +sha256sums=('0cf2b976b78c1b1169a4bec5a6fc71d8b118de927bc05002686376a61f73989a' + 'a22d33d99ab7c511902a37225e83476466840bd4c0ee3ffece1e4094511414de') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + install -D -m 644 ${srcdir}/${pkgname}.service \ + ${pkgdir}/usr/lib/systemd/system/${pkgname}.service +} diff --git a/pcr/timer_entropyd/timer_entropyd.service b/pcr/timer_entropyd/timer_entropyd.service new file mode 100644 index 000000000..0bea7398b --- /dev/null +++ b/pcr/timer_entropyd/timer_entropyd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Gathering entropy from system timers + +[Service] +Type=forking +ExecStart=/usr/bin/timer_entropyd + +[Install] +WantedBy=multi-user.target diff --git a/pcr/video_entropyd/PKGBUILD b/pcr/video_entropyd/PKGBUILD new file mode 100644 index 000000000..e096aabdd --- /dev/null +++ b/pcr/video_entropyd/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: fauno <fauno@parabola.nu> +pkgname=video_entropyd +pkgver=2.0 +pkgrel=1 +pkgdesc="Feeds the /dev/random device with entropy-data read from a video device" +arch=('i686') +url="http://vanheusden.com/ved/" +license=('GPL2') +groups=('entropy') +source=(http://www.vanheusden.com/ved/${pkgname}-${pkgver}.tgz + ${pkgname}.service) +sha1sums=('9d566bce8d0f0fa4e8be24b481ffdba0d0c70406' + '30cfb694ee886e36ab97329d575a8b9437a30bb2') +sha256sums=('aba6255ddb32cd376c785128a7e850fb51b6c1d7fe3f4ba765abc0c50ec67d7a' + 'b6988df79823a29ab04bfa0fe6d8f2e14f3176398eb220fa1248c6728e8be27f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + install -D -m 644 ${srcdir}/${pkgname}.service \ + ${pkgdir}/usr/lib/systemd/system/${pkgname}.service +} diff --git a/pcr/video_entropyd/video_entropyd.service b/pcr/video_entropyd/video_entropyd.service new file mode 100644 index 000000000..1dfef410a --- /dev/null +++ b/pcr/video_entropyd/video_entropyd.service @@ -0,0 +1,9 @@ +[Unit] +Description=Gathering entropy from video + +[Service] +Type=forking +ExecStart=/usr/bin/video_entropyd + +[Install] +WantedBy=multi-user.target diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD index 0a12e4f19..37b4b5747 100644 --- a/pcr/youtube-dl-current/PKGBUILD +++ b/pcr/youtube-dl-current/PKGBUILD @@ -1,11 +1,12 @@ -# Maintainer (Arch): Eric Bélanger <eric@archlinux.org> +# Maintainer: Eric Bélanger <eric@archlinux.org> # Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com> # Based on https://www.archlinux.org/packages/community/any/youtube-dl/ pkgname=youtube-dl-current _pkgname=youtube-dl provides=(youtube-dl) -pkgver=2013.09.10 +pkgver=2013.09.11 +_pkgver=2013.11.09 pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites" arch=('any') @@ -13,7 +14,7 @@ url="http://rg3.github.io/youtube-dl/" license=('custom') depends=('python') makedepends=('python-distribute') -source=(http://youtube-dl.org/downloads/${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.sig}) +source=(http://youtube-dl.org/downloads/${_pkgver}/${_pkgname}-${_pkgver}.tar.gz{,.sig}) prepare() { cd ${_pkgname} @@ -27,6 +28,5 @@ package() { "${pkgdir}/usr/share/bash-completion/completions/youtube-dl" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } - -md5sums=('1ad831c338c82b97e0b4ef4f62d55a0c' +md5sums=('ad389dffc97d36c355115831a460b64e' 'SKIP') diff --git a/pcr/zbase32/PKGBUILD b/pcr/zbase32/PKGBUILD new file mode 100644 index 000000000..b4373abb8 --- /dev/null +++ b/pcr/zbase32/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Peter Simons <simons@cryp.to> +# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com> +pkgname=zbase32 +pkgver=1.1.5 +pkgrel=1 +pkgdesc="alternate base32 encoder (not RFC 3548 compliant)" +arch=('i686' 'x86_64') +url='http://pypi.python.org/pypi/zbase32' +license=('BSD') +depends=('python2') +makedepends=('setuptools' 'darcsver' 'setuptools_darcs' 'pyutil') +source=( http://pypi.python.org/packages/source/z/zbase32/zbase32-$pkgver.tar.gz ) +md5sums=('4dba0be4ac6d66968de8e5173f51d65d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build + python2 setup.py test +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + install -Dm644 PKG-INFO* $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/pcr/zfec/PKGBUILD b/pcr/zfec/PKGBUILD new file mode 100644 index 000000000..0c2487c6b --- /dev/null +++ b/pcr/zfec/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor: Peter Simons <simons@cryp.to> +pkgname=zfec +pkgver=1.4.24 +pkgrel=2 +pkgdesc="a fast erasure codec which can be used with the command-line, C, Python, or Haskell" +arch=('i686' 'x86_64') +url='http://pypi.python.org/pypi/zfec' +license=('GPL' 'custom') +depends=('python2' 'pyutil' 'zbase32') +makedepends=('darcsver' 'setuptools_darcs') +source=( http://pypi.python.org/packages/source/z/zfec/zfec-$pkgver.tar.gz ) +md5sums=('e1bca3a1f18374f72bdf8cd42ea9c919') + +build(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build + python2 setup.py test +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" + install -d $pkgdir/usr/share/licenses/$pkgname/ + install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/ +} |