Add apk-repos package
This commit is contained in:
parent
6ad37e01fc
commit
5c258351b0
|
@ -13,3 +13,4 @@ config/dovecot/secret
|
|||
config/postfix/secret
|
||||
config/transmission/secret
|
||||
config/gitea/secret
|
||||
config/apk-repos/secret
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||
|
||||
. ../APKBUILD-config.template
|
||||
|
||||
pkgver=2021.11.02.01
|
||||
pkgrel=0
|
||||
source="
|
||||
secret
|
||||
redxen
|
||||
alpine
|
||||
"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
cp redxen redxen-mod
|
||||
}
|
||||
|
||||
build() {
|
||||
. secret
|
||||
: "${REDXEN_PORTS_PASSWORD:?'Ports package repo password missing'}"
|
||||
rx_replace "REDXEN_PORTS_PASSWORD" "$REDXEN_PORTS_PASSWORD" "redxen-mod"
|
||||
cat redxen-mod alpine > repositories
|
||||
}
|
||||
|
||||
package() {
|
||||
_rx_installdir="/etc/apk" rx_install repositories
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c81972ee469aa45518240e625a734044131b0a1f35ffad33ba68c52a4992b330150962e47ae1aecadff80cfaa814f173202ffdc85614effae9ba9bba6e5a4eda secret
|
||||
b646afd0638e5dc512756405dbb062a080e1cf2c36b888877ea036693b8ca2ad8f719e98d5219f63f8a2a1e31e77df51501be153f11bd98c0097a4175f68a297 redxen
|
||||
55441d0792ba599477f7aa56f8caaa70ec79f0f6c5c755155d4ac643d977f9ccc82fb2f7be753ea97b6d2010615f1522161c42977c33bda5b93741ab4a3f2116 alpine
|
||||
"
|
|
@ -0,0 +1,4 @@
|
|||
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main
|
||||
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
||||
@edge http://dl-cdn.alpinelinux.org/alpine/edge/main
|
||||
@edge http://dl-cdn.alpinelinux.org/alpine/edge/community
|
|
@ -0,0 +1,5 @@
|
|||
https://alpine:REDXEN_PORTS_PASSWORD@packages.redxen.eu/redxen/config
|
||||
https://alpine:REDXEN_PORTS_PASSWORD@packages.redxen.eu/redxen/data
|
||||
https://alpine:REDXEN_PORTS_PASSWORD@packages.redxen.eu/redxen/openrc
|
||||
https://alpine:REDXEN_PORTS_PASSWORD@packages.redxen.eu/redxen/secret
|
||||
https://alpine:REDXEN_PORTS_PASSWORD@packages.redxen.eu/redxen/cron
|
Loading…
Reference in New Issue