2 |
%define name e-smith-base |
%define name e-smith-base |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 4.19.0 |
%define version 4.19.0 |
5 |
%define release 1 |
%define release 3 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
|
Patch1: e-smith-base-4.19.0-xenfix.patch |
12 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
Requires: mod_auth_external |
Requires: mod_auth_external |
14 |
Requires: e-smith-lib >= 1.18.0-19 |
Requires: e-smith-lib >= 1.18.0-19 |
55 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
56 |
|
|
57 |
%changelog |
%changelog |
58 |
|
* Sat Sep 13 2008 Shad L. Lords <slords@mail.com> 4.19.0-3 |
59 |
|
- Fix detection of xen instance against newer kernels [SME: 4555] |
60 |
|
|
61 |
|
* Thu Aug 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.0-2 |
62 |
|
- Fixed warnings generated during build process [SME: 570] |
63 |
|
|
64 |
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.19.0-1 |
* Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 4.19.0-1 |
65 |
- Roll new dev stream. |
- Roll new dev stream. |
66 |
|
|
1265 |
|
|
1266 |
%prep |
%prep |
1267 |
%setup |
%setup |
1268 |
|
%patch1 -p1 |
1269 |
|
|
1270 |
%pre |
%pre |
1271 |
if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] |
if [ -d /etc/e-smith/locale/fr-ca -a ! -L /etc/e-smith/locale/fr-ca ] |
1330 |
mkdir -p root/etc/rc.d/rc1.d |
mkdir -p root/etc/rc.d/rc1.d |
1331 |
|
|
1332 |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES |
1333 |
xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console |
xgettext -L shell -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console |
1334 |
|
|
1335 |
mkdir -p root/etc/e-smith/locale |
mkdir -p root/etc/e-smith/locale |
1336 |
# Make the fr-ca link in %pre to ease upgrades |
# Make the fr-ca link in %pre to ease upgrades |
1375 |
mkdir -p root/etc/e-smith/events/local |
mkdir -p root/etc/e-smith/events/local |
1376 |
mkdir -p root/etc/e-smith/events/user-modify-admin |
mkdir -p root/etc/e-smith/events/user-modify-admin |
1377 |
mkdir -p root/home/e-smith/db |
mkdir -p root/home/e-smith/db |
|
touch root/home/e-smith/db/configuration |
|
1378 |
|
|
1379 |
mkdir -p root/etc/e-smith/pam |
mkdir -p root/etc/e-smith/pam |
1380 |
mkdir -p root/home/e-smith/ssl.key |
mkdir -p root/home/e-smith/ssl.key |
1386 |
for file in %{dbfiles} |
for file in %{dbfiles} |
1387 |
do |
do |
1388 |
mkdir -p root/etc/e-smith/db/$file/{defaults,migrate,force} |
mkdir -p root/etc/e-smith/db/$file/{defaults,migrate,force} |
|
# Create ghost file for rpm |
|
|
touch root/home/e-smith/db/$file |
|
1389 |
done |
done |
1390 |
|
|
1391 |
mkdir -p root/etc/tcprules |
mkdir -p root/etc/tcprules |