Date: Monday, August 5, 2013 @ 13:31:32
  Author: spupykin
Revision: 95083

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  opendkim/repos/community-staging-i686/
  opendkim/repos/community-staging-i686/PKGBUILD
    (from rev 95082, opendkim/trunk/PKGBUILD)
  opendkim/repos/community-staging-i686/opendkim.conf
    (from rev 95082, opendkim/trunk/opendkim.conf)
  opendkim/repos/community-staging-i686/opendkim.install
    (from rev 95082, opendkim/trunk/opendkim.install)
  opendkim/repos/community-staging-i686/opendkim.service
    (from rev 95082, opendkim/trunk/opendkim.service)
  opendkim/repos/community-staging-x86_64/
  opendkim/repos/community-staging-x86_64/PKGBUILD
    (from rev 95082, opendkim/trunk/PKGBUILD)
  opendkim/repos/community-staging-x86_64/opendkim.conf
    (from rev 95082, opendkim/trunk/opendkim.conf)
  opendkim/repos/community-staging-x86_64/opendkim.install
    (from rev 95082, opendkim/trunk/opendkim.install)
  opendkim/repos/community-staging-x86_64/opendkim.service
    (from rev 95082, opendkim/trunk/opendkim.service)

-------------------------------------------+
 community-staging-i686/PKGBUILD           |   54 ++++++++++++++++++++++++++++
 community-staging-i686/opendkim.conf      |    1 
 community-staging-i686/opendkim.install   |   11 +++++
 community-staging-i686/opendkim.service   |   11 +++++
 community-staging-x86_64/PKGBUILD         |   54 ++++++++++++++++++++++++++++
 community-staging-x86_64/opendkim.conf    |    1 
 community-staging-x86_64/opendkim.install |   11 +++++
 community-staging-x86_64/opendkim.service |   11 +++++
 8 files changed, 154 insertions(+)

Copied: opendkim/repos/community-staging-i686/PKGBUILD (from rev 95082, 
opendkim/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2013-08-05 11:31:32 UTC (rev 95083)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Maintainer: Thomas Jost <schno...@schnouki.net>
+
+pkgname=opendkim
+pkgver=2.8.4
+pkgrel=1
+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=('17f667d022c167c7874a993e928d4a6d'
+         '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
+}

Copied: opendkim/repos/community-staging-i686/opendkim.conf (from rev 95082, 
opendkim/trunk/opendkim.conf)
===================================================================
--- community-staging-i686/opendkim.conf                                (rev 0)
+++ community-staging-i686/opendkim.conf        2013-08-05 11:31:32 UTC (rev 
95083)
@@ -0,0 +1 @@
+OPENDKIM_FILTER="-x /etc/opendkim/opendkim.conf"

Copied: opendkim/repos/community-staging-i686/opendkim.install (from rev 95082, 
opendkim/trunk/opendkim.install)
===================================================================
--- community-staging-i686/opendkim.install                             (rev 0)
+++ community-staging-i686/opendkim.install     2013-08-05 11:31:32 UTC (rev 
95083)
@@ -0,0 +1,11 @@
+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
+}

Copied: opendkim/repos/community-staging-i686/opendkim.service (from rev 95082, 
opendkim/trunk/opendkim.service)
===================================================================
--- community-staging-i686/opendkim.service                             (rev 0)
+++ community-staging-i686/opendkim.service     2013-08-05 11:31:32 UTC (rev 
95083)
@@ -0,0 +1,11 @@
+[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

Copied: opendkim/repos/community-staging-x86_64/PKGBUILD (from rev 95082, 
opendkim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-08-05 11:31:32 UTC (rev 95083)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Maintainer: Thomas Jost <schno...@schnouki.net>
+
+pkgname=opendkim
+pkgver=2.8.4
+pkgrel=1
+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=('17f667d022c167c7874a993e928d4a6d'
+         '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
+}

Copied: opendkim/repos/community-staging-x86_64/opendkim.conf (from rev 95082, 
opendkim/trunk/opendkim.conf)
===================================================================
--- community-staging-x86_64/opendkim.conf                              (rev 0)
+++ community-staging-x86_64/opendkim.conf      2013-08-05 11:31:32 UTC (rev 
95083)
@@ -0,0 +1 @@
+OPENDKIM_FILTER="-x /etc/opendkim/opendkim.conf"

Copied: opendkim/repos/community-staging-x86_64/opendkim.install (from rev 
95082, opendkim/trunk/opendkim.install)
===================================================================
--- community-staging-x86_64/opendkim.install                           (rev 0)
+++ community-staging-x86_64/opendkim.install   2013-08-05 11:31:32 UTC (rev 
95083)
@@ -0,0 +1,11 @@
+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
+}

Copied: opendkim/repos/community-staging-x86_64/opendkim.service (from rev 
95082, opendkim/trunk/opendkim.service)
===================================================================
--- community-staging-x86_64/opendkim.service                           (rev 0)
+++ community-staging-x86_64/opendkim.service   2013-08-05 11:31:32 UTC (rev 
95083)
@@ -0,0 +1,11 @@
+[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

Reply via email to