From owner-freebsd-ports@FreeBSD.ORG Wed Sep 16 00:16:07 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76F90106566B for ; Wed, 16 Sep 2009 00:16:07 +0000 (UTC) (envelope-from tjg@soe.ucsc.edu) Received: from mail-01.cse.ucsc.edu (mail-01.cse.ucsc.edu [128.114.48.32]) by mx1.freebsd.org (Postfix) with ESMTP id 595F48FC12 for ; Wed, 16 Sep 2009 00:16:07 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-01.cse.ucsc.edu (Postfix) with ESMTP id 241FB10095D6; Tue, 15 Sep 2009 17:16:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at mail-01.cse.ucsc.edu Received: from mail-01.cse.ucsc.edu ([127.0.0.1]) by localhost (mail-01.cse.ucsc.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LSoEEsjYIn1X; Tue, 15 Sep 2009 17:16:07 -0700 (PDT) Received: from mail-01.cse.ucsc.edu (mail-01.cse.ucsc.edu [128.114.48.32]) by mail-01.cse.ucsc.edu (Postfix) with ESMTP id 0BCB91008648; Tue, 15 Sep 2009 17:16:07 -0700 (PDT) Date: Tue, 15 Sep 2009 17:16:07 -0700 (PDT) From: Tim Gustafson To: Mel Flynn Message-ID: <323026675.1320841253060167009.JavaMail.root@mail-01.cse.ucsc.edu> In-Reply-To: <1326872885.1320791253060132378.JavaMail.root@mail-01.cse.ucsc.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_29272_1051975718.1253060167007" X-Originating-IP: [128.114.49.22] X-Mailer: Zimbra 5.0.15_GA_2851.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2851.RHEL5_64) Cc: freebsd-ports@freebsd.org Subject: Re: Creating a New Port: /usr/ports/security/pecl-kadm5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 00:16:07 -0000 ------=_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--