From nemysis@gmx.ch  Mon Jun 24 03:16:34 2013
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 6FCFEC68
	for <freebsd-gnats-submit@freebsd.org>; Mon, 24 Jun 2013 03:16:34 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1D95C1A6A
	for <freebsd-gnats-submit@freebsd.org>; Mon, 24 Jun 2013 03:16:33 +0000 (UTC)
Received: from mailout-de.gmx.net ([10.1.76.17]) by mrigmx.server.lan
 (mrigmx001) with ESMTP (Nemesis) id 0LZk7m-1URTst1M5c-00lRLU for
 <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jun 2013 05:16:27 +0200
Received: (qmail invoked by alias); 24 Jun 2013 03:16:26 -0000
Received: from 5-80.77-83.cust.bluewin.ch (EHLO something.email.com) [83.77.80.5]
  by mail.gmx.net (mp017) with SMTP; 24 Jun 2013 05:16:26 +0200
Received: by something.email.com (sSMTP sendmail emulation); Mon, 24 Jun 2013 05:16:25 +0200
Message-Id: <20130624031634.6FCFEC68@hub.freebsd.org>
Date: Mon, 24 Jun 2013 05:16:25 +0200
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jpaetzel@FreeBSD.org
Subject: [PATCH] audio/liblo: update to 0.27, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         179916
>Category:       ports
>Synopsis:       [PATCH] audio/liblo: update to 0.27, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 03:20:01 UTC 2013
>Closed-Date:    Fri Jul 12 17:45:51 UTC 2013
>Last-Modified:  Fri Jul 12 17:50:00 UTC 2013
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013
>Description:

- Update to 0.27
- Take maintainership
- Shorten header
- Add license (LGPL21)
- Add dependency for devel/doxygen
- Add manual pages
- Add docs
- Add examples
- Add DOCS DOXYGEN EXAMPLES Options
- Trim files/patch-src-lo_types_internal.h
- Remove not needed patch files/patch-src-server.c
- Trim pkg-descr
- Trim pkg-plist

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
>How-To-Repeat:

Needs devel/doxygen for generating manpages.

Build log

https://redports.org/buildarchive/20130624024400-49854/

>Fix:

--- liblo-0.27.patch begins here ---
diff -ruN /usr/ports/audio/liblo/Makefile ./Makefile
--- /usr/ports/audio/liblo/Makefile	2013-06-02 19:00:27.000000000 +0200
+++ ./Makefile	2013-06-24 04:42:37.000000000 +0200
@@ -1,21 +1,53 @@
-# New ports collection makefile for:	liblo
-# Date created:		2006-12-04
-# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
-#
+# Created by: trasz <trasz@pin.if.uz.zgora.pl>
 # $FreeBSD: head/audio/liblo/Makefile 314640 2013-03-19 13:04:30Z eadler $
-#
 
 PORTNAME=	liblo
-PORTVERSION=	0.26
+PORTVERSION=	0.27
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Lightweight Open Sound Control implementation
 
+LICENSE=	LGPL21
+
+BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
+
+USES=		pathfix
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
-USES=	pathfix
+
+MAN3=		liblo.3 liblolowlevel.3 lo.h.3 lo_arg.3 lo_lowlevel.h.3 \
+		lo_osc_types.h.3 lo_timetag.3 lo_types.h.3 pp.3
+
+PORTDOCS=	*
+
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	AUTHORS ChangeLog NEWS README TODO
+
+PORTEXAMPLES=	example_client example_server \
+		example_tcp_echo_server nonblocking_server_example
+
+OPTIONS_DEFINE=	DOCS DOXYGEN EXAMPLES
+
+.include <bsd.port.options.mk>
+
+post-install:
+	cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} ${MAN3} ${MAN3PREFIX}/man/man3
+
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
+	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR})
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
+.endif
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/audio/liblo/distinfo ./distinfo
--- /usr/ports/audio/liblo/distinfo	2013-06-02 19:00:27.000000000 +0200
+++ ./distinfo	2013-06-24 01:57:51.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (liblo-0.26.tar.gz) = a636fb09f8178ad0d5303e94fec37b182d3062a0e3daee85eed2a39ab6232258
-SIZE (liblo-0.26.tar.gz) = 519750
+SHA256 (liblo-0.27.tar.gz) = 67b48e1e63fddea60bb4a0f0c25fba32ea42d2a55877752aa342c478b59374b6
+SIZE (liblo-0.27.tar.gz) = 533684
diff -ruN /usr/ports/audio/liblo/files/patch-src-lo_types_internal.h ./files/patch-src-lo_types_internal.h
--- /usr/ports/audio/liblo/files/patch-src-lo_types_internal.h	2013-06-02 19:00:27.000000000 +0200
+++ ./files/patch-src-lo_types_internal.h	2013-06-24 01:55:01.000000000 +0200
@@ -1,10 +1,18 @@
---- src/lo_types_internal.h.orig	Mon Dec  4 23:29:22 2006
-+++ src/lo_types_internal.h	Mon Dec  4 23:29:32 2006
-@@ -9,6 +9,7 @@
+--- src/lo_types_internal.h.orig	2013-05-22 18:34:31.000000000 +0200
++++ src/lo_types_internal.h	2013-06-24 01:54:53.000000000 +0200
+@@ -20,6 +20,7 @@
+ #else
+ #define closesocket close
+ #include <netdb.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
  #endif
  
