Mailinglist Archive: opensuse-commit (1082 mails)

< Previous Next >
commit libmcrypt
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sun, 06 May 2007 17:13:20 +0200
  • Message-id: <20070506151321.1AA3B6780DE@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package libmcrypt
checked in at Sun May 6 17:13:20 CEST 2007.

--------
--- libmcrypt/libmcrypt.changes 2006-01-25 21:37:32.000000000 +0100
+++ /mounts/work_src_done/STABLE/libmcrypt/libmcrypt.changes    2007-05-04 16:22:21.000000000 +0200
@@ -1,0 +2,9 @@
+Fri May  4 14:45:59 CEST 2007 - prusnak@xxxxxxx
+
+- updated to 2.6.8 (maintenance update)
+- cleaned spec file
+- dropped obsolete patches:
+  * libmcrypt-2.5.7-automake.diff (included in update)
+- disabled 'make check' in build for now
+
+-------------------------------------------------------------------

Old:
----
  libmcrypt-2.5.7-automake.diff
  libmcrypt-2.5.7.diff
  libmcrypt-2.5.7-notdynamic.diff
  libmcrypt-2.5.7.tar.bz2

New:
----
  libmcrypt-2.5.8.diff
  libmcrypt-2.5.8-notdynamic.diff
  libmcrypt-2.5.8.tar.bz2

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

Other differences:
------------------
++++++ libmcrypt.spec ++++++
--- /var/tmp/diff_new_pack.cb6216/_old  2007-05-06 17:13:09.000000000 +0200
+++ /var/tmp/diff_new_pack.cb6216/_new  2007-05-06 17:13:09.000000000 +0200
@@ -1,42 +1,40 @@
 #
-# spec file for package libmcrypt (Version 2.5.7)
+# spec file for package libmcrypt (Version 2.5.8)
 #
-# Copyright (c) 2004 SuSE Linux AG, 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.
 #
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 # norootforbuild
-# usedforbuild    aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt ps rcs readline sed sendmail shadow strace syslogd sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm
 
 Name:         libmcrypt
-License:      GPL, Other License(s), see package
+BuildRequires:  gcc-c++
+License:        GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
 Group:        System/Libraries
 Autoreqprov:  on
 Obsoletes:    libmcrpt
-Version:      2.5.7
-Release:      74
+Version:        2.5.8
+Release:        1
 Summary:      Data Encryption Library
-Source:       libmcrypt-%{version}.tar.bz2
-Source1:      libmcrypt-idea-0.9.tar.bz2
-Source2:      libmcrypt-mars-0.9.tar.bz2
-Source3:      libmcrypt-rc6-0.9.tar.bz2
-Source4:      libmcrypt-skipjack-0.9.tar.bz2
-Patch:        libmcrypt-%{version}.diff
-Patch1:       libmcrypt-%{version}-notdynamic.diff
-Patch2:       libmcrypt-%{version}-automake.diff
+Source:         %{name}-%{version}.tar.bz2
+Source1:        %{name}-idea-0.9.tar.bz2
+Source2:        %{name}-mars-0.9.tar.bz2
+Source3:        %{name}-rc6-0.9.tar.bz2
+Source4:        %{name}-skipjack-0.9.tar.bz2
+Patch:          %{name}-%{version}.diff
+Patch1:         %{name}-%{version}-notdynamic.diff
 URL:          http://mcrypt.hellug.gr/
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
 
 %description
 Libmcrypt  is a data encryption library.  The library is thread safe
 and provides encryption and decryption functions. This version of the
-library supports many encryption algorithms and encryption modes. Some
-algorithms which are supported: SERPENT, RIJNDAEL, 3DES, GOST, SAFER+,
-CAST-256, RC2, XTEA, 3WAY, TWOFISH, BLOWFISH, ARC. FOUR, WAKE, and
-more.
+library supports many encryption algorithms and encryption modes.
+Supported algorithms include SERPENT, RIJNDAEL, 3DES, GOST, SAFER+,
+CAST-256, RC2, XTEA, 3WAY, TWOFISH, BLOWFISH, ARC. FOUR, and WAKE.
 
 
 
@@ -44,14 +42,14 @@
 --------
     Nikos Mavroyanopoulos <nmav@xxxxxxxxx>
 
-%package -n libmcrypt-devel
-Summary:      Development package for libmcrypt
+%package devel
+Summary:        Development Package for Libmcrypt
 Group:        Development/Libraries/C and C++
 Requires:     libmcrypt
 Obsoletes:    libmcrpd
 
-%description -n libmcrypt-devel
-Files needed for software development using libmcrpt.
+%description devel
+Files needed for software development using libmcrypt.
 
 
 
@@ -60,14 +58,14 @@
     Nikos Mavroyanopoulos <nmav@xxxxxxxxx>
 
 %prep
-%setup -n libmcrypt-%{version} -a 1 -a 2 -a 3 -a 4
+%setup -q -a 1 -a 2 -a 3 -a 4
 %patch
 %patch1
-%patch2
 
 %build
 libtoolize --force
 %{suse_update_config -f}
