diff options
author | minskim <minskim> | 2004-04-11 23:48:26 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-04-11 23:48:26 +0000 |
commit | b743968a959cb2684cb5fd0b6fad29eeb5806edf (patch) | |
tree | 9eec5b7ce32f0f09b62f1750e726b46cbcf7988d | |
parent | a21c82197c92f4702718c86276e9823a577ba893 (diff) | |
download | pkgsrc-b743968a959cb2684cb5fd0b6fad29eeb5806edf.tar.gz |
Import ish-0.2 from pkgsrc-wip. Packaged by pancake and slightly
modified by me.
ICMP Shell is a telnet-like protocol. It allows users to connect to a
remote host and to open a shell using only ICMP to send and receive
data. ICMP Shell was written in C for the UNIX environment.
-rw-r--r-- | net/ish/DESCR | 3 | ||||
-rw-r--r-- | net/ish/Makefile | 27 | ||||
-rw-r--r-- | net/ish/PLIST | 3 | ||||
-rw-r--r-- | net/ish/distinfo | 5 | ||||
-rw-r--r-- | net/ish/patches/patch-aa | 58 |
5 files changed, 96 insertions, 0 deletions
diff --git a/net/ish/DESCR b/net/ish/DESCR new file mode 100644 index 00000000000..64cff55a581 --- /dev/null +++ b/net/ish/DESCR @@ -0,0 +1,3 @@ +ICMP Shell is a telnet-like protocol. It allows users to connect to a +remote host and to open a shell using only ICMP to send and receive +data. ICMP Shell was written in C for the UNIX environment. diff --git a/net/ish/Makefile b/net/ish/Makefile new file mode 100644 index 00000000000..63407bf14dd --- /dev/null +++ b/net/ish/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/11 23:48:26 minskim Exp $ +# + +DISTNAME= ish-v${VERSION} +PKGNAME= ish-${VERSION} +WRKSRC= ${WRKDIR}/ISHELL-v${VERSION}/ +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icmpshell/} + +MAINTAINER= pancake@phreaker.net +HOMEPAGE= http://icmpshell.sourceforge.net/ +COMMENT= Allow remote shell using ICMP + +VERSION= 0.2 + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_GNU_TOOLS+= make +USE_BUILDLINK3= yes +NO_CONFIGURE= yes + +MAKE_ENV+= LIBS="${LIBS}" +LIBS.SunOS+= -lsocket + +INSTALLATION_DIRS= bin sbin + +.include "../../mk/bsd.pkg.mk" diff --git a/net/ish/PLIST b/net/ish/PLIST new file mode 100644 index 00000000000..2b169e592e6 --- /dev/null +++ b/net/ish/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/11 23:48:26 minskim Exp $ +bin/ish +sbin/ishd diff --git a/net/ish/distinfo b/net/ish/distinfo new file mode 100644 index 00000000000..09d1f684002 --- /dev/null +++ b/net/ish/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/11 23:48:26 minskim Exp $ + +SHA1 (ish-v0.2.tar.gz) = 2d5d16cdd8c097220ee885bedbefb7f41115e6b2 +Size (ish-v0.2.tar.gz) = 6531 bytes +SHA1 (patch-aa) = 76ffb5afb5deb44ce4d48f853ebdb0d229f081b1 diff --git a/net/ish/patches/patch-aa b/net/ish/patches/patch-aa new file mode 100644 index 00000000000..9320a0075e5 --- /dev/null +++ b/net/ish/patches/patch-aa @@ -0,0 +1,58 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/11 23:48:26 minskim Exp $ +--- Makefile.orig 2002-01-31 18:35:52.000000000 +0100 ++++ Makefile 2004-01-23 03:34:45.566770000 +0100 +@@ -1,38 +1,24 @@ +-CC = gcc +-CFLAGS1 = -O2 -Wall +-CFLAGS2 = -O2 -Wall -lsocket +-STRIP = strip +- +-default: +- @echo "-------------------------------" +- @echo "Make with the OS from the list:" +- @echo "" +- @echo "1.) linux" +- @echo "2.) bsd" +- @echo "3.) solaris" +- @echo "" +- @echo "ex: make bsd" +- @echo "-------------------------------" ++OWNCFLAGS = -O2 -Wall + ++ish_OBJECTS = ish.o ish_main.o ++ishd_OBJECTS = ishd.o ish_main.o ish_open.o + +-clean: +- /bin/rm -f ish ishd +- +-linux: clean cc1 fin ++all: ish ishd + +-bsd: clean cc1 fin ++.c.o: ++ $(CC) -c $(CPPFLAGS) $(OWNCFLAGS) $(CFLAGS) $< + +-solaris: clean cc2 fin ++ish: $(ish_OBJECTS) ++ $(CC) $(ish_OBJECTS) $(LDFLAGS) $(LIBS) -o $@ + +-cc1: +- $(CC) $(CFLAGS1) -o ish ish.c ish_main.c +- $(CC) $(CFLAGS1) -o ishd ishd.c ish_main.c ish_open.c ++ishd: $(ishd_OBJECTS) ++ $(CC) $(ishd_OBJECTS) $(LDFLAGS) $(LIBS) -o $@ + +-cc2: +- $(CC) $(CFLAGS2) -o ish ish.c ish_main.c +- $(CC) $(CFLAGS2) -o ishd ishd.c ish_main.c ish_open.c ++clean: ++ ${RM} -f ish ishd + +-fin: +- $(STRIP) ish +- $(STRIP) ishd ++install: ++ ${BSD_INSTALL_PROGRAM} ./ish ${PREFIX}/bin/ish ++ ${BSD_INSTALL_PROGRAM} ./ish ${PREFIX}/sbin/ishd + ++.PHONY: all clean install |