1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add new port devel/libosmo-sccp

PR:		191879
Submitted by:	koue (chaosophia.net)

The Signalling Connection Control Part (SCCP) is a network layer
protocol that provides extended routing, flow control, segmentation,
connection-orientation, and error correction facilities in
Signaling System 7 telecommunications networks.  SCCP relies on the
services of MTP for basic routing and error detection.
Libosmo-sccp is SCCP protocol implementation for Osmocom projects.
This commit is contained in:
John Marino 2014-08-11 09:26:40 +00:00
parent 7cbb999106
commit e3beaf2845
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364593
7 changed files with 79 additions and 0 deletions

View File

@ -1105,6 +1105,7 @@
SUBDIR += libopkele
SUBDIR += liborcus
SUBDIR += libosinfo
SUBDIR += libosmo-sccp
SUBDIR += libosmocore
SUBDIR += libowfat
SUBDIR += libpafe

View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= libosmo-sccp
PORTVERSION= 0.0.6.3
CATEGORIES= devel
MASTER_SITES= http://chaosophia.net/downloads/osmocom/${PORTNAME}/ \
http://ns1.chaosophia.net/downloads/osmocom/${PORTNAME}/
MAINTAINER= koue@chaosophia.net
COMMENT= SCCP network layer protocol implementation
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libosmocore.so:${PORTSDIR}/devel/libosmocore
USES= gmake pkgconfig
USE_AUTOTOOLS= aclocal autoconf automake libtoolize
AUTOMAKE_ARGS= --gnu --add-missing --copy
post-patch:
${REINPLACE_CMD} -e 's|pkgconfigdir.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.am
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (libosmo-sccp-0.0.6.3.tar.gz) = 3b7dee875ebfdb75b9f554c7d1fd8e822b8fcd2c59d59f7d85d300ec75fdf302
SIZE (libosmo-sccp-0.0.6.3.tar.gz) = 40209

View File

@ -0,0 +1,13 @@
--- include/mtp/mtp_level3.h.org
+++ include/mtp/mtp_level3.h
@@ -23,7 +23,11 @@
#ifndef mtp_level3_h
#define mtp_level3_h
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
#include <stdint.h>
#include <sys/types.h>

View File

@ -0,0 +1,14 @@
--- include/sccp/sccp_types.h.org
+++ include/sccp/sccp_types.h
@@ -24,7 +24,11 @@
#ifndef SCCP_TYPES_H
#define SCCP_TYPES_H
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
#include <endian.h>
+#endif
/* Table 1/Q.713 - SCCP message types */
enum sccp_message_types {

View File

@ -0,0 +1,8 @@
The Signalling Connection Control Part (SCCP) is a network layer
protocol that provides extended routing, flow control, segmentation,
connection-orientation, and error correction facilities in
Signaling System 7 telecommunications networks. SCCP relies on the
services of MTP for basic routing and error detection.
Libosmo-sccp is SCCP protocol implementation for Osmocom projects.
WWW: http://git.osmocom.org/libosmo-sccp/

View File

@ -0,0 +1,14 @@
include/osmocom/sccp/sccp_types.h
include/osmocom/sccp/sccp.h
include/osmocom/mtp/mtp_level3.h
include/osmocom/mtp/mtp_pcap.h
include/osmocom/m2ua/m2ua_types.h
include/osmocom/m2ua/m2ua_msg.h
lib/libsccp.a
lib/libmtp.a
lib/libm2ua.a
libdata/pkgconfig/libosmo-sccp.pc
libdata/pkgconfig/libosmo-mtp.pc
@dirrm include/osmocom/sccp
@dirrm include/osmocom/mtp
@dirrm include/osmocom/m2ua