summaryrefslogtreecommitdiff
path: root/security/ddos-scan
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-30 18:49:38 +0000
committerjoerg <joerg>2007-06-30 18:49:38 +0000
commit066b94a727c85f972e79d368aeecdd60de2a8a81 (patch)
tree81238d74cf6fd13544d06d4bcd7a4c80ed0bf7b4 /security/ddos-scan
parent06ffd8bfe5bf0c999e2e62e29377bc9b5e91e01a (diff)
downloadpkgsrc-066b94a727c85f972e79d368aeecdd60de2a8a81.tar.gz
Don't run clear. Pass down OPSYS and don't run uname -s again.
Diffstat (limited to 'security/ddos-scan')
-rw-r--r--security/ddos-scan/Makefile4
-rw-r--r--security/ddos-scan/distinfo4
-rw-r--r--security/ddos-scan/patches/patch-aa22
3 files changed, 15 insertions, 15 deletions
diff --git a/security/ddos-scan/Makefile b/security/ddos-scan/Makefile
index db81288679f..bd0502dd000 100644
--- a/security/ddos-scan/Makefile
+++ b/security/ddos-scan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:30:33 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2007/06/30 18:49:38 joerg Exp $
#
DISTNAME= ddos_scan
@@ -15,6 +15,8 @@ BUILD_TARGET= default dds
INSTALLATION_DIRS= sbin share/doc
+BUILD_ENV+= OPSYS=${OSYS:Q}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dds ${PREFIX}/sbin/dds
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dds
diff --git a/security/ddos-scan/distinfo b/security/ddos-scan/distinfo
index 8bd964c7213..ac14fdcb35a 100644
--- a/security/ddos-scan/distinfo
+++ b/security/ddos-scan/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 13:10:05 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/06/30 18:49:38 joerg Exp $
SHA1 (ddos_scan.tar) = 97e695f19df0edef4d833afb8114b24822e3db27
RMD160 (ddos_scan.tar) = 5aedea63bbcf357b8084d8e0e6ad0a4294ba3ba3
Size (ddos_scan.tar) = 30720 bytes
-SHA1 (patch-aa) = 934117d4d3806244137a9a6438d781cd9372487b
+SHA1 (patch-aa) = 3110095195d3f69f22359957c8c73ade29a3079c
SHA1 (patch-ab) = d74cc9a603f20e144c77444b2c956e53c8511b55
diff --git a/security/ddos-scan/patches/patch-aa b/security/ddos-scan/patches/patch-aa
index a62862fc981..42cd00bf101 100644
--- a/security/ddos-scan/patches/patch-aa
+++ b/security/ddos-scan/patches/patch-aa
@@ -1,21 +1,19 @@
-$NetBSD: patch-aa,v 1.1 2000/02/14 16:23:32 agc Exp $
+$NetBSD: patch-aa,v 1.2 2007/06/30 18:49:38 joerg Exp $
-Check which OS we're on, and use the correct LIBS and
-CPPFLAGS appropriately.
-
---- Makefile 2000/02/14 16:14:21 1.1
-+++ Makefile 2000/02/14 16:15:16
-@@ -4,7 +4,13 @@
+--- Makefile.orig 2000-01-10 21:14:31.000000000 +0000
++++ Makefile
+@@ -3,11 +3,12 @@
+
CFLAGS=
- # For Solaris 2.5.1 and above, uncomment the following line.
-+
-+OPSYS!= uname -s
-+
+-# For Solaris 2.5.1 and above, uncomment the following line.
+.if ${OPSYS} == "SunOS"
+CPPFLAGS=
LIBS=-lresolv -lsocket -lnsl
+.endif
default:
- @clear
+- @clear
+ @tail -19 README
+ @echo " "
+ @echo "Please read the README file first, then edit the Makefile"