Репозиторий Sisyphus
Последнее обновление: 11 апреля 2021 | Пакетов: 17836 | Посещений: 20692274
en ru br
Репозитории ALT
5.1: 2.0-alt10.M51.5
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: installer-distro-chainmail

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

installer-distro-chainmail-2.0/000075500000000000000000000000001133675147100166035ustar00rootroot00000000000000installer-distro-chainmail-2.0/alterator-ldap-groups/000075500000000000000000000000001133675147100230335ustar00rootroot00000000000000installer-distro-chainmail-2.0/alterator-ldap-groups/group-init-list000064400000000000000000000001221133675147100260170ustar00rootroot00000000000000wheel
cdwriter
cdrom
audio
proc
radio
camera
floppy
xgrp
scanner
uucp
backupadmin
installer-distro-chainmail-2.0/alterator-menu/000075500000000000000000000000001133675147100215425ustar00rootroot00000000000000installer-distro-chainmail-2.0/alterator-menu/module-expert-list000064400000000000000000000000001133675147100252160ustar00rootroot00000000000000installer-distro-chainmail-2.0/alterator-menu/module-order-list000064400000000000000000000004121133675147100250310ustar00rootroot00000000000000net-domain
trust
ca
datetime
logs
quota
bacula-backup
mkve
xinted
services
updates
control
ahttpd-server
ahttpd-poweroff

dhcp
mirror
netinst
vsftpd
openldap

root
ldap-users

net-eth
net-pptp
net-pppoe

net-iptables
net-tc
net-dnat
net-bl
net-iptables-manual
snort
installer-distro-chainmail-2.0/alterator-menu/module-skip-list000064400000000000000000000001051133675147100246630ustar00rootroot00000000000000net-domain
xinetd
control
auth
ahttpd-server
openldap
sslkey
updates
installer-distro-chainmail-2.0/alterator-menu/section-order-list000064400000000000000000000000511133675147100252070ustar00rootroot00000000000000system
pkg
servers
users
network
firewallinstaller-distro-chainmail-2.0/installer-steps000064400000000000000000000001521133675147100216550ustar00rootroot00000000000000sysconfig
license
datetime
vm
bacula-select
pkg
installer-preinstall
lilo
installer-network
release-notes
installer-distro-chainmail-2.0/postinstall.d/000075500000000000000000000000001133675147100214015ustar00rootroot00000000000000installer-distro-chainmail-2.0/postinstall.d/01-remove-installer-office-server-pkgs.sh000075500000000000000000000003531133675147100311460ustar00rootroot00000000000000#!/bin/sh -efu

. install2-init-functions

# Remove Office Server installer specific packages from installed system
list="$(exec_chroot rpmquery -a alterator-lilo alterator-autoinstall)"

[ -z "$list" ] || exec_chroot rpmi -e -- $list
installer-distro-chainmail-2.0/postinstall.d/20-alterator-defaults.sh000075500000000000000000000003071133675147100257610ustar00rootroot00000000000000#!/bin/sh

a= . install2-init-functions

