From ed@hoeg.nl  Sat Mar 31 10:51:52 2007
Return-Path: <ed@hoeg.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B41BE16A407
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 31 Mar 2007 10:51:52 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212])
	by mx1.freebsd.org (Postfix) with ESMTP id 7FCBB13C468
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 31 Mar 2007 10:51:52 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: by palm.hoeg.nl (Postfix, from userid 1000)
	id F22391CC18; Sat, 31 Mar 2007 12:51:48 +0200 (CEST)
Message-Id: <20070331105148.F22391CC18@palm.hoeg.nl>
Date: Sat, 31 Mar 2007 12:51:48 +0200 (CEST)
From: Ed Schouten <ed@fxq.nl>
Reply-To: Ed Schouten <ed@fxq.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [New port] net/uriparser: URI parsing library
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         111052
>Category:       ports
>Synopsis:       [New port] net/uriparser: URI parsing library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 31 11:00:07 GMT 2007
>Closed-Date:    Wed Apr 04 09:19:54 GMT 2007
>Last-Modified:  Wed Apr  4 09:20:09 GMT 2007
>Originator:     Ed Schouten
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Feb 11 22:32:09 CET 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
The XSPF parsing library libSpiff (multimedia/libspiff) will depend on a
new library called uriparser, which is as the name suggests an URI
parsing library. uriparser isn't in the ports tree yet, which will
prevent us from bumping libSpiff to future versions.
>How-To-Repeat:
>Fix:
The following shar contains the uriparser port:

# 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:
#
#	uriparser
#	uriparser/Makefile
#	uriparser/distinfo
#	uriparser/pkg-descr
#	uriparser/pkg-plist
#	uriparser/files
#	uriparser/files/patch-malloc
#
echo c - uriparser
mkdir -p uriparser > /dev/null 2>&1
echo x - uriparser/Makefile
sed 's/^X//' >uriparser/Makefile << 'END-of-uriparser/Makefile'
X# New ports collection makefile for:	uriparser
X# Date Created:				31 Mar 2007
X# Whom:					Ed Schouten <ed@fxq.nl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	uriparser
XPORTVERSION=	0.3.1
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	uriparser
X
XMAINTAINER=	ed@fxq.nl
XCOMMENT=	URI parsing library
X
XGNU_CONFIGURE=	yes
XUSE_DOS2UNIX=	yes
XUSE_BZIP2=	yes
X
X.include <bsd.port.mk>
END-of-uriparser/Makefile
echo x - uriparser/distinfo
sed 's/^X//' >uriparser/distinfo << 'END-of-uriparser/distinfo'
XMD5 (uriparser-0.3.1.tar.bz2) = ff45baf3bacc5874f53927aaccc2ad93
XSHA256 (uriparser-0.3.1.tar.bz2) = 75c12c7d5ce6429f8da9922cc56e4f049b5ff06f89d607a47f1c48195dcfca06
XSIZE (uriparser-0.3.1.tar.bz2) = 95693
END-of-uriparser/distinfo
echo x - uriparser/pkg-descr
sed 's/^X//' >uriparser/pkg-descr << 'END-of-uriparser/pkg-descr'
Xuriparser is an RFC 3986 URI parsing library written in C++.
X
XWWW: http://uriparser.sourceforge.net/
END-of-uriparser/pkg-descr
echo x - uriparser/pkg-plist
sed 's/^X//' >uriparser/pkg-plist << 'END-of-uriparser/pkg-plist'
Xinclude/uriparser.h
Xinclude/uriparser/Uri.h
Xinclude/uriparser/UriBase.h
Xinclude/uriparser/UriDefsAnsi.h
Xinclude/uriparser/UriDefsConfig.h
Xinclude/uriparser/UriDefsUnicode.h
Xinclude/uriparser/UriIp4.h
Xinclude/uriparser/UriIp4Base.h
Xlib/liburiparser.a
X@dirrm include/uriparser
END-of-uriparser/pkg-plist
echo c - uriparser/files
mkdir -p uriparser/files > /dev/null 2>&1
echo x - uriparser/files/patch-malloc
sed 's/^X//' >uriparser/files/patch-malloc << 'END-of-uriparser/files/patch-malloc'
X--- include/uriparser/UriBase.h	Wed Mar 28 16:09:38 2007
X+++ include/uriparser/UriBase.h	Sat Mar 31 12:35:09 2007
X@@ -117,11 +117,6 @@
X # include <ctype.h> /* For wchar_t */
X # include <string.h> /* For strlen, memset, memcpy */
X # include <stdlib.h> /* For malloc */
X-# if defined(__APPLE__) && defined(__MACH__)
X-#  include <malloc/malloc.h> /* For malloc, Mac OS X */
X-# else
X-#  include <malloc.h> /* For malloc */
X-# endif
X #endif /* URI_DOXYGEN */
X 
X 
END-of-uriparser/files/patch-malloc
exit
>Release-Note:
>Audit-Trail:

