6686c115a0
- SHA256 checksums (reminded by sturm). ok sturm@
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
$OpenBSD: patch-nessus-libraries_Makefile,v 1.2 2007/02/13 11:55:01 aanriot Exp $
|
|
--- Makefile.orig Thu Jan 8 17:55:13 2004
|
|
+++ Makefile Sun Jan 28 16:35:22 2007
|
|
@@ -47,8 +47,8 @@ pcap-distclean:
|
|
install : $(PCAP_INSTALL)
|
|
test -d $(DESTDIR)${prefix} || ${INSTALL_DIR} -m 755 $(DESTDIR)${prefix}
|
|
test -d $(DESTDIR)${includedir}/nessus || ${INSTALL_DIR} -m 755 $(DESTDIR)${includedir}/nessus
|
|
- cd libnessus && ${MAKE} install
|
|
- cd libhosts_gatherer && ${MAKE} install
|
|
+ cd libnessus && ${MAKE} prefix=${prefix} install
|
|
+ cd libhosts_gatherer && ${MAKE} prefix=${prefix} install
|
|
|
|
|
|
$(INSTALL) -m 0444 include/includes.h $(DESTDIR)${includedir}/nessus
|
|
@@ -63,15 +63,6 @@ install : $(PCAP_INSTALL)
|
|
test -d $(DESTDIR)${mandir} || ${INSTALL_DIR} -m 755 $(DESTDIR)${mandir}
|
|
test -d $(DESTDIR)${mandir}/man1 || ${INSTALL_DIR} -m 755 $(DESTDIR)${mandir}/man1
|
|
$(INSTALL) -m 0644 nessus-config.1 $(DESTDIR)${mandir}/man1
|
|
-
|
|
- @echo
|
|
- @echo ' --------------------------------------------------------------'
|
|
- @echo ' nessus-libraries has been sucessfully installed. '
|
|
- @echo " Make sure that $(bindir) is in your PATH before you"
|
|
- @echo " continue "
|
|
- @if [ -f /etc/ld.so.conf ]; then echo " Be sure to add $(libdir) in /etc/ld.so.conf and type 'ldconfig'"; else echo ""; fi
|
|
- @echo ' --------------------------------------------------------------'
|
|
- @echo
|
|
|
|
clean : $(PCAP_CLEAN)
|
|
-cd libnessus && ${MAKE} clean
|