mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-11-06 15:13:34 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43439c785f | ||
|
|
1d9d13ce6b | ||
|
|
6e64d1079f | ||
|
|
d5ea7f765e | ||
|
|
8d70759ab7 | ||
|
|
8f15c2c23d |
@@ -31,10 +31,10 @@ if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
|
|||||||
fi
|
fi
|
||||||
PKG_PROG_PKG_CONFIG([0.20])
|
PKG_PROG_PKG_CONFIG([0.20])
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.7.0)
|
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.8.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.7.0)
|
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.8.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.7.0)
|
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.8.0)
|
||||||
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.2.0)
|
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.3.0)
|
||||||
PKG_CHECK_MODULES(ULFIUS, libulfius)
|
PKG_CHECK_MODULES(ULFIUS, libulfius)
|
||||||
PKG_CHECK_MODULES(JANSSON, jansson)
|
PKG_CHECK_MODULES(JANSSON, jansson)
|
||||||
PKG_CHECK_MODULES(ORCANIA, liborcania)
|
PKG_CHECK_MODULES(ORCANIA, liborcania)
|
||||||
|
|||||||
@@ -51,11 +51,12 @@ autoreconf --install --force
|
|||||||
./configure --enable-sanitize --enable-werror --enable-external-tests $CONFIG
|
./configure --enable-sanitize --enable-werror --enable-external-tests $CONFIG
|
||||||
$MAKE $PARALLEL_MAKE
|
$MAKE $PARALLEL_MAKE
|
||||||
DISTCHECK_CONFIGURE_FLAGS="--enable-external-tests $CONFIG" \
|
DISTCHECK_CONFIGURE_FLAGS="--enable-external-tests $CONFIG" \
|
||||||
$MAKE distcheck \
|
$MAKE $PARALLEL_MAKE distcheck \
|
||||||
|| cat-testlogs.sh
|
|| cat-testlogs.sh
|
||||||
|
|
||||||
if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then
|
if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then
|
||||||
make -C "$base/doc/manuals" publish
|
make -C "$base/doc/manuals" publish
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$MAKE $PARALLEL_MAKE maintainer-clean
|
||||||
osmo-clean-workspace.sh
|
osmo-clean-workspace.sh
|
||||||
|
|||||||
@@ -31,10 +31,10 @@ BuildRequires: pkgconfig >= 0.20
|
|||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(libsctp)
|
BuildRequires: pkgconfig(libsctp)
|
||||||
BuildRequires: pkgconfig(libosmocore) >= 1.7.0
|
BuildRequires: pkgconfig(libosmocore) >= 1.8.0
|
||||||
BuildRequires: pkgconfig(libosmogsm) >= 1.7.0
|
BuildRequires: pkgconfig(libosmogsm) >= 1.8.0
|
||||||
BuildRequires: pkgconfig(libosmovty) >= 1.7.0
|
BuildRequires: pkgconfig(libosmovty) >= 1.8.0
|
||||||
BuildRequires: pkgconfig(libosmo-netif) >= 1.2.0
|
BuildRequires: pkgconfig(libosmo-netif) >= 1.3.0
|
||||||
BuildRequires: pkgconfig(talloc)
|
BuildRequires: pkgconfig(talloc)
|
||||||
BuildRequires: pkgconfig(libulfius)
|
BuildRequires: pkgconfig(libulfius)
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ Description=Osmocom CBC (Cell Broadcasting Centre)
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
StateDirectory=osmocom
|
||||||
|
WorkingDirectory=%S/osmocom
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/bin/osmo-cbc -c /etc/osmocom/osmo-cbc.cfg
|
ExecStart=/usr/bin/osmo-cbc -c /etc/osmocom/osmo-cbc.cfg
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
|||||||
15
debian/changelog
vendored
15
debian/changelog
vendored
@@ -1,3 +1,18 @@
|
|||||||
|
osmo-cbc (0.4.1) unstable; urgency=medium
|
||||||
|
|
||||||
|
[ Vadim Yanitskiy ]
|
||||||
|
* contrib/jenkins.sh: also execute maintainer-clean target
|
||||||
|
* contrib/jenkins.sh: execute 'distcheck' with $PARALLEL_MAKE
|
||||||
|
* contrib/jenkins.sh: fix 'publish' target
|
||||||
|
|
||||||
|
[ Max ]
|
||||||
|
* Set working directory in systemd service file
|
||||||
|
|
||||||
|
[ arehbein ]
|
||||||
|
* osmo-cbc: Transition to use of 'telnet_init_default'
|
||||||
|
|
||||||
|
-- Pau Espin Pedrol <pespin@sysmocom.de> Tue, 07 Feb 2023 17:39:54 +0100
|
||||||
|
|
||||||
osmo-cbc (0.4.0) unstable; urgency=medium
|
osmo-cbc (0.4.0) unstable; urgency=medium
|
||||||
|
|
||||||
[ Pau Espin Pedrol ]
|
[ Pau Espin Pedrol ]
|
||||||
|
|||||||
4
debian/control
vendored
4
debian/control
vendored
@@ -11,8 +11,8 @@ Build-Depends: debhelper (>=9),
|
|||||||
pkg-config,
|
pkg-config,
|
||||||
python3-minimal,
|
python3-minimal,
|
||||||
libtalloc-dev,
|
libtalloc-dev,
|
||||||
libosmocore-dev (>= 1.7.0),
|
libosmocore-dev (>= 1.8.0),
|
||||||
libosmo-netif-dev (>= 1.2.0),
|
libosmo-netif-dev (>= 1.3.0),
|
||||||
libulfius-dev,
|
libulfius-dev,
|
||||||
libjansson-dev,
|
libjansson-dev,
|
||||||
libsctp-dev,
|
libsctp-dev,
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ int main(int argc, char **argv)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = telnet_init_dynif(tall_cbc_ctx, NULL, vty_get_bind_addr(), OSMO_VTY_PORT_CBC);
|
rc = telnet_init_default(tall_cbc_ctx, NULL, OSMO_VTY_PORT_CBC);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
perror("Error binding VTY port");
|
perror("Error binding VTY port");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user