summaryrefslogtreecommitdiff
path: root/net/poink
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-04-03 11:29:34 +0000
committerzuntum <zuntum@pkgsrc.org>2001-04-03 11:29:34 +0000
commitd12dc9f5aeec7e62279bb0280725b64365f3299f (patch)
tree25fbdea5d02ea98ddd02fb4616aad29324336976 /net/poink
parentc58997e6600f99037fe39ca6b970d560478fa15c (diff)
downloadpkgsrc-d12dc9f5aeec7e62279bb0280725b64365f3299f.tar.gz
Initial import of poink-1.5
This is nosuid, so absolutely secure, version of ping utility. It uses dirty trick - TCP linear syn/rst challenge instead of ICMP echo/echo reply. It won't allow any flood-pings, security compromises etc
Diffstat (limited to 'net/poink')
-rw-r--r--net/poink/Makefile15
-rw-r--r--net/poink/files/md53
-rw-r--r--net/poink/files/patch-sum4
-rw-r--r--net/poink/patches/patch-aa19
-rw-r--r--net/poink/patches/patch-ab18
-rw-r--r--net/poink/pkg/DESCR4
-rw-r--r--net/poink/pkg/PLIST3
7 files changed, 66 insertions, 0 deletions
diff --git a/net/poink/Makefile b/net/poink/Makefile
new file mode 100644
index 00000000000..e862dd56c2e
--- /dev/null
+++ b/net/poink/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
+#
+
+DISTNAME= poink-1.5
+CATEGORIES= net
+MASTER_SITES= http://zuntum.net/distfiles/
+
+MAINTAINER= zuntum@netbsd.org
+COMMENT= nosuid, absolutery secure version of ping utility
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/poink ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ping.1 ${PREFIX}/man/man1/poink.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/poink/files/md5 b/net/poink/files/md5
new file mode 100644
index 00000000000..ff8c6f0987d
--- /dev/null
+++ b/net/poink/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
+
+SHA1 (poink-1.5.tar.gz) = d599e043e8df2eb07b91819dcad72c0439204e95
diff --git a/net/poink/files/patch-sum b/net/poink/files/patch-sum
new file mode 100644
index 00000000000..de5498a8639
--- /dev/null
+++ b/net/poink/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
+
+SHA1 (patch-aa) = 1df3acd27e332af43e2a67a0110248abf0cbd874
+SHA1 (patch-ab) = 11fb56ade1e8d3de42eb0172abbf320c2f652db3
diff --git a/net/poink/patches/patch-aa b/net/poink/patches/patch-aa
new file mode 100644
index 00000000000..1fb76979860
--- /dev/null
+++ b/net/poink/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
+
+--- Makefile.orig Fri Jul 10 16:10:00 1998
++++ Makefile
+@@ -1,5 +1,3 @@
+-CC = gcc
+-OPTS = -O3 -Wall
+ FILE = poink
+ DEST = /bin/ping
+ MANPAGE = ping.1
+@@ -8,7 +6,7 @@
+ all: $(FILE)
+
+ $(FILE): $(FILE).c
+- $(CC) $(OPTS) $(FILE).c -o $(FILE)
++ $(CC) $(CFLAGS) $(FILE).c -o $(FILE)
+
+ install: all
+ cp $(FILE) $(DEST)
diff --git a/net/poink/patches/patch-ab b/net/poink/patches/patch-ab
new file mode 100644
index 00000000000..4d2d034b948
--- /dev/null
+++ b/net/poink/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
+
+--- ping.1.orig Sat Jul 11 08:31:00 1998
++++ ping.1
+@@ -1,11 +1,11 @@
+ .TH C2SH 1 "August, 08, 1998" "poink-1.5"
+ .SH NAME
+-ping \- Nosuid, secure TCP/IP ping
++poink \- Nosuid, secure TCP/IP ping
+ .SH SYNOPSIS
+ .hy 0
+ .na
+ .TP
+-.B ping
++.B poink
+ [
+ .B -i
+ .I delay
diff --git a/net/poink/pkg/DESCR b/net/poink/pkg/DESCR
new file mode 100644
index 00000000000..dbaa58a4eba
--- /dev/null
+++ b/net/poink/pkg/DESCR
@@ -0,0 +1,4 @@
+This is nosuid, so absolutely secure, version of ping utility.
+It uses dirty trick - TCP linear syn/rst challenge instead of
+ICMP echo/echo reply. It won't allow any flood-pings, security
+compromises etc
diff --git a/net/poink/pkg/PLIST b/net/poink/pkg/PLIST
new file mode 100644
index 00000000000..c9f8d9278a1
--- /dev/null
+++ b/net/poink/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/03 11:29:34 zuntum Exp $
+bin/poink
+man/man1/poink.1