From: Ed Schouten <ed@fxq.nl>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/111052: [New port] net/uriparser: URI parsing library
Date: Sat, 31 Mar 2007 13:20:21 +0200

 --/T5g/TLNXpBPJeG6
 Content-Type: multipart/mixed; boundary="dwN3S3mscniL3FCL"
 Content-Disposition: inline
 
 
 --dwN3S3mscniL3FCL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 It looks like the port breaks on my AMD64 box. It looks like we need to
 compile the library with -fPIC.
 
 The attached shar adds -fPIC on all platforms. Is there some kind of
 rule of thumb on when we should enable -fPIC and on which platforms it's
 needed?
 
 Yours,
 --=20
  Ed Schouten <ed@fxq.nl>
  WWW: http://g-rave.nl/
 
 --dwN3S3mscniL3FCL
 Content-Type: application/x-shar
 Content-Disposition: attachment; filename="uriparser.shar"
 Content-Transfer-Encoding: quoted-printable
 
 # This is a shell archive.  Save it in a file, remove anything before=0A# t=
 his line, and then unpack it by entering "sh file".  Note, it may=0A# creat=
 e directories; files and directories will be owned by you and=0A# have defa=
 ult permissions.=0A#=0A# This archive contains:=0A#=0A#	uriparser=0A#	uripa=
 rser/Makefile=0A#	uriparser/distinfo=0A#	uriparser/pkg-descr=0A#	uriparser/=
 pkg-plist=0A#	uriparser/files=0A#	uriparser/files/patch-malloc=0A#=0Aecho c=
  - uriparser=0Amkdir -p uriparser > /dev/null 2>&1=0Aecho x - uriparser/Mak=
 efile=0Ased 's/^X//' >uriparser/Makefile << 'END-of-uriparser/Makefile'=0AX=
 # New ports collection makefile for:	uriparser=0AX# Date Created:				31 Mar=
  2007=0AX# Whom:					Ed Schouten <ed@fxq.nl>=0AX#=0AX# $FreeBSD$=0AX#=0AX=
 =0AXPORTNAME=3D	uriparser=0AXPORTVERSION=3D	0.3.1=0AXCATEGORIES=3D	net=0AXM=
 ASTER_SITES=3D	${MASTER_SITE_SOURCEFORGE}=0AXMASTER_SITE_SUBDIR=3D	uriparse=
 r=0AX=0AXMAINTAINER=3D	ed@fxq.nl=0AXCOMMENT=3D	URI parsing library=0AX=0AXG=
 NU_CONFIGURE=3D	yes=0AXUSE_DOS2UNIX=3D	yes=0AXUSE_BZIP2=3D	yes=0AXCFLAGS+=
 =3D	-fPIC=0AX=0AX.include <bsd.port.mk>=0AEND-of-uriparser/Makefile=0Aecho =
 x - uriparser/distinfo=0Ased 's/^X//' >uriparser/distinfo << 'END-of-uripar=
 ser/distinfo'=0AXMD5 (uriparser-0.3.1.tar.bz2) =3D ff45baf3bacc5874f53927aa=
 ccc2ad93=0AXSHA256 (uriparser-0.3.1.tar.bz2) =3D 75c12c7d5ce6429f8da9922cc5=
 6e4f049b5ff06f89d607a47f1c48195dcfca06=0AXSIZE (uriparser-0.3.1.tar.bz2) =
 =3D 95693=0AEND-of-uriparser/distinfo=0Aecho x - uriparser/pkg-descr=0Ased =
 's/^X//' >uriparser/pkg-descr << 'END-of-uriparser/pkg-descr'=0AXuriparser =
 is an RFC 3986 URI parsing library written in C++.=0AX=0AXWWW: http://uripa=
 rser.sourceforge.net/=0AEND-of-uriparser/pkg-descr=0Aecho x - uriparser/pkg=
 -plist=0Ased 's/^X//' >uriparser/pkg-plist << 'END-of-uriparser/pkg-plist'=
 =0AXinclude/uriparser.h=0AXinclude/uriparser/Uri.h=0AXinclude/uriparser/Uri=
 Base.h=0AXinclude/uriparser/UriDefsAnsi.h=0AXinclude/uriparser/UriDefsConfi=
 g.h=0AXinclude/uriparser/UriDefsUnicode.h=0AXinclude/uriparser/UriIp4.h=0AX=
 include/uriparser/UriIp4Base.h=0AXlib/liburiparser.a=0AX@dirrm include/urip=
 arser=0AEND-of-uriparser/pkg-plist=0Aecho c - uriparser/files=0Amkdir -p ur=
 iparser/files > /dev/null 2>&1=0Aecho x - uriparser/files/patch-malloc=0Ase=
 d 's/^X//' >uriparser/files/patch-malloc << 'END-of-uriparser/files/patch-m=
 alloc'=0AX--- include/uriparser/UriBase.h	Wed Mar 28 16:09:38 2007=0AX+++ i=
 nclude/uriparser/UriBase.h	Sat Mar 31 12:35:09 2007=0AX@@ -117,11 +117,6 @@=
 =0AX # include <ctype.h> /* For wchar_t */=0AX # include <string.h> /* For =
 strlen, memset, memcpy */=0AX # include <stdlib.h> /* For malloc */=0AX-# i=
 f defined(__APPLE__) && defined(__MACH__)=0AX-#  include <malloc/malloc.h> =
 /* For malloc, Mac OS X */=0AX-# else=0AX-#  include <malloc.h> /* For mall=
 oc */=0AX-# endif=0AX #endif /* URI_DOXYGEN */=0AX =0AX =0AEND-of-uriparser=
 /files/patch-malloc=0Aexit=0A=0A
 --dwN3S3mscniL3FCL--
 
 --/T5g/TLNXpBPJeG6
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQFGDkP152SDGA2eCwURAnlwAJ4rkq4nYgoo6eJuWL0ormwbYj2dwgCfU6U+
 6NCdmFPsLw7WqkKjgpcS9EI=
 =q53d
 -----END PGP SIGNATURE-----
 
 --/T5g/TLNXpBPJeG6--

