FreeBSD Bugzilla – Attachment 153139 Details for
Bug 197784
[new port] net/openbsc: GSM network in a box software
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
openbsc
openbsc.shar (text/plain), 8.02 KB, created by
Nikola Kolev
on 2015-02-18 09:05:09 UTC
(
hide
)
Description:
openbsc
Filename:
MIME Type:
Creator:
Nikola Kolev
Created:
2015-02-18 09:05:09 UTC
Size:
8.02 KB
patch
obsolete
># 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: ># ># openbsc ># openbsc/files ># openbsc/files/patch-src-libmsc-meas_feed.h ># openbsc/files/patch-src-utils-Makefile.am ># openbsc/files/patch-src-libtrau-rtp_proxy.c ># openbsc/files/patch-include-openbsc-rtp.h ># openbsc/files/patch-include-openbsc-mgcp.h ># openbsc/files/patch-src-utils-meas_udp2db.c ># openbsc/distinfo ># openbsc/pkg-plist ># openbsc/Makefile ># openbsc/pkg-descr ># >echo c - openbsc >mkdir -p openbsc > /dev/null 2>&1 >echo c - openbsc/files >mkdir -p openbsc/files > /dev/null 2>&1 >echo x - openbsc/files/patch-src-libmsc-meas_feed.h >sed 's/^X//' >openbsc/files/patch-src-libmsc-meas_feed.h << 'c4101b52bf9339c0a1bac8eeff579ee5' >X--- src/libmsc/meas_feed.h.orig 2015-02-16 18:05:53.000000000 +0200 >X+++ src/libmsc/meas_feed.h 2015-02-16 18:06:31.000000000 +0200 >X@@ -3,6 +3,10 @@ >X >X #include <stdint.h> >X >X+#ifdef __FreeBSD__ >X+#include <sys/socket.h> >X+#endif >X+ >X int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port); >X void meas_feed_cfg_get(char **host, uint16_t *port); >X >c4101b52bf9339c0a1bac8eeff579ee5 >echo x - openbsc/files/patch-src-utils-Makefile.am >sed 's/^X//' >openbsc/files/patch-src-utils-Makefile.am << 'c2cacd05032555111f30f3c0bf3d6043' >X--- src/utils/Makefile.am.orig 2015-02-17 12:06:04.000000000 +0200 >X+++ src/utils/Makefile.am 2015-02-17 12:06:48.000000000 +0200 >X@@ -6,7 +6,8 @@ noinst_HEADERS = meas_db.h >X >X bin_PROGRAMS = bs11_config isdnsync >X if HAVE_SQLITE3 >X-bin_PROGRAMS += osmo-meas-pcap2db osmo-meas-udp2db >X+#bin_PROGRAMS += osmo-meas-pcap2db osmo-meas-udp2db >X+bin_PROGRAMS += osmo-meas-udp2db >X endif >X if HAVE_LIBCDK >X bin_PROGRAMS += meas_vis >X@@ -32,9 +33,9 @@ meas_vis_SOURCES = meas_vis.c >X meas_vis_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lcdk -lncurses >X meas_vis_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) >X >X-osmo_meas_pcap2db_SOURCES = meas_pcap2db.c meas_db.c >X-osmo_meas_pcap2db_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lpcap $(SQLITE3_LIBS) >X-osmo_meas_pcap2db_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) >X+#osmo_meas_pcap2db_SOURCES = meas_pcap2db.c meas_db.c >X+#osmo_meas_pcap2db_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lpcap $(SQLITE3_LIBS) >X+#osmo_meas_pcap2db_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) >X >X osmo_meas_udp2db_SOURCES = meas_udp2db.c meas_db.c >X osmo_meas_udp2db_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(SQLITE3_LIBS) >c2cacd05032555111f30f3c0bf3d6043 >echo x - openbsc/files/patch-src-libtrau-rtp_proxy.c >sed 's/^X//' >openbsc/files/patch-src-libtrau-rtp_proxy.c << '2cb0d6c10bb9ecfde3b0a0942257fe8c' >X--- src/libtrau/rtp_proxy.c.orig 2015-02-11 00:03:25.000000000 +0200 >X+++ src/libtrau/rtp_proxy.c 2015-02-17 13:09:23.000000000 +0200 >X@@ -47,6 +47,12 @@ >X # define __BYTE_ORDER __DARWIN_BYTE_ORDER >X # define __LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN >X # define __BIG_ENDIAN __DARWIN_BIG_ENDIAN >X+# elif defined(__FreeBSD__) >X+# if __FreeBSD_version < 1000000 >X+# include <machine/endian.h> >X+# else >X+# include <x86/endian.h> >X+# endif >X # else >X # error "__BYTE_ORDER should be defined by someone" >X # endif >2cb0d6c10bb9ecfde3b0a0942257fe8c >echo x - openbsc/files/patch-include-openbsc-rtp.h >sed 's/^X//' >openbsc/files/patch-include-openbsc-rtp.h << '1c04f4e9a7b81cc3a42193ca85ef30c1' >X--- include/openbsc/rtp.h.orig 2015-02-11 00:03:25.000000000 +0200 >X+++ include/openbsc/rtp.h 2015-02-17 13:06:18.000000000 +0200 >X@@ -10,6 +10,12 @@ >X # define __BYTE_ORDER __DARWIN_BYTE_ORDER >X # define __LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN >X # define __BIG_ENDIAN __DARWIN_BIG_ENDIAN >X+# elif defined(__FreeBSD__) >X+# if __FreeBSD_version < 1000000 >X+# include <machine/endian.h> >X+# else >X+# include <x86/endian.h> >X+# endif >X # else >X # error "__BYTE_ORDER should be defined by someone" >X # endif >1c04f4e9a7b81cc3a42193ca85ef30c1 >echo x - openbsc/files/patch-include-openbsc-mgcp.h >sed 's/^X//' >openbsc/files/patch-include-openbsc-mgcp.h << '1c1a1f0f50b535cc3cea2f4e6a097ca6' >X--- include/openbsc/mgcp.h.orig 2015-02-16 17:46:02.000000000 +0200 >X+++ include/openbsc/mgcp.h 2015-02-16 17:46:37.000000000 +0200 >X@@ -31,6 +31,11 @@ >X >X #include <arpa/inet.h> >X >X+#ifdef __FreeBSD__ >X+#include <sys/socket.h> >X+#include <netinet/in.h> >X+#endif >X+ >X #define RTP_PORT_DEFAULT 4000 >X #define RTP_PORT_NET_DEFAULT 16000 >X >1c1a1f0f50b535cc3cea2f4e6a097ca6 >echo x - openbsc/files/patch-src-utils-meas_udp2db.c >sed 's/^X//' >openbsc/files/patch-src-utils-meas_udp2db.c << '50c40a98c6ebbdf5112be44d89a273aa' >X--- src/utils/meas_udp2db.c.orig 2015-02-17 11:51:58.000000000 +0200 >X+++ src/utils/meas_udp2db.c 2015-02-17 11:52:33.000000000 +0200 >X@@ -37,6 +37,10 @@ >X >X #include <openbsc/meas_feed.h> >X >X+#ifdef __FreeBSD__ >X+#include <sys/socket.h> >X+#endif >X+ >X #include "meas_db.h" >X >X static struct osmo_fd udp_ofd; >50c40a98c6ebbdf5112be44d89a273aa >echo x - openbsc/distinfo >sed 's/^X//' >openbsc/distinfo << '8436c497b23d60f980a5cb1de667c576' >XSHA256 (openbsc-0.14.0.tar.gz) = ae8f1b7ee89ea730492f790ca8c42bada1f863cf8867a853bae5f00f9e53aea0 >XSIZE (openbsc-0.14.0.tar.gz) = 724745 >8436c497b23d60f980a5cb1de667c576 >echo x - openbsc/pkg-plist >sed 's/^X//' >openbsc/pkg-plist << '29688f1f11e8e35e3c17cc5f44f3b6a4' >Xbin/osmo-nitb >Xbin/osmo-bsc_mgcp >Xbin/bs11_config >Xbin/isdnsync >Xbin/ipaccess-find >Xbin/ipaccess-config >Xbin/ipaccess-proxy >Xbin/osmo-gbproxy >X%%SQLITE%%bin/osmo-meas-udp2db >Xinclude/openbsc/gsm_04_08.h >Xinclude/openbsc/meas_rep.h >Xinclude/openbsc/bsc_api.h >Xlibdata/pkgconfig/openbsc.pc >Xshare/doc/openbsc/examples/osmo-bsc/osmo-bsc.cfg >Xshare/doc/openbsc/examples/osmo-bsc_mgcp/mgcp.cfg >Xshare/doc/openbsc/examples/osmo-bsc_nat/black-list.cfg >Xshare/doc/openbsc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg >Xshare/doc/openbsc/examples/osmo-gbproxy/osmo-gbproxy.cfg >Xshare/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg >Xshare/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg >Xshare/doc/openbsc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg >Xshare/doc/openbsc/examples/osmo-nitb/bs11/openbsc.cfg >Xshare/doc/openbsc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg >Xshare/doc/openbsc/examples/osmo-nitb/nanobts/openbsc.cfg >Xshare/doc/openbsc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg >Xshare/doc/openbsc/examples/osmo-nitb/rbs2308/openbsc.cfg >Xshare/doc/openbsc/examples/osmo-sgsn/osmo-sgsn.cfg >29688f1f11e8e35e3c17cc5f44f3b6a4 >echo x - openbsc/Makefile >sed 's/^X//' >openbsc/Makefile << '8a4eb542f4137946e2d35318386a05a4' >X# $FreeBSD$ >X >XPORTNAME= openbsc >XPORTVERSION= 0.14.0 >XCATEGORIES= net >XMASTER_SITES= http://git.osmocom.org/${PORTNAME}/snapshot/ \ >X http://chaosophia.net/downloads/osmocom/${PORTNAME}/ >X >XMAINTAINER= koue@chaosophia.net >XCOMMENT= GSM network in a box software >X >XLICENSE= GPLv3 >X >XLIB_DEPENDS= libdbi.so:${PORTSDIR}/databases/libdbi \ >X libosmocore.so:${PORTSDIR}/devel/libosmocore \ >X libosmoabis.so:${PORTSDIR}/devel/libosmo-abis \ >X libosmonetif.so:${PORTSDIR}/devel/libosmo-netif \ >X libdbi.so:${PORTSDIR}/databases/libdbi >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} >X >XUSES= pkgconfig compiler:c11 >X >XUSE_AUTOTOOLS= aclocal autoconf automake libtoolize autoheader >XAUTOMAKE_ARGS= --gnu --add-missing --copy >XUSE_GMAKE= yes >X >XCONFIGURE_ARGS+= CFLAGS="-I${LOCALBASE}/include" >X >XOPTIONS_DEFINE= SQLITE >XOPTIONS_DEFAULT= >X >XOPTIONS_SUB= yes >XSQLITE_LIB_DEPENDS= libsqlite.so:${PORTSDIR}/databases/sqlite3 >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \ >X ${WRKSRC}/Makefile.am >X ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version >X >X.include <bsd.port.mk> >8a4eb542f4137946e2d35318386a05a4 >echo x - openbsc/pkg-descr >sed 's/^X//' >openbsc/pkg-descr << 'a851c175ce8bfafe049bd62de9351194' >XOpenBSC is a minimalistic implementation of the GSM Network, with >Xparticular emphasis on the functionality typically provided by the BSC, >XMSC, HLR, VLR and SMSC. >X >XWWW: http://openbsc.osmocom.org/trac/ >a851c175ce8bfafe049bd62de9351194 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 197784
: 153139