Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 07:37:51 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379761 - in head/devel/libosmo-netif: . files
Message-ID:  <201502240737.t1O7bpiF046068@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Feb 24 07:37:50 2015
New Revision: 379761
URL: https://svnweb.freebsd.org/changeset/ports/379761
QAT: https://qat.redports.org/buildarchive/r379761/

Log:
  Add new port: devel/libosmo-netif
  
  PR:		197707
  Submitted by:	Nikola Kolev <koue@chaosophia.net>
  
  Libosmo-netif is library containing common/shared code regarding
  network interfaces. It's part of Osmocom project regarding open source
  mobile communications.
  
  WWW: http://git.osmocom.org/libosmo-netif/

Added:
  head/devel/libosmo-netif/
  head/devel/libosmo-netif/Makefile   (contents, props changed)
  head/devel/libosmo-netif/distinfo   (contents, props changed)
  head/devel/libosmo-netif/files/
  head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-datagram.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-ipa-stream-client.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-ipa-stream-server.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h   (contents, props changed)
  head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h   (contents, props changed)
  head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h   (contents, props changed)
  head/devel/libosmo-netif/files/patch-rs232-write.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-rs232.c   (contents, props changed)
  head/devel/libosmo-netif/files/patch-stream.c   (contents, props changed)
  head/devel/libosmo-netif/pkg-descr   (contents, props changed)
  head/devel/libosmo-netif/pkg-plist   (contents, props changed)

