summaryrefslogtreecommitdiff
path: root/user/netifrc/APKBUILD
diff options
context:
space:
mode:
authorLee Starnes <lee@canned-death.us>2020-09-13 20:55:31 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-09-13 20:55:31 +0000
commitcf7e1ee8ae9060afb6d124712cc740fc9485acdd (patch)
treea6bd5a4605ad6047eee562615a7a7cef57336c7f /user/netifrc/APKBUILD
parent1a1558f77106adeb93d6bcd8eea552b678e93f89 (diff)
downloadpackages-cf7e1ee8ae9060afb6d124712cc740fc9485acdd.tar.gz
packages-cf7e1ee8ae9060afb6d124712cc740fc9485acdd.tar.bz2
packages-cf7e1ee8ae9060afb6d124712cc740fc9485acdd.tar.xz
packages-cf7e1ee8ae9060afb6d124712cc740fc9485acdd.zip
user/netifrc: bump to 0.7.1; replace gawk w/ perl
net/l2tp.sh depends on the 3-argument match() provided by GNU awk, which mawk doesn't implement. Rather than rewrite this in mawk, which would be very hard, instead translate it to perl, which is in system. Also upgrade to 0.7.1.
Diffstat (limited to 'user/netifrc/APKBUILD')
-rw-r--r--user/netifrc/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/user/netifrc/APKBUILD b/user/netifrc/APKBUILD
index 6749f98c7..01bd4ec96 100644
--- a/user/netifrc/APKBUILD
+++ b/user/netifrc/APKBUILD
@@ -1,17 +1,19 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Contrinutor: Lee Starnes <lee@canned-death.us>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=netifrc
-pkgver=0.6.1
+pkgver=0.7.1
pkgrel=0
pkgdesc="User-friendly network interface management scripts for OpenRC"
url="https://www.gentoo.org/proj/en/base/openrc/"
arch="noarch"
options="!check" # No test suite.
license="BSD-2-Clause"
-depends="eudev openrc"
+depends="eudev openrc perl"
makedepends="eudev-dev pkgconf"
subpackages="$pkgname-doc $pkgname-openrc"
-source="https://gitweb.gentoo.org/proj/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz"
+source="https://gitweb.gentoo.org/proj/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz
+ switch-l2tp-gawk-to-perl.patch"
build() {
make UDEVDIR=/lib/udev LIBEXECDIR=/lib/$pkgname PF="$pkgname-$pkgver"
@@ -24,4 +26,5 @@ package() {
done
}
-sha512sums="798a882f87f153c31b415d77a06a2beca94a958ea982aca20bbc2cf6a7d800aedbd99a577734ea41d6a75807b13d640dd7fa5a51aa5a27055e9c552634ac7bdb netifrc-0.6.1.tar.gz"
+sha512sums="407071f8f58b7788703a62193677673ddd18114b69142894674337410473e620cf3895bb014cff133f719ac1a7191ac3bedfd969c9a11bf2f1c4b04d39683057 netifrc-0.7.1.tar.gz
+5fdd2d2c16dd0ba0ba629dfda50133d132b81afcd8e566c8b81cd3aee8e4a86f063d8ac7bc451fff31f77186a7b790a2e642acac8b44c51934f8332a9dc0bfbd switch-l2tp-gawk-to-perl.patch"