diff --git a/community/althttpd/APKBUILD b/community/althttpd/APKBUILD index 8f64b2b31e873ee2f856077f25437181538eff9b..99193b2e9acd33fe805e3109a7d8bbfdceb7e24d 100644 --- a/community/althttpd/APKBUILD +++ b/community/althttpd/APKBUILD @@ -1,15 +1,15 @@ # Contributor: Sodface <sod@sodface.com> # Maintainer: Sodface <sod@sodface.com> pkgname=althttpd -pkgver=202402211453 +pkgver=202405010759 pkgrel=0 pkgdesc="Small, simple, stand-alone HTTP server" url="https://sqlite.org/althttpd/doc/trunk/althttpd.md" arch="all" license="Public-Domain" -makedepends="openssl-dev>3" +makedepends="openssl-dev>3 sqlite-dev" options="!check" # no test suite -subpackages="$pkgname-doc $pkgname-openrc" +subpackages="$pkgname-doc $pkgname-openrc $pkgname-utils" source=" $pkgname-$pkgver.tar.gz::https://sqlite.org/althttpd/tarball?r=$pkgver 10-allow-filename-plus-sign.patch @@ -19,9 +19,8 @@ source=" builddir="$srcdir" build() { - sed -in -e 's/^CFLAGS=/CFLAGS+=/' \ - -e 's|/bin/bash|/bin/sh|' Makefile - make althttpsd + sed -in -e 's/^CFLAGS=/CFLAGS+=/' Makefile + make althttpsd logtodb } package() { @@ -31,12 +30,20 @@ package() { "$pkgdir"/etc/init.d/althttpd install -D althttpsd \ "$pkgdir"/usr/bin/althttpd + install -D logtodb \ + "$pkgdir"/usr/bin/logtodb install -Dm644 althttpd.md \ "$pkgdir"/usr/share/doc/$pkgname/althttpd.md } +utils() { + pkgdesc="$pkgname utilities" + + amove /usr/bin/logtodb +} + sha512sums=" -8a5c1df74c4c9566593fdf505c9bad1af1a7edf185bf0854105eb5cadddbfca2e650f854c87461d8d514adb1015d03a1b14f5e543e505b43997980899d5a8d89 althttpd-202402211453.tar.gz +c99bbd7cd5cb844bffa62d154c91b0275071ed7acc5f9f5021fbdd9e8fc07478dc990a8615644e1d57ab4d39250fd0ac65efdc0f7cfb70fba5a0b2fe9a2e5524 althttpd-202405010759.tar.gz ece2633a822589f1e49129bf00fb4b066e9d079e3e56f7c78e3bcba02c8aad9ae3ee75f6459360524d7c2a3a7dc7cfea4eb1652b4cbf1aff60d968e1f816b535 10-allow-filename-plus-sign.patch 41f0015f98f108067b42a4a2487c7c89653388a1c3c4a94884fedf5f704f05cdcc189ea81e7a01a8ec8408045b72ee06b6f1063e5b7cd5e67318d42b4c0add89 althttpd.confd f21867430470b836d97d60215d9dda835125140cced3bb9c856349228572f2c73ac0574d3f705d72938879fc2b5a37855768a5f7de5c29943e3aa6ead5d72d9c althttpd.initd