Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37727878
en ru br
ALT Linux repositórios
D:1.2-alt1
4.1: 2.4-alt1
4.0: 2.3.5-alt1

Group :: Sistema/Configurações/Rede
RPM: alterator-apache2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

pax_global_header00006660000000000000000000000064106474020630014514gustar00rootroot0000000000000052 comment=a9b0b261a5d85f2f1ce03d9f80879036881242bc
alterator-apache2-1.2/000075500000000000000000000000001064740206300146525ustar00rootroot00000000000000alterator-apache2-1.2/Makefile000064400000000000000000000011501064740206300163070ustar00rootroot00000000000000NAME=apache2
DESCRIPTION="Web server"

INSTALL=/usr/bin/install

all: build-profile
clean: clean-po clean-profile
install: install-backend install-ui install-po install-profile install-html install-build

include /usr/share/alterator/build/po.mak
include /usr/share/alterator/build/ui2.mak
include /usr/share/alterator/build/backend.mak
include /usr/share/alterator/build/standalone.mak
include /usr/share/alterator/build/fbi.mak
include /usr/share/alterator/build/html-messages.mak

HTML_PO_TEMPLATE=ui/apache2/html-messages.scm

install-build:
$(INSTALL) -d $(datadir)/alterator
cp -a build $(datadir)/alterator
alterator-apache2-1.2/backend3/000075500000000000000000000000001064740206300163245ustar00rootroot00000000000000alterator-apache2-1.2/backend3/apache2000075500000000000000000000337761064740206300175750ustar00rootroot00000000000000#!/bin/sh

APACHE_CONFDIR="/etc/httpd2/conf"
ALTERATOR_SCONF="900-alterator.conf"
VHOSTS_PATH="/var/www/vhosts"
LOG_PATH="/var/log/httpd2"

_()
{
LANG=${in_language%%;*}.utf8 gettext "alterator-apache2" "$1"
}

#turn off auto expansion
set -f

. /usr/share/alterator/build/backend3.sh

print_aes_name()
{
local object="$1"
local name="$2"

case "$name" in
available)
printf '%s-available' "$object"
;;
enabled)
printf '%s-enabled' "$object"
;;
start)
printf '%s-start.d' "$object"
;;
*)
printf ''
;;
esac
}

print_a2used_name()
{
local object="${1%s}"
local enabled="$2"
local s=

case "$enabled" in
yes)
s="en"
;;
no)
s="dis"
;;
esac
printf 'a2%s%s' "$s" "$object"
}

P_VirtualHost="[Vv][Ii][Rr][Tt][Uu][Aa][Ll][Hh][Oo][Ss][Tt]"
P_OT_VirtualHost="^[[:space:]]*<$P_VirtualHost[[:space:]]+[^[:space:]]+>[[:space:]]*(|(.*))\$"
P_ZT_VirtualHost="^[[:space:]]*\/<$P_VirtualHost>[[:space:]]*(|(.*))\$"
P_pre_VirtualHost="1,/$P_OT_VirtualHost/{b}
/$P_ZT_VirtualHost/,\${b}
"
P_post_VirtualHost="
"

P_Server="[Ss][Ee][Rr][Vv][Ee][Rr]"
P_Name="[Nn][Aa][Mm][Ee]"
P_Path="[Pp][Aa][Tt][Hh]"
P_Admin="[Aa][Dd][Mm][Ii][Nn]"
P_ServerName="$P_Server$P_Name"
P_ServerPath="$P_Server$P_Path"
P_ServerAdmin="$P_Server$P_Admin"
P_DocumentRoot="[Dd][Oo][Cc][Uu][Mm][Ee][Nn][Tt][Rr][Oo][Oo][Tt]"
P_ErrorLog="[Ee][Rr][Rr][Oo][Rr][Ll][Oo][Gg]"

for p in P_ServerName P_ServerPath P_ServerAdmin P_DocumentRoot P_ErrorLog;
do
eval "P_f_${p#P_}=\$$p[[:space:]]"
eval "P_fs_${p#P_}=^[[:space:]]*\$$p[[:space:]]"
done

P_Summary="^[[:space:]]*\#[[:space:]]*Summary:"
P_f_Summary="\#[[:space:]]*Summary:"
P_fs_Summary="^[[:space:]]*$P_f_Summary"
P_pre_Summary="1,/^[[:space:]]*[^[:space:]]/{
/^[[:space:]]*[^[:space:]]/b e1
b
}
: e1
1,/^[[:space:]]*($|[^\#])/{
/^[[:space:]]*\#/{
1,/$P_Summary/{
"
P_post_Summary="
}
}
}"

get_summary()
{
local fn="$1"
sed -rn "${P_pre_Summary}1,1s/$P_fs_Summary[[:space:]\'\"]*([^[:space:]\'\"].*[^[:space:]\'\"])[[:space:]\'\"]*\$/\1/p$P_post_Summary" \
"$fn"
}

