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)

From: Paul Seniura <pdseniura_at_techie.com>
Date: Fri, 21 May 2004 11:41:12 -0500 (CDT)
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_at_' 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.
Received on Fri May 21 2004 - 07:42:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC