mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 11:26:41 +02:00
Use patches from gentoo. https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-process/daemontools/files Also split -openrc
49 lines
1.9 KiB
Text
49 lines
1.9 KiB
Text
# Maintainer: Johannes Findeisen <you@hanez.org>
|
|
pkgname=daemontools
|
|
pkgver=0.76
|
|
pkgrel=3
|
|
pkgdesc="Collection of tools for managing UNIX services"
|
|
url="https://cr.yp.to/daemontools.html"
|
|
arch="all"
|
|
license="Public-Domain"
|
|
depends=
|
|
# The makefile need GNU cat for 'cat -v'
|
|
makedepends="coreutils"
|
|
subpackages="$pkgname-openrc"
|
|
|
|
source="https://cr.yp.to/daemontools/$pkgname-$pkgver.tar.gz
|
|
0.76-C99-decls.patch
|
|
0.76-const-typecasts-C99.patch
|
|
0.76-errno.patch
|
|
0.76-implicit-func-decl-clang16.patch
|
|
svscan.initd
|
|
"
|
|
|
|
builddir="$srcdir"/admin/$pkgname-$pkgver/src
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
echo "${CC:-"gcc"} ${CFLAGS}" > conf-cc
|
|
echo "${CC:-"gcc"} ${LDFLAGS}" > conf-ld
|
|
touch home
|
|
make PATH="/usr/bin:/bin" || return 1
|
|
}
|
|
|
|
package() {
|
|
local f
|
|
cd "$builddir"
|
|
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/service
|
|
for f in $(cat ../package/commands); do
|
|
cp $f "$pkgdir"/usr/bin/$f
|
|
done
|
|
install -Dm755 "$srcdir"/svscan.initd "$pkgdir"/etc/init.d/svscan
|
|
}
|
|
|
|
sha512sums="
|
|
e4a7938352b745a03ccc41acdddba1e6782f0ca245e5cae060de62ab6c5a23c841a994c30140298d274405a7f26d53ba7e84e5810a3d185b2c01e4c0feffe6c7 daemontools-0.76.tar.gz
|
|
36695347e98d4dc177f685cddcf9e7331da8630f0632d1fb35a2df1898c9e4a73d8908b56dd218d9b6f06cd3f063e6a946567ab256498bf0d425ea2f06719c58 0.76-C99-decls.patch
|
|
bef1878140428a5c1ba06ad7d7d375c875569ca95ada71752de5bf3f969df839ac59f588b258e24673d5f6a3195c78c9868dd61c3d3a63583508fd0deb40d2fd 0.76-const-typecasts-C99.patch
|
|
76664b71e16ba4dbb081604a1a8c9ddc58a603777dccc0a53b0af9442ff8f0cdfce9ef8b05926dac62b81b2c805262df6a7e4df65920c00583132dbf136ba85e 0.76-errno.patch
|
|
209250b752cda3d3b67784e3c906c02ae365de884dec759e21fd14ecaa433f7f6d646afc918d8c0ffd9eab313ccaacf482e1920669b9e2c884b79b7e1cfd6f66 0.76-implicit-func-decl-clang16.patch
|
|
a2c3b35c7d253b9f2ffc5051663fdfacc5bd57385ce95d5d623f1f773d7bfe445b6837c7c1fe5565587387bdee0437761272f06902e166e95e2d00c19f8c6995 svscan.initd
|
|
"
|