on_message()
{
. /usr/share/alterator/build/apache2.sh
case "$in_action" in
constraints)
echo '('
case "$level" in
0)
printf 'name (label "%s")\n' "`_ "Group of configs"`"
printf 'summary (label "%s")\n' "`_ "Summary"`"
;;
2)
if [ ${objs[2]} = "available" ]; then
case "${objs[1]}" in
ports|mods|sites|extra)
printf 'name (label "%s" required #t)\n' "`_ "Name"`"
printf 'status_def (label "%s")\n' "`_ "By default"`"
printf 'enabled (label "%s")\n' "`_ "Enabling"`"
printf 'summary (label "%s")\n' "`_ "Summary"`"
;;
esac
fi
;;
3)
if [ ${objs[2]} = "available" ]; then
case "${objs[1]}" in
sites)
printf 'summary (label "%s")\n' "`_ "Summary"`"
printf 'ServerName (label "%s")\n' "ServerName"
printf 'ServerPath (label "%s")\n' "ServerPath"
printf 'ServerAdmin (label "%s")\n' "ServerAdmin"
printf 'DocumentRoot (label "%s")\n' "DocumentRoot"
printf 'ErrorLog (label "%s")\n' "ErrorLog"
;;
esac
fi
;;
esac
echo ')'
;;
list)
echo '('
if [ $level = 0 ]; then
printf '("ports" summary "%s")\n' \
"`_ "Configuring IP addresses and ports, which hears server"`"
printf '("mods" summary "%s")\n' \
"`_ "Manage load modules"`"
printf '("sites" summary "%s")\n' \
"`_ "Manage sites"`"
printf '("extra" summary "%s")\n' \
"`_ "Advanced settings"`"
else
case "${objs[1]}" in
ports|mods|sites|extra)
if [ $level = 1 ]; then
printf '("available" name "%s" summary "%s")\n' \
`print_aes_name "$object1" "available"` \
"`_ "Available configs"`"
printf '("enabled" name "%s" summary "%s")\n' \
`print_aes_name "$object1" "enabled"` \
"`_ "Enabled configs"`"
printf '("start" name "%s" summary "%s")\n' \
`print_aes_name "$object1" "start"` \
"`_ "Manage automation integration configs"`"
else
case "${objs[2]}" in
available)
local conf_suf="conf"
if [ "${objs[1]}" = "mods" ]; then
conf_suf="load"
fi
if [ $level = 2 ]; then
local epath="$APACHE_CONFDIR"/`print_aes_name "${objs[1]}" "enabled"`
find "$epath" -maxdepth 1 -name "*.$conf_suf" -type f -o -type l -exec readlink -e {} \; | \
{
local nefnames=0
local efnames=""
local fname
while read -r fname; do
let nefnames++
efnames[$nefnames]="$fname"
done
/usr/sbin/a2chkconfig_list "${objs[1]}" | \
{
local ns=0
local sns=""
local sus=""
local sn
local su
local t
while read -r t sn su; do
let ns++
sns[$ns]="$sn"
sus[$ns]="$su"
done
local apath="$APACHE_CONFDIR"/`print_aes_name "${objs[1]}" "available"`
find "$apath" -maxdepth 1 -name "*.$conf_suf" -type f -o -type l | \
{
local fn
while read -r fn; do
local i
local en="`_ "no"`"
local fname=`readlink -e "$fn"`
for i in `seq 1 "$nefnames"`; do
if [ "x$fname" = "x${efnames[$i]}" ]; then
en="`_ "yes"`"
break;
fi
done
local name=`echo "$fn"|sed -e "s@^$apath/\([^[:space:]]\+\)\.$conf_suf\\$@\1@"`
local status_def="`_ "none"`"
for i in `seq 1 "$ns"`; do
if [ "x$name" = "x${sns[$i]}" ]; then
status_def="${sus[$i]}"
break;
fi
done
case "$status_def" in
yes)
status_def="`_ "enable"`"
;;
no)
status_def="`_ "disable"`"
;;
esac
local summary="`get_summary "$fn"`"
printf '("%s" enabled "%s" status_def "%s" summary "%s")\n' \
"$name" "$en" "$status_def" "$summary"
done
}
}
}
elif [ $level = 3 ]; then
if [ "${objs[3]}" = "avail_actions" ]; then
printf '("nop" label "-- %s --")\n' "`_ "select action"`"
printf '("none_def" label "%s")\n' "`_ "default none"`"
printf '("en_def" label "%s")\n' "`_ "enable by default"`"
printf '("dis_def" label "%s")\n' "`_ "disable by default"`"
printf '("enable" label "%s")\n' "`_ "enable"`"
printf '("disable" label "%s")\n' "`_ "disable"`"
printf '("delete" label "%s")\n' "`_ "delete"`"
fi
fi
;;
esac
fi
;;
esac
fi
echo ')'
;;
read)
echo '('
if [ $level = 3 ]; then
case "${objs[1]}" in
sites)
case "${objs[2]}" in
available)
printf 'group_name "%s"\n' "${objs[1]}/${objs[3]}"
printf 'group_summary "%s %s"\n' \
"`_ "Configure virtual host"`" "${objs[3]}"
local fname="$APACHE_CONFDIR/`print_aes_name "${objs[1]}" "available"`/${objs[3]}.conf"
printf 'summary "%s"\n' "`get_summary "$fname"`"
sed -rn "$P_pre_VirtualHost
/$P_fs_ServerName/{
1,1s/$P_fs_ServerName[[:space:]\'\"]*([A-Za-z0-9.:\/-]+).*\$/ServerName \"\1\"/p}
/$P_fs_ServerPath/{
1,1s/$P_fs_ServerPath[[:space:]\'\"]*([^[:space:]'\"]+).*\$/ServerPath \"\1\"/p}
/$P_fs_ServerAdmin/{
1,1s/$P_fs_ServerAdmin[[:space:]\'\"]*([^[:space:]'\"]+).*\$/ServerAdmin \"\1\"/p}
/$P_fs_DocumentRoot/{
1,1s/$P_fs_DocumentRoot[[:space:]\'\"]([^[:space:]'\"]+).*\$/DocumentRoot \"\1\"/p}
/$P_fs_ErrorLog/{
1,1s/$P_fs_ErrorLog[[:space:]\'\"]*([^[:space:]'\"]+).*\$/ErrorLog \"\1\"/p}
$P_post_VirtualHost" \
"$fname"
;;
esac
;;
esac
elif [ $level != 0 ]; then
printf 'group_name "%s"\n' "${objs[1]}"
case "${objs[1]}" in
ports)
printf 'group_summary "%s"\n' \
"`_ "Configuring IP addresses and ports, which hears server"`"
;;
mods)
printf 'group_summary "%s"\n' \
"`_ "Manage load modules"`"
;;
sites)
printf 'group_summary "%s"\n' \
"`_ "Manage sites"`"
;;
extra)
printf 'group_summary "%s"\n' \
"`_ "Advanced settings"`"
;;
esac
fi
echo ')'
;;
write)
if [ $level = 3 ]; then
case "${objs[1]}" in
sites)
case "${objs[2]}" in
available)
local fname="$APACHE_CONFDIR/`print_aes_name "${objs[1]}" "available"`/${objs[3]}.conf"
local summary="`get_summary "$fname"`"
local fo_summary
if [ "x$summary" != "x" ]; then
fo_summary="y"
fi
sed -rn "$P_pre_VirtualHost
/$P_fs_ServerName/{
1,1s/$P_fs_ServerName[[:space:]\'\"]*([A-Za-z0-9.:\/-]+).*\$/ServerName=\"\1\"/p}
/$P_fs_ServerPath/{
1,1s/$P_fs_ServerPath[[:space:]\'\"]*([^[:space:]'\"]+).*\$/ServerPath=\"\1\"/p}
/$P_fs_ServerAdmin/{
1,1s/$P_fs_ServerAdmin[[:space:]\'\"]*([^[:space:]'\"]+).*\$/ServerAdmin=\"\1\"/p}
/$P_fs_DocumentRoot/{
1,1s/$P_fs_DocumentRoot[[:space:]\'\"]([^[:space:]'\"]+).*\$/DocumentRoot=\"\1\"/p}
/$P_fs_ErrorLog/{
1,1s/$P_fs_ErrorLog[[:space:]\'\"]*([^[:space:]'\"]+).*\$/ErrorLog=\"\1\"/p}
$P_post_VirtualHost" \
"$fname" | \
{
local ServerName fo_ServerName
local ServerPath fo_ServerPath
local ServerAdmin fo_ServerAdmin
local DocumentRoot fo_DocumentRoot
local ErrorLog fo_ErrorLog

local o

while read -r o; do
eval "$o"
eval "fo_${o%=*}=y"
done
for o in summary ServerName ServerPath ServerAdmin DocumentRoot ErrorLog; do
local no
local oold
local foold
local onew
local p_o
local p_f_o
local p_fs_o
local sa
local p_pre p_post

eval "oold=\"\$$o\""
eval "foold=\"\$fo_$o\""
eval "onew=\"\$in_$o\""
if [ "x$o" = "xsummary" ]; then
no="# Summary:"
p_o="$P_Summary"
p_f_o="$P_f_Summary"
p_fs_o="$P_fs_Summary"
p_pre="$P_pre_Summary"
p_post="$P_post_Summary"
else
no="$o"
eval "p_o=\"\$P_$o\""
eval "p_f_o=\"\$P_f_$o\""
eval "p_fs_o=\"\$P_fs_$o\""
p_pre="$P_pre_VirtualHost/$p_fs_o/{
"
p_post="
}$P_post_VirtualHost"
fi

if [ "x$onew" = "x" ]; then
sa="1,1d"
elif [ "x$oold" = "x$onew" ]; then
continue
else
local eonew="`echo "$onew"|sed -e 's@\\\\@\\\\\\\\@g;s@/@\\\\/@g'`"
if [ "x$o" != "xsummary" ]; then
eonew="`echo "$eonew"|sed -r "s/^[[:space:]'\\"]*([^[:space:]'\\"].*[^[:space:]'\\"])[[:space:]'\\"]*$/\\1/"`"
fi
if [ "x$foold" = "xy" ]; then
sa=" 1,1s/^([[:space:]]*)$p_f_o.*\$/\1$no $eonew/"
elif [ "x$o" = "xsummary" ]; then
p_pre="1,1{
"
p_post="
}"
sa=" i\\$no $eonew"
else
p_pre="1,/$P_ZT_VirtualHost/{
"
p_post="
}"
sa=" \$i\\ $no $eonew"
fi
fi
sed -i -r "$p_pre$sa$p_post" "$fname"
done
}
;;
esac
;;
esac
fi
echo '()'
;;
new)
if [ $level = 2 ]; then
case "${objs[1]}" in
sites)
case "${objs[2]}" in
available)
local vhpath="$VHOSTS_PATH/$in_name"
mkdir -p "$vhpath/html"
chgrp webmaster "$vhpath" "$vhpath/html"
chmod 2775 "$vhpath" "$vhpath/html"
local fname="$APACHE_CONFDIR/`print_aes_name "${objs[1]}" "available"`/$in_name.conf"
echo "# Summary: Name-based Virtual Hosts, generated alterator-apache2

<VirtualHost *>
ServerAdmin \"webmaster@$in_name\"
ServerName \"$in_name\"
DocumentRoot \"$vhpath/html\"
ErrorLog \"$LOG_PATH/$in_name.error_log\"
</VirtualHost>" > "$fname"
;;
esac
;;
esac
fi
echo '()'
;;
nop)
echo '()'
;;
none_def|en_def|dis_def|delete)
if [ $level = 3 ]; then
case "${objs[1]}" in
ports|mods|sites|extra)
if [ "${objs[2]}" = "available" ]; then
if [ "$in_action" = "delete" ] &&
[ "${objs[1]}" != "mods" ]; then
local fname="$APACHE_CONFDIR/`print_aes_name "${objs[1]}" "available"`/${objs[3]}.conf"
rm -f "$fname"
else
local conf="$APACHE_CONFDIR/`print_aes_name "${objs[1]}" "start"`/$ALTERATOR_SCONF"
local p_yes="[Yy][Ee][Ss]"
local p_no="[Nn][Oo]"
local p_yn="\($p_yes\)\|\($p_no\)"
local p_f="^[[:space:]]*${objs[3]}=\|\([[:space:]]\+\)"
local p_e="\(\([[:space:]].*\)\|\)$"
local p1="$p_f$p_yn$p_e"
if [ "$in_action" = "none_def" ]; then
sed -i -e "/$p1/d" "$conf" 2>&1 >/dev/null || :
else
local action="yes"
local p="$p_n"
if [ "$in_action" = "dis_def" ]; then
action="no"
p="$p_y"
fi
sed -i -e "/$p_f$p$p_e/s/^.*$/${objs[3]}=$action/" "$conf" 2>&1 >/dev/null || :
grep -q -s "$p1" "$conf" || \
{
printf '%s=%s\n' "${objs[3]}" "$action" >> "$conf"
}
fi
fi
/usr/sbin/a2chkconfig 2>&1 >/dev/null || :
fi
;;
esac
fi
echo '()'
;;
enable|disable)
if [ $level = 3 ]; then
case "${objs[1]}" in
ports|mods|sites|extra)
case "${objs[2]}" in
available)
local action="yes"
if [ "$in_action" = "disable" ]; then
action="no"
fi
/usr/sbin/`print_a2used_name "${objs[1]}" "$action"` "${objs[3]}" 2>&1 >/dev/null ||:
;;
esac
;;
esac
fi
echo '()'
;;
*)
echo '#f'
;;
esac
}

