- up to 1.0.6
- patch included libtools - use ports gmp now that our gmp is gone - make included scripts more readable
This commit is contained in:
parent
f9e85c9883
commit
7328d212f1
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2000/10/01 00:41:45 matt Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2000/12/28 16:07:05 matt Exp $
|
||||
|
||||
PKGNAME= nessus-${VERS}
|
||||
|
||||
CATEGORIES= security
|
||||
NEED_VERSION= 1.316
|
||||
|
||||
VERS= 1.0.5
|
||||
VERS= 1.0.6
|
||||
|
||||
DIST_SUBDIR= nessus
|
||||
|
||||
@ -38,20 +38,24 @@ FLAVOR?=
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=--localstatedir=/var
|
||||
|
||||
LIB_DEPENDS= gmp.4.1::devel/gmp
|
||||
|
||||
.if empty(FLAVOR:L:Mno_x11)
|
||||
LIB_DEPENDS= gtk.1.2::x11/gtk+
|
||||
LIB_DEPENDS+= gtk.1.2::x11/gtk+
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gtk
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@sed "s%y0y0y0%${NESSUS_DIRS}%g" \
|
||||
@sed 's%@@NESSUS_DIRS@@%${NESSUS_DIRS}%g' \
|
||||
${FILESDIR}/Makefile > ${WRKSRC}Makefile
|
||||
@sed -e "s%y0y0y0%${NESSUS_DIRS}%g" -e "s%w00w00%${WRKSRC}%g" \
|
||||
@sed -e 's%@@NESSUS_DIRS@@%${NESSUS_DIRS}%g' \
|
||||
-e 's%@@WRKSRC@@%${WRKSRC}%g' \
|
||||
${FILESDIR}/configure > ${WRKSRC}configure
|
||||
@sed -e "s%w00w00%${WRKSRC}%g" -e "s%@@VERS@@%${VERS}%g" \
|
||||
@sed -e 's%@@WRKSRC@@%${WRKSRC}%g' -e 's%@@VERS@@%${VERS}%g' \
|
||||
-e 's%@@PREFIX@@%${PREFIX}%g' \
|
||||
${FILESDIR}/nessus-config > ${WRKSRC}nessus-config
|
||||
@sed "s%w00w00%${WRKSRC}%g" \
|
||||
@sed 's%@@WRKSRC@@%${WRKSRC}%g' \
|
||||
${FILESDIR}/nasl-config > ${WRKSRC}nasl-config
|
||||
@chmod 755 ${WRKSRC}*
|
||||
@(cd ${WRKSRC}nessus-libraries/include ; ln -s . nessus)
|
||||
|
@ -1,16 +1,18 @@
|
||||
#
|
||||
# Makefile wrapper for nessus.
|
||||
# Makefile wrapper for nessus
|
||||
#
|
||||
# Original by dug song <dugsong@monkey.org>
|
||||
# Enhanced by Matt Behrens <matt@openbsd.org>
|
||||
#
|
||||
# dugsong@monkey.org
|
||||
|
||||
all:
|
||||
@for dir in y0y0y0 ; do \
|
||||
@for dir in @@NESSUS_DIRS@@ ; do \
|
||||
echo "===> Building $$dir" ; \
|
||||
(cd $$dir ; make $@) ; \
|
||||
done
|
||||
|
||||
install:
|
||||
@for dir in y0y0y0 ; do \
|
||||
@for dir in @@NESSUS_DIRS@@ ; do \
|
||||
echo "===> Installing $$dir" ; \
|
||||
(cd $$dir ; \
|
||||
make prefix=${PREFIX} \
|
||||
|
10
security/nessus/files/configure
vendored
10
security/nessus/files/configure
vendored
@ -1,13 +1,13 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# configure wrapper for nessus
|
||||
# configure wrapper script for nessus
|
||||
#
|
||||
# why are people aping the stupidity of gtk-config? @#$!$
|
||||
# Original by dug song <dugsong@monkey.org>
|
||||
# Enhanced by Matt Behrens <matt@openbsd.org>
|
||||
#
|
||||
# dugsong@monkey.org
|
||||
|
||||
for dir in y0y0y0 ; do
|
||||
for dir in @@NESSUS_DIRS@@ ; do
|
||||
echo "===> Configuring $dir"
|
||||
(cd $dir ; PATH=w00w00:$PATH ./configure $*)
|
||||
(cd $dir ; PATH=@@WRKSRC@@:$PATH ./configure $*)
|
||||
done
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
MD5 (nessus/libnasl-1.0.5.tar.gz) = cd64d77103817b562e0c4e8a77b8856e
|
||||
MD5 (nessus/nessus-core-1.0.5.tar.gz) = e5636b91642588c4bff8c69b582e3e01
|
||||
MD5 (nessus/nessus-libraries-1.0.5.tar.gz) = f34c510ab6e05119b3d6cf66558adb7d
|
||||
MD5 (nessus/nessus-plugins-1.0.5.tar.gz) = a805e3195d52353beffb74900052ddaa
|
||||
RMD160 (nessus/libnasl-1.0.5.tar.gz) = ad0ddd16e8c63483cacda807f0071649ac90939a
|
||||
RMD160 (nessus/nessus-core-1.0.5.tar.gz) = 6a01c6cf0d985e991fd79888624e0a92c24f9941
|
||||
RMD160 (nessus/nessus-libraries-1.0.5.tar.gz) = 4f509c91dd0cefe43fc3decf5abc3ad638dbae36
|
||||
RMD160 (nessus/nessus-plugins-1.0.5.tar.gz) = 37a60c6bf88c8cc10cc701b7cb267f642ca08567
|
||||
SHA1 (nessus/libnasl-1.0.5.tar.gz) = c3fa2f432d90be6ccc2933d12d1bfdbcd2bfd96f
|
||||
SHA1 (nessus/nessus-core-1.0.5.tar.gz) = 96910fa3050e1b81e53e26630b1f2252c48fe220
|
||||
SHA1 (nessus/nessus-libraries-1.0.5.tar.gz) = b1f18202598c0649a2bc9e6f95e784e593f77b8f
|
||||
SHA1 (nessus/nessus-plugins-1.0.5.tar.gz) = f408572e313d5283a63b8f20db1a316f88b178cf
|
||||
MD5 (nessus/libnasl-1.0.6.tar.gz) = bf2663ff9704089dbf924bb167d4edc1
|
||||
MD5 (nessus/nessus-core-1.0.6.tar.gz) = d904ae36d5d7a8e22d538a5e48a7a23e
|
||||
MD5 (nessus/nessus-libraries-1.0.6.tar.gz) = a216154152049118d234172f18c4d3b5
|
||||
MD5 (nessus/nessus-plugins-1.0.6.tar.gz) = 97e8fafd4745813fb2eaed669560ff26
|
||||
RMD160 (nessus/libnasl-1.0.6.tar.gz) = 18590836c185148862c08543833e95a6d99217d6
|
||||
RMD160 (nessus/nessus-core-1.0.6.tar.gz) = 66aee30b79e60b24f0dbaf1c2635fa06575dfe97
|
||||
RMD160 (nessus/nessus-libraries-1.0.6.tar.gz) = d40126e2df6a5ad1018d890cf0dda072a0a1d334
|
||||
RMD160 (nessus/nessus-plugins-1.0.6.tar.gz) = 0596f4feedfdee49e02e914585c56e518ba5537f
|
||||
SHA1 (nessus/libnasl-1.0.6.tar.gz) = 4d5620e7c76428a4c3f9a389d6b0f6a83e1f9147
|
||||
SHA1 (nessus/nessus-core-1.0.6.tar.gz) = ec83ed5e51401e0c6fd18642fe46132381dce166
|
||||
SHA1 (nessus/nessus-libraries-1.0.6.tar.gz) = e42cf37d2c259dde7d22f005a927cedee284c24b
|
||||
SHA1 (nessus/nessus-plugins-1.0.6.tar.gz) = 2d48f1844a571fe29c8125f804a7b8a299792e4a
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Nessus libraries configuration script
|
||||
# NASL configuration script
|
||||
#
|
||||
# braindeath from the gtk world. ugh.
|
||||
# Original by dug song <dugsong@monkey.org>
|
||||
# Enhanced by Matt Behrens <matt@openbsd.org>
|
||||
#
|
||||
# fake the funk. dugsong@monkey.org
|
||||
|
||||
PREFIX=w00w00libnasl
|
||||
PREFIX=@@WRKSRC@@/libnasl
|
||||
LIBDIR=$PREFIX/nasl/.libs
|
||||
INCLUDEDIR=$PREFIX/include
|
||||
VERSION=0.98.3
|
||||
|
@ -1,15 +1,15 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Nessus libraries configuration script
|
||||
# Nessus libraries configuration script
|
||||
#
|
||||
# braindeath from the gtk world. ugh.
|
||||
# Original by dug song <dugsong@monkey.org>
|
||||
# Enhanced by Matt Behrens <matt@openbsd.org>
|
||||
#
|
||||
# fake the funk. dugsong@monkey.org
|
||||
|
||||
VERSION=@@VERS@@
|
||||
LIBDIR=w00w00nessus-libraries
|
||||
COREDIR=w00w00nessus-core
|
||||
CIPHER="-L$LIBDIR/libpeks/.libs -lpeks -lgmp -lz"
|
||||
LIBDIR=@@WRKSRC@@/nessus-libraries
|
||||
COREDIR=@@WRKSRC@@/nessus-core
|
||||
CIPHER="-L$LIBDIR/libpeks/.libs -L@@PREFIX@@/lib -lpeks -lgmp -lz"
|
||||
CIPHER_CFLAGS="-DENABLE_CRYPTO_LAYER -I$LIBDIR/libpeks"
|
||||
EXTRA="-lresolv "
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
/* Replace the configure-generated nmap.h so that we can convince
|
||||
* nmap_wrapper.nes to build regardless of nmap's presence.
|
||||
/*
|
||||
* Replace the configure-generated nmap.h so that we can convince
|
||||
* nmap_wrapper.nes to build regardless of nmap's presence.
|
||||
*
|
||||
* Matt Behrens <matt@openbsd.org>
|
||||
*/
|
||||
|
||||
#ifndef NMAP_H__
|
||||
|
@ -1,12 +1,40 @@
|
||||
$OpenBSD: patch-libnasl_ltconfig,v 1.1 2000/10/01 00:35:52 matt Exp $
|
||||
$OpenBSD: patch-libnasl_ltconfig,v 1.2 2000/12/28 16:07:06 matt Exp $
|
||||
--- libnasl/ltconfig.orig Mon Apr 3 11:13:02 2000
|
||||
+++ libnasl/ltconfig Tue Sep 26 13:48:05 2000
|
||||
@@ -2002,7 +2002,7 @@ openbsd*)
|
||||
need_version=no
|
||||
fi
|
||||
+++ libnasl/ltconfig Sat Nov 25 19:35:15 2000
|
||||
@@ -1396,10 +1396,18 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd2.[01234567])
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -1997,13 +2005,10 @@ netbsd*)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ finish_cmds=
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
||||
|
54
security/nessus/patches/patch-libnasl_ltmain_sh
Normal file
54
security/nessus/patches/patch-libnasl_ltmain_sh
Normal file
@ -0,0 +1,54 @@
|
||||
$OpenBSD: patch-libnasl_ltmain_sh,v 1.1 2000/12/28 16:07:06 matt Exp $
|
||||
--- libnasl/ltmain.sh.orig Fri Jul 7 20:16:21 2000
|
||||
+++ libnasl/ltmain.sh Sat Dec 16 14:48:52 2000
|
||||
@@ -1795,6 +1795,9 @@ compiler."
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3537,40 +3540,6 @@ libdir='$install_libdir'\
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-nessus-libraries_configure,v 1.1 2000/10/01 00:35:53 matt Exp $
|
||||
--- nessus-libraries/configure.orig Thu Aug 31 10:52:56 2000
|
||||
+++ nessus-libraries/configure Tue Sep 26 13:48:04 2000
|
||||
@@ -3863,7 +3863,7 @@ INSTALL_DIR="$INSTALL -d"
|
||||
$OpenBSD: patch-nessus-libraries_configure,v 1.2 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-libraries/configure.orig Thu Sep 28 08:34:25 2000
|
||||
+++ nessus-libraries/configure Sat Nov 25 19:24:30 2000
|
||||
@@ -3936,7 +3936,7 @@ INSTALL_DIR="$INSTALL -d"
|
||||
|
||||
EXTRA=$LIBS
|
||||
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-nessus-libraries_configure,v 1.1 2000/10/01 00:35:53 matt Exp $
|
||||
|
||||
|
||||
|
||||
@@ -4305,7 +4305,7 @@ if test "$no_recursion" != yes; then
|
||||
@@ -4378,7 +4378,7 @@ if test "$no_recursion" != yes; then
|
||||
esac
|
||||
done
|
||||
|
||||
|
@ -1,12 +1,40 @@
|
||||
$OpenBSD: patch-nessus-libraries_libpeks_ltconfig,v 1.1 2000/10/01 00:35:53 matt Exp $
|
||||
$OpenBSD: patch-nessus-libraries_libpeks_ltconfig,v 1.2 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-libraries/libpeks/ltconfig.orig Sat Apr 29 13:11:56 2000
|
||||
+++ nessus-libraries/libpeks/ltconfig Tue Sep 26 13:48:05 2000
|
||||
@@ -2002,7 +2002,7 @@ openbsd*)
|
||||
need_version=no
|
||||
fi
|
||||
+++ nessus-libraries/libpeks/ltconfig Sat Nov 25 19:35:21 2000
|
||||
@@ -1396,10 +1396,18 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd2.[01234567])
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -1997,13 +2005,10 @@ netbsd*)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ finish_cmds=
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
||||
|
@ -0,0 +1,54 @@
|
||||
$OpenBSD: patch-nessus-libraries_libpeks_ltmain_sh,v 1.1 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-libraries/libpeks/ltmain.sh.orig Sat Apr 29 13:11:57 2000
|
||||
+++ nessus-libraries/libpeks/ltmain.sh Sat Dec 16 14:48:51 2000
|
||||
@@ -1795,6 +1795,9 @@ compiler."
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3555,40 +3558,6 @@ libdir='$install_libdir'\
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
@ -1,12 +1,40 @@
|
||||
$OpenBSD: patch-nessus-libraries_ltconfig,v 1.1 2000/10/01 00:35:53 matt Exp $
|
||||
$OpenBSD: patch-nessus-libraries_ltconfig,v 1.2 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-libraries/ltconfig.orig Mon Apr 3 11:12:48 2000
|
||||
+++ nessus-libraries/ltconfig Tue Sep 26 13:48:05 2000
|
||||
@@ -2002,7 +2002,7 @@ openbsd*)
|
||||
need_version=no
|
||||
fi
|
||||
+++ nessus-libraries/ltconfig Sat Nov 25 19:35:03 2000
|
||||
@@ -1396,10 +1396,18 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd2.[01234567])
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -1997,13 +2005,10 @@ netbsd*)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ finish_cmds=
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
||||
|
54
security/nessus/patches/patch-nessus-libraries_ltmain_sh
Normal file
54
security/nessus/patches/patch-nessus-libraries_ltmain_sh
Normal file
@ -0,0 +1,54 @@
|
||||
$OpenBSD: patch-nessus-libraries_ltmain_sh,v 1.1 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-libraries/ltmain.sh.orig Fri Jul 7 20:17:07 2000
|
||||
+++ nessus-libraries/ltmain.sh Sat Dec 16 14:48:50 2000
|
||||
@@ -1795,6 +1795,9 @@ compiler."
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3537,40 +3540,6 @@ libdir='$install_libdir'\
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-nessus-plugins_Makefile,v 1.1 2000/10/01 00:35:53 matt Exp $
|
||||
--- nessus-plugins/Makefile.orig Sun Apr 30 09:03:02 2000
|
||||
+++ nessus-plugins/Makefile Tue Sep 26 13:48:05 2000
|
||||
$OpenBSD: patch-nessus-plugins_Makefile,v 1.2 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-plugins/Makefile.orig Fri Sep 29 06:03:42 2000
|
||||
+++ nessus-plugins/Makefile Sat Nov 25 19:25:18 2000
|
||||
@@ -23,7 +23,7 @@ install : all $(INSTALL_UPDATER)
|
||||
$(INSTALL) -o root -m 444 $$scripts ${libdir}/nessus/plugins; \
|
||||
done
|
||||
|
||||
- for plugins in bin/*.nes; do \
|
||||
+ -for plugins in bin/*.nes; do \
|
||||
$(INSTALL) -o root -m 444 $$plugins ${libdir}/nessus/plugins; \
|
||||
$(INSTALL) -o root -m 555 $$plugins ${libdir}/nessus/plugins; \
|
||||
done
|
||||
|
||||
|
40
security/nessus/patches/patch-nessus-plugins_ltconfig
Normal file
40
security/nessus/patches/patch-nessus-plugins_ltconfig
Normal file
@ -0,0 +1,40 @@
|
||||
$OpenBSD: patch-nessus-plugins_ltconfig,v 1.1 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-plugins/ltconfig.orig Mon Apr 3 11:13:19 2000
|
||||
+++ nessus-plugins/ltconfig Sat Nov 25 19:35:28 2000
|
||||
@@ -1396,10 +1396,18 @@ else
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd2.[01234567])
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -1997,13 +2005,10 @@ netbsd*)
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ finish_cmds=
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
54
security/nessus/patches/patch-nessus-plugins_ltmain_sh
Normal file
54
security/nessus/patches/patch-nessus-plugins_ltmain_sh
Normal file
@ -0,0 +1,54 @@
|
||||
$OpenBSD: patch-nessus-plugins_ltmain_sh,v 1.1 2000/12/28 16:07:06 matt Exp $
|
||||
--- nessus-plugins/ltmain.sh.orig Fri Jul 7 20:16:48 2000
|
||||
+++ nessus-plugins/ltmain.sh Sat Dec 16 14:48:53 2000
|
||||
@@ -1795,6 +1795,9 @@ compiler."
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3537,40 +3540,6 @@ libdir='$install_libdir'\
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
@ -1,8 +1,8 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.5 2000/10/01 00:35:53 matt Exp $
|
||||
lib/libhosts_gatherer.so.1.5
|
||||
lib/libnasl.so.1.5
|
||||
lib/libnessus.so.1.5
|
||||
lib/libpeks.so.8.15
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.6 2000/12/28 16:07:06 matt Exp $
|
||||
lib/libhosts_gatherer.so.1.6
|
||||
lib/libnasl.so.1.6
|
||||
lib/libnessus.so.1.6
|
||||
lib/libpeks.so.8.16
|
||||
lib/nessus/plugins/accounts.nes
|
||||
lib/nessus/plugins/bind_bof.nes
|
||||
lib/nessus/plugins/find_service.nes
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2000/10/01 00:35:53 matt Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2000/12/28 16:07:06 matt Exp $
|
||||
bin/nasl
|
||||
bin/nasl-config
|
||||
bin/nessus
|
||||
@ -32,6 +32,7 @@ lib/nessus/plugins/ColdFusion.nasl
|
||||
lib/nessus/plugins/ExAir_dos_advsearch.nasl
|
||||
lib/nessus/plugins/ExAir_dos_query.nasl
|
||||
lib/nessus/plugins/ExAir_dos_search.nasl
|
||||
lib/nessus/plugins/LPRng.nasl
|
||||
lib/nessus/plugins/NetSphere.nasl
|
||||
lib/nessus/plugins/PC_anywhere.nasl
|
||||
lib/nessus/plugins/PGPCert_DoS.nasl
|
||||
@ -42,6 +43,7 @@ lib/nessus/plugins/X.nasl
|
||||
lib/nessus/plugins/acc.nasl
|
||||
lib/nessus/plugins/afs_version.nasl
|
||||
lib/nessus/plugins/aix_ftpd.nasl
|
||||
lib/nessus/plugins/alcatel_adsl.nasl
|
||||
lib/nessus/plugins/alibaba.nasl
|
||||
lib/nessus/plugins/alibaba_get32.nasl
|
||||
lib/nessus/plugins/alibaba_overflow.nasl
|
||||
@ -50,6 +52,7 @@ lib/nessus/plugins/alibaba_tst.nasl
|
||||
lib/nessus/plugins/altavista_search.nasl
|
||||
lib/nessus/plugins/amanda_detect.nasl
|
||||
lib/nessus/plugins/an_httpd_cgis.nasl
|
||||
lib/nessus/plugins/anaconda.nasl
|
||||
lib/nessus/plugins/analogx.nasl
|
||||
lib/nessus/plugins/analogx_dos.nasl
|
||||
lib/nessus/plugins/analogx_traversal.nasl
|
||||
@ -71,6 +74,7 @@ lib/nessus/plugins/bb-hostsvc.nasl
|
||||
lib/nessus/plugins/bboard.nasl
|
||||
lib/nessus/plugins/bftelnet.nasl
|
||||
lib/nessus/plugins/bigconf.nasl
|
||||
lib/nessus/plugins/bind_query.nasl
|
||||
lib/nessus/plugins/bind_version.nasl
|
||||
lib/nessus/plugins/bind_vulnerable.nasl
|
||||
lib/nessus/plugins/bizdb1_search.nasl
|
||||
@ -110,6 +114,7 @@ lib/nessus/plugins/delegate_overflow.nasl
|
||||
lib/nessus/plugins/dfire_cgi.nasl
|
||||
lib/nessus/plugins/dmail_overflow.nasl
|
||||
lib/nessus/plugins/doc_browsable.nasl
|
||||
lib/nessus/plugins/doc_package_browseable.nasl
|
||||
lib/nessus/plugins/domino.nasl
|
||||
lib/nessus/plugins/domino_fs_config.nasl
|
||||
lib/nessus/plugins/domino_http_dos.nasl
|
||||
@ -130,6 +135,7 @@ lib/nessus/plugins/finger_0.nasl
|
||||
lib/nessus/plugins/finger_backdoor.nasl
|
||||
lib/nessus/plugins/finger_cgi.nasl
|
||||
lib/nessus/plugins/finger_dot.nasl
|
||||
lib/nessus/plugins/finger_freebsd.nasl
|
||||
lib/nessus/plugins/finger_redirection.nasl
|
||||
lib/nessus/plugins/firewall1_dos.nasl
|
||||
lib/nessus/plugins/formhandler.nasl
|
||||
@ -177,6 +183,9 @@ lib/nessus/plugins/htmlscript.nasl
|
||||
lib/nessus/plugins/htsearch_location.nasl
|
||||
lib/nessus/plugins/http_methods.nasl
|
||||
lib/nessus/plugins/http_version.nasl
|
||||
lib/nessus/plugins/http_webshopper.nasl
|
||||
lib/nessus/plugins/http_webstore.nasl
|
||||
lib/nessus/plugins/httpd_boa.nasl
|
||||
lib/nessus/plugins/httpd_nobody.nasl
|
||||
lib/nessus/plugins/hyperbomb.nasl
|
||||
lib/nessus/plugins/i2odialogd.nasl
|
||||
@ -192,6 +201,7 @@ lib/nessus/plugins/iis_anything_idq.nasl
|
||||
lib/nessus/plugins/iis_authentification_manager.nasl
|
||||
lib/nessus/plugins/iis_buffer_overflow.nasl
|
||||
lib/nessus/plugins/iis_crash.nasl
|
||||
lib/nessus/plugins/iis_dir_traversal.nasl
|
||||
lib/nessus/plugins/iis_dos_ussrback.nasl
|
||||
lib/nessus/plugins/iis_ftp_crash.nasl
|
||||
lib/nessus/plugins/iis_malformed_request.nasl
|
||||
@ -215,11 +225,13 @@ lib/nessus/plugins/interscan_dos.nasl
|
||||
lib/nessus/plugins/ipop2d.nasl
|
||||
lib/nessus/plugins/ipop2d_readfiles.nasl
|
||||
lib/nessus/plugins/ithousemail_bof.nasl
|
||||
lib/nessus/plugins/iws_shtml.nasl
|
||||
lib/nessus/plugins/jj.nasl
|
||||
lib/nessus/plugins/jrun.nasl
|
||||
lib/nessus/plugins/ken_segfault.nasl
|
||||
lib/nessus/plugins/kerberos_overflow.nasl
|
||||
lib/nessus/plugins/kuang2_the_virus.nasl
|
||||
lib/nessus/plugins/kw_whois.nasl
|
||||
lib/nessus/plugins/land.nasl
|
||||
lib/nessus/plugins/lcdproc_buffer_overflow.nasl
|
||||
lib/nessus/plugins/lcdproc_detect.nasl
|
||||
@ -273,10 +285,13 @@ lib/nessus/plugins/nis_server.nasl
|
||||
lib/nessus/plugins/nntpserver_detect.nasl
|
||||
lib/nessus/plugins/no404.nasl
|
||||
lib/nessus/plugins/nortel_cgiproc_dos.nasl
|
||||
lib/nessus/plugins/nortel_pwdless1.nasl
|
||||
lib/nessus/plugins/nortel_pwdless2.nasl
|
||||
lib/nessus/plugins/notes_mta_dos.nasl
|
||||
lib/nessus/plugins/novell_border_manager.nasl
|
||||
lib/nessus/plugins/nph-publish.nasl
|
||||
lib/nessus/plugins/nph-test-cgi.nasl
|
||||
lib/nessus/plugins/nsm_format_strings.nasl
|
||||
lib/nessus/plugins/nt_ftp_guest.nasl
|
||||
lib/nessus/plugins/nt_spam.nasl
|
||||
lib/nessus/plugins/ntalk_detect.nasl
|
||||
@ -296,6 +311,7 @@ lib/nessus/plugins/pgpnet_detect.nasl
|
||||
lib/nessus/plugins/phf.nasl
|
||||
lib/nessus/plugins/php.nasl
|
||||
lib/nessus/plugins/php_file_upload.nasl
|
||||
lib/nessus/plugins/php_log.nasl
|
||||
lib/nessus/plugins/php_overflow.nasl
|
||||
lib/nessus/plugins/pimp.nasl
|
||||
lib/nessus/plugins/ping_host.nasl
|
||||
@ -324,6 +340,7 @@ lib/nessus/plugins/qpopper_euidl.nasl
|
||||
lib/nessus/plugins/qpopper_list.nasl
|
||||
lib/nessus/plugins/quote.nasl
|
||||
lib/nessus/plugins/ramcrash.nasl
|
||||
lib/nessus/plugins/rbs.nasl
|
||||
lib/nessus/plugins/realserver_malformed_request_dos.nasl
|
||||
lib/nessus/plugins/realserver_ussr_dos.nasl
|
||||
lib/nessus/plugins/realserverg2.nasl
|
||||
@ -398,6 +415,7 @@ lib/nessus/plugins/slmail27.nasl
|
||||
lib/nessus/plugins/slmail_helo.nasl
|
||||
lib/nessus/plugins/smartserver_pop_overflow.nasl
|
||||
lib/nessus/plugins/smb_accessible_shares.nasl
|
||||
lib/nessus/plugins/smb_bruteforce_pass.nasl
|
||||
lib/nessus/plugins/smb_crash_winlogon.nasl
|
||||
lib/nessus/plugins/smb_dom2sid.nasl
|
||||
lib/nessus/plugins/smb_enum_services.nasl
|
||||
@ -413,6 +431,8 @@ lib/nessus/plugins/smb_nt_ms00-053.nasl
|
||||
lib/nessus/plugins/smb_nt_ms00-062.nasl
|
||||
lib/nessus/plugins/smb_nt_ms00-065.nasl
|
||||
lib/nessus/plugins/smb_nt_ms00-066.nasl
|
||||
lib/nessus/plugins/smb_nt_ms00-067.nasl
|
||||
lib/nessus/plugins/smb_nt_ms00-070.nasl
|
||||
lib/nessus/plugins/smb_reg_autologon.nasl
|
||||
lib/nessus/plugins/smb_reg_hklm.nasl
|
||||
lib/nessus/plugins/smb_reg_missing_winreg.nasl
|
||||
@ -420,6 +440,7 @@ lib/nessus/plugins/smb_reg_pdc.nasl
|
||||
lib/nessus/plugins/smb_reg_run_permissions.nasl
|
||||
lib/nessus/plugins/smb_reg_schedule.nasl
|
||||
lib/nessus/plugins/smb_reg_service_pack.nasl
|
||||
lib/nessus/plugins/smb_reg_service_pack_W2K.nasl
|
||||
lib/nessus/plugins/smb_reg_sfcdisable.nasl
|
||||
lib/nessus/plugins/smb_reg_trojan_paths.nasl
|
||||
lib/nessus/plugins/smb_reg_winlogon_permissions.nasl
|
||||
@ -429,6 +450,7 @@ lib/nessus/plugins/smb_sid2user.nasl
|
||||
lib/nessus/plugins/smb_svc_alerter.nasl
|
||||
lib/nessus/plugins/smb_svc_messenger.nasl
|
||||
lib/nessus/plugins/smtp_bounce.nasl
|
||||
lib/nessus/plugins/smtp_bypass_cisco.nasl
|
||||
lib/nessus/plugins/smtp_file.nasl
|
||||
lib/nessus/plugins/smtp_helo.nasl
|
||||
lib/nessus/plugins/smtp_program.nasl
|
||||
@ -463,12 +485,14 @@ lib/nessus/plugins/tfn.nasl
|
||||
lib/nessus/plugins/tfs_smtp_overflow.nasl
|
||||
lib/nessus/plugins/thttpd_buffer_overflow.nasl
|
||||
lib/nessus/plugins/thttpd_bug.nasl
|
||||
lib/nessus/plugins/thttpd_ssi.nasl
|
||||
lib/nessus/plugins/tomcat_admin.nasl
|
||||
lib/nessus/plugins/tomcat_snoop.nasl
|
||||
lib/nessus/plugins/traceroute.nasl
|
||||
lib/nessus/plugins/translate_f.nasl
|
||||
lib/nessus/plugins/trinity.nasl
|
||||
lib/nessus/plugins/trinoo.nasl
|
||||
lib/nessus/plugins/ultraseek_dos.nasl
|
||||
lib/nessus/plugins/unicast_dos.nasl
|
||||
lib/nessus/plugins/upload_cgi.nasl
|
||||
lib/nessus/plugins/uploader_exe.nasl
|
||||
@ -486,6 +510,7 @@ lib/nessus/plugins/web_traversal.nasl
|
||||
lib/nessus/plugins/webactive_log.nasl
|
||||
lib/nessus/plugins/webcart.nasl
|
||||
lib/nessus/plugins/webdav.nasl
|
||||
lib/nessus/plugins/webdav_iis.nasl
|
||||
lib/nessus/plugins/webdist.nasl
|
||||
lib/nessus/plugins/webfind.nasl
|
||||
lib/nessus/plugins/webgais.nasl
|
||||
@ -544,8 +569,6 @@ share/examples/nessus/nessus/queso.conf
|
||||
%%SHARED%%
|
||||
@dirrm share/examples/nessus/nessus
|
||||
@dirrm share/examples/nessus
|
||||
@exec mkdir -p %D/lib/nessus/reports
|
||||
@dirrm lib/nessus/reports
|
||||
@dirrm lib/nessus/plugins_factory
|
||||
@dirrm lib/nessus/plugins
|
||||
@dirrm lib/nessus
|
||||
|
Loading…
Reference in New Issue
Block a user