Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 09:26:41 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364593 - in head/devel: . libosmo-sccp libosmo-sccp/files
Message-ID:  <53e88c51.24a0.377ae128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Aug 11 09:26:40 2014
New Revision: 364593
URL: http://svnweb.freebsd.org/changeset/ports/364593
QAT: https://qat.redports.org/buildarchive/r364593/

Log:
  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.

Added:
  head/devel/libosmo-sccp/
  head/devel/libosmo-sccp/Makefile   (contents, props changed)
  head/devel/libosmo-sccp/distinfo   (contents, props changed)
  head/devel/libosmo-sccp/files/
  head/devel/libosmo-sccp/files/patch-mtp_leve3.c   (contents, props changed)
  head/devel/libosmo-sccp/files/patch-sccp_types.c   (contents, props changed)
  head/devel/libosmo-sccp/pkg-descr   (contents, props changed)
  head/devel/libosmo-sccp/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Aug 11 08:57:09 2014	(r364592)
+++ head/devel/Makefile	Mon Aug 11 09:26:40 2014	(r364593)
@@ -1105,6 +1105,7 @@
     SUBDIR += libopkele
     SUBDIR += liborcus
     SUBDIR += libosinfo
+    SUBDIR += libosmo-sccp
     SUBDIR += libosmocore
     SUBDIR += libowfat
     SUBDIR += libpafe

Added: head/devel/libosmo-sccp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-sccp/Makefile	Mon Aug 11 09:26:40 2014	(r364593)
@@ -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>

Added: head/devel/libosmo-sccp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-sccp/distinfo	Mon Aug 11 09:26:40 2014	(r364593)
@@ -0,0 +1,2 @@
+SHA256 (libosmo-sccp-0.0.6.3.tar.gz) = 3b7dee875ebfdb75b9f554c7d1fd8e822b8fcd2c59d59f7d85d300ec75fdf302
+SIZE (libosmo-sccp-0.0.6.3.tar.gz) = 40209

Added: head/devel/libosmo-sccp/files/patch-mtp_leve3.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-sccp/files/patch-mtp_leve3.c	Mon Aug 11 09:26:40 2014	(r364593)
@@ -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>

Added: head/devel/libosmo-sccp/files/patch-sccp_types.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-sccp/files/patch-sccp_types.c	Mon Aug 11 09:26:40 2014	(r364593)
@@ -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 {

Added: head/devel/libosmo-sccp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-sccp/pkg-descr	Mon Aug 11 09:26:40 2014	(r364593)
@@ -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/

Added: head/devel/libosmo-sccp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libosmo-sccp/pkg-plist	Mon Aug 11 09:26:40 2014	(r364593)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e88c51.24a0.377ae128>