message_loop
alterator-apache2-1.2/backend3/template-apache2000075500000000000000000000024211064740206300213650ustar00rootroot00000000000000#!/bin/sh

#turn off auto expansion
set -f

_()
{
LANG=${in_language%%;*}.utf8 gettext "alterator-apache2" "$1"
}


. /usr/share/alterator/build/backend3.sh

on_message()
{
. /usr/share/alterator/build/apache2.sh
case "$in_action" in
#information for renderer
template)
echo '('
case "$level" in
2)
if [ ${objs[2]} = "available" ]; then
case "${objs[1]}" in
ports|mods|extra)
echo 'template "form"'
echo 'url "apache2-config_group.html"'
;;
sites)
echo 'template "form"'
echo 'url "apache2-sites.html"'
;;
*)
echo 'template "form"'
echo 'url "apache2.html"'
;;
esac
else
echo 'template "form"'
echo 'url "apache2.html"'
fi
;;
3)
if [ "${objs[1]}/${objs[2]}" = "sites/available" ]; then
echo 'template "form"'
echo 'url "apache2-vhost.html"'
else
echo 'template "form"'
echo 'url "apache2.html"'
fi
;;
*)
echo 'template "form"'
echo 'url "apache2.html"'
;;
esac
echo ')'
;;
info)
echo '('
printf ' title "%s"' "`_ "Web server"`"
printf ' description "%s"' "`_ "Apache2 server Administration"`"
echo ')'
;;
*)
echo '#f'
;;
esac
}

