summaryrefslogtreecommitdiff
path: root/preload
diff options
context:
space:
mode:
authorMark Rosenstand <mark@borkware.net>2006-11-03 19:52:45 +0100
committerMark Rosenstand <mark@borkware.net>2006-11-03 19:52:45 +0100
commit97711519d511fbbb0adaebaa9721aa07795fe96d (patch)
tree199070cf936695e38f3b1cd67f30128f12cb65f1 /preload
parent44adbcd0538f2492cbd57eebaf1817b16a1aa7af (diff)
downloadcontrib-97711519d511fbbb0adaebaa9721aa07795fe96d.tar.gz
contrib-97711519d511fbbb0adaebaa9721aa07795fe96d.tar.xz
preload: remove useless man-page, explain why preload.state is chmod'ed
Diffstat (limited to 'preload')
-rw-r--r--preload/.footprint3
-rw-r--r--preload/Pkgfile11
2 files changed, 8 insertions, 6 deletions
diff --git a/preload/.footprint b/preload/.footprint
index 7b74fd35b..2abd783fb 100644
--- a/preload/.footprint
+++ b/preload/.footprint
@@ -1,9 +1,6 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/preload.conf
drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man8/
--rw-r--r-- root/root usr/man/man8/preload.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/preload
drwxr-xr-x root/root var/
diff --git a/preload/Pkgfile b/preload/Pkgfile
index de5dd2653..706b23c95 100644
--- a/preload/Pkgfile
+++ b/preload/Pkgfile
@@ -5,7 +5,7 @@
name=preload
version=0.4
-release=1
+release=2
source=(http://dl.sourceforge.net/sourceforge/preload/preload-$version.tar.gz)
build() {
@@ -15,8 +15,13 @@ build() {
make DESTDIR=$PKG install
cd $PKG
- rm -r etc/{rc.d,logrotate.d,sysconfig} \
- usr/share/doc
+ rm -rv etc/{rc.d,logrotate.d,sysconfig}
+ # preload(8) is generated by help2man if available, otherwise
+ # it only contains "help2man is required to generate this file."
+ rm -rv usr/man
+ rm -r usr/share/doc
rmdir usr/share
+ # preload.state is installed 644 but changed to 660 on first exit,
+ # so we change the mode in the package to avoid rejmerge.
chmod -v 660 var/lib/preload/preload.state
}

Generated by cgit