From ahze@ahze.net  Mon Jul 12 00:07:05 2004
Return-Path: <ahze@ahze.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3BEF316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Jul 2004 00:07:05 +0000 (GMT)
Received: from imf19aec.mail.bellsouth.net (imf19aec.mail.bellsouth.net [205.152.59.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 952DC43D31
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 12 Jul 2004 00:07:04 +0000 (GMT)
	(envelope-from ahze@ahze.net)
Received: from ahze.net ([68.209.163.3]) by imf19aec.mail.bellsouth.net
          (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP
          id <20040712000704.KUUX1775.imf19aec.mail.bellsouth.net@ahze.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 11 Jul 2004 20:07:04 -0400
Received: (from root@localhost)
	by ahze.net (8.12.11/8.12.11/Submit) id i6C073EE070255;
	Sun, 11 Jul 2004 20:07:03 -0400 (EDT)
	(envelope-from ahze)
Message-Id: <200407120007.i6C073EE070255@ahze.net>
Date: Sun, 11 Jul 2004 20:07:03 -0400 (EDT)
From: michael johnson <ahze@ahze.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68935
>Category:       ports
>Synopsis:       [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 12 00:10:24 GMT 2004
>Closed-Date:    Tue Jul 13 20:28:52 GMT 2004
>Last-Modified:  Tue Jul 13 20:28:52 GMT 2004
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #53: Fri Jun 11 22:50:16 EDT 2004
>Description:
- add option for SLP via openslp

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- minisapserver-0.2.3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/minisapserver/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	7 Jun 2004 09:03:58 -0000	1.2
+++ Makefile	12 Jul 2004 00:04:37 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	minisapserver
 PORTVERSION=	0.2.3
+PORTREVISION=	1
 CATEGORIES=	net multimedia
 MASTER_SITES=	http://download.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/
 DISTNAME=	miniSAPserver-${PORTVERSION}
@@ -23,6 +24,17 @@
 PLIST_FILES=	bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh
 USE_RC_SUBR=	yes
 PKGMESSAGE=	${WRKDIR}/pkg-message
+OPTIONS=	SLP "Enable SLP support via openslp" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OPENSLP)
+LIB_DEPENDS+=	slp.1:${PORTSDIR}/net/openslp
+
+CONFIGURE_ARGS=	--enable-slp
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \
@@ -47,4 +59,4 @@
 	@${INSTALL_SCRIPT} ${WRKDIR}/sapserver.sh ${PREFIX}/etc/rc.d/
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- minisapserver-0.2.3_1.patch ends here ---

>Release-Note:
>Audit-Trail:

From: michael johnson <ahze@ahze.net>
To: michael johnson <ahze@ahze.net>, freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
Date: Sun, 11 Jul 2004 20:14:16 -0400

 I meant to change openslp back to slp..
 
 here is a better patch
 
 ===================================================================
 RCS file: /home/ncvs/ports/net/minisapserver/Makefile,v
 retrieving revision 1.2
 diff -u -r1.2 Makefile
 --- Makefile	7 Jun 2004 09:03:58 -0000	1.2
 +++ Makefile	12 Jul 2004 00:13:03 -0000
 @@ -7,6 +7,7 @@
 
   PORTNAME=	minisapserver
   PORTVERSION=	0.2.3
 +PORTREVISION=	1
   CATEGORIES=	net multimedia
    
 MASTER_SITES=	http://download.videolan.org/pub/videolan/miniSAPserver/ 
 ${PORTVERSION}/
   DISTNAME=	miniSAPserver-${PORTVERSION}
 @@ -23,6 +24,17 @@
   PLIST_FILES=	bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh
   USE_RC_SUBR=	yes
   PKGMESSAGE=	${WRKDIR}/pkg-message
 +OPTIONS=	SLP "Enable SLP support via openslp" off
 +
 +.include <bsd.port.pre.mk>
 +
 +.if defined(WITH_SLP)
 +LIB_DEPENDS+=	slp.1:${PORTSDIR}/net/openslp
 +
 +CONFIGURE_ARGS=	--enable-slp
 +CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 +		LDFLAGS="-L${LOCALBASE}/lib"
 +.endif
 
   post-patch:
   	@${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \
 @@ -47,4 +59,4 @@
   	@${INSTALL_SCRIPT} ${WRKDIR}/sapserver.sh ${PREFIX}/etc/rc.d/
   	@${CAT} ${PKGMESSAGE}
 
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 

From: "Volker Stolz" <vs@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, ahze@ahze.net
Cc:  
Subject: Re: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
Date: Tue, 13 Jul 2004 21:16:54 +0300

 Michael, I think your second patch has been wrapped into oblivion. Please  
 send it directly to me as an attachment.
 
 Volker

From: michael johnson <ahze@ahze.net>
To: freebsd-gnats-submit@freebsd.org
Cc: Volker Stolz <vs@freebsd.org>
Subject: Re: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp]
Date: Tue, 13 Jul 2004 15:30:04 -0400

 --Apple-Mail-2--229345453
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 Here ya go, sorry about that.
 
 Michael
 --Apple-Mail-2--229345453
 Content-Transfer-Encoding: 7bit
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="sap.patch"
 Content-Disposition: attachment;
 	filename=sap.patch
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/net/minisapserver/Makefile,v
 retrieving revision 1.2
 diff -u -r1.2 Makefile
 --- Makefile	7 Jun 2004 09:03:58 -0000	1.2
 +++ Makefile	13 Jul 2004 19:26:59 -0000
 @@ -7,6 +7,7 @@
  
  PORTNAME=	minisapserver
  PORTVERSION=	0.2.3
 +PORTREVISION=	1
  CATEGORIES=	net multimedia
  MASTER_SITES=	http://download.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/
  DISTNAME=	miniSAPserver-${PORTVERSION}
 @@ -23,6 +24,15 @@
  PLIST_FILES=	bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh
  USE_RC_SUBR=	yes
  PKGMESSAGE=	${WRKDIR}/pkg-message
 +OPTIONS=	SLP "Enable SLP support via openslp" off
 +
 +.if defined(WITH_SLP)
 +LIB_DEPENDS+=	slp.1:${PORTSDIR}/net/openslp
 +
 +CONFIGURE_ARGS=	--enable-slp
 +CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 +		LDFLAGS="-L${LOCALBASE}/lib"
 +.endif
  
  post-patch:
  	@${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \
 
 --Apple-Mail-2--229345453
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 
 
 On Jul 13, 2004, at 2:16 PM, Volker Stolz wrote:
 
 > Michael, I think your second patch has been wrapped into oblivion. 
 > Please send it directly to me as an attachment.
 >
 > Volker
 >
 
 --Apple-Mail-2--229345453--
 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Tue Jul 13 20:28:34 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68935 
>Unformatted:
