[arch-commits] Commit in opendkim/trunk (PKGBUILD opendkim.rc)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:30:25 UTC 2013
Date: Monday, May 13, 2013 @ 16:30:25
Author: spupykin
Revision: 90692
upgpkg: opendkim 2.8.3-2
upd
Modified:
opendkim/trunk/PKGBUILD
Deleted:
opendkim/trunk/opendkim.rc
-------------+
PKGBUILD | 11 +++--------
opendkim.rc | 39 ---------------------------------------
2 files changed, 3 insertions(+), 47 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:30:21 UTC (rev 90691)
+++ PKGBUILD 2013-05-13 14:30:25 UTC (rev 90692)
@@ -3,8 +3,8 @@
# Maintainer: Thomas Jost <schnouki at 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 @@
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 @@
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"
Deleted: opendkim.rc
===================================================================
--- opendkim.rc 2013-05-13 14:30:21 UTC (rev 90691)
+++ opendkim.rc 2013-05-13 14:30:25 UTC (rev 90692)
@@ -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
More information about the arch-commits
mailing list