pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ddos-scan Don't run clear. Pass down OPSYS an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f8ea7d3cd97
branches:  trunk
changeset: 530452:3f8ea7d3cd97
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 30 18:49:38 2007 +0000

description:
Don't run clear. Pass down OPSYS and don't run uname -s again.

diffstat:

 security/ddos-scan/Makefile         |   4 +++-
 security/ddos-scan/distinfo         |   4 ++--
 security/ddos-scan/patches/patch-aa |  22 ++++++++++------------
 3 files changed, 15 insertions(+), 15 deletions(-)

diffs (66 lines):

diff -r 1457cb34abbb -r 3f8ea7d3cd97 security/ddos-scan/Makefile
--- a/security/ddos-scan/Makefile       Sat Jun 30 18:42:24 2007 +0000
+++ b/security/ddos-scan/Makefile       Sat Jun 30 18:49:38 2007 +0000
@@ -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 @@
 
 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 -r 1457cb34abbb -r 3f8ea7d3cd97 security/ddos-scan/distinfo
--- a/security/ddos-scan/distinfo       Sat Jun 30 18:42:24 2007 +0000
+++ b/security/ddos-scan/distinfo       Sat Jun 30 18:49:38 2007 +0000
@@ -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 -r 1457cb34abbb -r 3f8ea7d3cd97 security/ddos-scan/patches/patch-aa
--- a/security/ddos-scan/patches/patch-aa       Sat Jun 30 18:42:24 2007 +0000
+++ b/security/ddos-scan/patches/patch-aa       Sat Jun 30 18:49:38 2007 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index