Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 1999 22:36:02 -0400 (EDT)
From:      "Stephen J. Roznowski" <sjr@home.net>
To:        ports@FreeBSD.ORG
Subject:   Comments on addition of local distfile repository
Message-ID:  <199904250236.WAA87397@istari.home.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904250236.WAA87397>