Skip to content

Commit

Permalink
0.84
Browse files Browse the repository at this point in the history
  • Loading branch information
jjako committed Dec 30, 2004
1 parent c49cb30 commit 3544abf
Show file tree
Hide file tree
Showing 9 changed files with 153 additions and 21 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2004-12-30: Jens Jakobsen <[email protected]>
Initial MAC OS X support

Quality assurance and improved error logging

QoS length bug fix.

2004-09-11: Jens Jakobsen <[email protected]>
Added selection mode option to sgsnemu.
Added charging characteristics option to sgsnemu.
Expand Down
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ OPENGGSN NEWS
OpenGGSN - Gateway GPRS Support Node
Copyright (C) 2002, 2003, 2004 Mondru AB.

Version 0.84
============

* Initial MAC OSX support (Thanks to Pekka Nikander)
* Quality assurance and improved error logging (Thanks to Pekka
Nikander and Jonny Winberg)

Version 0.83
============
Expand Down
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT

/* Do we have sockaddr.sa_len? */
#undef HAVE_SOCKADDR_SA_LEN

/* Define to 1 if you have the `socket' function. */
#undef HAVE_SOCKET

Expand Down
121 changes: 111 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for openggsn 0.83.
# Generated by GNU Autoconf 2.57 for openggsn 0.84.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -427,8 +427,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='openggsn'
PACKAGE_TARNAME='openggsn'
PACKAGE_VERSION='0.83'
PACKAGE_STRING='openggsn 0.83'
PACKAGE_VERSION='0.84'
PACKAGE_STRING='openggsn 0.84'
PACKAGE_BUGREPORT='[email protected]'

