[arch-commits] Commit in nullmailer/repos (12 files)
Martin Wimpress
flexiondotorg at archlinux.org
Wed Feb 11 12:26:04 UTC 2015
Date: Wednesday, February 11, 2015 @ 13:26:04
Author: flexiondotorg
Revision: 127558
archrelease: copy trunk to community-i686, community-x86_64
Added:
nullmailer/repos/community-i686/PKGBUILD
(from rev 127557, nullmailer/trunk/PKGBUILD)
nullmailer/repos/community-i686/nullmailer.install
(from rev 127557, nullmailer/trunk/nullmailer.install)
nullmailer/repos/community-i686/nullmailer.service
(from rev 127557, nullmailer/trunk/nullmailer.service)
nullmailer/repos/community-x86_64/PKGBUILD
(from rev 127557, nullmailer/trunk/PKGBUILD)
nullmailer/repos/community-x86_64/nullmailer.install
(from rev 127557, nullmailer/trunk/nullmailer.install)
nullmailer/repos/community-x86_64/nullmailer.service
(from rev 127557, nullmailer/trunk/nullmailer.service)
Deleted:
nullmailer/repos/community-i686/PKGBUILD
nullmailer/repos/community-i686/nullmailer.install
nullmailer/repos/community-i686/nullmailer.service
nullmailer/repos/community-x86_64/PKGBUILD
nullmailer/repos/community-x86_64/nullmailer.install
nullmailer/repos/community-x86_64/nullmailer.service
-------------------------------------+
/PKGBUILD | 82 ++++++++++++++++++++++++++++++++++
/nullmailer.install | 70 +++++++++++++++++++++++++++++
/nullmailer.service | 26 ++++++++++
community-i686/PKGBUILD | 40 ----------------
community-i686/nullmailer.install | 44 ------------------
community-i686/nullmailer.service | 13 -----
community-x86_64/PKGBUILD | 40 ----------------
community-x86_64/nullmailer.install | 44 ------------------
community-x86_64/nullmailer.service | 13 -----
9 files changed, 178 insertions(+), 194 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-02-11 12:25:53 UTC (rev 127557)
+++ community-i686/PKGBUILD 2015-02-11 12:26:04 UTC (rev 127558)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de>
-
-pkgname=nullmailer
-pkgver=1.13
-pkgrel=3
-pkgdesc="Simple relay-only mail transport agent."
-arch=('i686' 'x86_64')
-url="http://www.untroubled.org/nullmailer/"
-license=("GPL")
-provides=('smtp-forwarder')
-conflicts=('smtp-forwarder' 'smtp-server')
-depends=('gnutls')
-install=nullmailer.install
-source=("http://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz"
- nullmailer.service)
-md5sums=('aaeb8746fbc082917b26d0827ccc9270'
- '300f17c52422d4156583f207f2405930')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/${pkgname} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --sbindir=/usr/bin \
- --enable-tls
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m 0644 ../nullmailer.service "${pkgdir}/usr/lib/systemd/system/nullmailer.service"
- # Remove pipe and create on install to work around makepkg hang on grep -R
- rm -f "${pkgdir}/var/nullmailer/trigger"
-}
Copied: nullmailer/repos/community-i686/PKGBUILD (from rev 127557, nullmailer/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-02-11 12:26:04 UTC (rev 127558)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de>
+
+pkgname=nullmailer
+pkgver=1.13
+pkgrel=4
+pkgdesc="Simple relay-only mail transport agent."
+arch=('i686' 'x86_64')
+url="http://www.untroubled.org/nullmailer/"
+license=("GPL")
+provides=('smtp-forwarder')
+conflicts=('smtp-forwarder' 'smtp-server')
+depends=('gnutls')
+options=(emptydirs)
+install=nullmailer.install
+source=("http://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz"
+ nullmailer.service)
+md5sums=('aaeb8746fbc082917b26d0827ccc9270'
+ '300f17c52422d4156583f207f2405930')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${pkgname} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --enable-tls
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m 0644 ../nullmailer.service "${pkgdir}/usr/lib/systemd/system/nullmailer.service"
+ # Remove pipe and create on install to work around makepkg hang on grep -R
+ rm -f "${pkgdir}/var/nullmailer/trigger"
+}
Deleted: community-i686/nullmailer.install
===================================================================
--- community-i686/nullmailer.install 2015-02-11 12:25:53 UTC (rev 127557)
+++ community-i686/nullmailer.install 2015-02-11 12:26:04 UTC (rev 127558)
@@ -1,44 +0,0 @@
-# arg 1: the new package version
-post_install() {
- if ! getent passwd nullmail > /dev/null; then
- echo "==> Creating nullmail user"
- usr/bin/useradd --comment "nullmailer MTA" --shell /bin/sh --home /var/nullmailer --system --user-group nullmail
- fi
-
- echo "==> Creating trigger fifo"
- rm -f var/nullmailer/trigger && mkfifo -m 600 var/nullmailer/trigger
-
- echo "==> Fixing permissions"
- chown nullmail var/nullmailer/*
- chown nullmail usr/bin/nullmailer-queue
- chmod u+s usr/bin/nullmailer-queue
- chown nullmail usr/bin/mailq
- chmod u+s usr/bin/mailq
- if ! [ -s etc/nullmailer/me ]; then
- echo "==> Configuring"
- hostnamectl --static > etc/nullmailer/me
- fi
- if ! [ -s etc/nullmailer/remotes ]; then
- echo "smarthost.example.org smtp --port=25 --auth-login --user=user --pass=pass" > etc/nullmailer/remotes
- chgrp nullmail etc/nullmailer/remotes
- chmod 640 etc/nullmailer/remotes
- fi
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- systemctl stop nullmailer
- # Leave the 'queue' directory intact
- rm -rf var/service/nullmailer/{tmp,trigger}
- echo "==> Removing nullmailer user and group"
- userdel nullmail
- if getent group nullmail > /dev/null; then
- groupdel nullmail
- fi
-}
Copied: nullmailer/repos/community-i686/nullmailer.install (from rev 127557, nullmailer/trunk/nullmailer.install)
===================================================================
--- community-i686/nullmailer.install (rev 0)
+++ community-i686/nullmailer.install 2015-02-11 12:26:04 UTC (rev 127558)
@@ -0,0 +1,35 @@
+post_install() {
+ if ! getent passwd nullmail > /dev/null; then
+ echo "==> Creating nullmail user"
+ usr/bin/useradd --comment "nullmailer MTA" --shell /bin/sh --home /var/nullmailer --system --user-group nullmail
+ fi
+
+ echo "==> Creating trigger fifo"
+ rm -f var/nullmailer/trigger && mkfifo -m 600 var/nullmailer/trigger
+
+ echo "==> Fixing permissions"
+ chown nullmail var/nullmailer/*
+ chown nullmail usr/bin/nullmailer-queue
+ chmod u+s usr/bin/nullmailer-queue
+ chown nullmail usr/bin/mailq
+ chmod u+s usr/bin/mailq
+ if ! [ -s etc/nullmailer/me ]; then
+ echo "==> Configuring"
+ hostnamectl --static > etc/nullmailer/me
+ fi
+ if ! [ -s etc/nullmailer/remotes ]; then
+ echo "smarthost.example.org smtp --port=25 --auth-login --user=user --pass=pass" > etc/nullmailer/remotes
+ chgrp nullmail etc/nullmailer/remotes
+ chmod 640 etc/nullmailer/remotes
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ systemctl stop nullmailer
+ # Leave the 'queue' directory intact
+ rm -rf var/service/nullmailer/{tmp,trigger}
+}
Deleted: community-i686/nullmailer.service
===================================================================
--- community-i686/nullmailer.service 2015-02-11 12:25:53 UTC (rev 127557)
+++ community-i686/nullmailer.service 2015-02-11 12:26:04 UTC (rev 127558)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Nullmailer relay-only MTA
-After=local-fs.target
-ConditionPathExists=/var/nullmailer/queue
-
-[Install]
-WantedBy=multi-user.target
-
-[Service]
-WorkingDirectory=/var/nullmailer
-ExecStart=/usr/bin/nullmailer-send
-User=nullmail
-Restart=always
Copied: nullmailer/repos/community-i686/nullmailer.service (from rev 127557, nullmailer/trunk/nullmailer.service)
===================================================================
--- community-i686/nullmailer.service (rev 0)
+++ community-i686/nullmailer.service 2015-02-11 12:26:04 UTC (rev 127558)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Nullmailer relay-only MTA
+After=local-fs.target
+ConditionPathExists=/var/nullmailer/queue
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+WorkingDirectory=/var/nullmailer
+ExecStart=/usr/bin/nullmailer-send
+User=nullmail
+Restart=always
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-02-11 12:25:53 UTC (rev 127557)
+++ community-x86_64/PKGBUILD 2015-02-11 12:26:04 UTC (rev 127558)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de>
-
-pkgname=nullmailer
-pkgver=1.13
-pkgrel=3
-pkgdesc="Simple relay-only mail transport agent."
-arch=('i686' 'x86_64')
-url="http://www.untroubled.org/nullmailer/"
-license=("GPL")
-provides=('smtp-forwarder')
-conflicts=('smtp-forwarder' 'smtp-server')
-depends=('gnutls')
-install=nullmailer.install
-source=("http://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz"
- nullmailer.service)
-md5sums=('aaeb8746fbc082917b26d0827ccc9270'
- '300f17c52422d4156583f207f2405930')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/${pkgname} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --sbindir=/usr/bin \
- --enable-tls
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m 0644 ../nullmailer.service "${pkgdir}/usr/lib/systemd/system/nullmailer.service"
- # Remove pipe and create on install to work around makepkg hang on grep -R
- rm -f "${pkgdir}/var/nullmailer/trigger"
-}
Copied: nullmailer/repos/community-x86_64/PKGBUILD (from rev 127557, nullmailer/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-02-11 12:26:04 UTC (rev 127558)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de>
+
+pkgname=nullmailer
+pkgver=1.13
+pkgrel=4
+pkgdesc="Simple relay-only mail transport agent."
+arch=('i686' 'x86_64')
+url="http://www.untroubled.org/nullmailer/"
+license=("GPL")
+provides=('smtp-forwarder')
+conflicts=('smtp-forwarder' 'smtp-server')
+depends=('gnutls')
+options=(emptydirs)
+install=nullmailer.install
+source=("http://www.untroubled.org/nullmailer/archive/${pkgname}-${pkgver}.tar.gz"
+ nullmailer.service)
+md5sums=('aaeb8746fbc082917b26d0827ccc9270'
+ '300f17c52422d4156583f207f2405930')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${pkgname} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --enable-tls
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m 0644 ../nullmailer.service "${pkgdir}/usr/lib/systemd/system/nullmailer.service"
+ # Remove pipe and create on install to work around makepkg hang on grep -R
+ rm -f "${pkgdir}/var/nullmailer/trigger"
+}
Deleted: community-x86_64/nullmailer.install
===================================================================
--- community-x86_64/nullmailer.install 2015-02-11 12:25:53 UTC (rev 127557)
+++ community-x86_64/nullmailer.install 2015-02-11 12:26:04 UTC (rev 127558)
@@ -1,44 +0,0 @@
-# arg 1: the new package version
-post_install() {
- if ! getent passwd nullmail > /dev/null; then
- echo "==> Creating nullmail user"
- usr/bin/useradd --comment "nullmailer MTA" --shell /bin/sh --home /var/nullmailer --system --user-group nullmail
- fi
-
- echo "==> Creating trigger fifo"
- rm -f var/nullmailer/trigger && mkfifo -m 600 var/nullmailer/trigger
-
- echo "==> Fixing permissions"
- chown nullmail var/nullmailer/*
- chown nullmail usr/bin/nullmailer-queue
- chmod u+s usr/bin/nullmailer-queue
- chown nullmail usr/bin/mailq
- chmod u+s usr/bin/mailq
- if ! [ -s etc/nullmailer/me ]; then
- echo "==> Configuring"
- hostnamectl --static > etc/nullmailer/me
- fi
- if ! [ -s etc/nullmailer/remotes ]; then
- echo "smarthost.example.org smtp --port=25 --auth-login --user=user --pass=pass" > etc/nullmailer/remotes
- chgrp nullmail etc/nullmailer/remotes
- chmod 640 etc/nullmailer/remotes
- fi
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- systemctl stop nullmailer
- # Leave the 'queue' directory intact
- rm -rf var/service/nullmailer/{tmp,trigger}
- echo "==> Removing nullmailer user and group"
- userdel nullmail
- if getent group nullmail > /dev/null; then
- groupdel nullmail
- fi
-}
Copied: nullmailer/repos/community-x86_64/nullmailer.install (from rev 127557, nullmailer/trunk/nullmailer.install)
===================================================================
--- community-x86_64/nullmailer.install (rev 0)
+++ community-x86_64/nullmailer.install 2015-02-11 12:26:04 UTC (rev 127558)
@@ -0,0 +1,35 @@
+post_install() {
+ if ! getent passwd nullmail > /dev/null; then
+ echo "==> Creating nullmail user"
+ usr/bin/useradd --comment "nullmailer MTA" --shell /bin/sh --home /var/nullmailer --system --user-group nullmail
+ fi
+
+ echo "==> Creating trigger fifo"
+ rm -f var/nullmailer/trigger && mkfifo -m 600 var/nullmailer/trigger
+
+ echo "==> Fixing permissions"
+ chown nullmail var/nullmailer/*
+ chown nullmail usr/bin/nullmailer-queue
+ chmod u+s usr/bin/nullmailer-queue
+ chown nullmail usr/bin/mailq
+ chmod u+s usr/bin/mailq
+ if ! [ -s etc/nullmailer/me ]; then
+ echo "==> Configuring"
+ hostnamectl --static > etc/nullmailer/me
+ fi
+ if ! [ -s etc/nullmailer/remotes ]; then
+ echo "smarthost.example.org smtp --port=25 --auth-login --user=user --pass=pass" > etc/nullmailer/remotes
+ chgrp nullmail etc/nullmailer/remotes
+ chmod 640 etc/nullmailer/remotes
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ systemctl stop nullmailer
+ # Leave the 'queue' directory intact
+ rm -rf var/service/nullmailer/{tmp,trigger}
+}
Deleted: community-x86_64/nullmailer.service
===================================================================
--- community-x86_64/nullmailer.service 2015-02-11 12:25:53 UTC (rev 127557)
+++ community-x86_64/nullmailer.service 2015-02-11 12:26:04 UTC (rev 127558)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Nullmailer relay-only MTA
-After=local-fs.target
-ConditionPathExists=/var/nullmailer/queue
-
-[Install]
-WantedBy=multi-user.target
-
-[Service]
-WorkingDirectory=/var/nullmailer
-ExecStart=/usr/bin/nullmailer-send
-User=nullmail
-Restart=always
Copied: nullmailer/repos/community-x86_64/nullmailer.service (from rev 127557, nullmailer/trunk/nullmailer.service)
===================================================================
--- community-x86_64/nullmailer.service (rev 0)
+++ community-x86_64/nullmailer.service 2015-02-11 12:26:04 UTC (rev 127558)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Nullmailer relay-only MTA
+After=local-fs.target
+ConditionPathExists=/var/nullmailer/queue
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+WorkingDirectory=/var/nullmailer
+ExecStart=/usr/bin/nullmailer-send
+User=nullmail
+Restart=always
More information about the arch-commits
mailing list