Mailinglist Archive: opensuse-commit (861 mails)

< Previous Next >
commit libcryptopp for openSUSE:Factory

Hello community,

here is the log from the commit of package libcryptopp for openSUSE:Factory
checked in at Tue Jan 25 10:05:51 CET 2011.



--------
New Changes file:

--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/libcryptopp/libcryptopp.changes
2010-12-16 16:02:01.000000000 +0100
@@ -0,0 +1,31 @@
+-------------------------------------------------------------------
+Thu Dec 16 14:40:17 UTC 2010 - andreas.hanke@xxxxxxxxxxxxxx
+
+- Update to version 5.6.1:
+ - added support for AES-NI and CLMUL instruction sets in AES and
+ GMAC/GCM
+ - removed WAKE-CFB
+ - fixed several bugs in the SHA-256 x86/x64 assembly code:
+ * incorrect hash on non-SSE2 x86 machines on non-aligned input
+ * incorrect hash on x86 machines when input crosses 0x80000000
+ * incorrect hash on x64 when compiled with GCC with optimizations
+ enabled
+ - fixed bugs in AES x86 and x64 assembly causing crashes in some MSVC
+ build configurations
+ - switched to a public domain implementation of MARS
+ - ported to MSVC 2010, GCC 4.5.1, Sun Studio 12u1, C++Builder 2010,
+ Intel C++ Compiler 11.1
+ - renamed the MSVC DLL project to "cryptopp" for compatibility with
+ MSVC 2010
+- Changes to library packaging:
+ - update the interface number because there were ABI changes, now
+ matching the Debian package
+ - introduce a conflict with the PackMan package
+ - ship License.txt and Readme.txt
+ - drop the static library
+
+-------------------------------------------------------------------
+Mon Aug 9 22:29:54 UTC 2010 - pascal.bleser@xxxxxxxxxxxx
+
+- initial package (5.6.0)
+

calling whatdependson for head-i586


New:
----
cryptopp561.tar.bz2
libcryptopp-shared.patch
libcryptopp.changes
libcryptopp.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcryptopp.spec ++++++
#
# spec file for package libcryptopp
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name: libcryptopp
Version: 5.6.1
Release: 1
%define pkg_version 561
# This needs to be bumped manually with every ABI change since there is
# no upstream interface version information. Please keep in sync with
# Debian: http://packages.debian.org/en/source/experimental/libcrypto++
%define soname 9
Summary: Crypto++ Library
# http://www.cryptopp.com/cryptopp%{pkg_version}.zip
Source: cryptopp%{pkg_version}.tar.bz2
Patch1: libcryptopp-shared.patch
Url: http://www.cryptopp.com
Group: Development/Libraries/C and C++
License: Public Domain
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ libstdc++-devel
BuildRequires: gcc glibc-devel make pkgconfig

%description
Crypto++ Library is a free C++ class library of cryptographic schemes.

%package -n %{name}%{soname}

Summary: Cryptographic Library for C++
Group: System/Libraries

%description -n %{name}%{soname}
Crypto++ Library is a free C++ class library of cryptographic schemes.

%package -n %{name}-devel

Summary: Cryptographic Library for C++
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}
# http://packman.links2linux.de/package/libcrypto++0
Conflicts: libcrypto++0

%description -n %{name}-devel
Crypto++ Library is a free C++ class library of cryptographic schemes.

%prep
%setup -q -c "%{name}-%{version}"
%patch1

%build
%__make %{?jobs:-j%{jobs}} \
CXXFLAGS="-DNDEBUG %{optflags} -fpic -fPIC" \
DESTDIR="" \
PREFIX="%{_prefix}" \
LIB="%{_lib}" \
CXX="%__cxx" \
VERSION="%{soname}.0.0" \
MAJOR="%{soname}" \
all

%install
%__make \
DESTDIR="%{buildroot}" \
PREFIX="%{_prefix}" \
LIB="%{_lib}" \
CXX="%__cxx" \
VERSION="%{soname}.0.0" \
MAJOR="%{soname}" \
install

%__rm -rf "%{buildroot}%{_bindir}"

%check
%__make test

%post -n %{name}%{soname} -p /sbin/ldconfig

%postun -n %{name}%{soname} -p /sbin/ldconfig

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files -n %{name}%{soname}
%defattr(-,root,root)
%{_libdir}/libcryptopp.so.%{soname}
%{_libdir}/libcryptopp.so.%{soname}.*

%files -n %{name}-devel
%defattr(-,root,root)
%doc License.txt Readme.txt
%{_includedir}/cryptopp
%{_libdir}/libcryptopp.so
%changelog
++++++ libcryptopp-shared.patch ++++++
--- GNUmakefile.orig 2010-08-09 14:22:42.000000000 +0200
+++ GNUmakefile 2010-12-16 15:58:54.174167505 +0100
@@ -1,7 +1,7 @@
CXXFLAGS = -DNDEBUG -g -O2
#CXXFLAGS = -g
# -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,29 @@
all: cryptest.exe

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)

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
+ $(MKDIR) -p $(DESTDIR)$(PREFIX)/include/cryptopp
$(DESTDIR)$(PREFIX)/$(LIB) $(DESTDIR)$(PREFIX)/bin
+ $(CP) *.h $(DESTDIR)$(PREFIX)/include/cryptopp
+ $(CP) libcryptopp.so.$(VERSION) $(DESTDIR)$(PREFIX)/$(LIB)
+ ln -s libcryptopp.so.$(VERSION)
$(DESTDIR)$(PREFIX)/$(LIB)/libcryptopp.so.$(MAJOR)
+ ln -s libcryptopp.so.$(MAJOR) $(DESTDIR)$(PREFIX)/$(LIB)/libcryptopp.so
+ $(CP) *.exe $(DESTDIR)$(PREFIX)/bin

libcryptopp.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $@ $(LIBOBJS)
$(RANLIB) $@

libcryptopp.so: $(LIBOBJS)
- $(CXX) -shared -o $@ $(LIBOBJS)
+ $(CXX) -shared -Wl,-soname,libcryptopp.so.$(MAJOR) -o
libcryptopp.so.$(VERSION) $(LIBOBJS) $(LDFLAGS) $(LDLIBS)
+ ln -s libcryptopp.so.$(VERSION) libcryptopp.so.$(MAJOR)
+ ln -s libcryptopp.so.$(MAJOR) $@

-cryptest.exe: libcryptopp.a $(TESTOBJS)
+cryptest.exe: libcryptopp.so $(TESTOBJS)
$(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS)

nolib: $(OBJS) # makes it faster to test changes

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages