Date: Thursday, May 12, 2016 @ 22:25:45 Author: bpiotrowski Revision: 267910
archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/PKGBUILD (from rev 267909, openvpn/trunk/PKGBUILD) openvpn/repos/testing-x86_64/openvpn.install (from rev 267909, openvpn/trunk/openvpn.install) openvpn/repos/testing-x86_64/openvpn@.service (from rev 267909, openvpn/trunk/openvpn@.service) Deleted: openvpn/repos/testing-x86_64/PKGBUILD openvpn/repos/testing-x86_64/openvpn.install openvpn/repos/testing-x86_64/openvpn@.service ------------------+ PKGBUILD | 112 ++++++++++++++++++++++++++--------------------------- openvpn.install | 16 +++---- openvpn@.service | 30 +++++++------- 3 files changed, 79 insertions(+), 79 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-12 20:24:57 UTC (rev 267909) +++ PKGBUILD 2016-05-12 20:25:45 UTC (rev 267910) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Thomas Bächler <tho...@archlinux.org> - -pkgname=openvpn -pkgver=2.3.11 -pkgrel=1 -pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" -arch=(i686 x86_64) -url="http://openvpn.net/index.php/open-source.html" -depends=('openssl' 'lzo' 'iproute2' 'libsystemd') -makedepends=('systemd') -license=('custom') -install=openvpn.install -source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz - http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz.asc - openvpn@.service) -sha256sums=('0f5f1ca1dc5743fa166d93dd4ec952f014b5f33bafd88f0ea34b455cae1434a7' - 'SKIP' - '47a4ee993f8aaa7370e9a84384fcfc993fd76aa4db11c46629b156d0c5fad49a') -validpgpkeys=('03300E11FED16F59715F9996C29D97ED198D22A3') # Samuli Seppänen - -build() { - cd "${srcdir}"/$pkgname-$pkgver - CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --enable-password-save \ - --mandir=/usr/share/man \ - --enable-iproute2 \ - --enable-systemd \ - --enable-x509-alt-username - make -} - -package() { - cd "${srcdir}"/$pkgname-$pkgver - - # Install openvpn - make DESTDIR="${pkgdir}" install - install -d -m755 "${pkgdir}"/etc/openvpn - - # Install examples - install -d -m755 "${pkgdir}"/usr/share/openvpn - cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples - - # Install license - install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/ - ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/ - - # Install contrib - install -d -m755 "${pkgdir}"/usr/share/openvpn/contrib - cp -r contrib "${pkgdir}"/usr/share/openvpn - - # Install systemd service - install -D -m644 "${srcdir}"/openvpn@.service "${pkgdir}"/usr/lib/systemd/system/openvpn@.service -} Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 267909, openvpn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-12 20:25:45 UTC (rev 267910) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Thomas Bächler <tho...@archlinux.org> + +pkgname=openvpn +pkgver=2.3.11 +pkgrel=1 +pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" +arch=(i686 x86_64) +url="http://openvpn.net/index.php/open-source.html" +depends=('openssl' 'lzo' 'iproute2' 'libsystemd') +makedepends=('systemd') +license=('custom') +install=openvpn.install +source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz + http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz.asc + openvpn@.service) +sha256sums=('0f5f1ca1dc5743fa166d93dd4ec952f014b5f33bafd88f0ea34b455cae1434a7' + 'SKIP' + '47a4ee993f8aaa7370e9a84384fcfc993fd76aa4db11c46629b156d0c5fad49a') +validpgpkeys=('03300E11FED16F59715F9996C29D97ED198D22A3') # Samuli Seppänen + +build() { + cd "${srcdir}"/$pkgname-$pkgver + CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-password-save \ + --mandir=/usr/share/man \ + --enable-iproute2 \ + --enable-systemd \ + --enable-x509-alt-username + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + # Install openvpn + make DESTDIR="${pkgdir}" install + install -d -m755 "${pkgdir}"/etc/openvpn + + # Install examples + install -d -m755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install license + install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/ + ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/ + + # Install contrib + install -d -m755 "${pkgdir}"/usr/share/openvpn/contrib + cp -r contrib "${pkgdir}"/usr/share/openvpn + + # Install systemd service + install -D -m644 "${srcdir}"/openvpn@.service "${pkgdir}"/usr/lib/systemd/system/openvpn@.service +} Deleted: openvpn.install =================================================================== --- openvpn.install 2016-05-12 20:24:57 UTC (rev 267909) +++ openvpn.install 2016-05-12 20:25:45 UTC (rev 267910) @@ -1,8 +0,0 @@ -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - if [ $(vercmp 2.3.2-1 $2) -ge 0 ]; then - echo ">>> easy-rsa has moved into its own package. Run:" - echo ">>> # pacman -S easy-rsa" - fi -} Copied: openvpn/repos/testing-x86_64/openvpn.install (from rev 267909, openvpn/trunk/openvpn.install) =================================================================== --- openvpn.install (rev 0) +++ openvpn.install 2016-05-12 20:25:45 UTC (rev 267910) @@ -0,0 +1,8 @@ +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + if [ $(vercmp 2.3.2-1 $2) -ge 0 ]; then + echo ">>> easy-rsa has moved into its own package. Run:" + echo ">>> # pacman -S easy-rsa" + fi +} Deleted: openvpn@.service =================================================================== --- openvpn@.service 2016-05-12 20:24:57 UTC (rev 267909) +++ openvpn@.service 2016-05-12 20:25:45 UTC (rev 267910) @@ -1,15 +0,0 @@ -[Unit] -Description=OpenVPN connection to %i - -[Service] -PrivateTmp=true -Type=forking -ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid --status-version 2 -PIDFile=/run/openvpn@%i.pid -CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH -LimitNPROC=10 -DeviceAllow=/dev/null rw -DeviceAllow=/dev/net/tun rw - -[Install] -WantedBy=multi-user.target Copied: openvpn/repos/testing-x86_64/openvpn@.service (from rev 267909, openvpn/trunk/openvpn@.service) =================================================================== --- openvpn@.service (rev 0) +++ openvpn@.service 2016-05-12 20:25:45 UTC (rev 267910) @@ -0,0 +1,15 @@ +[Unit] +Description=OpenVPN connection to %i + +[Service] +PrivateTmp=true +Type=forking +ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid --status-version 2 +PIDFile=/run/openvpn@%i.pid +CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH +LimitNPROC=10 +DeviceAllow=/dev/null rw +DeviceAllow=/dev/net/tun rw + +[Install] +WantedBy=multi-user.target