forked from ports/contrib
preload: remove useless man-page, explain why preload.state is chmod'ed
This commit is contained in:
parent
44adbcd053
commit
97711519d5
@ -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/
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user