[arch-commits] Commit in openvpn/trunk (PKGBUILD openvpn.install)

Christian Hesse eworm at archlinux.org
Tue Jul 19 05:53:15 UTC 2016


    Date: Tuesday, July 19, 2016 @ 05:53:15
  Author: eworm
Revision: 271993

drop install script, add optdepends for easy-rsa

Modified:
  openvpn/trunk/PKGBUILD
Deleted:
  openvpn/trunk/openvpn.install

-----------------+
 PKGBUILD        |    4 ++--
 openvpn.install |    8 --------
 2 files changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-18 22:47:12 UTC (rev 271992)
+++ PKGBUILD	2016-07-19 05:53:15 UTC (rev 271993)
@@ -8,11 +8,11 @@
 arch=(i686 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')
 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
+source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz{,.asc}
         openvpn at .service)
 sha256sums=('0f5f1ca1dc5743fa166d93dd4ec952f014b5f33bafd88f0ea34b455cae1434a7'
             'SKIP'

Deleted: openvpn.install
===================================================================
--- openvpn.install	2016-07-18 22:47:12 UTC (rev 271992)
+++ openvpn.install	2016-07-19 05:53:15 UTC (rev 271993)
@@ -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
-}



More information about the arch-commits mailing list