1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Add matchting @unexec lines for serveral "@exec"

So when package is removed, disr will clean.
  Problem only found in depended ports: c-nocem, nntpd, ...
- Bumped PORTREVISION

PR:		27340
This commit is contained in:
Dirk Meyer 2001-05-20 04:22:36 +00:00
parent 5fef39e5ee
commit 741cd98351
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42790
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \

View File

@ -2,8 +2,14 @@
@comment Basically just in.* and out.* /var/news might be a symbolic link
@comment and it might not exist yet :-(
@exec ln -sf /usr/local/newsspool /var/news
@unexec rm -f /usr/local/newsspool
@exec mkdir -p /usr/local/newsspool/in.coming/bad
@exec cd /usr/local/newsspool; mkdir -p out.going out.master out.nntp
@rmdir /usr/local/newsspool/in.coming/bad
@rmdir /usr/local/newsspool/in.coming
@rmdir /usr/local/newsspool/out.going
@rmdir /usr/local/newsspool/out.master
@rmdir /usr/local/newsspool/out.nntp
bin/checknews
bin/cnewsdo
bin/inews