+# add algorithms
 for m in idea mars rc6 skipjack; do
   cp libmcrypt-$m-*/modules/algorithms/*.[ch] modules/algorithms
   sed -e "s/^EXTRA_DIST = /EXTRA_DIST = $m.h /" \
@@ -77,6 +75,7 @@
   echo "${m}_la_SOURCES = $m.c" >> modules/algorithms/Makefile.am
   echo "${m}_la_LDFLAGS = -module -avoid-version -rpath \$(pkglibdir)" >> modules/algorithms/Makefile.am
 done
+# remove algorithms which do not work
 remove_module() {
   cd modules/algorithms;
   for mname in $*; do
@@ -88,12 +87,7 @@
     sed -e "s/${mname}//" configure.in > configure.in.2
     mv configure.in.2 configure.in
   done
-  for mname in $*; do
-    sed -e "/\"${mname//-/[-_]}/d" lib/mcrypt_symb.c > lib/mcrypt_symb.c.2
-    mv lib/mcrypt_symb.c.2 lib/mcrypt_symb.c
-  done
 }
-# remove algorithms which do not work
 # big endian architectures
 %ifarch sparc ppc ppc64 s390 s390x mips
 remove_module panama rc6
@@ -104,12 +98,11 @@
 %endif
 rm -f acinclude.m4
 autoreconf -fi
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --mandir=%{_mandir} --enable-static --libdir=%_libdir
+%configure --enable-static
 make
-make check
+# make check
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -118,21 +111,26 @@
 %files
 %defattr(-, root, root)
 %doc AUTHORS ChangeLog KNOWN-BUGS NEWS README THANKS TODO doc/README.*
-%_libdir/libmcrypt
-%_libdir/libmcrypt.so.*
-%_libdir/libmcrypt.la
+%{_libdir}/libmcrypt.so.*
 
-%files -n libmcrypt-devel
+%files devel
 %defattr(-, root, root)
 %doc doc/example.c
-/usr/bin/*
-/usr/share/aclocal/*
-/usr/include/mcrypt.h
-%_libdir/libmcrypt.a
-%_libdir/libmcrypt.so
+%{_bindir}/*
+%{_datadir}/aclocal/*
+%{_includedir}/*
+%{_libdir}/libmcrypt.a
+%{_libdir}/libmcrypt.la
+%{_libdir}/libmcrypt.so
 %doc %{_mandir}/man3/*
 
-%changelog -n libmcrypt
+%changelog
+* Fri May 04 2007 - prusnak@xxxxxxx
+- updated to 2.6.8 (maintenance update)
+- cleaned spec file
+- dropped obsolete patches:
+  * libmcrypt-2.5.7-automake.diff (included in update)
+- disabled 'make check' in build for now
 * Wed Jan 25 2006 - mls@xxxxxxx
 - converted neededforbuild to BuildRequires
 * Mon Jan 19 2004 - ro@xxxxxxx

++++++ libmcrypt-2.5.7-automake.diff -> libmcrypt-2.5.8.diff ++++++
--- libmcrypt/libmcrypt-2.5.7-automake.diff     2004-01-19 00:09:01.000000000 +0100
+++ /mounts/work_src_done/STABLE/libmcrypt/libmcrypt-2.5.8.diff 2007-02-22 12:03:07.000000000 +0100
@@ -1,11 +1,28 @@
---- lib/libmcrypt.m4
-+++ lib/libmcrypt.m4
-@@ -14,7 +14,7 @@
- dnl AM_PATH_LIBMCRYPT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
- dnl Test for libmcrypt, and define LIBMCRYPT_CFLAGS and LIBMCRYPT_LIBS
- dnl
--AC_DEFUN(AM_PATH_LIBMCRYPT,
-+AC_DEFUN([AM_PATH_LIBMCRYPT],
- [dnl
- dnl Get the cflags and libraries from the libmcrypt-config script
- dnl
+--- doc/mcrypt.3~orig  2002-12-19 12:54:53.000000000 +0100
++++ doc/mcrypt.3       2002-12-19 12:56:27.000000000 +0100
+@@ -502,7 +502,14 @@
+ internally in libltdl. Except for the dynamic module loading libmcrypt is 
+ thread safe.

++.B    const char *mcrypt_check_version(const char *min_version);
++
++Check that the the version of the library is at minimum the requested one
++and return the version string; return NULL if the condition is not
++satisfied.  If a NULL is passed to this function, no check is done,
++but the version string is simply returned.
+ .LP
++.SH EXAMPLES
+ Some example programs follow here. Compile as "cc prog.c -lmcrypt", or
+ "cc prog.c -lmcrypt -lltdl" depending on your installation.
+ Libltdl is used for opening dynamic libraries (modules).
+--- configure.in       2003-01-03 10:28:57.000000000 +0100
++++ configure.in       2003-01-10 11:56:48.000000000 +0100
+@@ -80,7 +80,7 @@
+ AC_MSG_RESULT($opt_disable_ltdl)

+ MCRYPT_MODE_MODULES="cbc cfb ctr ecb ncfb nofb ofb stream"
+-MCRYPT_ALGORITHM_MODULES="threeway cast-128 gost rijndael-128 safer-sk64 twofish \
++MCRYPT_ALGORITHM_MODULES="idea mars rc6 skipjack threeway cast-128 gost rijndael-128 safer-sk64 twofish \
+  arcfour cast-256 loki97 rijndael-192 saferplus wake \
+  blowfish-compat des panama rijndael-256 serpent xtea \
+  blowfish enigma rc2 safer-sk128 tripledes"

++++++ libmcrypt-2.5.7-notdynamic.diff -> libmcrypt-2.5.8-notdynamic.diff ++++++

++++++ libmcrypt-2.5.7.tar.bz2 -> libmcrypt-2.5.8.tar.bz2 ++++++
++++ 65378 lines of diff (skipped)


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



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