newsyslog: add rc.d script, conf file and cron hourly job.
--HG-- extra : convert_revision : e1c49bf7bd9b281e17a885e2f972f9302390726c
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Template file for 'newsyslog'
|
||||
pkgname=newsyslog
|
||||
version=1.8
|
||||
revision=1
|
||||
distfiles="http://archives.eyrie.org/software/system/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--sbindir=/sbin"
|
||||
@@ -15,6 +16,17 @@ long_desc="
|
||||
rotation to handle stopping, restarting, or sending signals to servers,
|
||||
and it automatically compresses logs when it archives them."
|
||||
|
||||
conf_files="/etc/newsyslog.conf"
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency full zlib
|
||||
Add_dependency full bzip2
|
||||
|
||||
post_install()
|
||||
{
|
||||
install -D -m755 ${FILESDIR}/newsyslog ${DESTDIR}/etc/rc.d/newsyslog
|
||||
install -D -m644 ${FILESDIR}/newsyslog.conf \
|
||||
${DESTDIR}/etc/newsyslog.conf
|
||||
install -D -m744 ${FILESDIR}/newsyslog.cron-hourly \
|
||||
${DESTDIR}/etc/cron.hourly/newsyslog
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user