diff options
author | Bjoern Buerger <b.buerger@pengutronix.de> | 2005-05-26 14:46:07 +0000 |
---|---|---|
committer | Bjoern Buerger <b.buerger@pengutronix.de> | 2005-05-26 14:46:07 +0000 |
commit | 5bf99206239b286e93fd3f1c9c8f74eb4a9a5d23 (patch) | |
tree | d075b5230e79a70575e01de0b62137f01b9436f2 /rules/netcat.make | |
parent | 7b356b373cae2b8e16f85772070371ef0bb4e3ca (diff) | |
download | ptxdist-5bf99206239b286e93fd3f1c9c8f74eb4a9a5d23.tar.gz ptxdist-5bf99206239b286e93fd3f1c9c8f74eb4a9a5d23.tar.xz |
removed hobbit netcat in favour of GNU netcat
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2669 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/netcat.make')
-rw-r--r-- | rules/netcat.make | 131 |
1 files changed, 0 insertions, 131 deletions
diff --git a/rules/netcat.make b/rules/netcat.make deleted file mode 100644 index 4beba6c99..000000000 --- a/rules/netcat.make +++ /dev/null @@ -1,131 +0,0 @@ -# -*-makefile-*- -# $Id$ -# -# Copyright (C) 2003 Ixia Corporation (www.ixiacom.com), by Milan Bobde -# -# See CREDITS for details about who has contributed to this project. -# -# For further information about the PTXdist project and license conditions -# see the README file. -# - -# -# We provide this package -# -ifdef PTXCONF_NETCAT -PACKAGES += netcat -endif - -# -# Paths and names -# -NETCAT = netcat-1.10 -NETCAT_FILE = nc110 -NETCAT_URL = http://www.securityfocus.com/data/tools/nc110.tgz -NETCAT_SOURCE = $(SRCDIR)/$(NETCAT_FILE).tgz -NETCAT_DIR = $(BUILDDIR)/$(NETCAT) - -# ---------------------------------------------------------------------------- -# Get -# ---------------------------------------------------------------------------- - -netcat_get: $(STATEDIR)/netcat.get - -netcat_get_deps = $(NETCAT_SOURCE) - -$(STATEDIR)/netcat.get: $(netcat_get_deps) - @$(call targetinfo, $@) - @$(call get_patches, $(NETCAT)) - touch $@ - -$(NETCAT_SOURCE): - @$(call targetinfo, $@) - @$(call get, $(NETCAT_URL)) - -# ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -netcat_extract: $(STATEDIR)/netcat.extract - -$(STATEDIR)/netcat.extract: $(STATEDIR)/netcat.get - @$(call targetinfo, $@) - @$(call clean, $(NETCAT_DIR)) - @$(call extract, $(NETCAT_SOURCE), $(NETCAT_DIR)) - @$(call patchin, $(NETCAT)) - touch $@ - -# ---------------------------------------------------------------------------- -# Prepare -# ---------------------------------------------------------------------------- - -netcat_prepare: $(STATEDIR)/netcat.prepare - -netcat_prepare_deps = \ - $(STATEDIR)/virtual-xchain.install \ - $(STATEDIR)/libpcap.install \ - $(STATEDIR)/netcat.extract - -$(STATEDIR)/netcat.prepare: $(netcat_prepare_deps) - @$(call targetinfo, $@) - touch $@ - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -netcat_compile: $(STATEDIR)/netcat.compile - -netcat_compile_deps = $(STATEDIR)/netcat.prepare - -NETCAT_PATH = PATH=$(CROSS_PATH) -NETCAT_MAKEVARS = CC="$(PTXCONF_COMPILER_PREFIX)gcc -DLINUX -lresolv" - -$(STATEDIR)/netcat.compile: $(netcat_compile_deps) - @$(call targetinfo, $@) - $(NETCAT_PATH) make $(NETCAT_MAKEVARS) nc -C $(NETCAT_DIR) - touch $@ - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -netcat_install: $(STATEDIR)/netcat.install - -$(STATEDIR)/netcat.install: $(STATEDIR)/netcat.compile - @$(call targetinfo, $@) - touch $@ - -# ---------------------------------------------------------------------------- -# Target-Install -# ---------------------------------------------------------------------------- - -netcat_targetinstall: $(STATEDIR)/netcat.targetinstall - -$(STATEDIR)/netcat.targetinstall: $(STATEDIR)/netcat.install - @$(call targetinfo, $@) - - @$(call install_init,default) - @$(call install_fixup,PACKAGE,netcat) - @$(call install_fixup,PRIORITY,optional) - @$(call install_fixup,VERSION,$(NETCAT_VERSION)) - @$(call install_fixup,SECTION,base) - @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") - @$(call install_fixup,DEPENDS,) - @$(call install_fixup,DESCRIPTION,missing) - - @$(call install_copy, 0, 0, 0755, $(NETCAT_DIR)/nc, /bin/nc) - - @$(call install_finish) - - touch $@ - -# ---------------------------------------------------------------------------- -# Clean -# ---------------------------------------------------------------------------- - -netcat_clean: - rm -rf $(STATEDIR)/netcat.* $(NETCAT_DIR) - rm -fr $(IMAGEDIR)/netcat_* - -# vim: syntax=make |