/usr/lib/news/innshellvars.pl is in inn 1:1.7.2q-41build1.
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 222 223 224 | #
# Author: James Brister <brister@vix.com> -- berkeley-unix --
# Start Date: Sat, 24 Aug 1996 22:08:19 +0200
# Project: INN
# File: innshellvars.pl
# RCSId: $Id: innshellvars.pl,v 1.13 1996/12/05 00:43:46 brister Exp $
# Description: Set up any and all variables that an INN perl script
# might need.
package inn ;
## =()<$active = "@<_PATH_ACTIVE>@" ;>()=
$active = "/var/lib/news/active" ;
## =()<$activetimes = "@<_PATH_ACTIVETIMES>@" ;>()=
$activetimes = "/var/lib/news/active.times" ;
## =()<$awk = "@<_PATH_AWK>@" ;>()=
$awk = "/usr/bin/awk" ;
## =()<$batch = "@<_PATH_BATCHDIR>@" ;>()=
$batch = "/var/spool/news/out.going" ;
## =()<$compress = "@<_PATH_COMPRESS>@" ;>()=
$compress = "/bin/gzip" ;
## =()<$controlprogs = "@<_PATH_CONTROLPROGS>@" ;>()=
$controlprogs = "/usr/lib/news/control" ;
## =()<$ctlfile = "@<_PATH_CONTROLCTL>@" ;>()=
$ctlfile = "/etc/news/control.ctl" ;
## =()<$cycles = @<LOG_CYCLES>@ ;>()=
$cycles = 7 ;
## =()<$daily = "@<_PATH_LOCKS>@/LOCK.news.daily" ;>()=
$daily = "/var/run/innd/LOCK.news.daily" ;
## =()<$inndf = "@<INNWATCH_DF>@" ;>()=
$inndf = "/bin/df" ;
## =()<$egrep = "@<_PATH_EGREP>@" ;>()=
$egrep = "/bin/egrep" ;
## =()<$errlog = "@<_PATH_ERRLOG>@" ;>()=
$errlog = "/var/log/news/errlog" ;
## =()<$ctlwatch = "@<_PATH_CTLWATCH>@" ;>()=
$ctlwatch = "/etc/news/innwatch.ctl" ;
## =()<$have_uustat = ("@<HAVE_UUSTAT>@" eq "DO" ? 1 : 0) ;>()=
$have_uustat = ("DO" eq "DO" ? 1 : 0) ;
## =()<$history = "@<_PATH_HISTORY>@" ;>()=
$history = "/var/lib/news/history" ;
## =()<$incoming = "@<_PATH_SPOOLNEWS>@" ;>()=
$incoming = "/var/spool/news/in.coming" ;
## =()<$inews = "@<_PATH_INEWS>@" ;>()=
$inews = "/usr/bin/inews" ;
## =()<$innconfval = "@<_PATH_NEWSBIN>@/innconfval" ;>()=
$innconfval = "/usr/lib/news/bin/innconfval" ;
## =()<$innd = "@<_PATH_INND>@" ;>()=
$innd = "/usr/sbin/innd" ;
## =()<$innddir = "@<_PATH_INNDDIR>@" ;>()=
$innddir = "/var/run/innd" ;
## =()<$inndstart = "@<_PATH_INNDSTART>@" ;>()=
$inndstart = "/usr/sbin/inndstart" ;
## =()<$innwatch = "@<_PATH_NEWSBIN>@/innwatch" ;>()=
$innwatch = "/usr/lib/news/bin/innwatch" ;
## =()<$locks = "@<_PATH_LOCKS>@" ;>()=
$locks = "/var/run/innd" ;
## =()<$log = "@<_PATH_LOGFILE>@" ;>()=
$log = "/var/log/news/log" ;
## =()<$mail_badcontrols = ("@<MAIL_BADCONTROLS>@" eq "DO" ? 1 : 0) ;>()=
$mail_badcontrols = ("DONT" eq "DO" ? 1 : 0) ;
## =()<$mailcmd = "@<_PATH_MAILCMD>@" ;>()=
$mailcmd = "/usr/bin/mail" ;
## =()<$most_logs = "@<_PATH_MOST_LOGS>@" ;>()=
$most_logs = "/var/log/news" ;
## =()<$newactive = "@<_PATH_NEWACTIVE>@" ;>()=
$newactive = "/var/lib/news/active.tmp" ;
## =()<$newsbin = "@<_PATH_NEWSBIN>@" ;>()=
$newsbin = "/usr/lib/news/bin" ;
## =()<$newscontrol = "@<_PATH_NEWSCONTROL>@" ;>()=
$newscontrol = "/var/run/innd/control" ;
## =()<$newsfeeds = "@<_PATH_NEWSFEEDS>@" ;>()=
$newsfeeds = "/etc/news/newsfeeds" ;
## =()<$newsgroups = "@<_PATH_NEWSGROUPS>@" ;>()=
$newsgroups = "/var/lib/news/newsgroups" ;
## =()<$newslib = "@<_PATH_NEWSLIB>@" ;>()=
$newslib = "/var/lib/news" ;
## =()<$newsmaster = "@<NEWSMASTER>@" ;>()=
$newsmaster = "usenet" ;
## =()<$newsuser = "@<NEWSUSER>@" ;>()=
$newsuser = "news" ;
## =()<$nntpconnect = "@<_PATH_NNTPCONNECT>@" ;>()=
$nntpconnect = "/var/run/innd/nntpin" ;
## =()<$oldactive = "@<_PATH_OLDACTIVE>@" ;>()=
$oldactive = "/var/lib/news/active.old" ;
## =()<$perl = "@<_PATH_PERL>@" ;>()=
$perl = "/usr/bin/perl" ;
## =()<$rnews = "@<_PATH_RNEWS>@" ;>()=
$rnews = "/usr/bin/rnews" ;
## =()<$sed = "@<_PATH_SED>@" ;>()=
$sed = "/bin/sed" ;
## =()<$sort = "@<_PATH_SORT>@" ;>()=
$sort = "/usr/bin/sort" ;
## =()<$sendmail = "@<_PATH_SENDMAIL>@" ;>()=
$sendmail = "/usr/sbin/sendmail -oi %s" ;
## =()<$serverpid = "@<_PATH_SERVERPID>@" ;>()=
$serverpid = "/var/run/innd/innd.pid" ;
## =()<$sleeptime = @<INNWATCH_SLEEPTIME>@ ;>()=
$sleeptime = 600 ;
## =()<$spool = "@<_PATH_SPOOL>@" ;>()=
$spool = "/var/spool/news" ;
## =()<$overviewdir = "@<_PATH_OVERVIEWDIR>@" ;>()=
$overviewdir = "/var/spool/news/over.view" ;
## =()<$innwstatus = "@<_PATH_INNWSTATUS>@" ;>()=
$innwstatus = "/var/run/innd/innwatch.status" ;
## =()<($tempsock = "@<_PATH_TEMPSOCK>@") =~ s!.*/(.*)XXXXXX$!$1*! ;>()=
($tempsock = "/var/run/innd/ctlinndXXXXXX") =~ s!.*/(.*)XXXXXX$!$1*! ;
## =()<($tempsockdir = "@<_PATH_TEMPSOCK>@") =~ s!/[^/]*$!! ;>()=
($tempsockdir = "/var/run/innd/ctlinndXXXXXX") =~ s!/[^/]*$!! ;
## =()<$want_pgpverify = ("@<WANT_PGPVERIFY>@" eq "DO" ? 1 : 0) ;>()=
$want_pgpverify = ("DO" eq "DO" ? 1 : 0) ;
## =()<$watchpid = "@<_PATH_WATCHPID>@" ;>()=
$watchpid = "/var/run/innd/innwatch.pid" ;
## =()<$z = "@<_PATH_COMPRESSEXT>@" ;>()=
$z = ".gz" ;
## =()<$perl_support = ("@<PERL_SUPPORT>@" eq "DO" ? 1 : 0) ;>()=
$perl_support = ("DO" eq "DO" ? 1 : 0) ;
## =()<$perl_startup_innd = "@<_PATH_PERL_STARTUP_INND>@" ;>()=
$perl_startup_innd = "/etc/news/scripts/startup_innd.pl" ;
## =()<$perl_filter_innd = "@<_PATH_PERL_FILTER_INND>@" ;>()=
$perl_filter_innd = "/etc/news/scripts/filter_innd.pl" ;
## =()<$perl_filter_nnrpd = "@<_PATH_PERL_FILTER_NNRPD>@" ;>()=
$perl_filter_nnrpd = "/etc/news/scripts/filter_nnrpd.pl" ;
## =()<$tcl_support = ("@<TCL_SUPPORT>@" eq "DO" ? 1 : 0) ;>()=
$tcl_support = ("DONT" eq "DO" ? 1 : 0) ;
#### =()<$path_tcl_startup = "@<_PATH_TCL_STARTUP>@" ;>()=
$path_tcl_startup = "/etc/news/scripts/startup.tcl" ;
#### =()<$path_tcl_filter = "@<_PATH_TCL_FILTER>@" ;>()=
$path_tcl_filter = "/etc/news/scripts/filter.tcl" ;
$localgroups = "$newslib/localgroups" ;
if ( ! defined ($ENV{'TMPDIR'}) ) {
## =()< $ENV{'TMPDIR'} = "@<_PATH_TMP>@" ;>()=
$ENV{'TMPDIR'} = "/var/spool/news/in.coming/tmp" ;
}
$tmpdir = $ENV{'TMPDIR'} ;
## =()<$expirectl = "@<_PATH_EXPIRECTL>@" ;>()=
$expirectl = "/etc/news/expire.ctl" ;
## =()<$newshome = "@<_PATH_NEWSHOME>@" ;>()=
$newshome = "/usr/lib/news" ;
## =()<$archivedir = "@<_PATH_ARCHIVEDIR>@" ;>()=
$archivedir = "/var/spool/news/news.archive" ;
## =()<$badnews = "@<_PATH_BADNEWS>@" ;>()=
$badnews = "/var/spool/news/in.coming/bad" ;
#### =()<$spoolnews = "@<_PATH_SPOOLNEWS>@" ;>()=
$spoolnews = "/var/spool/news/in.coming" ;
#### =()<$spooltemp = "@<_PATH_SPOOLTEMP>@" ;>()=
$spooltemp = "/var/spool/news/in.coming/tmp" ;
$newslbin = "$newshome/local" ;
## =()<$umask = @<NEWSUMASK>@ ;>()=
$umask = 02 ;
$ENV{'PATH'} = "${newslbin}:${newsbin}:$ENV{'PATH'}:/bin:/usr/bin:/usr/sbin" ;
1 ;
|