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)
Paul Seniura
pdseniura at techie.com
Fri May 21 09:47:22 PDT 2004
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. <sigh>)
(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.
_______________________________________________
freebsd-current at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the cvs-src
mailing list