From owner-freebsd-current@FreeBSD.ORG Fri May 21 09:42:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CE0516A4CE; Fri, 21 May 2004 09:42:24 -0700 (PDT) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 756EF43D3F; Fri, 21 May 2004 09:42:23 -0700 (PDT) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])LAA15712; Fri, 21 May 2004 11:41:48 -0500 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004052111422144:91961 ; Fri, 21 May 2004 11:42:21 -0500 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id 0C5275C78; Fri, 21 May 2004 11:41:12 -0500 (CDT) To: "Josef Karthauser" Followup-To: From: "Paul Seniura" Errors-To: "Paul Seniura" Sender: "Paul Seniura" In-Reply-To: <200405202149.i4KLn4bH031814@repoman.freebsd.org> <200405190918.i4J9I8WJ002677@repoman.freebsd.org> References: <200405202149.i4KLn4bH031814@repoman.freebsd.org> <200405190918.i4J9I8WJ002677@repoman.freebsd.org> Message-Id: <20040521164112.0C5275C78@techpc04.okladot.state.ok.us> Date: Fri, 21 May 2004 11:41:12 -0500 (CDT) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 05/21/2004 11:42:21 AM,2003) at 05/21/2004 11:42:22 AM, Serialize complete at 05/21/2004 11:42:22 AM cc: freebsd-current@FreeBSD.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: how can we make these scripts use $PORTS_INDEX instead? (re: cvs commit: src/etc/defaults periodic.conf src/etc/periodic/weekly 400.status-pkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 16:42:24 -0000 Just curious. I have these setenv'd & export'd in root's login: PORTS_DBDIR=/home/My_Ports_Db # where INDEX.db lives PORTS_INDEX=/distfiles/My_Ports_Index/INDEX-5 # we're tracking -Current via CTM in attempt to make them system-wide values. How could we make the periodic.conf scripts use these values, instead and automatically, please? I know I might need to setenv them in /etc/login.conf:default entry, too, so cron jobs can see them. (These are different physical disk drives & mount-points on the development system. TPTB here haven't provided more disk space, so I move things around like this. ) (I put 'Followup-To: -current@' for further discussion if needed.) > Log: > MFC: Allow the location of the INDEX file to specified to pkg_version. > This is particularly convenient on a cluster of machines to prevent > having to rebuild the INDEX file on each. >[...] HEAD branch: > Revision Changes Path > 1.29 +1 -0 src/etc/defaults/periodic.conf +pkg_version_index=/usr/ports/INDEX-5 # Use this index file <-- use ${PORTS_INDEX} instead and RELENG_4 branch: > Revision Changes Path > 1.7.2.15 +2 -0 src/etc/defaults/periodic.conf > 1.1.2.6 +1 -1 src/etc/periodic/weekly/400.status-pkg +pkg_version_index=/usr/ports/INDEX # Use this index file <-- use ${PORTS_INDEX} instead Thank you, -- Paul Seniura System Specialist State of Okla. D.O.T.