Added newsyslog-1.8 template.

--HG--
extra : convert_revision : 578607dcaab7c3277a5db6b45cf02acb85f7e88e
This commit is contained in:
Juan RP 2009-03-28 15:28:03 +01:00
parent cc7d8ce072
commit 9db8097ef1
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- Makefile.in.orig 2009-03-28 14:36:17.871227905 +0100
+++ Makefile.in 2009-03-28 14:36:52.480413711 +0100
@@ -88,8 +88,8 @@ check test tests: newsyslog t/runtests
cd t && ./runtests TESTS
install: newsyslog newsyslog.8
- $(INSTALL) -m 0755 newsyslog $(sbindir)
- $(INSTALL) -m 0644 newsyslog.8 $(mandir)/man8
+ $(INSTALL) -D -m 0755 newsyslog $(DESTDIR)/$(sbindir)/newsyslog
+ $(INSTALL) -D -m 0644 newsyslog.8 $(DESTDIR)/$(mandir)/man8/newsyslog.8
clean:
rm -f *.o t/*.o core newsyslog newsyslog.pure .pure config.log \

View File

@ -0,0 +1,20 @@
# Template file for 'newsyslog'
pkgname=newsyslog
version=1.8
distfiles="http://archives.eyrie.org/software/system/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--sbindir=/sbin"
short_desc="Log file rotation and periodic maintenance"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f400e88fff61b0df03054122dcaf54560f8fcf2793ac60a47268326eeeaeaf19
long_desc="
$pkgname performs periodic maintenance of log files. The most common
action is rotating log files and archiving the old logs to one or more
places, but it can also periodically copy logs to a central repository
without truncating them. It can run commands both before and after log
rotation to handle stopping, restarting, or sending signals to servers,
and it automatically compresses logs when it archives them."
Add_dependency full glibc
Add_dependency full zlib
Add_dependency full bzip2