Hello community, here is the log from the commit of package aespipe for openSUSE:Factory checked in at 2015-06-05 08:46:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aespipe (Old) and /work/SRC/openSUSE:Factory/.aespipe.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aespipe" Changes: -------- --- /work/SRC/openSUSE:Factory/aespipe/aespipe.changes 2014-07-31 21:50:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.aespipe.new/aespipe.changes 2015-06-05 08:46:07.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Jun 4 11:19:09 UTC 2015 - mplus...@suse.com + +- Update to 2.4d + * no upstream changelog available +- Cleanup spec file with spec-cleaner +- Drop no longer needed aespipe-ppc64le.patch + +------------------------------------------------------------------- Old: ---- aespipe-ppc64le.patch aespipe-v2.4c.tar.bz2 New: ---- aespipe-v2.4d.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aespipe.spec ++++++ --- /var/tmp/diff_new_pack.gsVU93/_old 2015-06-05 08:46:08.000000000 +0200 +++ /var/tmp/diff_new_pack.gsVU93/_new 2015-06-05 08:46:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package aespipe # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,16 @@ Name: aespipe -Version: 2.4c +Version: 2.4d Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: AES Encrypting/Decrypting Pipe License: GPL-2.0 Group: Productivity/Security Url: http://loop-aes.sourceforge.net/ Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2 -Patch1: aespipe-ppc64le.patch BuildRequires: autoconf BuildRequires: automake +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description aespipe program is AES encrypting or decrypting pipe. It reads from standard @@ -37,36 +36,31 @@ %prep %setup -q -n "aespipe-v%{version}" -%__patch -p0 < aes-GPL.diff -%patch1 -p1 +patch < aes-GPL.diff %build autoreconf -fiv %configure -%__make \ +make \ %ifarch %ix86 x86 \ %endif %ifarch amd64 x86_64 ia32e em64t amd64 \ %endif - %{?jobs:-j%{jobs}} %check -%__make tests +make %{?_smp_mflags} tests %install -%makeinstall -%__install -m0755 bz2aespipe "%{buildroot}%{_bindir}/" - -%clean -rm -rf "$RPM_BUILD_ROOT" +make DESTDIR=%{buildroot} install %{?_smp_mflags} +install -m0755 bz2aespipe "%{buildroot}%{_bindir}/" %files %defattr(-,root,root) %doc ChangeLog README %{_bindir}/aespipe %{_bindir}/bz2aespipe -%doc %{_mandir}/man1/aespipe.1* +%{_mandir}/man1/aespipe.1* %changelog ++++++ aespipe-v2.4c.tar.bz2 -> aespipe-v2.4d.tar.bz2 ++++++ ++++ 2290 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/aespipe-v2.4c/ChangeLog new/aespipe-v2.4d/ChangeLog --- old/aespipe-v2.4c/ChangeLog 2011-02-23 15:14:39.000000000 +0100 +++ new/aespipe-v2.4d/ChangeLog 2015-05-24 09:21:06.000000000 +0200 @@ -97,6 +97,10 @@ encrypting/decrypting disk sectors (size always multiple of 512 bytes) was not affected. This bug was introduced in aespipe-v2.4b, older versions were not affected. - - Fixed a problem by locking RAM using mlockall() only if "ulimits -l" - was "unlimited". Smaller "ulimits -l" could cause memory allocation + - Fixed a problem by locking RAM using mlockall() only if "ulimit -l" + was "unlimited". Smaller "ulimit -l" could cause memory allocation failure or segfault. + +aespipe-v2.4d May 24 2015 + - Fixed endianness bug on little-endian PowerPC. More common big-endian + PowerPC was OK. Bug reported by Fernando Seiti Furusato. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/aespipe-v2.4c/README new/aespipe-v2.4d/README --- old/aespipe-v2.4c/README 2010-06-03 12:48:02.000000000 +0200 +++ new/aespipe-v2.4d/README 2015-05-24 09:21:06.000000000 +0200 @@ -1,6 +1,6 @@ -Written by Jari Ruusu <jariru...@users.sourceforge.net>, June 3 2010 +Written by Jari Ruusu <jariru...@users.sourceforge.net>, May 24 2015 -Copyright 2002-2010 by Jari Ruusu. +Copyright 2002-2015 by Jari Ruusu. Redistribution of this file is permitted under the GNU Public License. @@ -27,7 +27,7 @@ Latest version of this package can be found at: http://loop-aes.sourceforge.net/ - http://koti.tnnet.fi/jari.ruusu/linux/ + http://sourceforge.net/projects/loop-aes/files/aespipe/ 2. How to compile aespipe program diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/aespipe-v2.4c/aes.c new/aespipe-v2.4d/aes.c --- old/aespipe-v2.4c/aes.c 2004-07-06 20:20:59.000000000 +0200 +++ new/aespipe-v2.4d/aes.c 2015-05-02 18:37:30.000000000 +0200 @@ -103,10 +103,6 @@ # define INTERNAL_BYTE_ORDER 1 # undef DATA_ALWAYS_ALIGNED # define DATA_ALWAYS_ALIGNED 1 /* unaligned access is always ok */ -#elif defined(__ppc__)||defined(__ppc)||defined(__PPC__)||defined(__PPC)||defined(__powerpc__)||defined(__powerpc)||defined(__POWERPC__)||defined(__POWERPC)||defined(__PowerPC__)||defined(__PowerPC)||defined(__ppc64__)||defined(__ppc64)||defined(__PPC64__)||defined(__PPC64)||defined(__powerpc64__)||defined(__powerpc64)||defined(__s390__)||defined(__s390) -# define INTERNAL_BYTE_ORDER 2 -# undef DATA_ALWAYS_ALIGNED -# define DATA_ALWAYS_ALIGNED 1 /* unaligned access is always ok */ #elif defined(__alpha__)||defined(__alpha)||defined(__ia64__)||defined(__ia64) # define INTERNAL_BYTE_ORDER 1 #elif defined(__hppa__)||defined(__hppa)||defined(__HPPA__)||defined(__HPPA)||defined(__parisc__)||defined(__parisc)||defined(__sparc__)||defined(__sparc)||defined(__sparc_v9__)||defined(__sparc_v9)||defined(__sparc64__)||defined(__sparc64)||defined(__mc68000__)||defined(__mc68000) @@ -126,15 +122,20 @@ # endif #else # include <sys/param.h> -# if (defined(BYTE_ORDER) && defined(LITTLE_ENDIAN) && (BYTE_ORDER == LITTLE_ENDIAN)) || (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && (__BYTE_ORDER == __LITTLE_ENDIAN)) +# if defined(__LITTLE_ENDIAN__) || (defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)) || (defined(BYTE_ORDER) && defined(LITTLE_ENDIAN) && (BYTE_ORDER == LITTLE_ENDIAN)) || (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && (__BYTE_ORDER == __LITTLE_ENDIAN)) # define INTERNAL_BYTE_ORDER 1 -# elif WORDS_BIGENDIAN || defined(__BIG_ENDIAN__) || (defined(BYTE_ORDER) && defined(BIG_ENDIAN) && (BYTE_ORDER == BIG_ENDIAN)) || (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && (__BYTE_ORDER == __BIG_ENDIAN)) +# elif WORDS_BIGENDIAN || defined(__BIG_ENDIAN__) || (defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)) || (defined(BYTE_ORDER) && defined(BIG_ENDIAN) && (BYTE_ORDER == BIG_ENDIAN)) || (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && (__BYTE_ORDER == __BIG_ENDIAN)) # define INTERNAL_BYTE_ORDER 2 # else # define INTERNAL_BYTE_ORDER 0 # endif #endif +#if defined(__ppc__)||defined(__ppc)||defined(__PPC__)||defined(__PPC)||defined(__powerpc__)||defined(__powerpc)||defined(__POWERPC__)||defined(__POWERPC)||defined(__PowerPC__)||defined(__PowerPC)||defined(__ppc64__)||defined(__ppc64)||defined(__PPC64__)||defined(__PPC64)||defined(__powerpc64__)||defined(__powerpc64)||defined(__s390__)||defined(__s390) +# undef DATA_ALWAYS_ALIGNED +# define DATA_ALWAYS_ALIGNED 1 /* unaligned access is always ok */ +#endif + #if defined(DATA_ALWAYS_ALIGNED) && (INTERNAL_BYTE_ORDER > 0) # define word_in(x) *(u_int32_t*)(x) # define word_out(x,v) *(u_int32_t*)(x) = (v) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/aespipe-v2.4c/aespipe.c new/aespipe-v2.4d/aespipe.c --- old/aespipe-v2.4c/aespipe.c 2011-02-23 15:14:39.000000000 +0100 +++ new/aespipe-v2.4d/aespipe.c 2015-05-03 18:48:12.000000000 +0200 @@ -1,9 +1,9 @@ /* * aespipe.c * - * Written by Jari Ruusu, February 23 2011 + * Written by Jari Ruusu, May 3 2015 * - * Copyright 2002-2011 by Jari Ruusu. + * Copyright 2002-2015 by Jari Ruusu. * Redistribution of this file is permitted under the GNU Public License. * * AES encrypting or decrypting "pipe", reads from stdin, writes to stdout @@ -1177,7 +1177,7 @@ if(!strcmp(*argv, "-") || (**argv != '-')) { usage: fprintf(stderr, "usage: %s [options] <inputfile >outputfile\n" - "version 2.4c Copyright (c) 2002-2011 Jari Ruusu, (c) 2001 Dr Brian Gladman\n" + "version 2.4d Copyright (c) 2002-2015 Jari Ruusu, (c) 2001 Dr Brian Gladman\n" "options: -e aes128|aes192|aes256 = set key length\n" " -H sha256|sha384|sha512|rmd160 = set password hash function\n" " -d = decrypt\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/aespipe-v2.4c/configure.ac new/aespipe-v2.4d/configure.ac --- old/aespipe-v2.4c/configure.ac 2011-02-23 15:14:39.000000000 +0100 +++ new/aespipe-v2.4d/configure.ac 2015-05-03 18:51:42.000000000 +0200 @@ -1,9 +1,9 @@ dnl dnl configure.ac dnl -dnl Written by Jari Ruusu, February 23 2011 +dnl Written by Jari Ruusu, May 3 2015 dnl -dnl Copyright 2002-2011 by Jari Ruusu. +dnl Copyright 2002-2015 by Jari Ruusu. dnl Redistribution of this file is permitted under the GNU Public License. dnl @@ -55,9 +55,9 @@ AC_CHECK_TOOL([NM_PROG],[nm]) AC_MSG_CHECKING([whether labels need underline prefix]) label="test1234test9876" -AC_LANG_CONFTEST([ +AC_LANG_CONFTEST([AC_LANG_SOURCE([ void ${label}(void){} -]) +])]) if ${CC} ${CPPFLAGS} ${CFLAGS} -c conftest.c >/dev/null 2>&1 && ${NM_PROG} conftest.o | ${GREP} "_${label}" >/dev/null 2>&1; then AC_MSG_RESULT([yes]) AC_DEFINE([USE_UNDERLINE], [1]) @@ -68,8 +68,8 @@ dnl Check if assembler understands .align 32 AC_MSG_CHECKING([whether assembler understands .align 32]) -AC_COMPILE_IFELSE( - [__asm__(" .align 32");], +AC_COMPILE_IFELSE([AC_LANG_SOURCE( + [__asm__(" .align 32");])], [x_asm_align_32_ok="yes"], [ x_asm_align_32_ok="no" @@ -115,8 +115,8 @@ AC_MSG_CHECKING([if assembler supports no exec stack section]) old_ac_ext="${ac_ext}" ac_ext="S" -AC_COMPILE_IFELSE( - [ .section .note.GNU-stack,"",@progbits ], +AC_COMPILE_IFELSE([AC_LANG_SOURCE( + [ .section .note.GNU-stack,"",@progbits ])], [ AC_MSG_RESULT([yes]) AC_DEFINE([SECTION_NOTE_GNU_STACK], [1]) @@ -202,7 +202,7 @@ AC_MSG_CHECKING([whether to include support for VIA padlock hardware AES]) if test "$x_enable_padlock" = autodetect ; then - AC_RUN_IFELSE([#include <stdlib.h> + AC_RUN_IFELSE([AC_LANG_SOURCE([#include <stdlib.h> int main(int argc, char **argv) {unsigned int eax, ebx, ecx, edx; __asm__ __volatile__("cpuid" : "=b" (ebx), "=c" (ecx), "=d" (edx) : "a" (0), "b" (0), "c" (0), "d" (0)); if((ebx != 0x746e6543) || (edx != 0x48727561) || (ecx != 0x736c7561)) exit(1); @@ -212,7 +212,7 @@ if((edx & 0xC0) != 0xC0) exit(1); __asm__ __volatile__("xor %%eax,%%eax" : "+a" (edx) : : "cc"); exit(0);} - ],[x_enable_padlock=yes],[x_enable_padlock=no],[x_enable_padlock=no]) + ])],[x_enable_padlock=yes],[x_enable_padlock=no],[x_enable_padlock=no]) fi if test "$x_enable_padlock" = yes ; then AC_DEFINE([SUPPORT_PADLOCK], [1]) @@ -221,13 +221,13 @@ AC_MSG_CHECKING([whether to include support for Intel hardware AES]) if test "$x_enable_intelaes" = autodetect ; then - AC_RUN_IFELSE([#include <stdlib.h> + AC_RUN_IFELSE([AC_LANG_SOURCE([#include <stdlib.h> int main(int argc, char **argv) {unsigned int ecx; __asm__ __volatile__("cpuid" : "=c" (ecx) : "a" (1), "b" (0), "c" (0), "d" (0)); if((ecx & 0x02000000) != 0x02000000) exit(1); __asm__ __volatile__("pxor %%xmm0,%%xmm0; emms" : : : "cc"); exit(0);} - ],[x_enable_intelaes=yes],[x_enable_intelaes=no],[x_enable_intelaes=no]) + ])],[x_enable_intelaes=yes],[x_enable_intelaes=no],[x_enable_intelaes=no]) fi if test "$x_enable_intelaes" = yes ; then AC_DEFINE([SUPPORT_INTELAES], [1])