From nobody@FreeBSD.org  Sat Jul 28 23:03:51 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 61B7016A468
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Jul 2007 23:03:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 30F1313C468
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Jul 2007 23:03:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6SN3oU1005534
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Jul 2007 23:03:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l6SN3oVo005533;
	Sat, 28 Jul 2007 23:03:50 GMT
	(envelope-from nobody)
Message-Id: <200707282303.l6SN3oVo005533@www.freebsd.org>
Date: Sat, 28 Jul 2007 23:03:50 GMT
From: Pontus Stenetorp <ninjin@kth.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: <emulators>/<fceu-server> <The network play server for the NES/Famicom emulator fceu>
X-Send-Pr-Version: www-3.0

>Number:         114997
>Category:       ports
>Synopsis:       New port: emulators/fceu-server: The network play server for the NES/Famicom emulator fceu
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 28 23:10:01 GMT 2007
>Closed-Date:    Sun Aug 19 15:01:31 GMT 2007
>Last-Modified:  Sun Aug 19 15:10:01 GMT 2007
>Originator:     Pontus Stenetorp
>Release:        FreeBSD 6.2-STABLE #2
>Organization:
>Environment:
FreeBSD sanshou.yasai 6.2-STABLE FreeBSD 6.2-STABLE #2: Fri Jun  1 01:10:02 CEST 2007     ninjin@sanshou.yasai:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The FCE Ultra NES/Famicom emulator has a server which enables multiplayer over TCP/IP. Although it seems that this functionality is included in the current fceu port this is not the case. The fceu team has split the client and server into seperate packages. I therefore have created a port of the server making the collection complete.

