~tardypad/alpine-system

1b40badef6f7ff2b7f0060e27103b38a20224b82 — Damien Tardy-Panis 2 months ago 7c08466
tardypad.me: bump version to build carl subdomain
M bin/sync => bin/sync +2 -1
@@ 62,7 62,8 @@ exit_error() {

build() {
  if [ "${PACKAGE}" = 'tardypad.me' ]; then
    LXC_OPTS="--env HTPASSWD_FILES=$( pass perso/tardypad.me/files | sed 1q )"
    LXC_OPTS="--env HTPASSWD_CARL=$( pass perso/tardypad.me/carl | sed 1q )"
    LXC_OPTS="${LXC_OPTS} --env HTPASSWD_FILES=$( pass perso/tardypad.me/files | sed 1q )"
    LXC_OPTS="${LXC_OPTS} --env HTPASSWD_PKGS=$( pass perso/tardypad.me/pkgs | sed 1q )"
  fi


M builds/tardypad.me/APKBUILD => builds/tardypad.me/APKBUILD +9 -5
@@ 1,8 1,8 @@
# Maintainer: Damien Tardy-Panis <damien.dev@tardypad.me>
pkgname="tardypad.me"
pkgver=0_git-r161
pkgrel=6
_commit=f846d56a69278d514511e1e5f5d65d362dae9567
pkgver=0_git-r163
pkgrel=0
_commit=2eadd454e7683c02ff76ec783a5c9950abe99fef
pkgdesc="tardypad.me websites"
url="https://sr.ht/~tardypad/tardypad.me/"
arch="noarch"


@@ 17,7 17,11 @@ source="$pkgname-$pkgver.tar.gz

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir" HTPASSWD_FILES="$HTPASSWD_FILES" HTPASSWD_PKGS="$HTPASSWD_PKGS" install
  make DESTDIR="$pkgdir" \
    HTPASSWD_CARL="$HTPASSWD_CARL" \
    HTPASSWD_FILES="$HTPASSWD_FILES" \
    HTPASSWD_PKGS="$HTPASSWD_PKGS" \
    install

  # change some permissions to allow manual deployment from source
  chown -R damien:damien "$pkgdir/srv/http/"*


@@ 38,6 42,6 @@ snapshot() {
}

sha512sums="
2a608a029a18b375b7f385f0a2de15882091cfb7f7da1ee158ceea9f6223ec381ddebe00d44528ef40a7231900429234596122e90a70efc298301ee3d41d9bc9  tardypad.me-0_git-r161.tar.gz
b9f466fb72e97244c330a2b1619f930999bd8ef2bc57ca3284f54539df13b3a4f18147912813c55240a4b3d6c6aad8b78dd376e87cdbdceaa33e428c7e9d01be  tardypad.me-0_git-r163.tar.gz
fc4b28ec652de0e8552032274cf122dc2b12225ca4a63c4971063f68bd9b51ee99c541005a4b6f3d206186d53765a35c0589d185cd371bc94fe67c7fc598230e  renew-certificates
"

M builds/tardypad.me/Makefile => builds/tardypad.me/Makefile +1 -1
@@ 1,4 1,4 @@
# needs HTPASSWD_FILES and HTPASSWD_PKGS env variables set
# needs several HTPASSWD_* env variables set
build:
	abuild snapshot
	abuild -r

M builds/tardypad.me/tardypad.me.post-install => builds/tardypad.me/tardypad.me.post-install +1 -0
@@ 6,6 6,7 @@ certbot certonly \
  --agree-tos --no-eff-email \
  -m damien.admin@tardypad.me \
  -d tardypad.me \
  -d carl.tardypad.me \
  -d pkgs.tardypad.me \
  -d files.tardypad.me \
  -d status.tardypad.me \