aboutsummaryrefslogtreecommitdiffstats
path: root/package/nmap
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-04-13 22:20:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-04-13 22:20:15 +0000
commit8675818f87ede896382e712554a8b820b0f8ead7 (patch)
tree94118554cd257124b0bf579ac85441270645b86f /package/nmap
parent7797df76097505e0d81a1622f2b13c3593a75ed2 (diff)
downloadupstream-8675818f87ede896382e712554a8b820b0f8ead7.tar.gz
upstream-8675818f87ede896382e712554a8b820b0f8ead7.tar.bz2
upstream-8675818f87ede896382e712554a8b820b0f8ead7.zip
remove lots of non-essential packages
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3641 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nmap')
-rw-r--r--package/nmap/Config.in13
-rw-r--r--package/nmap/Makefile80
-rw-r--r--package/nmap/ipkg/nmap.control5
-rw-r--r--package/nmap/patches/cross-compile.patch44
-rw-r--r--package/nmap/patches/no_strip.patch12
5 files changed, 0 insertions, 154 deletions
diff --git a/package/nmap/Config.in b/package/nmap/Config.in
deleted file mode 100644
index ed85f9ca08..0000000000
--- a/package/nmap/Config.in
+++ /dev/null
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_NMAP
- prompt "nmap.............................. Network exploration and/or security auditing utility"
- tristate
- default m if CONFIG_DEVEL
- select BR2_PACKAGE_LIBDNET
- select BR2_PACKAGE_LIBPCAP
- select BR2_PACKAGE_LIBPCRE
- select BR2_PACKAGE_UCLIBCXX
- help
- A free open source utility for network exploration or security auditing.
-
- http://www.insecure.org/nmap/
-
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
deleted file mode 100644
index b60558f6fb..0000000000
--- a/package/nmap/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=nmap
-PKG_VERSION:=4.01
-PKG_RELEASE:=1
-PKG_MD5SUM:=09c259837b24f6c7385c2c1c49760a7c
-
-PKG_SOURCE_URL:=http://download.insecure.org/nmap/dist
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_CAT:=bzcat
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-include $(TOPDIR)/package/rules.mk
-
-$(eval $(call PKG_template,NMAP,nmap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-
-$(PKG_BUILD_DIR)/.configured:
- (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
- $(TARGET_CONFIGURE_OPTS) \
- libpcapdir="$(STAGING_DIR)/usr/lib" \
- CFLAGS="$(TARGET_CFLAGS)" \
- CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
- LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- LIBS="-luClibc++ -lc -lm -lgcc" \
- ac_cv_prog_CXX="$(TARGET_CXX)" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --without-openssl \
- --without-nmapfe \
- --with-libdnet="$(STAGING_DIR)/usr" \
- --with-libpcap="$(STAGING_DIR)/usr" \
- --with-libpcre="$(STAGING_DIR)/usr" \
- );
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS) \
- CCOPT="$(TARGET_CFLAGS) -fno-builtin -nostdinc++" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
- touch $@
-
-$(IPKG_NMAP):
- install -d -m0755 $(IDIR_NMAP)/usr/share/nmap
- for file in mac-prefixes os-fingerprints protocols rpc service-probes services; do \
- $(CP) $(PKG_INSTALL_DIR)/usr/share/nmap/nmap-$$file $(IDIR_NMAP)/usr/share/nmap; \
- done
- install -d -m0755 $(IDIR_NMAP)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/nmap $(IDIR_NMAP)/usr/bin/
- $(RSTRIP) $(IDIR_NMAP)
- $(IPKG_BUILD) $(IDIR_NMAP) $(PACKAGE_DIR)
-
-mostlyclean:
- $(MAKE) -C $(PKG_BUILD_DIR) clean
- rm $(PKG_BUILD_DIR)/.built
diff --git a/package/nmap/ipkg/nmap.control b/package/nmap/ipkg/nmap.control
deleted file mode 100644
index e5bedd47db..0000000000
--- a/package/nmap/ipkg/nmap.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: nmap
-Priority: optional
-Section: net
-Depends: libgcc, libdnet, libpcap, libpcre, uclibc++
-Description: Nmap is a free open source utility for network exploration or security auditing.
diff --git a/package/nmap/patches/cross-compile.patch b/package/nmap/patches/cross-compile.patch
deleted file mode 100644
index 5c3785c4b3..0000000000
--- a/package/nmap/patches/cross-compile.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -urN nmap-4.01.old/configure nmap-4.01.dev/configure
---- nmap-4.01.old/configure 2006-02-01 19:18:42.000000000 -0700
-+++ nmap-4.01.dev/configure 2006-03-29 23:14:28.000000000 -0700
-@@ -1341,12 +1341,6 @@
- fi
- fi
-
--libpcapdir=libpcap
--
--
--pcredir=libpcre
--
--
- ac_config_headers="$ac_config_headers config.h"
-
-
-diff -urN nmap-4.01.old/Makefile.in nmap-4.01.dev/Makefile.in
---- nmap-4.01.old/Makefile.in 2006-02-09 19:22:27.000000000 -0700
-+++ nmap-4.01.dev/Makefile.in 2006-03-29 23:14:12.000000000 -0700
-@@ -29,7 +29,7 @@
- # CFLAGS = $(DEFS) $(INCLS)
- STATIC =
- LDFLAGS = @LDFLAGS@ $(STATIC)
--LIBS = @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ @LIBPCRE_LIBS@ @LIBPCAP_LIBS@ @OPENSSL_LIBS@ @LIBDNET_LIBS@ @LIBS@
-+LIBS = @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ -lpcre -lpcap @OPENSSL_LIBS@ -ldnet @LIBS@
- # LIBS = -lefence @LIBS@
- # LIBS = -lrmalloc @LIBS@
- SHTOOL = ./shtool
-@@ -68,15 +68,6 @@
- # all of the prerequisites (e.g. recursive makes and such)
- FORCE:
-
--$(LIBPCREDIR)/libpcre.a: $(LIBPCREDIR)/Makefile FORCE
-- @echo Compiling libpcre; cd $(LIBPCREDIR) && $(MAKE)
--
--$(LIBDNETDIR)/src/.libs/libdnet.a: $(LIBDNETDIR)/Makefile FORCE
-- @echo Compiling libdnet; cd $(LIBDNETDIR) && $(MAKE)
--
--$(LIBPCAPDIR)/libpcap.a: $(LIBPCAPDIR)/Makefile FORCE
-- @echo Compiling libpcap; cd $(LIBPCAPDIR) && $(MAKE)
--
- $(NBASEDIR)/libnbase.a: $(NBASEDIR)/Makefile FORCE
- @echo Compiling libnbase;
- cd $(NBASEDIR) && $(MAKE)
diff --git a/package/nmap/patches/no_strip.patch b/package/nmap/patches/no_strip.patch
deleted file mode 100644
index ffe953e285..0000000000
--- a/package/nmap/patches/no_strip.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN nmap-4.01.old/Makefile.in nmap-4.01.dev/Makefile.in
---- nmap-4.01.old/Makefile.in 2006-02-09 19:22:27.000000000 -0700
-+++ nmap-4.01.dev/Makefile.in 2006-03-29 23:14:12.000000000 -0700
-@@ -144,7 +135,7 @@
-
- install-nmap: $(TARGET)
- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir)
-- $(INSTALL) -c -m 755 -s nmap $(DESTDIR)$(bindir)/nmap
-+ $(INSTALL) -c -m 755 nmap $(DESTDIR)$(bindir)/nmap
- $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/$(TARGET).1
- $(INSTALL) -c -m 644 docs/nmap.xsl $(DESTDIR)$(nmapdatadir)/
- $(INSTALL) -c -m 644 docs/nmap.dtd $(DESTDIR)$(nmapdatadir)/