Re: [Packaging bug] Re: [ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1

2008-06-07 Thread Dr. Volker Zell
 Volker Zell writes:
 Gergely Budai writes:
 Version 1.4.1-1 of libgcrypt has been uploaded.

 The latest version is somehow broken

 nm --demangle --defined-only libgcrypt.dll.a | grep 'gcry_control'
 nm: d000187.o: no symbols
 nm: d00.o: no symbols
 nm: d000186.o: no symbols
 nm: d000185.o: no symbols
 nm: d000184.o: no symbols
 nm: d000183.o: no symbols
 nm: d000182.o: no symbols
 nm: d000181.o: no symbols
 nm: d000180.o: no symbols
 nm: d000179.o: no symbols
 nm: d000178.o: no symbols
 nm: d000177.o: no symbols
 nm: d000176.o: no symbols
 nm: d000175.o: no symbols
 nm: d000174.o: no symbols
 nm: d000173.o: no symbols
 nm: d000172.o: no symbols
 nm: d000171.o: no symbols
 nm: d000170.o: no symbols
 nm: d000169.o: no symbols
 nm: d000168.o: no symbols
 nm: d000167.o: no symbols
 nm: d000166.o: no symbols
 :
 :


 It seems stripping the libraries is the culprit.

 Try the attached .cygport file which also splits the package in main,
 devel and runtime packages:

 --- cut here -
 # Cygport script for libgcrypt

 DESCRIPTION=A general purpose crypto library based on the code from 
GnuPG.
 HOMEPAGE=http://www.gnupg.org/;
 SRC_URI=ftp://ftp.gnupg.org/gcrypt/libgcrypt/${P}.tar.bz2 
ftp://ftp.gnupg.org/gcrypt/libgcrypt/${P}.tar.bz2.sig;

 abi=11
 PKG_NAMES=${PN} ${PN}${abi} ${PN}-devel
 PKG_HINTS=setup lib devel
 PKG_CONTENTS[0]=
   etc/
   usr/bin/*.exe
   usr/share/doc/
   usr/share/info/
 
 PKG_CONTENTS[1]=
   usr/bin/*-${abi}.dll
 
 PKG_CONTENTS[2]=
   usr/bin/${PN}-config
   usr/include/
   usr/lib/
   usr/share/aclocal/
 

 # We also include the self-tests after compilation
 src_compile() {
   cd ${S}
   cygautoreconf
   cd ${B}
   cygconf
   cygmake
   src_test
 }
 --- cut here -

 --- cut here -
 diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint 
src/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint
 --- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint 1970-01-01 
01:00:00.0 +0100
 +++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint 2008-05-12 
11:28:40.703125000 +0200
 @@ -0,0 +1,6 @@
 +sdesc: A general purpose crypto library based on the code from GnuPG - 
(development)
 +ldesc: Libgcrypt is a general purpose crypto library based on the code
 +used in GnuPG.
 +category: Devel Libs
 +requires: cygwin libgcrypt11 bash coreutils grep sed
 +external-source: libgcrypt
 diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint 
src/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint
 --- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint   1970-01-01 
01:00:00.0 +0100
 +++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint   2008-05-12 
11:27:04.328125000 +0200
 @@ -0,0 +1,6 @@
 +sdesc: A general purpose crypto library based on the code from GnuPG - 
(runtime)
 +ldesc: Libgcrypt is a general purpose crypto library based on the code
 +used in GnuPG.
 +category: Libs
 +requires: cygwin libgpg-error
 +external-source: libgcrypt
 diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint 
src/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint
 --- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint 1970-01-01 
01:00:00.0 +0100
 +++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint 2008-05-12 
11:27:37.25000 +0200
 @@ -0,0 +1,5 @@
 +sdesc: A general purpose crypto library based on the code from GnuPG.
 +ldesc: Libgcrypt is a general purpose crypto library based on the code
 +used in GnuPG.
 +category: Libs
 +requires: cygwin
 --- cut here -

Ping ?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1

2008-05-12 Thread Dr. Volker Zell
 Volker Zell writes:

 Gergely Budai writes:
 Version 1.4.1-1 of libgcrypt has been uploaded.
 Libgcrypt is a general purpose crypto library based on the code used in 
GnuPG.

 Is it possible to split this library in main, lib and devel packages for
 the next release ?

Addition for .cygport file:

abi=11
PKG_NAMES=${PN} ${PN}${abi} ${PN}-devel
PKG_HINTS=setup lib devel
PKG_CONTENTS[0]=
  etc/
  usr/bin/*.exe
  usr/share/doc/
  usr/share/info/

PKG_CONTENTS[1]=
  usr/bin/*-${abi}.dll

PKG_CONTENTS[2]=
  usr/bin/${PN}-config
  usr/include/
  usr/lib/
  usr/share/aclocal/


Ciao
  Volker

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [Packaging bug] Re: [ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1

2008-05-12 Thread Dr. Volker Zell
 Volker Zell writes:

 Gergely Budai writes:
 Version 1.4.1-1 of libgcrypt has been uploaded.

 The latest version is somehow broken

 nm --demangle --defined-only libgcrypt.dll.a | grep 'gcry_control'
 nm: d000187.o: no symbols
 nm: d00.o: no symbols
 nm: d000186.o: no symbols
 nm: d000185.o: no symbols
 nm: d000184.o: no symbols
 nm: d000183.o: no symbols
 nm: d000182.o: no symbols
 nm: d000181.o: no symbols
 nm: d000180.o: no symbols
 nm: d000179.o: no symbols
 nm: d000178.o: no symbols
 nm: d000177.o: no symbols
 nm: d000176.o: no symbols
 nm: d000175.o: no symbols
 nm: d000174.o: no symbols
 nm: d000173.o: no symbols
 nm: d000172.o: no symbols
 nm: d000171.o: no symbols
 nm: d000170.o: no symbols
 nm: d000169.o: no symbols
 nm: d000168.o: no symbols
 nm: d000167.o: no symbols
 nm: d000166.o: no symbols
 :
 :


It seems stripping the libraries is the culprit.

Try the attached .cygport file which also splits the package in main,
devel and runtime packages:

--- cut here -
# Cygport script for libgcrypt

DESCRIPTION=A general purpose crypto library based on the code from GnuPG.
HOMEPAGE=http://www.gnupg.org/;
SRC_URI=ftp://ftp.gnupg.org/gcrypt/libgcrypt/${P}.tar.bz2 
ftp://ftp.gnupg.org/gcrypt/libgcrypt/${P}.tar.bz2.sig;

abi=11
PKG_NAMES=${PN} ${PN}${abi} ${PN}-devel
PKG_HINTS=setup lib devel
PKG_CONTENTS[0]=
  etc/
  usr/bin/*.exe
  usr/share/doc/
  usr/share/info/

PKG_CONTENTS[1]=
  usr/bin/*-${abi}.dll

PKG_CONTENTS[2]=
  usr/bin/${PN}-config
  usr/include/
  usr/lib/
  usr/share/aclocal/


# We also include the self-tests after compilation
src_compile() {
cd ${S}
cygautoreconf
cd ${B}
cygconf
cygmake
src_test
}
--- cut here -

--- cut here -
diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint 
src/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint
--- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint   1970-01-01 
01:00:00.0 +0100
+++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/devel.hint   2008-05-12 
11:28:40.703125000 +0200
@@ -0,0 +1,6 @@
+sdesc: A general purpose crypto library based on the code from GnuPG - 
(development)
+ldesc: Libgcrypt is a general purpose crypto library based on the code
+used in GnuPG.
+category: Devel Libs
+requires: cygwin libgcrypt11 bash coreutils grep sed
+external-source: libgcrypt
diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint 
src/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint
--- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint 1970-01-01 
01:00:00.0 +0100
+++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/lib.hint 2008-05-12 11:27:04.328125000 
+0200
@@ -0,0 +1,6 @@
+sdesc: A general purpose crypto library based on the code from GnuPG - 
(runtime)
+ldesc: Libgcrypt is a general purpose crypto library based on the code
+used in GnuPG.
+category: Libs
+requires: cygwin libgpg-error
+external-source: libgcrypt
diff -urN origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint 
src/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint
--- origsrc/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint   1970-01-01 
01:00:00.0 +0100
+++ src/libgcrypt-1.4.1/CYGWIN-PATCHES/setup.hint   2008-05-12 
11:27:37.25000 +0200
@@ -0,0 +1,5 @@
+sdesc: A general purpose crypto library based on the code from GnuPG.
+ldesc: Libgcrypt is a general purpose crypto library based on the code
+used in GnuPG.
+category: Libs
+requires: cygwin
--- cut here -

Ciao
  Volker

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[Packaging bug] Re: [ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1

2008-05-11 Thread Dr. Volker Zell
 Gergely Budai writes:

 Version 1.4.1-1 of libgcrypt has been uploaded.

The latest version is somehow broken

nm --demangle --defined-only libgcrypt.dll.a | grep 'gcry_control'
nm: d000187.o: no symbols
nm: d00.o: no symbols
nm: d000186.o: no symbols
nm: d000185.o: no symbols
nm: d000184.o: no symbols
nm: d000183.o: no symbols
nm: d000182.o: no symbols
nm: d000181.o: no symbols
nm: d000180.o: no symbols
nm: d000179.o: no symbols
nm: d000178.o: no symbols
nm: d000177.o: no symbols
nm: d000176.o: no symbols
nm: d000175.o: no symbols
nm: d000174.o: no symbols
nm: d000173.o: no symbols
nm: d000172.o: no symbols
nm: d000171.o: no symbols
nm: d000170.o: no symbols
nm: d000169.o: no symbols
nm: d000168.o: no symbols
nm: d000167.o: no symbols
nm: d000166.o: no symbols
:
:


1.4.0 gives:

nm --demangle --defined-only libgcrypt.dll.a | grep 'gcry_control'
 I _imp__gcry_control
 T gcry_control
 T _gcry_control
 I _imp___gcry_control  

Ciao
  Volker

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1

2008-05-02 Thread Dr. Volker Zell
 Gergely Budai writes:

 Version 1.4.1-1 of libgcrypt has been uploaded.
 Libgcrypt is a general purpose crypto library based on the code used in 
GnuPG.

Is it possible to split this library in main, lib and devel packages for
the next release ?

Ciao
  Volker

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: libgcrypt-1.4.1-1

2008-04-30 Thread Gergely Budai
Version 1.4.1-1 of libgcrypt has been uploaded.

Libgcrypt is a general purpose crypto library based on the code used in GnuPG.

What's New
===
 * Fixed a bug introduced by 1.3.1 which led to the comsumption of far
   too much entropy for the intial seeding.

 * Improved AES performance for CFB and CBC modes.

 * Removed build problems for the Padlock support.


Cygwin Port Notes:
==
* libgcrypt does not use /dev/random anymore but the builtin entropy gatherer
  for W32 (rndw32.c). Possible security issue, see:
  http://en.wikipedia.org/w/index.php?title=CryptGenRandomoldid=190115987


If you have questions or comments, please send them to the cygwin mailing list
at: cygwin@cygwin.com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look at the
List-Unsubscribe:  tag in the email header of this message. Send email to the
address specified there. It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available starting
at this URL.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/