[csw-devel] SF.net SVN: gar:[5588] csw/mgar/pkg
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Thu Jul 16 17:33:32 CEST 2009
Revision: 5588
http://gar.svn.sourceforge.net/gar/?rev=5588&view=rev
Author: skayser
Date: 2009-07-16 15:33:32 +0000 (Thu, 16 Jul 2009)
Log Message:
-----------
tcpdrop: initial commit
Added Paths:
-----------
csw/mgar/pkg/tcpdrop/
csw/mgar/pkg/tcpdrop/branches/
csw/mgar/pkg/tcpdrop/tags/
csw/mgar/pkg/tcpdrop/trunk/
csw/mgar/pkg/tcpdrop/trunk/Makefile
csw/mgar/pkg/tcpdrop/trunk/checksums
csw/mgar/pkg/tcpdrop/trunk/files/
csw/mgar/pkg/tcpdrop/trunk/files/changelog.CSW
csw/mgar/pkg/tcpdrop/trunk/files/license
Property changes on: csw/mgar/pkg/tcpdrop/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/tcpdrop/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tcpdrop/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/tcpdrop/trunk/Makefile 2009-07-16 15:33:32 UTC (rev 5588)
@@ -0,0 +1,31 @@
+# Uses an undocumented ioctl interface, limited binary compatibility.
+# Build from Solaris 8 works on Solaris 8 & 9, Solaris 10 needs separate build
+GARNAME = tcpdrop
+GARVERSION = 1.4
+CATEGORIES = net
+
+DESCRIPTION = Tool to drop TCP sessions
+define BLURB
+endef
+
+MASTER_SITES = http://shrike.submonkey.net/~ceri/util/tcpdrop-solaris/
+DISTFILES = $(GARNAME)-solaris.tar.gz
+DISTNAME = tcpdrop-solaris
+SPKG_SOURCEURL = http://typo.submonkey.net/pages/tcpdrop-solaris
+LICENSE = $(WORKSRC)/README
+
+CONFIGURE_SCRIPTS =
+INSTALL_SCRIPTS = custom
+TEST_SCRIPTS =
+
+NORUNPATH = 1
+
+include gar/category.mk
+
+install-custom: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
+install-custom:
+ mkdir -p $(DOCDEST)
+ cp $(FILEDIR)/changelog.CSW $(WORKSRC)/README $(DOCDEST)
+ cp $(WORKSRC)/OPENSOLARIS.LICENSE $(DOCDEST)/CDDL
+ ginstall -Dm 755 $(WORKSRC)/tcpdrop $(DESTDIR)$(bindir)/tcpdrop
+ @$(MAKECOOKIE)
Added: csw/mgar/pkg/tcpdrop/trunk/checksums
===================================================================
--- csw/mgar/pkg/tcpdrop/trunk/checksums (rev 0)
+++ csw/mgar/pkg/tcpdrop/trunk/checksums 2009-07-16 15:33:32 UTC (rev 5588)
@@ -0,0 +1 @@
+c87d55525bec596fa2fa88633eaa4589 download/tcpdrop-solaris.tar.gz
Added: csw/mgar/pkg/tcpdrop/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/tcpdrop/trunk/files/changelog.CSW (rev 0)
+++ csw/mgar/pkg/tcpdrop/trunk/files/changelog.CSW 2009-07-16 15:33:32 UTC (rev 5588)
@@ -0,0 +1,5 @@
+tcpdrop (1.4,REV=2009.07.16)
+
+ * Initial release.
+
+ -- Sebastian Kayser <skayser at opencsw.org> Thu, 16 Jul 2009 16:26:31 +0200
Added: csw/mgar/pkg/tcpdrop/trunk/files/license
===================================================================
--- csw/mgar/pkg/tcpdrop/trunk/files/license (rev 0)
+++ csw/mgar/pkg/tcpdrop/trunk/files/license 2009-07-16 15:33:32 UTC (rev 5588)
@@ -0,0 +1,14 @@
+This is a very quick and dirty port of the tcpdrop utility from OpenBSD
+and FreeBSD to Solaris. Tested on Solaris 9 and 10.
+
+On Solaris 10, this utility requires the sys_ip_config privilege.
+Since this privilege cannot be asserted in a local zone, it is not
+possible to use this utility in a local zone.
+
+Thanks to Casper Dik for pointing out the TCP_IOC_ABORT_CONN ioctl.
+
+http://cvs.opensolaris.org/source/xref/on/usr/src/cmd/zoneadmd/vplat.c
+provided all the documentation on its use, and so certain portions of
+tcpdrop for Solaris are covered by the CDDL.
+
+The original work is covered by a BSD license.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list