pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ish Import ish-0.2 from pkgsrc-wip. Packaged by p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f99fc28ca273
branches:  trunk
changeset: 472713:f99fc28ca273
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Apr 11 23:48:26 2004 +0000

description:
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:

 net/ish/DESCR            |   3 ++
 net/ish/Makefile         |  27 ++++++++++++++++++++++
 net/ish/PLIST            |   3 ++
 net/ish/distinfo         |   5 ++++
 net/ish/patches/patch-aa |  58 ++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 96 insertions(+), 0 deletions(-)

diffs (116 lines):

diff -r dd9fa8b0baf1 -r f99fc28ca273 net/ish/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ish/DESCR     Sun Apr 11 23:48:26 2004 +0000
@@ -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 -r dd9fa8b0baf1 -r f99fc28ca273 net/ish/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ish/Makefile  Sun Apr 11 23:48:26 2004 +0000
@@ -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@localhost
+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 -r dd9fa8b0baf1 -r f99fc28ca273 net/ish/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ish/PLIST     Sun Apr 11 23:48:26 2004 +0000
@@ -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 -r dd9fa8b0baf1 -r f99fc28ca273 net/ish/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ish/distinfo  Sun Apr 11 23:48:26 2004 +0000
@@ -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 -r dd9fa8b0baf1 -r f99fc28ca273 net/ish/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ish/patches/patch-aa  Sun Apr 11 23:48:26 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index