I added your patch, just in time for 1.2.10. Thanks!
- BS
> Hi,
>
> I was in need of nmap for in DL for ipplan
> (http://iptrack.sourceforge.net/), so I created the required files and
> attached the patches to this email. The nmap source file I used and
> placed into build/src is:
>
> http://download.insecure.org/nmap/dist/nmap-4.11.tar.bz2
>
> Maybe this is as useful for others as it is to my project with
> devil-linux.
>
> Best regards,
>
> thomas
> ------------------------------------------------------------------------
>
> diff -Nru scripts-without-nmap/configuration/help/nmap.help scripts/configuration/help/nmap.help
> --- scripts-without-nmap/configuration/help/nmap.help 1970-01-01 01:00:00.000000000 +0100
> +++ scripts/configuration/help/nmap.help 2006-06-26 20:57:52.000000000 +0200
> @@ -0,0 +1,3 @@
> +CONFIG_NMAP
> + Nmap ("Network Mapper") is a free open source utility for network
> + exploration or security auditing.
> diff -Nru scripts-without-nmap/configuration/nmap.config scripts/configuration/nmap.config
> --- scripts-without-nmap/configuration/nmap.config 1970-01-01 01:00:00.000000000 +0100
> +++ scripts/configuration/nmap.config 2006-06-26 20:55:43.000000000 +0200
> @@ -0,0 +1,5 @@
> +#!/bin/bash
> +#
> +# http://www.devil-linux.org
> +
> +menu_add "Networking|Services" bool "NMAP" CONFIG_NMAP
> diff -Nru scripts-without-nmap/configuration/profiles/default scripts/configuration/profiles/default
> --- scripts-without-nmap/configuration/profiles/default 2006-06-08 17:38:39.000000000 +0200
> +++ scripts/configuration/profiles/default 2006-06-26 20:59:03.000000000 +0200
> @@ -108,6 +108,7 @@
> CONFIG_NFSD=y
> CONFIG_NICE=y
> CONFIG_NIS=y
> +CONFIG_NMAP=y
> CONFIG_NO_IP_UPDATER=y
> CONFIG_NSSLDAPLIB=y
> CONFIG_NTOP=y
> diff -Nru scripts-without-nmap/configuration/profiles/router scripts/configuration/profiles/router
> --- scripts-without-nmap/configuration/profiles/router 2004-04-12 23:46:30.000000000 +0200
> +++ scripts/configuration/profiles/router 2006-06-26 20:59:51.000000000 +0200
> @@ -68,6 +68,7 @@
> CONFIG_NF_PATCHES=y
> CONFIG_NF_SUBMITTED=y
> CONFIG_NIS=n
> +CONFIG_NMAP=y
> CONFIG_NO_IP_UPDATER=y
> CONFIG_NTOP=y
> CONFIG_NTP=y
> diff -Nru scripts-without-nmap/configuration/profiles/server scripts/configuration/profiles/server
> --- scripts-without-nmap/configuration/profiles/server 2006-06-12 15:53:09.000000000 +0200
> +++ scripts/configuration/profiles/server 2006-06-26 21:00:24.000000000 +0200
> @@ -116,6 +116,7 @@
> CONFIG_NF_UPDATES=y
> CONFIG_NICE=y
> CONFIG_NIS=y
> +CONFIG_NMAP=y
> CONFIG_NO_IP_UPDATER=y
> CONFIG_NSSLDAPLIB=y
> CONFIG_NTOP=y
> diff -Nru scripts-without-nmap/nmap scripts/nmap
> --- scripts-without-nmap/nmap 1970-01-01 01:00:00.000000000 +0100
> +++ scripts/nmap 2006-06-26 20:39:26.000000000 +0200
> @@ -0,0 +1,54 @@
> +#!/bin/bash
> +# http://www.devil-linux.org
> +
> +# you need the next line, otherwise script won't be executed !!!
> +# DL-build-system v3
> +
> +### BEGIN INIT INFO
> +# Provides: nmap
> +# Required-Start: $basebuildtools $libs
> +# Required-Stop:
> +# Default-Start: 1 2
> +# Default-Stop:
> +# Description: description
> +### END INIT INFO
> +
> +# get the directoryname of the script
> +MYDIR=${0%/*}
> +
> +# source functions and config
> +source $MYDIR/settings
> +
> +MYNAME=NMAP
> +
> +case $1 in
> + build )
> + if [ "$CONFIG_NMAP" = "y" ]; then
> + ./configure --prefix=/usr --without-nmapfe || exit 1
> + make $PMAKE all || exit 1
> + strip_debug
> + fi
> + ;;
> +
> + install )
> + if [ "$CONFIG_NMAP" = "y" ]; then
> + rm -rf $TMPDIR || exit 1
> + mkdir -p $TMPDIR/usr/bin || exit 1
> + make install DESTDIR=$TMPDIR || exit 1
> +
> + mkdir -p $CDDIR/usr/share/nmap || exit 1
> +
> + cp -dpvR $TMPDIR/usr $CDDIR/ || exit 1
> + rm -rf $TMPDIR || exit 1
> +
> + echo "HELP_NMAP=\"Nmap (Network Mapper) is a free open source utility for network exploration or security auditing.\"" >> $SOFTWAREHELP
> +
> + fi
> + ;;
> +
> + * )
> + echo "ERROR ($0)"
> + echo "please add parameter so I know what to do"
> + exit 1
> + ;;
> +esac
>
> ------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devil-linux-develop mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devil-linux-develop
>
|