Rename OpenGGSN to OsmoGGSN

Osmocom has maintained this program since about 7 years now, while
the original author / copyright holder has completely disappeared.

With the introduction of Osmocom-style CTRL and VTY interfaces,
the way how the program is used and configured has substantially
changed.  In order to avoid confusion in terms of configuration file
format etc, let's rename it to OsmoGGSN.

Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d
This commit is contained in:
Harald Welte
2017-09-05 18:12:14 +02:00
parent e80494726c
commit 632e843e5f
34 changed files with 171 additions and 157 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
osmo-ggsn (0.94.0) UNRELEASED; urgency=medium
* Transition to OsmoGGSN
-- Harald Welte <laforge@gnumonks.org> Tue, 05 Sep 2017 09:34:20 +0200
openggsn (0.94.0) UNRELEASED; urgency=medium
[ Holger Hans Peter Freyther ]

24
debian/control vendored
View File

@@ -1,4 +1,4 @@
Source: openggsn
Source: osmo-ggsn
Maintainer: Harald Welte <laforge@gnumonks.org>
Section: net
Priority: optional
@@ -9,16 +9,16 @@ Build-Depends: debhelper (>= 9),
dh-autoreconf,
libosmocore-dev (>= 0.8.0)
Standards-Version: 3.9.6
Vcs-Browser: http://ggsn.git.sourceforge.net/git/gitweb.cgi?p=ggsn/ggsn;a=summary
Vcs-Git: git://ggsn.git.sourceforge.net/gitroot/ggsn/ggsn
Vcs-Browser: http://git.osmocom.org/osmo-ggsn/
Vcs-Git: git://git.osmocom.org/osmo-ggsn
Homepage: https://projects.osmocom.org/projects/openggsn
Package: openggsn
Package: osmo-ggsn
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Gateway GPRS Support Node (GGSN)
OpenGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
Description: Osmocom Gateway GPRS Support Node (GGSN)
OsmoGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
operators as the interface between the Internet and the rest of the
mobile network infrastructure.
@@ -29,11 +29,11 @@ Section: libs
Depends: ${shlibs:Depends},
${misc:Depends}
Description: library implementing the GTP protocol between SGSN and GGSN
OpenGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
OsmoGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
operators as the interface between the Internet and the rest of the
mobile network infrastructure.
.
This library is part of openggsn and implements the GTP protocol between
This library is part of OsmoGGSN and implements the GTP protocol between
SGSN (Serving GPRS support node) and GGSN.
Package: libgtp-dev
@@ -43,17 +43,17 @@ Section: libdevel
Depends: ${misc:Depends},
libgtp1 (= ${binary:Version})
Description: Development files for libgtp
OpenGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
OsmoGGSN is a Gateway GPRS Support Node (GGSN). It is used by mobile
operators as the interface between the Internet and the rest of the
mobile network infrastructure.
.
The library libgtp implements the GTP protocol between SGSN and GGSN
and this package contains the development files for this library.
Package: openggsn-dbg
Package: osmo-ggsn-dbg
Section: debug
Architecture: any
Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtp1 (= ${binary:Version}), openggsn (= ${binary:Version})
Depends: ${shlibs:Depends}, ${misc:Depends}, libgtp1 (= ${binary:Version}), osmo-ggsn (= ${binary:Version})
Multi-Arch: same
Description: Debug symbols for OpenGGSN
Description: Debug symbols for OsmoGGSN

14
debian/copyright vendored
View File

@@ -1,11 +1,13 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: openggsn
Source: http://sourceforge.net/projects/ggsn/
Upstream-Name: osmo-ggsn
Source: https://osmocom.org/projects/openggsn
Files: *
Copyright: 2002 Jens Jakobsen <jj@openggsn.org>
2002-2004 Mondru AB
2010-2011 Harald Welte <laforge@gnumonks.org>
Copyright (C) 2002-2004 Mondru AB, Author: Jens Jakobsen <jj@openggsn.org>
Copyright (C) 2010-2017 Harald Welte <laforge@gnumonks.org>
Copyright (C) 2012-2016 Holger Hans Peter Freyther <zecke@selfish.org>
Copyright (C) 2014-2016 Pablo Neira Ayuso <pablo@gnumonks.org>
Copyright (C) 2014-2016 sysmocom - s.f.m.c. GmbH
License: GPL-2
Files: lib/getopt.c
@@ -15,7 +17,7 @@ Copyright: 1987-2001 Free Software Foundation, Inc.
License: LGPL-2.1+
Files: debian/*
Copyright: 2010-2015 Harald Welte <laforge@gnumonks.org>
Copyright: 2010-2017 Harald Welte <laforge@gnumonks.org>
2016 Ruben Undheim <ruben.undheim@gmail.com>
License: GPL-2

View File

@@ -1,2 +0,0 @@
examples/ggsn.conf
examples/sgsnemu.conf

2
debian/osmo-ggsn.examples vendored Normal file
View File

@@ -0,0 +1,2 @@
examples/osmo-ggsn.conf
examples/sgsnemu.conf

View File

@@ -1,6 +1,6 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: openggsn
# Provides: osmo-ggsn
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $network $remote_fs
# Default-Start: 2 3 4 5
@@ -13,18 +13,18 @@
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="OpenGGSN Gateway GPRS Support Node"
DESC="OsmoGGSN Gateway GPRS Support Node"
NAME=ggsn
DAEMON=/usr/bin/ggsn
DAEMON=/usr/bin/osmo-ggsn
DAEMON_ARGS="" # Arguments to run the daemon with
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/openggsn
SCRIPTNAME=/etc/init.d/osmo-ggsn
# Exit if the package is not installed
[ -x $DAEMON ] || exit 0
# Read configuration variable file if it is present
[ -r /etc/default/openggsn ] && . /etc/default/openggsn
[ -r /etc/default/osmo-ggsn ] && . /etc/default/osmo-ggsn
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
@@ -46,13 +46,13 @@ do_start()
|| return 1
# Check for runtime directory of nonvolatile data
if [ ! -d /var/lib/ggsn ]; then
mkdir /var/lib/ggsn
if [ ! -d /var/lib/osmo-ggsn ]; then
mkdir /var/lib/osmo-ggsn
fi
# Check for GTP restart counter
if [ ! -f /var/lib/ggsn/gsn_restart ]; then
echo 0 > /var/lib/ggsn/gsn_restart
if [ ! -f /var/lib/osmo-ggsn/gsn_restart ]; then
echo 0 > /var/lib/osmo-ggsn/gsn_restart
fi
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \

View File

@@ -1,3 +1,3 @@
/usr/bin/ggsn
/usr/bin/osmo-ggsn
/usr/bin/sgsnemu
/usr/share/man/man8/*

2
debian/rules vendored
View File

@@ -15,7 +15,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
dh $@ --with autoreconf
override_dh_strip:
dh_strip --dbg-package=openggsn-dbg
dh_strip --dbg-package=osmo-ggsn-dbg
override_dh_autoreconf:
echo $(VERSION) > .tarball-version