diff options
author | daichi <daichi@FreeBSD.org> | 2003-09-28 23:30:53 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-09-28 23:30:53 +0800 |
commit | 4277ce1397610b14d1ac78140432a7e30470051c (patch) | |
tree | da34a8fa198e41f8428f4d000011aacbf9ea04f8 | |
parent | d1f3634ee402409303ccfcab89ea14c87e3b774f (diff) | |
download | freebsd-ports-gnome-4277ce1397610b14d1ac78140432a7e30470051c.tar.gz freebsd-ports-gnome-4277ce1397610b14d1ac78140432a7e30470051c.tar.zst freebsd-ports-gnome-4277ce1397610b14d1ac78140432a7e30470051c.zip |
update news/inn:
- fix build for news/newsx if inn* is installed via a package
PR: 57313
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer)
Pointed out by: Kris via dosirak
-rw-r--r-- | news/inn-current/Makefile | 2 | ||||
-rw-r--r-- | news/inn-current/pkg-plist | 28 | ||||
-rw-r--r-- | news/inn/Makefile | 2 | ||||
-rw-r--r-- | news/inn/pkg-plist | 28 |
4 files changed, 56 insertions, 4 deletions
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile index e01149164f3e..fdfbb8a7df17 100644 --- a/news/inn-current/Makefile +++ b/news/inn-current/Makefile @@ -7,7 +7,7 @@ PORTNAME= inn PORTVERSION= 2.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= news ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= inn diff --git a/news/inn-current/pkg-plist b/news/inn-current/pkg-plist index aade727907ab..143ce112bda5 100644 --- a/news/inn-current/pkg-plist +++ b/news/inn-current/pkg-plist @@ -128,56 +128,82 @@ news/doc/hook-tcl news/doc/sample-control @unexec if cmp -s %D/news/etc/actsync.cfg %D/news/etc/actsync.cfg.dist; then rm -f %D/news/etc/actsync.cfg ; fi news/etc/actsync.cfg.dist +@exec [ -f %B/actsync.cfg ] || cp -f %B/%f %B/actsync.cfg @unexec if cmp -s %D/news/etc/actsync.ign %D/news/etc/actsync.ign.dist; then rm -f %D/news/etc/actsync.ign ; fi news/etc/actsync.ign.dist +@exec [ -f %B/actsync.ign ] || cp -f %B/%f %B/actsync.ign @unexec if cmp -s %D/news/etc/buffindexed.conf %D/news/etc/buffindexed.conf.dist; then rm -f %D/news/etc/buffindexed.conf ; fi news/etc/buffindexed.conf.dist +@exec [ -f %B/buffindexed.conf ] || cp -f %B%/%f %B/buffindexed.conf @unexec if cmp -s %D/news/etc/control.ctl %D/news/etc/control.ctl.dist; then rm -f %D/news/etc/control.ctl ; fi news/etc/control.ctl.dist +@exec [ -f %B/control.ctl ] || cp -f %B/%f %B/control.ctl @unexec if cmp -s %D/news/etc/cycbuff.conf %D/news/etc/cycbuff.conf.dist; then rm -f %D/news/etc/cycbuff.conf ; fi news/etc/cycbuff.conf.dist +@exec [ -f %B/cycbuff.conf ] || cp -f %B/%f %B/cycbuff.conf @unexec if cmp -s %D/news/etc/distrib.pats %D/news/etc/distrib.pats.dist; then rm -f %D/news/etc/distrib.pats ; fi news/etc/distrib.pats.dist +@exec [ -f %B/distrib.pats ] || cp -f %B/%f %B/distrib.pats @unexec if cmp -s %D/news/etc/expire.ctl %D/news/etc/expire.ctl.dist; then rm -f %D/news/etc/expire.ctl ; fi news/etc/expire.ctl.dist +@exec [ -f %B/expire.ctl ] || cp -f %B/%f %B/expire.ctl @unexec if cmp -s %D/news/etc/incoming.conf %D/news/etc/incoming.conf.dist; then rm -f %D/news/etc/incoming.conf ; fi news/etc/incoming.conf.dist +@exec [ -f %B/incoming ] || cp -f %B/%f %B/incoming.conf @unexec if cmp -s %D/news/etc/inn.conf %D/news/etc/inn.conf.dist; then rm -f %D/news/etc/inn.conf ; fi news/etc/inn.conf.dist +@exec [ -f %B/inn.conf ] || cp -f %B/%f %B/inn.conf @unexec if cmp -s %D/news/etc/innfeed.conf %D/news/etc/innfeed.conf.dist; then rm -f %D/news/etc/innfeed.conf ; fi news/etc/innfeed.conf.dist +@exec [ -f %B/innfeed.conf.dist ] || cp -f %B/%f %B/innfeed.conf.dist @unexec if cmp -s %D/news/etc/innreport.conf %D/news/etc/innreport.conf.dist; then rm -f %D/news/etc/innreport.conf ; fi news/etc/innreport.conf.dist +@exec [ -f %B/innreport.conf ] || cp -f %B/%f %B/innreport.conf @unexec if cmp -s %D/news/etc/innwatch.ctl %D/news/etc/innwatch.ctl.dist; then rm -f %D/news/etc/innwatch.ctl ; fi news/etc/innwatch.ctl.dist +@exec [ -f %B/innwatch.ctl ] || cp -f %B/%f %B/innwatch.ctl @unexec if cmp -s %D/news/etc/moderators %D/news/etc/moderators.dist; then rm -f %D/news/etc/moderators ; fi news/etc/moderators.dist +@exec [ -f %B/moderators ] || cp -f %B/%f %B/moderators @unexec if cmp -s %D/news/etc/motd.news %D/news/etc/motd.news.dist; then rm -f %D/news/etc/motd.news ; fi news/etc/motd.news.dist +@exec [ -f %B/motd.news ] || cp -f %B/%f %B/motd.news @unexec if cmp -s %D/news/etc/news2mail.cf %D/news/etc/news2mail.cf.dist; then rm -f %D/news/etc/news2mail.cf ; fi news/etc/news2mail.cf.dist +@exec [ -f %B/news2mail.cf ] || cp -f %B/%f %B/news2mail.cf @unexec if cmp -s %D/news/etc/newsfeeds %D/news/etc/newsfeeds.dist; then rm -f %D/news/etc/newsfeeds ; fi news/etc/newsfeeds.dist +@exec [ -f %B/newsfeeds ] || cp -f %B/%f %B/newsfeeds @unexec if cmp -s %D/news/etc/nnrpd.track %D/news/etc/nnrpd.track.dist; then rm -f %D/news/etc/nnrpd.track ; fi news/etc/nnrpd.track.dist +@exec [ -f %B/nnrpd.track ] || cp -f %B/%f %B/nnrpd.track @unexec if cmp -s %D/news/etc/nntpsend.ctl %D/news/etc/nntpsend.ctl.dist; then rm -f %D/news/etc/nntpsend.ctl ; fi news/etc/nntpsend.ctl.dist +@exec [ -f %B/nntpsend.ctl ] || cp -f %B/%f %B/nntpsend.ctl @unexec if cmp -s %D/news/etc/ovdb.conf %D/news/etc/ovdb.conf.dist; then rm -f %D/news/etc/ovdb.conf ; fi news/etc/ovdb.conf.dist +@exec [ -f %B/ovdb.conf ] || cp -f %B/%f %B/ovdb.conf @unexec if cmp -s %D/news/etc/overview.fmt %D/news/etc/overview.fmt.dist; then rm -f %D/news/etc/overview.fmt ; fi news/etc/overview.fmt.dist +@exec [ -f %B/overview.fmt ] || cp -f %B/%f %B/overview.fmt @unexec if cmp -s %D/news/etc/passwd.nntp %D/news/etc/passwd.nntp.dist; then rm -f %D/news/etc/passwd.nntp ; fi news/etc/passwd.nntp.dist +@exec [ -f %B/passwd.nntp ] || cp -f %B/%f %B/passwd.nntp @unexec if cmp -s %D/news/etc/radius.conf %D/news/etc/radius.conf.dist; then rm -f %D/news/etc/radius.conf ; fi news/etc/radius.conf.dist +@exec [ -f %B/radius.conf ] || cp -f %B/%f %B/radius.conf @unexec if cmp -s %D/news/etc/readers.conf %D/news/etc/readers.conf.dist; then rm -f %D/news/etc/readers.conf; fi news/etc/readers.conf.dist +@exec [ -f %B/readers.conf ] || cp -f %B/%f %B/readers.conf @unexec if cmp -s %D/news/etc/sasl.conf %D/news/etc/sasl.conf.dist; then rm -f %D/news/etc/sasl.conf ; fi news/etc/sasl.conf.dist +@exec [ -f %B/sasl.conf ] || cp -f %B/%f %B/sasl.conf @unexec if cmp -s %D/news/etc/storage.conf %D/news/etc/storage.conf.dist; then rm -f %D/news/etc/storage.conf ; fi news/etc/storage.conf.dist +@exec [ -f %B/storage.conf ] || cp -f %B/%f %B/storage.conf @unexec if cmp -s %D/news/etc/subscriptions %D/news/etc/subscriptions.dist; then rm -f %D/news/etc/subscriptions ; fi news/etc/subscriptions.dist +@exec [ -f %B/subscriptions ] || cp -f %B/%f %B/subscriptions news/include/clibrary.h news/include/conffile.h news/include/config.h @@ -238,7 +264,7 @@ news/lib/libstorage.a @dirrm news/include @unexec rmdir %D/news/etc 2>/dev/null || true @dirrm news/doc -@dirrm news/db +@unexec rmdir %D/news/db 2>/dev/null || true @dirrm news/bin/rnews.libexec @dirrm news/bin/filter @dirrm news/bin/control diff --git a/news/inn/Makefile b/news/inn/Makefile index e01149164f3e..fdfbb8a7df17 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -7,7 +7,7 @@ PORTNAME= inn PORTVERSION= 2.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= news ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= inn diff --git a/news/inn/pkg-plist b/news/inn/pkg-plist index aade727907ab..143ce112bda5 100644 --- a/news/inn/pkg-plist +++ b/news/inn/pkg-plist @@ -128,56 +128,82 @@ news/doc/hook-tcl news/doc/sample-control @unexec if cmp -s %D/news/etc/actsync.cfg %D/news/etc/actsync.cfg.dist; then rm -f %D/news/etc/actsync.cfg ; fi news/etc/actsync.cfg.dist +@exec [ -f %B/actsync.cfg ] || cp -f %B/%f %B/actsync.cfg @unexec if cmp -s %D/news/etc/actsync.ign %D/news/etc/actsync.ign.dist; then rm -f %D/news/etc/actsync.ign ; fi news/etc/actsync.ign.dist +@exec [ -f %B/actsync.ign ] || cp -f %B/%f %B/actsync.ign @unexec if cmp -s %D/news/etc/buffindexed.conf %D/news/etc/buffindexed.conf.dist; then rm -f %D/news/etc/buffindexed.conf ; fi news/etc/buffindexed.conf.dist +@exec [ -f %B/buffindexed.conf ] || cp -f %B%/%f %B/buffindexed.conf @unexec if cmp -s %D/news/etc/control.ctl %D/news/etc/control.ctl.dist; then rm -f %D/news/etc/control.ctl ; fi news/etc/control.ctl.dist +@exec [ -f %B/control.ctl ] || cp -f %B/%f %B/control.ctl @unexec if cmp -s %D/news/etc/cycbuff.conf %D/news/etc/cycbuff.conf.dist; then rm -f %D/news/etc/cycbuff.conf ; fi news/etc/cycbuff.conf.dist +@exec [ -f %B/cycbuff.conf ] || cp -f %B/%f %B/cycbuff.conf @unexec if cmp -s %D/news/etc/distrib.pats %D/news/etc/distrib.pats.dist; then rm -f %D/news/etc/distrib.pats ; fi news/etc/distrib.pats.dist +@exec [ -f %B/distrib.pats ] || cp -f %B/%f %B/distrib.pats @unexec if cmp -s %D/news/etc/expire.ctl %D/news/etc/expire.ctl.dist; then rm -f %D/news/etc/expire.ctl ; fi news/etc/expire.ctl.dist +@exec [ -f %B/expire.ctl ] || cp -f %B/%f %B/expire.ctl @unexec if cmp -s %D/news/etc/incoming.conf %D/news/etc/incoming.conf.dist; then rm -f %D/news/etc/incoming.conf ; fi news/etc/incoming.conf.dist +@exec [ -f %B/incoming ] || cp -f %B/%f %B/incoming.conf @unexec if cmp -s %D/news/etc/inn.conf %D/news/etc/inn.conf.dist; then rm -f %D/news/etc/inn.conf ; fi news/etc/inn.conf.dist +@exec [ -f %B/inn.conf ] || cp -f %B/%f %B/inn.conf @unexec if cmp -s %D/news/etc/innfeed.conf %D/news/etc/innfeed.conf.dist; then rm -f %D/news/etc/innfeed.conf ; fi news/etc/innfeed.conf.dist +@exec [ -f %B/innfeed.conf.dist ] || cp -f %B/%f %B/innfeed.conf.dist @unexec if cmp -s %D/news/etc/innreport.conf %D/news/etc/innreport.conf.dist; then rm -f %D/news/etc/innreport.conf ; fi news/etc/innreport.conf.dist +@exec [ -f %B/innreport.conf ] || cp -f %B/%f %B/innreport.conf @unexec if cmp -s %D/news/etc/innwatch.ctl %D/news/etc/innwatch.ctl.dist; then rm -f %D/news/etc/innwatch.ctl ; fi news/etc/innwatch.ctl.dist +@exec [ -f %B/innwatch.ctl ] || cp -f %B/%f %B/innwatch.ctl @unexec if cmp -s %D/news/etc/moderators %D/news/etc/moderators.dist; then rm -f %D/news/etc/moderators ; fi news/etc/moderators.dist +@exec [ -f %B/moderators ] || cp -f %B/%f %B/moderators @unexec if cmp -s %D/news/etc/motd.news %D/news/etc/motd.news.dist; then rm -f %D/news/etc/motd.news ; fi news/etc/motd.news.dist +@exec [ -f %B/motd.news ] || cp -f %B/%f %B/motd.news @unexec if cmp -s %D/news/etc/news2mail.cf %D/news/etc/news2mail.cf.dist; then rm -f %D/news/etc/news2mail.cf ; fi news/etc/news2mail.cf.dist +@exec [ -f %B/news2mail.cf ] || cp -f %B/%f %B/news2mail.cf @unexec if cmp -s %D/news/etc/newsfeeds %D/news/etc/newsfeeds.dist; then rm -f %D/news/etc/newsfeeds ; fi news/etc/newsfeeds.dist +@exec [ -f %B/newsfeeds ] || cp -f %B/%f %B/newsfeeds @unexec if cmp -s %D/news/etc/nnrpd.track %D/news/etc/nnrpd.track.dist; then rm -f %D/news/etc/nnrpd.track ; fi news/etc/nnrpd.track.dist +@exec [ -f %B/nnrpd.track ] || cp -f %B/%f %B/nnrpd.track @unexec if cmp -s %D/news/etc/nntpsend.ctl %D/news/etc/nntpsend.ctl.dist; then rm -f %D/news/etc/nntpsend.ctl ; fi news/etc/nntpsend.ctl.dist +@exec [ -f %B/nntpsend.ctl ] || cp -f %B/%f %B/nntpsend.ctl @unexec if cmp -s %D/news/etc/ovdb.conf %D/news/etc/ovdb.conf.dist; then rm -f %D/news/etc/ovdb.conf ; fi news/etc/ovdb.conf.dist +@exec [ -f %B/ovdb.conf ] || cp -f %B/%f %B/ovdb.conf @unexec if cmp -s %D/news/etc/overview.fmt %D/news/etc/overview.fmt.dist; then rm -f %D/news/etc/overview.fmt ; fi news/etc/overview.fmt.dist +@exec [ -f %B/overview.fmt ] || cp -f %B/%f %B/overview.fmt @unexec if cmp -s %D/news/etc/passwd.nntp %D/news/etc/passwd.nntp.dist; then rm -f %D/news/etc/passwd.nntp ; fi news/etc/passwd.nntp.dist +@exec [ -f %B/passwd.nntp ] || cp -f %B/%f %B/passwd.nntp @unexec if cmp -s %D/news/etc/radius.conf %D/news/etc/radius.conf.dist; then rm -f %D/news/etc/radius.conf ; fi news/etc/radius.conf.dist +@exec [ -f %B/radius.conf ] || cp -f %B/%f %B/radius.conf @unexec if cmp -s %D/news/etc/readers.conf %D/news/etc/readers.conf.dist; then rm -f %D/news/etc/readers.conf; fi news/etc/readers.conf.dist +@exec [ -f %B/readers.conf ] || cp -f %B/%f %B/readers.conf @unexec if cmp -s %D/news/etc/sasl.conf %D/news/etc/sasl.conf.dist; then rm -f %D/news/etc/sasl.conf ; fi news/etc/sasl.conf.dist +@exec [ -f %B/sasl.conf ] || cp -f %B/%f %B/sasl.conf @unexec if cmp -s %D/news/etc/storage.conf %D/news/etc/storage.conf.dist; then rm -f %D/news/etc/storage.conf ; fi news/etc/storage.conf.dist +@exec [ -f %B/storage.conf ] || cp -f %B/%f %B/storage.conf @unexec if cmp -s %D/news/etc/subscriptions %D/news/etc/subscriptions.dist; then rm -f %D/news/etc/subscriptions ; fi news/etc/subscriptions.dist +@exec [ -f %B/subscriptions ] || cp -f %B/%f %B/subscriptions news/include/clibrary.h news/include/conffile.h news/include/config.h @@ -238,7 +264,7 @@ news/lib/libstorage.a @dirrm news/include @unexec rmdir %D/news/etc 2>/dev/null || true @dirrm news/doc -@dirrm news/db +@unexec rmdir %D/news/db 2>/dev/null || true @dirrm news/bin/rnews.libexec @dirrm news/bin/filter @dirrm news/bin/control |