diff options
author | minskim <minskim@pkgsrc.org> | 2004-04-11 23:58:23 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-04-11 23:58:23 +0000 |
commit | 5786aa70f25667c4ca8b762c3c951334dfa041bd (patch) | |
tree | 4ca94339f9aa06c55a3fd3df731e88b30a2c3531 /net/ishell | |
parent | 8517b93571db46bd9b4f8fdaaf6f577a02ba0c7c (diff) | |
download | pkgsrc-5786aa70f25667c4ca8b762c3c951334dfa041bd.tar.gz |
Reimport net/ish into net/ishell because we already have
converters/ish. A couple of file names are also changed to avoid
conflicts with converters/ish.
Diffstat (limited to 'net/ishell')
-rw-r--r-- | net/ishell/DESCR | 3 | ||||
-rw-r--r-- | net/ishell/Makefile | 27 | ||||
-rw-r--r-- | net/ishell/PLIST | 3 | ||||
-rw-r--r-- | net/ishell/distinfo | 5 | ||||
-rw-r--r-- | net/ishell/patches/patch-aa | 59 |
5 files changed, 97 insertions, 0 deletions
diff --git a/net/ishell/DESCR b/net/ishell/DESCR new file mode 100644 index 00000000000..64cff55a581 --- /dev/null +++ b/net/ishell/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/ishell/Makefile b/net/ishell/Makefile new file mode 100644 index 00000000000..4182afdeccc --- /dev/null +++ b/net/ishell/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/11 23:58:23 minskim Exp $ +# + +DISTNAME= ish-v${VERSION} +PKGNAME= ishell-${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/ishell/PLIST b/net/ishell/PLIST new file mode 100644 index 00000000000..a39a6851ceb --- /dev/null +++ b/net/ishell/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/11 23:58:23 minskim Exp $ +bin/ishell +sbin/ishelld diff --git a/net/ishell/distinfo b/net/ishell/distinfo new file mode 100644 index 00000000000..2f0bebcf953 --- /dev/null +++ b/net/ishell/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/11 23:58:23 minskim Exp $ + +SHA1 (ish-v0.2.tar.gz) = 2d5d16cdd8c097220ee885bedbefb7f41115e6b2 +Size (ish-v0.2.tar.gz) = 6531 bytes +SHA1 (patch-aa) = e534842c420008406bafe14f33a93727b8e59203 diff --git a/net/ishell/patches/patch-aa b/net/ishell/patches/patch-aa new file mode 100644 index 00000000000..af370c8b327 --- /dev/null +++ b/net/ishell/patches/patch-aa @@ -0,0 +1,59 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/11 23:58:23 minskim Exp $ + +--- Makefile.orig 2002-01-31 11:35:52.000000000 -0600 ++++ Makefile +@@ -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/ishell ++ ${BSD_INSTALL_PROGRAM} ./ish ${PREFIX}/sbin/ishelld + ++.PHONY: all clean install |