+@@ -33,6 +34,7 @@
+ 
+ #ifdef ENABLE_THREADS
  #include <pthread.h>
 +#include <sys/socket.h>
+ #endif
  
  #include "lo/lo_osc_types.h"
- 
diff -ruN /usr/ports/audio/liblo/files/patch-src-server.c ./files/patch-src-server.c
--- /usr/ports/audio/liblo/files/patch-src-server.c	2013-06-02 19:00:27.000000000 +0200
+++ ./files/patch-src-server.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,43 +0,0 @@
---- src/server.c.orig	2009-03-06 08:09:26.000000000 +0100
-+++ src/server.c	2009-03-28 10:19:58.000000000 +0100
-@@ -958,38 +958,11 @@ static void dispatch_method(lo_server s,
- 
-     //inet_ntop(s->addr.ss_family, &s->addr.padding, hostname, sizeof(hostname));
-     if (s->protocol == LO_UDP && s->addr_len>0) {
--	err = getnameinfo((struct sockaddr *)&s->addr, sizeof(s->addr),
-+	err = getnameinfo((struct sockaddr *)&s->addr, s->addr.ss_len,
- 	    hostname, sizeof(hostname), portname, sizeof(portname),
- 	    NI_NUMERICHOST | NI_NUMERICSERV);
- 	if (err) {
--	    switch (err) {
--	    case EAI_AGAIN:
--		lo_throw(s, err, "Try again", path);
--		break;
--	    case EAI_BADFLAGS:
--		lo_throw(s, err, "Bad flags", path);
--		break;
--	    case EAI_FAIL:
--		lo_throw(s, err, "Failed", path);
--		break;
--	    case EAI_FAMILY:
--		lo_throw(s, err, "Cannot resolve address family", path);
--		break;
--	    case EAI_MEMORY:
--		lo_throw(s, err, "Out of memory", path);
--		break;
--	    case EAI_NONAME:
--		lo_throw(s, err, "Cannot resolve", path);
--		break;
--#ifndef WIN32
--	    case EAI_SYSTEM:
--		lo_throw(s, err, strerror(err), path);
--		break;
--#endif
--	    default:
--		lo_throw(s, err, "Unknown error", path);
--		break;
--	    }
-+	    lo_throw(s, err, gai_strerror(err), path);
- 
- 	    return;
- 	}
diff -ruN /usr/ports/audio/liblo/pkg-descr ./pkg-descr
--- /usr/ports/audio/liblo/pkg-descr	2013-06-02 19:00:27.000000000 +0200
+++ ./pkg-descr	2013-06-24 03:11:47.000000000 +0200
@@ -1,4 +1,8 @@
-liblo is an implementation of the Open Sound Control
-protocol for POSIX systems.
+liblo is a lightweight library that provides an easy to use implementation of
+the Open Sound Control protocol for POSIX systems. For more information about
+the Open Sound Control protocol, please see:
+
+  - [OSC at CNMAT](http://www.cnmat.berkeley.edu/OpenSoundControl/)
+    - [opensoundcontrol.org](http://www.opensoundcontrol.org/)
 
 WWW: http://liblo.sourceforge.net/
diff -ruN /usr/ports/audio/liblo/pkg-plist ./pkg-plist
--- /usr/ports/audio/liblo/pkg-plist	2013-06-02 19:00:27.000000000 +0200
+++ ./pkg-plist	2013-06-24 02:00:56.000000000 +0200
@@ -1,15 +1,16 @@
 bin/oscdump
 bin/oscsend
-include/lo/lo_errors.h
 include/lo/lo.h
+include/lo/lo_endian.h
+include/lo/lo_errors.h
 include/lo/lo_lowlevel.h
+include/lo/lo_macros.h
+include/lo/lo_osc_types.h
+include/lo/lo_serverthread.h
 include/lo/lo_throw.h
 include/lo/lo_types.h
-include/lo/lo_osc_types.h
-include/lo/lo_endian.h
-include/lo/lo_macros.h
-lib/liblo.so.7
-lib/liblo.so
 lib/liblo.la
+lib/liblo.so
+lib/liblo.so.8
 libdata/pkgconfig/liblo.pc
 @dirrm include/lo
--- liblo-0.27.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: deischen 
State-Changed-When: Fri Jul 12 17:45:09 UTC 2013 
State-Changed-Why:  
Patch committed, you are the new maintainer.  Thanks for your contribution! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179916: commit references a PR
Date: Fri, 12 Jul 2013 17:45:00 +0000 (UTC)

 Author: deischen
 Date: Fri Jul 12 17:44:49 2013
 New Revision: 322859
 URL: http://svnweb.freebsd.org/changeset/ports/322859
 
 Log:
   From the (new) maintainer:
   
     - Update to 0.27
     - Take maintainership
     - Shorten header
     - Add license (LGPL21)
     - Add dependency for devel/doxygen
     - Add manual pages
     - Add docs
     - Add examples
     - Add DOCS DOXYGEN EXAMPLES Options
     - Trim files/patch-src-lo_types_internal.h
     - Remove not needed patch files/patch-src-server.c
     - Trim pkg-descr
     - Trim pkg-plist
   
   Note that the previous maintainer was ports@.
   
   PR:		179916
   Submitted by:	nemysis at gmx dot ch (new maintainer)
 
 Deleted:
   head/audio/liblo/files/patch-src-server.c
 Modified:
   head/audio/liblo/Makefile
   head/audio/liblo/distinfo
   head/audio/liblo/files/patch-src-lo_types_internal.h
   head/audio/liblo/pkg-descr
   head/audio/liblo/pkg-plist
 
 Modified: head/audio/liblo/Makefile
 ==============================================================================
 --- head/audio/liblo/Makefile	Fri Jul 12 17:34:04 2013	(r322858)
 +++ head/audio/liblo/Makefile	Fri Jul 12 17:44:49 2013	(r322859)
 @@ -1,21 +1,53 @@
 -# New ports collection makefile for:	liblo
 -# Date created:		2006-12-04
 -# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
 -#
 +# Created by: trasz <trasz@pin.if.uz.zgora.pl>
  # $FreeBSD$
 -#
  
  PORTNAME=	liblo
 -PORTVERSION=	0.26
 +PORTVERSION=	0.27
  CATEGORIES=	audio
  MASTER_SITES=	SF
  
 -MAINTAINER=	ports@FreeBSD.org
 +MAINTAINER=	nemysis@gmx.ch
  COMMENT=	Lightweight Open Sound Control implementation
  
 +LICENSE=	LGPL21
 +
 +BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
 +
 +USES=		pathfix
  GNU_CONFIGURE=	yes
  USE_GMAKE=	yes
  USE_LDCONFIG=	yes
 -USES=	pathfix
 +
 +MAN3=		liblo.3 liblolowlevel.3 lo.h.3 lo_arg.3 lo_lowlevel.h.3 \
 +		lo_osc_types.h.3 lo_timetag.3 lo_types.h.3 pp.3
 +
 +PORTDOCS=	*
 +
 +DOCSRCDIR1=	${WRKSRC}
 +DOC_FILES1=	AUTHORS ChangeLog NEWS README TODO
 +
 +PORTEXAMPLES=	example_client example_server \
 +		example_tcp_echo_server nonblocking_server_example
 +
 +OPTIONS_DEFINE=	DOCS DOXYGEN EXAMPLES
 +
 +.include <bsd.port.options.mk>
 +
 +post-install:
 +	cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} ${MAN3} ${MAN3PREFIX}/man/man3
 +
 +.if ${PORT_OPTIONS:MDOCS}
 +	@${MKDIR} ${DOCSDIR}
 +	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
 +.endif
 +
 +.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS}
 +	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR})
 +.endif
 +
 +.if ${PORT_OPTIONS:MEXAMPLES}
 +	@${MKDIR} ${EXAMPLESDIR}
 +	${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
 +.endif
  
  .include <bsd.port.mk>
 
 Modified: head/audio/liblo/distinfo
 ==============================================================================
 --- head/audio/liblo/distinfo	Fri Jul 12 17:34:04 2013	(r322858)
 +++ head/audio/liblo/distinfo	Fri Jul 12 17:44:49 2013	(r322859)
 @@ -1,2 +1,2 @@
 -SHA256 (liblo-0.26.tar.gz) = a636fb09f8178ad0d5303e94fec37b182d3062a0e3daee85eed2a39ab6232258
 -SIZE (liblo-0.26.tar.gz) = 519750
 +SHA256 (liblo-0.27.tar.gz) = 67b48e1e63fddea60bb4a0f0c25fba32ea42d2a55877752aa342c478b59374b6
 +SIZE (liblo-0.27.tar.gz) = 533684
 
 Modified: head/audio/liblo/files/patch-src-lo_types_internal.h
 ==============================================================================
 --- head/audio/liblo/files/patch-src-lo_types_internal.h	Fri Jul 12 17:34:04 2013	(r322858)
 +++ head/audio/liblo/files/patch-src-lo_types_internal.h	Fri Jul 12 17:44:49 2013	(r322859)
 @@ -1,10 +1,18 @@
 ---- src/lo_types_internal.h.orig	Mon Dec  4 23:29:22 2006
 -+++ src/lo_types_internal.h	Mon Dec  4 23:29:32 2006
 -@@ -9,6 +9,7 @@
 +--- src/lo_types_internal.h.orig	2013-05-22 18:34:31.000000000 +0200
 ++++ src/lo_types_internal.h	2013-06-24 01:54:53.000000000 +0200
 +@@ -20,6 +20,7 @@
 + #else
 + #define closesocket close
 + #include <netdb.h>
 ++#include <netinet/in.h>
 + #include <arpa/inet.h>
   #endif
   
 +@@ -33,6 +34,7 @@
 + 
 + #ifdef ENABLE_THREADS
   #include <pthread.h>
  +#include <sys/socket.h>
 + #endif
   
   #include "lo/lo_osc_types.h"
 - 
 
 Modified: head/audio/liblo/pkg-descr
 ==============================================================================
 --- head/audio/liblo/pkg-descr	Fri Jul 12 17:34:04 2013	(r322858)
 +++ head/audio/liblo/pkg-descr	Fri Jul 12 17:44:49 2013	(r322859)
 @@ -1,4 +1,8 @@
 -liblo is an implementation of the Open Sound Control
 -protocol for POSIX systems.
 +liblo is a lightweight library that provides an easy to use implementation of
 +the Open Sound Control protocol for POSIX systems. For more information about
 +the Open Sound Control protocol, please see:
 +
 +  - [OSC at CNMAT](http://www.cnmat.berkeley.edu/OpenSoundControl/)
 +    - [opensoundcontrol.org](http://www.opensoundcontrol.org/)
  
  WWW: http://liblo.sourceforge.net/
 
 Modified: head/audio/liblo/pkg-plist
 ==============================================================================
 --- head/audio/liblo/pkg-plist	Fri Jul 12 17:34:04 2013	(r322858)
 +++ head/audio/liblo/pkg-plist	Fri Jul 12 17:44:49 2013	(r322859)
 @@ -1,15 +1,16 @@
  bin/oscdump
  bin/oscsend
 -include/lo/lo_errors.h
  include/lo/lo.h
 +include/lo/lo_endian.h
 +include/lo/lo_errors.h
  include/lo/lo_lowlevel.h
 +include/lo/lo_macros.h
 +include/lo/lo_osc_types.h
 +include/lo/lo_serverthread.h
  include/lo/lo_throw.h
  include/lo/lo_types.h
 -include/lo/lo_osc_types.h
 -include/lo/lo_endian.h
 -include/lo/lo_macros.h
 -lib/liblo.so.7
 -lib/liblo.so
  lib/liblo.la
 +lib/liblo.so
 +lib/liblo.so.8
  libdata/pkgconfig/liblo.pc
  @dirrm include/lo
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
