Commit 90378640 authored by Natanael Copa's avatar Natanael Copa

main/alpine-keys: move the keys out from alpine-base

This is we can install a chroot with the keys but wihout pulling in
openrc.
parent 8c43de5e
...@@ -2,34 +2,25 @@ ...@@ -2,34 +2,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-base pkgname=alpine-base
pkgver=2.6.0_alpha5_git20130313 pkgver=2.6.0_alpha5_git20130313
pkgrel=0 pkgrel=1
pkgdesc="Meta package for minimal alpine base" pkgdesc="Meta package for minimal alpine base"
url="http://alpinelinux.org" url="http://alpinelinux.org"
arch="noarch" arch="noarch"
license="GPL" license="GPL"
depends="alpine-baselayout alpine-conf apk-tools busybox busybox-initscripts depends="alpine-baselayout alpine-conf apk-tools busybox busybox-initscripts
openrc libc-utils" openrc libc-utils alpine-keys"
makedepends= makedepends=
install= install=
subpackages= subpackages=
replaces="alpine-baselayout" replaces="alpine-baselayout"
source="http://dev.alpinelinux.org/~ncopa/alpine/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub source=""
alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
buildozer-50d1ba71.rsa.pub"
build() { build() {
return 0 return 0
} }
package() { package() {
# copy keys for repos mkdir -p "$pkgdir"/etc
mkdir -p "$pkgdir"/etc/apk/keys
install -m644 "$srcdir"/alpine-devel*.pub \
"$pkgdir"/etc/apk/keys/ || return 1
if [ "$ALPINE_LIBC" = "eglibc" ]; then
install -m644 "$srcdir"/buildozer-50d1ba71.rsa.pub \
"$pkgdir"/etc/apk/keys/ || return 1
fi
# create /etc/alpine-release # create /etc/alpine-release
echo $pkgver > "$pkgdir"/etc/alpine-release echo $pkgver > "$pkgdir"/etc/alpine-release
...@@ -41,6 +32,3 @@ Kernel \\r on an \\m (\\l) ...@@ -41,6 +32,3 @@ Kernel \\r on an \\m (\\l)
EOF EOF
} }
md5sums="75ee19ea2b03c12bc171647edc677f6f alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
ca7d06006181b625cf1ff4aefd51bd08 alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
056daa8bf61a95a42971bf6c13bf300f buildozer-50d1ba71.rsa.pub"
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-keys
pkgver=1.0
pkgrel=0
pkgdesc="Public keys for Alpine Linux packages"
url="http://alpinelinux.org"
arch="noarch"
license="GPL"
depends=
makedepends=
install=
subpackages=
replaces="alpine-base"
source="http://dev.alpinelinux.org/~ncopa/alpine/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
buildozer-50d1ba71.rsa.pub"
build() {
return 0
}
package() {
# copy keys for repos
mkdir -p "$pkgdir"/etc/apk/keys
install -m644 "$srcdir"/alpine-devel*.pub \
"$pkgdir"/etc/apk/keys/ || return 1
if [ "$ALPINE_LIBC" = "eglibc" ]; then
install -m644 "$srcdir"/buildozer-50d1ba71.rsa.pub \
"$pkgdir"/etc/apk/keys/ || return 1
fi
}
md5sums="75ee19ea2b03c12bc171647edc677f6f alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
ca7d06006181b625cf1ff4aefd51bd08 alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
056daa8bf61a95a42971bf6c13bf300f buildozer-50d1ba71.rsa.pub"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment