From 7a046131cb58e5723c53943b36af2f6d18a67694 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 7 Aug 2016 09:01:03 +0000 Subject: [PATCH] - Switch to USES=tar - Switch to options helpers - Regenerate patches with `make makepatch` - Cleanup pkg-descr --- net/cryptcat/Makefile | 6 ++++-- net/cryptcat/files/patch-Makefile | 8 ++++---- net/cryptcat/files/patch-farm9crypt.cc | 4 ++-- net/cryptcat/files/patch-netcat.c | 4 ++-- net/cryptcat/pkg-descr | 2 -- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/net/cryptcat/Makefile b/net/cryptcat/Makefile index 0186903f647d..dd5fae327f95 100644 --- a/net/cryptcat/Makefile +++ b/net/cryptcat/Makefile @@ -7,11 +7,11 @@ PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix-1.2/${PORTNAME}-unix-${PORTVERSION} DISTNAME= ${PORTNAME}-unix-${PORTVERSION} -EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Standard netcat enhanced with twofish encryption +USES= tar WRKSRC= ${WRKDIR}/unix ALL_TARGET= freebsd @@ -22,7 +22,9 @@ OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cryptcat ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/net/cryptcat/files/patch-Makefile b/net/cryptcat/files/patch-Makefile index ed094447042e..b362195a29d8 100644 --- a/net/cryptcat/files/patch-Makefile +++ b/net/cryptcat/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Tue May 22 21:06:42 2001 -+++ Makefile Fri Oct 28 15:07:46 2005 +--- Makefile.orig 2005-10-18 00:41:01 UTC ++++ Makefile @@ -10,13 +10,11 @@ # debugging # DFLAGS = -DTEST -DDEBUG @@ -15,7 +15,7 @@ o = o # object extension ALL = cryptcat -@@ -28,8 +26,11 @@ +@@ -28,8 +26,11 @@ bogus: ### HARD TARGETS @@ -29,7 +29,7 @@ nc-dos: @echo "DOS?! Maybe someday, but not now" -@@ -113,10 +114,10 @@ +@@ -115,10 +116,10 @@ next: make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic farm9crypt.o: farm9crypt.cc farm9crypt.h diff --git a/net/cryptcat/files/patch-farm9crypt.cc b/net/cryptcat/files/patch-farm9crypt.cc index f7484ee1b12d..c8f57bd08edf 100644 --- a/net/cryptcat/files/patch-farm9crypt.cc +++ b/net/cryptcat/files/patch-farm9crypt.cc @@ -1,5 +1,5 @@ ---- farm9crypt.cc.orig Sat Dec 18 05:34:27 2004 -+++ farm9crypt.cc Sun Oct 30 07:45:05 2005 +--- farm9crypt.cc.orig 2004-12-18 04:34:27 UTC ++++ farm9crypt.cc @@ -23,6 +23,7 @@ #include // suggested by several people -- for OpenBSD, FreeBSD compiles #include /* basics, SO_ and AF_ defs, sockaddr, ... */ diff --git a/net/cryptcat/files/patch-netcat.c b/net/cryptcat/files/patch-netcat.c index b3a67854b99b..e4efd99385fa 100644 --- a/net/cryptcat/files/patch-netcat.c +++ b/net/cryptcat/files/patch-netcat.c @@ -1,5 +1,5 @@ ---- netcat.c.orig Tue Oct 18 19:42:05 2005 -+++ netcat.c Sun Oct 30 07:47:37 2005 +--- netcat.c.orig 2005-10-18 17:42:05 UTC ++++ netcat.c @@ -48,9 +48,6 @@ #else #include diff --git a/net/cryptcat/pkg-descr b/net/cryptcat/pkg-descr index 769863231ddd..514e89f354b3 100644 --- a/net/cryptcat/pkg-descr +++ b/net/cryptcat/pkg-descr @@ -16,5 +16,3 @@ same thing. However, in this case the data transferred is encrypted. For more information about netcat see net/netcat port. WWW: http://sourceforge.net/projects/cryptcat/ - -Roman Shterenzon