Date: Saturday, November 11, 2017 @ 19:41:30 Author: lfleischer Revision: 266256
archrelease: copy trunk to community-x86_64 Added: stunnel/repos/community-x86_64/Makefile.patch (from rev 266255, stunnel/trunk/Makefile.patch) stunnel/repos/community-x86_64/PKGBUILD (from rev 266255, stunnel/trunk/PKGBUILD) stunnel/repos/community-x86_64/stunnel.install (from rev 266255, stunnel/trunk/stunnel.install) stunnel/repos/community-x86_64/stunnel.tmpfiles.conf (from rev 266255, stunnel/trunk/stunnel.tmpfiles.conf) Deleted: stunnel/repos/community-x86_64/Makefile.patch stunnel/repos/community-x86_64/PKGBUILD stunnel/repos/community-x86_64/stunnel.install stunnel/repos/community-x86_64/stunnel.tmpfiles.conf -----------------------+ Makefile.patch | 24 +++++------ PKGBUILD | 104 ++++++++++++++++++++++++------------------------ stunnel.install | 40 +++++++++--------- stunnel.tmpfiles.conf | 2 4 files changed, 85 insertions(+), 85 deletions(-) Deleted: Makefile.patch =================================================================== --- Makefile.patch 2017-11-11 19:41:16 UTC (rev 266255) +++ Makefile.patch 2017-11-11 19:41:30 UTC (rev 266256) @@ -1,12 +0,0 @@ ---- tools/Makefile.in 2010-03-31 04:45:09.000000000 -0500 -+++ tools/Makefile.in 2010-04-11 17:17:41.000000000 -0500 -@@ -334,8 +334,7 @@ - - info-am: - --install-data-am: install-confDATA install-data-local \ -- install-examplesDATA -+install-data-am: install-confDATA install-examplesDATA - - install-dvi: install-dvi-am - Copied: stunnel/repos/community-x86_64/Makefile.patch (from rev 266255, stunnel/trunk/Makefile.patch) =================================================================== --- Makefile.patch (rev 0) +++ Makefile.patch 2017-11-11 19:41:30 UTC (rev 266256) @@ -0,0 +1,12 @@ +--- tools/Makefile.in 2010-03-31 04:45:09.000000000 -0500 ++++ tools/Makefile.in 2010-04-11 17:17:41.000000000 -0500 +@@ -334,8 +334,7 @@ + + info-am: + +-install-data-am: install-confDATA install-data-local \ +- install-examplesDATA ++install-data-am: install-confDATA install-examplesDATA + + install-dvi: install-dvi-am + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-11 19:41:16 UTC (rev 266255) +++ PKGBUILD 2017-11-11 19:41:30 UTC (rev 266256) @@ -1,52 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Kaiting Chen <kaitocr...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> -# Contributor: Kevin Piche <ke...@archlinux.org> - -pkgname=stunnel -pkgver=5.42 -pkgrel=1 -pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL" -arch=('i686' 'x86_64') -url="https://www.stunnel.org/" -license=('GPL') -depends=('openssl') -makedepends=('systemd') -install=$pkgname.install -source=("https://www.stunnel.org/downloads/archive/5.x/$pkgname-$pkgver.tar.gz"{,.asc} - 'Makefile.patch' - 'stunnel.tmpfiles.conf') -md5sums=('ad0a6c63b30ec40afc7a2326e9ce04e0' - 'SKIP' - '579f198ecb90a42fcbfd8a4e48006264' - '2e065a39998e57727ee79887bbd1751e') -validpgpkeys=('AC915EA30645D9D3D4DAE4FEB1048932DD3AAAA3') # Michał Trojnara - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # don't create a certificate... - patch -p0 <"$srcdir/Makefile.patch" - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-ipv6 \ - --disable-libwrap - - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - - install -Dm644 tools/stunnel.service "$pkgdir/usr/lib/systemd/system/stunnel.service" - install -Dm644 "$srcdir/stunnel.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/stunnel.conf" - - sed -e "s:/usr/var/lib/stunnel/:/var/run/stunnel:g" \ - -e "s:/usr/etc/stunnel/:/etc/stunnel/:g" \ - -e "s:no\(body\|group\):stunnel:g" \ - -i "$pkgdir/etc/stunnel/stunnel.conf-sample" -} Copied: stunnel/repos/community-x86_64/PKGBUILD (from rev 266255, stunnel/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-11 19:41:30 UTC (rev 266256) @@ -0,0 +1,52 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Kaiting Chen <kaitocr...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Kevin Piche <ke...@archlinux.org> + +pkgname=stunnel +pkgver=5.43 +pkgrel=1 +pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL" +arch=('i686' 'x86_64') +url="https://www.stunnel.org/" +license=('GPL') +depends=('openssl') +makedepends=('systemd') +install=$pkgname.install +source=("https://www.stunnel.org/downloads/archive/5.x/$pkgname-$pkgver.tar.gz"{,.asc} + 'Makefile.patch' + 'stunnel.tmpfiles.conf') +md5sums=('e8efcb8a28ffb7c0de30755e0ea228c1' + 'SKIP' + '579f198ecb90a42fcbfd8a4e48006264' + '2e065a39998e57727ee79887bbd1751e') +validpgpkeys=('AC915EA30645D9D3D4DAE4FEB1048932DD3AAAA3') # Michał Trojnara + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # don't create a certificate... + patch -p0 <"$srcdir/Makefile.patch" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-ipv6 \ + --disable-libwrap + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + install -Dm644 tools/stunnel.service "$pkgdir/usr/lib/systemd/system/stunnel.service" + install -Dm644 "$srcdir/stunnel.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/stunnel.conf" + + sed -e "s:/usr/var/lib/stunnel/:/var/run/stunnel:g" \ + -e "s:/usr/etc/stunnel/:/etc/stunnel/:g" \ + -e "s:no\(body\|group\):stunnel:g" \ + -i "$pkgdir/etc/stunnel/stunnel.conf-sample" +} Deleted: stunnel.install =================================================================== --- stunnel.install 2017-11-11 19:41:16 UTC (rev 266255) +++ stunnel.install 2017-11-11 19:41:30 UTC (rev 266256) @@ -1,20 +0,0 @@ -post_install() { - # add stunnel group - if ! getent group stunnel >/dev/null 2>&1; then - groupadd -g 16 stunnel - fi - - # add stunnel user - if ! getent passwd stunnel >/dev/null 2>&1; then - useradd -u 16 -g stunnel -d /var/run/stunnel -s /bin/false stunnel - fi - - # create chroot dir if necessary. - if [ ! -d /var/run/stunnel ]; then - install -dm770 -o stunnel -g stunnel /var/run/stunnel - fi -} - -post_upgrade() { - post_install "$@" -} Copied: stunnel/repos/community-x86_64/stunnel.install (from rev 266255, stunnel/trunk/stunnel.install) =================================================================== --- stunnel.install (rev 0) +++ stunnel.install 2017-11-11 19:41:30 UTC (rev 266256) @@ -0,0 +1,20 @@ +post_install() { + # add stunnel group + if ! getent group stunnel >/dev/null 2>&1; then + groupadd -g 16 stunnel + fi + + # add stunnel user + if ! getent passwd stunnel >/dev/null 2>&1; then + useradd -u 16 -g stunnel -d /var/run/stunnel -s /bin/false stunnel + fi + + # create chroot dir if necessary. + if [ ! -d /var/run/stunnel ]; then + install -dm770 -o stunnel -g stunnel /var/run/stunnel + fi +} + +post_upgrade() { + post_install "$@" +} Deleted: stunnel.tmpfiles.conf =================================================================== --- stunnel.tmpfiles.conf 2017-11-11 19:41:16 UTC (rev 266255) +++ stunnel.tmpfiles.conf 2017-11-11 19:41:30 UTC (rev 266256) @@ -1 +0,0 @@ -d /var/run/stunnel 0770 stunnel stunnel - Copied: stunnel/repos/community-x86_64/stunnel.tmpfiles.conf (from rev 266255, stunnel/trunk/stunnel.tmpfiles.conf) =================================================================== --- stunnel.tmpfiles.conf (rev 0) +++ stunnel.tmpfiles.conf 2017-11-11 19:41:30 UTC (rev 266256) @@ -0,0 +1 @@ +d /var/run/stunnel 0770 stunnel stunnel -