Date: Tuesday, August 7, 2018 @ 18:12:01 Author: bluewind Revision: 331118
upgpkg: netctl 1.18-1 upstream update Added: netctl/trunk/netctl.install Modified: netctl/trunk/PKGBUILD ----------------+ PKGBUILD | 9 +++++---- netctl.install | 10 ++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-08-07 16:13:33 UTC (rev 331117) +++ PKGBUILD 2018-08-07 18:12:01 UTC (rev 331118) @@ -1,13 +1,13 @@ # Maintainer: Jouke Witteveen <[email protected]> pkgname=netctl -pkgver=1.17 +pkgver=1.18 pkgrel=1 pkgdesc='Profile based systemd network management' url='http://projects.archlinux.org/netctl.git/' license=('GPL') groups=('base') -depends=('coreutils' 'iproute2' 'openresolv' 'systemd>=233') +depends=('coreutils' 'iproute2' 'resolvconf' 'systemd>=233') # The source tarball includes pre-built (using asciidoc) documentation. makedepends=('pkg-config') optdepends=('dialog: for the menu based wifi assistant' @@ -19,10 +19,11 @@ 'ppp: for PPP connections' 'openvswitch: for Open vSwitch connections' ) +install=netctl.install source=(https://sources.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig}) arch=('any') -md5sums=('be885c955e124253bd7e634abe310e38' - 'aafc24eaac9eeb11f84378cbf81e8e68') +md5sums=('cb9981dc74923d018666454f5b1a0bd3' + 'cd1c932108e17249008905d295d5288d') validpgpkeys=('CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E') # Florian Pritz package() { Added: netctl.install =================================================================== --- netctl.install (rev 0) +++ netctl.install 2018-08-07 18:12:01 UTC (rev 331118) @@ -0,0 +1,10 @@ +post_upgrade() { + if [[ $(vercmp 1.18 "$2") -gt 0 ]]; then + grep -ls '^.include ' /etc/systemd/system/netctl@*.service | \ + while read -r unit; do + profile=$(systemd-escape --unescape "${unit:27:-8}") + echo ":: The unit for profile '$profile' uses deprecated features." + echo " Consider running: netctl reenable $(printf '%q' "$profile")" + done + fi +}
