diff options
author | Carlo Lanmdeter <clandmeter@gmail> | 2009-03-05 14:35:53 +0000 |
---|---|---|
committer | Carlo Lanmdeter <clandmeter@gmail> | 2009-03-05 14:35:53 +0000 |
commit | 4f690851a942fdf247f3eafaf954f6ae37dcd5c3 (patch) | |
tree | 6925c09c831876effceaa5329e6d5c8d1846d182 /extra/logrotate | |
parent | e0e073407daa55dfaa78bc581e50a8461e29afe3 (diff) | |
download | aports-4f690851a942fdf247f3eafaf954f6ae37dcd5c3.tar.bz2 aports-4f690851a942fdf247f3eafaf954f6ae37dcd5c3.tar.xz |
extra/logrotate: new aport
Waiting for abuild to support https to change source to:
https://fedorahosted.org/releases/l/o/logrotate/logrotate-3.7.8.tar.gz
Diffstat (limited to 'extra/logrotate')
-rw-r--r-- | extra/logrotate/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/logrotate/APKBUILD b/extra/logrotate/APKBUILD new file mode 100644 index 0000000000..4ff47f222a --- /dev/null +++ b/extra/logrotate/APKBUILD @@ -0,0 +1,23 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +pkgname=logrotate +pkgver=3.7.8 +pkgrel=0 +pkgdesc="Tool to rotate logfiles" +url="https://fedorahosted.org/logrotate/" +license="GPL" +depends="uclibc popt" +makedepends="popt-dev" +subpackages="$pkgname-doc" +source="http://alpine.nethq.org/clandmeter/src/logrotate-3.7.8.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make || return 1 + install -Dm755 logrotate "$pkgdir"/usr/sbin/logrotate + install -Dm644 logrotate.8 "$pkgdir"/usr/share/man/man8/logrotate.8 + install -Dm644 examples/logrotate-default "$pkgdir"/etc/logrotate.conf + install -Dm644 examples/logrotate.cron "$pkgdir"/etc/logrotate.cron +} + +md5sums="b3589bea6d8d5afc8a84134fddaae973 logrotate-3.7.8.tar.gz" |