Skip to content

Commit

Permalink
security/pks: use pkg-message to show message on remove
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Jul 27, 2022
1 parent 540e1c4 commit 6c0c974
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 26 deletions.
3 changes: 2 additions & 1 deletion security/pks/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= pks
PORTVERSION= 0.9.6.20040312
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= security www
MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree
DISTFILES= pks-current.tgz
Expand Down Expand Up @@ -31,6 +31,7 @@ CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \
DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h

SUB_FILES= pkg-message
SUB_LIST= PORTNAME="${PORTNAME}"

OPTIONS_DEFINE= DOCS
PORTDOCS= pks_help.* README EMAIL
Expand Down
25 changes: 0 additions & 25 deletions security/pks/files/pkg-deinstall.in

This file was deleted.

11 changes: 11 additions & 0 deletions security/pks/files/pkg-message.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,16 @@ Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable this ser

man 8 pksclient
EOM
},
{ type: remove
message: <<EOM
===========================================================================
If you won't be using %%PORTNAME%% any longer, you may want to remove the
following directories and files:

%%PREFIX%%/etc/pksd.conf
/var/pks
===========================================================================
EOM
}
]

0 comments on commit 6c0c974

Please sign in to comment.