summaryrefslogtreecommitdiff
path: root/community/opendkim
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/opendkim
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/opendkim')
-rw-r--r--community/opendkim/PKGBUILD54
-rw-r--r--community/opendkim/opendkim.conf1
-rw-r--r--community/opendkim/opendkim.install11
-rw-r--r--community/opendkim/opendkim.service11
4 files changed, 0 insertions, 77 deletions
diff --git a/community/opendkim/PKGBUILD b/community/opendkim/PKGBUILD
deleted file mode 100644
index d88c3a5f1..000000000
--- a/community/opendkim/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $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.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/"
-license=('BSD' 'custom:Sendmail')
-depends=("db" "openssl")
-makedepends=("libmilter")
-options=(!libtool !emptydirs)
-backup=(etc/conf.d/opendkim)
-install=opendkim.install
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz
- opendkim.conf
- opendkim.service)
-md5sums=('0ae9d37e3221a244eb34c3e0e2d665cc'
- '3e2bb1058ac0662f01e675aa6ac7ee8f'
- '85010750a21954e2d3cf5d57fe210d3f')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --sbindir=/usr/bin --with-db
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir/" install
-
- # Sample configuration
- mkdir -p "$pkgdir/etc/opendkim"
- 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"
- install -Dm644 "$srcdir/opendkim.conf" "$pkgdir/etc/conf.d/opendkim"
-
- # License
- mkdir -p "$pkgdir/usr/share/licenses/opendkim"
- for f in LICENSE LICENSE.Sendmail; do
- ln -s ../../doc/opendkim/$f "$pkgdir/usr/share/licenses/opendkim/$f"
- done
-
- install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-}
diff --git a/community/opendkim/opendkim.conf b/community/opendkim/opendkim.conf
deleted file mode 100644
index ebe9024e0..000000000
--- a/community/opendkim/opendkim.conf
+++ /dev/null
@@ -1 +0,0 @@
-OPENDKIM_FILTER="-x /etc/opendkim/opendkim.conf"
diff --git a/community/opendkim/opendkim.install b/community/opendkim/opendkim.install
deleted file mode 100644
index a1f16f6ca..000000000
--- a/community/opendkim/opendkim.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- useradd -r -g mail -d / opendkim
- chown -R opendkim:mail etc/opendkim
- cat <<EOF
->>> Check and modify /etc/opendkim/opendkim.conf before starting
-EOF
-}
-
-post_remove() {
- userdel opendkim
-}
diff --git a/community/opendkim/opendkim.service b/community/opendkim/opendkim.service
deleted file mode 100644
index 7d2eb79aa..000000000
--- a/community/opendkim/opendkim.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=OpenDKIM daemon
-After=network.target remote-fs.target nss-lookup.target
-
-[Service]
-Type=forking
-EnvironmentFile=/etc/conf.d/opendkim
-ExecStart=/usr/bin/opendkim $OPENDKIM_FILTER
-
-[Install]
-WantedBy=multi-user.target