summaryrefslogtreecommitdiff
path: root/logrotate
diff options
context:
space:
mode:
authorMikhail Kolesnik <mike@openbunker.org>2008-11-11 17:41:31 +0200
committerMikhail Kolesnik <mike@openbunker.org>2008-11-11 17:41:31 +0200
commitad228e9d06b88d7634c3f9ff81a88bc7074b36ed (patch)
tree270c32af48a5495266e141dd500b45645f8b30ef /logrotate
parent3208872f00c4e1d000855751b6ccda656b7fa25c (diff)
downloadcontrib-ad228e9d06b88d7634c3f9ff81a88bc7074b36ed.tar.gz
contrib-ad228e9d06b88d7634c3f9ff81a88bc7074b36ed.tar.xz
logrotate: changed status file location
Diffstat (limited to 'logrotate')
-rw-r--r--logrotate/.footprint3
-rw-r--r--logrotate/.md5sum1
-rw-r--r--logrotate/Pkgfile6
3 files changed, 8 insertions, 2 deletions
diff --git a/logrotate/.footprint b/logrotate/.footprint
index eed9bc8e6..42a277ac3 100644
--- a/logrotate/.footprint
+++ b/logrotate/.footprint
@@ -10,3 +10,6 @@ drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/logrotate.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/logrotate
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/state/
+drwxr-xr-x root/root var/state/logrotate/
diff --git a/logrotate/.md5sum b/logrotate/.md5sum
index e1bf94f6f..eaeff1cf6 100644
--- a/logrotate/.md5sum
+++ b/logrotate/.md5sum
@@ -1,2 +1,3 @@
431e135abb7f3fe19de4c6a65bb66823 logrotate-3.7.7.tar.gz
+1f71da44e71f2c2f87f7200481685b83 logrotate-config.h.diff
453190f4497a810fd48c90b0ce148788 logrotate.conf
diff --git a/logrotate/Pkgfile b/logrotate/Pkgfile
index 48134c6b9..0bfb9e630 100644
--- a/logrotate/Pkgfile
+++ b/logrotate/Pkgfile
@@ -5,18 +5,20 @@
name=logrotate
version=3.7.7
-release=1
+release=2
#source=(https://fedorahosted.org/releases/l/o/$name/$name-$version.tar.gz \
# $name.conf)
source=(http://www.sfr-fresh.com/unix/privat/$name-$version.tar.gz \
- $name.conf)
+ $name.conf logrotate-config.h.diff)
build() {
cd $name-$version
+ patch -p1 -i $SRC/logrotate-config.h.diff
make
make PREFIX=$PKG install
mkdir -p $PKG/etc/$name.d
+ mkdir -p $PKG/var/state/logrotate
install -D -m 750 examples/$name.cron $PKG/etc/cron/hourly/$name
install -D -m 640 $SRC/$name.conf $PKG/etc/$name.conf
}

Generated by cgit