From 44a68b5e79b21b39885c34d4d56ed38447a1f219 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Mon, 17 Oct 2005 04:36:09 +0000 Subject: [PATCH] Adding license to misc files, changing comment format in configure.ac. --- mbuni/COPYING | 0 mbuni/GnuLICENSE | 4 +-- mbuni/LICENSE | 2 +- mbuni/NEWS | 0 mbuni/configure | 68 ++++++++++++++++----------------------- mbuni/configure.ac | 28 ++++++++-------- mbuni/doc/userguide.shtml | 4 +-- mbuni/mmlib/mms_mm7soap.c | 13 ++++++++ mbuni/mmlib/mms_mm7soap.h | 12 +++++++ 9 files changed, 72 insertions(+), 59 deletions(-) delete mode 100644 mbuni/COPYING delete mode 100644 mbuni/NEWS diff --git a/mbuni/COPYING b/mbuni/COPYING deleted file mode 100644 index e69de29..0000000 diff --git a/mbuni/GnuLICENSE b/mbuni/GnuLICENSE index a52b16e..7a40eb7 100644 --- a/mbuni/GnuLICENSE +++ b/mbuni/GnuLICENSE @@ -3,7 +3,7 @@ Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -306,7 +306,7 @@ the "copyright" line and a pointer to where the full notice is found. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. diff --git a/mbuni/LICENSE b/mbuni/LICENSE index e63ae1e..9ef7825 100644 --- a/mbuni/LICENSE +++ b/mbuni/LICENSE @@ -17,7 +17,7 @@ All rights reserved. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA In addition, as a special exception, Digital Solutions gives permission to link the code of this program with the Kannel diff --git a/mbuni/NEWS b/mbuni/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/mbuni/configure b/mbuni/configure index 51eef13..bb480a5 100755 --- a/mbuni/configure +++ b/mbuni/configure @@ -1960,7 +1960,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' ac_config_headers="$ac_config_headers config.h" -# Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3770,7 +3769,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 3773 "configure"' > conftest.$ac_ext + echo '#line 3772 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5342,7 +5341,7 @@ fi # Provide some information about the compiler. -echo "$as_me:5345:" \ +echo "$as_me:5344:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -6369,11 +6368,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6372: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6371: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6376: \$? = $ac_status" >&5 + echo "$as_me:6375: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -6601,11 +6600,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6604: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6603: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6608: \$? = $ac_status" >&5 + echo "$as_me:6607: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -6668,11 +6667,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6671: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6670: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6675: \$? = $ac_status" >&5 + echo "$as_me:6674: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8786,7 +8785,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:11038: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11043: \$? = $ac_status" >&5 + echo "$as_me:11042: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -11103,11 +11102,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11106: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11105: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11110: \$? = $ac_status" >&5 + echo "$as_me:11109: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12432,7 +12431,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:13354: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13359: \$? = $ac_status" >&5 + echo "$as_me:13358: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -13419,11 +13418,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13422: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13421: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13426: \$? = $ac_status" >&5 + echo "$as_me:13425: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -15381,11 +15380,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15384: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15383: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15388: \$? = $ac_status" >&5 + echo "$as_me:15387: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -15613,11 +15612,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15616: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15615: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15620: \$? = $ac_status" >&5 + echo "$as_me:15619: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -15680,11 +15679,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15683: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15682: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15687: \$? = $ac_status" >&5 + echo "$as_me:15686: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17798,7 +17797,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 @@ -18978,7 +18976,6 @@ _ACEOF fi -#AC_CHECK_LIB([iconv], [libiconv], [LIBS="$LIBS -liconv"]) echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 @@ -19053,10 +19050,7 @@ _ACEOF fi -#AC_CHECK_LIB([xml2], [xmlStrcasecmp], [], -# AC_MSG_ERROR([LibXML2 is required])) -# Checks for header files. @@ -19780,7 +19774,6 @@ fi done -# 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 if test "${ac_cv_c_const+set}" = set; then @@ -20015,7 +20008,6 @@ _ACEOF fi -# Checks for library functions. echo "$as_me:$LINENO: checking whether closedir returns void" >&5 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6 if test "${ac_cv_func_closedir_void+set}" = set; then @@ -20778,7 +20770,6 @@ fi done -# Change a few things (a la kannel config) EXE_EXT="" case "$host" in *-sun-solaris*) @@ -20884,7 +20875,6 @@ if test "${with_libs+set}" = set; then LIBS="$LIBS $withval" fi; -# implement SSL stuff. @@ -21441,7 +21431,6 @@ fi fi -# Need to check for kannel and also that kannel has been patched. # Check whether --with-kannel-dir or --without-kannel-dir was given. @@ -21722,7 +21711,6 @@ fi CFLAGS="-I$srcdir/../mmlib $CFLAGS" LIBS="-L$srcdir/../mmlib -lmms $LIBS" -# May be we need to check for media conversion tools (imagemagick, etc)? ac_config_files="$ac_config_files Makefile mmlib/Makefile mmsc/Makefile mmsbox/Makefile" diff --git a/mbuni/configure.ac b/mbuni/configure.ac index bcaef52..ff2b670 100644 --- a/mbuni/configure.ac +++ b/mbuni/configure.ac @@ -1,5 +1,5 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. +dnl -*- Autoconf -*- +dnl Process this file with autoconf to produce a configure script. dnl Mbuni - Open Source MMS Gateway dnl dnl conf file. @@ -18,30 +18,30 @@ AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([mmlib/mms_util.c]) AC_CONFIG_HEADER([config.h]) -# Checks for programs. +dnl Checks for programs. AC_PROG_CC AC_PROG_RANLIB AC_PROG_LIBTOOL -# Checks for libraries. +dnl Checks for libraries. AC_CHECK_LIB([dl], [dlsym]) -#AC_CHECK_LIB([iconv], [libiconv], [LIBS="$LIBS -liconv"]) +dnl AC_CHECK_LIB([iconv], [libiconv], [LIBS="$LIBS -liconv"]) AC_CHECK_LIB([pthread], [pthread_create]) -#AC_CHECK_LIB([xml2], [xmlStrcasecmp], [], -# AC_MSG_ERROR([LibXML2 is required])) +dnl AC_CHECK_LIB([xml2], [xmlStrcasecmp], [], +dnl AC_MSG_ERROR([LibXML2 is required])) -# Checks for header files. +dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([float.h memory.h stdlib.h string.h sys/file.h unistd.h]) -# Checks for typedefs, structures, and compiler characteristics. +dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_STRUCT_TM AC_C_VOLATILE -# Checks for library functions. +dnl Checks for library functions. AC_FUNC_CLOSEDIR_VOID AC_FUNC_ERROR_AT_LINE AC_FUNC_MALLOC @@ -50,7 +50,7 @@ AC_TYPE_SIGNAL AC_FUNC_STAT AC_CHECK_FUNCS([floor localtime_r memset sqrt strerror strrchr strtol]) -# Change a few things (a la kannel config) +dnl Change a few things (a la kannel config) EXE_EXT="" case "$host" in *-sun-solaris*) @@ -83,7 +83,7 @@ AC_ARG_WITH(libs, [ --with-libs=FLAGS use FLAGS for extra libraries], LIBS="$LIBS $withval") -# implement SSL stuff. +dnl implement SSL stuff. dnl Implement the --with-ssl option. @@ -187,7 +187,7 @@ if test "x$ssllib" != "x" && test "x$sslinc" != "x"; then ]) fi -# Need to check for kannel and also that kannel has been patched. +dnl Need to check for kannel and also that kannel has been patched. dnl Implement the --with-kannel-dir option AC_ARG_WITH(kannel-dir, @@ -245,7 +245,7 @@ AC_CHECK_LIB([wap], [wsp_headers_pack], [], AC_MSG_ERROR([Kannel WAP lib is requ CFLAGS="-I$srcdir/../mmlib $CFLAGS" LIBS="-L$srcdir/../mmlib -lmms $LIBS" -# May be we need to check for media conversion tools (imagemagick, etc)? +dnl May be we need to check for media conversion tools (imagemagick, etc)? AC_CONFIG_FILES([Makefile mmlib/Makefile mmsc/Makefile mmsbox/Makefile]) diff --git a/mbuni/doc/userguide.shtml b/mbuni/doc/userguide.shtml index 07402bc..8e5cd0f 100644 --- a/mbuni/doc/userguide.shtml +++ b/mbuni/doc/userguide.shtml @@ -2,7 +2,7 @@ - + Mbuni: Open Source MMS Gateway - User documentation @@ -29,7 +29,7 @@ marginwidth="0" marginheight="0">

