1 |
# $Id: e-smith-base.spec,v 1.1 2013/01/31 16:28:58 slords Exp $ |
# $Id: e-smith-base.spec,v 1.6 2013/02/02 19:39:33 slords Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - base module |
Summary: e-smith server and gateway - base module |
4 |
%define name e-smith-base |
%define name e-smith-base |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.4.0 |
%define version 5.4.0 |
7 |
%define release 2 |
%define release 6 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-base-5.4.0-runlevel_4.patch |
Patch0: e-smith-base-5.4.0-runlevel_4.patch |
14 |
|
Patch1: e-smith-base-5.4.0-local_event.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: mod_auth_external |
Requires: mod_auth_external |
17 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
38 |
Requires: mdadm |
Requires: mdadm |
39 |
Requires: pv |
Requires: pv |
40 |
Requires: pam_abl |
Requires: pam_abl |
41 |
Requires: nss_ldap |
Requires: nss-pam-ldapd |
42 |
|
Obsoletes: nss_ldap < 254 |
43 |
Requires: cpu >= 1.4.3 |
Requires: cpu >= 1.4.3 |
44 |
Obsoletes: rlinetd, e-smith-mod_ssl |
Obsoletes: rlinetd, e-smith-mod_ssl |
45 |
Obsoletes: e-smith-serial-console |
Obsoletes: e-smith-serial-console |
60 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Sun Feb 3 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-6.sme |
64 |
|
- Add a daemontools service to run signal-event local [SME: 7230] |
65 |
|
|
66 |
|
* Sat Feb 2 2013 Shad L. Lords <slords@mail.com> 5.4.0-5.sme |
67 |
|
- Obsolete nss_ldap so upgrades work [SME: 7273] |
68 |
|
|
69 |
|
* Sat Feb 2 2013 Shad L. Lords <slords@mail.com> 5.4.0-4.sme |
70 |
|
- Helps to spell requirements correctly |
71 |
|
|
72 |
|
* Sat Feb 2 2013 Shad L. Lords <slords@mail.com> 5.4.0-3.sme |
73 |
|
- Change nss_ldap to nss-pam-ldapd [SME: 7272] |
74 |
|
|
75 |
* Thu Jan 31 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-2.sme |
* Thu Jan 31 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-2.sme |
76 |
- Change default runlevel to 4 [SME: 7266] |
- Change default runlevel to 4 [SME: 7266] |
77 |
|
|
1505 |
%prep |
%prep |
1506 |
%setup |
%setup |
1507 |
%patch0 -p1 |
%patch0 -p1 |
1508 |
|
%patch1 -p1 |
1509 |
|
|
1510 |
%pre |
%pre |
1511 |
/sbin/e-smith/create-system-user smelog 1002 \ |
/sbin/e-smith/create-system-user smelog 1002 \ |
1590 |
--dir /var/service/ippp/log/supervise 'attr(0700,root,root)' \ |
--dir /var/service/ippp/log/supervise 'attr(0700,root,root)' \ |
1591 |
--dir /var/log/ippp 'attr(2750,smelog,smelog)' \ |
--dir /var/log/ippp 'attr(2750,smelog,smelog)' \ |
1592 |
--dir /etc/e-smith/skel/user/.ssh 'attr(0700,root,root)' \ |
--dir /etc/e-smith/skel/user/.ssh 'attr(0700,root,root)' \ |
1593 |
|
--file /var/service/local/run 'attr(0750,root,root)' \ |
1594 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
1595 |
|
|
1596 |
mkdir -p $RPM_BUILD_ROOT/home/e-smith/db |
mkdir -p $RPM_BUILD_ROOT/home/e-smith/db |