ports/56302: [PATCH] www/mod_auth_kerb: fix build on -current

Sergey Matveychuk sem at ciam.ru
Tue Sep 2 09:00:34 UTC 2003


>Number:         56302
>Category:       ports
>Synopsis:       [PATCH] www/mod_auth_kerb: fix build on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 02 02:00:32 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD avim.ciam.ru 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #0: Wed Aug 20 10:16:57 MSD 2003
>Description:
Because of accsident line break in source file, gcc 3.3 does not compile
this port.
And I make using an APACHE_PORT instead of hardcoded path.

Port maintainer (wollman at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.26
>How-To-Repeat:
>Fix:

--- mod_auth_kerb-4.11_1.patch begins here ---
diff -ruN --exclude=CVS /orion/usr/ports/www/mod_auth_kerb.orig/Makefile /orion/usr/ports/www/mod_auth_kerb/Makefile
--- /orion/usr/ports/www/mod_auth_kerb.orig/Makefile	Tue Sep  2 11:55:38 2003
+++ /orion/usr/ports/www/mod_auth_kerb/Makefile	Tue Sep  2 12:14:04 2003
@@ -20,17 +20,23 @@
 #
 # This module allows users to send their Kerberos password in
 # plain text; it should only be used over an encrypted connection
-# (i.e., HTTP over SSL/TLS).  Thus, we require as a dependency
-# a version of Apache which can do this.
+# (i.e., HTTP over SSL/TLS).  Thus, be sure your version of Apache
+# can do this.
 #
-BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13-modssl
-RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13-modssl
+BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
+RUN_DEPENDS=	${BUILD_DEPENDS}
 LIB_DEPENDS=	krb5.3:${PORTSDIR}/security/krb5
 
 WRKSRC=		${WRKDIR}/src/modules/kerberos
 
 APXS?=		${LOCALBASE}/sbin/apxs
+APACHE_PORT?=	${PORTSDIR}/www/apache13-modssl
 KRB5_HOME?=	${LOCALBASE}
+
+USE_REINPLACE=	yes
+
+do-patch:
+	${REINPLACE_CMD} '379N;s/\n/ /' ${WRKSRC}/mod_auth_kerb.c
 
 do-build:
 	cd ${WRKSRC} && \
--- mod_auth_kerb-4.11_1.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list