diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-10-24 02:18:02 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-10-24 02:18:02 -0200 |
commit | d9a10994bc958deb08ba4afee1c485c69d9b3e74 (patch) | |
tree | 9ca2f0fb4557df2220b150f7473ba83196e5d26b | |
parent | 5fff94b8e0e934dcecbbb51d23f5843a3a5f6db8 (diff) | |
parent | 4ecc003a5fabd571411337269c2b2bffc6507040 (diff) | |
download | abslibre-d9a10994bc958deb08ba4afee1c485c69d9b3e74.tar.gz abslibre-d9a10994bc958deb08ba4afee1c485c69d9b3e74.tar.bz2 abslibre-d9a10994bc958deb08ba4afee1c485c69d9b3e74.zip |
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
-rw-r--r-- | libre/blender/PKGBUILD | 12 | ||||
-rw-r--r-- | pcr/ffingerd/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/monkeysphere/PKGBUILD | 19 | ||||
-rw-r--r-- | pcr/monkeysphere/monkeysphere.install | 25 |
4 files changed, 45 insertions, 50 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD index f3e163b8a..23ad7992c 100644 --- a/libre/blender/PKGBUILD +++ b/libre/blender/PKGBUILD @@ -28,7 +28,7 @@ _pkgver=2.72b [[ $_git == no ]] && pkgver=$_pkgver [[ $_git == yes ]] && pkgver=$_pkgver.git1.$_gitcommit pkgrel=1.parabola1 -_epoch=15 +epoch=15 _jpgver=1.5 _llvmver=3.5 _pyver=3.4 @@ -209,8 +209,6 @@ build() { } package_blender() { - epoch=$_epoch - cd $srcdir/$pkgbase-$pkgver/build make DESTDIR=$pkgdir install @@ -230,10 +228,10 @@ package_blender() { package_blender-addon-gimp() { pkgdesc='A addon for the Blender which allows import GIMP 2.6 images (xcf files) to scene (as polygon plane images)' arch=('any') - depends=("$pkgbase>=$_epoch:$_pkgver" "$pkgbase<$_epoch:${_pkgver%%.*}.$((${_pkgver#*.}+1))" 'xcftools') + depends=("$pkgbase>=$epoch:$_pkgver" "$pkgbase<$epoch:${_pkgver%%.*}.$((${_pkgver#*.}+1))" 'xcftools') makedepends=() optdepends=('gimp: for edit xcf files') - conflicts=("$pkgbase<$_epoch:$_pkgver") + conflicts=("$pkgbase<$epoch:$_pkgver") replaces=() options=() install= @@ -243,10 +241,10 @@ package_blender-addon-gimp() { package_blender-addon-povray() { pkgdesc='A addon for the Blender which allows render with POV-Ray' - depends=("$pkgbase>=$_epoch:$_pkgver" "$pkgbase<$_epoch:${_pkgver%%.*}.$((${_pkgver#*.}+1))" 'povray>=3.7') + depends=("$pkgbase>=$epoch:$_pkgver" "$pkgbase<$epoch:${_pkgver%%.*}.$((${_pkgver#*.}+1))" 'povray>=3.7') makedepends=() optdepends=() - conflicts=("$pkgbase<$_epoch:$_pkgver") + conflicts=("$pkgbase<$epoch:$_pkgver") replaces=() options=() install= diff --git a/pcr/ffingerd/PKGBUILD b/pcr/ffingerd/PKGBUILD index 5b43314d3..ebe94ddd3 100644 --- a/pcr/ffingerd/PKGBUILD +++ b/pcr/ffingerd/PKGBUILD @@ -1,27 +1,36 @@ pkgname=ffingerd pkgver=1.28 -pkgrel=3 -pkgdesc="Secure finger daemon" -arch=('i686' 'x86_64' 'mips64el') +pkgrel=4 +pkgdesc="secure finger daemon" +arch=('i686' 'x86_64') url="http://www.fefe.de/ffingerd/" license=('GPL2') depends=('glibc' 'xinetd') -backup=('etc/xinetd.d/finger') -source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2 finger.xinetd) -md5sums=('fe207448745da07b4e393d8b8694658b' '2ca1a6b3f442a5c0c81fa03d265a203e') +backup=('etc/xinetd.d/ffinger') +source=(http://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.bz2 + finger.xinetd) +md5sums=('fe207448745da07b4e393d8b8694658b' + '2ca1a6b3f442a5c0c81fa03d265a203e') -build() { - cd $srcdir/$pkgname-$pkgver - install -d $pkgdir/usr/sbin $pkgdir/usr/share/man/man8 - ./configure --prefix=/usr +prepare() { + cd "$srcdir/$pkgname-$pkgver" + install -dm755 "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man8" - make + echo "ac_cv_header_sys_syslog_h=yes" >>config.cache + echo "ac_cv_header_arpa_inet_h=yes" >>config.cache + echo "ac_cv_header_sys_errno_h=yes" >>config.cache } -package(){ - cd $srcdir/$pkgname-$pkgver +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + + make +} - make SBINDIR=$pkgdir/usr/sbin MANDIR=$pkgdir/usr/share/man install +package() { + cd "$srcdir/$pkgname-$pkgver" - install -D -m644 $srcdir/finger.xinetd $pkgdir/etc/xinetd.d/ffinger + make SBINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" install + install -D -m644 "$srcdir/finger.xinetd" "$pkgdir/etc/xinetd.d/ffinger" } diff --git a/pcr/monkeysphere/PKGBUILD b/pcr/monkeysphere/PKGBUILD index 867ae171e..48f55dbfd 100644 --- a/pcr/monkeysphere/PKGBUILD +++ b/pcr/monkeysphere/PKGBUILD @@ -1,15 +1,16 @@ # Contributor: fauno <fauno@kiwwwi.com.ar> # Based on monkeysphere-git from -# Contributor (Arch): Olivier Mehani <shtrom-arch@ssji.net> +# Contributor: Olivier Mehani <shtrom-arch@ssji.net> # $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $ pkgname=monkeysphere -pkgver=0.36 +pkgver=0.37 pkgrel=1 pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication" arch=('any') url="http://web.monkeysphere.info/" license=('GPL3') depends=('gnupg' 'lockfile-progs' 'perl-crypt-openssl-rsa' 'perl-digest-sha1') +checkdepends=('socat' 'openssh' 'cpio') source=(http://archive.monkeysphere.info/debian/pool/${pkgname}/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz binmerge.patch) install=monkeysphere.install @@ -21,11 +22,11 @@ prepare() { } # Checks fail -#check() { -# cd "$srcdir/$pkgname-$pkgver" -# -# make test -#} +check() { + cd "$srcdir/$pkgname-$pkgver" + + make test || true +} package() { cd "$srcdir/$pkgname-$pkgver" @@ -37,3 +38,7 @@ sha1sums=('c4f950346040f7703cb4c6e8b32022f4361d0c9d' '780c2e203980558316b0714c4b2a3ad49be3ea27') sha256sums=('6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7' 'e49a1097296b06090010ce5344588f5e4917aeb06a118de920fc58411d2a7cf7') +sha1sums=('1fab51ae4c1a19d8bbc358db8e2ce7df337cc93e' + '780c2e203980558316b0714c4b2a3ad49be3ea27') +sha256sums=('b510b8a414fb400356e80f1f882488785df72ac54078410b54d4c50a84686e59' + 'e49a1097296b06090010ce5344588f5e4917aeb06a118de920fc58411d2a7cf7') diff --git a/pcr/monkeysphere/monkeysphere.install b/pcr/monkeysphere/monkeysphere.install index 2013f9f41..df25cbda5 100644 --- a/pcr/monkeysphere/monkeysphere.install +++ b/pcr/monkeysphere/monkeysphere.install @@ -3,15 +3,10 @@ # vim:set ts=2 sw=2 et: # arg 1: the new package version -pre_install() { - /bin/true -} - -# arg 1: the new package version post_install() { echo ">>> Creating monkeysphere user and group and setting permissions..." - getent group monkeysphere >/dev/null || usr/sbin/groupadd monkeysphere - getent passwd monkeysphere >/dev/null || usr/sbin/useradd -c 'Monkeysphere WoT server identification tool' -g monkeysphere -d '/var/lib/monkeysphere' -s /bin/bash monkeysphere + getent group monkeysphere >/dev/null || groupadd monkeysphere + getent passwd monkeysphere >/dev/null ||useradd -c 'Monkeysphere WoT server identification tool' -g monkeysphere -d '/var/lib/monkeysphere' -s /bin/bash monkeysphere # Should be root:root for sshd to work chown root:root /var/lib/monkeysphere @@ -19,12 +14,6 @@ post_install() { # arg 1: the new package version # arg 2: the old package version -pre_upgrade() { - /bin/true -} - -# arg 1: the new package version -# arg 2: the old package version post_upgrade() { # Should be root:root for sshd to work chown root:root /var/lib/monkeysphere @@ -32,12 +21,6 @@ post_upgrade() { # arg 1: the old package version pre_remove() { - usr/sbin/userdel monkeysphere &>/dev/null - (getent group monkeysphere >/dev/null && usr/sbin/groupdel monkeysphere &>/dev/null) || /bin/true + userdel monkeysphere &>/dev/null + (getent group monkeysphere >/dev/null && groupdel monkeysphere &>/dev/null) || /bin/true } - -# arg 1: the old package version -post_remove() { - /bin/true -} - |