Skip to content
Snippets Groups Projects
Commit ae50022c authored by Natanael Copa's avatar Natanael Copa
Browse files

community/inetutils-syslogd: remove post-{de,}install

post-deinstall modifed enabeld syslog without users consent. We should
never enable/disbale services from install scripts. We can also not
assume that openrc is even used.
parent c8dae5d2
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,12 @@
pkgname=inetutils-syslogd
_pkgname=inetutils
pkgver=2.4
pkgrel=0
pkgrel=1
pkgdesc="A small syslogd for logging to multiple files"
url="https://www.gnu.org/software/inetutils/"
arch="all"
license="GPL-3.0-or-later"
makedepends="readline-dev ncurses-dev"
install="$pkgname.post-install $pkgname.post-deinstall"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://ftp.gnu.org/gnu/inetutils/$_pkgname-$pkgver.tar.xz
$pkgname.initd
......
#!/bin/sh
echo; rc-update del inetutils-syslogd boot; rc-update add syslog boot
syslog_state=$(rc-service syslog status)
inetutils_state=" * status: running: inetutils-syslogd [pid: $(pidof syslogd)]"
echo "$inetutils_state"
echo -e "$syslog_state: syslog\n"
#!/bin/sh
echo -e "\nTo configure inetutils-syslogd / deconfigure BusyBox syslog execute:\n\n/sbin/setup-inetutils-syslogd\n"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment