Hello community, here is the log from the commit of package gnugk for openSUSE:Factory checked in at 2015-10-19 22:49:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnugk (Old) and /work/SRC/openSUSE:Factory/.gnugk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnugk" Changes: -------- --- /work/SRC/openSUSE:Factory/gnugk/gnugk.changes 2013-06-05 11:52:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnugk.new/gnugk.changes 2015-10-20 00:04:01.000000000 +0200 @@ -1,0 +2,46 @@ +Thu Sep 17 13:38:21 UTC 2015 - [email protected] + +- Update to version 3.8 + * BUGFIX(GkSTatus.cxx) fix crash in shutdown during Reload + * allow codec filtering for whole capability classes, eg. + DisableCodecs=receiveVideoCapability + * BUGFIX(lua.cxx) fix crash in 'lua' routing policy + * BUGFIX(RasTbl.cxx) fix [EP::] ForceGateway= to work with + permanent endpoints + * make [Gatekeeper::Main] Authenticators= switch case insensitive + * addpasswd encodes password, even if the config section didn't + exist before + * FileIPAuth now supports checking ARQs + * new switch [Gatekeeper::Main] MinH323Version= + * BUGFIX(RasTbl.cxx) stop generating predictable endpoint IDs + * new switch [RasSrv::ARQFeatures] CheckSenderIP=1 + * new SQLAuth variable %{SrcInfo} + * BUGFIX(gkauth.cxx,Neighbor.cxx) use OpenSSL for cryptographically + relevant random numbers + * BUGFIX(RasTbl.cxx) only apply [EP::] AddNumbers= if the endpoint + doesn't have the number already + * BUGFIX(RasTbl.cxx) fix error message for permanent gateways on + config reload + * BUGFIX(Routing.cxx) CatchAll policy now rewrites the destination + alias to the CatchAll alias + * new authentication modules using LUA scripts: LuaAuth + * BUGFIX(gkauth.cxx) ignore port in AliasAuth rules when endpoint + is using H.460.18 + * extend PrefixAuth to support unregistered calls +Please read the changes.txt file for previous changes +- Drop sysvinit support; doesn't build for old platforms +- Add gnugk-fix-h323plus-directory.patch +- Add dependencies following upstream changes + * openssl-devel + * pkgconfig(libsasl2) + * pkgconfig(expat) + * pkg-config +- Add autoconf and libtools dependencies; needed because of + gnugk-fix-h323plus-directory.patch +- Move from openh323-devel to h323plus-devel and pwlib-devel + to libpt-devel +- Increase dependencies weight; require systemd-rpm-macros instead + of pkgconfig(systemd) +- Use download Url as source + +------------------------------------------------------------------- Old: ---- gnugk-2.2.6.tar.bz2 rc.gnugk New: ---- gnugk-3.8.tar.gz gnugk-fix-h323plus-directory.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnugk.spec ++++++ --- /var/tmp/diff_new_pack.Lh77Q3/_old 2015-10-20 00:04:02.000000000 +0200 +++ /var/tmp/diff_new_pack.Lh77Q3/_new 2015-10-20 00:04:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gnugk # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,33 +18,37 @@ Name: gnugk BuildRequires: SDL-devel +BuildRequires: autoconf BuildRequires: automake +BuildRequires: libtool BuildRequires: gcc-c++ BuildRequires: krb5 BuildRequires: libdv -BuildRequires: openh323-devel +BuildRequires: h323plus-devel +#BuildRequires: h323plus-debugsource BuildRequires: openldap2-devel -BuildRequires: pwlib-devel +BuildRequires: openssl-devel +BuildRequires: libpt-devel BuildRequires: sgml-skel BuildRequires: sgmltool BuildRequires: speex-devel -BuildRequires: pkgconfig(systemd) +BuildRequires: systemd-rpm-macros +BuildRequires: pkg-config +BuildRequires: pkgconfig(libsasl2) +BuildRequires: pkgconfig(expat) %{?systemd_requires} Url: http://www.gnugk.org -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: openh323 -Requires: pwlib Provides: openh323gk Obsoletes: openh323gk -PreReq: %insserv_prereq %fillup_prereq grep diffutils +PreReq: grep diffutils Summary: OpenH323 Gatekeeper--The GNU Gatekeeper License: GPL-2.0+ Group: Productivity/Telephony/H323/Servers -Version: 2.2.6 +Version: 3.8 Release: 0 -Source0: gnugk-%{version}.tar.bz2 -Source1: rc.gnugk +Source0: http://prdownloads.sourceforge.net/openh323gk/%{name}-%{version}.tar.gz Source2: %{name}.service +Patch: gnugk-fix-h323plus-directory.patch %description The gatekeeper controls H.323 compatible clients (like ohphone) and can @@ -52,18 +56,20 @@ %prep %setup -q +%patch -p1 %build +#export OPENH323DIR=%{_datadir}/openh323/ +libtoolize --force autoconf --force aclocal -%{?suse_update_config:%{suse_update_config -f}} -export OPENH323VERSIONFILE=/usr/include/openh323/openh323buildopts.h %configure \ --disable-mysql \ - --disable-pgsql -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fexceptions" OPENH323DIR=/usr/share/openh323 PREFIX=/usr OH323_LIBDIR=%{_libdir} opt %{?_smp_mflags} -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" OPENH323DIR=/usr/share/openh323 PREFIX=/usr OH323_LIBDIR=%{_libdir} addpasswd %{?_smp_mflags} -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" OPENH323DIR=/usr/share/openh323 PREFIX=/usr OH323_LIBDIR=%{_libdir} doc %{?_smp_mflags} + --disable-pgsql \ + OPENH323DIR=%{_prefix} +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fexceptions" opt %{?_smp_mflags} +#make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" addpasswd %{?_smp_mflags} +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" doc %{?_smp_mflags} %install export M=`uname -m` @@ -74,19 +80,16 @@ armv7l) M=armv7hl ;; esac -mkdir -p $RPM_BUILD_ROOT/usr/sbin -mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m 755 obj_linux_"$M"_r/gnugk $RPM_BUILD_ROOT%{_sbindir} -install -m 755 obj_linux_"$M"_r/addpasswd $RPM_BUILD_ROOT%{_sbindir}/gkaddpasswd -install -m 644 etc/complete.ini $RPM_BUILD_ROOT/etc/gnugk.ini -install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/gnugk +mkdir -p %{buildroot}%{_sbindir} +mkdir -p %{buildroot}/var/log/gk +mkdir -p %{buildroot}/etc/logrotate.d +install -m 755 obj_linux_"$M"/gnugk %{buildroot}%{_sbindir} +#install -m 755 obj_linux_"$M"/addpasswd %{buildroot}%{_sbindir}/gkaddpasswd +install -m 644 etc/complete.ini %{buildroot}/etc/gnugk.ini mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 -install -m 644 docs/gnugk.1 $RPM_BUILD_ROOT/%{_mandir}/man1/gnugk.1 -ln -s ../../etc/init.d/gnugk $RPM_BUILD_ROOT/usr/sbin/rcgnugk +install -m 644 docs/gnugk.1 %{buildroot}/%{_mandir}/man1/gnugk.1 # Create symbolic run level links during installation -mkdir -p $RPM_BUILD_ROOT/var/log/gk -mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d -cat << EOF > $RPM_BUILD_ROOT/etc/logrotate.d/gnugk +cat << EOF > %{buildroot}/etc/logrotate.d/gnugk /var/log/gk/gk.log { rotate 30 size=100M @@ -98,33 +101,30 @@ } EOF install -D -m 0644 %{S:2} %{buildroot}%{_unitdir}/%{name}.service +ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name} + +rm -f CMakeLists.txt %pre %service_add_pre %{name}.service %post -%{fillup_and_insserv gnugk } %service_add_post %{name}.service %preun -%{stop_on_removal gnugk } %service_del_preun %{name}.service %postun -%{restart_on_update gnugk } -%{insserv_cleanup} %service_del_postun %{name}.service %files %defattr(-,root,root) %doc *.txt -%doc /usr/share/man/man1/gnugk.1.gz +%{_mandir}/man1/gnugk.1.gz %doc docs/manual/*.html %doc etc/* -%config /etc/init.d/gnugk %config /etc/gnugk.ini %{_sbindir}/gnugk -%{_sbindir}/gkaddpasswd %{_sbindir}/rcgnugk /etc/logrotate.d/gnugk /var/log/gk ++++++ gnugk-fix-h323plus-directory.patch ++++++ --- a/configure 2014-07-28 15:42:35.000000000 +0200 +++ b/configure 2015-04-19 19:08:24.109746582 +0200 @@ -2437,8 +2437,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if MSG_NOSIGNAL is supported by recv() call" >&5 -$as_echo_n "checking if MSG_NOSIGNAL is supported by recv() call... " >&6; } ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3000,11 +2998,11 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test "$HAS_MSG_NOSIGNAL" = 0 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: MSG_NOSIGNAL not supported by recv() call" >&5 +$as_echo "MSG_NOSIGNAL not supported by recv() call" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: MSG_NOSIGNAL supported by recv() call" >&5 +$as_echo "MSG_NOSIGNAL supported by recv() call" >&6; } STDCCFLAGS="-DHAS_MSG_NOSIGNAL=1 $STDCCFLAGS" fi @@ -3242,7 +3240,7 @@ ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_dummy="/usr/local/share/ptlib/make:/usr/local/bin" +as_dummy="/usr/local/share/ptlib/make:/usr/local/bin:/usr/bin" for as_dir in $as_dummy do IFS=$as_save_IFS @@ -3623,9 +3621,10 @@ if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then OPENH323_VERSION_FILE=${OPENH323DIR}/version.h - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MAJOR_VERSION | cut -f3 -d' '` - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MINOR_VERSION | cut -f3 -d' '` - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep BUILD_NUMBER | cut -f3 -d' '` + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MAJOR_VERSION | cut -f3 -d' '` + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MINOR_VERSION | cut -f3 -d' '` + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep BUILD_NUMBER | cut -f3 -d' '` + BUILDOPTS="${OPENH323DIR}/include/openh323buildopts.h" else as_ac_File=`$as_echo "ac_cv_file_${OPENH323MAKEDIR}/openh323buildopts.h" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${OPENH323MAKEDIR}/openh323buildopts.h" >&5 @@ -3650,9 +3649,10 @@ if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then OPENH323_VERSION_FILE=${OPENH323MAKEDIR}/openh323buildopts.h - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MAJOR | cut -f3 -d' '` - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MINOR | cut -f3 -d' '` - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_BUILD | cut -f3 -d' '` + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MAJOR" | cut -f3 -d' '` + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MINOR" | cut -f3 -d' '` + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_BUILD " | cut -f3 -d' '` + BUILDOPTS="${OPENH323MAKEDIR}/openh323buildopts.h" else as_ac_File=`$as_echo "ac_cv_file_${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h" >&5 @@ -3677,9 +3677,10 @@ if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then OPENH323_VERSION_FILE=${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MAJOR | cut -f2 -d' '` - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MINOR | cut -f2 -d' '` - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "OPENH323_BUILD " | cut -f2 -d' '` + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MAJOR" | cut -f3 -d' '` + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MINOR" | cut -f3 -d' '` + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_BUILD " | cut -f3 -d' '` + BUILDOPTS="${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h" fi fi fi @@ -3733,7 +3734,7 @@ fi -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat ${BUILDOPTS} | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46017}" != "xno" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: No H.460 support available" >&5 @@ -3765,7 +3766,7 @@ fi -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat ${BUILDOPTS} | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46018}" != "xno" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: No H.460 support available" >&5 @@ -3797,7 +3798,7 @@ fi -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat ${BUILDOPTS} | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46023}" != "xno" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: No H.460 support available" >&5 --- a/configure.in 2014-07-28 15:42:35.000000000 +0200 +++ b/configure.in 2015-04-19 19:08:31.427452422 +0200 @@ -4,16 +4,15 @@ dnl ######################################################################## dnl Check if recv call supports MSG_NOSIGNAL flag -AC_MSG_CHECKING(if MSG_NOSIGNAL is supported by recv() call) AC_TRY_COMPILE([ #include <sys/types.h> #include <sys/socket.h> ], [recv(0,NULL,1,MSG_NOSIGNAL);], HAS_MSG_NOSIGNAL=1, HAS_MSG_NOSIGNAL=0) if test "$HAS_MSG_NOSIGNAL" = 0 ; then - AC_MSG_RESULT(no) + AC_MSG_RESULT(MSG_NOSIGNAL not supported by recv() call) else - AC_MSG_RESULT(yes) + AC_MSG_RESULT(MSG_NOSIGNAL supported by recv() call) STDCCFLAGS="-DHAS_MSG_NOSIGNAL=1 $STDCCFLAGS" fi @@ -48,7 +47,7 @@ AC_CHECK_FILE(/usr/local/include/ptlib.h, HAS_PTLIB=1) fi if test "${HAS_PTLIB:-unset}" != "unset" ; then - AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/local/share/ptlib/make:/usr/local/bin) + AC_PATH_PROG(PTLIB_CONFIG, ptlib-config, , /usr/local/share/ptlib/make:/usr/local/bin:/usr/bin) else if test -d /usr/include; then AC_CHECK_FILE(/usr/include/ptlib.h, HAS_PTLIB=1) @@ -196,23 +195,26 @@ AC_CHECK_FILE(${OPENH323DIR}/version.h, HAS_OPENH323_VERSIONFILE=1) if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then OPENH323_VERSION_FILE=${OPENH323DIR}/version.h - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MAJOR_VERSION | cut -f3 -d' '` - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MINOR_VERSION | cut -f3 -d' '` - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep BUILD_NUMBER | cut -f3 -d' '` + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MAJOR_VERSION | cut -f3 -d' '` + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep MINOR_VERSION | cut -f3 -d' '` + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep BUILD_NUMBER | cut -f3 -d' '` + BUILDOPTS="${OPENH323DIR}/include/openh323buildopts.h" else AC_CHECK_FILE(${OPENH323MAKEDIR}/openh323buildopts.h, HAS_OPENH323_VERSIONFILE=1) if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then OPENH323_VERSION_FILE=${OPENH323MAKEDIR}/openh323buildopts.h - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MAJOR | cut -f3 -d' '` - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MINOR | cut -f3 -d' '` - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_BUILD | cut -f3 -d' '` + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MAJOR" | cut -f3 -d' '` + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MINOR" | cut -f3 -d' '` + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_BUILD " | cut -f3 -d' '` + BUILDOPTS="${OPENH323MAKEDIR}/openh323buildopts.h" else AC_CHECK_FILE(${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h, HAS_OPENH323_VERSIONFILE=1) if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then OPENH323_VERSION_FILE=${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MAJOR | cut -f2 -d' '` - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MINOR | cut -f2 -d' '` - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "OPENH323_BUILD " | cut -f2 -d' '` + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MAJOR" | cut -f3 -d' '` + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_MINOR" | cut -f3 -d' '` + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "#define OPENH323_BUILD " | cut -f3 -d' '` + BUILDOPTS="${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h" fi fi fi @@ -269,7 +271,7 @@ [ h46017="${enableval}" ], [h46017="yes"] ) -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat ${BUILDOPTS} | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46017}" != "xno" ; then AC_MSG_RESULT(No H.460 support available) @@ -301,7 +303,7 @@ [ h46018="${enableval}" ], [h46018="no"] ) -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat ${BUILDOPTS} | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46018}" != "xno" ; then AC_MSG_RESULT(No H.460 support available) @@ -332,7 +334,7 @@ [ h46023="${enableval}" ], [h46023="yes"] ) -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'` +H460SUPPORT=`cat ${BUILDOPTS} | grep 'define H323_H460'` if test "${H460SUPPORT:-unset}" = "unset" ; then if test "x${h46023}" != "xno" ; then AC_MSG_RESULT(No H.460 support available)
