2 |
%define name e-smith-base |
%define name e-smith-base |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 4.18.1 |
%define version 4.18.1 |
5 |
%define release 22 |
%define release 24 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
26 |
Patch16: e-smith-base-4.18.1-fixPASSWORD_VERIFY_NEW.patch |
Patch16: e-smith-base-4.18.1-fixPASSWORD_VERIFY_NEW.patch |
27 |
Patch17: e-smith-base-4.18.1-ip-down.race.patch |
Patch17: e-smith-base-4.18.1-ip-down.race.patch |
28 |
Patch18: e-smith-base-4.18.1-FixLocalizedTitle.patch |
Patch18: e-smith-base-4.18.1-FixLocalizedTitle.patch |
29 |
|
Patch19: e-smith-base-4.18.1-xenfix.patch |
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
Requires: mod_auth_external |
Requires: mod_auth_external |
32 |
Requires: e-smith-lib >= 1.18.0-19 |
Requires: e-smith-lib >= 1.18.0-19 |
73 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
74 |
|
|
75 |
%changelog |
%changelog |
76 |
|
* Sat Sep 13 2008 Shad L. Lords <slords@mail.com> 4.18.1-24 |
77 |
|
- Fix detection of xen instance against newer kernels [SME: 4555] |
78 |
|
|
79 |
|
* Thu Aug 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-23 |
80 |
|
- Fixed warnings generated during build process [SME: 570] |
81 |
|
|
82 |
* Sun Aug 17 2008 Gavin Weight <gweight@gmail.com> 4.18.1-22 |
* Sun Aug 17 2008 Gavin Weight <gweight@gmail.com> 4.18.1-22 |
83 |
- Add gettext to creating backup file title for localization. [SME: 4467] |
- Add gettext to creating backup file title for localization. [SME: 4467] |
84 |
|
|
1300 |
%patch16 -p1 |
%patch16 -p1 |
1301 |
%patch17 -p1 |
%patch17 -p1 |
1302 |
%patch18 -p1 |
%patch18 -p1 |
1303 |
|
%patch19 -p1 |
1304 |
|
|
1305 |
%pre |
%pre |
1306 |
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 ] |
1365 |
mkdir -p root/etc/rc.d/rc1.d |
mkdir -p root/etc/rc.d/rc1.d |
1366 |
|
|
1367 |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES |
1368 |
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 |
1369 |
|
|
1370 |
mkdir -p root/etc/e-smith/locale |
mkdir -p root/etc/e-smith/locale |
1371 |
# Make the fr-ca link in %pre to ease upgrades |
# Make the fr-ca link in %pre to ease upgrades |
1410 |
mkdir -p root/etc/e-smith/events/local |
mkdir -p root/etc/e-smith/events/local |
1411 |
mkdir -p root/etc/e-smith/events/user-modify-admin |
mkdir -p root/etc/e-smith/events/user-modify-admin |
1412 |
mkdir -p root/home/e-smith/db |
mkdir -p root/home/e-smith/db |
|
touch root/home/e-smith/db/configuration |
|
1413 |
|
|
1414 |
mkdir -p root/etc/e-smith/pam |
mkdir -p root/etc/e-smith/pam |
1415 |
mkdir -p root/home/e-smith/ssl.key |
mkdir -p root/home/e-smith/ssl.key |
1421 |
for file in %{dbfiles} |
for file in %{dbfiles} |
1422 |
do |
do |
1423 |
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 |
|
1424 |
done |
done |
1425 |
|
|
1426 |
mkdir -p root/etc/tcprules |
mkdir -p root/etc/tcprules |