ports/128894: update net/nakenchat ports

Oleg Ginzburg oleg.ginzburg at nevosoft.ru
Sat Nov 15 19:00:16 UTC 2008


>Number:         128894
>Category:       ports
>Synopsis:       update net/nakenchat ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 15 19:00:14 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD ole.localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #6 r184646M: Sat Nov 15 15:36:43 MSK 2008     root at ole.localhost:/usr/obj/usr/src/sys/home  i386
>Description:
Update nakenchat to 2.12 version
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN nakenchat.bak/Makefile nakenchat/Makefile
--- nakenchat.bak/Makefile	1970-01-01 03:00:00.000000000 +0300
+++ nakenchat/Makefile	2008-11-15 21:43:18.000000000 +0300
@@ -0,0 +1,71 @@
+# New ports collection makefile for:   nakenchat
+# Date created:        01 July 2003
+# Whom:                Michael Kohn  (mike at mikekohn.net)
+#
+# $FreeBSD: ports/net/nakenchat/Makefile,v 1.2 2004/03/07 05:03:22 kris Exp $
+#
+
+PORTNAME=	nakenchat
+PORTVERSION=	2.12
+CATEGORIES=	net
+MASTER_SITES=	http://downloads.mikekohn.net/nakenchat/
+
+MAINTAINER=	oleg.ginzburg at nevosoft.ru
+COMMENT=	Small (under 50k) chat server with many features
+
+GNU_CONFIGURE=  yes
+USE_RC_SUBR=    nakenchat
+
+AVAILABLE_LANG="english french german italian norwegian spanish"
+
+OPTIONS=	KEEPALIVEOFF "Disable socket keepalive option" off \
+		CHANBANLISTOFF "Disable userlist based on channel" off  \
+		DEBUG "Compile in debug code" off \
+		HIDDENCAVES "Enable hidden caves feature" off \
+		DOTQ "compile in .Q option" off \
+		FUSERLIST "support to save current userlist to a file" off \
+		ELITEFILTER "Enable the 3li73 filter" off 
+
+.if defined(KEEPALIVEOFF)
+CONFIGURE_ARGS+=--disable-keepalive
+.else
+CONFIGURE_ARGS+=--enable-keepalive
+.endif
+
+.if defined(CHANBANLISTOFF)
+CONFIGURE_ARGS+=--disable-userchanlist
+.else
+CONFIGURE_ARGS+=--enable-userchanlist
+.endif
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--enable-debug
+.else
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
+.if defined(HIDDENCAVES)
+CONFIGURE_ARGS+=--enable-hidden-caves
+.else
+CONFIGURE_ARGS+=--disable-hidden-caves
+.endif
+
+.if defined(DOTQ)
+CONFIGURE_ARGS+=--enable-dotQ
+.else
+CONFIGURE_ARGS+=--disable-dotQ
+.endif
+
+.if defined(FILEUSERLIST)
+CONFIGURE_ARGS+=--enable-whofile
+.else
+CONFIGURE_ARGS+=--disable-whofile
+.endif
+
+.if defined(ELITEFILTER)
+CONFIGURE_ARGS+=--enable-elite
+.else
+CONFIGURE_ARGS+=--disable-elite
+.endif
+
+.include <bsd.port.mk>
diff -ruN nakenchat.bak/distinfo nakenchat/distinfo
--- nakenchat.bak/distinfo	1970-01-01 03:00:00.000000000 +0300
+++ nakenchat/distinfo	2008-11-13 12:18:00.000000000 +0300
@@ -0,0 +1,3 @@
+MD5 (nakenchat-2.12.tar.gz) = de31d1bf7ed4d1e48d6ab34556f26f0a
+SHA256 (nakenchat-2.12.tar.gz) = 1597d7759b3849f9b53ada323fa72f7cfc238d4e0c741dccafab3fae66bd900b
+SIZE (nakenchat-2.12.tar.gz) = 41839
diff -ruN nakenchat.bak/files/nakenchat.in nakenchat/files/nakenchat.in
--- nakenchat.bak/files/nakenchat.in	1970-01-01 03:00:00.000000000 +0300
+++ nakenchat/files/nakenchat.in	2008-11-15 20:56:38.000000000 +0300
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD: ports/net/nakenchat/files/nakenchat.in,v 1.3 2006/04/03 04:33:22 mnag Exp $
+#
+# PROVIDE: nakenchat
+# REQUIRE: DAEMON
+#
+# Add the following lines to /etc/rc.conf to enable nakenchat:
+#
+# nakenchat_enable (bool):		Set it to "YES" to enable nakenchat.
+#				Default is "NO".
+#
+
+. /etc/rc.subr
+
+name="nakenchat"
+rcvar=${name}_enable
+
+load_rc_config $name
+
+: ${nakenchat_enable="NO"}
+
+command=/usr/local/bin/nakenchat
+command_args="&"
+
+run_rc_command "$1"
diff -ruN nakenchat.bak/pkg-descr nakenchat/pkg-descr
--- nakenchat.bak/pkg-descr	1970-01-01 03:00:00.000000000 +0300
+++ nakenchat/pkg-descr	2003-10-08 09:03:23.000000000 +0400
@@ -0,0 +1,11 @@
+Small chat server written in C.  The compiled code is still under
+50k (at this time around 40k).  The chat offers many features
+including private channels, gagging, squelching, banning,
+censoring, and much more.  Users can connect to the chat through
+many ways including telnet and a Java applet through a webpage.
+
+WWW: http://nakenchat.naken.cc/
+
+-Michael Kohn
+
+mike at mikekohn.net
diff -ruN nakenchat.bak/pkg-plist nakenchat/pkg-plist
--- nakenchat.bak/pkg-plist	1970-01-01 03:00:00.000000000 +0300
+++ nakenchat/pkg-plist	2003-10-08 09:03:23.000000000 +0400
@@ -0,0 +1,3 @@
+bin/nakenchat
+bin/nakenpasswd
+etc/nakenchat.conf


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list