FreeBSD Bugzilla – Attachment 48163 Details for
Bug 73726
maintainer-update of security/nessus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.75 KB, created by
Udo.Schweigert
on 2004-11-09 17:50:30 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Udo.Schweigert
Created:
2004-11-09 17:50:30 UTC
Size:
1.75 KB
patch
obsolete
>diff -ru /usr/ports/security/nessus/Makefile nessus/Makefile >--- /usr/ports/security/nessus/Makefile Sun Nov 7 06:07:51 2004 >+++ nessus/Makefile Sun Nov 7 20:18:33 2004 >@@ -30,6 +30,7 @@ > > DIST_SUBDIR= nessus > WRKSRC= ${WRKDIR}/nessus-core >+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall.sh > > USE_LIBTOOL_VER=13 > USE_REINPLACE= YES >@@ -56,6 +57,14 @@ > > RC_SCRIPTS_SUB= PREFIX=${PREFIX} \ > RC_SUBR=${RC_SUBR} >+ >+SED_SCRIPT= -e 's,%%PKGNAME%%,${PKGNAME},g' \ >+ -e 's,%%PREFIX%%,${PREFIX},g' >+ >+post-build: >+.for script in pkg-deinstall >+ @${SED} ${SED_SCRIPT} ${SCRIPTDIR}/${script} > ${WRKDIR}/${script}.sh >+.endfor > > post-install: > @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ >diff -ru /usr/ports/security/nessus/scripts/pkg-deinstall nessus/scripts/pkg-deinstall >--- /usr/ports/security/nessus/scripts/pkg-deinstall Thu Jan 1 01:00:00 1970 >+++ nessus/scripts/pkg-deinstall Sun Nov 7 20:33:18 2004 >@@ -0,0 +1,30 @@ >+#!/bin/sh >+# >+# $FreeBSD: $ >+# >+ >+ECHO_CMD=echo >+ >+case $2 in >+POST-DEINSTALL) >+ ${ECHO_CMD} >+ ${ECHO_CMD} "The %%PKGNAME%% server package has been deleted." >+ ${ECHO_CMD} "If you're *not* upgrading and won't be using" >+ ${ECHO_CMD} "it any longer, you may want to issue the" >+ ${ECHO_CMD} "following commands:" >+ ${ECHO_CMD} >+ if [ -d %%PREFIX%%/var/nessus ]; then >+ ${ECHO_CMD} "- to delete the nessus server permanently (losing all data):" >+ ${ECHO_CMD} " rm -Rf %%PREFIX%%/var/nessus" >+ ${ECHO_CMD} >+ fi >+ if [ -d %%PREFIX%%/com/CA ]; then >+ ${ECHO_CMD} "- to remove the Certificate Authority associated with nessus:" >+ ${ECHO_CMD} " rm -Rf %%PREFIX%%/com/CA" >+ ${ECHO_CMD} >+ fi >+ ${ECHO_CMD} "If you are upgrading, don't forget to restart" >+ ${ECHO_CMD} "nessusd and updating the plugins." >+ ${ECHO_CMD} >+ ;; >+esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 73726
: 48163