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

Christian Hesse eworm at archlinux.org
Wed Jul 5 11:02:54 UTC 2017


    Date: Wednesday, July 5, 2017 @ 11:02:54
  Author: eworm
Revision: 299687

remove upgrade instructions

We are a rolling release distribution and expect our users
to do regular updates, no?

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

-----------------+
 PKGBUILD        |    1 -
 openvpn.install |   24 ------------------------
 2 files changed, 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-05 08:17:41 UTC (rev 299686)
+++ PKGBUILD	2017-07-05 11:02:54 UTC (rev 299687)
@@ -11,7 +11,6 @@
 optdepends=('easy-rsa: easy CA and certificate handling')
 makedepends=('systemd')
 license=('custom')
-install=openvpn.install
 validpgpkeys=('F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7') # OpenVPN - Security Mailing List <security at openvpn.net>
 #source=("https://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.xz"{,.asc})
 source=("http://www.eurephia.net/openvpn/openvpn-${pkgver}.tar.xz"

Deleted: openvpn.install
===================================================================
--- openvpn.install	2017-07-05 08:17:41 UTC (rev 299686)
+++ openvpn.install	2017-07-05 11:02:54 UTC (rev 299687)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-post_upgrade() {
-  # return if old package version greater 2.4...
-  (( $(vercmp $2 '2.4') > 0 )) && return
-
-  # upgrade from pre-2.4 version...
-  echo "This upgrade from openvpn $2 to openvpn $1 made changes that require"
-  echo "administrative interaction:"
-  echo " -> Configuration is expected in sub directories now. Move your files"
-  echo "    from /etc/openvpn/ to /etc/openvpn/server/ or /etc/openvpn/client/."
-  echo " -> The plugin lookup path changed, remove extra 'plugins/' from relative paths."
-  echo " -> The systemd unit openvpn at .service was replaced with openvpn-client at .service"
-  echo "    and openvpn-server at .service. Restart and reenable accordingly."
-
-  local UNITS="$(systemctl list-units --quiet --no-pager --no-legend --plain | grep '^openvpn@' | cut -d' ' -f1)"
-  if (( ${#UNITS} )); then
-    echo "This is a (possibly incomplete) list of units that need to be acted on:"
-    for UNIT in ${UNITS}; do
-      echo " -> ${UNIT}"
-    done
-  fi
-}
-



More information about the arch-commits mailing list