summaryrefslogtreecommitdiffstats
path: root/main/alpine-conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-03 06:25:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-03 06:25:10 +0000
commite3a8ec56b100c325508bbe171ef0939d15ddf3cd (patch)
treea49c93669c1c11ce767c32c994f36284c1a8b8a8 /main/alpine-conf
parentea8a8d1aa1208912fb1dbb2cfa8c6b1046438378 (diff)
downloadaports-e3a8ec56b100c325508bbe171ef0939d15ddf3cd.tar.bz2
aports-e3a8ec56b100c325508bbe171ef0939d15ddf3cd.tar.xz
main/alpine-conf: fix bug in setup-timezone opts parsing
Diffstat (limited to 'main/alpine-conf')
-rw-r--r--main/alpine-conf/0001-setup-timezone-fix-bug-in-getopts-parsing.patch25
-rw-r--r--main/alpine-conf/APKBUILD12
2 files changed, 33 insertions, 4 deletions
diff --git a/main/alpine-conf/0001-setup-timezone-fix-bug-in-getopts-parsing.patch b/main/alpine-conf/0001-setup-timezone-fix-bug-in-getopts-parsing.patch
new file mode 100644
index 000000000..29ba63230
--- /dev/null
+++ b/main/alpine-conf/0001-setup-timezone-fix-bug-in-getopts-parsing.patch
@@ -0,0 +1,25 @@
+From 762c6558e48409159fba7b12ce8fb0baf4e6e2f5 Mon Sep 17 00:00:00 2001
+From: Eivind Uggedal <eivind@uggedal.com>
+Date: Mon, 12 Aug 2013 22:26:16 +0200
+Subject: [PATCH] setup-timezone: fix bug in getopts parsing
+
+---
+ setup-timezone.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup-timezone.in b/setup-timezone.in
+index 41d4f16..5034223 100755
+--- a/setup-timezone.in
++++ b/setup-timezone.in
+@@ -47,7 +47,7 @@ while getopts "hp:z:" opt; do
+ case $opt in
+ h) usage;;
+ p) POSIXTZ="$OPTARG";;
+- t) ZONEINFOFOLDER="$OPTARG";;
++ z) ZONEINFOFOLDER="$OPTARG";;
+ esac
+ done
+
+--
+1.8.4
+
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index af976469c..7fefa5419 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,11 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.13.0
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz
+ 0001-setup-timezone-fix-bug-in-getopts-parsing.patch
"
arch="all"
@@ -36,6 +37,9 @@ package() {
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
-md5sums="29907dff864b4545e1fb5f49e08629bc alpine-conf-2.13.0.tar.xz"
-sha256sums="907c83a8fa1027e017fc84c7ff4bea62a41e7dcd2acd3ed7fa97ee1afc8a81ad alpine-conf-2.13.0.tar.xz"
-sha512sums="fb083d154cedbd9dfa5a2ab044e7ee29ecc58dfefe80bd3c1ca9eac9d080deece561cddea996278d7db42aae44fac4b00f19d32a23ec996fbf6a6c76b78b0e85 alpine-conf-2.13.0.tar.xz"
+md5sums="29907dff864b4545e1fb5f49e08629bc alpine-conf-2.13.0.tar.xz
+048af5408622f8d9fd1dcae5c48c0122 0001-setup-timezone-fix-bug-in-getopts-parsing.patch"
+sha256sums="907c83a8fa1027e017fc84c7ff4bea62a41e7dcd2acd3ed7fa97ee1afc8a81ad alpine-conf-2.13.0.tar.xz
+5e4dc989ab306444d470049a86225b976cdd73135bce805733c2218fd318029b 0001-setup-timezone-fix-bug-in-getopts-parsing.patch"
+sha512sums="fb083d154cedbd9dfa5a2ab044e7ee29ecc58dfefe80bd3c1ca9eac9d080deece561cddea996278d7db42aae44fac4b00f19d32a23ec996fbf6a6c76b78b0e85 alpine-conf-2.13.0.tar.xz
+b437594aac79b3bd3a38bf43e7ade4b612cac4f09f0a2c9fa413ea21dea07fe575e24724e000586b596308bdd220afee93baeabcdbe3594c7ffa8f6d5efb83b1 0001-setup-timezone-fix-bug-in-getopts-parsing.patch"