openssh-{gssapi,portable} & 'make index'

Peter Losher plosher-keyword-freebsd.a36e57 at plosh.net
Wed Jun 21 00:11:13 UTC 2006


Peter Losher wrote:

> However after a 'make index' things like mtr-nox11 are included into
> INDEX-6, but not openssh-gssapi?  The only difference is that the
> -gssapi moniker is declared as a GSSAPI_SUFFIX make variable vs. the
> normal PKGNAMESUFFIX.
> 
> I realize the reason that openssh-portable has numerous suffix options;
> Is there perhaps a way for 'make index' to honor the GSSAPI_SUFFIX
> declaration so it can be included in the INDEX?

After some more thought, I found what I think is a bug - PKGNAMESUFFIX
is never set; remove the '?' at the end:

-=-
% diff -u Makefile Makefile.orig
--- Makefile    Tue Jun 20 23:29:23 2006
+++ Makefile.orig       Tue Jun 20 23:57:38 2006
@@ -14,7 +14,7 @@

ftp://carroll.cac.psu.edu/pub/OpenBSD/OpenSSH/portable/%SUBDIR%/ \
                http://mirror.mcs.anl.gov/openssh/portable/%SUBDIR%/
 MASTER_SITE_SUBDIR=    # empty
-PKGNAMESUFFIX= ${PORTABLE_SUFFIX}${GSSAPI_SUFFIX}${BASE_SUFFIX}
+PKGNAMESUFFIX?=        ${PORTABLE_SUFFIX}${GSSAPI_SUFFIX}${BASE_SUFFIX}
 DISTNAME=      # empty

 MAINTAINER=    mnag at FreeBSD.org
-=-

regenerate INDEX-6, and the entry is now there:

grep gssapi /usr/ports/INDEX-6
[...]
openssh-gssapi-4.3.p2_1,1|/usr/ports/security/openssh-portable|/usr/local|The
portable version of OpenBSD's
OpenSSH|/usr/ports/security/openssh-portable/pkg-descr|mnag at FreeBSD.org|security
ipv6|perl-5.8.8||http://www.openssh.org/portable.html|perl-5.8.8|perl-5.8.8|

Being unfamiliar with port variables, is there a reason why there was a
question mark at the end of PKGNAMESUFFIX?  Can it be removed safely?

Best Wishes - Peter



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060621/365202e6/signature.pgp


More information about the freebsd-ports mailing list