Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 17:16:07 -0700 (PDT)
From:      Tim Gustafson <tjg@soe.ucsc.edu>
To:        Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Creating a New Port: /usr/ports/security/pecl-kadm5
Message-ID:  <323026675.1320841253060167009.JavaMail.root@mail-01.cse.ucsc.edu>
In-Reply-To: <1326872885.1320791253060132378.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_29272_1051975718.1253060167007
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

> Ah yes, didn't test on earlier versions. It's passed midnight here,
> but I'll add fixes for 7 and 6.x if possible. You probably need to 
> add -lroken to the link chain for this. If you get what's happening
> in files/patch-config.m4 you can try and fix it yourself.

Thanks for all your help on this - I'm really getting excited about the prospect of using this library.  I've been holding out for like a year now.  :\

I got a bit further than before - I'm attaching the updated files/patch-config.m4 file.  I added roken and also com_err.  The library compiles and I can call functions in it.

However, this is what I'm getting in the Apache error log now:

foo/admin@BLAH.LOCAL's Password:

It looks like it's trying to prompt me for a password interactively over STDERR or something at the server level.

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
tjg@soe.ucsc.edu
831-459-5354
------=_Part_29272_1051975718.1253060167007
Content-Type: application/octet-stream; name=patch-config.m4
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch-config.m4

--- config.m4.orig      2003-05-09 16:28:45.000000000 +0200
+++ config.m4   2009-09-15 23:41:56.000000000 +0200
36a37,58
>   SEARCH_PATH="/usr/local/include /usr/include /usr/src/krb5-1.2.4/src/include"
>   SEARCH_FOR="kadm5/kadm5_err.h"
>   AC_MSG_CHECKING(for kadm5/kadm5_err.h)
>   for i in $SEARCH_PATH ; do
>     if test -r $i/$SEARCH_FOR; then
>       AC_DEFINE(HAVE_KADM5_ERR_H, [], [Wether kadm5/kadm5_err.h is present])
>       AC_MSG_RESULT(found in $i)
>     fi
>   done
>   AC_MSG_CHECKING(various enum values)
>   ENUMS="KADM5_AUTH_SETKEY KADM5_SETKEY_DUP_ENCTYPES"
>   found=0
>   for i in $ENUMS; do
>     if grep -q $i $KADM5_DIR/*; then
>       AC_DEFINE([HAVE_$i], [], [System has $i])
>       AC_MSG_RESULT($i)
>       found=1
>     fi
>   done
>   if test $found -eq 0; then
>     AC_MSG_RESULT(none)
>   fi
59c81
<   PHP_ADD_LIBRARY_WITH_PATH(gssrpc, /usr/lib, KADM5_SHARED_LIBADD)
---
>   dnl not needed in FreeBSD PHP_ADD_LIBRARY_WITH_PATH(gssrpc, /usr/lib, KADM5_SHARED_LIBADD)
61,62c83,88
<   PHP_ADD_LIBRARY_WITH_PATH(k5crypto, /usr/lib, KADM5_SHARED_LIBADD)
<   PHP_ADD_LIBRARY_WITH_PATH(dyn, /usr/lib, KADM5_SHARED_LIBADD)
---
>   dnl not needed in FreeBSD PHP_ADD_LIBRARY_WITH_PATH(k5crypto, /usr/lib, KADM5_SHARED_LIBADD)
>   dnl not needed in FreeBSD PHP_ADD_LIBRARY_WITH_PATH(dyn, /usr/lib, KADM5_SHARED_LIBADD)
>   dnl needed for FreeBSD:
>   PHP_ADD_LIBRARY_WITH_PATH(asn1, /usr/lib, KADM5_SHARED_LIBADD)
>   PHP_ADD_LIBRARY_WITH_PATH(roken, /usr/lib, KADM5_SHARED_LIBADD)
>   PHP_ADD_LIBRARY_WITH_PATH(com_err, /usr/lib, KADM5_SHARED_LIBADD)

------=_Part_29272_1051975718.1253060167007--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?323026675.1320841253060167009.JavaMail.root>