From owner-freebsd-ports Sat Aug 18 20:40:37 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1CDC337B412 for ; Sat, 18 Aug 2001 20:40:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7J3eTe94564; Sat, 18 Aug 2001 20:40:29 -0700 (PDT) (envelope-from gnats) Received: from postoffice.aims.com.au (advanc2.lnk.telstra.net [139.130.119.73]) by hub.freebsd.org (Postfix) with ESMTP id 9842037B405 for ; Sat, 18 Aug 2001 20:39:08 -0700 (PDT) (envelope-from chris@aims.com.au) Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2]) by postoffice.aims.com.au with ESMTP id f7J3d3614794 for ; Sun, 19 Aug 2001 13:39:03 +1000 (EST) (envelope-from chris@aims.com.au) Received: from ntsts1 by aims.com.au with SMTP (MDaemon.v3.5.3.R) for ; Sun, 19 Aug 2001 13:38:01 +1000 Message-Id: <200108190335.f7J3ZL413853@postoffice.aims.com.au> Date: Sun, 19 Aug 2001 13:37:59 +1000 From: chris@aims.com.au Reply-To: To: X-Send-Pr-Version: 3.2 Subject: ports/29865: [PATCH] security/krb5: Alternate site for non-US users Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 29865 >Category: ports >Synopsis: [PATCH] security/krb5: Alternate site for non-US users >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 18 20:40:27 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 4.2-RELEASE i386 >Organization: AIMS Independent Computer Professionals >Environment: FreeBSD storm.aims.private 4.2-RELEASE FreeBSD 4.2-RELEASE #2: Fri Feb 9 11:22:02 EST 2001 root@storm.aims.private:/usr/src/sys-altq/compile/FIREWALL i386 >Description: MIT Kerberos isn't available for non-US users at the URL listed in the Makefile. A little invesigation found an alternate site for MIT Kerberos. This could be tidied up, but I wanted to leave the current behaviour as-is. >How-To-Repeat: N/A >Fix: --- ports/security/krb5/Makefile.old Thu Jul 26 18:53:23 2001 +++ ports/security/krb5/Makefile Sun Aug 19 12:58:56 2001 @@ -24,6 +24,10 @@ MAKE_ARGS= INSTALL="${INSTALL}" KRB5_KRB4_COMPAT?= YES +.if ${USA_RESIDENT} == "NO" +MASTER_SITES= http://www.crypto-publish.org/dist/mit-kerberos5/ +.endif + .if !defined(KRB5_KRB4_COMPAT) || ${KRB5_KRB4_COMPAT} == "NO" CONFIGURE_ARGS+= --without-krb4 .endif @@ -56,6 +60,7 @@ admin_toc.html krb425.html user-guide_toc.html \ install.html krb425_toc.html +.if ${USA_RESIDENT} == "YES" do-fetch: @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO} ""; \ @@ -70,6 +75,7 @@ ${ECHO} " it in ${DISTDIR}. Then run make again."; \ ${FALSE}; \ fi +.endif pre-build: .if !defined(KRB5_KRB4_COMPAT) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message