diff options
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/nyancat/Makefile | 27 | ||||
-rw-r--r-- | net/nyancat/distinfo | 2 | ||||
-rw-r--r-- | net/nyancat/files/pkg-message.in | 12 | ||||
-rw-r--r-- | net/nyancat/pkg-descr | 4 |
5 files changed, 46 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 863613bc1359..f55182710c52 100644 --- a/net/Makefile +++ b/net/Makefile @@ -433,6 +433,7 @@ SUBDIR += nusoap SUBDIR += nxproxy SUBDIR += nxserver + SUBDIR += nyancat SUBDIR += nylon SUBDIR += ohphone SUBDIR += olsrd diff --git a/net/nyancat/Makefile b/net/nyancat/Makefile new file mode 100644 index 000000000000..9f06e9b4f95f --- /dev/null +++ b/net/nyancat/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: nyancat +# Date created: 30 Mar 2012 +# Whom: Emanuel Haupt <ehaupt@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= nyancat +PORTVERSION= 20120330 +CATEGORIES= net games +MASTER_SITES= CRITICAL + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Animated telnet server that renders a loop of the nyan cat animation + +MAKE_JOBS_SAFE= yes + +SUB_FILES= pkg-message +PLIST_FILES= bin/nyancat + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/net/nyancat/distinfo b/net/nyancat/distinfo new file mode 100644 index 000000000000..62c78b607479 --- /dev/null +++ b/net/nyancat/distinfo @@ -0,0 +1,2 @@ +SHA256 (nyancat-20120330.tar.gz) = da2cef9f19699c4e2e6fe9b034c36ad4b0f2f3f9a774e9d017d3ff185264b0f1 +SIZE (nyancat-20120330.tar.gz) = 87006 diff --git a/net/nyancat/files/pkg-message.in b/net/nyancat/files/pkg-message.in new file mode 100644 index 000000000000..46c12def4ee5 --- /dev/null +++ b/net/nyancat/files/pkg-message.in @@ -0,0 +1,12 @@ +================================================================================ + +To setup a nyancat telnet server via inetd enable inetd in /etc/rc.conf: + +inetd_enable="YES" + +Add the following lines to /etc/inetd.conf: + +telnet stream tcp nowait nobody %%PREFIX%%/bin/nyancat nyancat -t +telnet stream tcp6 nowait nobody %%PREFIX%%/bin/nyancat nyancat -t + +================================================================================ diff --git a/net/nyancat/pkg-descr b/net/nyancat/pkg-descr new file mode 100644 index 000000000000..02f0a2ecbbf5 --- /dev/null +++ b/net/nyancat/pkg-descr @@ -0,0 +1,4 @@ +This is an animated, color, ANSI-text telnet server that renders a loop of the +classic nyan cat animation. + +WWW: http://miku.acm.uiuc.edu/ |