From 862a468489b5081755f9086204a012c7cd3beb3e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Apr 2011 05:15:36 +0000 Subject: Wed Apr 20 05:15:36 UTC 2011 --- community-testing/cronie/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++ community-testing/cronie/anacrontab | 15 ++++++++++ community-testing/cronie/crond.pam.d | 11 +++++++ community-testing/cronie/crond.rc.d | 38 ++++++++++++++++++++++++ community-testing/cronie/crontab | 13 +++++++++ community-testing/cronie/run-cron | 38 ++++++++++++++++++++++++ community/cuneiform/PKGBUILD | 14 ++++----- community/omniorb/PKGBUILD | 12 +++++--- community/systemd/PKGBUILD | 11 +++---- core/udev/PKGBUILD | 16 +++++------ extra/wireshark/PKGBUILD | 6 ++-- extra/wireshark/wireshark.install | 4 ++- testing/gnome-games/PKGBUILD | 8 +++--- testing/libxml++/PKGBUILD | 8 +++--- testing/pygobject/PKGBUILD | 8 +++--- 15 files changed, 218 insertions(+), 40 deletions(-) create mode 100644 community-testing/cronie/PKGBUILD create mode 100644 community-testing/cronie/anacrontab create mode 100644 community-testing/cronie/crond.pam.d create mode 100755 community-testing/cronie/crond.rc.d create mode 100644 community-testing/cronie/crontab create mode 100755 community-testing/cronie/run-cron diff --git a/community-testing/cronie/PKGBUILD b/community-testing/cronie/PKGBUILD new file mode 100644 index 000000000..15b7e1dd0 --- /dev/null +++ b/community-testing/cronie/PKGBUILD @@ -0,0 +1,56 @@ +# $Id: PKGBUILD 45295 2011-04-19 04:31:20Z kchen $ +# Maintainer: Kaiting Chen + +pkgname=cronie +pkgver=1.4.7 +pkgrel=1 +pkgdesc='Fedora fork of vixie-cron with PAM support' +arch=('i686' 'x86_64') +url='https://fedorahosted.org/cronie/' +license=('custom:ISC') +backup=( + 'etc/crontab' 'etc/anacrontab' 'etc/pam.d/crond') +provides=('cron' 'dcron') +depends=('pam') +source=("https://fedorahosted.org/releases/c/r/$pkgname/$pkgname-$pkgver.tar.gz" + 'crontab' 'anacrontab' 'crond.pam.d' 'crond.rc.d' 'run-cron') +md5sums=('dfc26c47756d0c40ee27ae3c7ee98e0d' + '213994f8404ad2d2da18a9e0ce878a16' + 'b87041532eb123a3194b95dbe7fb284c' + 'd688904def891b8037dc3a06ab047f03' + '9b415c8a1faa44aa0538dcea88b432ec' + '00ede56aadf073c839e600033fbd6cb4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-anacron \ + --without-audit \ + --without-selinux \ + --with-pam --with-inotify + make; make DESTDIR=$pkgdir install + + # Must set suid bit on file manually + chmod u+s $pkgdir/usr/bin/crontab + + # Install `run-cron` script + install -Dm755 $srcdir/run-cron $pkgdir/usr/bin/run-cron + + # Install system crontab and anacrontab and directories + install -Dm644 $srcdir/crontab $pkgdir/etc/crontab + install -Dm644 $srcdir/anacrontab $pkgdir/etc/anacrontab + install -d $pkgdir/etc/cron.d + install -d $pkgdir/etc/cron.{hour,dai,week,month}ly + + # Replaced Fedora PAM configuration + install -Dm644 $srcdir/crond.pam.d $pkgdir/etc/pam.d/crond + + # Install crond initscript + install -Dm755 $srcdir/crond.rc.d $pkgdir/etc/rc.d/crond + + # Install custom:ISC license + install -Dm644 COPYING $pkgdir/usr/share/licenses/cronie/COPYING +} diff --git a/community-testing/cronie/anacrontab b/community-testing/cronie/anacrontab new file mode 100644 index 000000000..e9985b053 --- /dev/null +++ b/community-testing/cronie/anacrontab @@ -0,0 +1,15 @@ +### /etc/anacrontab: Main configuration for `anacron` +# See anacron(8) and anacrontab(5) for details + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +SHELL=/bin/bash +HOME=/var/empty +RANDOM_DELAY=45 +START_HOURS_RANGE=3-22 + +# Format: Period(day) Delay(minute) Name Command +30 15 cron.monthly run-cron /etc/cron.monthly + 1 5 cron.daily run-cron /etc/cron.daily + 7 10 cron.weekly run-cron /etc/cron.weekly + +### /etc/anacrontab: Main configuration for `anacron` diff --git a/community-testing/cronie/crond.pam.d b/community-testing/cronie/crond.pam.d new file mode 100644 index 000000000..4863ba834 --- /dev/null +++ b/community-testing/cronie/crond.pam.d @@ -0,0 +1,11 @@ +### /etc/pam.d/crond: PAM configuration for `crond` + +account required pam_access.so +account required pam_time.so +account required pam_unix.so + +session required pam_limits.so +session required pam_env.so +session required pam_unix.so + +### /etc/pam.d/crond: PAM configuration for `crond` diff --git a/community-testing/cronie/crond.rc.d b/community-testing/cronie/crond.rc.d new file mode 100755 index 000000000..8b05e65d7 --- /dev/null +++ b/community-testing/cronie/crond.rc.d @@ -0,0 +1,38 @@ +#!/bin/bash + +### /etc/rc.d/crond: Initscript for Cron Daemon + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/crond` +case "$1" in + start) + stat_busy "Starting Cron Daemon" + [ -z "$PID" ] && \ + /usr/sbin/crond &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else stat_done; add_daemon crond + echo $PID > /var/run/crond.pid + fi ;; + stop) + stat_busy "Stopping Cron Daemon" + [ ! -z "$PID" ] \ + && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + stat_done; rm_daemon crond + fi ;; + restart) + $0 stop + sleep 1 + $0 start ;; + *) + echo "usage: $0 {start|stop|restart}" +esac + +exit 0 + +### /etc/rc.d/crond: Initscript for Cron Daemon diff --git a/community-testing/cronie/crontab b/community-testing/cronie/crontab new file mode 100644 index 000000000..4e8b66397 --- /dev/null +++ b/community-testing/cronie/crontab @@ -0,0 +1,13 @@ +### /etc/crontab: Master crontab for system `crond` + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +SHELL=/bin/bash +HOME=/var/empty + +# Format: Minute Hour Date Month Wday User Command + +01 * * * * root run-cron /etc/cron.hourly +@reboot root anacron -s +04 4 * * * root anacron -s + +### /etc/crontab: Master crontab for system `crond` diff --git a/community-testing/cronie/run-cron b/community-testing/cronie/run-cron new file mode 100755 index 000000000..5c62e3377 --- /dev/null +++ b/community-testing/cronie/run-cron @@ -0,0 +1,38 @@ +#!/bin/bash + +# run-parts - concept taken from Debian + +# keep going when something fails +set +e + +if [ $# -lt 1 ]; then + echo "Usage: run-parts " + exit 1 +fi + +if [ ! -d $1 ]; then + echo "Not a directory: $1" + exit 1 +fi + +# Ignore *~ and *, scripts +for i in $1/*[^~,] ; do + [ -d $i ] && continue + # Don't run *.{pacsave,pacorig,pacnew,swp} scripts + [ "${i%.pacsave}" != "${i}" ] && continue + [ "${i%.pacorig}" != "${i}" ] && continue + [ "${i%.pacnew}" != "${i}" ] && continue + [ "${i%.swp}" != "${i}" ] && continue + [ "${i%,v}" != "${i}" ] && continue + + if [ -x $i ]; then + $i 2>&1 | awk -v "progname=$i" \ + 'progname { + print progname ":\n" + progname=""; + } + { print; }' + fi +done + +exit 0 diff --git a/community/cuneiform/PKGBUILD b/community/cuneiform/PKGBUILD index 5f780e969..93e8496ed 100644 --- a/community/cuneiform/PKGBUILD +++ b/community/cuneiform/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 20123 2010-07-02 14:54:46Z spupykin $ +# $Id: PKGBUILD 45314 2011-04-19 21:30:46Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Maxim Vuets pkgname=cuneiform -pkgver=1.0.0 -_dpkgver=1.0 +pkgver=1.1.0 +_dpkgver=1.1 pkgrel=1 pkgdesc="Linux port of an OCR system developed in Russia. Supports more than 20 languages." arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ license=('BSD') depends=(imagemagick) makedepends=(cmake) source=(http://launchpad.net/cuneiform-linux/${_dpkgver}/${_dpkgver}/+download/cuneiform-linux-${pkgver}.tar.bz2) -md5sums=('785232ffffad7d82446fbac08a1c3ef9') +md5sums=('09fd160cdfc512f26442a7e91246598d') build() { _SRC_ROOT="${srcdir}/${pkgname}-linux-${pkgver}" @@ -22,9 +22,9 @@ build() { mkdir builddir cd builddir - cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr .. || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr .. + make + make DESTDIR="${pkgdir}" install mkdir -p "${pkgdir}/usr/share/licenses/cuneiform" cp "${_SRC_ROOT}/cuneiform_src/Kern/license.txt" \ diff --git a/community/omniorb/PKGBUILD b/community/omniorb/PKGBUILD index 0cd67c2bd..a67bc410a 100644 --- a/community/omniorb/PKGBUILD +++ b/community/omniorb/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 27121 2010-09-17 15:17:17Z schuay $ +# $Id: PKGBUILD 45305 2011-04-19 11:39:08Z jelle $ # Maintainer: Giovanni Scafora # Contributor: Essien Ita Essien # Contributor: Brice Mealier pkgname=omniorb -pkgver=4.1.4 -pkgrel=2 +pkgver=4.1.5 +pkgrel=1 pkgdesc="A CORBA object request broker for C++ and Python." arch=('i686' 'x86_64') url="http://omniorb.sourceforge.net/" license=('GPL2' 'LGPL2') depends=('gcc-libs' 'python2' 'openssl') makedepends=('pkgconfig') -source=(http://downloads.sourceforge.net/omniorb/omniORB-$pkgver.tar.gz) +source=(http://downloads.sourceforge.net/omniorb/omniORB-$pkgver.tar.bz2) md5sums=('1f6070ff9b6339876976d61981eeaa6a') build() { @@ -31,9 +31,13 @@ build() { ./configure --prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg \ --with-omniNames-logdir=/var/log/omniORB --with-openssl=/usr make +} +package(){ + cd $srcdir/omniORB-$pkgver make DESTDIR=$pkgdir install for i in man/man1/*.1; do install -D -m 644 $i $pkgdir/usr/share/$i done chmod 755 $pkgdir/{usr,usr/bin,usr/lib,usr/share,usr/include,usr/share/idl,usr/lib/pkgconfig,usr/lib/python2.7,usr/lib/python2.7/site-packages} } +md5sums=('579af43a7ab1f2f88a845f1436e5238b') diff --git a/community/systemd/PKGBUILD b/community/systemd/PKGBUILD index fb4e9f3e2..ff51c553d 100644 --- a/community/systemd/PKGBUILD +++ b/community/systemd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 43947 2011-04-01 02:11:49Z dreisner $ +# $Id: PKGBUILD 44387 2011-04-06 23:47:15Z dreisner $ # Maintainer: Dave Reisner pkgname=systemd -pkgver=22 -pkgrel=2 +pkgver=24 +pkgrel=1 pkgdesc="Session and Startup manager" arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/systemd" @@ -11,10 +11,11 @@ license=('GPL2') depends=('dbus-core' 'initscripts' 'sysvinit' 'util-linux>=2.19') makedepends=('docbook-xsl' 'libxslt' 'cryptsetup' 'gtk2' 'libnotify') optdepends=('cryptsetup: required for encrypted block devices' - 'initscripts-systemd: native boot and initialization scripts' 'dbus-python: systemd-analyze' 'gtk2: systemadm' + 'initscripts-systemd: native boot and initialization scripts' 'libnotify: systemadm' + 'python2-cairo: systemd-analyze' 'systemd-arch-units: collection of native unit files for Arch daemon/init scripts') groups=('systemd') options=('!libtool') @@ -24,7 +25,7 @@ backup=(etc/systemd/system.conf install=systemd.install source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.bz2" "os-release") -md5sums=('79cfbca526eaa5833723b48adeb0b323' +md5sums=('4a6b7d99f35bdae21d7f9b698792b8d3' 'f9922299150b4adda7b89e10bca33033') build() { diff --git a/core/udev/PKGBUILD b/core/udev/PKGBUILD index 56cf91437..6011a9c26 100644 --- a/core/udev/PKGBUILD +++ b/core/udev/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 118043 2011-04-05 07:31:37Z jgc $ +# $Id: PKGBUILD 118985 2011-04-09 21:29:33Z tpowa $ # Maintainer: Aaron Griffin # Maintainer: Tobias Powalowski # Maintainer: Thomas Bächler pkgbase="udev" pkgname=('udev' 'udev-compat') -pkgver=166 -pkgrel=2 +pkgver=167 +pkgrel=1 arch=(i686 x86_64) url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" license=('GPL') @@ -19,11 +19,6 @@ source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgbase-$pkgver.ta 81-arch.rules load-modules.sh cdsymlinks.sh) -md5sums=('4db27d73fdbe94f47fd89fdd105c2dfb' - '4427855146513a4703ab5c7eb8a0156e' - 'f17c99779173ddc79f866cf3a5de5e68' - 'f91fddc67609b45b244a624977c4247b' - '2e808ee78d237c478b57af2a68d43769') build() { cd $srcdir/$pkgbase-$pkgver @@ -110,3 +105,8 @@ package_udev-compat() { install -d -m755 ${pkgdir}/lib/${pkgbase}/rules.d install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/rules/misc/30-kernel-compat.rules ${pkgdir}/lib/udev/rules.d/30-kernel-compat.rules } +md5sums=('4b37e1222f06c14c24147de346aa0bad' + '4427855146513a4703ab5c7eb8a0156e' + 'f17c99779173ddc79f866cf3a5de5e68' + 'f91fddc67609b45b244a624977c4247b' + '2e808ee78d237c478b57af2a68d43769') diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD index 530da2b20..242452147 100644 --- a/extra/wireshark/PKGBUILD +++ b/extra/wireshark/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 119998 2011-04-18 09:40:46Z guillaume $ +# $Id: PKGBUILD 120079 2011-04-19 13:10:40Z guillaume $ # Maintainer: Guillaume ALAUX # Contributor: Florian Pritz pkgname=(wireshark-cli wireshark-gtk) pkgbase=wireshark -pkgver=1.4.5 +pkgver=1.4.6 pkgrel=1 arch=('i686' 'x86_64') license=('GPL2') @@ -11,7 +11,7 @@ makedepends=('bison' 'flex' 'gtk2' 'heimdal' 'libpcap' 'bash' 'gnutls' 'libcap') url="http://www.wireshark.org/" options=(!libtool) source=(http://www.wireshark.org/download/src/${pkgbase}-${pkgver}.tar.bz2) -md5sums=('d278e377a830024e7ee1f279d0a50035') +md5sums=('fd301004ebc5fac8e56c2f0d4ef6173f') build() { cd "${srcdir}/${pkgbase}-${pkgver}" diff --git a/extra/wireshark/wireshark.install b/extra/wireshark/wireshark.install index 0afdf0c8f..6585ba272 100644 --- a/extra/wireshark/wireshark.install +++ b/extra/wireshark/wireshark.install @@ -6,7 +6,9 @@ post_install() { } post_upgrade() { - post_install $1 + getent group wireshark >/dev/null 2>&1 || usr/sbin/groupadd -g 150 wireshark &>/dev/null + + setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap } post_remove() { diff --git a/testing/gnome-games/PKGBUILD b/testing/gnome-games/PKGBUILD index 76ef88aa0..82d4b8dcd 100644 --- a/testing/gnome-games/PKGBUILD +++ b/testing/gnome-games/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 117797 2011-04-04 17:57:44Z heftig $ +# $Id: PKGBUILD 120100 2011-04-19 21:50:39Z ibiru $ # Maintainer: Jan de Groot pkgname=gnome-games -pkgver=3.0.0 +pkgver=3.0.1.1 pkgrel=1 pkgdesc="Some Games for GNOME" arch=('i686' 'x86_64') @@ -16,8 +16,8 @@ options=('!emptydirs' '!libtool') install=gnome-games.install url="http://www.gnome.org" groups=('gnome-extra') -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('359a1df5801271fc93c953ef7e5a81e8fc0088d35ed259e07db49261337aab51') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('dbbda8aa6960e36acff7537e49e033fc8037e6b3b3aa52d5f066cb67b34b4319') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/testing/libxml++/PKGBUILD b/testing/libxml++/PKGBUILD index c4385a417..53566fd25 100644 --- a/testing/libxml++/PKGBUILD +++ b/testing/libxml++/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 119822 2011-04-15 13:14:14Z ibiru $ +# $Id: PKGBUILD 120095 2011-04-19 21:39:40Z ibiru $ # Maintainer: damir pkgbase=libxml++ pkgname=('libxml++' 'libxml++-docs') -pkgver=2.34.0 +pkgver=2.34.1 pkgrel=1 arch=('i686' 'x86_64') license=('LGPL') url="http://libxmlplusplus.sourceforge.net/" -makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm' 'mm-common') +makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm') options=('!libtool' '!emptydirs') source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.34/${pkgbase}-${pkgver}.tar.bz2) -sha256sums=('09bc0e20cdc729660ebb0429cdfc8202f3e48fd65f443a0a3cc1278a14ad7807') +sha256sums=('664f3636c425554bf5e7d1b60253244e2d723899be8a971fc54332148bfce040') build() { cd "${srcdir}/${pkgbase}-${pkgver}" diff --git a/testing/pygobject/PKGBUILD b/testing/pygobject/PKGBUILD index 97dc646f4..7222d82f8 100644 --- a/testing/pygobject/PKGBUILD +++ b/testing/pygobject/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 118503 2011-04-07 18:27:33Z ibiru $ +# $Id: PKGBUILD 120090 2011-04-19 21:33:57Z ibiru $ # Maintainer: Jan de Groot pkgbase=pygobject pkgname=(pygobject py3gobject pygobject-devel) -pkgver=2.28.3 -pkgrel=2 +pkgver=2.28.4 +pkgrel=1 arch=('i686' 'x86_64') license=('LGPL') depends=('glib2' 'gobject-introspection') @@ -12,7 +12,7 @@ makedepends=(python python2 python-cairo python2-cairo) source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.bz2) options=('!libtool') url="http://www.pygtk.org/" -sha256sums=('7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6') +sha256sums=('70e3a05dd5f688e68b5dafa2412cd4fdbc0af83792a5752ef6353c4accf2022c') build() { cd "${srcdir}" -- cgit v1.2.3-54-g00ecf