pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47544: pkgsrc/security/openssl has incomplete options.mk concerning libidea



>Number:         47544
>Category:       pkg
>Synopsis:       pkgsrc/security/openssl has incomplete options.mk concerning 
>libidea
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 08 07:05:00 +0000 2013
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
the latest openssl fails to install with the option "idea" due to incomplete 
options.mk.

pkg_create: can't stat 
`/tmp/pkgsrc/security/openssl/work/.destdir/opt/pkg/include/openssl/idea.h'
pkg_create: can't stat 
`/tmp/pkgsrc/security/openssl/work/.destdir/opt/pkg/include/openssl/mdc2.h'
===> Building binary package for openssl-1.0.1dnb1
=> Creating binary package 
/home/richard/src/pkgsrc/packages/All/openssl-1.0.1dnb1.tgz
pkg_create: can't stat 
`/tmp/pkgsrc/security/openssl/work/.destdir/opt/pkg/include/openssl/idea.h'
pkg_create: can't stat 
`/tmp/pkgsrc/security/openssl/work/.destdir/opt/pkg/include/openssl/mdc2.h'
pkg_create: lstat failed for file include/openssl/idea.h: No such file or 
directory
*** Error code 2

Stop.
bmake: stopped in /home/richard/src/pkgsrc/security/openssl
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/security/openssl

>How-To-Repeat:

>Fix:
richard@devzoneX:~/src/pkgsrc/security/openssl$ cvs diff
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/security/openssl/options.mk,v
retrieving revision 1.9
diff -u -r1.9 options.mk
--- options.mk  6 Feb 2013 21:40:33 -0000       1.9
+++ options.mk  8 Feb 2013 07:04:11 -0000
@@ -13,7 +13,15 @@
 #
 # Support optional algorithms
 #
-.for alg in idea md2 mdc2 rc5
+.if !empty(PKG_OPTIONS:Midea)
+CONFIGURE_ARGS+=        idea
+PLIST.idea=            yes
+.include "../../security/libidea/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=        no-idea
+.endif
+
+.for alg in md2 mdc2 rc5
 .  if !empty(PKG_OPTIONS:M${alg})
 CONFIGURE_ARGS+=       enable-${alg}
 PLIST.${alg}=          yes



Home | Main Index | Thread Index | Old Index