Date: Friday, June 19, 2015 @ 22:04:45 Author: lfleischer Revision: 135604
archrelease: copy trunk to community-i686, community-x86_64 Added: opensmtpd/repos/community-i686/PKGBUILD (from rev 135603, opensmtpd/trunk/PKGBUILD) opensmtpd/repos/community-i686/opensmtpd.install (from rev 135603, opensmtpd/trunk/opensmtpd.install) opensmtpd/repos/community-i686/smtpd.service (from rev 135603, opensmtpd/trunk/smtpd.service) opensmtpd/repos/community-i686/smtpd.socket (from rev 135603, opensmtpd/trunk/smtpd.socket) opensmtpd/repos/community-x86_64/PKGBUILD (from rev 135603, opensmtpd/trunk/PKGBUILD) opensmtpd/repos/community-x86_64/opensmtpd.install (from rev 135603, opensmtpd/trunk/opensmtpd.install) opensmtpd/repos/community-x86_64/smtpd.service (from rev 135603, opensmtpd/trunk/smtpd.service) opensmtpd/repos/community-x86_64/smtpd.socket (from rev 135603, opensmtpd/trunk/smtpd.socket) Deleted: opensmtpd/repos/community-i686/PKGBUILD opensmtpd/repos/community-i686/opensmtpd.install opensmtpd/repos/community-i686/smtpd.service opensmtpd/repos/community-i686/smtpd.socket opensmtpd/repos/community-x86_64/PKGBUILD opensmtpd/repos/community-x86_64/opensmtpd.install opensmtpd/repos/community-x86_64/smtpd.service opensmtpd/repos/community-x86_64/smtpd.socket ------------------------------------+ /PKGBUILD | 116 +++++++++++++++++++++++++++++++++++ /opensmtpd.install | 50 +++++++++++++++ /smtpd.service | 20 ++++++ /smtpd.socket | 16 ++++ community-i686/PKGBUILD | 58 ----------------- community-i686/opensmtpd.install | 25 ------- community-i686/smtpd.service | 10 --- community-i686/smtpd.socket | 8 -- community-x86_64/PKGBUILD | 58 ----------------- community-x86_64/opensmtpd.install | 25 ------- community-x86_64/smtpd.service | 10 --- community-x86_64/smtpd.socket | 8 -- 12 files changed, 202 insertions(+), 202 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2015-06-19 20:04:32 UTC (rev 135603) +++ community-i686/PKGBUILD 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,58 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Sébastien Luttringer - -pkgname=opensmtpd -pkgver=5.4.5p1 -pkgrel=1 -pkgdesc='Free implementation of the server-side SMTP protocol' -arch=('i686' 'x86_64') -url='http://www.opensmtpd.org/' -license=('custom') -depends=('libasr' 'libevent' 'openssl') -provides=('smtp-server' 'smtp-forwarder') -conflicts=('smtp-server' 'smtp-forwarder') -backup=('etc/smtpd/smtpd.conf' 'etc/smtpd/aliases') -options=('emptydirs') -install=opensmtpd.install -source=("http://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz" - 'smtpd.service' - 'smtpd.socket') -md5sums=('05b58cecf0d6c2f385954b94d85e271a' - 'a278f272d97a9fe5a8aac784a7c98d67' - 'c2c01e9ca78df3f65efe40a7c0e17ee0') - -prepare() { - sed -ri 's,/etc/mail,/etc/smtpd,g' "$pkgname-$pkgver/smtpd/smtpd.conf" -} - -build() { - cd "$pkgname-$pkgver" - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/smtpd \ - --sbindir=/usr/bin \ - --libexecdir=/usr/lib/smtpd \ - --with-maildir=/var/spool/mail \ - --with-privsep-path=/var/empty \ - --with-sock-dir=/run \ - --with-ca-file=/etc/ssl/certs/ca-certificates.crt \ - --with-privsep-user=smtpd \ - --with-queue-user=smtpq \ - --with-pam - make -} - -package() { - cd "$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install - - # install license and systemd unit files - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 "$srcdir/smtpd.service" "$pkgdir/usr/lib/systemd/system/smtpd.service" - install -Dm644 "$srcdir/smtpd.socket" "$pkgdir/usr/lib/systemd/system/smtpd.socket" - - # install an empty aliases file (used by the default config) - install -Dm644 /dev/null "$pkgdir/etc/smtpd/aliases" -} Copied: opensmtpd/repos/community-i686/PKGBUILD (from rev 135603, opensmtpd/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,58 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Sébastien Luttringer + +pkgname=opensmtpd +pkgver=5.4.6p1 +pkgrel=1 +pkgdesc='Free implementation of the server-side SMTP protocol' +arch=('i686' 'x86_64') +url='http://www.opensmtpd.org/' +license=('custom') +depends=('libasr' 'libevent' 'openssl') +provides=('smtp-server' 'smtp-forwarder') +conflicts=('smtp-server' 'smtp-forwarder') +backup=('etc/smtpd/smtpd.conf' 'etc/smtpd/aliases') +options=('emptydirs') +install=opensmtpd.install +source=("http://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz" + 'smtpd.service' + 'smtpd.socket') +md5sums=('b146018e4c79f0674bee8e09134bb4aa' + 'a278f272d97a9fe5a8aac784a7c98d67' + 'c2c01e9ca78df3f65efe40a7c0e17ee0') + +prepare() { + sed -ri 's,/etc/mail,/etc/smtpd,g' "$pkgname-$pkgver/smtpd/smtpd.conf" +} + +build() { + cd "$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/smtpd \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib/smtpd \ + --with-maildir=/var/spool/mail \ + --with-privsep-path=/var/empty \ + --with-sock-dir=/run \ + --with-ca-file=/etc/ssl/certs/ca-certificates.crt \ + --with-privsep-user=smtpd \ + --with-queue-user=smtpq \ + --with-pam + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + # install license and systemd unit files + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$srcdir/smtpd.service" "$pkgdir/usr/lib/systemd/system/smtpd.service" + install -Dm644 "$srcdir/smtpd.socket" "$pkgdir/usr/lib/systemd/system/smtpd.socket" + + # install an empty aliases file (used by the default config) + install -Dm644 /dev/null "$pkgdir/etc/smtpd/aliases" +} Deleted: community-i686/opensmtpd.install =================================================================== --- community-i686/opensmtpd.install 2015-06-19 20:04:32 UTC (rev 135603) +++ community-i686/opensmtpd.install 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,25 +0,0 @@ -# arg 1: the new package version -post_install() { - # create users - getent passwd smtpd >/dev/null || useradd -d / -u 91 -g 1 smtpd - getent passwd smtpq >/dev/null || useradd -d /var/spool/smtpd -u 92 -g 1 smtpq - : -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install "$1" - if (( $(vercmp $2 5.3.3p1-1) < 0 )); then - echo 'Configuration files have been moved to /etc/smtpd.' - echo 'New users have been added.' - echo 'Check your configuration!' - elif (( $(vercmp $2 5.4) < 0 )); then - echo 'User smtpf is no more required. It will be removed!' - echo 'Check your configuration!' - userdel -f smtpf - fi - : -} - -# vim:set ts=2 sw=2 et: Copied: opensmtpd/repos/community-i686/opensmtpd.install (from rev 135603, opensmtpd/trunk/opensmtpd.install) =================================================================== --- community-i686/opensmtpd.install (rev 0) +++ community-i686/opensmtpd.install 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,25 @@ +# arg 1: the new package version +post_install() { + # create users + getent passwd smtpd >/dev/null || useradd -d / -u 91 -g 1 smtpd + getent passwd smtpq >/dev/null || useradd -d /var/spool/smtpd -u 92 -g 1 smtpq + : +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install "$1" + if (( $(vercmp $2 5.3.3p1-1) < 0 )); then + echo 'Configuration files have been moved to /etc/smtpd.' + echo 'New users have been added.' + echo 'Check your configuration!' + elif (( $(vercmp $2 5.4) < 0 )); then + echo 'User smtpf is no more required. It will be removed!' + echo 'Check your configuration!' + userdel -f smtpf + fi + : +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/smtpd.service =================================================================== --- community-i686/smtpd.service 2015-06-19 20:04:32 UTC (rev 135603) +++ community-i686/smtpd.service 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,10 +0,0 @@ -[Unit] -Description=OpenSMTPD -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/smtpd - -[Install] -WantedBy=multi-user.target Copied: opensmtpd/repos/community-i686/smtpd.service (from rev 135603, opensmtpd/trunk/smtpd.service) =================================================================== --- community-i686/smtpd.service (rev 0) +++ community-i686/smtpd.service 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,10 @@ +[Unit] +Description=OpenSMTPD +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/smtpd + +[Install] +WantedBy=multi-user.target Deleted: community-i686/smtpd.socket =================================================================== --- community-i686/smtpd.socket 2015-06-19 20:04:32 UTC (rev 135603) +++ community-i686/smtpd.socket 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,8 +0,0 @@ -[Unit] -Description=OpenSMTPD Socket - -[Socket] -ListenStream=/run/smtpd.sock - -[Install] -WantedBy=sockets.target Copied: opensmtpd/repos/community-i686/smtpd.socket (from rev 135603, opensmtpd/trunk/smtpd.socket) =================================================================== --- community-i686/smtpd.socket (rev 0) +++ community-i686/smtpd.socket 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,8 @@ +[Unit] +Description=OpenSMTPD Socket + +[Socket] +ListenStream=/run/smtpd.sock + +[Install] +WantedBy=sockets.target Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2015-06-19 20:04:32 UTC (rev 135603) +++ community-x86_64/PKGBUILD 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,58 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Sébastien Luttringer - -pkgname=opensmtpd -pkgver=5.4.5p1 -pkgrel=1 -pkgdesc='Free implementation of the server-side SMTP protocol' -arch=('i686' 'x86_64') -url='http://www.opensmtpd.org/' -license=('custom') -depends=('libasr' 'libevent' 'openssl') -provides=('smtp-server' 'smtp-forwarder') -conflicts=('smtp-server' 'smtp-forwarder') -backup=('etc/smtpd/smtpd.conf' 'etc/smtpd/aliases') -options=('emptydirs') -install=opensmtpd.install -source=("http://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz" - 'smtpd.service' - 'smtpd.socket') -md5sums=('05b58cecf0d6c2f385954b94d85e271a' - 'a278f272d97a9fe5a8aac784a7c98d67' - 'c2c01e9ca78df3f65efe40a7c0e17ee0') - -prepare() { - sed -ri 's,/etc/mail,/etc/smtpd,g' "$pkgname-$pkgver/smtpd/smtpd.conf" -} - -build() { - cd "$pkgname-$pkgver" - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/smtpd \ - --sbindir=/usr/bin \ - --libexecdir=/usr/lib/smtpd \ - --with-maildir=/var/spool/mail \ - --with-privsep-path=/var/empty \ - --with-sock-dir=/run \ - --with-ca-file=/etc/ssl/certs/ca-certificates.crt \ - --with-privsep-user=smtpd \ - --with-queue-user=smtpq \ - --with-pam - make -} - -package() { - cd "$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install - - # install license and systemd unit files - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 "$srcdir/smtpd.service" "$pkgdir/usr/lib/systemd/system/smtpd.service" - install -Dm644 "$srcdir/smtpd.socket" "$pkgdir/usr/lib/systemd/system/smtpd.socket" - - # install an empty aliases file (used by the default config) - install -Dm644 /dev/null "$pkgdir/etc/smtpd/aliases" -} Copied: opensmtpd/repos/community-x86_64/PKGBUILD (from rev 135603, opensmtpd/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,58 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Sébastien Luttringer + +pkgname=opensmtpd +pkgver=5.4.6p1 +pkgrel=1 +pkgdesc='Free implementation of the server-side SMTP protocol' +arch=('i686' 'x86_64') +url='http://www.opensmtpd.org/' +license=('custom') +depends=('libasr' 'libevent' 'openssl') +provides=('smtp-server' 'smtp-forwarder') +conflicts=('smtp-server' 'smtp-forwarder') +backup=('etc/smtpd/smtpd.conf' 'etc/smtpd/aliases') +options=('emptydirs') +install=opensmtpd.install +source=("http://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz" + 'smtpd.service' + 'smtpd.socket') +md5sums=('b146018e4c79f0674bee8e09134bb4aa' + 'a278f272d97a9fe5a8aac784a7c98d67' + 'c2c01e9ca78df3f65efe40a7c0e17ee0') + +prepare() { + sed -ri 's,/etc/mail,/etc/smtpd,g' "$pkgname-$pkgver/smtpd/smtpd.conf" +} + +build() { + cd "$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/smtpd \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib/smtpd \ + --with-maildir=/var/spool/mail \ + --with-privsep-path=/var/empty \ + --with-sock-dir=/run \ + --with-ca-file=/etc/ssl/certs/ca-certificates.crt \ + --with-privsep-user=smtpd \ + --with-queue-user=smtpq \ + --with-pam + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + # install license and systemd unit files + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$srcdir/smtpd.service" "$pkgdir/usr/lib/systemd/system/smtpd.service" + install -Dm644 "$srcdir/smtpd.socket" "$pkgdir/usr/lib/systemd/system/smtpd.socket" + + # install an empty aliases file (used by the default config) + install -Dm644 /dev/null "$pkgdir/etc/smtpd/aliases" +} Deleted: community-x86_64/opensmtpd.install =================================================================== --- community-x86_64/opensmtpd.install 2015-06-19 20:04:32 UTC (rev 135603) +++ community-x86_64/opensmtpd.install 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,25 +0,0 @@ -# arg 1: the new package version -post_install() { - # create users - getent passwd smtpd >/dev/null || useradd -d / -u 91 -g 1 smtpd - getent passwd smtpq >/dev/null || useradd -d /var/spool/smtpd -u 92 -g 1 smtpq - : -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install "$1" - if (( $(vercmp $2 5.3.3p1-1) < 0 )); then - echo 'Configuration files have been moved to /etc/smtpd.' - echo 'New users have been added.' - echo 'Check your configuration!' - elif (( $(vercmp $2 5.4) < 0 )); then - echo 'User smtpf is no more required. It will be removed!' - echo 'Check your configuration!' - userdel -f smtpf - fi - : -} - -# vim:set ts=2 sw=2 et: Copied: opensmtpd/repos/community-x86_64/opensmtpd.install (from rev 135603, opensmtpd/trunk/opensmtpd.install) =================================================================== --- community-x86_64/opensmtpd.install (rev 0) +++ community-x86_64/opensmtpd.install 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,25 @@ +# arg 1: the new package version +post_install() { + # create users + getent passwd smtpd >/dev/null || useradd -d / -u 91 -g 1 smtpd + getent passwd smtpq >/dev/null || useradd -d /var/spool/smtpd -u 92 -g 1 smtpq + : +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install "$1" + if (( $(vercmp $2 5.3.3p1-1) < 0 )); then + echo 'Configuration files have been moved to /etc/smtpd.' + echo 'New users have been added.' + echo 'Check your configuration!' + elif (( $(vercmp $2 5.4) < 0 )); then + echo 'User smtpf is no more required. It will be removed!' + echo 'Check your configuration!' + userdel -f smtpf + fi + : +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/smtpd.service =================================================================== --- community-x86_64/smtpd.service 2015-06-19 20:04:32 UTC (rev 135603) +++ community-x86_64/smtpd.service 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,10 +0,0 @@ -[Unit] -Description=OpenSMTPD -After=network.target - -[Service] -Type=forking -ExecStart=/usr/bin/smtpd - -[Install] -WantedBy=multi-user.target Copied: opensmtpd/repos/community-x86_64/smtpd.service (from rev 135603, opensmtpd/trunk/smtpd.service) =================================================================== --- community-x86_64/smtpd.service (rev 0) +++ community-x86_64/smtpd.service 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,10 @@ +[Unit] +Description=OpenSMTPD +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/smtpd + +[Install] +WantedBy=multi-user.target Deleted: community-x86_64/smtpd.socket =================================================================== --- community-x86_64/smtpd.socket 2015-06-19 20:04:32 UTC (rev 135603) +++ community-x86_64/smtpd.socket 2015-06-19 20:04:45 UTC (rev 135604) @@ -1,8 +0,0 @@ -[Unit] -Description=OpenSMTPD Socket - -[Socket] -ListenStream=/run/smtpd.sock - -[Install] -WantedBy=sockets.target Copied: opensmtpd/repos/community-x86_64/smtpd.socket (from rev 135603, opensmtpd/trunk/smtpd.socket) =================================================================== --- community-x86_64/smtpd.socket (rev 0) +++ community-x86_64/smtpd.socket 2015-06-19 20:04:45 UTC (rev 135604) @@ -0,0 +1,8 @@ +[Unit] +Description=OpenSMTPD Socket + +[Socket] +ListenStream=/run/smtpd.sock + +[Install] +WantedBy=sockets.target