Date: Thu, 7 Jul 2005 16:18:39 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.csail.mit.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83111: mod_auth_kerb is broken on amd64; updated version works Message-ID: <200507072018.j67KIdQt041447@khavrinen.csail.mit.edu> Resent-Message-ID: <200507072020.j67KKEif034202@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83111 >Category: ports >Synopsis: mod_auth_kerb is broken on amd64; updated version works >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jul 07 20:20:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 5.3-STABLE amd64 >Organization: MIT CSAIL >Environment: System: FreeBSD khavrinen.csail.mit.edu 5.3-STABLE FreeBSD 5.3-STABLE #2: Thu Jan 27 16:21:39 EST 2005 wollman@wollman-random-testing.csail.mit.edu:/usr/src/sys/amd64/compile/KHAVRINEN amd64 >Description: The current mod_auth_kerb port crashes on my amd64 machine. (I have not tested it recently on i386). >How-To-Repeat: portinstall mod_auth_kerb configure apache try to use it watch segfaults on console >Fix: The following patch updates the port to the current version. I make no claims for its elegance. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_auth_kerb/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 18 Aug 2004 16:21:46 -0000 1.11 +++ Makefile 7 Jul 2005 20:07:16 -0000 @@ -8,12 +8,11 @@ # Shamelessly stolen from will's mod_auth_any port. PORTNAME= mod_auth_kerb -PORTVERSION= 4.11 -PORTREVISION= 1 +PORTVERSION= 5.0.r6 +DISTNAME= mod_auth_kerb-5.0-rc6 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=modauthkerb - MAINTAINER= apache@FreeBSD.org COMMENT= An Apache module for authenticating users with Kerberos v5 @@ -26,25 +25,13 @@ LIB_DEPENDS= krb5.3:${PORTSDIR}/security/krb5 USE_APACHE= yes -WRKSRC= ${WRKDIR}/src/modules/kerberos KRB5_HOME?= ${LOCALBASE} -USE_REINPLACE= yes - -post-patch: - @${REINPLACE_CMD} '379N;s/\n/ /' ${WRKSRC}/mod_auth_kerb.c -do-build: - cd ${WRKSRC} && \ - ${APXS} -I${KRB5_HOME}/include \ - -DKRB5 -DKRB5_VERIFY_TICKET -DKRB5_SAVE_CREDENTIALS \ - -DKRB5_DEFAULT_KEYTAB=\"\\\"FILE:${LOCALBASE}/etc/apache/keytab\\\"\" \ - -Dkerb_auth_module=auth_kerb_module \ - -c ${PORTNAME}.c \ - -L${KRB5_HOME}/lib -Wl,-rpath -Wl,${KRB5_HOME}/lib \ - -lkrb5 -lk5crypto -lcom_err +# Don't fsck with CFLAGS +CFLAGS:= -do-install: - ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME} --without-krb4 .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/mod_auth_kerb/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 17 Mar 2004 18:29:40 -0000 1.3 +++ distinfo 7 Jul 2005 19:56:45 -0000 @@ -1,2 +1,2 @@ -MD5 (mod_auth_kerb-4.11.tar.gz) = 2f2c8a52117bfa6248a2c688efb52621 -SIZE (mod_auth_kerb-4.11.tar.gz) = 14053 +MD5 (mod_auth_kerb-5.0-rc6.tar.gz) = 274edfb950af20ce6ef0ddcb7c20263a +SIZE (mod_auth_kerb-5.0-rc6.tar.gz) = 68761 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507072018.j67KIdQt041447>