[arch-commits] Commit in stunnel/repos (5 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Apr 17 20:50:44 UTC 2018
Date: Tuesday, April 17, 2018 @ 20:50:44
Author: bpiotrowski
Revision: 316793
archrelease: copy trunk to community-staging-x86_64
Added:
stunnel/repos/community-staging-x86_64/
stunnel/repos/community-staging-x86_64/Makefile.patch
(from rev 316792, stunnel/trunk/Makefile.patch)
stunnel/repos/community-staging-x86_64/PKGBUILD
(from rev 316792, stunnel/trunk/PKGBUILD)
stunnel/repos/community-staging-x86_64/stunnel.sysusers.conf
(from rev 316792, stunnel/trunk/stunnel.sysusers.conf)
stunnel/repos/community-staging-x86_64/stunnel.tmpfiles.conf
(from rev 316792, stunnel/trunk/stunnel.tmpfiles.conf)
-----------------------+
Makefile.patch | 12 ++++++++++
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
stunnel.sysusers.conf | 1
stunnel.tmpfiles.conf | 1
4 files changed, 68 insertions(+)
Copied: stunnel/repos/community-staging-x86_64/Makefile.patch (from rev 316792, stunnel/trunk/Makefile.patch)
===================================================================
--- community-staging-x86_64/Makefile.patch (rev 0)
+++ community-staging-x86_64/Makefile.patch 2018-04-17 20:50:44 UTC (rev 316793)
@@ -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
+
Copied: stunnel/repos/community-staging-x86_64/PKGBUILD (from rev 316792, stunnel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-04-17 20:50:44 UTC (rev 316793)
@@ -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=3
+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' 'libnsl')
+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"
+}
Copied: stunnel/repos/community-staging-x86_64/stunnel.sysusers.conf (from rev 316792, stunnel/trunk/stunnel.sysusers.conf)
===================================================================
--- community-staging-x86_64/stunnel.sysusers.conf (rev 0)
+++ community-staging-x86_64/stunnel.sysusers.conf 2018-04-17 20:50:44 UTC (rev 316793)
@@ -0,0 +1 @@
+u stunnel 16 - /var/run/stunnel
Copied: stunnel/repos/community-staging-x86_64/stunnel.tmpfiles.conf (from rev 316792, stunnel/trunk/stunnel.tmpfiles.conf)
===================================================================
--- community-staging-x86_64/stunnel.tmpfiles.conf (rev 0)
+++ community-staging-x86_64/stunnel.tmpfiles.conf 2018-04-17 20:50:44 UTC (rev 316793)
@@ -0,0 +1 @@
+d /var/run/stunnel 0770 stunnel stunnel -
More information about the arch-commits
mailing list