/usr/lib/news/innshellvars.tcl is in inn2 2.6.1-2.
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 | # -*- 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.in 9145 2010-10-30 09:44:46Z iulius $
# Description: Set up any and all variables that an INN tcl script
# might need. Also sets umask.
set env(LC_CTYPE) "C"
set prefix "/usr/lib/news"
set exec_prefix "${prefix}"
eval [exec ${exec_prefix}/bin/innconfval -t]
set inn_newshome "$inn_pathnews"
set inn_spooldir "$inn_pathspool"
set inn_most_logs "$inn_pathlog"
set env(NEWSHOME) "$inn_newshome"
set env(SPOOLDIR) "$inn_spooldir"
set env(MOST_LOGS) "$inn_most_logs"
set inn_newsbin "${inn_pathbin}"
set inn_newsetc "${inn_pathetc}"
set inn_newslib "/usr/lib/news"
set inn_innddir "${inn_pathrun}"
set inn_locks "${inn_pathrun}"
set env(NEWSBIN) "$inn_newsbin"
set env(NEWSETC) "$inn_newsetc"
set env(NEWSLIB) "$inn_newslib"
set env(INNDDIR) "$inn_innddir"
set env(LOCKS) "$inn_locks"
set inn_errlog "${inn_most_logs}/errlog"
set inn_log "${inn_most_logs}/news"
set inn_archivedir "${inn_patharchive}"
set inn_spool "${inn_patharticles}"
set inn_batch "${inn_pathoutgoing}"
set inn_incoming "${inn_pathincoming}"
set inn_overviewdir "${inn_pathoverview}"
set inn_spoolnews "${inn_pathincoming}"
set inn_badnews "${inn_pathincoming}/bad"
set inn_active "${inn_pathdb}/active"
set inn_activetimes "${inn_pathdb}/active.times"
set inn_ctlfile "${inn_newsetc}/control.ctl"
set inn_ctlwatch "${inn_newsetc}/innwatch.ctl"
set inn_history "${inn_pathdb}/history"
set inn_newactive "${inn_pathdb}/active.tmp"
set inn_newsfeeds "${inn_newsetc}/newsfeeds"
set inn_newsgroups "${inn_pathdb}/newsgroups"
set inn_oldactive "${inn_pathdb}/active.old"
set inn_path_motd_innd "${inn_newsetc}/motd.innd"
set inn_path_motd_nnrpd "${inn_newsetc}/motd.nnrpd"
set inn_path_motd "${inn_path_motd_nnrpd}"
set inn_expirectl "${inn_newsetc}/expire.ctl"
set inn_localgroups "${inn_newsetc}/localgroups"
set inn_controlprogs "${inn_pathcontrol}"
set inn_innconfval "${inn_newsbin}/innconfval"
set inn_innd "${inn_newsbin}/innd"
set inn_innwatch "${inn_newsbin}/innwatch"
set inn_inews "${inn_newsbin}/inews"
set inn_rnews "${inn_newsbin}/rnews"
set inn_perl_startup_innd "${inn_pathfilter}/startup_innd.pl"
set inn_perl_filter_innd "${inn_pathfilter}/filter_innd.pl"
set inn_perl_filter_nnrpd "${inn_pathfilter}/filter_nnrpd.pl"
set inn_python_filter_innd "${inn_pathfilter}/filter_innd.py"
set inn_path_python_inn_module "${inn_pathfilter}/INN.py"
set inn_path_tcl_startup "${inn_pathfilter}/startup.tcl"
set inn_path_tcl_filter "${inn_pathfilter}/filter.tcl"
set inn_daily "${inn_locks}/locks/LOCK.news.daily"
set inn_newscontrol "${inn_innddir}/control"
set inn_nntpconnect "${inn_innddir}/nntpin"
set inn_serverpid "${inn_innddir}/innd.pid"
set inn_innwstatus "${inn_innddir}/innwatch.status"
set inn_watchpid "${inn_innddir}/innwatch.pid"
set inn_awk "awk"
set inn_sed "sed"
set inn_inndf "${inn_newsbin}/inndf"
set inn_egrep "egrep"
set inn_perl "/usr/bin/perl"
set inn_gpgv "/usr/bin/gpgv"
set inn_pgp ""
set inn_sort "sort"
set inn_getftp "wget"
set inn_uustat ""
set inn_uux "uux"
set inn_bzip2 "/bin/bzip2"
set inn_compress "compress"
set inn_gzip "/bin/gzip"
set inn_uncompress "/bin/gzip -d"
set inn_log_compress "/bin/gzip"
set inn_z ".gz"
if { $inn_ovmethod == "ovdb" } {
set inn_db_home "${inn_pathoverview}"
set env(DB_HOME) "${inn_db_home}"
}
set inn_tempsock [ eval exec basename ${inn_innddir}/ctlinndXXXXXX | $inn_sed -e {s/XXXXXX$/*/} ]
set inn_tempsockdir [ exec echo ${inn_innddir}/ctlinndXXXXXX | $inn_sed -e {s@/[^/]*$@@} ]
set inn_newsmaster "usenet"
set inn_newsuser "${inn_runasuser}"
set inn_newsgroup "${inn_runasgroup}"
scan "0664" "%o" inn_filemode
scan "0550" "%o" inn_inewsmode
scan "07550" "%o" inn_rnewsmode
set do_dbz_tagged_hash "DONT"
set inn_tmpdir "$inn_pathtmp"
set env(TMPDIR) "$inn_pathtmp"
set inn_spooltemp "$inn_pathtmp"
set inn_newslbin "${inn_newshome}/local"
set env(NEWSLBIN) "$inn_newslbin"
scan "02" "%o" inn_umask
catch {umask 02}
set inn_syslog_facility [ exec echo [string tolower "LOG_NEWS"] | $inn_sed -e {s/log_//} ]
set inn_path "$inn_newslbin:$inn_newsbin:$env(PATH):/bin:/usr/bin"
set env(PATH) "$inn_path"
set inn_home "$inn_pathnews"
## Load another script that can override or add variables.
if {[file executable "${inn_pathetc}/innshellvars.tcl.local"] == 1} {
source "${inn_pathetc}/innshellvars.tcl.local"
}
|