aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-19 21:20:53 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-19 22:51:49 +0100
commit16230aa38cdb4e86db5a601af3689af329a833db (patch)
treec673e4699d68d79e2d749cf9b62b78fab8a4feb1
parent64c6f1e9d0c47f96b84a3e4f1c461e3e3f8329fb (diff)
downloadaports-16230aa38cdb4e86db5a601af3689af329a833db.tar.gz
aports-16230aa38cdb4e86db5a601af3689af329a833db.tar.bz2
aports-16230aa38cdb4e86db5a601af3689af329a833db.tar.xz
main/alpine-conf: backport crond git patch
-rw-r--r--main/alpine-conf/0001-setup-alpine-cron-service-was-renamed-to-crond.patch25
-rw-r--r--main/alpine-conf/APKBUILD23
2 files changed, 33 insertions, 15 deletions
diff --git a/main/alpine-conf/0001-setup-alpine-cron-service-was-renamed-to-crond.patch b/main/alpine-conf/0001-setup-alpine-cron-service-was-renamed-to-crond.patch
new file mode 100644
index 0000000000..9b051ce9f7
--- /dev/null
+++ b/main/alpine-conf/0001-setup-alpine-cron-service-was-renamed-to-crond.patch
@@ -0,0 +1,25 @@
+From 30687f8a92475a8b492d55ad51986e5cbf555bd0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
+Date: Sat, 19 Mar 2016 21:16:38 +0100
+Subject: [PATCH] setup-alpine: cron service was renamed to crond
+
+---
+ setup-alpine.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup-alpine.in b/setup-alpine.in
+index cc10483..1a34704 100644
+--- a/setup-alpine.in
++++ b/setup-alpine.in
+@@ -147,7 +147,7 @@ fi
+ rc-update --quiet add networking boot
+ rc-update --quiet add urandom boot
+ rc-update --quiet add acpid
+-rc-update --quiet add cron
++rc-update --quiet add crond
+
+ # enable new hostname
+ /etc/init.d/hostname --quiet restart
+--
+2.7.4
+
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index 37dca1b7e8..50bdacb57d 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,26 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.3.2
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
arch="all"
license="MIT"
depends="openrc>0.13"
source="http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-$pkgver.tar.xz
- "
+ 0001-setup-alpine-cron-service-was-renamed-to-crond.patch"
_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
cd "$_builddir"
make VERSION=$pkgver-r$pkgrel || return 1
@@ -34,6 +24,9 @@ package() {
done
}
-md5sums="4b3a449af554d95b1b2d8c7f58849741 alpine-conf-3.3.2.tar.xz"
-sha256sums="8875061df0ae18539b45307680f46f0441589c8b4a0e5a19ef5cb4eff9fa294f alpine-conf-3.3.2.tar.xz"
-sha512sums="e8335a47f21ca78adfda0f01e7f000015a2ecbff3f1eb965d4139c1e8784d2894716655b9d0de7c7c8abb306128838ae13c62aec87738132c44a410addd26141 alpine-conf-3.3.2.tar.xz"
+md5sums="4b3a449af554d95b1b2d8c7f58849741 alpine-conf-3.3.2.tar.xz
+7ba0188d9a957f3fba3d7836760cccc7 0001-setup-alpine-cron-service-was-renamed-to-crond.patch"
+sha256sums="8875061df0ae18539b45307680f46f0441589c8b4a0e5a19ef5cb4eff9fa294f alpine-conf-3.3.2.tar.xz
+8f2d333bde574ab4b738136ade22cb56eba3a2c4d24bcf30dc897022ae873e09 0001-setup-alpine-cron-service-was-renamed-to-crond.patch"
+sha512sums="e8335a47f21ca78adfda0f01e7f000015a2ecbff3f1eb965d4139c1e8784d2894716655b9d0de7c7c8abb306128838ae13c62aec87738132c44a410addd26141 alpine-conf-3.3.2.tar.xz
+8d553608e4f024991dbe61afddac6d35dd78a27c10c8cb55a68f80676c4895cf8984267e0f612eba07e5d45bfaf3a170d23ccdb8bf8af9b875f5bd35cba51252 0001-setup-alpine-cron-service-was-renamed-to-crond.patch"