diff options
author | schmonz <schmonz> | 2010-04-14 18:45:47 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2010-04-14 18:45:47 +0000 |
commit | de4ab41e911f0201919e7eda7c07b3c234bce5db (patch) | |
tree | 3f2a642c45130dd9bd1b6f7d5b68e654e1d8a889 /security/knc | |
parent | c8156695214a8a539fbd52309b5107e1891870a0 (diff) | |
download | pkgsrc-de4ab41e911f0201919e7eda7c07b3c234bce5db.tar.gz |
Add knc, Kerberised NetCat. It works in basically the same way as
either netcat or stunnel except that it is Kerberised. You can use
it to construct client/server applications while keeping the Kerberos
libraries out of your programs address space quickly and easily.
Diffstat (limited to 'security/knc')
-rw-r--r-- | security/knc/DESCR | 4 | ||||
-rw-r--r-- | security/knc/Makefile | 27 | ||||
-rw-r--r-- | security/knc/PLIST | 4 | ||||
-rw-r--r-- | security/knc/distinfo | 6 | ||||
-rw-r--r-- | security/knc/patches/patch-aa | 15 |
5 files changed, 56 insertions, 0 deletions
diff --git a/security/knc/DESCR b/security/knc/DESCR new file mode 100644 index 00000000000..d059fe17437 --- /dev/null +++ b/security/knc/DESCR @@ -0,0 +1,4 @@ +KNC is Kerberised NetCat. It works in basically the same way as +either netcat or stunnel except that it is Kerberised. You can use +it to construct client/server applications while keeping the Kerberos +libraries out of your programs address space quickly and easily. diff --git a/security/knc/Makefile b/security/knc/Makefile new file mode 100644 index 00000000000..064fbaedb51 --- /dev/null +++ b/security/knc/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2010/04/14 18:45:47 schmonz Exp $ +# + +DISTNAME= knc-1.6 +CATEGORIES= security net +MASTER_SITES= http://oskt.secure-endpoints.com/downloads/ + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://oskt.secure-endpoints.com/knc.html +COMMENT= Kerberised NetCat +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= nroff + +INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 + +.include "../../mk/krb5.buildlink3.mk" +.if ${KRB5_TYPE} == "heimdal" +MAKE_ENV+= CFLAGS+=-DHEIMDAL +MAKE_ENV+= LDADD=-lgssapi\ -lkrb5 +.elif ${KRB5_TYPE} == "mit-krb5" +MAKE_ENV+= LDADD=-lgssapi_krb5 +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/security/knc/PLIST b/security/knc/PLIST new file mode 100644 index 00000000000..7b8002901d5 --- /dev/null +++ b/security/knc/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2010/04/14 18:45:48 schmonz Exp $ +bin/knc +man/cat1/knc.0 +man/man1/knc.1 diff --git a/security/knc/distinfo b/security/knc/distinfo new file mode 100644 index 00000000000..e75111f6241 --- /dev/null +++ b/security/knc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2010/04/14 18:45:48 schmonz Exp $ + +SHA1 (knc-1.6.tar.gz) = 6ec71a0d983c02443fa002bee920d801f43f7345 +RMD160 (knc-1.6.tar.gz) = efda07d47ab304ec7d63168da580a4d19c2cdc7a +Size (knc-1.6.tar.gz) = 20521 bytes +SHA1 (patch-aa) = ff60e1893040a8fcfc7f176c2ff13b5d3b05408c diff --git a/security/knc/patches/patch-aa b/security/knc/patches/patch-aa new file mode 100644 index 00000000000..8487dad3304 --- /dev/null +++ b/security/knc/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2010/04/14 18:45:48 schmonz Exp $ + +--- bin/Makefile.orig 2010-04-14 18:10:08.000000000 +0000 ++++ bin/Makefile +@@ -5,8 +5,8 @@ CFLAGS += -DKNC_VERSION_STRING=\"1.6\" + + # + # For Heimdal uncomment: +-CFLAGS += -DHEIMDAL +-LDADD = -lgssapi -lkrb5 ++# CFLAGS += -DHEIMDAL ++# LDADD = -lgssapi -lkrb5 + + # + # For MIT krb5 uncomment: |