/usr/lib/news/innshellvars.tcl is in inn 1:1.7.2q-44.1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | # -*- tcl -*-
#
# Author: James Brister <brister@vix.com> -- berkeley-unix --
# Start Date: Sat, 24 Aug 1996 23:45:34 +0200
# Project: INN
# File: innshellvars.tcl
# RCSId: $Id: innshellvars.tcl,v 1.11 1996/12/05 00:43:46 brister Exp $
# Description: Set up any and all variables that an INN tcl script
# might need.
## =()<set inn_active "@<_PATH_ACTIVE>@">()=
set inn_active "/var/lib/news/active"
## =()<set inn_activetimes "@<_PATH_ACTIVETIMES>@">()=
set inn_activetimes "/var/lib/news/active.times"
## =()<set inn_awk "@<_PATH_AWK>@">()=
set inn_awk "/usr/bin/awk"
## =()<set inn_batch "@<_PATH_BATCHDIR>@">()=
set inn_batch "/var/spool/news/out.going"
## =()<set inn_compress "@<_PATH_COMPRESS>@">()=
set inn_compress "/bin/gzip"
## =()<set inn_controlprogs "@<_PATH_CONTROLPROGS>@">()=
set inn_controlprogs "/usr/lib/news/control"
## =()<set inn_ctlfile "@<_PATH_CONTROLCTL>@">()=
set inn_ctlfile "/etc/news/control.ctl"
## =()<scan "@<LOG_CYCLES>@" "%d" inn_cycles>()=
scan "7" "%d" inn_cycles
## =()<set inn_daily "@<_PATH_LOCKS>@/LOCK.news.daily">()=
set inn_daily "/run/innd/LOCK.news.daily"
## =()<set inn_inndf "@<INNWATCH_DF>@">()=
set inn_inndf "/bin/df"
## =()<set inn_egrep "@<_PATH_EGREP>@">()=
set inn_egrep "/bin/egrep"
## =()<set inn_errlog "@<_PATH_ERRLOG>@">()=
set inn_errlog "/var/log/news/errlog"
## =()<set inn_ctlwatch "@<_PATH_CTLWATCH>@">()=
set inn_ctlwatch "/etc/news/innwatch.ctl"
## =()<set inn_have_uustat [ expr { "@<HAVE_UUSTAT>@" == "DO" ? 1 : 0 } ]>()=
set inn_have_uustat [ expr { "DO" == "DO" ? 1 : 0 } ]
## =()<set inn_history "@<_PATH_HISTORY>@">()=
set inn_history "/var/lib/news/history"
## =()<set inn_incoming "@<_PATH_SPOOLNEWS>@">()=
set inn_incoming "/var/spool/news/in.coming"
## =()<set inn_inews "@<_PATH_INEWS>@">()=
set inn_inews "/usr/bin/inews"
## =()<set inn_innconfval "@<_PATH_NEWSBIN>@/innconfval">()=
set inn_innconfval "/usr/lib/news/bin/innconfval"
## =()<set inn_innd "@<_PATH_INND>@">()=
set inn_innd "/usr/sbin/innd"
## =()<set inn_innddir "@<_PATH_INNDDIR>@">()=
set inn_innddir "/run/innd"
## =()<set inn_inndstart "@<_PATH_INNDSTART>@">()=
set inn_inndstart "/usr/sbin/inndstart"
## =()<set inn_innwatch "@<_PATH_NEWSBIN>@/innwatch">()=
set inn_innwatch "/usr/lib/news/bin/innwatch"
## =()<set inn_locks "@<_PATH_LOCKS>@">()=
set inn_locks "/run/innd"
## =()<set inn_log "@<_PATH_LOGFILE>@">()=
set inn_log "/var/log/news/log"
## =()<set inn_mail_badcontrols [ expr { "@<MAIL_BADCONTROLS>@" == "DO" ? 1 : 0 } ]>()=
set inn_mail_badcontrols [ expr { "DONT" == "DO" ? 1 : 0 } ]
## =()<set inn_mailcmd "@<_PATH_MAILCMD>@">()=
set inn_mailcmd "/usr/bin/mail"
## =()<set inn_most_logs "@<_PATH_MOST_LOGS>@">()=
set inn_most_logs "/var/log/news"
## =()<set inn_newactive "@<_PATH_NEWACTIVE>@">()=
set inn_newactive "/var/lib/news/active.tmp"
## =()<set inn_newsbin "@<_PATH_NEWSBIN>@">()=
set inn_newsbin "/usr/lib/news/bin"
## =()<set inn_newscontrol "@<_PATH_NEWSCONTROL>@">()=
set inn_newscontrol "/run/innd/control"
## =()<set inn_newsfeeds "@<_PATH_NEWSFEEDS>@">()=
set inn_newsfeeds "/etc/news/newsfeeds"
## =()<set inn_newsgroups "@<_PATH_NEWSGROUPS>@">()=
set inn_newsgroups "/var/lib/news/newsgroups"
## =()<set inn_newslib "@<_PATH_NEWSLIB>@">()=
set inn_newslib "/var/lib/news"
## =()<set inn_newsmaster "@<NEWSMASTER>@">()=
set inn_newsmaster "usenet"
## =()<set inn_newsuser "@<NEWSUSER>@">()=
set inn_newsuser "news"
## =()<set inn_nntpconnect "@<_PATH_NNTPCONNECT>@">()=
set inn_nntpconnect "/run/innd/nntpin"
## =()<set inn_oldactive "@<_PATH_OLDACTIVE>@">()=
set inn_oldactive "/var/lib/news/active.old"
## =()<set inn_perl "@<_PATH_PERL>@">()=
set inn_perl "/usr/bin/perl"
## =()<set inn_rnews "@<_PATH_RNEWS>@">()=
set inn_rnews "/usr/bin/rnews"
## =()<set inn_sed "@<_PATH_SED>@">()=
set inn_sed "/bin/sed"
## =()<set inn_sort "@<_PATH_SORT>@">()=
set inn_sort "/usr/bin/sort"
## =()<set inn_sendmail "@<_PATH_SENDMAIL>@">()=
set inn_sendmail "/usr/sbin/sendmail -oi %s"
## =()<set inn_serverpid "@<_PATH_SERVERPID>@">()=
set inn_serverpid "/run/innd/innd.pid"
## =()<scan "@<INNWATCH_SLEEPTIME>@" "%d" inn_sleeptime>()=
scan "600" "%d" inn_sleeptime
## =()<set inn_spool "@<_PATH_SPOOL>@">()=
set inn_spool "/var/spool/news"
## =()<set inn_overviewdir "@<_PATH_OVERVIEWDIR>@">()=
set inn_overviewdir "/var/spool/news/over.view"
## =()<set inn_innwstatus "@<_PATH_INNWSTATUS>@">()=
set inn_innwstatus "/run/innd/innwatch.status"
## =()<set inn_tempsock [ eval exec basename @<_PATH_TEMPSOCK>@ | $inn_sed -e {s/XXXXXX$/*/} ]>()=
set inn_tempsock [ eval exec basename /run/innd/ctlinndXXXXXX | $inn_sed -e {s/XXXXXX$/*/} ]
## =()<set inn_tempsockdir [ exec echo @<_PATH_TEMPSOCK>@ | $inn_sed -e {s@/[^/]*$@@} ]>()=
set inn_tempsockdir [ exec echo /run/innd/ctlinndXXXXXX | $inn_sed -e {s@/[^/]*$@@} ]
## =()<set inn_want_pgpverify [ expr { "@<WANT_PGPVERIFY>@" == "DO" ? 1 : 0 } ]>()=
set inn_want_pgpverify [ expr { "DO" == "DO" ? 1 : 0 } ]
## =()<set inn_watchpid "@<_PATH_WATCHPID>@">()=
set inn_watchpid "/run/innd/innwatch.pid"
## =()<set inn_z "@<_PATH_COMPRESSEXT>@">()=
set inn_z ".gz"
## =()<set inn_perl_support [ expr { "@<PERL_SUPPORT>@" == "DO" ? 1 : 0 } ]>()=
set inn_perl_support [ expr { "DO" == "DO" ? 1 : 0 } ]
## =()<set inn_perl_startup_innd "@<_PATH_PERL_STARTUP_INND>@">()=
set inn_perl_startup_innd "/etc/news/scripts/startup_innd.pl"
## =()<set inn_perl_filter_innd "@<_PATH_PERL_FILTER_INND>@">()=
set inn_perl_filter_innd "/etc/news/scripts/filter_innd.pl"
## =()<set inn_perl_filter_nnrpd "@<_PATH_PERL_FILTER_NNRPD>@">()=
set inn_perl_filter_nnrpd "/etc/news/scripts/filter_nnrpd.pl"
## =()<set inn_tcl_support [ expr { "@<TCL_SUPPORT>@" == "DO" ? 1 : 0 } ]>()=
set inn_tcl_support [ expr { "DONT" == "DO" ? 1 : 0 } ]
## =()<set inn_path_tcl_startup "@<_PATH_TCL_STARTUP>@">()=
set inn_path_tcl_startup "/etc/news/scripts/startup.tcl"
## =()<set inn_path_tcl_filter "@<_PATH_TCL_FILTER>@">()=
set inn_path_tcl_filter "/etc/news/scripts/filter.tcl"
set inn_localgroups "$inn_newslib/localgroups"
if {[info exists env(TMPDIR)] != 1} {
## =()< set env(TMPDIR) "@<_PATH_TMP>@">()=
set env(TMPDIR) "/var/spool/news/in.coming/tmp"
}
set inn_tmpdir $env(TMPDIR)
## =()<set inn_expirectl "@<_PATH_EXPIRECTL>@">()=
set inn_expirectl "/etc/news/expire.ctl"
## =()<set inn_newshome "@<_PATH_NEWSHOME>@">()=
set inn_newshome "/usr/lib/news"
## =()<set inn_archivedir "@<_PATH_ARCHIVEDIR>@">()=
set inn_archivedir "/var/spool/news/news.archive"
## =()<set inn_badnews "@<_PATH_BADNEWS>@">()=
set inn_badnews "/var/spool/news/in.coming/bad"
#### =()<set inn_spoolnews "@<_PATH_SPOOLNEWS>@">()=
set inn_spoolnews "/var/spool/news/in.coming"
#### =()<set inn_spooltemp "@<_PATH_SPOOLTEMP>@">()=
set inn_spooltemp "/var/spool/news/in.coming/tmp"
##
set inn_newslbin "$inn_newshome/local"
## =()<scan "@<NEWSUMASK>@" "%o" inn_umask>()=
scan "02" "%o" inn_umask
set env(PATH) "$inn_newslbin:$inn_newsbin:$env(PATH):/bin:/usr/bin:/usr/sbin"
|