aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-07-17 09:48:13 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-07-17 09:48:19 +0000
commit6b8e59612c76aa6cd8a8e86e44c278750f898e81 (patch)
treefa0e34e5b6d68a6bae81fc90f4d8cac745485089
parente5b91cf2c833d08256364393f837c40972438cbb (diff)
downloadaports-6b8e59612c76aa6cd8a8e86e44c278750f898e81.tar.bz2
aports-6b8e59612c76aa6cd8a8e86e44c278750f898e81.tar.xz
testing/docker-registry: cosmetic changes, fix initd
-rw-r--r--testing/docker-registry/APKBUILD14
-rw-r--r--testing/docker-registry/docker-registry.initd2
2 files changed, 7 insertions, 9 deletions
diff --git a/testing/docker-registry/APKBUILD b/testing/docker-registry/APKBUILD
index 356e61a443..2d251cef05 100644
--- a/testing/docker-registry/APKBUILD
+++ b/testing/docker-registry/APKBUILD
@@ -8,10 +8,8 @@ arch="x86_64"
license="MIT"
makedepends="git go"
backup="/etc/${pkgname}/config.yml"
-source="
- $pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz
- docker-registry.initd
- "
+source="$pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz
+ docker-registry.initd"
_builddir="$srcdir/distribution-$pkgver"
prepare() {
@@ -32,7 +30,7 @@ build() {
# GOPATH fix
ln -s "${DISTRIBUTION_DIR}" "${DISTRIBUTION_DIR}/Godeps/_workspace/src/github.com/docker/distribution"
- make clean binaries
+ make clean binaries || return 1
}
package() {
@@ -42,8 +40,8 @@ package() {
install -v -D -m644 "${DISTRIBUTION_DIR}/cmd/registry/config.yml" "${pkgdir}/etc/${pkgname}/config.yml"
}
md5sums="7dc693ced280834bb37913b7164953b7 docker-registry-2.0.1.tar.gz
-95f83f704c630aadb167cbcbfad867cb docker-registry.initd"
+7bb346742afa5d44ef15df9855f295b1 docker-registry.initd"
sha256sums="1664584c311dac98a8b09880d5c79ffceea7a4e0f2359be70c6a9a6ddd9d804a docker-registry-2.0.1.tar.gz
-f4cbf23714741b3a867ef0842ccac5b9236de241dfd9407a22dc97bcc01f2637 docker-registry.initd"
+c441b0cfac0fbb45fbc78563a07d812704d06ceb0a3b46b0a4377e55b02c5c21 docker-registry.initd"
sha512sums="3f8e73f04f2a2ea20eaeb0b065e5107b85fa937680aeac750b59e413aa769de98320b88b573a674b60ebb53291cdae1905e92563c827a7f3c14e9d7db17eeaa9 docker-registry-2.0.1.tar.gz
-4aaf59be97cbd5145cfa3a897628fd2193d8967388d0314e22b08981d4bf56d134c119e3abd4751e40f349e535e165e5595c354f04b075f8e872a4feadeddd04 docker-registry.initd"
+4bedcb02d8f8b4f4f778d8c7af889c5d06affae5340a8e6deb228964294ff0257f2035c95c3d65d123a9e1ca9169c29c84a2c8a38c7c0b393b3221442fc447b3 docker-registry.initd"
diff --git a/testing/docker-registry/docker-registry.initd b/testing/docker-registry/docker-registry.initd
index 62fd0bfa65..0f0e34fb7d 100644
--- a/testing/docker-registry/docker-registry.initd
+++ b/testing/docker-registry/docker-registry.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# $Header: $
DOCKER_REGISTRY_LOGFILE=${DOCKER_REGISTRY_LOGFILE:-/var/log/${SVCNAME}.log}