Subject: buildlink3 now requires libgcrypt 1.2.0 or higher
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/26/2004 17:13:57
(I bcc'd the upgrader of libgcrypt.)

I have opencdk-0.5.4 package. It has:

reed@puget:/usr/pkgsrc/security/gnutls$ ldd /usr/lib/libopencdk.so.8.0
        libgcrypt.so.11 => not found
        libgpg-error.so.1 => /usr/lib/libgpg-error.so.1 (0x40030000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40034000)
        libc.so.6 => /usr/lib/libc.so.6 (0x40048000)
        /usr/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0x80000000)

Notice it is built against libgcrypt.so.11 which is now missing.

I use binary packages to save time.

I have libgcrypt-1.2.0 installed.

Because the version changed from
lib/libgcrypt-pthread.so.11.0 to lib/libgcrypt.so.12.1 any dependencies
that use it should be bumped too.

Is it okay if I add a PKGREVISION to opencdk and increase
opencdk/buildlink3.mk like the following?
BUILDLINK_DEPENDS.opencdk+=     opencdk>=0.5.4nb1

(It sure would be nice if we could have dependencies based on the sonames
instead or in addition.)

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/