summaryrefslogtreecommitdiff
path: root/community/opendkim
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
committerroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
commit2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch)
treefa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/opendkim
parent66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff)
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/opendkim')
-rw-r--r--community/opendkim/PKGBUILD13
-rw-r--r--community/opendkim/opendkim.rc39
2 files changed, 4 insertions, 48 deletions
diff --git a/community/opendkim/PKGBUILD b/community/opendkim/PKGBUILD
index a6ddb975d..6afba6f7c 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 90693 2013-05-13 14:31:00Z 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=2
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,11 +16,9 @@ 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')
build() {
@@ -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