Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2004 11:41:12 -0500 (CDT)
From:      "Paul Seniura" <pdseniura@techie.com>
To:        "Josef Karthauser" <joe@FreeBSD.org>
Cc:        src-committers@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)
Message-ID:  <20040521164112.0C5275C78@techpc04.okladot.state.ok.us>
In-Reply-To: <200405202149.i4KLn4bH031814@repoman.freebsd.org> <200405190918.i4J9I8WJ002677@repoman.freebsd.org>
References:  <200405202149.i4KLn4bH031814@repoman.freebsd.org> <200405190918.i4J9I8WJ002677@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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