commit bf104736a796ca784657923e638781532c64c293939b5e22016dffd2c33b547c Author: OBS User unknown Date: Mon Jan 15 23:21:52 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgcrypt?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libgcrypt-1.2.3.tar.bz2 b/libgcrypt-1.2.3.tar.bz2 new file mode 100644 index 0000000..814f032 --- /dev/null +++ b/libgcrypt-1.2.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3f607eb2631844058b4afa3db68ad7758e03a1daa7f5b2c2a8d0f1e8e1fc88c +size 784206 diff --git a/libgcrypt-ppc64.patch b/libgcrypt-ppc64.patch new file mode 100644 index 0000000..783b94b --- /dev/null +++ b/libgcrypt-ppc64.patch @@ -0,0 +1,26 @@ +diff -Nur libgcrypt-1.2.1/mpi/config.links libgcrypt-1.2.1.ppc/mpi/config.links +--- libgcrypt-1.2.1/mpi/config.links 2004-12-16 17:26:18.000000000 +0100 ++++ libgcrypt-1.2.1.ppc/mpi/config.links 2005-01-18 11:24:14.713430963 +0100 +@@ -221,7 +221,7 @@ + path="m68k/mc68020 m68k" + ;; + +- powerpc*-*-linux*) ++ powerpc-*-linux*) + echo '/* configured for powerpc/ELF */' >>./mpi/asm-syntax.h + echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h + cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h +@@ -265,11 +265,11 @@ + path="powerpc32" + ;; + ppc620-*-* | \ +- powerpc64*-*-*) ++ powerpc64-*-*) + mpi_sflags="-Wa,-mppc" + path="powerpc64" + ;; +- powerpc*-*-*) ++ powerpc-*-*) + mpi_sflags="-Wa,-mppc" + path="powerpc32" + ;; diff --git a/libgcrypt-strict-aliasing.patch b/libgcrypt-strict-aliasing.patch new file mode 100644 index 0000000..c83a1ab --- /dev/null +++ b/libgcrypt-strict-aliasing.patch @@ -0,0 +1,13 @@ +--- cipher/Makefile.am ++++ cipher/Makefile.am +@@ -71,3 +71,10 @@ + + tiger.lo: $(srcdir)/tiger.c + `echo $(LTCOMPILE) -c $(srcdir)/tiger.c | sed -e 's/-O[2-9s]*/-O1/g' ` ++ ++# We need to build ac.c with -fno-strict-aliasing ++ac.o: $(srcdir)/ac.c ++ `echo $(COMPILE) -fno-strict-aliasing -c $(srcdir)/ac.c` ++ ++ac.lo: $(srcdir)/ac.c ++ `echo $(LTCOMPILE) -fno-strict-aliasing -c $(srcdir)/ac.c` diff --git a/libgcrypt.changes b/libgcrypt.changes new file mode 100644 index 0000000..48d4ecc --- /dev/null +++ b/libgcrypt.changes @@ -0,0 +1,138 @@ +------------------------------------------------------------------- +Wed Dec 13 12:47:48 CET 2006 - mkoenig@suse.de + +- get rid of .la file and fix devel so link + +------------------------------------------------------------------- +Tue Dec 5 18:30:30 CET 2006 - mkoenig@suse.de + +- move shared lib to /%_lib + +------------------------------------------------------------------- +Thu Aug 31 14:29:56 CEST 2006 - mkoenig@suse.de + +- update to version 1.2.3: + * Rewrote gcry_mpi_rshift to allow arbitrary shift counts. + * Minor bug fixes. +- added libgpg-error-devel and glibc-devel to Requires tag + of devel subpackage + +------------------------------------------------------------------- +Wed Jan 25 21:37:28 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Nov 2 16:44:48 CET 2005 - hvogel@suse.de + +- enable noexecstack +- build ac.c with fno-strict-aliasing + +------------------------------------------------------------------- +Tue Oct 25 13:40:15 CEST 2005 - hvogel@suse.de + +- update to version 1.2.2 + +------------------------------------------------------------------- +Thu Jun 23 11:26:58 CEST 2005 - hvogel@suse.de + +- call install_info macro in post/postun of the devel package +- depend on libgcrypt +- add clean section + +------------------------------------------------------------------- +Tue Jan 18 11:51:51 CET 2005 - hvogel@suse.de + +- update to version 1.2.1 + +------------------------------------------------------------------- +Tue Jan 11 16:48:10 CET 2005 - schwab@suse.de + +- Fix info dir entry. + +------------------------------------------------------------------- +Wed Nov 17 11:22:44 CET 2004 - hvogel@suse.de + +- require libgpg-error-devel (Bug #48271) +- get rid of the NLD parts + +------------------------------------------------------------------- +Wed Jul 14 11:12:54 CEST 2004 - adrian@suse.de + +- create -devel subpackage +- prepare for nld + +------------------------------------------------------------------- +Wed May 19 14:57:45 CEST 2004 - hvogel@suse.de + +- update to version 1.2.0 + +------------------------------------------------------------------- +Mon Mar 22 16:48:53 CET 2004 - meissner@suse.de + +- disable make check, because it uses /dev/random whihc is + not filled on some server machines. + +------------------------------------------------------------------- +Wed Mar 17 15:01:51 CET 2004 - meissner@suse.de + +- fixed too over enthusiastic powerpc switches to make it work + on ppc64. (It compiled before, but did not work). +- enabled make check. + +------------------------------------------------------------------- +Wed Feb 18 12:14:36 CET 2004 - kukuk@suse.de + +- Build against system pthread library, not pth. + +------------------------------------------------------------------- +Tue Feb 17 21:11:40 CET 2004 - hvogel@suse.de + +- update to version 1.1.91 +- fix autoconf quotations + +------------------------------------------------------------------- +Sat Jan 10 19:20:41 CET 2004 - adrian@suse.de + +- add %run_ldconfig to %postun + +------------------------------------------------------------------- +Sun Jul 27 16:12:54 CEST 2003 - poeml@suse.de + +- add libgcrypt-1.1.12-sexp-valgrind-error.patch from SLEC + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Mon Feb 10 22:51:26 CET 2003 - mmj@suse.de + +- Use %install_info macro [#23433] + +------------------------------------------------------------------- +Mon Feb 10 16:11:55 CET 2003 - mc@suse.de + +- switch to version 1.1.12 +- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an + optional pkcs1 flags parameter in the S-expression. A similar flag + may be passed to gcry_pk_decrypt but it is only syntactically + implemented. +- New convenience macro gcry_md_get_asnoid. +- There is now some real stuff in the manual. +- New algorithm: MD4 +- Implemented ciphertext stealing. +- Support for plain old DES +- Smaller bugs fixes and a few new OIDs. + +------------------------------------------------------------------- +Tue Jan 14 14:03:27 CET 2003 - nadvornik@suse.cz + +- fixed multi-line string literals + +------------------------------------------------------------------- +Thu Aug 1 23:51:10 CEST 2002 - poeml@suse.de + +- create package + diff --git a/libgcrypt.spec b/libgcrypt.spec new file mode 100644 index 0000000..409b264 --- /dev/null +++ b/libgcrypt.spec @@ -0,0 +1,196 @@ +# +# spec file for package libgcrypt (Version 1.2.3) +# +# Copyright (c) 2006 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://bugs.opensuse.org/ +# + +# norootforbuild + +Name: libgcrypt +BuildRequires: libgpg-error-devel +URL: http://www.gnu.org/directory/Security/libgcrypt.html +Version: 1.2.3 +Release: 20 +Summary: The GNU Crypto Library +License: GNU General Public License (GPL), Other License(s), see package +Group: Development/Libraries/C and C++ +Autoreqprov: on +Source: %name-%version.tar.bz2 +Patch0: %name-ppc64.patch +Patch1: libgcrypt-strict-aliasing.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: %install_info_prereq + +%description +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). + + + +Authors: +-------- + Maintainer: wk@g10code.com + + Authors: Werner Koch + Matthew Skala + Michael Roth + Niklas Hernaeus + Rémi Guyomarch + Timo Schulz + +%package devel +Summary: The GNU Crypto Library +Group: Development/Libraries/C and C++ +Provides: libgcrypt:/usr/include/gcrypt.h +Requires: libgcrypt == %version, libgpg-error-devel, glibc-devel + +%description devel +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). + +This package contains needed files to compile and link against the +library. + + + +Authors: +-------- + Maintainer: wk@g10code.com + + Authors: Werner Koch + Matthew Skala + Michael Roth + Niklas Hernaeus + Rémi Guyomarch + Timo Schulz + +%prep +%setup -q -n libgcrypt-%version +%patch0 -p1 +%patch1 + +%build +%{?suse_update_config} +autoreconf -fi +CFLAGS="$RPM_OPT_FLAGS" ./configure \ + --prefix=%{_prefix} \ + --sysconfdir=/etc \ + --libdir=/%{_lib} \ + --infodir=%{_infodir} \ + --enable-noexecstack +make +# Nice idea. however this uses /dev/random, which hangs +# on hardware without random feeds. +# make check + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm $RPM_BUILD_ROOT/%{_lib}/libgcrypt.la +mkdir -p $RPM_BUILD_ROOT%_libdir +rm $RPM_BUILD_ROOT/%{_lib}/libgcrypt.so +ln -s /%{_lib}/libgcrypt.so.11 $RPM_BUILD_ROOT%{_libdir}/libgcrypt.so +mv $RPM_BUILD_ROOT/%{_lib}/libgcrypt.a $RPM_BUILD_ROOT%_libdir + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%run_ldconfig + +%post devel +%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz + +%postun +%run_ldconfig + +%postun devel +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz + +%files +%defattr(-,root,root) +%doc AUTHORS BUGS COPYING COPYING.LIB ChangeLog NEWS README THANKS TODO VERSION +/%_lib/libgcrypt*.so.* + +%files devel +%defattr(-,root,root) +%doc %_infodir/gc* +%_bindir/* +%_libdir/libgcrypt*.so +%_libdir/libgcrypt*a +%_includedir/* +%_datadir/aclocal/* + +%changelog -n libgcrypt +* Wed Dec 13 2006 - mkoenig@suse.de +- get rid of .la file and fix devel so link +* Tue Dec 05 2006 - mkoenig@suse.de +- move shared lib to /%%_lib +* Thu Aug 31 2006 - mkoenig@suse.de +- update to version 1.2.3: + * Rewrote gcry_mpi_rshift to allow arbitrary shift counts. + * Minor bug fixes. +- added libgpg-error-devel and glibc-devel to Requires tag + of devel subpackage +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Nov 02 2005 - hvogel@suse.de +- enable noexecstack +- build ac.c with fno-strict-aliasing +* Tue Oct 25 2005 - hvogel@suse.de +- update to version 1.2.2 +* Thu Jun 23 2005 - hvogel@suse.de +- call install_info macro in post/postun of the devel package +- depend on libgcrypt +- add clean section +* Tue Jan 18 2005 - hvogel@suse.de +- update to version 1.2.1 +* Tue Jan 11 2005 - schwab@suse.de +- Fix info dir entry. +* Wed Nov 17 2004 - hvogel@suse.de +- require libgpg-error-devel (Bug #48271) +- get rid of the NLD parts +* Wed Jul 14 2004 - adrian@suse.de +- create -devel subpackage +- prepare for nld +* Wed May 19 2004 - hvogel@suse.de +- update to version 1.2.0 +* Mon Mar 22 2004 - meissner@suse.de +- disable make check, because it uses /dev/random whihc is + not filled on some server machines. +* Wed Mar 17 2004 - meissner@suse.de +- fixed too over enthusiastic powerpc switches to make it work + on ppc64. (It compiled before, but did not work). +- enabled make check. +* Wed Feb 18 2004 - kukuk@suse.de +- Build against system pthread library, not pth. +* Tue Feb 17 2004 - hvogel@suse.de +- update to version 1.1.91 +- fix autoconf quotations +* Sat Jan 10 2004 - adrian@suse.de +- add %%run_ldconfig to %%postun +* Sun Jul 27 2003 - poeml@suse.de +- add libgcrypt-1.1.12-sexp-valgrind-error.patch from SLEC +* Thu Apr 24 2003 - ro@suse.de +- fix install_info --delete call and move from preun to postun +* Mon Feb 10 2003 - mmj@suse.de +- Use %%install_info macro [#23433] +* Mon Feb 10 2003 - mc@suse.de +- switch to version 1.1.12 +- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an + optional pkcs1 flags parameter in the S-expression. A similar flag + may be passed to gcry_pk_decrypt but it is only syntactically + implemented. +- New convenience macro gcry_md_get_asnoid. +- There is now some real stuff in the manual. +- New algorithm: MD4 +- Implemented ciphertext stealing. +- Support for plain old DES +- Smaller bugs fixes and a few new OIDs. +* Tue Jan 14 2003 - nadvornik@suse.cz +- fixed multi-line string literals +* Thu Aug 01 2002 - poeml@suse.de +- create package diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4