Additionally and not related to this port. It seems that I was not added to any contributors list last time I submitted a port. It would make me happy to be along the other proud contributors.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./fceu-server-0.0.5.shar
#	./distinfo
#	./files
#	./files/patch-server.cpp
#	./files/patch-Makefile
#	./pkg-descr
#	./fceu-server-0.0.5.shar~
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for: fceu-server
X# Date created:		28 July 2007
X# Whom:			Pontus Stenetorp <ninjin@kth.se>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fceu-server
XPORTVERSION=	0.0.5
XCATEGORIES=	emulators
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	fceultra
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	ninjin@kth.se
XCOMMENT=	The network play server for the NES/Famicom emulator fceu
X
XUSE_GMAKE=	yes
XUSE_SDL=	sdl
X
XPLIST_FILES=	bin/fceu-server
XEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
X
X.if !defined(WITHOUT_EXAMPLES)
XPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
XPLIST_DIRS=	share/examples/${PORTNAME}
X.endif
X
Xpre-install:
X	@${MKDIR} ${EXAMPLESDIR}
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
X
Xpost-install:
X.if !defined(WITHOUT_EXAMPLES)
X	( ${MKDIR} ${EXAMPLESDIR} && \
X		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
X		${EXAMPLESDIR}/fceu-server.conf.sample )
X.endif
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./fceu-server-0.0.5.shar
sed 's/^X//' >./fceu-server-0.0.5.shar << 'END-of-./fceu-server-0.0.5.shar'
X# This is a shell archive.  Save it in a file, remove anything before
X# this line, and then unpack it by entering "sh file".  Note, it may
X# create directories; files and directories will be owned by you and
X# have default permissions.
X#
X# This archive contains:
X#
X#	.
X#	./Makefile
X#	./fceu-server-0.0.5.shar
X#	./distinfo
X#	./files
X#	./files/patch-server.cpp
X#	./files/patch-Makefile
X#	./pkg-descr
X#	./fceu-server-0.0.5.shar~
X#
Xecho c - .
Xmkdir -p . > /dev/null 2>&1
Xecho x - ./Makefile
Xsed 's/^X//' >./Makefile << 'END-of-./Makefile'
XX# New ports collection makefile for: fceu-server
XX# Date created:		28 July 2007
XX# Whom:			Pontus Stenetorp <ninjin@kth.se>
XX#
XX# $FreeBSD$
XX#
XX
XXPORTNAME=	fceu-server
XXPORTVERSION=	0.0.5
XXCATEGORIES=	emulators
XXMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XXMASTER_SITE_SUBDIR=	fceultra
XXDISTNAME=	${PORTNAME}-${PORTVERSION}
XX
XXMAINTAINER=	ninjin@kth.se
XXCOMMENT=	The network play server for the NES/Famicom emulator fceu
XX
XXUSE_GMAKE=	yes
XXUSE_SDL=	sdl
XX
XXPLIST_FILES=	bin/fceu-server
XXEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
XX
XX.if !defined(WITHOUT_EXAMPLES)
XXPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
XXPLIST_DIRS=	share/examples/${PORTNAME}
XX.endif
XX
XXpre-install:
XX	@${MKDIR} ${EXAMPLESDIR}
XX
XXdo-install:
XX	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
XX
XXpost-install:
XX.if !defined(WITHOUT_EXAMPLES)
XX	( ${MKDIR} ${EXAMPLESDIR} && \
XX		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
XX		${EXAMPLESDIR}/fceu-server.conf.sample )
XX.endif
XX
XX.include <bsd.port.mk>
XEND-of-./Makefile
Xecho x - ./fceu-server-0.0.5.shar
Xsed 's/^X//' >./fceu-server-0.0.5.shar << 'END-of-./fceu-server-0.0.5.shar'
END-of-./fceu-server-0.0.5.shar
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
XSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
XSIZE (fceu-server-0.0.5.tar.gz) = 18623
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-server.cpp
sed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
X--- server.cpp.orig	Tue Jul  4 01:25:22 2006
X+++ server.cpp	Sat Jul 28 21:10:15 2007
X@@ -47,6 +47,7 @@
X #define DEFAULT_TIMEOUT 5
X #define DEFAULT_FRAMEDIVISOR 1
X #define DEFAULT_CONFIG "/etc/fceu-standard.conf"
X+#define SOL_TCP 6
X 
X typedef struct {
X 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
END-of-./files/patch-server.cpp
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Sat Jul 28 22:48:53 2007
X+++ Makefile	Sat Jul 28 22:49:49 2007
X@@ -12,8 +12,8 @@
X 		rm ${OUTFILE} ${OBJS}
X 
X install:
X-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
X-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
X+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
X+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
X 
X server.o:	server.cpp
X md5.o:		md5.cpp
END-of-./files/patch-Makefile
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XThis is a port of the FCE Ultra network play server.
X
XWWW: http://fceultra.sourceforge.net/
END-of-./pkg-descr
echo x - ./fceu-server-0.0.5.shar~
sed 's/^X//' >./fceu-server-0.0.5.shar~ << 'END-of-./fceu-server-0.0.5.shar~'
X# This is a shell archive.  Save it in a file, remove anything before
X# this line, and then unpack it by entering "sh file".  Note, it may
X# create directories; files and directories will be owned by you and
X# have default permissions.
X#
X# This archive contains:
X#
X#	.
X#	./Makefile
X#	./fceu-server-0.0.5.shar
X#	./distinfo
X#	./files
X#	./files/patch-server.cpp
X#	./files/patch-Makefile
X#	./pkg-descr
X#
Xecho c - .
Xmkdir -p . > /dev/null 2>&1
Xecho x - ./Makefile
Xsed 's/^X//' >./Makefile << 'END-of-./Makefile'
XX# New ports collection makefile for: fceu-server
XX# Date created:		28 July 2007
XX# Whom:			Pontus Stenetorp <ninjin@kth.se>
XX#
XX# $FreeBSD$
XX#
XX
XXPORTNAME=	fceu-server
XXPORTVERSION=	0.0.5
XXCATEGORIES=	emulators
XXMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XXMASTER_SITE_SUBDIR=	fceultra
XXDISTNAME=	${PORTNAME}-${PORTVERSION}
XX
XXMAINTAINER=	ninjin@kth.se
XXCOMMENT=	The network play server for the NES/Famicom emulator fceu
XX
XXUSE_GMAKE=	yes
XXUSE_SDL=	sdl
XX
XXPLIST_FILES=	bin/fceu-server
XXEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
XX
XX.if !defined(WITHOUT_EXAMPLES)
XXPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
XXPLIST_DIRS=	share/examples/${PORTNAME}
XX.endif
XX
XXpre-install:
XX	@${MKDIR} ${EXAMPLESDIR}
XX
XXdo-install:
XX	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
XX
XXpost-install:
XX.if !defined(WITHOUT_EXAMPLES)
XX	( ${MKDIR} ${EXAMPLESDIR} && \
XX		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
XX		${EXAMPLESDIR}/fceu-server.conf.sample )
XX.endif
XX
XX.include <bsd.port.mk>
XEND-of-./Makefile
Xecho x - ./fceu-server-0.0.5.shar
Xsed 's/^X//' >./fceu-server-0.0.5.shar << 'END-of-./fceu-server-0.0.5.shar'
XX# This is a shell archive.  Save it in a file, remove anything before
XX# this line, and then unpack it by entering "sh file".  Note, it may
XX# create directories; files and directories will be owned by you and
XX# have default permissions.
XX#
XX# This archive contains:
XX#
XX#	.
XX#	./Makefile
XX#	./fceu-server-0.0.5.shar
XX#	./distinfo
XX#	./files
XX#	./files/patch-server.cpp
XX#	./files/patch-Makefile
XX#	./pkg-descr
XX#
XXecho c - .
XXmkdir -p . > /dev/null 2>&1
XXecho x - ./Makefile
XXsed 's/^X//' >./Makefile << 'END-of-./Makefile'
XXX# New ports collection makefile for: fceu-server
XXX# Date created:		28 July 2007
XXX# Whom:			Pontus Stenetorp <ninjin@kth.se>
XXX#
XXX# $FreeBSD$
XXX#
XXX
XXXPORTNAME=	fceu-server
XXXPORTVERSION=	0.0.5
XXXCATEGORIES=	emulators
XXXMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XXXMASTER_SITE_SUBDIR=	fceultra
XXXDISTNAME=	${PORTNAME}-${PORTVERSION}
XXX
XXXMAINTAINER=	ninjin@kth.se
XXXCOMMENT=	The network play server for the NES/Famicom emulator fceu
XXX
XXXUSE_GMAKE=	yes
XXXUSE_SDL=	sdl
XXX
XXXPLIST_FILES=	bin/fceu-server
XXXEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
XXX
XXX.if !defined(WITHOUT_EXAMPLES)
XXXPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
XXXPLIST_DIRS=	share/examples/${PORTNAME}
XXX.endif
XXX
XXXpre-install:
XXX	@${MKDIR} ${EXAMPLESDIR}
XXX
XXXdo-install:
XXX	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
XXX
XXXpost-install:
XXX.if !defined(WITHOUT_EXAMPLES)
XXX	( ${MKDIR} ${EXAMPLESDIR} && \
XXX		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
XXX		${EXAMPLESDIR}/fceu-server.conf.sample )
XXX.endif
XXX
XXX.include <bsd.port.mk>
XXEND-of-./Makefile
XXecho x - ./fceu-server-0.0.5.shar
XXsed 's/^X//' >./fceu-server-0.0.5.shar << 'END-of-./fceu-server-0.0.5.shar'
XEND-of-./fceu-server-0.0.5.shar
Xecho x - ./distinfo
Xsed 's/^X//' >./distinfo << 'END-of-./distinfo'
XXMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
XXSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
XXSIZE (fceu-server-0.0.5.tar.gz) = 18623
XEND-of-./distinfo
Xecho c - ./files
Xmkdir -p ./files > /dev/null 2>&1
Xecho x - ./files/patch-server.cpp
Xsed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
XX--- server.cpp.orig	Tue Jul  4 01:25:22 2006
XX+++ server.cpp	Sat Jul 28 21:10:15 2007
XX@@ -47,6 +47,7 @@
XX #define DEFAULT_TIMEOUT 5
XX #define DEFAULT_FRAMEDIVISOR 1
XX #define DEFAULT_CONFIG "/etc/fceu-standard.conf"
XX+#define SOL_TCP 6
XX 
XX typedef struct {
XX 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
XEND-of-./files/patch-server.cpp
Xecho x - ./files/patch-Makefile
Xsed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
XX--- Makefile.orig	Sat Jul 28 22:48:53 2007
XX+++ Makefile	Sat Jul 28 22:49:49 2007
XX@@ -12,8 +12,8 @@
XX 		rm ${OUTFILE} ${OBJS}
XX 
XX install:
XX-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
XX-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
XX+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
XX+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
XX 
XX server.o:	server.cpp
XX md5.o:		md5.cpp
XEND-of-./files/patch-Makefile
Xecho x - ./pkg-descr
Xsed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XXThis is a port of the FCE Ultra network play server.
XX
XXWWW: http://fceultra.sourceforge.net/
XEND-of-./pkg-descr
Xexit
X
END-of-./fceu-server-0.0.5.shar~
exit



>Release-Note:
>Audit-Trail:
Class-Changed-From-To: update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Sat Jul 28 23:10:10 UTC 2007 
Class-Changed-Why:  
Fix category (new ports should be change-requests) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114997 

From: Pontus Stenetorp <ninjin@kth.se>
To: bug-followup@FreeBSD.org,  ninjin@kth.se
Cc:  
Subject: Re: ports/114997: New port: <emulators>/<fceu-server> <The network
 play server for the NES/Famicom emulator fceu>
Date: Sun, 29 Jul 2007 01:35:31 +0200

 This is a multi-part message in MIME format.
 --------------080006080302080900030505
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I didn't keep my head cool when fighting the PR form about my shar not 
 being valid (in the end I figured out it was supposed to have a .txt 
 suffix). I re-did the shar and got shars in shar. Really neatly done, 
 here is a fix. Sorry about that.
 
 Best regards,
 Pontus stenetorp
 
 --------------080006080302080900030505
 Content-Type: text/plain;
  name="fceu-server-0.0.5.shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="fceu-server-0.0.5.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	.
 #	./Makefile
 #	./distinfo
 #	./files
 #	./files/patch-server.cpp
 #	./files/patch-Makefile
 #	./pkg-descr
 #	./fceu-server-0.0.5.shar.txt
 #
 echo c - .
 mkdir -p . > /dev/null 2>&1
 echo x - ./Makefile
 sed 's/^X//' >./Makefile << 'END-of-./Makefile'
 X# New ports collection makefile for: fceu-server
 X# Date created:		28 July 2007
 X# Whom:			Pontus Stenetorp <ninjin@kth.se>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	fceu-server
 XPORTVERSION=	0.0.5
 XCATEGORIES=	emulators
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	fceultra
 XDISTNAME=	${PORTNAME}-${PORTVERSION}
 X
 XMAINTAINER=	ninjin@kth.se
 XCOMMENT=	The network play server for the NES/Famicom emulator fceu
 X
 XUSE_GMAKE=	yes
 XUSE_SDL=	sdl
 X
 XPLIST_FILES=	bin/fceu-server
 XEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
 X
 X.if !defined(WITHOUT_EXAMPLES)
 XPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
 XPLIST_DIRS=	share/examples/${PORTNAME}
 X.endif
 X
 Xpre-install:
 X	@${MKDIR} ${EXAMPLESDIR}
 X
 Xdo-install:
 X	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
 X
 Xpost-install:
 X.if !defined(WITHOUT_EXAMPLES)
 X	( ${MKDIR} ${EXAMPLESDIR} && \
 X		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
 X		${EXAMPLESDIR}/fceu-server.conf.sample )
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-./Makefile
 echo x - ./distinfo
 sed 's/^X//' >./distinfo << 'END-of-./distinfo'
 XMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
 XSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
 XSIZE (fceu-server-0.0.5.tar.gz) = 18623
 END-of-./distinfo
 echo c - ./files
 mkdir -p ./files > /dev/null 2>&1
 echo x - ./files/patch-server.cpp
 sed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
 X--- server.cpp.orig	Tue Jul  4 01:25:22 2006
 X+++ server.cpp	Sat Jul 28 21:10:15 2007
 X@@ -47,6 +47,7 @@
 X #define DEFAULT_TIMEOUT 5
 X #define DEFAULT_FRAMEDIVISOR 1
 X #define DEFAULT_CONFIG "/etc/fceu-standard.conf"
 X+#define SOL_TCP 6
 X 
 X typedef struct {
 X 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
 END-of-./files/patch-server.cpp
 echo x - ./files/patch-Makefile
 sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
 X--- Makefile.orig	Sat Jul 28 22:48:53 2007
 X+++ Makefile	Sat Jul 28 22:49:49 2007
 X@@ -12,8 +12,8 @@
 X 		rm ${OUTFILE} ${OBJS}
 X 
 X install:
 X-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X 
 X server.o:	server.cpp
 X md5.o:		md5.cpp
 END-of-./files/patch-Makefile
 echo x - ./pkg-descr
 sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
 XThis is a port of the FCE Ultra network play server.
 X
 XWWW: http://fceultra.sourceforge.net/
 END-of-./pkg-descr
 echo x - ./fceu-server-0.0.5.shar.txt
 sed 's/^X//' >./fceu-server-0.0.5.shar.txt << 'END-of-./fceu-server-0.0.5.shar.txt'
 X# This is a shell archive.  Save it in a file, remove anything before
 X# this line, and then unpack it by entering "sh file".  Note, it may
 X# create directories; files and directories will be owned by you and
 X# have default permissions.
 X#
 X# This archive contains:
 X#
 X#	.
 X#	./Makefile
 X#	./distinfo
 X#	./files
 X#	./files/patch-server.cpp
 X#	./files/patch-Makefile
 X#	./pkg-descr
 X#	./fceu-server-0.0.5.shar.txt
 X#
 Xecho c - .
 Xmkdir -p . > /dev/null 2>&1
 Xecho x - ./Makefile
 Xsed 's/^X//' >./Makefile << 'END-of-./Makefile'
 XX# New ports collection makefile for: fceu-server
 XX# Date created:		28 July 2007
 XX# Whom:			Pontus Stenetorp <ninjin@kth.se>
 XX#
 XX# $FreeBSD$
 XX#
 XX
 XXPORTNAME=	fceu-server
 XXPORTVERSION=	0.0.5
 XXCATEGORIES=	emulators
 XXMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XXMASTER_SITE_SUBDIR=	fceultra
 XXDISTNAME=	${PORTNAME}-${PORTVERSION}
 XX
 XXMAINTAINER=	ninjin@kth.se
 XXCOMMENT=	The network play server for the NES/Famicom emulator fceu
 XX
 XXUSE_GMAKE=	yes
 XXUSE_SDL=	sdl
 XX
 XXPLIST_FILES=	bin/fceu-server
 XXEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
 XX
 XX.if !defined(WITHOUT_EXAMPLES)
 XXPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
 XXPLIST_DIRS=	share/examples/${PORTNAME}
 XX.endif
 XX
 XXpre-install:
 XX	@${MKDIR} ${EXAMPLESDIR}
 XX
 XXdo-install:
 XX	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
 XX
 XXpost-install:
 XX.if !defined(WITHOUT_EXAMPLES)
 XX	( ${MKDIR} ${EXAMPLESDIR} && \
 XX		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
 XX		${EXAMPLESDIR}/fceu-server.conf.sample )
 XX.endif
 XX
 XX.include <bsd.port.mk>
 XEND-of-./Makefile
 Xecho x - ./distinfo
 Xsed 's/^X//' >./distinfo << 'END-of-./distinfo'
 XXMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
 XXSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
 XXSIZE (fceu-server-0.0.5.tar.gz) = 18623
 XEND-of-./distinfo
 Xecho c - ./files
 Xmkdir -p ./files > /dev/null 2>&1
 Xecho x - ./files/patch-server.cpp
 Xsed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
 XX--- server.cpp.orig	Tue Jul  4 01:25:22 2006
 XX+++ server.cpp	Sat Jul 28 21:10:15 2007
 XX@@ -47,6 +47,7 @@
 XX #define DEFAULT_TIMEOUT 5
 XX #define DEFAULT_FRAMEDIVISOR 1
 XX #define DEFAULT_CONFIG "/etc/fceu-standard.conf"
 XX+#define SOL_TCP 6
 XX 
 XX typedef struct {
 XX 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
 XEND-of-./files/patch-server.cpp
 Xecho x - ./files/patch-Makefile
 Xsed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
 XX--- Makefile.orig	Sat Jul 28 22:48:53 2007
 XX+++ Makefile	Sat Jul 28 22:49:49 2007
 XX@@ -12,8 +12,8 @@
 XX 		rm ${OUTFILE} ${OBJS}
 XX 
 XX install:
 XX-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 XX-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 XX+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 XX+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 XX 
 XX server.o:	server.cpp
 XX md5.o:		md5.cpp
 XEND-of-./files/patch-Makefile
 Xecho x - ./pkg-descr
 Xsed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
 XXThis is a port of the FCE Ultra network play server.
 XX
 XXWWW: http://fceultra.sourceforge.net/
 XEND-of-./pkg-descr
 Xecho x - ./fceu-server-0.0.5.shar.txt
 Xsed 's/^X//' >./fceu-server-0.0.5.shar.txt << 'END-of-./fceu-server-0.0.5.shar.txt'
 END-of-./fceu-server-0.0.5.shar.txt
 exit
 
 
 --------------080006080302080900030505--

From: Pontus Stenetorp <ninjin@kth.se>
To: bug-followup@FreeBSD.org, Pontus Stenetorp <ninjin@kth.se>
Cc:  
Subject: Re: ports/114997: New port: <emulators>/<fceu-server> <The network
 play server for the NES/Famicom emulator fceu>
Date: Sun, 29 Jul 2007 02:02:27 +0200

 This is a multi-part message in MIME format.
 --------------040408050205060401050700
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Alright, now I've made a complete fool of myself.
 
 shar `find . -print` > fceu-server-0.0.5.shar.txt
 
 Now, this command might seem rather friendly. You keep keep all the port 
 files in it's directory and after all if the shar isn't there when find 
 is executed and should therefore not be included, thought the young 
 padawan. How ever, it's a stream, find spots the shar and tada! You have 
 made the same mistake twice.
 
 And now, if you excuse me, I am to buy a one way ticket to Berkley and 
 commit Harakiri in a dark server room using a sharpened keyboard.
 
 --------------040408050205060401050700
 Content-Type: text/plain;
  name="fceu-server-0.0.5.shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="fceu-server-0.0.5.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	.
 #	./Makefile
 #	./distinfo
 #	./files
 #	./files/patch-server.cpp
 #	./files/patch-Makefile
 #	./pkg-descr
 #
 echo c - .
 mkdir -p . > /dev/null 2>&1
 echo x - ./Makefile
 sed 's/^X//' >./Makefile << 'END-of-./Makefile'
 X# New ports collection makefile for: fceu-server
 X# Date created:		28 July 2007
 X# Whom:			Pontus Stenetorp <ninjin@kth.se>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	fceu-server
 XPORTVERSION=	0.0.5
 XCATEGORIES=	emulators
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	fceultra
 XDISTNAME=	${PORTNAME}-${PORTVERSION}
 X
 XMAINTAINER=	ninjin@kth.se
 XCOMMENT=	The network play server for the NES/Famicom emulator fceu
 X
 XUSE_GMAKE=	yes
 XUSE_SDL=	sdl
 X
 XPLIST_FILES=	bin/fceu-server
 XEXAMPLESDIR=	${LOCALBASE}/share/examples/${PORTNAME}
 X
 X.if !defined(WITHOUT_EXAMPLES)
 XPLIST_FILES+=	share/examples/${PORTNAME}/fceu-server.conf.sample
 XPLIST_DIRS=	share/examples/${PORTNAME}
 X.endif
 X
 Xpre-install:
 X	@${MKDIR} ${EXAMPLESDIR}
 X
 Xdo-install:
 X	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
 X
 Xpost-install:
 X.if !defined(WITHOUT_EXAMPLES)
 X	( ${MKDIR} ${EXAMPLESDIR} && \
 X		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
 X		${EXAMPLESDIR}/fceu-server.conf.sample )
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-./Makefile
 echo x - ./distinfo
 sed 's/^X//' >./distinfo << 'END-of-./distinfo'
 XMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
 XSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
 XSIZE (fceu-server-0.0.5.tar.gz) = 18623
 END-of-./distinfo
 echo c - ./files
 mkdir -p ./files > /dev/null 2>&1
 echo x - ./files/patch-server.cpp
 sed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
 X--- server.cpp.orig	Tue Jul  4 01:25:22 2006
 X+++ server.cpp	Sat Jul 28 21:10:15 2007
 X@@ -47,6 +47,7 @@
 X #define DEFAULT_TIMEOUT 5
 X #define DEFAULT_FRAMEDIVISOR 1
 X #define DEFAULT_CONFIG "/etc/fceu-standard.conf"
 X+#define SOL_TCP 6
 X 
 X typedef struct {
 X 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
 END-of-./files/patch-server.cpp
 echo x - ./files/patch-Makefile
 sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
 X--- Makefile.orig	Sat Jul 28 22:48:53 2007
 X+++ Makefile	Sat Jul 28 22:49:49 2007
 X@@ -12,8 +12,8 @@
 X 		rm ${OUTFILE} ${OBJS}
 X 
 X install:
 X-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X 
 X server.o:	server.cpp
 X md5.o:		md5.cpp
 END-of-./files/patch-Makefile
 echo x - ./pkg-descr
 sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
 XThis is a port of the FCE Ultra network play server.
 X
 XWWW: http://fceultra.sourceforge.net/
 END-of-./pkg-descr
 exit
 
 
 --------------040408050205060401050700--
State-Changed-From-To: open->feedback 
State-Changed-By: gabor 
State-Changed-When: Sat Aug 4 13:31:19 UTC 2007 
State-Changed-Why:  
Please modify the handling of config files as it is done by e.g. 
audio/shoutcast, as we discussed via IRC. 


Responsible-Changed-From-To: freebsd-ports-bugs->gabor 
Responsible-Changed-By: gabor 
Responsible-Changed-When: Sat Aug 4 13:31:19 UTC 2007 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114997 

From: Pontus Stenetorp <ninjin@kth.se>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114997: New port: emulators/fceu-server The network play
 server for the NES/Famicom emulator fceu
Date: Mon, 06 Aug 2007 01:48:02 +0200

 This is a multi-part message in MIME format.
 --------------050107050803080406040403
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 The handling of the configuration file has been altered according to the 
 instructions given by gabor.
 
 
 --------------050107050803080406040403
 Content-Type: text/plain;
  name="fceu-server-0.0.5.shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="fceu-server-0.0.5.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	.
 #	./Makefile
 #	./distinfo
 #	./files
 #	./files/patch-server.cpp
 #	./files/patch-Makefile
 #	./pkg-descr
 #	./pkg-plist
 #
 echo c - .
 mkdir -p . > /dev/null 2>&1
 echo x - ./Makefile
 sed 's/^X//' >./Makefile << 'END-of-./Makefile'
 X# New ports collection makefile for: fceu-server
 X# Date created:		28 July 2007
 X# Whom:			Pontus Stenetorp <ninjin@kth.se>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	fceu-server
 XPORTVERSION=	0.0.5
 XCATEGORIES=	emulators
 XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	fceultra
 XDISTNAME=	${PORTNAME}-${PORTVERSION}
 X
 XMAINTAINER=	ninjin@kth.se
 XCOMMENT=	The network play server for the NES/Famicom emulator fceu
 X
 XUSE_GMAKE=	yes
 XUSE_SDL=	sdl
 X
 Xpost-patch:
 X	@${REINPLACE_CMD} -e 's|'%%LOCALBASE%%'|${LOCALBASE}|g' \
 X		${WRKSRC}/server.cpp
 X
 Xdo-install:
 X	@${INSTALL_PROGRAM} ${WRKSRC}/fceu-server  ${LOCALBASE}/bin
 X	@${MKDIR} ${PREFIX}/etc/${PORTNAME}
 X	@${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
 X		${PREFIX}/etc/${PORTNAME}/fceu-server.conf.sample
 X	@[ -f ${PREFIX}/etc/${PORTNAME}/fceu-standard.conf ] || \
 X		${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
 X			${PREFIX}/etc/${PORTNAME}/fceu-standard.conf
 X
 X.include <bsd.port.mk>
 END-of-./Makefile
 echo x - ./distinfo
 sed 's/^X//' >./distinfo << 'END-of-./distinfo'
 XMD5 (fceu-server-0.0.5.tar.gz) = 7c9e974864418a4aa0f42dc325f90600
 XSHA256 (fceu-server-0.0.5.tar.gz) = c9e5b3f77e92364ae7a66e351012dc01d6373ea44a100d23ec028f00d5fc825f
 XSIZE (fceu-server-0.0.5.tar.gz) = 18623
 END-of-./distinfo
 echo c - ./files
 mkdir -p ./files > /dev/null 2>&1
 echo x - ./files/patch-server.cpp
 sed 's/^X//' >./files/patch-server.cpp << 'END-of-./files/patch-server.cpp'
 X--- server.cpp.orig	Mon Aug  6 01:28:09 2007
 X+++ server.cpp	Mon Aug  6 01:31:05 2007
 X@@ -46,7 +46,8 @@
 X #define DEFAULT_MAX 100
 X #define DEFAULT_TIMEOUT 5
 X #define DEFAULT_FRAMEDIVISOR 1
 X-#define DEFAULT_CONFIG "/etc/fceu-standard.conf"
 X+#define DEFAULT_CONFIG "%%LOCALBASE%%/etc/fceu-standard.conf"
 X+#define SOL_TCP 6
 X 
 X typedef struct {
 X 	uint32 id;	/* mainly for faster referencing when pointed to from the Games
 END-of-./files/patch-server.cpp
 echo x - ./files/patch-Makefile
 sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
 X--- Makefile.orig	Sat Jul 28 22:48:53 2007
 X+++ Makefile	Sat Jul 28 22:49:49 2007
 X@@ -12,8 +12,8 @@
 X 		rm ${OUTFILE} ${OBJS}
 X 
 X install:
 X-		install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X-		install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X+		# install -m 755 -D fceu-server ${PREFIX}/bin/fceu-server
 X+		# install -m 644 -D fceu-server.conf /etc/fceu-server.conf
 X 
 X server.o:	server.cpp
 X md5.o:		md5.cpp
 END-of-./files/patch-Makefile
 echo x - ./pkg-descr
 sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
 XThis is a port of the FCE Ultra network play server.
 X
 XWWW: http://fceultra.sourceforge.net/
 END-of-./pkg-descr
 echo x - ./pkg-plist
 sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
 Xbin/fceu-server
 X@unexec if cmp -s %%PREFIX%%/etc/fceu-server/fceu-standard.conf %%PREFIX%%/etc/fceu-server/fceu-server.conf.sample; then rm %%PREFIX%%/etc/fceu-server/fceu-standard.conf; fi
 Xetc/fceu-server/fceu-server.conf.sample
 X@dirrmtry etc/fceu-server
 X
 END-of-./pkg-plist
 exit
 
 
 --------------050107050803080406040403--

From: Gabor Kovesdan <gabor@FreeBSD.org>
To: bug-followup@FreeBSD.org,  ninjin@kth.se
Cc:  
Subject: Re: ports/114997: New port: emulators/fceu-server: The network play
 server for the NES/Famicom emulator fceu
Date: Wed, 15 Aug 2007 19:56:15 +0200

 Ok, the patch is almost ok, I'm polishing it a bit. It does not compile 
 on RELENG_5:
 
 ===>  Building for fceu-server-0.0.5
 g++ -O -pipe -DSOL_TCP=6   -c -o server.o server.cpp
 server.cpp: In function `int CheckNBTCPReceive(ClientEntry*)':
 server.cpp:236: error: `MSG_NOSIGNAL' undeclared (first use this function)
 server.cpp:236: error: (Each undeclared identifier is reported only once 
 for each function it appears in.)
 server.cpp: In function `int MakeSendTCP(ClientEntry*, uint8*, uint32)':
 server.cpp:452: error: `MSG_NOSIGNAL' undeclared (first use this function)
 server.cpp: In function `int main(int, char**)':
 server.cpp:846: error: `MSG_NOSIGNAL' undeclared (first use this function)
 
 Do you intend to patch it or should I mark it ignored on 5.X
 
 Regards,
 
 -- 
 Gabor Kovesdan
 FreeBSD Volunteer
 
 EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org
 WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
 
State-Changed-From-To: feedback->closed 
State-Changed-By: gabor 
State-Changed-When: Sun Aug 19 14:59:21 UTC 2007 
State-Changed-Why:  
Port added with minor changes. We should always install into PREFIX, not 
into LOCALBASE, I changed the port accordingly. Besides, I applied some 
simplifications to avoid adding patches into FILESDIR. You can refer to the 
committed port, how I did it. 
Thanks for your contribution! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114997 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114997: commit references a PR
Date: Sun, 19 Aug 2007 14:54:04 +0000 (UTC)

 gabor       2007-08-19 14:53:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     emulators            Makefile 
   Added files:
     emulators/fceu-server Makefile distinfo pkg-descr pkg-plist 
   Log:
   This is a port of the FCE Ultra network play server.
   
   WWW: http://fceultra.sourceforge.net/
   
   PR:             ports/114997
   Submitted by:   Pontus Stenetorp <ninjin at kth.se>
   
   Revision  Changes    Path
   1.230     +1 -0      ports/emulators/Makefile
   1.1       +43 -0     ports/emulators/fceu-server/Makefile (new)
   1.1       +3 -0      ports/emulators/fceu-server/distinfo (new)
   1.1       +3 -0      ports/emulators/fceu-server/pkg-descr (new)
   1.1       +4 -0      ports/emulators/fceu-server/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