From: Ed Schouten <ed@fxq.nl>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/111052: [New port] net/uriparser: URI parsing library
Date: Tue, 3 Apr 2007 20:40:41 +0200

 --0lnxQi9hkpPO77W3
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello,
 
 The author of uriparser has released a new version, which makes the
 malloc patch obsolete. All source code how has LF newlines instead of
 mixed CRLF and LF, so we can now live without USE_DOS2UNIX.
 
 Yours,
 --=20
  Ed Schouten <ed@fxq.nl>
  WWW: http://g-rave.nl/
 
 
 # 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:
 #
 #	uriparser
 #	uriparser/Makefile
 #	uriparser/distinfo
 #	uriparser/pkg-descr
 #	uriparser/pkg-plist
 #
 echo c - uriparser
 mkdir -p uriparser > /dev/null 2>&1
 echo x - uriparser/Makefile
 sed 's/^X//' >uriparser/Makefile << 'END-of-uriparser/Makefile'
 X# New ports collection makefile for:	uriparser
 X# Date Created:				31 Mar 2007
 X# Whom:					Ed Schouten <ed@fxq.nl>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=3D	uriparser
 XPORTVERSION=3D	0.3.3
 XCATEGORIES=3D	net
 XMASTER_SITES=3D	${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=3D	uriparser
 X
 XMAINTAINER=3D	ed@fxq.nl
 XCOMMENT=3D	URI parsing library
 X
 XGNU_CONFIGURE=3D	yes
 XUSE_BZIP2=3D	yes
 XCFLAGS+=3D	-fPIC
 X
 X.include <bsd.port.mk>
 END-of-uriparser/Makefile
 echo x - uriparser/distinfo
 sed 's/^X//' >uriparser/distinfo << 'END-of-uriparser/distinfo'
 XMD5 (uriparser-0.3.3.tar.bz2) =3D 8165a88502c1e4d71b7fc43fc802a732
 XSHA256 (uriparser-0.3.3.tar.bz2) =3D 09b9ebe6b2631b4c9788a995e5cd6605a69f0=
 552a7afc1c21d614b0ef168ae22
 XSIZE (uriparser-0.3.3.tar.bz2) =3D 161626
 END-of-uriparser/distinfo
 echo x - uriparser/pkg-descr
 sed 's/^X//' >uriparser/pkg-descr << 'END-of-uriparser/pkg-descr'
 Xuriparser is an RFC 3986 URI parsing library written in C++.
 X
 XWWW: http://uriparser.sourceforge.net/
 END-of-uriparser/pkg-descr
 echo x - uriparser/pkg-plist
 sed 's/^X//' >uriparser/pkg-plist << 'END-of-uriparser/pkg-plist'
 Xinclude/uriparser.h
 Xinclude/uriparser/Uri.h
 Xinclude/uriparser/UriBase.h
 Xinclude/uriparser/UriDefsAnsi.h
 Xinclude/uriparser/UriDefsConfig.h
 Xinclude/uriparser/UriDefsUnicode.h
 Xinclude/uriparser/UriIp4.h
 Xinclude/uriparser/UriIp4Base.h
 Xlib/liburiparser.a
 X@dirrm include/uriparser
 END-of-uriparser/pkg-plist
 exit
 
 --0lnxQi9hkpPO77W3
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iD8DBQFGEp+p52SDGA2eCwURAsdjAJ405BsSCYa137uW1Ci0my8P395YjwCfTrl/
 i0k2uIEYE20MdkHv/haluGM=
 =Nvu6
 -----END PGP SIGNATURE-----
 
 --0lnxQi9hkpPO77W3--
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: clsung 
Responsible-Changed-When: Wed Apr 4 01:12:18 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111052 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Wed Apr 4 09:19:52 UTC 2007 
State-Changed-Why:  
New port added. Thank You. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111052: commit references a PR
Date: Wed,  4 Apr 2007 09:19:34 +0000 (UTC)

 clsung      2007-04-04 09:19:24 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net                  Makefile 
   Added files:
     net/uriparser        Makefile distinfo pkg-descr pkg-plist 
   Log:
   Add uriparser 0.3.3, URI parsing library.
   
   PR:             ports/111052
   Submitted by:   Ed Schouten <ed at fxq.nl>
   
   Revision  Changes    Path
   1.1842    +1 -0      ports/net/Makefile
   1.1       +21 -0     ports/net/uriparser/Makefile (new)
   1.1       +3 -0      ports/net/uriparser/distinfo (new)
   1.1       +3 -0      ports/net/uriparser/pkg-descr (new)
   1.1       +10 -0     ports/net/uriparser/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:
