From e67d5b4ba05349b3bf4229d0cf7d069809c4420e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Dec 2023 01:37:43 +0000 Subject: gentoo auto-resync : 28:12:2023 - 01:37:43 --- net-misc/openr2/Manifest | 4 +++ .../files/openr2-1.3.0-fix-build-system.patch | 30 +++++++++++++++++++ net-misc/openr2/metadata.xml | 8 +++++ net-misc/openr2/openr2-1.3.0.ebuild | 35 ++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 net-misc/openr2/Manifest create mode 100644 net-misc/openr2/files/openr2-1.3.0-fix-build-system.patch create mode 100644 net-misc/openr2/metadata.xml create mode 100644 net-misc/openr2/openr2-1.3.0.ebuild (limited to 'net-misc/openr2') diff --git a/net-misc/openr2/Manifest b/net-misc/openr2/Manifest new file mode 100644 index 000000000000..7d7491fb6524 --- /dev/null +++ b/net-misc/openr2/Manifest @@ -0,0 +1,4 @@ +AUX openr2-1.3.0-fix-build-system.patch 855 BLAKE2B 0712ab876e8941f63756531597a861e433e2e3a8f457fcf62c83e3d5f32d1f0f809c2fb34ce362533d7a4e1d434132c0df81ddb656e3223f7dab1381001215b4 SHA512 6f71b83d1ec8a07a32a019784954148adde44b2fdfc982ec9d02deeae66fc307448f6577d715276de4cdde42f771d647d625d3111a6189cf60ae8f6c5c6c2d2e +DIST openr2-1.3.0.tar.gz 650048 BLAKE2B bff444c839d5f62fc889c1720cb9c17c38c5bd4b0dc3b3884c8fd00226aa6354281cf37c7a748fca4e16e633a94ac055c8f7b5e4bf69d97732846fdbc618ca47 SHA512 2cee4534eeebb91a2cf0f74c9fcd2a16db3966db01a4bae7e3406416546fdc1c5e20bb9172375f55e5dcc30cfcc2c8f7182ef7476253b4fcce9421f74b8d125e +EBUILD openr2-1.3.0.ebuild 643 BLAKE2B 4d0a464275893bc1dbfef82c36637c6f08c15520a1aececf0948163201cf808d2fe32a17e0c26c7bb6f7e8a3aa747aad82a4c30672bb1440527f1d8f3013c2b8 SHA512 accff8b8e325bb58c3c2da3f16ef0249fd970382b4839a530f1f6913ace63116b8f796327f8b6a85a33227baf10cae37548338a24e708c75a0d6b7464dc59b36 +MISC metadata.xml 244 BLAKE2B a71e3730eb16c6db4cca37ad5a584be5b6ec19e1e73049bdfe6f03c718a20dab895e7d7f07d3b9fc3841ab12f73a5f28dd71895a1d66c36ee76e7bacb11b5fff SHA512 e31f07e523e88b04dbc7654ac6da27395cc1d4456f56f192d08b96271ce5ef2578b300b3b79e212431536b9f0b757bce515567a924014f428e3e822356ec1eab diff --git a/net-misc/openr2/files/openr2-1.3.0-fix-build-system.patch b/net-misc/openr2/files/openr2-1.3.0-fix-build-system.patch new file mode 100644 index 000000000000..59918934d563 --- /dev/null +++ b/net-misc/openr2/files/openr2-1.3.0-fix-build-system.patch @@ -0,0 +1,30 @@ +--- a/configure.in ++++ b/configure.in +@@ -25,11 +25,6 @@ + AC_CONFIG_HEADERS(config.h) + AM_INIT_AUTOMAKE + +-# let's default to compile with debugging information +-# most users will not even care about it +-CFLAGS='-ggdb3 -O0' +-CXXFLAGS='-ggdb3 -O0' +- + AC_PROG_CC + AC_PROG_LIBTOOL + AC_LANG([C]) +diff -ur ORIG/src/Makefile.am MOD/src/Makefile.am +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,10 +1,10 @@ +-AM_CFLAGS = -std=c99 -pedantic -Wall -Werror -Wwrite-strings -Wunused-variable -Wstrict-prototypes -Wmissing-prototypes ++AM_CFLAGS = -std=c99 -pedantic -Werror -Wwrite-strings -Wunused-variable -Wstrict-prototypes -Wmissing-prototypes + if WANT_OR2_TRACE_STACKS + AM_CFLAGS += -DOR2_TRACE_STACKS + endif + + if HAVE_SVNVERSION +-AM_CFLAGS += -DREVISION=\"$(shell svnversion -n .)\" ++AM_CFLAGS += -DREVISION=\"0\" + endif + + lib_LTLIBRARIES = libopenr2.la diff --git a/net-misc/openr2/metadata.xml b/net-misc/openr2/metadata.xml new file mode 100644 index 000000000000..b61afa2b03b1 --- /dev/null +++ b/net-misc/openr2/metadata.xml @@ -0,0 +1,8 @@ + + + + + + openr2 + + diff --git a/net-misc/openr2/openr2-1.3.0.ebuild b/net-misc/openr2/openr2-1.3.0.ebuild new file mode 100644 index 000000000000..2f15c2e0e766 --- /dev/null +++ b/net-misc/openr2/openr2-1.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="An open implementation of the MFC/R2 telephony signaling protocol" +HOMEPAGE="https://libopenr2.org/" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="net-misc/dahdi" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} -- cgit v1.2.3