ac_unique_file="gtp/gtp.c"
Expand Down Expand Up @@ -946,7 +946,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures openggsn 0.83 to adapt to many kinds of systems.
\`configure' configures openggsn 0.84 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1013,7 +1013,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of openggsn 0.83:";;
short | recursive ) echo "Configuration of openggsn 0.84:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1111,7 +1111,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
openggsn configure 0.83
openggsn configure 0.84
generated by GNU Autoconf 2.57
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Expand All @@ -1126,7 +1126,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by openggsn $as_me 0.83, which was
It was created by openggsn $as_me 0.84, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -8675,6 +8675,107 @@ done
# Check for sockaddr.sa_len
echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/socket.h>
int
main ()
{
static struct sockaddr ac_aggr;
if (ac_aggr.sa_len)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_sockaddr_sa_len=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/socket.h>
int
main ()
{
static struct sockaddr ac_aggr;
if (sizeof ac_aggr.sa_len)
return 0;
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_sockaddr_sa_len=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_member_struct_sockaddr_sa_len=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_SOCKADDR_SA_LEN 1
_ACEOF
fi
# Checks for typedefs, structures, and compiler characteristics.
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
Expand Down Expand Up @@ -9972,7 +10073,7 @@ fi
# Define the identity of the package.
PACKAGE=openggsn
VERSION=0.83
VERSION=0.84
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -10606,7 +10707,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by openggsn $as_me 0.83, which was
This file was extended by openggsn $as_me 0.84, which was
generated by GNU Autoconf 2.57. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -10672,7 +10773,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
openggsn config.status 0.83
openggsn config.status 0.84
configured by $0, generated by GNU Autoconf 2.57,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Expand Down
11 changes: 10 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
AC_INIT(openggsn, 0.83, [email protected])
AC_INIT(openggsn, 0.84, [email protected])
AC_CONFIG_SRCDIR([gtp/gtp.c])
AM_CONFIG_HEADER([config.h])
#AC_CONFIG_HEADER([config.h])
Expand Down Expand Up @@ -62,6 +62,15 @@ AC_CHECK_HEADERS([linux/if_tun.h net/if_tun.h])
AC_CHECK_HEADERS([linux/netlink.h linux/rtnetlink.h])


# Check for sockaddr.sa_len
AC_CHECK_MEMBER([struct sockaddr.sa_len],
[AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, [Do we have sockaddr.sa_len?])],
[],
[
#include <sys/types.h>
#include <sys/socket.h>
])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_MODE_T
Expand Down
6 changes: 4 additions & 2 deletions ggsn/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
bin_PROGRAMS = ggsn

LDFLAGS = -lgtp -L../gtp @EXEC_LDFLAGS@
LDFLAGS = @EXEC_LDFLAGS@

CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb

ggsn_LDADD = @LIBOBJS@
ggsn_LDADD = @LIBOBJS@ -lgtp -L../gtp

ggsn_DEPENDENCIES = ../gtp/libgtp.la

ggsn_SOURCES = ggsn.c tun.c tun.h cmdline.c cmdline.h ippool.h ippool.c syserr.h syserr.c lookup.c

7 changes: 4 additions & 3 deletions ggsn/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,13 @@ am__quote = @am__quote@
install_sh = @install_sh@
bin_PROGRAMS = ggsn

LDFLAGS = -lgtp -L../gtp @EXEC_LDFLAGS@
LDFLAGS = @EXEC_LDFLAGS@

CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb

ggsn_LDADD = @LIBOBJS@
ggsn_LDADD = @LIBOBJS@ -lgtp -L../gtp

ggsn_DEPENDENCIES = ../gtp/libgtp.la

ggsn_SOURCES = ggsn.c tun.c tun.h cmdline.c cmdline.h ippool.h ippool.c syserr.h syserr.c lookup.c
subdir = ggsn
Expand All @@ -109,7 +111,6 @@ PROGRAMS = $(bin_PROGRAMS)
am_ggsn_OBJECTS = ggsn.$(OBJEXT) tun.$(OBJEXT) cmdline.$(OBJEXT) \
ippool.$(OBJEXT) syserr.$(OBJEXT) lookup.$(OBJEXT)
ggsn_OBJECTS = $(am_ggsn_OBJECTS)
ggsn_DEPENDENCIES = @LIBOBJS@
ggsn_LDFLAGS =

DEFS = @DEFS@
Expand Down
6 changes: 4 additions & 2 deletions sgsnemu/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
bin_PROGRAMS = sgsnemu

LDFLAGS = -lgtp -L../gtp @EXEC_LDFLAGS@
LDFLAGS = @EXEC_LDFLAGS@

CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb

sgsnemu_LDADD = @LIBOBJS@
sgsnemu_LDADD = @LIBOBJS@ -lgtp -L../gtp

sgsnemu_DEPENDENCIES = ../gtp/libgtp.la

sgsnemu_SOURCES = sgsnemu.c tun.c tun.h cmdline.c cmdline.h ippool.h ippool.c syserr.h syserr.c lookup.c
7 changes: 4 additions & 3 deletions sgsnemu/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,13 @@ am__quote = @am__quote@
install_sh = @install_sh@
bin_PROGRAMS = sgsnemu

LDFLAGS = -lgtp -L../gtp @EXEC_LDFLAGS@
LDFLAGS = @EXEC_LDFLAGS@

CFLAGS = -O2 -D_GNU_SOURCE -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -ggdb

sgsnemu_LDADD = @LIBOBJS@
sgsnemu_LDADD = @LIBOBJS@ -lgtp -L../gtp

sgsnemu_DEPENDENCIES = ../gtp/libgtp.la

sgsnemu_SOURCES = sgsnemu.c tun.c tun.h cmdline.c cmdline.h ippool.h ippool.c syserr.h syserr.c lookup.c
subdir = sgsnemu
Expand All @@ -109,7 +111,6 @@ PROGRAMS = $(bin_PROGRAMS)
am_sgsnemu_OBJECTS = sgsnemu.$(OBJEXT) tun.$(OBJEXT) cmdline.$(OBJEXT) \
ippool.$(OBJEXT) syserr.$(OBJEXT) lookup.$(OBJEXT)
sgsnemu_OBJECTS = $(am_sgsnemu_OBJECTS)
sgsnemu_DEPENDENCIES = @LIBOBJS@
sgsnemu_LDFLAGS =

DEFS = @DEFS@
Expand Down

0 comments on commit 3544abf

Please sign in to comment.