summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-02 22:27:00 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-02 22:27:00 -0300
commit7046a475b24925c0ec7816ef7d2cdcf3b9cd4eb0 (patch)
tree4aa3a3a8bc27e82c152669c7f386675785341f39 /testing
parent2b277c04e05c47b6f66a4a3b8b1fcf8756088153 (diff)
parentddb2605f6bccbdb398f3937ff21e4688915a450d (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/file-roller/PKGBUILD
Diffstat (limited to 'testing')
-rw-r--r--testing/cronie/PKGBUILD5
-rw-r--r--testing/dcron/PKGBUILD42
-rw-r--r--testing/dcron/dcron.install6
-rw-r--r--testing/libcap/PKGBUILD26
-rw-r--r--testing/python2-cairo/PKGBUILD32
5 files changed, 108 insertions, 3 deletions
diff --git a/testing/cronie/PKGBUILD b/testing/cronie/PKGBUILD
index 13b1ef8fa..15d70051a 100644
--- a/testing/cronie/PKGBUILD
+++ b/testing/cronie/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='cronie'
pkgver=1.4.7
-pkgrel=6
+pkgrel=7
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
@@ -27,8 +27,7 @@ backup=('etc/crontab'
'etc/pam.d/crond'
'etc/cron.deny')
-conflicts=('dcron')
-replaces=('dcron')
+conflicts=('cron')
provides=('cron')
groups=('base')
diff --git a/testing/dcron/PKGBUILD b/testing/dcron/PKGBUILD
new file mode 100644
index 000000000..76af827e8
--- /dev/null
+++ b/testing/dcron/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Paul Mattal <paul.archlinux.org>
+
+pkgname=dcron
+pkgver=4.5
+pkgrel=1
+pkgdesc="dillon's lightweight cron daemon"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.jimpryor.net/linux/dcron"
+backup=('var/spool/cron/root' 'etc/conf.d/crond')
+depends=('bash')
+provides=('cron')
+conflicts=('cron')
+source=("http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz")
+md5sums=('078833f3281f96944fc30392b1888326')
+optdepends=('smtp-server: sending cron job output via email')
+install=$pkgname.install
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ # by default, any member of group "users" can edit their own crontab
+ make \
+ PREFIX=/usr \
+ CRONTAB_GROUP=users \
+ CRONTABS=/var/spool/cron \
+ CRONSTAMPS=/var/spool/cronstamps
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+
+ # install standard configuration and scripts
+ install -d -m755 "$pkgdir/etc/cron."{hourly,daily,weekly,monthly}
+
+ install -D -m755 extra/run-cron "$pkgdir/usr/sbin/run-cron"
+ install -D -m0600 extra/root.crontab "$pkgdir/var/spool/cron/root"
+ install -D -m755 extra/crond.rc "$pkgdir/etc/rc.d/crond"
+ install -D -m0644 extra/crond.conf "$pkgdir/etc/conf.d/crond"
+ install -D -m644 extra/crond.logrotate "$pkgdir/etc/logrotate.d/crond"
+}
diff --git a/testing/dcron/dcron.install b/testing/dcron/dcron.install
new file mode 100644
index 000000000..df23d0224
--- /dev/null
+++ b/testing/dcron/dcron.install
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ $(vercmp $2 4.0) -lt 0 ]
+ then
+ echo "Restart crond, since you're upgrading to the dcron 4.x series."
+ fi
+}
diff --git a/testing/libcap/PKGBUILD b/testing/libcap/PKGBUILD
new file mode 100644
index 000000000..2d91dbbf9
--- /dev/null
+++ b/testing/libcap/PKGBUILD
@@ -0,0 +1,26 @@
+#$Id: PKGBUILD 122049 2011-05-02 01:47:02Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Hugo Doria <hugo@archlinux.org>
+
+pkgname=libcap
+pkgver=2.21
+pkgrel=1
+pkgdesc="POSIX 1003.1e capabilities"
+arch=('i686' 'x86_64')
+url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
+license=('GPL')
+depends=('glibc' 'attr')
+source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz)
+md5sums=('61966ef40f2dee8731b69db895e4548d')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make prefix=/usr DESTDIR=${pkgdir} LIBDIR=${pkgdir}/lib RAISE_SETFCAP=no install
+ rm ${pkgdir}/lib/*.a
+ chmod 755 ${pkgdir}/lib/libcap.so.${pkgver}
+}
diff --git a/testing/python2-cairo/PKGBUILD b/testing/python2-cairo/PKGBUILD
new file mode 100644
index 000000000..0f2fb1462
--- /dev/null
+++ b/testing/python2-cairo/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 122022 2011-05-01 17:05:32Z angvp $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=python2-cairo
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Python2 bindings for the cairo graphics library"
+arch=('i686' 'x86_64')
+license=('LGPL' 'MPL')
+depends=('python2' 'cairo')
+options=('!libtool')
+provides=("pycairo=${pkgver}")
+conflicts=('pycairo')
+replaces=('pycairo')
+source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.bz2)
+url="http://www.cairographics.org/pycairo"
+md5sums=('20337132c4ab06c1146ad384d55372c5')
+
+build() {
+ cd "${srcdir}/py2cairo-${pkgver}"
+ sed -i 's:bin/env python:bin/env python2:' waf
+ python2 ./waf --version
+ pushd .waf-*
+ popd
+ PYTHON=/usr/bin/python2 ./waf configure --prefix=/usr
+ PYTHON=/usr/bin/python2 ./waf build
+}
+
+package() {
+ cd "${srcdir}/py2cairo-${pkgver}"
+ PYTHON=/usr/bin/python2 ./waf install --destdir="${pkgdir}"
+}