1 |
# $Id: e-smith-base.spec,v 1.5 2013/02/02 17:53:28 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 5 |
%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 |
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 |
* Sat Feb 2 2013 Shad L. Lords <slords@mail.com> 5.4.0-5.sme |
67 |
- Obsolete nss_ldap so upgrades work [SME: 7273] |
- Obsolete nss_ldap so upgrades work [SME: 7273] |
68 |
|
|
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 |