diff options
Diffstat (limited to 'community/opendkim')
-rw-r--r-- | community/opendkim/PKGBUILD | 17 | ||||
-rw-r--r-- | community/opendkim/opendkim.rc | 39 | ||||
-rw-r--r-- | community/opendkim/opendkim.service | 2 |
3 files changed, 7 insertions, 51 deletions
diff --git a/community/opendkim/PKGBUILD b/community/opendkim/PKGBUILD index a6ddb975d..d88c3a5f1 100644 --- a/community/opendkim/PKGBUILD +++ b/community/opendkim/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 87200 2013-03-28 14:27:14Z spupykin $ +# $Id: PKGBUILD 91498 2013-05-23 10:14:14Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Thomas Jost <schnouki@schnouki.net> pkgname=opendkim -pkgver=2.8.2 -pkgrel=1 +pkgver=2.8.3 +pkgrel=3 pkgdesc="An open source implementation of the DKIM sender authentication system. Based on a fork of dkim-milter." arch=(i686 x86_64) url="http://www.opendkim.org/" @@ -16,16 +16,14 @@ backup=(etc/conf.d/opendkim) install=opendkim.install source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz opendkim.conf - opendkim.rc opendkim.service) -md5sums=('62d7b22f3b15049e3692caa28bcc801e' +md5sums=('0ae9d37e3221a244eb34c3e0e2d665cc' '3e2bb1058ac0662f01e675aa6ac7ee8f' - '093f5c098a45cc68753f97e45a5b374c' - 'bc1b73856bc1941faaa4842e00437cb5') + '85010750a21954e2d3cf5d57fe210d3f') build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --with-db + ./configure --prefix=/usr --sbindir=/usr/bin --with-db make } @@ -44,10 +42,7 @@ package() { mv "$pkgdir/usr/share/doc/opendkim/opendkim.conf.sample" "$pkgdir/etc/opendkim/opendkim.conf.sample" chmod 0700 "$pkgdir/etc/opendkim" chmod 0600 "$pkgdir/etc/opendkim/opendkim.conf.sample" - - # Init script install -Dm644 "$srcdir/opendkim.conf" "$pkgdir/etc/conf.d/opendkim" - install -Dm755 "$srcdir/opendkim.rc" "$pkgdir/etc/rc.d/opendkim" # License mkdir -p "$pkgdir/usr/share/licenses/opendkim" diff --git a/community/opendkim/opendkim.rc b/community/opendkim/opendkim.rc deleted file mode 100644 index f87bfcfc9..000000000 --- a/community/opendkim/opendkim.rc +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/opendkim - -PID=`pidof -o %PPID /usr/sbin/opendkim` -case "$1" in - start) - stat_busy "Starting OpenDKIM filter" - if [ -z "$PID" ]; then - /usr/sbin/opendkim $OPENDKIM_FILTER > /dev/null & - fi - if [ ! -z "$PID" -o $? -gt 0 ]; then - stat_fail - else - add_daemon dkim - stat_done - fi - ;; - stop) - stat_busy "Stopping OpenDKIM filter" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon dkim - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/community/opendkim/opendkim.service b/community/opendkim/opendkim.service index d34c62960..7d2eb79aa 100644 --- a/community/opendkim/opendkim.service +++ b/community/opendkim/opendkim.service @@ -5,7 +5,7 @@ After=network.target remote-fs.target nss-lookup.target [Service] Type=forking EnvironmentFile=/etc/conf.d/opendkim -ExecStart=/usr/sbin/opendkim $OPENDKIM_FILTER +ExecStart=/usr/bin/opendkim $OPENDKIM_FILTER [Install] WantedBy=multi-user.target |