cp -a /usr/share/install2/alterator-menu/* $destdir/etc/alterator/menu/
cp -a /usr/share/install2/alterator-ldap-groups/* $destdir/etc/alterator/ldap-groups/
installer-distro-chainmail-2.0/postinstall.d/20-openldap.sh000075500000000000000000000013501133675147100237600ustar00rootroot00000000000000#!/bin/sh -f

a= . install2-init-functions
. shell-quote
. shell-config

SLAPD_CONF_DIR="$destdir/etc/openldap"
LDAP_SYSCONFIG="$destdir/etc/sysconfig/ldap"

enable_schema()
{
local samba="$(quote_sed_regexp "/etc/openldap/schema/samba3.schema")"
local kerberos="$(quote_sed_regexp "/etc/openldap/schema/kerberos.schema")"
local conf="$SLAPD_CONF_DIR/slapd.conf"

sed -i -r -e "s,^[[:space:]]*#[[:space:]]*include[[:space:]]+$samba,include\t\t$samba\ninclude\t\t$kerberos\n," "$conf"
}

enable_server()
{
local LDAP_CONF="$SLAPD_CONF_DIR/ldap.conf"
local url="ldap:///"

shell_config_set "$LDAP_SYSCONFIG" SLAPDURLLIST "\"'$url'\""
shell_config_set "$LDAP_CONF" URI "$url" ' ' ' '
}

enable_schema
enable_server
installer-distro-chainmail-2.0/postinstall.d/30-ahttpd.sh000075500000000000000000000006471133675147100234530ustar00rootroot00000000000000#!/bin/sh

a= . install2-init-functions
. shell-config

rdelim='[[:space:]]\+'
wdelim=' '
ahttpd_conf_file=$destdir/etc/ahttpd/ahttpd.conf

ahttpd_conf_set()
{
shell_config_set "$ahttpd_conf_file" "$1" "$2" "$rdelim" "$wdelim"
}

# replace default control center with special one
ahttpd_conf_set framework-uri /chainmail/framework
ahttpd_conf_set login-uri /chainmail/login
ahttpd_conf_set logout-uri /chainmail/logout
installer-distro-chainmail-2.0/postinstall.d/90-vsftpd.sh000075500000000000000000000003311133675147100234710ustar00rootroot00000000000000#!/bin/sh

a= . install2-init-functions
. shell-config

vsftpd_conf_file="$destdir/etc/vsftpd/conf"

shell_config_set "$vsftpd_conf_file" anonymous_enable NO
shell_config_set "$vsftpd_conf_file" chroot_local_user YES
installer-distro-chainmail-2.0/postinstall.d/95-services.sh000075500000000000000000000020671133675147100240230ustar00rootroot00000000000000#!/bin/sh

a= . install2-init-functions

sed -i -e 's/^id:.:initdefault:/id:5:initdefault:/' \
-e 's|^1.*mingetty.*tty|#&|' $destdir/etc/inittab

new_common='acpid
alteratord
bind
consolesaver
fbsetfont
keytable
klogd
local
mdadm
messagebus
network
publish-acc-to-console
random
slapd
splash
sysfs
syslogd
httpd2
udevd
udevd-final'

new_3="ahttpd
anacron
arpwatch
avahi-daemon
crond
gssd
haldaemon
idmapd
krb5kdc
netfs
nfs
nfslock
ntpd
portmap
postfix
dovecot
slapd
smb
sshd
xinetd
ulogd
spamd
snortd
mysqld
$new_common"

new_5="ahttpd-firsttime
$new_common"

old="$(find $destdir/etc/rc.d/rc[35].d/ -name 'S[0-9][0-9]?*' -printf '%f\n' |
cut -b4- |sort -u)"

for s in $old; do
printf '%s\n' "$new_3" |fgrep -qsx "$s" ||
exec_chroot chkconfig --level 3 $s off
printf '%s\n' "$new_5" |fgrep -qsx "$s" ||
exec_chroot chkconfig --level 5 $s off
done

for s in $new_3; do
printf '%s\n' "$old" |fgrep -qsx "$s" ||
exec_chroot chkconfig --level 3 $s on
done

for s in $new_5; do
printf '%s\n' "$old" |fgrep -qsx "$s" ||
exec_chroot chkconfig --level 5 $s on
done

exit 0
installer-distro-chainmail-2.0/preinstall.d/000075500000000000000000000000001133675147100212025ustar00rootroot00000000000000installer-distro-chainmail-2.0/preinstall.d/90-fix-domainname.sh000075500000000000000000000006171133675147100246670ustar00rootroot00000000000000#!/bin/sh -efu

a= . install2-init-functions
. shell-config

network_file="$destdir/etc/sysconfig/network"

# read hostname
h="$(shell_config_get "$network_file" HOSTNAME)"
[ -n "$h" ] || h="localhost.localdomain"

# read domainname
d="${h#*.}"
[ "$h" != "$d" ] || d="localdomain"

# fix domainname
[ "$d" != "localdomain" ] ||
shell_config_set "$network_file" HOSTNAME "${h%%.*}.testdomain.ru"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin