diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-06 12:08:10 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-06 12:08:10 +0000 |
commit | 74a5f6e6902b83c9d8c4d08db2649269fdcaa19e (patch) | |
tree | cd70ffcb1c46a306ee3f0f07280a9ab6bf6bb6e0 /news/slurp | |
parent | c2d9c4b7c6fcfd1c87867a8029a34c3c99f04ebb (diff) | |
download | FreeBSD-ports-74a5f6e6902b83c9d8c4d08db2649269fdcaa19e.zip FreeBSD-ports-74a5f6e6902b83c9d8c4d08db2649269fdcaa19e.tar.gz |
slurp port overwrites/delete existing configuration file
Installing(/deinstalling) package slurp-1.10_1 causes any
existing configuration file /usr/local/news/lib/slurp.sys
to be overwritten(/deleted).
Since this file may be quite long this is a considerable
annoyance.
Package should install a sample file instead, eg.
/usr/local/news/lib/slurp.sys.sample
PR: ports/40276
Submitted by: Thomas Sandford <freebsduser@paradisegreen.co.uk>
Diffstat (limited to 'news/slurp')
-rw-r--r-- | news/slurp/Makefile | 7 | ||||
-rw-r--r-- | news/slurp/pkg-message | 4 | ||||
-rw-r--r-- | news/slurp/pkg-plist | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/news/slurp/Makefile b/news/slurp/Makefile index e85bb17..229ef32 100644 --- a/news/slurp/Makefile +++ b/news/slurp/Makefile @@ -7,7 +7,7 @@ PORTNAME= slurp PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= news MASTER_SITES= ftp://ftp.demon.co.uk/pub/news/slurp/ EXTRACT_SUFX= .tar.Z @@ -24,6 +24,9 @@ pre-install: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/slurp ${PREFIX}/news/bin ${INSTALL_MAN} ${WRKSRC}/slurp.1 ${PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/slurp.sys ${PREFIX}/news/lib + ${INSTALL_DATA} ${WRKSRC}/slurp.sys ${PREFIX}/news/lib/slurp.sys.sample + +post-install: + ${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/news/slurp/pkg-message b/news/slurp/pkg-message new file mode 100644 index 0000000..2ed9d0e --- /dev/null +++ b/news/slurp/pkg-message @@ -0,0 +1,4 @@ +******************************************************************************* +Copy ${LOCALBASE}/news/lib/slurp.sys.sample to slurp.sys before you +start slurp and all will be fine! +******************************************************************************* diff --git a/news/slurp/pkg-plist b/news/slurp/pkg-plist index 6daf07d..9094f01 100644 --- a/news/slurp/pkg-plist +++ b/news/slurp/pkg-plist @@ -1,5 +1,5 @@ news/bin/slurp -news/lib/slurp.sys +news/lib/slurp.sys.sample @unexec rmdir %D/news/lib 2> /dev/null || true @unexec rmdir %D/news/bin 2> /dev/null || true @unexec rmdir %D/news 2> /dev/null || true |