message_loop
alterator-apache2-1.2/build/000075500000000000000000000000001064740206300157515ustar00rootroot00000000000000alterator-apache2-1.2/build/apache2.sh000075500000000000000000000003461064740206300176160ustar00rootroot00000000000000#!/bin/sh

local objs
local level=0
if [ "$in__objects" = "/" ]; then
objs="/"
else
objs=""
local objects=`echo "$in__objects"|sed -e 's@/@ @g'`
local obj
for obj in $objects; do
let level++
objs[$level]="$obj"
done
fi
alterator-apache2-1.2/html/000075500000000000000000000000001064740206300156165ustar00rootroot00000000000000alterator-apache2-1.2/html/fbi/000075500000000000000000000000001064740206300163565ustar00rootroot00000000000000alterator-apache2-1.2/html/fbi/apache2-config_group.html000064400000000000000000000035251064740206300232330ustar00rootroot00000000000000<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<!-- control administration module -->
<html>
<head>
<title>Alterator-FBI:Web server</title>
<link type="text/css" rel="stylesheet" href="/fbi/styles/apache2.css"/>
</head>
<body>
<div class="main-menu"/>
<h1>
<span translate="_">Web server:</span>
<span class="alterator-label" name="group_name"/>&nbsp;
</h1>
<p>
<span class="alterator-label" name="group_summary"/>&nbsp;
</p>
<h2>
<span translate="_">Config files options</span>
</h2>
<form method="POST" class="selector-chooser">
<p>
<table class="frame-table">
<thead>
<tr>
<th>&nbsp;</th>
<th><label for="name">name</label></th>
<th><label for="status_def">status_def</label></th>
<th><label for="enabled">enabled</label></th>
<th><label for="summary">summary</label></th>
</tr>
</thead>
<tbody optionlist="" class="alterator-list" id="auto-select">
<tr>
<td><input type="checkbox" name="selected" auto-select="yes"/></td>
<td nowrap="yes">
<a href="" class="alterator-ref"><img src="/fbi/setup.gif" border="0" alt="view"/></a>
<span class="alterator-label" name="name"/>&nbsp;
</td>
<td><span class="alterator-label" name="status_def"/>&nbsp;</td>
<td><span class="alterator-label" name="enabled"/>&nbsp;</td>
<td><span class="alterator-label" name="summary"/>&nbsp;</td>
</tr>
</tbody>
</table>
</p>
<p>
<span translate="_">Selected</span>&nbsp;
<select name="action" optionlist="avail_actions"/>&nbsp;
<input type="submit" value="OK" class="btn"/>
</p>
</form>
<hr></hr>
<p>
<local:a href="/chkconfig/httpd2">
<span translate="_">start, stop or restart service</span>
</local:a>
</p>
</body>
</html>
alterator-apache2-1.2/html/fbi/apache2-sites.html000064400000000000000000000043011064740206300216720ustar00rootroot00000000000000<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<!-- control administration module -->
<html>
<head>
<title>Alterator-FBI:Web server</title>
<link type="text/css" rel="stylesheet" href="/fbi/styles/apache2.css"/>
</head>
<body>
<div class="main-menu"/>
<h1>
<span translate="_">Web server:</span>
<span class="alterator-label" name="group_name"/>&nbsp;
</h1>
<p>
<span class="alterator-label" name="group_summary"/>&nbsp;
</p>
<h2>
<span translate="_">Config files options</span>
</h2>
<form method="POST" class="selector-chooser">
<p>
<table class="frame-table">
<thead>
<tr>
<th>&nbsp;</th>
<th><label for="name">name</label></th>
<th><label for="status_def">status_def</label></th>
<th><label for="enabled">enabled</label></th>
<th><label for="summary">summary</label></th>
</tr>
</thead>
<tbody optionlist="" class="alterator-list" id="auto-select">
<tr>
<td><input type="checkbox" name="selected" auto-select="yes"/></td>
<td nowrap="yes">
<a href="" class="alterator-ref"><img src="/fbi/setup.gif" border="0" alt="view"/></a>
<span class="alterator-label" name="name"/>&nbsp;
</td>
<td><span class="alterator-label" name="status_def"/>&nbsp;</td>
<td><span class="alterator-label" name="enabled"/>&nbsp;</td>
<td><span class="alterator-label" name="summary"/>&nbsp;</td>
</tr>
</tbody>
</table>
</p>
<p>
<span translate="_">Selected</span>&nbsp;
<select name="action" optionlist="avail_actions"/>&nbsp;
<input type="submit" value="OK" class="btn"/>
</p>
</form>
<hr></hr>
<form method="POST" class="selector-chooser" action="?action=new" highlight-required="no">
<table>
<tbody>
<tr>
<td class="option-name"><label for="name">name</label></td>
<td><input type="text" class="text" name="name"/></td>
</tr>
</tbody>
</table>
<input type="submit" value="Create" class="btn"/>
</form>
<hr></hr>
<p>
<local:a href="/chkconfig/httpd2">
<span translate="_">start, stop or restart service</span>
</local:a>
</p>
</body>
</html>
alterator-apache2-1.2/html/fbi/apache2-vhost.html000064400000000000000000000035751064740206300217220ustar00rootroot00000000000000<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<!-- control administration module -->
<html>
<head>
<title>Alterator-FBI:Web server</title>
<link type="text/css" rel="stylesheet" href="/fbi/styles/apache2.css"/>
</head>
<body>
<div class="main-menu"/>
<h1>
<span translate="_">Web server:</span>
<span class="alterator-label" name="group_name"/>&nbsp;
</h1>
<p>
<span class="alterator-label" name="group_summary"/>&nbsp;
</p>
<h2>
<span translate="_">Virtual host options</span>
</h2>
<form method="POST" class="selector-chooser" action="?action=write" highlight-required="no">
<table>
<tbody>
<tr>
<td class="option-name"><label for="summary">summary</label></td>
<td><input type="text" class="text" name="summary"/></td>
</tr>
<tr>
<td class="option-name"><label for="ServerAdmin">ServerAdmin</label></td>
<td><input type="text" class="text" name="ServerAdmin"/></td>
</tr>
<tr>
<td class="option-name"><label for="ServerName">ServerName</label></td>
<td><input type="text" class="text" name="ServerName"/></td>
</tr>
<tr>
<td class="option-name"><label for="ServerPath">ServerPath</label></td>
<td><input type="text" class="text" name="ServerPath"/></td>
</tr>
<tr>
<td class="option-name"><label for="DocumentRoot">DocumentRoot</label></td>
<td><input type="text" class="text" name="DocumentRoot"/></td>
</tr>
<tr>
<td class="option-name"><label for="ErrorLog">ErrorLog</label></td>
<td><input type="text" class="text" name="ErrorLog"/></td>
</tr>
</tbody>
</table>
<input type="submit" value="Apply" class="btn"/>
</form>
<hr></hr>
<p>
<local:a href="/chkconfig/httpd2">
<span translate="_">start, stop or restart service</span>
</local:a>
</p>
</body>
</html>
alterator-apache2-1.2/html/fbi/apache2.html000064400000000000000000000022741064740206300205540ustar00rootroot00000000000000<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<!-- control administration module -->
<html>
<head>
<title>Alterator-FBI:Web server</title>
<link type="text/css" rel="stylesheet" href="/fbi/styles/apache2.css"/>
</head>
<body>
<div class="main-menu"/>
<h1>
<span translate="_">Web server</span>
</h1>
<h2>
<span translate="_">Config files options</span>
</h2>
<form method="POST" class="selector-chooser">
<p>
<table class="frame-table">
<thead>
<tr>
<th><label for="name">name</label></th>
<th><label for="summary">summary</label></th>
</tr>
</thead>
<tbody optionlist="" class="alterator-list">
<tr>
<td nowrap="yes">
<a href="/available" class="alterator-ref"><img src="/fbi/setup.gif" border="0" alt="view"/></a>
<span class="alterator-label" name="name"/>&nbsp;
</td>
<td><span class="alterator-label" name="summary"/>&nbsp;</td>
</tr>
</tbody>
</table>
</p>
</form>
<hr></hr>
<p>
<local:a href="/chkconfig/httpd2">
<span translate="_">start, stop or restart service</span>
</local:a>
</p>
</body>
</html>
alterator-apache2-1.2/html/fbi/styles/000075500000000000000000000000001064740206300177015ustar00rootroot00000000000000alterator-apache2-1.2/html/fbi/styles/apache2.css000064400000000000000000000003241064740206300217150ustar00rootroot00000000000000.server-list {
width: 50%;
border-style:solid;
border-width:1px;
}
.server-list td,th {
border-style:solid;
border-width:1px;
}
input.text {
width:100%;
}
table {
width:90%;
}
.option-name {
width:10%;
}
alterator-apache2-1.2/po/000075500000000000000000000000001064740206300152705ustar00rootroot00000000000000alterator-apache2-1.2/po/alterator-apache2.pot000064400000000000000000000051231064740206300213130ustar00rootroot00000000000000# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-06-19 14:09+0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: ui/apache2/html-messages.scm:1
msgid "Web server:"
msgstr ""

