From 4319f36e44d4e7c70bf010c3286bb1739c59d4de Mon Sep 17 00:00:00 2001 From: root Date: Sun, 24 Jun 2012 00:04:12 +0000 Subject: Sun Jun 24 00:04:11 UTC 2012 --- community/chrony/PKGBUILD | 29 ++++--- community/chrony/rc.d | 37 +++++++++ community/chrony/service | 10 +++ community/dcron/PKGBUILD | 13 ++- community/dcron/service | 10 +++ community/e-modules-extra-svn/PKGBUILD | 22 +++-- community/e-svn/PKGBUILD | 6 +- community/e_dbus-svn/PKGBUILD | 4 +- community/ecore-svn/PKGBUILD | 4 +- community/edje-svn/PKGBUILD | 4 +- community/eet-svn/PKGBUILD | 4 +- community/eeze-svn/PKGBUILD | 6 +- community/efreet-svn/PKGBUILD | 4 +- community/eina-svn/PKGBUILD | 4 +- community/eio-svn/PKGBUILD | 53 ++++++++++++ community/elementary-svn/PKGBUILD | 4 +- community/embryo-svn/PKGBUILD | 4 +- community/emotion-svn/PKGBUILD | 53 ++++++++++++ community/emprint-svn/PKGBUILD | 2 +- community/ethumb-svn/PKGBUILD | 53 ++++++++++++ community/evas-svn/PKGBUILD | 7 +- community/evas_generic_loaders-svn/PKGBUILD | 53 ++++++++++++ community/exim/PKGBUILD | 33 +++++--- community/exim/exim-submission.socket | 10 +++ community/exim/exim-submission@.service | 11 +++ community/exim/exim.service | 10 +++ community/exim/exim.socket | 10 +++ community/exim/exim@.service | 7 ++ community/fcron/PKGBUILD | 15 ++-- community/fcron/fcron.service | 10 +++ community/lxdm/PKGBUILD | 24 +++--- community/lxdm/rc.d | 36 +++++++++ community/lxdm/service | 9 +++ community/miredo/PKGBUILD | 29 ++++--- community/miredo/miredo.service | 11 +++ community/mongodb/PKGBUILD | 6 +- community/oidentd/PKGBUILD | 33 ++++---- community/oidentd/conf.d | 5 ++ community/oidentd/rc.d | 41 ++++++++++ community/oidentd/service | 8 ++ community/oidentd/socket | 10 +++ community/oss/PKGBUILD | 13 ++- community/oss/oss.service | 12 +++ community/pdnsd/PKGBUILD | 13 +-- community/pdnsd/pdnsd.service | 9 +++ community/pianobar/PKGBUILD | 27 +++++++ community/polipo/PKGBUILD | 16 ++-- community/polipo/polipo.conf.d | 4 + community/polipo/polipo.install | 6 +- community/polipo/polipo.rc.d | 121 +++++++++++++++------------- community/polipo/polipo.service | 10 +++ community/prosody/PKGBUILD | 11 ++- community/prosody/prosody.service | 13 +++ community/roxterm/PKGBUILD | 8 +- community/ruby-cairo/PKGBUILD | 13 +-- community/subtle/PKGBUILD | 39 +++++---- community/subtle/subtle.install | 14 ++-- community/tor/PKGBUILD | 16 ++-- community/tor/tor.service | 13 +++ community/uptimed/PKGBUILD | 13 +-- community/uptimed/service | 11 +++ community/vnstat/PKGBUILD | 24 +++--- community/vnstat/service | 9 +++ community/vsftpd/PKGBUILD | 42 ++++++---- community/vsftpd/vsftpd-ssl.service | 10 +++ community/vsftpd/vsftpd-ssl.socket | 9 +++ community/vsftpd/vsftpd-ssl@.service | 9 +++ community/vsftpd/vsftpd.service | 10 +++ community/vsftpd/vsftpd.socket | 9 +++ community/vsftpd/vsftpd@.service | 8 ++ community/zynaddsubfx/PKGBUILD | 10 +-- 71 files changed, 968 insertions(+), 258 deletions(-) create mode 100644 community/chrony/rc.d create mode 100644 community/chrony/service create mode 100644 community/dcron/service create mode 100644 community/eio-svn/PKGBUILD create mode 100644 community/emotion-svn/PKGBUILD create mode 100644 community/ethumb-svn/PKGBUILD create mode 100644 community/evas_generic_loaders-svn/PKGBUILD create mode 100644 community/exim/exim-submission.socket create mode 100644 community/exim/exim-submission@.service create mode 100644 community/exim/exim.service create mode 100644 community/exim/exim.socket create mode 100644 community/exim/exim@.service create mode 100644 community/fcron/fcron.service create mode 100644 community/lxdm/rc.d create mode 100644 community/lxdm/service create mode 100644 community/miredo/miredo.service create mode 100644 community/oidentd/conf.d create mode 100644 community/oidentd/rc.d create mode 100644 community/oidentd/service create mode 100644 community/oidentd/socket create mode 100644 community/oss/oss.service create mode 100644 community/pdnsd/pdnsd.service create mode 100644 community/pianobar/PKGBUILD create mode 100644 community/polipo/polipo.conf.d create mode 100644 community/polipo/polipo.service create mode 100644 community/tor/tor.service create mode 100644 community/uptimed/service create mode 100644 community/vnstat/service create mode 100644 community/vsftpd/vsftpd-ssl.service create mode 100644 community/vsftpd/vsftpd-ssl.socket create mode 100644 community/vsftpd/vsftpd-ssl@.service create mode 100644 community/vsftpd/vsftpd.service create mode 100644 community/vsftpd/vsftpd.socket create mode 100644 community/vsftpd/vsftpd@.service (limited to 'community') diff --git a/community/chrony/PKGBUILD b/community/chrony/PKGBUILD index d49b286e4..5b0fad6de 100644 --- a/community/chrony/PKGBUILD +++ b/community/chrony/PKGBUILD @@ -1,30 +1,39 @@ -# $Id: PKGBUILD 65088 2012-02-20 03:35:18Z spupykin $ -# Maintainer: Sergej Pupykin +# $Id: PKGBUILD 72784 2012-06-22 12:49:49Z dreisner $ +# Maintainer: Sergej Pupykin +# Maintainer: Bartłomiej Piotrowski # Contributor: Patrick Leslie Polzer # Contributor: cdhotfire # Contributor: Shinlun Hsieh -# Maintainer: Elisamuel Resto +# Contributor: Elisamuel Resto pkgname=chrony pkgver=1.26 -pkgrel=2 -pkgdesc="Dial-up friendly NTP daemon and excellent replacement for NTP on desktop systems" +pkgrel=3 +pkgdesc='Lightweight NTP client and server' arch=('i686' 'x86_64') url="http://chrony.tuxfamily.org/" options=('strip') license=('GPL') depends=('readline' 'libcap') backup=('etc/chrony.conf') -source=("http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz" \ - 'chrony') +source=(http://download.tuxfamily.org/chrony/${pkgname}-${pkgver}.tar.gz + rc.d + service) md5sums=('ad6dd619ff1986e4ff780363c64e2246' - 'd8b653c8bcc76cef00aa10fbd3eeb4f7') + 'd8b653c8bcc76cef00aa10fbd3eeb4f7' + 'd78e6189c6f51a2af30a65bdedcdb2eb') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install - install -D -m0644 $srcdir/$pkgname-$pkgver/examples/chrony.conf.example $pkgdir/etc/chrony.conf - install -D -m0755 $srcdir/chrony $pkgdir/etc/rc.d/chrony + + install -Dm0644 $srcdir/$pkgname-$pkgver/examples/chrony.conf.example $pkgdir/etc/chrony.conf + install -Dm0755 $srcdir/rc.d $pkgdir/etc/rc.d/chrony + install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/chrony.service } diff --git a/community/chrony/rc.d b/community/chrony/rc.d new file mode 100644 index 000000000..ec042d798 --- /dev/null +++ b/community/chrony/rc.d @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/chronyd` +case "$1" in + start) + stat_busy "Starting chrony Daemon" + if [ -z "$PID" ]; then + /usr/sbin/chronyd $NTPD_ARGS & + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + add_daemon chrony + stat_done + fi + ;; + stop) + stat_busy "Stopping chrony Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon chrony + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/community/chrony/service b/community/chrony/service new file mode 100644 index 000000000..8bc8da9d2 --- /dev/null +++ b/community/chrony/service @@ -0,0 +1,10 @@ +[Unit] +Description=Chrony Network Time Daemon + +[Service] +Type=forking +ExecStart=/usr/sbin/chronyd +PIDFile=/var/run/chronyd.pid + +[Install] +WantedBy=multi-user.target diff --git a/community/dcron/PKGBUILD b/community/dcron/PKGBUILD index a84c051f3..3b84ce3bf 100644 --- a/community/dcron/PKGBUILD +++ b/community/dcron/PKGBUILD @@ -1,8 +1,10 @@ -# Maintainer: Paul Mattal +# $Id: PKGBUILD 72785 2012-06-22 12:49:56Z dreisner $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Paul Mattal pkgname=dcron pkgver=4.5 -pkgrel=2 +pkgrel=3 pkgdesc="dillon's lightweight cron daemon" arch=('i686' 'x86_64') license=('GPL') @@ -11,10 +13,12 @@ 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 +source=(http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz + service) +md5sums=('078833f3281f96944fc30392b1888326' + '5a68a7aee883738e7f7f8549481bb297') build() { cd "$srcdir/${pkgname}-${pkgver}" @@ -41,4 +45,5 @@ package() { install -D -m644 extra/crontab.vim "$pkgdir/usr/share/vim/vimfiles/ftplugin/crontab.vim" sed -i -e 's=/var/spool/cron/cronstamps=/var/spool/cronstamps=' extra/prune-cronstamps install -D -m755 extra/prune-cronstamps "$pkgdir/etc/cron.d/prune-cronstamps" + install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/dcron.service } diff --git a/community/dcron/service b/community/dcron/service new file mode 100644 index 000000000..59fc64b80 --- /dev/null +++ b/community/dcron/service @@ -0,0 +1,10 @@ +[Unit] +Description=Periodic Command Scheduler + +[Service] +Type=forking +EnvironmentFile=/etc/conf.d/crond +ExecStart=/usr/sbin/crond $CROND_ARGS + +[Install] +WantedBy=multi-user.target diff --git a/community/e-modules-extra-svn/PKGBUILD b/community/e-modules-extra-svn/PKGBUILD index b7a2c76ab..c2a04b08d 100755 --- a/community/e-modules-extra-svn/PKGBUILD +++ b/community/e-modules-extra-svn/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Ronald van Haren pkgname=e-modules-extra-svn -pkgver=69748 +pkgver=72689 pkgrel=1 pkgdesc="Extra gadgets for e17" arch=('i686' 'x86_64') @@ -36,18 +36,14 @@ build() { cp -r $_svnmod $_svnmod-build cd $_svnmod-build - # fix build issue -# sed -i 's|efreet/Efreet.h|efreet-0/Efreet.h|' winlist-ng/src/e_mod_main.h || return 1 - -# winlist-ng fails, add again later -for i in alarm comp-scale cpu diskio deskshow \ - empris engage e-tiling everything-aspell everything-mpris \ + for i in alarm calendar comp-scale cpu diskio deskshow \ + empris engage everything-aspell everything-mpris \ everything-pidgin everything-places everything-shotgun \ everything-tracker everything-wallpaper everything-websearch \ execwatch flame iiirk itask mail mem \ moon mpdule net photo places quickaccess \ - rain slideshow snow taskbar \ - winselector xkbswitch; do + rain slideshow snow taskbar winlist-ng \ + winselector; do cd $i ./autogen.sh --prefix=/usr @@ -59,14 +55,14 @@ done package() { cd $srcdir/$_svnmod-build -for i in alarm comp-scale cpu diskio deskshow \ - empris engage e-tiling everything-aspell everything-mpris \ + for i in alarm calendar comp-scale cpu diskio deskshow \ + empris engage everything-aspell everything-mpris \ everything-pidgin everything-places everything-shotgun \ everything-tracker everything-wallpaper everything-websearch \ execwatch flame iiirk itask mail mem \ moon mpdule net photo places quickaccess \ - rain slideshow snow taskbar \ - winselector xkbswitch; do + rain slideshow snow taskbar winlist-ng \ + winselector; do cd $i make DESTDIR=$pkgdir install diff --git a/community/e-svn/PKGBUILD b/community/e-svn/PKGBUILD index 7a78acf75..fef5f7723 100755 --- a/community/e-svn/PKGBUILD +++ b/community/e-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68746 2012-04-01 10:44:46Z rvanharen $ +# $Id: PKGBUILD 72779 2012-06-22 09:56:44Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=e-svn -pkgver=69794 +pkgver=72689 pkgrel=1 pkgdesc="Enlightenment window manager DR17 (aka e17)" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ depends=('e_dbus-svn' 'edje-svn' 'efreet-svn' 'alsa-lib' 'pm-utils' 'pam' 'eeze-svn') makedepends=('svn') conflicts=('e') -provides=('e') +provides=('e' 'notification-daemon') backup=('etc/enlightenment/sysactions.conf') options=('!libtool') source=('e-applications.menu') diff --git a/community/e_dbus-svn/PKGBUILD b/community/e_dbus-svn/PKGBUILD index 4728b0266..f2a30efa6 100755 --- a/community/e_dbus-svn/PKGBUILD +++ b/community/e_dbus-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68744 2012-04-01 10:43:59Z rvanharen $ +# $Id: PKGBUILD 72771 2012-06-22 09:49:33Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=e_dbus-svn -pkgver=69484 +pkgver=71548 pkgrel=1 pkgdesc="dbus abstraction layer for e17" arch=('i686' 'x86_64') diff --git a/community/ecore-svn/PKGBUILD b/community/ecore-svn/PKGBUILD index f15a0ddd8..36e1a0414 100755 --- a/community/ecore-svn/PKGBUILD +++ b/community/ecore-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68734 2012-04-01 10:40:17Z rvanharen $ +# $Id: PKGBUILD 72757 2012-06-22 09:44:19Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=ecore-svn -pkgver=69820 +pkgver=72684 pkgrel=1 pkgdesc="Ecore is an abstraction layer for e17" arch=('i686' 'x86_64') diff --git a/community/edje-svn/PKGBUILD b/community/edje-svn/PKGBUILD index cb71570b7..02be1ac81 100755 --- a/community/edje-svn/PKGBUILD +++ b/community/edje-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68740 2012-04-01 10:42:28Z rvanharen $ +# $Id: PKGBUILD 72764 2012-06-22 09:46:56Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=edje-svn -pkgver=69815 +pkgver=72679 pkgrel=1 pkgdesc="A graphical design and layout library based on Evas" arch=('i686' 'x86_64') diff --git a/community/eet-svn/PKGBUILD b/community/eet-svn/PKGBUILD index eae57dbb6..4c608ae63 100755 --- a/community/eet-svn/PKGBUILD +++ b/community/eet-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68730 2012-04-01 10:38:24Z rvanharen $ +# $Id: PKGBUILD 72752 2012-06-22 09:42:01Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=eet-svn -pkgver=69753 +pkgver=72253 pkgrel=1 pkgdesc="A data storage and compression library" arch=('i686' 'x86_64') diff --git a/community/eeze-svn/PKGBUILD b/community/eeze-svn/PKGBUILD index b5981f918..9c81f9ef7 100644 --- a/community/eeze-svn/PKGBUILD +++ b/community/eeze-svn/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 71684 2012-06-01 13:04:52Z dreisner $ +# $Id: PKGBUILD 72760 2012-06-22 09:45:39Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren # Contributor: bluebugs pkgname=eeze-svn -pkgver=69825 -pkgrel=2 +pkgver=72008 +pkgrel=1 pkgdesc="A data storage and compression library" arch=('i686' 'x86_64') groups=('e17-libs-svn' 'e17-svn') diff --git a/community/efreet-svn/PKGBUILD b/community/efreet-svn/PKGBUILD index fc81c5a3a..80e331e9d 100755 --- a/community/efreet-svn/PKGBUILD +++ b/community/efreet-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68742 2012-04-01 10:43:18Z rvanharen $ +# $Id: PKGBUILD 72769 2012-06-22 09:48:52Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=efreet-svn -pkgver=69816 +pkgver=72387 pkgrel=1 pkgdesc="freedesktop.org specifications for e17" arch=('i686' 'x86_64') diff --git a/community/eina-svn/PKGBUILD b/community/eina-svn/PKGBUILD index 96ac83d5c..2cf580267 100755 --- a/community/eina-svn/PKGBUILD +++ b/community/eina-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68728 2012-04-01 10:37:35Z rvanharen $ +# $Id: PKGBUILD 72750 2012-06-22 09:41:17Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=eina-svn -pkgver=69817 +pkgver=72252 pkgrel=1 pkgdesc="E17 file chunk reading/writing library" arch=('i686' 'x86_64') diff --git a/community/eio-svn/PKGBUILD b/community/eio-svn/PKGBUILD new file mode 100644 index 000000000..6992dc2aa --- /dev/null +++ b/community/eio-svn/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 72758 2012-06-22 09:44:59Z rvanharen $ +# Maintainer: Ronald van Haren + +pkgname=eio-svn +pkgver=72607 +pkgrel=1 +pkgdesc="Async IO library" +arch=('i686' 'x86_64') +groups=('e17-libs-svn' 'e17-svn') +url="http://www.enlightenment.org" +license=('BSD') +depends=('ecore-svn') +makedepends=('subversion') +conflicts=('eio') +provides=('eio') +options=(!libtool) +source=() +md5sums=() + +_svntrunk="http://svn.enlightenment.org/svn/e/trunk/eio" +_svnmod="eio" + +build() { + cd $srcdir + +msg "Connecting to $_svntrunk SVN server...." + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + cp -r $_svnmod $_svnmod-build + cd $_svnmod-build + + ./autogen.sh --prefix=/usr + make +} + +package(){ + cd $_svnmod-build + make DESTDIR=$pkgdir install + + # install license files + install -Dm644 $srcdir/$_svnmod-build/COPYING \ + $pkgdir/usr/share/licenses/$pkgname/COPYING + + rm -r $srcdir/$_svnmod-build + +} diff --git a/community/elementary-svn/PKGBUILD b/community/elementary-svn/PKGBUILD index caed34649..007146064 100644 --- a/community/elementary-svn/PKGBUILD +++ b/community/elementary-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68749 2012-04-01 10:47:30Z rvanharen $ +# $Id: PKGBUILD 72775 2012-06-22 09:50:54Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=elementary-svn -pkgver=69796 +pkgver=72678 pkgrel=1 pkgdesc="Enlightenment's basic widget set" arch=('i686' 'x86_64') diff --git a/community/embryo-svn/PKGBUILD b/community/embryo-svn/PKGBUILD index 9a341972d..bd5d741a0 100755 --- a/community/embryo-svn/PKGBUILD +++ b/community/embryo-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68738 2012-04-01 10:41:49Z rvanharen $ +# $Id: PKGBUILD 72762 2012-06-22 09:46:18Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=embryo-svn -pkgver=69822 +pkgver=72112 pkgrel=1 pkgdesc="implementation of a C like scripting language for e17" arch=('i686' 'x86_64') diff --git a/community/emotion-svn/PKGBUILD b/community/emotion-svn/PKGBUILD new file mode 100644 index 000000000..4f39fda91 --- /dev/null +++ b/community/emotion-svn/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 70361 2012-05-05 07:40:39Z rvanharen $ +# Maintainer: Ronald van Haren + +pkgname=emotion-svn +pkgver=72440 +pkgrel=1 +pkgdesc="Library to easily integrate media playback into EFL applications" +arch=('i686' 'x86_64') +groups=('e17-libs-svn' 'e17-svn') +url="http://www.enlightenment.org" +license=('BSD') +depends=('gstreamer0.10' 'edje-svn' 'eeze-svn') +makedepends=('subversion') +conflicts=('emotion') +provides=('emotion') +options=(!libtool) +source=() +md5sums=() + +_svntrunk="http://svn.enlightenment.org/svn/e/trunk/emotion" +_svnmod="emotion" + +build() { + cd $srcdir + +msg "Connecting to $_svntrunk SVN server...." + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + cp -r $_svnmod $_svnmod-build + cd $_svnmod-build + + ./autogen.sh --prefix=/usr + make +} + +package(){ + cd $_svnmod-build + make DESTDIR=$pkgdir install + + # install license files + install -Dm644 $srcdir/$_svnmod-build/COPYING \ + $pkgdir/usr/share/licenses/$pkgname/COPYING + + rm -r $srcdir/$_svnmod-build + +} diff --git a/community/emprint-svn/PKGBUILD b/community/emprint-svn/PKGBUILD index 410868ce8..bfbf91875 100755 --- a/community/emprint-svn/PKGBUILD +++ b/community/emprint-svn/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68747 2012-04-01 10:46:48Z rvanharen $ +# $Id: PKGBUILD 72773 2012-06-22 09:50:16Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren diff --git a/community/ethumb-svn/PKGBUILD b/community/ethumb-svn/PKGBUILD new file mode 100644 index 000000000..e8f8fb347 --- /dev/null +++ b/community/ethumb-svn/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 72767 2012-06-22 09:48:11Z rvanharen $ +# Maintainer: Ronald van Haren + +pkgname=ethumb-svn +pkgver=72603 +pkgrel=1 +pkgdesc="Thumbnailing library" +arch=('i686' 'x86_64') +groups=('e17-libs-svn' 'e17-svn') +url="http://www.enlightenment.org" +license=('BSD') +depends=('libexif' 'e_dbus-svn' 'emotion-svn') +makedepends=('subversion') +conflicts=('ethumb') +provides=('ethumb') +options=(!libtool) +source=() +md5sums=() + +_svntrunk="http://svn.enlightenment.org/svn/e/trunk/ethumb" +_svnmod="ethumb" + +build() { + cd $srcdir + +msg "Connecting to $_svntrunk SVN server...." + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + cp -r $_svnmod $_svnmod-build + cd $_svnmod-build + + ./autogen.sh --prefix=/usr --libexecdir=/usr/lib + make +} + +package(){ + cd $_svnmod-build + make DESTDIR=$pkgdir install + + # install license files + install -Dm644 $srcdir/$_svnmod-build/COPYING \ + $pkgdir/usr/share/licenses/$pkgname/COPYING + + rm -r $srcdir/$_svnmod-build + +} diff --git a/community/evas-svn/PKGBUILD b/community/evas-svn/PKGBUILD index b46f942fc..ddcedd489 100755 --- a/community/evas-svn/PKGBUILD +++ b/community/evas-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68732 2012-04-01 10:39:10Z rvanharen $ +# $Id: PKGBUILD 72754 2012-06-22 09:42:43Z rvanharen $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=evas-svn -pkgver=69774 +pkgver=72604 pkgrel=1 pkgdesc="A hardware-accelerated canvas API for X-Windows" arch=('i686' 'x86_64') @@ -39,7 +39,8 @@ msg "Connecting to $_svntrunk SVN server...." ./autogen.sh --prefix=/usr --enable-fb --enable-xrender-x11 \ --enable-gl-x11 --enable-fontconfig --enable-async-preload \ - --enable-async-events --enable-pipe-render --enable-async-render + --enable-async-events --enable-pipe-render --enable-async-render \ + --libexecdir=/usr/lib make } diff --git a/community/evas_generic_loaders-svn/PKGBUILD b/community/evas_generic_loaders-svn/PKGBUILD new file mode 100644 index 000000000..f8309be89 --- /dev/null +++ b/community/evas_generic_loaders-svn/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 72755 2012-06-22 09:43:40Z rvanharen $ +# Maintainer: Ronald van Haren +# Contributor: Ronald van Haren + +pkgname=evas_generic_loaders-svn +pkgver=72171 +pkgrel=1 +pkgdesc="Additional generic loaders for Evas" +arch=('i686' 'x86_64') +groups=('e17-libs-svn' 'e17-svn') +url="http://www.enlightenment.org" +license=('BSD') +depends=('librsvg' 'gstreamer0.10' 'poppler' 'libraw' 'libspectre' 'eina-svn') +makedepends=('subversion') +conflicts=('evas_generic_loaders') +provides=('evas_generic_loaders') +options=('!libtool' '!emptydirs') +md5sums=() + +_svntrunk="http://svn.enlightenment.org/svn/e/trunk/evas_generic_loaders" +_svnmod="evas_generic_loaders" + +build() { + cd "$srcdir" + +msg "Connecting to $_svntrunk SVN server...." + if [ -d $_svnmod/.svn ]; then + (cd $_svnmod && svn up -r $pkgver) + else + svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod + fi + + msg "SVN checkout done or server timeout" + msg "Starting make..." + + cp -r $_svnmod $_svnmod-build + cd $_svnmod-build + + ./autogen.sh --prefix=/usr + make +} + +package() { + cd "$srcdir/$_svnmod-build" + make DESTDIR="$pkgdir" install + +# install license files + install -Dm644 "$srcdir/$_svnmod-build/COPYING" \ + "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + rm -r "$srcdir/$_svnmod-build" + +} diff --git a/community/exim/PKGBUILD b/community/exim/PKGBUILD index 2678ea80e..a4fc221fa 100644 --- a/community/exim/PKGBUILD +++ b/community/exim/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 71941 2012-06-03 21:58:45Z lfleischer $ +# $Id: PKGBUILD 72787 2012-06-22 12:50:29Z dreisner $ # Maintainer: Lukas Fleischer # Contributor: Angel Velasquez # Contributor: judd pkgname=exim pkgver=4.80 -pkgrel=1 +pkgrel=2 pkgdesc="Message Transfer Agent" arch=('x86_64' 'i686') url='http://www.exim.org/' @@ -21,13 +21,23 @@ source=("http://mirror.switch.ch/ftp/mirror/exim/exim/exim4/exim-$pkgver.tar.bz2 exim exim.logrotate exim.conf.d - exim.Makefile) + exim.Makefile + exim-submission@.service + exim.service + exim@.service + exim.socket + exim-submission.socket) sha256sums=('787b6defd37fa75311737bcfc42e9e2b2cc62c5d027eed35bb7d800b2d9a0984' '932c9149b6809c70e94c1256e28325d197bbf80d27322793e217d4b692d49c5a' '48457622b22de9721efe9f143a88e5f5ce833b792d2e757237b6cdb74a1708e6' '7f1408f9c5d905968e665941f5c5efcf9da53e7a0bbef6c66220343bc2ae994b' '0209c701f8696a9628d43c1684105eadd35d1caba199b94e3a54a4d26cecff01' - '7d1e062c907a06293eee40a3139f70c74a055374b234fb8c431ea68362bdda55') + '7d1e062c907a06293eee40a3139f70c74a055374b234fb8c431ea68362bdda55' + '32def7387aaa040b994c0d399c6053dc42d9da4c8c8f0a34d33da653be27e324' + '99aaf3c960396fc08ec918fdca1cf73850960f6c519982d1a653f2e673754445' + '0436411932d6b6268db54a84e4ffc209bde0fa7567442d8e3d138557eeccbad4' + '3e3d8b6be2741d2587a496196c08b3f2ffa05b5803b2bf9fb49359cef3a98d26' + 'd3bb58f0fbeaaa33c812a823708664bbcd828da7d24e2a098f84a15aee443fee') build() { cd "$srcdir/$pkgname-$pkgver" @@ -39,10 +49,10 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm0644 ../exim.logrotate "${pkgdir}/etc/logrotate.d/exim" - install -Dm0644 ../exim.conf.d "${pkgdir}/etc/conf.d/exim" + install -Dm0644 $srcdir/exim.logrotate "${pkgdir}/etc/logrotate.d/exim" + install -Dm0644 $srcdir/exim.conf.d "${pkgdir}/etc/conf.d/exim" install -Dm0644 doc/exim.8 "${pkgdir}/usr/share/man/man8/exim.8" - install -Dm0755 ../exim "${pkgdir}/etc/rc.d/exim" + install -Dm0755 $srcdir/exim "${pkgdir}/etc/rc.d/exim" mkdir -p "${pkgdir}/var/spool/exim/db" "${pkgdir}/etc/mail" \ "${pkgdir}/var/log/exim" "${pkgdir}/usr"/{lib,sbin} @@ -68,6 +78,11 @@ package() { # fhs compliancy ln -s ../sbin/exim ../lib/sendmail - mkdir -p "$pkgdir/etc/rc.d" - cp "$srcdir/exim" "$pkgdir/etc/rc.d" + install -Dm0644 "$srcdir/exim-submission@.service" \ + "${pkgdir}/usr/lib/systemd/system/exim-submission@.service" + install -Dm0644 "$srcdir/exim.service" "${pkgdir}/usr/lib/systemd/system/exim.service" + install -Dm0644 "$srcdir/exim@.service" "${pkgdir}/usr/lib/systemd/system/exim@.service" + install -Dm0644 "$srcdir/exim.socket" "${pkgdir}/usr/lib/systemd/system/exim.socket" + install -Dm0644 "$srcdir/exim-submission.socket" \ + "${pkgdir}/usr/lib/systemd/system/exim-submission.socket" } diff --git a/community/exim/exim-submission.socket b/community/exim/exim-submission.socket new file mode 100644 index 000000000..b9593e2ef --- /dev/null +++ b/community/exim/exim-submission.socket @@ -0,0 +1,10 @@ +[Unit] +Description=Exim Mail Transfer Agent (message submission) +Conflicts=exim.service + +[Socket] +ListenStream=587 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/community/exim/exim-submission@.service b/community/exim/exim-submission@.service new file mode 100644 index 000000000..8b1d056a8 --- /dev/null +++ b/community/exim/exim-submission@.service @@ -0,0 +1,11 @@ +# It doesn't make sense for this to be separate from exim@.service +# However, I couldn't think of a way to have two .socket files point +# to it ([Socket] Service= is rejected if Accept=yes is set). + +[Unit] +Description=Exim Mail Daemon per-connection server (message submission) + +[Service] +ExecStart=-/usr/sbin/exim -bs +StandardInput=socket +StandardError=syslog diff --git a/community/exim/exim.service b/community/exim/exim.service new file mode 100644 index 000000000..de52fd14f --- /dev/null +++ b/community/exim/exim.service @@ -0,0 +1,10 @@ +[Unit] +Description=Exim Mail Daemon + +[Service] +PIDFile=/var/run/exim.pid +ExecStart=/usr/sbin/exim -bdf -q30m +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/community/exim/exim.socket b/community/exim/exim.socket new file mode 100644 index 000000000..36d28684f --- /dev/null +++ b/community/exim/exim.socket @@ -0,0 +1,10 @@ +[Unit] +Description=Exim Mail Transfer Agent +Conflicts=exim.service + +[Socket] +ListenStream=25 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/community/exim/exim@.service b/community/exim/exim@.service new file mode 100644 index 000000000..120485b8b --- /dev/null +++ b/community/exim/exim@.service @@ -0,0 +1,7 @@ +[Unit] +Description=Exim Mail Daemon per-connection server + +[Service] +ExecStart=-/usr/sbin/exim -bs +StandardInput=socket +StandardError=syslog diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 817ceef09..8aa35f054 100755 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72128 2012-06-08 23:36:39Z dreisner $ +# $Id: PKGBUILD 72788 2012-06-22 12:50:42Z dreisner $ # Contributor: Giorgio Lando # Contributor: Sergej Pupykin # Contributor: Thomas Bächler @@ -6,7 +6,7 @@ pkgname=fcron pkgver=3.0.6 -pkgrel=6 +pkgrel=7 pkgdesc="feature-rich cron implementation" arch=(i686 x86_64) url="http://fcron.free.fr" @@ -20,12 +20,13 @@ backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \ var/spool/fcron/systab var/spool/fcron/systab.orig) options=('emptydirs' '!makeflags') source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \ - systab systab.orig run-cron) -md5sums=('ced7ca753517eac67502f3fec3908d39' + systab systab.orig run-cron fcron.service) +md5sums=('69ebcb41921e2a282f41ebecb3a27053' 'e0c3f0bdc3c98fbbe46eff19001c18f2' '938722c6654ef7b07f4aa10001905ba1' 'bfb7daa22ebe22b9917e455c1ca4a382' - '5ff0cdcb9ec99778938ac6ef26800327') + '5ff0cdcb9ec99778938ac6ef26800327' + 'ab589cc6813ec32b5e96bf05c2b51c4c') build() { cd "$srcdir/$pkgname-$pkgver" @@ -68,6 +69,10 @@ package() { # Install run-cron script to make fcron run without dcron install -D -m755 "$srcdir/run-cron" "$pkgdir/usr/sbin/run-cron" + # Install systemd service + install -D -m644 "$srcdir/fcron.service" \ + "$pkgdir/usr/lib/systemd/system/fcron.service" + # avoid conflict with filesystem>=2012.06 rmdir "$pkgdir/var/run" } diff --git a/community/fcron/fcron.service b/community/fcron/fcron.service new file mode 100644 index 000000000..a47b4f19b --- /dev/null +++ b/community/fcron/fcron.service @@ -0,0 +1,10 @@ +[Unit] +Description=Cron Daemon + +[Service] +Type=forking +PIDFile=/run/fcron.pid +ExecStart=/usr/sbin/fcron + +[Install] +WantedBy=multi-user.target diff --git a/community/lxdm/PKGBUILD b/community/lxdm/PKGBUILD index 1a9e48db5..9155fa2c6 100644 --- a/community/lxdm/PKGBUILD +++ b/community/lxdm/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 72159 2012-06-09 08:34:59Z bpiotrowski $ +# $Id: PKGBUILD 72804 2012-06-22 13:10:36Z dreisner $ # Maintainer: Bartłomiej Piotrowski # Contributor: AndyRTR # Contributor: kiefer pkgname=lxdm pkgver=0.4.1 -pkgrel=11 -pkgdesc="Lightweight Display Manager (part of LXDE)" +pkgrel=12 +pkgdesc='Lightweight X11 Display Manager' arch=('i686' 'x86_64') url="http://sourceforge.net/projects/lxdm/" license=('GPL') @@ -19,7 +19,7 @@ backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession' 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown') source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz glib2-2.32.0.patch lxdm.patch lxdm.conf.patch Xsession.patch - greeter-session.patch lxdm-daemon lxdm-pam) + greeter-session.patch rc.d lxdm-pam service) md5sums=('8da1cfc2be6dc9217c85a7cf51e1e821' 'a1e3c46a8bef691bc544028f5b6cfe22' 'baed9055e8825a5511712bc095197519' @@ -27,7 +27,8 @@ md5sums=('8da1cfc2be6dc9217c85a7cf51e1e821' 'd2e4a4a22ee2aa1a986be154c647b6c6' '28475239d0c8b4fd778ec49f5ec72962' '705f394052fdd0dec22e95321d170de0' - 'b20fe3c8487a039050986d60e45233a9') + 'b20fe3c8487a039050986d60e45233a9' + '4aaa9a7175cf327d9f7651c2586ef922') build() { cd $srcdir/$pkgname-$pkgver @@ -46,15 +47,16 @@ build() { package() { cd $srcdir/$pkgname-$pkgver - make DESTDIR="${pkgdir}" install + make DESTDIR=$pkgdir install - install -m644 ${srcdir}/lxdm-pam ${pkgdir}/etc/pam.d/lxdm - install -Dm755 ${srcdir}/lxdm-daemon ${pkgdir}/etc/rc.d/lxdm - install -d ${pkgdir}/var/{lib,run}/lxdm + install -m644 $srcdir/lxdm-pam $pkgdir/etc/pam.d/lxdm + install -Dm755 $srcdir/rc.d $pkgdir/etc/rc.d/lxdm + install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/lxdm.service + install -d $pkgdir/var/{lib,run}/lxdm # fix the greeter location - sed -i -e "s/local\/libexec/lib\/lxdm/" ${pkgdir}/etc/lxdm/lxdm.conf + sed -i -e 's/local\/libexec/lib\/lxdm/' $pkgdir/etc/lxdm/lxdm.conf # avoid conflict with filesystem>=2012.06 - rm -r "$pkgdir/var/run" + rm -r $pkgdir/var/run } diff --git a/community/lxdm/rc.d b/community/lxdm/rc.d new file mode 100644 index 000000000..68eb6225d --- /dev/null +++ b/community/lxdm/rc.d @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=$(pidof -o %PPID `which lxdm-binary`) +case "$1" in + start) + stat_busy "Starting LXDM Display Manager" + [ -z "$PID" ] && /usr/sbin/lxdm -d &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon lxdm + stat_done + fi + ;; + stop) + stat_busy "Stopping LXDM Display Manager" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon lxdm + stat_done + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community/lxdm/service b/community/lxdm/service new file mode 100644 index 000000000..b76e1190e --- /dev/null +++ b/community/lxdm/service @@ -0,0 +1,9 @@ +[Unit] +Description=LXDE Display Manager +After=systemd-user-sessions.service + +[Service] +ExecStart=/usr/sbin/lxdm + +[Install] +WantedBy=graphical.target diff --git a/community/miredo/PKGBUILD b/community/miredo/PKGBUILD index 7e4715c96..e6a75b244 100644 --- a/community/miredo/PKGBUILD +++ b/community/miredo/PKGBUILD @@ -1,31 +1,39 @@ -# $Id: PKGBUILD 72149 2012-06-09 06:02:05Z spupykin $ +# $Id: PKGBUILD 72790 2012-06-22 12:50:59Z dreisner $ # Maintainer: Sergej Pupykin pkgname=miredo -pkgver=1.2.4 +pkgver=1.2.5 pkgrel=2 pkgdesc="Teredo client and server." arch=('i686' 'x86_64') url="http://www.remlab.net/miredo/" license=('GPL') -depends=(judy iproute2) +depends=('judy' 'iproute2' 'libcap') backup=('etc/miredo/miredo.conf' 'etc/miredo/client-hook') -source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2 +options=('!libtool') +source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.xz isatapd.rc.d miredo.install miredo.rc.d - miredo-server.rc.d) -md5sums=('1281e7e75bddbde244cd778d99fa22d4' + miredo-server.rc.d + miredo.service) +md5sums=('5114debbf9fcab5d292176e4548f8cd1' '51ab6d091192605ee9206944869cb2ab' 'd1b655d7a851cdb46c91c3418ed1962f' 'c5a9be5c3175fecec387f1710bfd2788' - '319aba1ae06349b76cb25fda0dba60a9') + '319aba1ae06349b76cb25fda0dba60a9' + '3216d47d5aa979706b17b72d8b6e19b0') build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-Judy + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --with-Judy make make DESTDIR="$pkgdir" install @@ -35,6 +43,7 @@ build() { sed -i 's#/sbin/ip#/usr/sbin/ip#' $pkgdir/etc/miredo/client-hook # avoid conflict with filesystem>=2012.06 - rmdir "$pkgdir/var/run" -} + rmdir "$pkgdir/var/run" "$pkgdir/var" + install -Dm644 "$srcdir/miredo.service" "$pkgdir/usr/lib/systemd/system/miredo.service" +} diff --git a/community/miredo/miredo.service b/community/miredo/miredo.service new file mode 100644 index 000000000..299a887de --- /dev/null +++ b/community/miredo/miredo.service @@ -0,0 +1,11 @@ +[Unit] +Description=Teredo IPv6 Tunneling Daemon +After=network.target + +[Service] +ExecStartPre=/usr/sbin/miredo-checkconf /etc/miredo/miredo.conf +ExecStart=/usr/sbin/miredo -f +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index 57a5d3dc9..733eaa629 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 70656 2012-05-14 04:57:10Z svenstaro $ +# $Id: PKGBUILD 72741 2012-06-22 06:12:23Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Mathias Stearn # Contributor: Alec Thomas pkgname=mongodb -pkgver=2.0.5 +pkgver=2.0.6 pkgrel=1 pkgdesc='A high-performance, open source, schema-free document-oriented database.' arch=('i686' 'x86_64') @@ -22,7 +22,7 @@ source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" 'mongodb.conf' '0001-Backport-for-mongodb-2.0.4-Ignore-fork-and-logpath-w.patch' '0002-Backport-for-mongodb-2.0.4-Don-t-check-proc-pid-exe-.patch') -md5sums=('06cf5fb887dbbddd70a29c0af08aad4f' +md5sums=('b3b32fecdcbe8e8068ec2989be9d2da4' '9c67e00f4626ad761a8f7d4e037a54d7' '4839fe1d638187ca3226e8267b947318' 'fdbf06b005b3a73a2b6caca257ec8f64' diff --git a/community/oidentd/PKGBUILD b/community/oidentd/PKGBUILD index b2eed2962..18807fdf7 100644 --- a/community/oidentd/PKGBUILD +++ b/community/oidentd/PKGBUILD @@ -1,33 +1,38 @@ -# $Id: PKGBUILD 64895 2012-02-18 19:49:45Z bpiotrowski $ -# Maintainer: simo -# Maintainer: Mateusz Herych +# $Id: PKGBUILD 72791 2012-06-22 12:51:10Z dreisner $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: simo +# Contributor: Mateusz Herych # Contributor: Tom Newsom pkgname=oidentd pkgver=2.0.8 -pkgrel=5 -pkgdesc="An ident (rfc1413 compliant) daemon that runs on Linux" +pkgrel=6 +pkgdesc='An RFC1413 compliant ident daemon' arch=('i686' 'x86_64') url="http://dev.ojnk.net/" license=('GPL') depends=('glibc' 'bash') -source=(http://downloads.sourceforge.net/sourceforge/ojnk/oidentd-$pkgver.tar.gz - oidentd.rc - oidentd.default) +source=(http://downloads.sourceforge.net/sourceforge/ojnk/$pkgname-$pkgver.tar.gz + rc.d conf.d service socket) md5sums=('c3d9a56255819ef8904b867284386911' '93cbf742cdd0b053f67482273d715f25' - '603307525771724b0f55a2c34fbc3f3e') + '603307525771724b0f55a2c34fbc3f3e' + 'b215bee5764cdecb0939f44d5d2dccbe' + '651c2ef45d1d345d95056ef0787e29e6') build() { - cd "$srcdir/$pkgname-$pkgver" + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" - make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install - install -D -m 755 "$srcdir"/$pkgname.rc "$pkgdir"/etc/rc.d/oidentd - install -D -m 644 "$srcdir"/$pkgname.default "$pkgdir"/etc/conf.d/oidentd + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install + + install -D -m644 $srcdir/conf.d $pkgdir/etc/conf.d/oidentd + install -D -m755 $srcdir/rc.d $pkgdir/etc/rc.d/oidentd + install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/oidentd@.service + install -D -m644 $srcdir/socket $pkgdir/usr/lib/systemd/system/oidentd.socket } diff --git a/community/oidentd/conf.d b/community/oidentd/conf.d new file mode 100644 index 000000000..5eefa80e2 --- /dev/null +++ b/community/oidentd/conf.d @@ -0,0 +1,5 @@ +USER=nobody +GROUP=nobody +OPTS="" +# You will need this, when you want oidentd listen both on IPv4 and IPv6 +# OPTS="-a ::" diff --git a/community/oidentd/rc.d b/community/oidentd/rc.d new file mode 100644 index 000000000..8b3c04c45 --- /dev/null +++ b/community/oidentd/rc.d @@ -0,0 +1,41 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/oidentd + +# no daemon check needed for oidentd, and no pid nesecary. +case "$1" in + start) + stat_busy "Starting oidentd Daemon..." + # oidentd is smart enough to only run one copy of + # itsself, no check nesecary, and no pidfile + /usr/sbin/oidentd -u ${USER} -g ${GROUP} ${OPTS} + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon oidentd + stat_done + fi + ;; + stop) + stat_busy "Stopping oidentd Daemon..." + # kill the process by it's full name, or the init script + # will terminate as well, wreaking havok. + killall /usr/sbin/oidentd + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon oidentd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community/oidentd/service b/community/oidentd/service new file mode 100644 index 000000000..3688298c1 --- /dev/null +++ b/community/oidentd/service @@ -0,0 +1,8 @@ +[Unit] +Description=Ident (RFC 1413) per-connection server + +[Service] +ExecStart=/usr/sbin/oidentd -I -u nobody -g nobody +ExecReload=/bin/kill -HUP $MAINPID +StandardInput=socket +StandardError=syslog diff --git a/community/oidentd/socket b/community/oidentd/socket new file mode 100644 index 000000000..63df7036e --- /dev/null +++ b/community/oidentd/socket @@ -0,0 +1,10 @@ +[Unit] +Description=Ident (RFC 1413) socket +Conflicts=oidentd.service + +[Socket] +ListenStream=113 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/community/oss/PKGBUILD b/community/oss/PKGBUILD index cceef84a2..48ccac808 100644 --- a/community/oss/PKGBUILD +++ b/community/oss/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63447 2012-02-03 17:52:25Z bluewind $ +# $Id: PKGBUILD 72792 2012-06-22 12:51:25Z dreisner $ # Maintainer: Florian Pritz # Contributor: Paulo Matias # Contributor: Daniel J Griffiths @@ -6,7 +6,7 @@ pkgbase=oss pkgname=(oss libflashsupport-oss) pkgver=4.2_2006 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64') url="http://developer.opensound.com/" license=('GPL2') @@ -16,12 +16,14 @@ source=("http://www.4front-tech.com/developer/sources/stable/gpl/oss-v${pkgver/_ "rc-script" "soundon.patch" "remove-hal.patch" + "oss.service" ) md5sums=('ca25c06bb7d0c6495e1b6f55d1bad96c' 'b9a380a0ac8896390d71ac13676f27e1' 'cbcbce5c03b127df5eafa8faa091492c' '65f07fe241bfbf912f76d8b6d8f276b5' - 'cd7f1dc6166bba8c94d96f3a28e948a5') + 'cd7f1dc6166bba8c94d96f3a28e948a5' + '8db0255b380dc6672993e627d1cd8ca6') _dir=oss-v${pkgver/_*}-build${pkgver/*_}-src-gpl build() { @@ -74,16 +76,13 @@ package_oss() { backup=('usr/lib/oss/soundon.user') install=oss.install - cd "${srcdir}/${_dir}" - - msg "Copying files." - cd "${srcdir}/build/prototype" cp -a * "${pkgdir}" chmod -R a+r "${pkgdir}" # All files can have read permission (FS#13815) find "${pkgdir}" -type d -exec chmod a+x '{}' \; # Make namcap happy install -Dm755 "${srcdir}/rc-script" "${pkgdir}/etc/rc.d/oss" + install -Dm644 "$srcdir/oss.service" "$pkgdir/usr/lib/systemd/system/oss.service" } package_libflashsupport-oss() { diff --git a/community/oss/oss.service b/community/oss/oss.service new file mode 100644 index 000000000..107c9bf3f --- /dev/null +++ b/community/oss/oss.service @@ -0,0 +1,12 @@ +[Unit] +Description=Open Sound System v4 +Before=sound.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/sbin/soundon +ExecStop=/usr/sbin/soundoff + +[Install] +WantedBy=multi-user.target diff --git a/community/pdnsd/PKGBUILD b/community/pdnsd/PKGBUILD index 70376661d..9a1f40211 100644 --- a/community/pdnsd/PKGBUILD +++ b/community/pdnsd/PKGBUILD @@ -1,20 +1,22 @@ -# $Id: PKGBUILD 67319 2012-03-08 16:32:05Z spupykin $ +# $Id: PKGBUILD 72793 2012-06-22 12:51:32Z dreisner $ # Maintainer: Sergej Pupykin # Contributor: Henrik Nymann Jensen pkgname=pdnsd pkgver=1.2.9 -pkgrel=1 +pkgrel=2 pkgdesc="Is a proxy DNS server with permanent caching" arch=(i686 x86_64) -url="http://www.phys.uu.nl/~rombouts/pdnsd/" +url="http://members.home.nl/p.a.rombouts/pdnsd/" license=('GPL') depends=('glibc') #backup=('etc/pdnsd.conf') source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$pkgver-par.tar.gz - pdnsd) + pdnsd + pdnsd.service) md5sums=('037f79d191b98974ffc2c9649727bf66' - '3670bd47c9303fbb655d9216715512de') + '3670bd47c9303fbb655d9216715512de' + 'fad5e518d126b29fc947941d57a0a494') build() { cd $srcdir/$pkgname-$pkgver @@ -22,4 +24,5 @@ build() { make make DESTDIR=$pkgdir install install -Dm0755 $srcdir/pdnsd $pkgdir/etc/rc.d/pdnsd + install -Dm0644 $srcdir/pdnsd.service $pkgdir/usr/lib/systemd/system/pdnsd.service } diff --git a/community/pdnsd/pdnsd.service b/community/pdnsd/pdnsd.service new file mode 100644 index 000000000..5821dbcb2 --- /dev/null +++ b/community/pdnsd/pdnsd.service @@ -0,0 +1,9 @@ +[Unit] +Description=proxy name server +After=network.target + +[Service] +ExecStart=/usr/sbin/pdnsd + +[Install] +WantedBy=multi-user.target diff --git a/community/pianobar/PKGBUILD b/community/pianobar/PKGBUILD new file mode 100644 index 000000000..e030c46f0 --- /dev/null +++ b/community/pianobar/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 72823 2012-06-22 22:35:27Z dwallace $ +# Maintainer: Daniel Wallace < danielwallace at gtmanfred dot com> +# Contributor: Mitch Bigelow +# Contributor: Patrick Palka + +pkgname=pianobar +pkgver=2012.05.06 +pkgrel=3 +pkgdesc="console-based frontend for Pandora" +url="http://6xq.net/0017" +arch=('i686' 'x86_64') +license=('MIT') +depends=('libao' 'faad2' 'libmad' 'gnutls' 'json-c' 'libgcrypt') +source=(http://6xq.net/media/00/16/pianobar-$pkgver.tar.bz2) +sha256sums=('b143882ca50303d560f49567d1a508ca4b48208db4eb8aa67f369fcaae708d7a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="$pkgdir" PREFIX=/usr install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/community/polipo/PKGBUILD b/community/polipo/PKGBUILD index 5eaf8a991..e8749a5a4 100644 --- a/community/polipo/PKGBUILD +++ b/community/polipo/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 65625 2012-02-21 12:15:55Z ttopper $ +# $Id: PKGBUILD 72794 2012-06-22 12:51:45Z dreisner $ # Maintainer: Thorsten Töpper # Contributor: Jelle van der Waa # Contributor: Thomas Holmquist @@ -7,20 +7,21 @@ pkgname=polipo pkgver=1.0.4.1 -pkgrel=2 +pkgrel=3 pkgdesc="A small and fast caching web proxy." arch=('i686' 'x86_64') url="http://www.pps.jussieu.fr/~jch/software/polipo/" license=('GPL') depends=('bash') -makedepends=(texinfo) +makedepends=('texinfo') install=polipo.install -source=(http://freehaven.net/~chrisd/polipo/polipo-$pkgver.tar.gz - polipo.cron polipo.rc.d) +source=("http://freehaven.net/~chrisd/polipo/polipo-$pkgver.tar.gz" + "polipo.cron" "polipo.rc.d" "polipo.conf.d" "polipo.service") md5sums=('bfc5c85289519658280e093a270d6703' 'bac0e1a871964c931eb5f7a369b3243c' - '443e442f7071e31dbd53fc9d810a2c3e') -conflicts=('polipo-git' 'polipo-darcs') + '8f096b7d77a71e0772ce71a8c8b1b3e3' + '685aa0c6070dee11c701932d23afcc6a' + '109d0e8c15d669281ff14f8991ad0ed8') build() { cd "$srcdir/$pkgname-$pkgver" @@ -48,6 +49,7 @@ package() { # install daemon scripts / cron install -Dm 755 $srcdir/polipo.rc.d $pkgdir/etc/rc.d/polipo install -Dm 755 $srcdir/polipo.cron $pkgdir/usr/share/polipo/polipo.cron + install -Dm 644 $srcdir/polipo.service $pkgdir/usr/lib/systemd/system/polipo.service } # vim:set ts=2 sw=2 et: diff --git a/community/polipo/polipo.conf.d b/community/polipo/polipo.conf.d new file mode 100644 index 000000000..dc879d32b --- /dev/null +++ b/community/polipo/polipo.conf.d @@ -0,0 +1,4 @@ +# +# Parameters to be passed to polipo +# +POLIPO_ARGS="daemonise=true logFile=\"/var/log/polipo.log\"" diff --git a/community/polipo/polipo.install b/community/polipo/polipo.install index c3a4f82b9..bacc46377 100644 --- a/community/polipo/polipo.install +++ b/community/polipo/polipo.install @@ -6,9 +6,9 @@ post_install() { for file in ${filelist[@]}; do install-info $infodir/$file $infodir/dir 2> /dev/null done - - echo "You should create a config-file now, an example is located in /etc/polipo/." - echo "If you don't create a config-file, polipo will use its defaults." + install -d /var/cache/polipo 2> /dev/null + touch /var/log/polipo.log 2> /dev/null + chown -R nobody:nobody /var/cache/polipo /var/log/polipo.log 2> /dev/null } post_upgrade() { diff --git a/community/polipo/polipo.rc.d b/community/polipo/polipo.rc.d index f9bbd4783..260fab050 100644 --- a/community/polipo/polipo.rc.d +++ b/community/polipo/polipo.rc.d @@ -1,60 +1,71 @@ #!/bin/bash + +daemon_name=polipo + . /etc/rc.conf . /etc/rc.d/functions +. /etc/conf.d/$daemon_name.conf + +get_pid() { + pidof -o %PPID $daemon_name +} + +case "$1" in + start) + stat_busy "Starting $daemon_name daemon" + + PID=$(get_pid) + if [[ -z $PID ]]; then + [[ -f /run/$daemon_name.pid ]] && + rm -f /run/$daemon_name.pid + # RUN + sudo -u nobody /usr/bin/$daemon_name ${POLIPO_ARGS} + # + if [[ $? -gt 0 ]]; then + stat_fail + exit 1 + else + echo $(get_pid) > /run/$daemon_name.pid + add_daemon $daemon_name + stat_done + fi + else + stat_fail + exit 1 + fi + ;; -DAEMON=polipo -ARGS="daemonise=true pidFile=/var/run/$DAEMON/$DAEMON.pid" -PID=$(pidof -o %PPID /usr/bin/$DAEMON) - -case $1 in - start) - stat_busy "Starting $DAEMON" - if ck_daemon $DAEMON; then - [[ ! -d /var/run/$DAEMON ]] && install -d $DAEMON /var/run/$DAEMON - /usr/bin/$DAEMON $ARGS >/dev/null 2>&1 - if [[ $? != 0 ]]; then - stat_fail - else - add_daemon polipo - stat_done - fi - else - stat_fail - fi - ;; - stop) - stat_busy "Stopping $DAEMON" - if ! ck_daemon $DAEMON; then - kill $PID >/dev/null 2>&1 - if [[ $? != 0 ]]; then - stat_fail - else - rm_daemon $DAEMON - stat_done - fi - else - stat_fail - fi - ;; - purge) - stat_busy "Purging $DAEMON" - [[ ! -d /var/run/$DAEMON ]] && install -d $DAEMON /var/run/$DAEMON - if ! ck_daemon $DAEMON; then - kill -USR1 $PID >/dev/null 2>&1 - sleep 1 - /usr/bin/$DAEMON -x $ARGS >/dev/null 2>&1 || stat_fail - kill -USR2 $PID >/dev/null 2>&1 - stat_done - else - /usr/bin/$DAEMON -x $ARGS >/dev/null 2>&1 || stat_fail - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart|purge}" - ;; + stop) + stat_busy "Stopping $daemon_name daemon" + PID=$(get_pid) + # KILL + [[ -n $PID ]] && kill $PID &> /dev/null + # + if [[ $? -gt 0 ]]; then + stat_fail + exit 1 + else + rm -f /run/$daemon_name.pid &> /dev/null + rm_daemon $daemon_name + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + + status) + stat_busy "Checking $daemon_name status"; + ck_status $daemon_name + ;; + + *) + echo "usage: $0 {start|stop|restart|status}" esac + +exit 0 + +# vim:set ts=2 sw=2 et: diff --git a/community/polipo/polipo.service b/community/polipo/polipo.service new file mode 100644 index 000000000..a1bdd9aa2 --- /dev/null +++ b/community/polipo/polipo.service @@ -0,0 +1,10 @@ +[Unit] +Description=Polipo Proxy Server + +[Service] +ExecStart=/usr/bin/polipo +User=nobody +ExecReload=/bin/kill -USR1 $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/community/prosody/PKGBUILD b/community/prosody/PKGBUILD index 1eb5bc5c2..77482ad20 100644 --- a/community/prosody/PKGBUILD +++ b/community/prosody/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 72148 2012-06-09 06:00:05Z spupykin $ +# $Id: PKGBUILD 72795 2012-06-22 12:52:02Z dreisner $ # Maintainer: Sergej Pupykin # Maintainer: Dwayne Bent # Contributor: Paul-Sebastian Manole pkgname=prosody pkgver=0.8.2 -pkgrel=3 +pkgrel=4 pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua." arch=('i686' 'x86_64') url="http://prosody.im/" @@ -21,12 +21,14 @@ source=("http://prosody.im/depot/${pkgver}/prosody-${pkgver}.tar.gz" 'prosody.rcd' 'prosody.logrotated' 'fix-config.patch' - 'prosody.tmpfile.d') + 'prosody.tmpfile.d' + 'prosody.service') md5sums=('6e907bf0d0acf24f1011083020ba6ffb' 'd2b5f9c8e42bb31819e715eb1756ee53' '26466fdbea87963a3ca6f48f76fe4a29' '59a1bf2dfd0bd386cef6fa646e2a3752' - 'e2f5a1df410b05696a30dcb058841084') + 'e2f5a1df410b05696a30dcb058841084' + 'e74045f27cb60908d535969906781f75') build() { cd "$srcdir/prosody-$pkgver" @@ -54,4 +56,5 @@ package() { install -Dm0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING install -Dm0644 $srcdir/prosody.tmpfile.d $pkgdir//usr/lib/tmpfiles.d/prosody.conf + install -Dm0644 $srcdir/prosody.service $pkgdir/usr/lib/systemd/system/prosody.service } diff --git a/community/prosody/prosody.service b/community/prosody/prosody.service index e69de29bb..f54159f55 100644 --- a/community/prosody/prosody.service +++ b/community/prosody/prosody.service @@ -0,0 +1,13 @@ +[Unit] +Description=XMPP (Jabber) Server +After=network.target + +[Service] +Type=forking +PIDFile=/run/prosody/prosody.pid +ExecStart=/usr/bin/prosodyctl start +ExecStop=/usr/bin/prosodyctl stop + +[Install] +WantedBy=multi-user.target + diff --git a/community/roxterm/PKGBUILD b/community/roxterm/PKGBUILD index 12b8020cb..f970099cf 100644 --- a/community/roxterm/PKGBUILD +++ b/community/roxterm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 71598 2012-05-30 16:07:48Z ttopper $ +# $Id: PKGBUILD 72814 2012-06-22 18:59:49Z ttopper $ # Maintainer: Thorsten Töpper # Contributor: Alexander Fehr pkgname=roxterm -pkgver=2.6.4 +pkgver=2.6.5 pkgrel=1 pkgdesc="Tabbed, VTE-based terminal emulator" arch=('i686' 'x86_64') @@ -13,8 +13,8 @@ depends=('dbus-glib' 'vte3' 'hicolor-icon-theme' 'libsm') makedepends=('docbook-xsl' 'xmlto' 'po4a' 'python2' 'python2-lockfile' 'imagemagick' 'librsvg') install=roxterm.install source=("http://downloads.sourceforge.net/roxterm/roxterm-$pkgver.tar.bz2") -sha1sums=('7438e6f11d3cd276acc6a54e606cfbb5abda762c') -md5sums=('ea40fcc8c3c40640ec000c39ac2c3746') +sha1sums=('1c0062abe7c133cf606f2f12013bad5a991b33a8') +md5sums=('c95d9a74f342573bce71a19b50d46832') build() { diff --git a/community/ruby-cairo/PKGBUILD b/community/ruby-cairo/PKGBUILD index 714887f80..520256dff 100644 --- a/community/ruby-cairo/PKGBUILD +++ b/community/ruby-cairo/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 64611 2012-02-17 02:54:22Z tdziedzic $ -# Maintiner: Alexander Rødseth +# $Id: PKGBUILD 72819 2012-06-22 21:24:20Z arodseth $ +# Maintainer: Alexander Rødseth # Contributor: Brad Fanella + pkgname=ruby-cairo -pkgver=1.10.0 -pkgrel=3 +pkgver=1.12.2 +pkgrel=1 pkgdesc="Ruby bindings for cairo" -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') url="http://cairographics.org/rcairo/" license=('GPL') depends=('ruby' 'cairo>=1.2.0') makedepends=('ruby-pkgconfig') source=("http://cairographics.org/releases/rcairo-$pkgver.tar.gz") -sha256sums=('70e2df4fe0bcd2875d7512279058b116e964ca91d152cf9eb2f05b5c7774f118') +sha256sums=('f071d6ccb12cb6dc1fc91eb086d6150ce779930fe5af38a6987e378c809362c5') build() { cd "$srcdir/rcairo-$pkgver" diff --git a/community/subtle/PKGBUILD b/community/subtle/PKGBUILD index d63b9450e..d1eb91627 100644 --- a/community/subtle/PKGBUILD +++ b/community/subtle/PKGBUILD @@ -1,28 +1,39 @@ -# $Id: PKGBUILD 66362 2012-02-24 01:53:44Z tdziedzic $ -# Maintainer: Angel Velasquez +# $Id: PKGBUILD 72816 2012-06-22 21:15:04Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Angel Velasquez # Contributor: unexist -# Past Contributors: Abakus , TDY , Xilon +# Contributor: Abakus +# Contributor: TDY +# Contributor: Xilon + pkgname=subtle -pkgver=0.10.3008 -pkgrel=4 -pkgdesc="A grid-based manual tiling window manager with a strong focus on easy but customizable look and feel" +pkgver=0.11.3224 +pkgrel=1 +pkgdesc="Grid-based manual tiling window manager" arch=("i686" "x86_64") url="http://subtle.subforge.org" license=("GPL") -depends=("libx11" "ruby" "libxft" "libxpm" "libxrandr" "libxft" "libxpm" "libxinerama") -makedepends=("ruby" "pkg-config" "libxinerama" "libxrandr" "libxft" "libxpm") -provides=("subtle") -conflicts=("subtle-hg") +depends=("ruby" "libxft" "libxpm" "libxrandr" "libxft" "libxpm" "libxinerama" + "libxtst") +makedepends=("pkg-config" "libxinerama" "libxrandr" "libxft" "libxpm") backup=("etc/xdg/subtle/subtle.rb") install=subtle.install -source=(http://subforge.org/attachments/download/75/$pkgname-$pkgver-nu.tbz2) -md5sums=('10961e02f45a7ce9fc7ca5b11360f001') +source=("http://subforge.org/attachments/download/81/$pkgname-$pkgver-xi.tbz2") +sha256sums=('a22ee94a70c1105a018e1c0a754597b4e3a87d1b915301a0b22888920fa0f8a2') build() { - cd "$srcdir/$pkgname-$pkgver-nu" + cd "$srcdir/$pkgname-$pkgver-xi" # use vendor_ruby instead of site_ruby - sed -e 's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' -i Rakefile + sed -e \ + 's/RbConfig::CONFIG\["sitelibdir"\]/RbConfig::CONFIG\["vendorlibdir"\]/' \ + -i Rakefile +} + +package() { + cd "$srcdir/$pkgname-$pkgver-xi" rake destdir=$pkgdir install } + +# vim:set ts=2 sw=2 et: diff --git a/community/subtle/subtle.install b/community/subtle/subtle.install index 363d963c5..cdb0d9469 100644 --- a/community/subtle/subtle.install +++ b/community/subtle/subtle.install @@ -1,11 +1,7 @@ post_upgrade() { - echo "ATTENTION:" - echo "This release of subtle (0.10.3008) includes awesome changes that might break your config, so please check http://subforge.org/projects/subtle and enjoy the new features" - echo "" - echo "In order to use sur you have to install the following dependencies: curb and minitar with" - echo "You can use this gem command: " - echo " gem install curb minitar" - echo "" - echo "If you have subtles on your system remember to upgrade them doing:" - echo " sur upgrade " + echo "In order to use sur you can install ruby-curb and ruby-minitar." + echo "If you have subtle on your system remember to upgrade with:" + echo " sur upgrade" } + +# vim:set ts=2 sw=2 et: diff --git a/community/tor/PKGBUILD b/community/tor/PKGBUILD index 77ca33e7e..b167bf38d 100644 --- a/community/tor/PKGBUILD +++ b/community/tor/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 71511 2012-05-27 21:52:24Z lfleischer $ +# $Id: PKGBUILD 72796 2012-06-22 12:52:15Z dreisner $ # Maintainer: Lukas Fleischer # Contributor: simo pkgname=tor -pkgver=0.2.2.36 +pkgver=0.2.2.37 pkgrel=1 pkgdesc='Anonymizing overlay network.' arch=('i686' 'x86_64') @@ -19,12 +19,14 @@ install='tor.install' source=("http://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz"{,.asc} 'torrc' 'tor' - 'tor.conf.d') -md5sums=('620b2110086aba01236b57f1d5aba416' - '0401cf01ad0bcc9aba4f9c1bb5e8e810' + 'tor.conf.d' + 'tor.service') +md5sums=('5aafdca4fb6af6e12b503d32b03f14a7' + '8d3adf70109d16e860dbf414f9d70eac' '56c75d4e8a66f34167d31e38c43793dd' 'f8e6868a389877346e7eebaacd1078bb' - '5c7c6834064b3530c442def6079ac3aa') + '5c7c6834064b3530c442def6079ac3aa' + 'cf23b97a1da09670214da6229a3ecb09') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -46,4 +48,6 @@ package() { install -Dm0644 "${srcdir}/tor.conf.d" "${pkgdir}/etc/conf.d/tor" install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -Dm0644 "${srcdir}/tor.service" "${pkgdir}/usr/lib/systemd/system/tor.service" } diff --git a/community/tor/tor.service b/community/tor/tor.service new file mode 100644 index 000000000..eb9b556b5 --- /dev/null +++ b/community/tor/tor.service @@ -0,0 +1,13 @@ +[Unit] +Description=Anonymizing Overlay Network + +[Service] +Type=forking +GuessMainPID=yes +EnvironmentFile=/etc/conf.d/tor +ExecStart=/usr/bin/tor -f $TOR_CONF $TOR_ARGS +ExecReload=/bin/kill -HUP $MAINPID +KillSignal=SIGINT + +[Install] +WantedBy=multi-user.target diff --git a/community/uptimed/PKGBUILD b/community/uptimed/PKGBUILD index 3ec4f440a..12ae4bb73 100644 --- a/community/uptimed/PKGBUILD +++ b/community/uptimed/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72514 2012-06-16 08:04:35Z bpiotrowski $ +# $Id: PKGBUILD 72798 2012-06-22 12:52:28Z dreisner $ # Maintainer: Sergej Pupykin # Maintainer: Bartłomiej Piotrowski # Contributor: Tom Killian @@ -6,7 +6,7 @@ pkgname=uptimed pkgver=0.3.17 -pkgrel=1 +pkgrel=2 pkgdesc="A system uptime record daemon" arch=(i686 x86_64) url="http://podgorny.cz/uptimed/" @@ -16,9 +16,11 @@ backup=(etc/uptimed.conf) options=('!libtool') install=$pkgname.install source=(http://podgorny.cz/$pkgname/releases/$pkgname-$pkgver.tar.bz2 - rc.d) + rc.d + service) md5sums=('528b62c33454b33537c3bf2366977bdb' - '4ae90bee9fc78014a889a5072effb735') + '4ae90bee9fc78014a889a5072effb735' + '657102b06613ddb9811427bee1973c6b') build() { cd $srcdir/$pkgname-$pkgver @@ -41,5 +43,6 @@ package() { make prefix=$pkgdir/usr sysconfdir=$pkgdir/etc install mv $pkgdir/etc/uptimed.conf-dist $pkgdir/etc/uptimed.conf - install -D $srcdir/rc.d $pkgdir/etc/rc.d/uptimed + install -Dm755 $srcdir/rc.d $pkgdir/etc/rc.d/uptimed + install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/uptimed.service } diff --git a/community/uptimed/service b/community/uptimed/service new file mode 100644 index 000000000..2fd785318 --- /dev/null +++ b/community/uptimed/service @@ -0,0 +1,11 @@ +[Unit] +Description=System uptime record daemon + +[Service] +Type=forking +PIDFile=/var/run/uptimed +ExecStartPre=/usr/sbin/uptimed -b +ExecStart=/usr/sbin/uptimed + +[Install] +WantedBy=multi-user.target diff --git a/community/vnstat/PKGBUILD b/community/vnstat/PKGBUILD index 310adf3a1..c6efc2d18 100644 --- a/community/vnstat/PKGBUILD +++ b/community/vnstat/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 55756 2011-09-19 06:41:29Z ttopper $ -# Maintainer: Sergej Pupykin -# Maintainer: Thorsten Töpper +# $Id: PKGBUILD 72799 2012-06-22 12:52:33Z dreisner $ +# Maintainer: Sergej Pupykin +# Maintainer: Bartłomiej Piotrowski +# Contributor: Thorsten Töpper pkgname=vnstat pkgver=1.11 -pkgrel=2 +pkgrel=3 pkgdesc="A console-based network traffic monitor" arch=('i686' 'x86_64') url="http://humdi.net/vnstat/" @@ -14,19 +15,24 @@ makedepends=('gd') optdepends=('gd: image output') backup=(etc/vnstat.conf) source=(http://humdi.net/vnstat/$pkgname-$pkgver.tar.gz - http://humdi.net/vnstat/init.d/arch/vnstat) + http://humdi.net/vnstat/init.d/arch/vnstat + service) md5sums=('a5a113f9176cd61fb954f2ba297f5fdb' - 'e89a566dd7514ff0d2d3fc77b2d4ca7e') + 'e89a566dd7514ff0d2d3fc77b2d4ca7e' + 'fcc189e3dee616ff414dac72637c1a19') build() { - mkdir -p $pkgdir/etc - cd $srcdir/$pkgname-$pkgver - make all +} + +package() { + cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m0755 $srcdir/vnstat $pkgdir/etc/rc.d/vnstat + install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/vnstat.service + install -D -m0644 examples/vnstat.cron $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron install -D -m0755 examples/vnstat.cgi $pkgdir/usr/share/doc/vnstat/examples/vnstat.cgi sed -i 's#root##' $pkgdir/usr/share/doc/vnstat/examples/vnstat.cron diff --git a/community/vnstat/service b/community/vnstat/service new file mode 100644 index 000000000..f312351ea --- /dev/null +++ b/community/vnstat/service @@ -0,0 +1,9 @@ +[Unit] +Description=Network traffic monitor + +[Service] +ExecStart=/usr/sbin/vnstatd -n +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/community/vsftpd/PKGBUILD b/community/vsftpd/PKGBUILD index 4903eb2c1..66c49e8b6 100644 --- a/community/vsftpd/PKGBUILD +++ b/community/vsftpd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 69566 2012-04-18 17:36:30Z bpiotrowski $ +# $Id: PKGBUILD 72800 2012-06-22 12:52:54Z dreisner $ # Maintainer: Bartłomiej Piotrowski # Contributor: Andreas Radke # Contributor: judd pkgname=vsftpd pkgver=3.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="Very Secure FTP daemon" arch=('i686' 'x86_64') url="https://security.appspot.com/vsftpd.html" @@ -14,32 +14,46 @@ depends=('openssl') backup=('etc/vsftpd.conf' 'etc/xinetd.d/vsftpd') install=vsftpd.install source=(https://security.appspot.com/downloads/${pkgname}-${pkgver}.tar.gz{,.asc} - 'vsftpd.xinetd' 'vsftpd.d') + vsftpd.xinetd vsftpd.d vsftpd-ssl.socket vsftpd.socket + vsftpd.service vsftpd@.service vsftpd-ssl.service vsftpd-ssl@.service) sha1sums=('436da30cefa33e22a0266077ab95397e9432e297' '2142ac8a84f18ecc1ebac21b9ac07858c35ae6af' 'c87b4ce56dac15223694a6e86c01ea813b877596' - '24f268956c24e78be0c234c6d31f41487922eafe') + '24f268956c24e78be0c234c6d31f41487922eafe' + 'f81dab50243f7e82dc9722ca79b2b24de0882eb2' + '5b7a7a1e0c04acfcc2dba1346557f1193b9905ba' + 'f1fa8cfaab1541c1ce3bb4dab4f4b302e5c44b03' + '3a040a18893a5103a1d4a22e631ee247bde8c8d3' + '08b2938dc81ee200b6d733a32f5565b9dbe170a3' + 'e5bd183664008bb0cc0353d4efb2e8e92a365798') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $srcdir/$pkgname-$pkgver # build-time config sed \ -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' \ -i builddefs.h - make CFLAGS="${CFLAGS} -fPIE" LINK='' LDFLAGS="-fPIE -pie ${LDFLAGS} -Wl,-z,now" + CFLAGS+=' -fPIE' LINK='' LDFLAGS="-fPIE -pie ${LDFLAGS} -Wl,-z,now" make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $srcdir/$pkgname-$pkgver - install -D -m755 vsftpd "${pkgdir}/usr/sbin/vsftpd" - install -D -m644 vsftpd.conf "${pkgdir}/etc/vsftpd.conf" - install -D -m644 vsftpd.8 "${pkgdir}/usr/share/man/man8/vsftpd.8" - install -D -m644 vsftpd.conf.5 "${pkgdir}/usr/share/man/man5/vsftpd.conf.5" - install -D -m644 "${srcdir}/vsftpd.xinetd" "${pkgdir}/etc/xinetd.d/vsftpd" - install -D -m755 "${srcdir}/vsftpd.d" "${pkgdir}/etc/rc.d/vsftpd" + install -D -m755 vsftpd $pkgdir/usr/sbin/vsftpd + install -D -m644 vsftpd.conf $pkgdir/etc/vsftpd.conf + install -D -m644 vsftpd.8 $pkgdir/usr/share/man/man8/vsftpd.8 + install -D -m644 vsftpd.conf.5 $pkgdir/usr/share/man/man5/vsftpd.conf.5 + install -D -m644 $srcdir/vsftpd.xinetd $pkgdir/etc/xinetd.d/vsftpd + install -D -m755 $srcdir/vsftpd.d $pkgdir/etc/rc.d/vsftpd - install -d -m755 "${pkgdir}/usr/share/empty" + install -D -m644 $srcdir/vsftpd.service $pkgdir/usr/lib/systemd/system/vsftpd.service + install -D -m644 $srcdir/vsftpd@.service $pkgdir/usr/lib/systemd/system/vsftpd@.service + install -D -m644 $srcdir/vsftpd-ssl.service $pkgdir/usr/lib/systemd/system/vsftpd-ssl.service + install -D -m644 $srcdir/vsftpd-ssl@.service $pkgdir/usr/lib/systemd/system/vsftpd-ssl@.service + install -D -m644 $srcdir/vsftpd.socket $pkgdir/usr/lib/systemd/system/vsftpd.socket + install -D -m644 $srcdir/vsftpd-ssl.socket $pkgdir/usr/lib/systemd/system/vsftpd-ssl.socket + + install -d -m755 $pkgdir/usr/share/empty } diff --git a/community/vsftpd/vsftpd-ssl.service b/community/vsftpd/vsftpd-ssl.service new file mode 100644 index 000000000..f46b05fcd --- /dev/null +++ b/community/vsftpd/vsftpd-ssl.service @@ -0,0 +1,10 @@ +[Unit] +Description=vsftpd daemon (legacy implicit SSL) + +[Service] +ExecStart=/usr/sbin/vsftpd -olisten_ipv6=yes -oimplicit_ssl=yes +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process + +[Install] +WantedBy=multi-user.target diff --git a/community/vsftpd/vsftpd-ssl.socket b/community/vsftpd/vsftpd-ssl.socket new file mode 100644 index 000000000..b18b639c1 --- /dev/null +++ b/community/vsftpd/vsftpd-ssl.socket @@ -0,0 +1,9 @@ +[Unit] +Conflicts=vsftpd.service + +[Socket] +ListenStream=990 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/community/vsftpd/vsftpd-ssl@.service b/community/vsftpd/vsftpd-ssl@.service new file mode 100644 index 000000000..e53fad324 --- /dev/null +++ b/community/vsftpd/vsftpd-ssl@.service @@ -0,0 +1,9 @@ +[Unit] +Description=vsftpd per-connection server (legacy implicit SSL) + +[Service] +ExecStart=-/usr/sbin/vsftpd -oimplicit_ssl=yes +ExecReload=/bin/kill -HUP $MAINPID +StandardInput=socket +StandardOutput=socket +StandardError=syslog diff --git a/community/vsftpd/vsftpd.service b/community/vsftpd/vsftpd.service new file mode 100644 index 000000000..d4f7251ba --- /dev/null +++ b/community/vsftpd/vsftpd.service @@ -0,0 +1,10 @@ +[Unit] +Description=vsftpd daemon + +[Service] +ExecStart=/usr/sbin/vsftpd -olisten_ipv6=yes +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process + +[Install] +WantedBy=multi-user.target diff --git a/community/vsftpd/vsftpd.socket b/community/vsftpd/vsftpd.socket new file mode 100644 index 000000000..cdc0d337e --- /dev/null +++ b/community/vsftpd/vsftpd.socket @@ -0,0 +1,9 @@ +[Unit] +Conflicts=vsftpd.service + +[Socket] +ListenStream=21 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/community/vsftpd/vsftpd@.service b/community/vsftpd/vsftpd@.service new file mode 100644 index 000000000..353f95f82 --- /dev/null +++ b/community/vsftpd/vsftpd@.service @@ -0,0 +1,8 @@ +[Unit] +Description=vsftpd per-connection server + +[Service] +ExecStart=-/usr/sbin/vsftpd +ExecReload=/bin/kill -HUP $MAINPID +StandardInput=socket +StandardError=syslog diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD index 5469f3265..b5ce8787a 100644 --- a/community/zynaddsubfx/PKGBUILD +++ b/community/zynaddsubfx/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 69533 2012-04-17 22:54:21Z spupykin $ +# $Id: PKGBUILD 72810 2012-06-22 13:58:49Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: SpepS # Contributor: Ionut Biru # Contributor: DonVla pkgname=zynaddsubfx -pkgver=2.4.2 +pkgver=2.4.3 pkgrel=1 pkgdesc="Opensource software synthesizer capable of making a countless number of instruments." arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgv "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch" "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch" "$pkgname.svg") -md5sums=('4e1f15fd872f5cc649fc2217676e248e' +md5sums=('2e8994cc54e5f1a64b77dfac3baf0d9a' 'eb95d339ff5deac8c6b54965f04a8c60' '49464a33ab9c4250520eda0df7705663' '6f7e9c3ce3947088a10c99c46a65431f') @@ -56,8 +56,8 @@ package() { # banks and examples install -d "$pkgdir/usr/share/$pkgname" - cp -a ../banks "$pkgdir/usr/share/$pkgname" - cp -a ../examples "$pkgdir/usr/share/$pkgname" + cp -a ../instruments/banks "$pkgdir/usr/share/$pkgname" + cp -a ../instruments/examples "$pkgdir/usr/share/$pkgname" # desktop file and icon install -Dm644 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg" -- cgit v1.2.3-54-g00ecf