Index: head/devel/libosmo-netif/Makefile =================================================================== --- head/devel/libosmo-netif/Makefile (nonexistent) +++ head/devel/libosmo-netif/Makefile (revision 379761) @@ -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 Property changes on: head/devel/libosmo-netif/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/distinfo =================================================================== --- head/devel/libosmo-netif/distinfo (nonexistent) +++ head/devel/libosmo-netif/distinfo (revision 379761) @@ -0,0 +1,2 @@ +SHA256 (libosmo-netif-0.0.4.tar.gz) = 58549da17af181ebef6fa9b74e80592657d9595d061a8dd1fbb24966968b1b24 +SIZE (libosmo-netif-0.0.4.tar.gz) = 150052 Property changes on: head/devel/libosmo-netif/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c =================================================================== --- head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c (revision 379761) @@ -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 ++#include + #include + #include + #include Property changes on: head/devel/libosmo-netif/files/patch-abis-ipa-stream-client.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c =================================================================== --- head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c (revision 379761) @@ -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 ++#include + #include + #include + #include Property changes on: head/devel/libosmo-netif/files/patch-abis-ipa-stream-server.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-datagram.c =================================================================== --- head/devel/libosmo-netif/files/patch-datagram.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-datagram.c (revision 379761) @@ -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 + ++#include ++ + /* + * Client side. + */ Property changes on: head/devel/libosmo-netif/files/patch-datagram.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-ipa-stream-client.c =================================================================== --- head/devel/libosmo-netif/files/patch-ipa-stream-client.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-ipa-stream-client.c (revision 379761) @@ -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 + #include + #include ++#include ++#include + #include + + #include Property changes on: head/devel/libosmo-netif/files/patch-ipa-stream-client.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-ipa-stream-server.c =================================================================== --- head/devel/libosmo-netif/files/patch-ipa-stream-server.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-ipa-stream-server.c (revision 379761) @@ -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 + #include + #include ++#include ++#include + #include + + #include Property changes on: head/devel/libosmo-netif/files/patch-ipa-stream-server.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h =================================================================== --- head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h (nonexistent) +++ head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h (revision 379761) @@ -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 ++ + /* As defined by RFC3267: Adaptive Multi-Rate (AMR) */ + + /* Property changes on: head/devel/libosmo-netif/files/patch-osmocom_netif_amr.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h =================================================================== --- head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h (nonexistent) +++ head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h (revision 379761) @@ -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 ++ + /* OSmux header: + * + * ft (3 bits): 0=signalling, 1=voice Property changes on: head/devel/libosmo-netif/files/patch-osmocom_netif_osmux.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h =================================================================== --- head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h (nonexistent) +++ head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h (revision 379761) @@ -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 ++ + /* RTP header as defined by RFC 3550 */ + struct rtp_hdr { + #if BYTE_ORDER == LITTLE_ENDIAN Property changes on: head/devel/libosmo-netif/files/patch-osmocom_netif_rtp.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-rs232-write.c =================================================================== --- head/devel/libosmo-netif/files/patch-rs232-write.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-rs232-write.c (revision 379761) @@ -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 + #include + #include ++#include + + #include + #include Property changes on: head/devel/libosmo-netif/files/patch-rs232-write.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-rs232.c =================================================================== --- head/devel/libosmo-netif/files/patch-rs232.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-rs232.c (revision 379761) @@ -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 }, + }; + Property changes on: head/devel/libosmo-netif/files/patch-rs232.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/files/patch-stream.c =================================================================== --- head/devel/libosmo-netif/files/patch-stream.c (nonexistent) +++ head/devel/libosmo-netif/files/patch-stream.c (revision 379761) @@ -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 + ++#include ++ + /* + * Client side. + */ Property changes on: head/devel/libosmo-netif/files/patch-stream.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/pkg-descr =================================================================== --- head/devel/libosmo-netif/pkg-descr (nonexistent) +++ head/devel/libosmo-netif/pkg-descr (revision 379761) @@ -0,0 +1,3 @@ +Library containing common/shared code regarding network interface. + +WWW: http://git.osmocom.org/libosmo-netif/ Property changes on: head/devel/libosmo-netif/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libosmo-netif/pkg-plist =================================================================== --- head/devel/libosmo-netif/pkg-plist (nonexistent) +++ head/devel/libosmo-netif/pkg-plist (revision 379761) @@ -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 Property changes on: head/devel/libosmo-netif/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property