#: ui/apache2/html-messages.scm:2
msgid "Config files options"
msgstr ""

#: ui/apache2/html-messages.scm:3
msgid "Selected"
msgstr ""

#: ui/apache2/html-messages.scm:4
msgid "OK"
msgstr ""

#: ui/apache2/html-messages.scm:5 ui/apache2/html-messages.scm:7
msgid "start, stop or restart service"
msgstr ""

#: ui/apache2/html-messages.scm:6 backend3/template-apache2:41
msgid "Web server"
msgstr ""

#: backend3/apache2:8 backend3/template-apache2:8
msgid "alterator-apache2"
msgstr ""

#: backend3/apache2:73
msgid "Group of configs"
msgstr ""

#: backend3/apache2:74 backend3/apache2:82 backend3/apache2:90
msgid "Summary"
msgstr ""

#: backend3/apache2:79 backend3/apache2:87
msgid "Name"
msgstr ""

#: backend3/apache2:80 backend3/apache2:88
msgid "By default"
msgstr ""

#: backend3/apache2:81 backend3/apache2:89
msgid "Enabling"
msgstr ""

#: backend3/apache2:104 backend3/apache2:215
msgid "Configuring IP addresses and ports, which hears server"
msgstr ""

#: backend3/apache2:106 backend3/apache2:219
msgid "Manage load modules"
msgstr ""