Added: head/devel/libosmo-netif/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/Makefile	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	libosmo-netif
+PORTVERSION=	0.0.4
+CATEGORIES=	devel
+MASTER_SITES=	http://git.osmocom.org/libosmo-netif/snapshot/ \
+		http://chaosophia.net/downloads/osmocom/${PORTNAME}/
+
+MAINTAINER=	koue@chaosophia.net
+COMMENT=	Library containing common/shared code regarding network interface
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libosmocore.so:${PORTSDIR}/devel/libosmocore \
+		libosmoabis.so:${PORTSDIR}/devel/libosmo-abis
+
+USES=		autoreconf libtool pathfix pkgconfig
+PATHFIX_MAKEFILEIN=Makefile.am
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e 's,endian\.h,sys/endian.h,' \
+		-e 's,__BYTE_ORDER,BYTE_ORDER,' \
+		-e 's,__LITTLE_ENDIAN,LITTLE_ENDIAN,' \
+		-e 's,__BIG_ENDIAN,BIG_ENDIAN,' \
+		${WRKSRC}/configure.ac \
+		${WRKSRC}/examples/rs232-write.c \
+		${WRKSRC}/include/osmocom/netif/amr.h \
+		${WRKSRC}/include/osmocom/netif/rtp.h \
+		${WRKSRC}/include/osmocom/netif/osmux.h \
+		${WRKSRC}/src/rtp.c
+	${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
+
+.include <bsd.port.mk>

Added: head/devel/libosmo-netif/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/distinfo	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,2 @@
+SHA256 (libosmo-netif-0.0.4.tar.gz) = 58549da17af181ebef6fa9b74e80592657d9595d061a8dd1fbb24966968b1b24
+SIZE (libosmo-netif-0.0.4.tar.gz) = 150052

Added: head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,8 @@
+--- src/channel/abis/ipa_stream_client.c.orig	2015-02-16 17:12:17.000000000 +0200
++++ src/channel/abis/ipa_stream_client.c	2015-02-16 17:09:59.000000000 +0200
+@@ -1,4 +1,5 @@
+ #include <stdlib.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>
+ #include <sys/socket.h>

Added: head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,8 @@
+--- src/channel/abis/ipa_stream_server.c.orig	2015-02-16 17:09:48.000000000 +0200
++++ src/channel/abis/ipa_stream_server.c	2015-02-16 17:08:09.000000000 +0200
+@@ -1,4 +1,5 @@
+ #include <stdlib.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>
+ #include <sys/socket.h>

Added: head/devel/libosmo-netif/files/patch-datagram.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-datagram.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- src/datagram.c.orig	2015-02-16 11:44:42.000000000 +0200
++++ src/datagram.c	2015-02-16 11:44:12.000000000 +0200
+@@ -19,6 +19,8 @@
+ 
+ #include <osmocom/netif/datagram.h>
+ 
++#include <netinet/in.h>
++
+ /*
+  * Client side.
+  */

Added: head/devel/libosmo-netif/files/patch-ipa-stream-client.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-ipa-stream-client.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- examples/ipa-stream-client.c.orig	2014-09-08 08:52:08.000000000 +0300
++++ examples/ipa-stream-client.c	2015-02-16 17:06:50.000000000 +0200
+@@ -6,6 +6,8 @@
+ #include <signal.h>
+ #include <sys/time.h>
+ #include <arpa/inet.h>
++#include <sys/types.h>
++#include <netinet/in.h>
+ #include <netinet/tcp.h>
+ 
+ #include <osmocom/core/select.h>

Added: head/devel/libosmo-netif/files/patch-ipa-stream-server.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-ipa-stream-server.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- examples/ipa-stream-server.c.orig	2014-09-08 08:52:08.000000000 +0300
++++ examples/ipa-stream-server.c	2015-02-16 17:05:21.000000000 +0200
+@@ -4,6 +4,8 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <arpa/inet.h>
++#include <sys/types.h>
++#include <netinet/in.h>
+ #include <netinet/tcp.h>
+ 
+ #include <osmocom/core/select.h>

Added: head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- include/osmocom/netif/amr.h.orig	2015-02-23 11:51:17 UTC
++++ include/osmocom/netif/amr.h
+@@ -1,6 +1,8 @@
+ #ifndef _OSMO_AMR_H_
+ #define _OSMO_AMR_H_
+ 
++#include <endian.h>
++
+ /* As defined by RFC3267: Adaptive Multi-Rate (AMR) */
+ 
+ /*

Added: head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- include/osmocom/netif/osmux.h.orig	2015-02-23 11:51:17 UTC
++++ include/osmocom/netif/osmux.h
+@@ -1,6 +1,8 @@
+ #ifndef _OSMUX_H_
+ #define _OSMUX_H_
+ 
++#include <endian.h>
++
+ /* OSmux header:
+  *
+  *	ft (3 bits):		0=signalling, 1=voice

Added: head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- include/osmocom/netif/rtp.h.orig	2015-02-23 11:51:17 UTC
++++ include/osmocom/netif/rtp.h
+@@ -1,6 +1,8 @@
+ #ifndef _OSMO_RTP_H_
+ #define _OSMO_RTP_H_
+ 
++#include <endian.h>
++
+ /* RTP header as defined by RFC 3550 */
+ struct rtp_hdr {
+ #if BYTE_ORDER == LITTLE_ENDIAN

Added: head/devel/libosmo-netif/files/patch-rs232-write.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-rs232-write.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,10 @@
+--- examples/rs232-write.c.orig	2015-02-23 11:51:17 UTC
++++ examples/rs232-write.c
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
++#include <endian.h>
+ 
+ #include <osmocom/core/select.h>
+ #include <osmocom/core/talloc.h>

Added: head/devel/libosmo-netif/files/patch-rs232.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-rs232.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- src/rs232.c.orig	2015-02-16 11:50:26.000000000 +0200
++++ src/rs232.c	2015-02-16 11:50:41.000000000 +0200
+@@ -167,7 +167,7 @@ static struct baudrate2termbits {
+ 	{ 9600, B9600 },
+ 	{ 19200, B19200 },
+ 	{ 38400, B38400 },
+-	{ 115200, B1152000 },
++	{ 115200, B115200 },
+ 	{ -1, -1 },
+ };
+ 

Added: head/devel/libosmo-netif/files/patch-stream.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/files/patch-stream.c	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,11 @@
+--- src/stream.c.orig	2015-02-16 11:47:30.000000000 +0200
++++ src/stream.c	2015-02-16 11:48:03.000000000 +0200
+@@ -19,6 +19,8 @@
+ 
+ #include <osmocom/netif/stream.h>
+ 
++#include <netinet/in.h>
++
+ /*
+  * Client side.
+  */

Added: head/devel/libosmo-netif/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/pkg-descr	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,3 @@
+Library containing common/shared code regarding network interface.
+
+WWW: http://git.osmocom.org/libosmo-netif/

Added: head/devel/libosmo-netif/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-netif/pkg-plist	Tue Feb 24 07:37:50 2015	(r379761)
@@ -0,0 +1,16 @@
+include/osmocom/netif/amr.h
+include/osmocom/netif/channel.h
+include/osmocom/netif/channel/abis_ipa_client.h
+include/osmocom/netif/channel/abis_ipa_server.h
+include/osmocom/netif/datagram.h
+include/osmocom/netif/ipa.h
+include/osmocom/netif/ipa_unit.h
+include/osmocom/netif/osmux.h
+include/osmocom/netif/rs232.h
+include/osmocom/netif/rtp.h
+include/osmocom/netif/stream.h
+lib/libosmonetif.a
+lib/libosmonetif.so
+lib/libosmonetif.so.2
+lib/libosmonetif.so.2.0.0
+libdata/pkgconfig/libosmo-netif.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502240737.t1O7bpiF046068>