From owner-freebsd-ports Sat Apr 24 19:36:14 1999 Delivered-To: freebsd-ports@freebsd.org Received: from istari.home.net (cc158233-a.catv1.md.home.com [24.3.25.17]) by hub.freebsd.org (Postfix) with ESMTP id 1B12C14D61 for ; Sat, 24 Apr 1999 19:36:11 -0700 (PDT) (envelope-from sjr@home.net) Received: (from sjr@localhost) by istari.home.net (8.9.3/8.9.3) id WAA87397 for ports@FreeBSD.ORG; Sat, 24 Apr 1999 22:36:02 -0400 (EDT) (envelope-from sjr) Date: Sat, 24 Apr 1999 22:36:02 -0400 (EDT) From: "Stephen J. Roznowski" Message-Id: <199904250236.WAA87397@istari.home.net> To: ports@FreeBSD.ORG Subject: Comments on addition of local distfile repository Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm wondering if there is any interest in adding a "local distfile" repository to the bsd.port.mk file. I would envision using this to maintain the "hand transferred" distfiles, as well as a convenient place to hold distfiles that are "under development". [I imagine this to be 'expert friendly'] If this were added, you could safely delete /usr/ports/distfiles (to reclaim diskspace) without having to retransfer the restricted ones... Comments? -SR P.S. Proposed patch attached. --- /usr/ports/Mk/bsd.port.mk Sat Apr 24 14:52:33 1999 +++ bsd.port.mk Sat Apr 24 22:13:48 1999 @@ -957,6 +957,13 @@ .endif .endif +# Allow for additional local storage of distfiles +LOCAL_MASTER_SITES?= /usr/local/distfiles +.if exists(${LOCAL_MASTER_SITES}) +MASTER_SITES+= file:${LOCAL_MASTER_SITES} +PATCH_SITES+= file:${LOCAL_MASTER_SITES} +.endif + # Derived names so that they're easily overridable. DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} PKGNAME?= ${DISTNAME} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message