[arch-commits] Commit in stunnel/repos/community-x86_64 (8 files)
Eli Schwartz
eschwartz at archlinux.org
Wed Jan 10 03:10:34 UTC 2018
Date: Wednesday, January 10, 2018 @ 03:10:33
Author: eschwartz
Revision: 280821
archrelease: copy trunk to community-x86_64
Added:
stunnel/repos/community-x86_64/Makefile.patch
(from rev 280820, stunnel/trunk/Makefile.patch)
stunnel/repos/community-x86_64/PKGBUILD
(from rev 280820, stunnel/trunk/PKGBUILD)
stunnel/repos/community-x86_64/stunnel.sysusers.conf
(from rev 280820, stunnel/trunk/stunnel.sysusers.conf)
stunnel/repos/community-x86_64/stunnel.tmpfiles.conf
(from rev 280820, 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 | 106 ++++++++++++++++++++++++------------------------
stunnel.install | 20 ---------
stunnel.sysusers.conf | 1
stunnel.tmpfiles.conf | 2
5 files changed, 68 insertions(+), 85 deletions(-)
Deleted: Makefile.patch
===================================================================
--- Makefile.patch 2018-01-10 03:09:58 UTC (rev 280820)
+++ Makefile.patch 2018-01-10 03:10:33 UTC (rev 280821)
@@ -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 280820, stunnel/trunk/Makefile.patch)
===================================================================
--- Makefile.patch (rev 0)
+++ Makefile.patch 2018-01-10 03:10:33 UTC (rev 280821)
@@ -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 2018-01-10 03:09:58 UTC (rev 280820)
+++ PKGBUILD 2018-01-10 03:10:33 UTC (rev 280821)
@@ -1,52 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-
-pkgname=stunnel
-pkgver=5.44
-pkgrel=1
-pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL"
-arch=('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=('47697dee496c80c8e352b2b705c4a571'
- '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 280820, stunnel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-10 03:10:33 UTC (rev 280821)
@@ -0,0 +1,54 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=stunnel
+pkgver=5.44
+pkgrel=2
+pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL"
+arch=('x86_64')
+url="https://www.stunnel.org/"
+license=('GPL')
+depends=('openssl')
+makedepends=('systemd')
+source=("https://www.stunnel.org/downloads/archive/5.x/$pkgname-$pkgver.tar.gz"{,.asc}
+ 'Makefile.patch'
+ 'stunnel.sysusers.conf'
+ 'stunnel.tmpfiles.conf')
+sha256sums=('990a325dbb47d77d88772dd02fbbd27d91b1fea3ece76c9ff4461eca93f12299'
+ 'SKIP'
+ '1d60f6504d9d29ef1832c242b62f09dcd8c31fbdf5aa1297779c8e5c54aa33de'
+ 'c73ade1db94a280778be6c0876862108c31faa1a92d7485d699a725894443c78'
+ 'e27c3f9fe440550ddc03446c0315710b80ebddb51085f169bbc765d7ab56ea63')
+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.sysusers.conf" "$pkgdir/usr/lib/sysusers.d/stunnel.conf"
+ 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 2018-01-10 03:09:58 UTC (rev 280820)
+++ stunnel.install 2018-01-10 03:10:33 UTC (rev 280821)
@@ -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.sysusers.conf (from rev 280820, stunnel/trunk/stunnel.sysusers.conf)
===================================================================
--- stunnel.sysusers.conf (rev 0)
+++ stunnel.sysusers.conf 2018-01-10 03:10:33 UTC (rev 280821)
@@ -0,0 +1 @@
+u stunnel 16 - /var/run/stunnel
Deleted: stunnel.tmpfiles.conf
===================================================================
--- stunnel.tmpfiles.conf 2018-01-10 03:09:58 UTC (rev 280820)
+++ stunnel.tmpfiles.conf 2018-01-10 03:10:33 UTC (rev 280821)
@@ -1 +0,0 @@
-d /var/run/stunnel 0770 stunnel stunnel -
Copied: stunnel/repos/community-x86_64/stunnel.tmpfiles.conf (from rev 280820, stunnel/trunk/stunnel.tmpfiles.conf)
===================================================================
--- stunnel.tmpfiles.conf (rev 0)
+++ stunnel.tmpfiles.conf 2018-01-10 03:10:33 UTC (rev 280821)
@@ -0,0 +1 @@
+d /var/run/stunnel 0770 stunnel stunnel -
More information about the arch-commits
mailing list