Mbuni: Open Source MMS Gateway

- +

User Guide

diff --git a/mbuni/mmlib/mms_mm7soap.c b/mbuni/mmlib/mms_mm7soap.c index dcffb28..f70a30f 100644 --- a/mbuni/mmlib/mms_mm7soap.c +++ b/mbuni/mmlib/mms_mm7soap.c @@ -1,3 +1,16 @@ +/* + * Mbuni - Open Source MMS Gateway + * + * MM7/SOAP message encoder/decoder and helper functions + * + * Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com + * + * Paul Bagyenda + * + * This program is free software, distributed under the terms of + * the GNU General Public License, with a few exceptions granted (see LICENSE) + */ + #include "mms_mm7soap.h" /* function to traverse SOAP env:Body extracting useful headers. */ diff --git a/mbuni/mmlib/mms_mm7soap.h b/mbuni/mmlib/mms_mm7soap.h index 602a476..e17f0a5 100644 --- a/mbuni/mmlib/mms_mm7soap.h +++ b/mbuni/mmlib/mms_mm7soap.h @@ -1,3 +1,15 @@ +/* + * Mbuni - Open Source MMS Gateway + * + * MM7/SOAP message encoder/decoder and helper functions + * + * Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com + * + * Paul Bagyenda + * + * This program is free software, distributed under the terms of + * the GNU General Public License, with a few exceptions granted (see LICENSE) + */ #ifndef __MMS_MM7SOAP_INCLUDED__ #define __MMS_MM7SOAP_INCLUDED__ #include "mms_util.h"