Author: glen Date: Sat Feb 9 13:49:18 2008 GMT Module: SPECS Tag: AC-branch ---- Log message: - strip (binutils-2.15.94.0.2.2-3) fails (memory fault, segfault) on libnetsnmpagent.a which contains DynaLoader.a, convert it to .o
---- Files affected: SPECS: net-snmp.spec (1.104.2.5 -> 1.104.2.6) ---- Diffs: ================================================================ Index: SPECS/net-snmp.spec diff -u SPECS/net-snmp.spec:1.104.2.5 SPECS/net-snmp.spec:1.104.2.6 --- SPECS/net-snmp.spec:1.104.2.5 Sat Feb 9 14:08:31 2008 +++ SPECS/net-snmp.spec Sat Feb 9 14:49:13 2008 @@ -29,7 +29,7 @@ Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis Name: net-snmp Version: 5.4.1 -Release: 5 +Release: 6 License: BSD-like Group: Networking/Daemons Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz @@ -512,6 +512,19 @@ rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist +# hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument +for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do + rm -f *.o *.a + ar x $a DynaLoader.a + if [ -f DynaLoader.a ]; then + ar x DynaLoader.a + ar cr $a DynaLoader.o + ar d $a DynaLoader.a + # remove second file too + ar d $a DynaLoader.a + fi +done + %clean rm -rf $RPM_BUILD_ROOT @@ -728,6 +741,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.104.2.6 2008-02-09 13:49:13 glen +- strip (binutils-2.15.94.0.2.2-3) fails (memory fault, segfault) on libnetsnmpagent.a which contains DynaLoader.a, convert it to .o + Revision 1.104.2.5 2008-02-09 13:08:31 glen - static_libs bcond, drop filterout_fld ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.104.2.5&r2=1.104.2.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
