Hello community, here is the log from the commit of package amanda checked in at Tue Jan 23 01:12:51 CET 2007. -------- --- amanda/amanda.changes 2006-10-19 18:52:47.000000000 +0200 +++ /mounts/work_src_done/STABLE/amanda/amanda.changes 2007-01-22 14:55:22.000000000 +0100 @@ -1,0 +2,20 @@ +Mon Jan 22 14:49:56 CET 2007 - lmichnovic@suse.cz + +- added libxslt into BuildRequires +- fixed possible overflow (overflow.patch) + +------------------------------------------------------------------- +Mon Jan 22 13:29:43 CET 2007 - lmichnovic@suse.cz + +- updated to 2.5.1p2 + * Many bugs fixed + * amoverview is working + * dumptype starttime is working + Amanda command changes + - amtape accept the -o arguments + - amgetconf --list to list all tapetype, dumptype, holdingdisk + or interface + - amgetconf can return a value of a specific tapetype, dumptype, + holdingdisk or interface + +------------------------------------------------------------------- Old: ---- amanda-2.5.1.1.diff amanda-2.5.1.1-mtx.diff amanda-2.5.1.1-pie.diff amanda-2.5.1p1.tar.bz2 amanda-2.5.1-pie.diff.old New: ---- amanda-2.5.1.2-overflow.patch amanda-2.5.1.2-pie.patch amanda-2.5.1p2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ amanda.spec ++++++ --- /var/tmp/diff_new_pack.L12123/_old 2007-01-23 01:05:35.000000000 +0100 +++ /var/tmp/diff_new_pack.L12123/_new 2007-01-23 01:05:35.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package amanda (Version 2.5.1.1) +# spec file for package amanda (Version 2.5.1.2) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,9 +10,9 @@ Name: amanda -BuildRequires: cups-libs dump gawk gnuplot krb5-devel libsmbclient libsmbclient-devel lprng mailx mtx popt-devel readline-devel samba-client sendmail -%define package_version 2.5.1p1 -Version: 2.5.1.1 +BuildRequires: cups-libs dump gawk gnuplot krb5-devel libsmbclient libsmbclient-devel libxslt lprng mailx mtx popt-devel readline-devel samba-client sendmail +%define package_version 2.5.1p2 +Version: 2.5.1.2 Release: 1 Prereq: /usr/sbin/useradd permissions Requires: glibc-devel @@ -20,15 +20,14 @@ Requires: dump /usr/bin/smbclient Autoreqprov: on Group: Productivity/Archiving/Backup -License: Other License(s), see package, Other uncritical OpenSource License +License: Other uncritical OpenSource License URL: http://www.amanda.org/ Summary: Network Disk Archiver Source: %{name}-%{package_version}.tar.bz2 Source1: %{name}-SuSE.tar.bz2 Source2: AMANDA-HOWTO-Collection.pdf.tar.bz2 -Patch: %{name}-%{version}.diff -Patch1: %{name}-%{version}-mtx.diff -Patch2: %{name}-%{version}-pie.diff +Patch1: %{name}-%{version}-overflow.patch +Patch2: %{name}-%{version}-pie.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -55,8 +54,7 @@ %prep %setup -q -a 1 -n %{name}-%{package_version} %setup -q -T -D -a 2 -n %{name}-%{package_version} -#%patch -#%patch1 +%patch1 %patch2 %build @@ -235,13 +233,27 @@ %{_libdir}/lib* %changelog -n amanda +* Mon Jan 22 2007 - lmichnovic@suse.cz +- added libxslt into BuildRequires +- fixed possible overflow (overflow.patch) +* Mon Jan 22 2007 - lmichnovic@suse.cz +- updated to 2.5.1p2 + * Many bugs fixed + * amoverview is working + * dumptype starttime is working + Amanda command changes + - amtape accept the -o arguments + - amgetconf --list to list all tapetype, dumptype, holdingdisk + or interface + - amgetconf can return a value of a specific tapetype, dumptype, + holdingdisk or interface * Thu Oct 19 2006 - lmichnovic@suse.cz - changed version to 2.5.1.1 - compiling with fPIC - fixes failing build on some archs * Tue Oct 03 2006 - pnemec@suse.cz - updated to 2.5.1p1 which not contain license problem affected files #196765 -- many bugfixes see NEWS + - many bugfixes see NEWS - minor cleaning in specfile * Mon Aug 28 2006 - pnemec@suse.cz - removed examples with license problems ++++++ amanda-2.5.1.2-overflow.patch ++++++ --- common-src/util.c +++ common-src/util.c @@ -1896,7 +1896,7 @@ strncpy(buffer_conf_print, "FILE ", SIZEOF(buffer_conf_print)); pos = 5; if(val->v.exinclude.optional == 1) - strncpy(&buffer_conf_print[pos], "OPTIONAL ", SIZEOF(buffer_conf_print)); + strncpy(&buffer_conf_print[pos], "OPTIONAL ", SIZEOF(buffer_conf_print) - 5); pos += 9; break; ++++++ amanda-2.5.1.2-pie.patch ++++++ Index: client-src/Makefile.am =================================================================== --- client-src/Makefile.am.orig +++ client-src/Makefile.am @@ -12,6 +12,17 @@ LIB_EXTENSION = la libexec_PROGRAMS = noop calcsize killpgrp rundump runtar selfcheck sendbackup sendsize versionsuffix +calcsize_CFLAGS = -fPIE $(AM_CFLAGS) +calcsize_LDFLAGS = -pie $(AM_LDFLAGS) +killpgrp_CFLAGS = -fPIE $(AM_CFLAGS) +killpgrp_LDFLAGS = -pie $(AM_LDFLAGS) +rundump_CFLAGS = -fPIE $(AM_CFLAGS) +rundump_LDFLAGS = -pie $(AM_LDFLAGS) +runtar_CFLAGS = -fPIE $(AM_CFLAGS) +runtar_LDFLAGS = -pie $(AM_LDFLAGS) +amandad_CFLAGS = -fPIE $(AM_CFLAGS) +amandad_LDFLAGS = -pie $(AM_LDFLAGS) + sbin_SCRIPTS = @CLIENT_SCRIPTS_OPT@ libexec_SCRIPTS = patch-system @@ -28,6 +39,7 @@ libamclient_la_SOURCES= amandates.c get unctime.c client_util.c \ clientconf.c $(samba_sources) +libamclient_la_CFLAGS = -fPIC $(AM_CFLAGS) libamclient_la_LDFLAGS = -release $(VERSION) ### Index: common-src/Makefile.am =================================================================== --- common-src/Makefile.am.orig +++ common-src/Makefile.am @@ -95,10 +95,10 @@ version.c: genversion$(EXEEXT) ./genversion > version.c match.@OBJEXT@ match.lo: regex.h -regcomp.@OBJEXT@ regcomp.lo: regex.h regcomp.ih -regexec.@OBJEXT@ regexec.lo: regex.h engine.ih -regerror.@OBJEXT@ regerror.lo: regex.h regerror.ih -regfree.@OBJEXT@ regfree.lo: regex.h +libamanda_la-regcomp.lo regcomp.@OBJEXT@ regcomp.lo: regex.h regcomp.ih +libamanda_la-regexec.lo regexec.@OBJEXT@ regexec.lo: regex.h engine.ih +libamanda_la-regerror.lo regerror.@OBJEXT@ regerror.lo: regex.h regerror.ih +libamanda_la-regfree.lo regfree.@OBJEXT@ regfree.lo: regex.h REGEXCSRC = $(REGsrcdir)/regcomp.c \ $(REGsrcdir)/regexec.c \ Index: configure.in =================================================================== --- configure.in.orig +++ configure.in @@ -89,6 +89,53 @@ AC_OBJEXT AC_EXEEXT AC_SYS_LARGEFILE +AC_MSG_CHECKING([for Position Independent Executable support]) +save_CFLAGS="$CFLAGS" +save_LDFLAGS="$LDFLAGS" +CFLAGS="$CFLAGS -fpie" +LDFLAGS="$LDFLAGS -pie" +AC_TRY_RUN( + [ +int foo () __attribute__((visibility ("hidden"))); +int foo () { return 0; } +int main () { return foo (); } + ], + [ + ac_cv_pie_support=yes + ], + [ + ac_cv_pie_support=no + ], + [ + ac_cv_pie_support=no + ] +) +CFLAGS="$save_CFLAGS" +LDFLAGS="$save_LDFLAGS" +AC_MSG_RESULT($ac_cv_pie_support) +if test $ac_cv_pie_support = no; then + AC_DEFINE(hidden,, + [Define as `__attribute__((visibility ("hidden")))' if the C compiler supports it, + or to nothing if it is not supported.]) + PIE_LDFLAGS= + PIE_SED_CMD= + COMPILE_PIE= + EXIT0_IF_NO_PIE='exit 0' +else + AC_DEFINE_UNQUOTED(hidden, __attribute__((visibility ("hidden")))) + PIE_LDFLAGS="-pie -L.pie/ -Lopenbsd-compat/.pie/" +changequote(<<, >>)dnl + PIE_SED_CMD='s_[ ]\([^ ]\)_ .pie/\1_g' +changequote([, ])dnl + COMPILE_PIE=' && mkdir -p .pie && $(COMPILE) -c -fpie -o .pie/$@ \`test -f '"'"'$<'"'"' || echo '"'"'$(srcdir)/'"'"'\`$<' + EXIT0_IF_NO_PIE=: +fi +AC_SUBST(PIE_LDFLAGS) +AC_SUBST(PIE_SED_CMD) +AC_SUBST(COMPILE_PIE) +AC_SUBST(EXIT0_IF_NO_PIE) + + dnl dnl Process tool locations for tools we need right away to configure. dnl Index: server-src/Makefile.am =================================================================== --- server-src/Makefile.am.orig +++ server-src/Makefile.am @@ -12,6 +12,19 @@ LINTFLAGS=@AMLINTFLAGS@ lib_LTLIBRARIES = libamserver.la LIB_EXTENSION = la +amcheck_CFLAGS = -fPIE $(AM_CFLAGS) +amcheck_LDFLAGS = -pie $(AM_LDFLAGS) +amindexd_CFLAGS = -fPIE $(AM_CFLAGS) +amindexd_LDFLAGS = -pie $(AM_LDFLAGS) +dumper_CFLAGS = -fPIE $(AM_CFLAGS) +dumper_LDFLAGS = -pie $(AM_LDFLAGS) +planner_CFLAGS = -fPIE $(AM_CFLAGS) +planner_LDFLAGS = -pie $(AM_LDFLAGS) +libamserver_la_CFLAGS = -fPIC $(AM_CFLAGS) +amdd_CFLAGS = -fPIE $(AM_CFLAGS) +amdd_LDFLAGS = -pie $(AM_LDFLAGS) +libamtape_la_CFLAGS = -fPIC $(AM_CFLAGS) + sbin_PROGRAMS = amadmin amcheck amflush \ amgetconf amlabel amtape \ amreport Index: tape-src/Makefile.am =================================================================== --- tape-src/Makefile.am.orig +++ tape-src/Makefile.am @@ -16,8 +16,15 @@ libamtape_la_SOURCES = output-file.c \ output-rait.c \ output-tape.c \ tapeio.c - -libamtape_la_LDFLAGS = -release $(VERSION) +libamtape_la_CFLAGS = -fPIE $(AM_CFLAGS) +amdd_CFLAGS = -fPIE $(AM_CFLAGS) +ammt_CFLAGS = -fPIE $(AM_CFLAGS) +amtapetype_CFLAGS = -fPIE $(AM_CFLAGS) + +libamtape_la_LDFLAGS = -pie $(AM_LDFLAGS) -release $(VERSION) +amdd_LDFLAGS = -pie $(AM_LDFLAGS) +ammt_LDFLAGS = -pie $(AM_LDFLAGS) +amtapetype_LDFLAGS = -pie $(AM_LDFLAGS) ### # Because libamanda includes routines (e.g. regex) provided by some system ++++++ amanda-2.5.1p1.tar.bz2 -> amanda-2.5.1p2.tar.bz2 ++++++ ++++ 4083 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de