Update of /cvsroot/fink/packages/dists/unstable/main/finkinfo/net
In directory usw-pr-cvs1:/tmp/cvs-serv15226
Added Files:
nessus-common-1.2.3-3.info nessus-common-1.2.3-3.patch
nessus-common-nox-1.2.3-3.info nessus-common-nox-1.2.3-3.patch
Log Message:
Stupid mistake
--- NEW FILE: nessus-common-1.2.3-3.info ---
Package: nessus-common
Version: 1.2.3
Revision: 3
###
Depends: daemonic, dlcompat, libpoll-shlibs, x11, gtk+-shlibs, glib-shlibs,
libnasl-shlibs, libnessus-shlibs | libnessus-ssl-shlibs
BuildDepends: libpoll, gtk+, glib, libnasl, libnessus | libnessus-ssl
Suggests: nessus-plugins
Replaces: nessus-common-nox, nessus-core, nessus-core-nox
Conflicts: nessus-common-nox, nessus-core, nessus-core-nox
###
Source: ftp://ftp.nessus.org/pub/nessus/nessus-%v/src/nessus-core-%v.tar.gz
Source-MD5: fa1187cc27b8d116f6a2fa575e5dda29
SourceDirectory: nessus-core
###
Patch: %f.patch
###
ConfigureParams: --with-x --mandir=%i/share/man --infodir=%p/share/info
--libexecdir=%p/lib
InstallScript: <<
make install prefix=%i
mv %i/include/nessus/includes.h %i/include/nessus/includes-core.h
<<
###
DocFiles: CHANGES INSTALL README* TODO UPGRADE* VERSION
###
PostInstScript: <<
update-alternatives --install %p/include/nessus/includes.h includes.h
%p/include/nessus/includes-core.h 60
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove includes.h %p/include/nessus/includes-core.h
fi
<<
###
DaemonicName: nessusd
DaemonicFile: <<
<service>
<description>Nessus Remote Security Scanner</description>
<message>Nessus Remote Security Scanner</message>
<daemon name="nessusd">
<executable background="yes">%p/sbin/nessusd</executable>
<!-- the daemon will background itself, but may take a while
to start up to the point where it does so -->
<pidfile>%p/var/nessus/nessus.pid</pidfile>
</daemon>
</service>
<<
###
Description: Core package for Nessus
DescDetail: <<
Nessus is a remote security scanner for Linux, BSD, Solaris, and other
Unices. It is multi-threaded and plug-in-based, has a GTK interface, and
performs over 500 remote security checks. It allows for reports to be
generated in HTML, XML, LaTeX, and ASCII text, and suggests solutions for
security problems.
<<
###
License: GPL
Maintainer: Justin F. Hallett <[EMAIL PROTECTED]>
Homepage: http://www.nessus.org/
--- NEW FILE: nessus-common-1.2.3-3.patch ---
diff -ruN nessus-core.orig/nessus-adduser.in nessus-core/nessus-adduser.in
--- nessus-core.orig/nessus-adduser.in 2002-05-29 03:17:54.000000000 -0600
+++ nessus-core/nessus-adduser.in 2002-08-13 16:28:18.000000000 -0600
@@ -274,17 +274,17 @@
if [ "$auth" = "pass" ]; then
- if [ "$MD5CMD" ]; then
- test -c /dev/urandom &&
- {
- URANDOM=`dd if=/dev/urandom bs=16 count=16 2>/dev/null|$MD5CMD`
- }
- SEED=`(echo $SEED; date; df; ls -l; echo $URANDOM) | $MD5CMD | awk '{print
$1}'`
- H=`echo $Xn $SEED$password$Xc | $MD5CMD | awk '{print $1}'`
- echo $H $SEED > "$localstatedir/nessus/users/$login/auth/hash"
- else
+# if [ "$MD5CMD" ]; then
+# test -c /dev/urandom &&
+# {
+# URANDOM=`dd if=/dev/urandom bs=16 count=16 2>/dev/null|$MD5CMD`
+# }
+# SEED=`(echo $SEED; date; df; ls -l; echo $URANDOM) | $MD5CMD | awk '{print
+$1}'`
+# H=`echo $Xn $SEED$password$Xc | $MD5CMD | awk '{print $1}'`
+# echo $H $SEED > "$localstatedir/nessus/users/$login/auth/hash"
+# else
echo "$password" > "$localstatedir/nessus/users/$login/auth/password"
- fi
+# fi
elif [ "$auth" = "cert" ]; then
echo "$dn" > "$localstatedir/nessus/users/$login/auth/dname"
fi
--- NEW FILE: nessus-common-nox-1.2.3-3.info ---
Package: nessus-common-nox
Version: 1.2.3
Revision: 3
###
Depends: daemonic, dlcompat, libpoll-shlibs, libnasl-shlibs, libnessus-shlibs |
libnessus-ssl-shlibs
BuildDepends: libpoll, libnasl, libnessus | libnessus-ssl
Suggests: nessus-plugins
Replaces: nessus-common, nessus-core, nessus-core-nox
Conflicts: nessus-common, nessus-core, nessus-core-nox
###
Source: ftp://ftp.nessus.org/pub/nessus/nessus-%v/src/nessus-core-%v.tar.gz
Source-MD5: fa1187cc27b8d116f6a2fa575e5dda29
SourceDirectory: nessus-core
###
Patch: %f.patch
###
ConfigureParams: --without-x --mandir=%i/share/man --infodir=%p/share/info
--libexecdir=%p/lib
InstallScript: <<
make install prefix=%i
mv %i/include/nessus/includes.h %i/include/nessus/includes-core.h
<<
###
DocFiles: CHANGES INSTALL README* TODO UPGRADE* VERSION
###
PostInstScript: <<
update-alternatives --install %p/include/nessus/includes.h includes.h
%p/include/nessus/includes-core.h 60
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove includes.h %p/include/nessus/includes-core.h
fi
<<
###
DaemonicName: nessusd
DaemonicFile: <<
<service>
<description>Nessus Remote Security Scanner</description>
<message>Nessus Remote Security Scanner</message>
<daemon name="nessusd">
<executable background="yes">%p/sbin/nessusd</executable>
<!-- the daemon will background itself, but may take a while
to start up to the point where it does so -->
<pidfile>%p/var/nessus/nessus.pid</pidfile>
</daemon>
</service>
<<
###
Description: Core package for Nessus (No X11)
DescDetail: <<
Nessus is a remote security scanner for Linux, BSD, Solaris, and other
Unices. It is multi-threaded and plug-in-based, has a GTK interface, and
performs over 500 remote security checks. It allows for reports to be
generated in HTML, XML, LaTeX, and ASCII text, and suggests solutions for
security problems.
<<
###
License: GPL
Maintainer: Justin F. Hallett <[EMAIL PROTECTED]>
Homepage: http://www.nessus.org/
--- NEW FILE: nessus-common-nox-1.2.3-3.patch ---
diff -ruN nessus-core.orig/nessus-adduser.in nessus-core/nessus-adduser.in
--- nessus-core.orig/nessus-adduser.in 2002-05-29 03:17:54.000000000 -0600
+++ nessus-core/nessus-adduser.in 2002-08-13 16:28:18.000000000 -0600
@@ -274,17 +274,17 @@
if [ "$auth" = "pass" ]; then
- if [ "$MD5CMD" ]; then
- test -c /dev/urandom &&
- {
- URANDOM=`dd if=/dev/urandom bs=16 count=16 2>/dev/null|$MD5CMD`
- }
- SEED=`(echo $SEED; date; df; ls -l; echo $URANDOM) | $MD5CMD | awk '{print
$1}'`
- H=`echo $Xn $SEED$password$Xc | $MD5CMD | awk '{print $1}'`
- echo $H $SEED > "$localstatedir/nessus/users/$login/auth/hash"
- else
+# if [ "$MD5CMD" ]; then
+# test -c /dev/urandom &&
+# {
+# URANDOM=`dd if=/dev/urandom bs=16 count=16 2>/dev/null|$MD5CMD`
+# }
+# SEED=`(echo $SEED; date; df; ls -l; echo $URANDOM) | $MD5CMD | awk '{print
+$1}'`
+# H=`echo $Xn $SEED$password$Xc | $MD5CMD | awk '{print $1}'`
+# echo $H $SEED > "$localstatedir/nessus/users/$login/auth/hash"
+# else
echo "$password" > "$localstatedir/nessus/users/$login/auth/password"
- fi
+# fi
elif [ "$auth" = "cert" ]; then
echo "$dn" > "$localstatedir/nessus/users/$login/auth/dname"
fi
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits