[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, October 27, 2020 @ 21:09:19 Author: eworm Revision: 398954 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 398953, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 77 + 1 file changed, 77 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 398953, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-10-27 21:09:19 UTC (rev 398954) @@ -0,0 +1,77 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +_tag='8c3dc0551390e92bfd5b2dc83d7502e7095b7325' # git rev-parse v${pkgver} +pkgver=2.5.0 +pkgrel=1 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'lz4' 'systemd-libs' 'libsystemd.so' 'pkcs11-helper' 'libpkcs11-helper.so') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd' 'python-docutils') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=${_tag}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + # https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19302.html + sed -i '/^CONFIGURE_DEFINES=/s/set/env/g' configure.ac + + autoreconf --force --install +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + "${srcdir}"/openvpn/configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type --no-sandbox "${FILE}")" in + "text/x-shellscript") +install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) +install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +}
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Monday, April 20, 2020 @ 20:59:12 Author: eworm Revision: 380643 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 380642, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 78 + 1 file changed, 78 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 380642, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-04-20 20:59:12 UTC (rev 380643) @@ -0,0 +1,78 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.9 +pkgrel=2 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf --force --install +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + # for reproducibility we force bash for build system: + # https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19302.html + # https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Defining-Variables.html + + CONFIG_SHELL=/bin/bash "${srcdir}"/${pkgname}/configure \ +CONFIG_SHELL=/bin/bash \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type --no-sandbox "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, April 16, 2020 @ 19:03:34 Author: eworm Revision: 380436 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 380435, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 78 + 1 file changed, 78 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 380435, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-04-16 19:03:34 UTC (rev 380436) @@ -0,0 +1,78 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.9 +pkgrel=1 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf --force --install +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + # for reproducibility we force bash for build system: + # https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19302.html + # https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Defining-Variables.html + + CONFIG_SHELL=/bin/bash "${srcdir}"/${pkgname}/configure \ +CONFIG_SHELL=/bin/bash \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Friday, January 3, 2020 @ 07:19:53 Author: eworm Revision: 372499 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 372498, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 74 + 1 file changed, 74 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 372498, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-03 07:19:53 UTC (rev 372499) @@ -0,0 +1,74 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.8 +pkgrel=4 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf --force --install +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + CONFIG_SHELL=/bin/bash "${srcdir}"/${pkgname}/configure \ +CONFIG_SHELL=/bin/bash \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, January 2, 2020 @ 08:26:46 Author: eworm Revision: 372466 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 372465, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 372465, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-02 08:26:46 UTC (rev 372466) @@ -0,0 +1,73 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.8 +pkgrel=3 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf --force --install +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + "${srcdir}"/${pkgname}/configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Monday, December 30, 2019 @ 23:10:44 Author: eworm Revision: 372398 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 372397, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 372397, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-30 23:10:44 UTC (rev 372398) @@ -0,0 +1,73 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.8 +pkgrel=2 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf -i +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + "${srcdir}"/${pkgname}/configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Wednesday, October 30, 2019 @ 12:07:41 Author: eworm Revision: 366088 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 366087, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 366087, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-30 12:07:41 UTC (rev 366088) @@ -0,0 +1,73 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.8 +pkgrel=1 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+https://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed;) +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf -i +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + "${srcdir}"/${pkgname}/configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, February 19, 2019 @ 20:59:19 Author: eworm Revision: 346564 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 346563, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 346563, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-02-19 20:59:19 UTC (rev 346564) @@ -0,0 +1,73 @@ +# Maintainer: Christian Hesse + +pkgname=openvpn +pkgver=2.4.7 +pkgrel=1 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='https://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'systemd-libs' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('git' 'systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7' # OpenVPN - Security Mailing List + 'B62E6A2B4E56570B7BDC6BE01D829EFECA562812') # Gert Doering +source=("git+git://github.com/OpenVPN/openvpn.git#tag=v${pkgver}?signed") +sha256sums=('SKIP') + +prepare() { + cd "${srcdir}"/${pkgname} + + autoreconf -i +} + +build() { + mkdir "${srcdir}"/build + cd "${srcdir}"/build + + "${srcdir}"/${pkgname}/configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/build + + make check +} + +package() { + cd "${srcdir}"/build + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + cd "${srcdir}"/${pkgname} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, April 24, 2018 @ 13:44:24 Author: eworm Revision: 322910 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 322909, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 322909, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-04-24 13:44:24 UTC (rev 322910) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Christian Hesse+ +pkgname=openvpn +pkgver=2.4.6 +pkgrel=1 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='http://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'libsystemd' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7') # OpenVPN - Security Mailing List +source=("https://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz"{,.asc}) +sha256sums=('738dbd37fcf8eb9382c53628db22258c41ba9550165519d9200e8bebaef4cbe2' +'SKIP') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make check +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +
[arch-commits] Commit in openvpn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, March 1, 2018 @ 13:01:21 Author: eworm Revision: 317676 archrelease: copy trunk to testing-x86_64 Added: openvpn/repos/testing-x86_64/ openvpn/repos/testing-x86_64/PKGBUILD (from rev 317675, openvpn/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: openvpn/repos/testing-x86_64/PKGBUILD (from rev 317675, openvpn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-03-01 13:01:21 UTC (rev 317676) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Christian Hesse+ +pkgname=openvpn +pkgver=2.4.5 +pkgrel=1 +pkgdesc='An easy-to-use, robust and highly configurable VPN (Virtual Private Network)' +arch=('x86_64') +url='http://openvpn.net/index.php/open-source.html' +depends=('openssl' 'lzo' 'iproute2' 'libsystemd' 'pkcs11-helper') +optdepends=('easy-rsa: easy CA and certificate handling' +'pam: authenticate via PAM') +makedepends=('systemd') +license=('custom') +validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7') # OpenVPN - Security Mailing List +source=("https://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz"{,.asc}) +sha256sums=('43c0a363a332350f620d1cd93bb431e082bedbc93d4fb872f758650d53c1d29e' +'SKIP') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure \ +--prefix=/usr \ +--sbindir=/usr/bin \ +--enable-iproute2 \ +--enable-pkcs11 \ +--enable-plugins \ +--enable-systemd \ +--enable-x509-alt-username + make +} + +check() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make check +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + # Install openvpn + make DESTDIR="${pkgdir}" install + + # Create empty configuration directories + install -d -m0750 -g 90 "${pkgdir}"/etc/openvpn/{client,server} + + # Install examples + install -d -m0755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + + # Install license + install -d -m0755 "${pkgdir}"/usr/share/licenses/openvpn/ + ln -sf /usr/share/doc/openvpn/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/openvpn/ + + # Install contrib + for FILE in $(find contrib -type f); do +case "$(file --brief --mime-type "${FILE}")" in + "text/x-shellscript") install -D -m0755 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; + *) install -D -m0644 "${FILE}" "${pkgdir}/usr/share/openvpn/${FILE}" ;; +esac + done +} +