diff options
author | minskim <minskim@pkgsrc.org> | 2004-04-11 23:48:26 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-04-11 23:48:26 +0000 |
commit | 6e074b5bea7033f8873ca803962ef476ebdbae2a (patch) | |
tree | 9eec5b7ce32f0f09b62f1750e726b46cbcf7988d /net | |
parent | cda3319ed4139554918009b7c53b8e4633554037 (diff) | |
download | pkgsrc-6e074b5bea7033f8873ca803962ef476ebdbae2a.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.
Diffstat (limited to 'net')
-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 |