#: backend3/apache2:108 backend3/apache2:223
msgid "Manage sites"
msgstr ""

#: backend3/apache2:110 backend3/apache2:227
msgid "Advanced settings"
msgstr ""

#: backend3/apache2:117
msgid "Available configs"
msgstr ""

#: backend3/apache2:120
msgid "Enabled configs"
msgstr ""

#: backend3/apache2:123
msgid "Manage automation integration configs"
msgstr ""

#: backend3/apache2:161
msgid "no"
msgstr ""

#: backend3/apache2:165
msgid "yes"
msgstr ""

#: backend3/apache2:170
msgid "none"
msgstr ""

#: backend3/apache2:179 backend3/apache2:198
msgid "enable"
msgstr ""

#: backend3/apache2:182 backend3/apache2:199
msgid "disable"
msgstr ""

#: backend3/apache2:194
msgid "select action"
msgstr ""

#: backend3/apache2:195
msgid "default none"
msgstr ""

#: backend3/apache2:196
msgid "enable by default"
msgstr ""

#: backend3/apache2:197
msgid "disable by default"
msgstr ""

#: backend3/template-apache2:42
msgid "Apache2 server Administration"
msgstr ""
alterator-apache2-1.2/po/ru.po000064400000000000000000000120571064740206300162630ustar00rootroot00000000000000# Alterator squid module Russian translation.
# Copyright (C) 2007 Grigory Batalov <bga@altlinux.org>
# This file is distributed under the same license as the alterator-squid package.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-06-19 14:09+0400\n"
"PO-Revision-Date: 2007-03-26 18:13+0400\n"
"Last-Translator: Grigory Batalov <bga@altlinux.org>\n"
"Language-Team: Russian <ru@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ui/apache2/html-messages.scm:1
msgid "Web server:"
msgstr "Web-сервер:"

