1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/sysklogd: overwrite busybox's symlinks

Both syslogd and klogd symlinks from busybox are in /sbin
This commit is contained in:
Clayton Craft 2025-05-16 23:33:20 -07:00 committed by Natanael Copa
parent e0b1817d95
commit 4883ae68f8
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sysklogd
pkgver=1.5.1
pkgrel=5
pkgrel=6
pkgdesc="System and kernel log daemons"
url="https://github.com/troglobit/sysklogd"
arch="all"
@ -28,7 +28,8 @@ build() {
}
package() {
make INSTALL="install -D" prefix="$pkgdir" install
# Note: use BINDIR to overwrite busybox's symlinks
make INSTALL="install -D" BINDIR="$pkgdir"/sbin prefix="$pkgdir" install
install -D -m644 "$srcdir"/sysklogd.logrotate \
"$pkgdir"/etc/logrotate.d/sysklogd
@ -43,7 +44,7 @@ sha512sums="
a72196a1a172d25be1c4791ef6256fe71fa2ba8c1383d230e646e93f8a65c3a57c535189726325da4c792fdb2e9cb119bba43c878816a8e78e78189fd32b12b7 sysklogd-1.5.1.tar.gz
d82caedfa61bfefc0162e5c416ff75a5cd8f60abe1cf8a3c5c4e7775aeb7bb64e712c783031659d3793378c8753578adf73ef79aac6a0e7cfbc5bbba5a74bd81 sysklogd.logrotate
19e7a744f51a3fd4ec26a2c6ddd8c780b8de9cc238dce3b5ecf1c063b81b09b5ae306fccaea958630991c4a1273bb70c532022fc05a752c8a59ac818f81a9c3d sysklogd.daily
eb4c2c411d75315e113efe40c8445dd2eb7aa88e3318ce3d7624916005ec82325a877c83f5816231fc25d5103ac5be1fc58a4d9593b99fea24c87805abd03039 sysklogd.initd
5be3f72fdd17c965c1d7c19453ab8e2639d0af0244f8c17e8c5c8390784394dd414bcb35a5e5896896d713cdd36af2e6e3e035623eb21514a9d3f65e8a08eb4b sysklogd.initd
4553d85e93fb07e7d4a6ed0b47a3ea2044a5605adaac05223724c32a60bb8ae96d99ca95965c3931640beef234e976c1141b83f603aa8c6e8aca1dec20ca807c sysklogd.confd
1a5cf4a5dec3ecaa8258110820b64d6a8e1e768e841a3f0ade8d7827b91e73c2d8a49a9d8b74566373133627af88dd46d14e83ae1940a0b2e6cd6fe8710a7e7a sysklogd-1.4.2-caen-owl-klogd-drop-root.patch
995c240fc54681445f68f7681173e1e1860aaab309edc8ac3531881c63c8889f009a7fd622d37145e80fe187410b80c28554140d6a6660134ca87a1c8d13570d sysklogd-1.4.2-caen-owl-syslogd-bind.patch

View file

@ -19,7 +19,7 @@ start_daemon() {
[ -z "${daemon}" ] && return 1
ebegin "sysklogd -> start: ${daemon}"
start-stop-daemon --start --exec /usr/sbin/"${daemon}" \
start-stop-daemon --start --exec /sbin/"${daemon}" \
--pidfile /var/run/"${daemon}".pid -- ${options}
retval=$?
eend ${retval} "Failed to start ${daemon}"