Hello community, here is the log from the commit of package libcryptopp for openSUSE:Factory checked in at 2013-03-19 12:19:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcryptopp (Old) and /work/SRC/openSUSE:Factory/.libcryptopp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcryptopp", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libcryptopp/libcryptopp.changes 2012-10-16 11:58:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcryptopp.new/libcryptopp.changes 2013-03-19 12:19:56.000000000 +0100 @@ -1,0 +2,18 @@ +Fri Mar 1 17:02:43 UTC 2013 - [email protected] + +- update to 5.6.2 + - changed license to Boost Software License 1.0 + - added SHA-3 (Keccak) + - updated DSA to FIPS 186-3 (see DSA2 class) + - fixed Blowfish minimum keylength to be 4 bytes (32 bits) + - fixed Salsa validation failure when compiling with GCC 4.6 + - fixed infinite recursion when on x64, assembly disabled, and + no AESNI + - ported to MSVC 2012, GCC 4.7, Clang 3.2, Solaris Studio 12.3, + Intel C++ Compiler 13.0 +- removed libcryptopp-gcc47.patch - fixed upstream +- rebased libcryptopp-shared.patch +- added devel-static subpackage +- updated license tag + +------------------------------------------------------------------- Old: ---- cryptopp561.tar.bz2 libcryptopp-gcc47.patch New: ---- cryptopp562.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcryptopp.spec ++++++ --- /var/tmp/diff_new_pack.AU0QgV/_old 2013-03-19 12:19:58.000000000 +0100 +++ /var/tmp/diff_new_pack.AU0QgV/_new 2013-03-19 12:19:58.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libcryptopp # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -16,27 +16,29 @@ # +%define major 5 +%define minor 6 +%define patch 2 + Name: libcryptopp # When updating, remember to update cryptopp.pc and baselibs.conf as well. -Version: 5.6.1 +Version: %{major}.%{minor}.%{patch} Release: 0 -%define pkg_version 561 +%define pkg_version %{major}%{minor}%{patch} # There is no upstream interface version information. # Therefore we need unique basenames: -%define soname -5_6_1-0 +%define soname -%{major}_%{minor}_%{patch}-0 Summary: Crypto++ Library -License: SUSE-Public-Domain +License: BSL-1.0 Group: Development/Libraries/C and C++ Url: http://www.cryptopp.com -# http://www.cryptopp.com/cryptopp%%{pkg_version}.zip -Source: cryptopp%{pkg_version}.tar.bz2 +Source: http://www.cryptopp.com/cryptopp%{pkg_version}.zip Source2: cryptopp.pc # PATCH-FEATURE-OPENSUSE libcryptopp-shared.patch -- improve shared library creation Patch1: libcryptopp-shared.patch -# PATCH-FIX-UPSTREAM libcryptopp-gcc47.patch -- fixed in upstream svn -Patch2: libcryptopp-gcc47.patch BuildRequires: gcc-c++ BuildRequires: pkg-config +BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -57,10 +59,17 @@ %description -n %{name}-devel Crypto++ Library is a free C++ class library of cryptographic schemes. +%package -n %{name}-devel-static +Summary: Cryptographic Library for C++ +Group: Development/Libraries/C and C++ +Requires: %{name}-devel = %{version} + +%description -n %{name}-devel-static +Crypto++ Library is a free C++ class library of cryptographic schemes. + %prep %setup -q -c "%{name}-%{version}" -%patch1 -%patch2 -p1 +%patch1 -p1 %build make %{?_smp_mflags} \ @@ -71,14 +80,13 @@ CXX="g++" \ LIBSUFFIX="-%{version}" \ LDFLAGS="-pthread" \ - all + all static %install make \ DESTDIR=%{buildroot} \ PREFIX="%{_prefix}" \ LIB="%{_lib}" \ - CXX="g++" \ LIBSUFFIX="-%{version}" \ install rm -rf "%{buildroot}%{_bindir}" @@ -89,7 +97,6 @@ make test %post -n %{name}%{soname} -p /sbin/ldconfig - %postun -n %{name}%{soname} -p /sbin/ldconfig %files -n %{name}%{soname} @@ -103,4 +110,8 @@ %{_libdir}/libcryptopp.so %{_libdir}/pkgconfig/cryptopp.pc +%files -n %{name}-devel-static +%defattr(-,root,root) +%{_libdir}/libcryptopp.a + %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.AU0QgV/_old 2013-03-19 12:19:58.000000000 +0100 +++ /var/tmp/diff_new_pack.AU0QgV/_new 2013-03-19 12:19:58.000000000 +0100 @@ -1,2 +1,3 @@ -libcryptopp-5_6_1-0 +libcryptopp-5_6_2-0 libcryptopp-devel +libcryptopp-devel-static ++++++ cryptopp.pc ++++++ --- /var/tmp/diff_new_pack.AU0QgV/_old 2013-03-19 12:19:58.000000000 +0100 +++ /var/tmp/diff_new_pack.AU0QgV/_new 2013-03-19 12:19:58.000000000 +0100 @@ -6,7 +6,7 @@ Name: libcrypto++ Description: General purpose cryptographic shared library URL: http://www.cryptopp.com -Version: 5.6.1 +Version: 5.6.2 Requires: Libs: -lcryptopp Cflags: ++++++ libcryptopp-shared.patch ++++++ --- /var/tmp/diff_new_pack.AU0QgV/_old 2013-03-19 12:19:58.000000000 +0100 +++ /var/tmp/diff_new_pack.AU0QgV/_new 2013-03-19 12:19:58.000000000 +0100 @@ -1,44 +1,41 @@ ---- - GNUmakefile | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - -Index: GNUmakefile -=================================================================== ---- GNUmakefile.orig -+++ GNUmakefile +diff -rupN cryptopp562/GNUmakefile cryptopp562_mod/GNUmakefile +--- cryptopp562/GNUmakefile 2013-02-20 15:30:52.000000000 +0100 ++++ cryptopp562_mod/GNUmakefile 2013-03-01 18:00:00.313404574 +0100 @@ -1,7 +1,7 @@ CXXFLAGS = -DNDEBUG -g -O2 - #CXXFLAGS = -g + # -O3 fails to link on Cygwin GCC version 4.5.3 # -fPIC is supported. Please report any breakage of -fPIC as a bug. -# CXXFLAGS += -fPIC +CXXFLAGS += -fPIC # the following options reduce code size, but breaks link or makes link very slow on some systems # CXXFLAGS += -ffunction-sections -fdata-sections # LDFLAGS += -Wl,--gc-sections -@@ -134,26 +134,27 @@ DLLTESTOBJS = dlltest.dllonly.o - all: cryptest.exe +@@ -142,17 +142,18 @@ static: libcryptopp.a + dynamic: libcryptopp.so test: cryptest.exe - ./cryptest.exe v + LD_LIBRARY_PATH=. ./cryptest.exe v clean: - $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS) + -$(RM) cryptest.exe libcryptopp.a libcryptopp.so $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTI MPORTOBJS) $(DLLTESTOBJS) install: - $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin -- $(CP) *.h $(PREFIX)/include/cryptopp -- $(CP) *.a $(PREFIX)/lib -- $(CP) *.so $(PREFIX)/lib -- $(CP) *.exe $(PREFIX)/bin +- -$(CP) *.h $(PREFIX)/include/cryptopp +- -$(CP) *.a $(PREFIX)/lib +- -$(CP) *.so $(PREFIX)/lib +- -$(CP) *.exe $(PREFIX)/bin + $(MKDIR) -p $(DESTDIR)$(PREFIX)/include/cryptopp $(DESTDIR)$(PREFIX)/$(LIB) $(DESTDIR)$(PREFIX)/bin + $(CP) *.h $(DESTDIR)$(PREFIX)/include/cryptopp ++ $(CP) *.a $(DESTDIR)$(PREFIX)/$(LIB) + $(CP) libcryptopp${LIBSUFFIX}.so.0 $(DESTDIR)$(PREFIX)/$(LIB) + ln -s libcryptopp${LIBSUFFIX}.so.0 $(DESTDIR)$(PREFIX)/$(LIB)/libcryptopp.so + $(CP) *.exe $(DESTDIR)$(PREFIX)/bin - libcryptopp.a: $(LIBOBJS) - $(AR) $(ARFLAGS) $@ $(LIBOBJS) + remove: + -$(RM) -rf $(PREFIX)/include/cryptopp +@@ -165,10 +166,11 @@ libcryptopp.a: $(LIBOBJS) $(RANLIB) $@ libcryptopp.so: $(LIBOBJS) @@ -47,7 +44,9 @@ + ln -s libcryptopp${LIBSUFFIX}.so.0 $@ -cryptest.exe: libcryptopp.a $(TESTOBJS) +- $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) ./libcryptopp.a $(LDFLAGS) $(LDLIBS) +cryptest.exe: libcryptopp.so $(TESTOBJS) - $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS) ++ $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS) nolib: $(OBJS) # makes it faster to test changes + $(CXX) -o ct $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