#: ui/apache2/html-messages.scm:2
msgid "Config files options"
msgstr "Параметры конфигов"

#: ui/apache2/html-messages.scm:3
msgid "Selected"
msgstr "Выделенные"

#: ui/apache2/html-messages.scm:4
msgid "OK"
msgstr ""

#: ui/apache2/html-messages.scm:5 ui/apache2/html-messages.scm:7
msgid "start, stop or restart service"
msgstr "запустить, остановить или перезапустить службу"

#: ui/apache2/html-messages.scm:6 backend3/template-apache2:41
msgid "Web server"
msgstr "Web-сервер"

#: backend3/apache2:88 backend3/template-apache2:8
msgid "alterator-apache2"
msgstr ""

#: backend3/apache2:73
msgid "Group of configs"
msgstr "Группа конфигов"

#: backend3/apache2:74 backend3/apache2:82 backend3/apache2:90
msgid "Summary"
msgstr "Комментарий"

#: backend3/apache2:79 backend3/apache2:87
msgid "Name"
msgstr "Имя"

#: backend3/apache2:80 backend3/apache2:88
msgid "By default"
msgstr "По умолчанию"

#: backend3/apache2:81 backend3/apache2:89
msgid "Enabling"
msgstr "Включено"

#: backend3/apache2:104 backend3/apache2:215
msgid "Configuring IP addresses and ports, which hears server"
msgstr "Настройка IP-адресов и портов, слушаемых сервером"

#: backend3/apache2:106 backend3/apache2:219
msgid "Manage load modules"
msgstr "Управление загрузкой модулей"

#: backend3/apache2:108 backend3/apache2:223
msgid "Manage sites"
msgstr "Управление сайтами"

#: backend3/apache2:110 backend3/apache2:227
msgid "Advanced settings"
msgstr "Расширенные настройки"

#: backend3/apache2:117
msgid "Available configs"
msgstr "Доступные конфиги"

#: backend3/apache2:120
msgid "Enabled configs"
msgstr "Доступные конфиги"

#: backend3/apache2:123
msgid "Manage automation integration configs"
msgstr "Управление автоматизированным включенем конфигов"

#: backend3/apache2:161
msgid "no"
msgstr "нет"

#: backend3/apache2:165
msgid "yes"
msgstr "да"

#: backend3/apache2:170
msgid "none"
msgstr "отсутствует"

#: backend3/apache2:179 backend3/apache2:198
msgid "enable"
msgstr "включить"

#: backend3/apache2:182 backend3/apache2:199
msgid "disable"
msgstr "выключить"

#: backend3/apache2:194
msgid "select action"
msgstr "выбрать действие"

#: backend3/apache2:195
msgid "default none"
msgstr "умолчания нет"

#: backend3/apache2:196
msgid "enable by default"
msgstr "включить по умолчанию"

#: backend3/apache2:197
msgid "disable by default"
msgstr "выключить по умолчанию"

#: backend3/template-apache2:42
msgid "Apache2 server Administration"
msgstr "Управление сервером Apache2"

#~ msgid "Listen to"
#~ msgstr "Принимать соединения"

#~ msgid "Add"
#~ msgstr "Добавить"

#~ msgid "Allow networks"
#~ msgstr "Допускать сети"

#~ msgid "Cache manager"
#~ msgstr "Администратор сервера"

#~ msgid "Apply"
#~ msgstr "Принять"

#~ msgid "Append domain"
#~ msgstr "Добавлять домен"

#~ msgid "Domain"
#~ msgstr "Домен"

#~ msgid "Config name"
#~ msgstr "Имя конфига"

#~ msgid "Enable/Disable config"
#~ msgstr "Включённые конфиги"

#~ msgid "Auto using config"
#~ msgstr "Автоиспользование"

#~ msgid "same network is already defined"
#~ msgstr "подобная сеть уже существует"

#~ msgid "same ip:port is already defined"
#~ msgstr "подобные адрес:порт уже существуют"

#~ msgid "range should be ip/mask or hostname"
#~ msgstr "диапазон должет иметь вид адрес/маска или имя хоста"

#~ msgid "Host"
#~ msgstr "Адрес"

#~ msgid "Port"
#~ msgstr "Порт"

#~ msgid "Range"
#~ msgstr "Диапазон"

#~ msgid "Invalid mask"
#~ msgstr "Неверная маска"

#~ msgid "Invalid IP"
#~ msgstr "Неверный IP"

#~ msgid "Invalid hostname"
#~ msgstr "Неверное имя хоста"

#~ msgid "Not correct _object"
#~ msgstr "Не корректный _object"

#~ msgid "Not correct aname"
#~ msgstr "Не корректный aname"

