Пакет livecd-setauth: Specfile

Name: livecd-setauth
Version: 0.8
Release: alt1

Summary: Setup krb5 and cifs homes in livecd
License: GPL
Group: System/Configuration/Other

Source0: %name.tar

BuildArch: noarch
PreReq: service chkconfig
Requires: alterator-auth alterator-net-shares netcat
Requires: livecd-timezone

%description
Setup krb5 auth and cifs homes if there is 'krb5' in /proc/cmdline

%prep
%setup -c

%post
%post_service %name

%preun
%preun_service %name

%install
mkdir -p %buildroot%_initdir/
install -pD -m0755 livecd-setauth/livecd-setauth %buildroot%_initdir/livecd-setauth 
install -pD -m0644 livecd-setauth/livecd-setauth.service %buildroot%_unitdir/livecd-setauth.service


%files 
%_initdir/livecd-setauth
%_unitdir/livecd-setauth.service


%changelog
* Wed May 17 2017 Mikhail Efremov <sem@altlinux.org> 0.8-alt1
- Replace prefdm.service -> dm.service.
- Use post_service.
- Start after network-online.target.
- Use livecd-timezone.

* Tue Mar 04 2014 Mikhail Efremov <sem@altlinux.org> 0.7-alt4
- Use preun_service.

* Thu Aug 22 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.7-alt3
- start before dm in systemd

* Wed Aug 21 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.7-alt2
- systemd support

* Wed Aug 21 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.7-alt1
- lightdm support

* Fri Mar 01 2013 Mikhail Efremov <sem@altlinux.org> 0.6-alt2
- Fix in_language for read_zone.

* Fri Mar 01 2013 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.6-alt1
- set time zone from language
- set multicast on et* and en*

* Thu Aug 16 2012 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.5-alt1
- set multicast on on eth*

* Wed Jun 20 2012 Andrey Cherepanov <cas@altlinux.org> 0.4-alt2
- force set /etc/localtime

* Tue Jun 19 2012 Andrey Cherepanov <cas@altlinux.org> 0.4-alt1
- set time zone from kernel command line

* Fri Aug 19 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.3-alt1
- set time from server via datetime protocol

* Wed Jun 15 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.2-alt2
- run after network

* Fri Jun 10 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.2-alt1
- autologin disabling added

* Thu Jun 09 2011 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.1-alt1
- first build