summaryrefslogtreecommitdiff
path: root/security/nessus-libraries/patches/patch-ac
blob: 55aaec1315d3f216a1b6a2388a1ddbb1a6aa34be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ac,v 1.3 2002/05/10 13:18:46 frueauf Exp $

--- Makefile.orig	Fri Oct 26 07:54:10 2001
+++ Makefile	Fri May 10 13:11:04 2002
@@ -51,15 +51,17 @@
 	cd libhosts_gatherer && ${MAKE} install
 
 
-	$(INSTALL) -m 0444 include/includes.h ${includedir}/nessus
+	# Use the includes.h from nessus-core:
+	#$(INSTALL) -m 0444 include/includes.h ${includedir}/nessus
 	$(INSTALL) -m 0444 include/libnessus.h ${includedir}/nessus
 	$(INSTALL) -m 0444 include/harglists.h ${includedir}/nessus
 	$(INSTALL) -m 0444 include/libvers.h   ${includedir}/nessus
 	$(INSTALL) -m 0444 include/getopt.h    ${includedir}/nessus
 	test -d ${bindir} || ${INSTALL_DIR} -m 755 ${bindir}
-	test -d ${sbindir} || ${INSTALL_DIR} -m 755 ${sbindir}
+	#test -d ${sbindir} || ${INSTALL_DIR} -m 755 ${sbindir}
 	$(INSTALL) -m 0755 nessus-config ${bindir}/nessus-config
-	$(INSTALL) -m 0755 uninstall-nessus ${sbindir}/uninstall-nessus
+	# we use pkg_* tools to deinstall nessus
+	#$(INSTALL) -m 0755 uninstall-nessus ${sbindir}/uninstall-nessus
 	test -d ${mandir} || ${INSTALL_DIR} -m 755 ${mandir}
 	test -d ${mandir}/man1 || ${INSTALL_DIR} -m 755 ${mandir}/man1
 	$(INSTALL) -m 0644 nessus-config.1 ${mandir}/man1