Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560228
en ru br
Репозитории ALT

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

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

pax_global_header00006660000000000000000000000064121566117060014517gustar00rootroot0000000000000052 comment=e479d63b1f9e32a09bd4a5b39408aaaf7c53d9db
installer-feature-auto-domain-0.3/000075500000000000000000000000001215661170600172205ustar00rootroot00000000000000installer-feature-auto-domain-0.3/.gear-rules000064400000000000000000000000071215661170600212640ustar00rootroot00000000000000tar: .
installer-feature-auto-domain-0.3/95-autodomain.sh000075500000000000000000000005001215661170600221450ustar00rootroot00000000000000#!/bin/sh

a= . install2-init-functions

auth=/usr/lib/alterator/backend3/auth
if grep -q krb5 /proc/cmdline ; then
echo "setting auth to krb5"
domain=$(host ldap | cut -d' ' -f 1| cut -d. -f 2-100)
run_chroot $auth &>/dev/null <<EOF
_message:begin
action:write
auth_type:krb5
domain:$domain
_message:end
EOF
fi
installer-feature-auto-domain-0.3/installer-feature.spec000064400000000000000000000014711215661170600235250ustar00rootroot00000000000000Name: installer-feature-auto-domain
Version: 0.3
Release: alt1

Summary: Sets auth to krb5 if 'krb5' kernel option specified
License: GPL
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch
Source: %name-%version.tar

%description
Sets auth to krb5 if 'krb5' kernel option specified

%prep
%setup

%install
%define hookdir %_datadir/install2/postinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/

%files
%hookdir/*

%changelog
* Fri Jun 14 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.3-alt1
- dependence on install2-init-functions removed

* Wed Sep 28 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.2-alt1
- use install2 resolver
- move to postinstall

* Wed Sep 28 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.1-alt1
- initial build



 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin