Date: Saturday, July 9, 2016 @ 17:20:08 Author: arojas Revision: 182591
archrelease: copy trunk to community-i686, community-x86_64 Added: nullmailer/repos/community-i686/PKGBUILD (from rev 182590, nullmailer/trunk/PKGBUILD) nullmailer/repos/community-i686/nullmailer.install (from rev 182590, nullmailer/trunk/nullmailer.install) nullmailer/repos/community-x86_64/PKGBUILD (from rev 182590, nullmailer/trunk/PKGBUILD) nullmailer/repos/community-x86_64/nullmailer.install (from rev 182590, nullmailer/trunk/nullmailer.install) 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 | 76 ++++++++++++++++++++++++++++++++++ /nullmailer.install | 70 +++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 41 ------------------ community-i686/nullmailer.install | 35 --------------- community-i686/nullmailer.service | 13 ----- community-x86_64/PKGBUILD | 41 ------------------ community-x86_64/nullmailer.install | 35 --------------- community-x86_64/nullmailer.service | 13 ----- 8 files changed, 146 insertions(+), 178 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-07-09 17:19:04 UTC (rev 182590) +++ community-i686/PKGBUILD 2016-07-09 17:20:08 UTC (rev 182591) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer : Martin Wimpress <c...@flexion.org> -# Contributor: Roberto Alsina <ralsina at kde.org> -# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de> - -pkgname=nullmailer -pkgver=2.0 -pkgrel=1 -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=('e35e8248056fd21a2e464d34116c44a2' - '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 182590, nullmailer/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-07-09 17:20:08 UTC (rev 182591) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer : Martin Wimpress <c...@flexion.org> +# Contributor: Roberto Alsina <ralsina at kde.org> +# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de> + +pkgname=nullmailer +pkgver=2.0 +pkgrel=2 +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") +md5sums=('e35e8248056fd21a2e464d34116c44a2') + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --enable-tls + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -Dm644 scripts/nullmailer.service "$pkgdir"/usr/lib/systemd/system/nullmailer.service +} Deleted: community-i686/nullmailer.install =================================================================== --- community-i686/nullmailer.install 2016-07-09 17:19:04 UTC (rev 182590) +++ community-i686/nullmailer.install 2016-07-09 17:20:08 UTC (rev 182591) @@ -1,35 +0,0 @@ -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} -} Copied: nullmailer/repos/community-i686/nullmailer.install (from rev 182590, nullmailer/trunk/nullmailer.install) =================================================================== --- community-i686/nullmailer.install (rev 0) +++ community-i686/nullmailer.install 2016-07-09 17:20:08 UTC (rev 182591) @@ -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/spool/nullmailer --system --user-group nullmail + fi + + echo "==> Creating trigger fifo" + rm -f var/spool/nullmailer/trigger && mkfifo -m 600 var/spool/nullmailer/trigger + + echo "==> Fixing permissions" + chown nullmail var/spool/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 2016-07-09 17:19:04 UTC (rev 182590) +++ community-i686/nullmailer.service 2016-07-09 17:20:08 UTC (rev 182591) @@ -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 Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-07-09 17:19:04 UTC (rev 182590) +++ community-x86_64/PKGBUILD 2016-07-09 17:20:08 UTC (rev 182591) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer : Martin Wimpress <c...@flexion.org> -# Contributor: Roberto Alsina <ralsina at kde.org> -# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de> - -pkgname=nullmailer -pkgver=2.0 -pkgrel=1 -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=('e35e8248056fd21a2e464d34116c44a2' - '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 182590, nullmailer/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-07-09 17:20:08 UTC (rev 182591) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer : Martin Wimpress <c...@flexion.org> +# Contributor: Roberto Alsina <ralsina at kde.org> +# Contributor: Kurt J. Bosch <kjb-temp-2009 at alpenjodel.de> + +pkgname=nullmailer +pkgver=2.0 +pkgrel=2 +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") +md5sums=('e35e8248056fd21a2e464d34116c44a2') + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --enable-tls + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -Dm644 scripts/nullmailer.service "$pkgdir"/usr/lib/systemd/system/nullmailer.service +} Deleted: community-x86_64/nullmailer.install =================================================================== --- community-x86_64/nullmailer.install 2016-07-09 17:19:04 UTC (rev 182590) +++ community-x86_64/nullmailer.install 2016-07-09 17:20:08 UTC (rev 182591) @@ -1,35 +0,0 @@ -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} -} Copied: nullmailer/repos/community-x86_64/nullmailer.install (from rev 182590, nullmailer/trunk/nullmailer.install) =================================================================== --- community-x86_64/nullmailer.install (rev 0) +++ community-x86_64/nullmailer.install 2016-07-09 17:20:08 UTC (rev 182591) @@ -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/spool/nullmailer --system --user-group nullmail + fi + + echo "==> Creating trigger fifo" + rm -f var/spool/nullmailer/trigger && mkfifo -m 600 var/spool/nullmailer/trigger + + echo "==> Fixing permissions" + chown nullmail var/spool/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 2016-07-09 17:19:04 UTC (rev 182590) +++ community-x86_64/nullmailer.service 2016-07-09 17:20:08 UTC (rev 182591) @@ -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