#~ msgid "Not correct use"
#~ msgstr "Не корректный use"

#~ msgid "Not correct pri"
#~ msgstr "Не корректный pri"
alterator-apache2-1.2/po/uk.po000064400000000000000000000100201064740206300162400ustar00rootroot00000000000000# translation of alterator-squid.po to Ukrainian
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: alterator-apache2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-06-19 14:09+0400\n"
"PO-Revision-Date: 2007-04-28 10:16+0300\n"
"Last-Translator: Serhii Hlodin <hlodin@altlinux.ru>\n"
"Language-Team: Ukrainian <uk@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"

#: ui/apache2/html-messages.scm:1
msgid "Web server:"
msgstr "Web-сервер:"

#: ui/apache2/html-messages.scm:2
msgid "Config files options"
msgstr ""

#: ui/apache2/html-messages.scm:3
msgid "Selected"
msgstr "Виділені"

#: ui/apache2/html-messages.scm:4
msgid "OK"
msgstr ""

#: ui/apache2/html-messages.scm:5 ui/apache2/html-messages.scm:7
msgid "start, stop or restart service"
msgstr "завантажити, зупинити або перевантажити службу"

#: ui/apache2/html-messages.scm:6 backend3/template-apache2:41
msgid "Web server"
msgstr "Web-сервер"

#: backend3/apache2:8 backend3/template-apache2:8
msgid "alterator-apache2"
msgstr ""

#: backend3/apache2:73
msgid "Group of configs"
msgstr ""

#: backend3/apache2:74 backend3/apache2:82 backend3/apache2:90
msgid "Summary"
msgstr "Коментар"

#: backend3/apache2:79 backend3/apache2:87
msgid "Name"
msgstr ""

#: backend3/apache2:80 backend3/apache2:88
msgid "By default"
msgstr ""

#: backend3/apache2:81 backend3/apache2:89
msgid "Enabling"
msgstr ""

#: backend3/apache2:104 backend3/apache2:215
msgid "Configuring IP addresses and ports, which hears server"
msgstr ""

#: backend3/apache2:106 backend3/apache2:219
msgid "Manage load modules"
msgstr ""

#: backend3/apache2:108 backend3/apache2:223
msgid "Manage sites"
msgstr ""

#: backend3/apache2:110 backend3/apache2:227
msgid "Advanced settings"
msgstr ""

#: backend3/apache2:117
msgid "Available configs"
msgstr ""

#: backend3/apache2:120
msgid "Enabled configs"
msgstr ""

#: backend3/apache2:123
msgid "Manage automation integration configs"
msgstr ""

#: backend3/apache2:161
msgid "no"
msgstr ""

#: backend3/apache2:165
msgid "yes"
msgstr ""

#: backend3/apache2:170
msgid "none"
msgstr ""

#: backend3/apache2:179 backend3/apache2:198
msgid "enable"
msgstr "ввімкнути"

#: backend3/apache2:182 backend3/apache2:199
msgid "disable"
msgstr "вимкнути"

#: backend3/apache2:194
msgid "select action"
msgstr ""

#: backend3/apache2:195
msgid "default none"
msgstr ""

#: backend3/apache2:196
msgid "enable by default"
msgstr ""

#: backend3/apache2:197
msgid "disable by default"
msgstr ""

#: backend3/template-apache2:42
msgid "Apache2 server Administration"
msgstr "Керування сервером Apache2"

#~ msgid "Listen to"
#~ msgstr "Приймати з'єднання"

#~ msgid "Add"
#~ msgstr "Додати"

#~ msgid "Allow networks"
#~ msgstr "Дозволити мережі"

#~ msgid "Cache manager"
#~ msgstr "Адміністратор сервера"

#~ msgid "Email"
#~ msgstr "Адреса email"

#~ msgid "Apply"
#~ msgstr "Застосувати"

#~ msgid "Append domain"
#~ msgstr "Добавити домен"

#~ msgid "Domain"
#~ msgstr "Домен"

#~ msgid "same network is already defined"
#~ msgstr "дана мережа вже існує"

#~ msgid "same ip:port is already defined"
#~ msgstr "дані адреса:порт вже існують"

#~ msgid "range should be ip/mask or hostname"
#~ msgstr "діапазон має бути визначений як адреса/маска або ім'я хоста"

#~ msgid "Host"
#~ msgstr "Адреса"

#~ msgid "Port"
#~ msgstr "Порт"

#~ msgid "Range"
#~ msgstr "Діапазон"

#~ msgid "Invalid mask"
#~ msgstr "Невірна маска"

#~ msgid "Invalid IP"
#~ msgstr "Невірна IP-адреса"

#~ msgid "Invalid hostname"
#~ msgstr "Невірне ім'я хоста"
alterator-apache2-1.2/ui/000075500000000000000000000000001064740206300152675ustar00rootroot00000000000000alterator-apache2-1.2/ui/apache2/000075500000000000000000000000001064740206300165725ustar00rootroot00000000000000alterator-apache2-1.2/ui/apache2/html-messages.scm000064400000000000000000000002401064740206300220430ustar00rootroot00000000000000(_ "Web server:")
(_ "Config files options")
(_ "Selected")
(_ "OK")
(_ "start, stop or restart service")
(_ "Web server")
(_ "start, stop or restart service")
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009