diff --git a/templates/newsyslog/install.diff b/templates/newsyslog/install.diff new file mode 100644 index 0000000000..5e65c4d3e0 --- /dev/null +++ b/templates/newsyslog/install.diff @@ -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 \ diff --git a/templates/newsyslog/template b/templates/newsyslog/template new file mode 100644 index 0000000000..50eb52f1c0 --- /dev/null +++ b/templates/newsyslog/template @@ -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