1 |
|
# $Id: e-smith-base+ldap.spec,v 1.29 2008/10/08 16:50:47 vip-ire 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+ldap |
%define name e-smith-base+ldap |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 4.19.1 |
%define version 5.2.0 |
7 |
%define release 1 |
%define release 3 |
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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-base+ldap-4.19.1-ldap.patch |
Patch1: e-smith-base+ldap-5.2.0-sys_accounts.patch |
14 |
Patch2: e-smith-base-4.18.1-insertmode.patch |
Patch2: e-smith-base+ldap-5.2.0-sambaRole.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 >= 1.18.0-19 |
Requires: e-smith-lib >= 2.2.0-2 |
18 |
Requires: server-manager-images, server-manager |
Requires: server-manager-images, server-manager |
19 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-12 |
20 |
Requires: initscripts >= 6.67-1es17 |
Requires: initscripts >= 6.67-1es17 |
21 |
Requires: e-smith-daemontools >= 1.7.1-04 |
Requires: e-smith-daemontools >= 1.7.1-04 |
22 |
Requires: perl(Locale::gettext) |
Requires: perl(Locale::gettext) |
30 |
Requires: dbus |
Requires: dbus |
31 |
Requires: hal |
Requires: hal |
32 |
Requires: acpid |
Requires: acpid |
|
Requires: whiptail |
|
33 |
Requires: rssh |
Requires: rssh |
34 |
Requires: bridge-utils |
Requires: bridge-utils |
35 |
Requires: vconfig |
Requires: vconfig |
44 |
Obsoletes: sshell |
Obsoletes: sshell |
45 |
Obsoletes: e-smith-rp-pppoe |
Obsoletes: e-smith-rp-pppoe |
46 |
Obsoletes: e-smith-base |
Obsoletes: e-smith-base |
47 |
Provides: e-smith-base = 4.18.1-4 |
Provides: e-smith-base = 4.18.1-5 |
48 |
Obsoletes: e-smith-ldap |
Obsoletes: e-smith-ldap |
49 |
Provides: e-smith-ldap |
Provides: e-smith-ldap = 4.12.0-9 |
50 |
Requires: nss_ldap |
Requires: nss_ldap |
51 |
Requires: e-smith-samba+ldap |
Requires: e-smith-samba+ldap |
52 |
Requires: cpu |
Requires: cpu |
|
%if "%{?rhel}" == "5" |
|
53 |
Obsoletes: perl-Data-UUID |
Obsoletes: perl-Data-UUID |
|
%endif |
|
54 |
BuildRequires: perl, perl(Test::Inline) >= 0.12 |
BuildRequires: perl, perl(Test::Inline) >= 0.12 |
55 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
56 |
BuildRequires: gettext |
BuildRequires: gettext |
65 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
66 |
|
|
67 |
%changelog |
%changelog |
68 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 5.2.0-3.sme |
69 |
|
- Add patch to support multiple samba roles [SME: 4172] |
70 |
|
|
71 |
|
* Wed Oct 8 2008 Daniel B. <daniel@firewall-services.com> 5.2.0-2.sme |
72 |
|
- do not import some system accounts/group in LDAP [SME: 4643] |
73 |
|
|
74 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
75 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
76 |
|
|
77 |
|
* Tue Sep 23 2008 Stephen Noble <support@dungog.net> 4.19.1-30 |
78 |
|
- Add locale tags for email in review panel [SME: 4267] |
79 |
|
|
80 |
|
* Sat Sep 20 2008 Shad L. Lords <slords@mail.com> 4.19.1-29 |
81 |
|
- Correct gettext type during build process [SME: 570] |
82 |
|
|
83 |
|
* Mon Sep 15 2008 Shad L. Lords <slords@mail.com> 4.19.1-28 |
84 |
|
- Fix screen corruption in console [SME: 4155] |
85 |
|
|
86 |
|
* Sat Sep 13 2008 Shad L. Lords <slords@mail.com> 4.19.1-27 |
87 |
|
- Fix detection of xen instance against newer kernels [SME: 4555] |
88 |
|
|
89 |
|
* Thu Aug 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-26 |
90 |
|
- Fixed warnings generated during build process [SME: 570] |
91 |
|
|
92 |
|
* Sun Aug 17 2008 Gavin Weight <gweight@gmail.com> 4.19.1-25 |
93 |
|
- Add gettext to creating backup file title for localization. [SME: 4467] |
94 |
|
|
95 |
|
* Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 4.19.1-24 |
96 |
|
- Fix race condition in VPN ip-down handling which could cause loss of |
97 |
|
LAN connectivity. [SME: 4405] |
98 |
|
|
99 |
|
* Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 4.19.1-23 |
100 |
|
- Remove requires for whiptail. No longer needed [SME: 4491] |
101 |
|
|
102 |
|
* Fri Aug 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-22 |
103 |
|
- Change userpassword panel to use PASSWORD_VERIFY_NEW instead of PASSWORD_NEW_VERIFY [SME: 4487] |
104 |
|
|
105 |
|
* Thu Aug 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-21 |
106 |
|
- Revert locale key PASSWORD_RESET_TITLE to RESET_PASSWORD_TITLE and move it |
107 |
|
to e-smith-formmagick's general [SME: 4475] |
108 |
|
- Reverting all *PASSWORD_NO_MATCH to *PASSWORD_VERIFY_ERROR locale keys [SME: 4476] |
109 |
|
- Remove invalid entry tag from userpassword's locale file preventing the |
110 |
|
form from displaying properly [SME: 4479] |
111 |
|
|
112 |
|
* Fri Jul 25 2008 Shad L. Lords <slords@mail.com> 4.19.1-20 |
113 |
|
- Separate template to avoid breaking schema [SME: 4171] |
114 |
|
|
115 |
|
* Fri Jul 25 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-19 |
116 |
|
- Merge Users and People informations in ou=Users. This is done by removing |
117 |
|
the 'account' objectClass and adding 'calEntry' and 'InetOrgPerson' for |
118 |
|
user accounts [SME: 4396] |
119 |
|
- do not reset objectClass attributes during ldap-update. This will allow |
120 |
|
admins to add others objectClass |
121 |
|
- use the dummy user (inetOrgPerson) of each group to store mail address |
122 |
|
of the group (may store alias latter) |
123 |
|
- remove now unused ou=People |
124 |
|
- rotate slapd log in logrotate event |
125 |
|
- compute sambaSID of users, prevent invalid sambaSID during migration |
126 |
|
|
127 |
|
* Wed Jul 23 2008 Gavin Weight <gweight@gmail.com> 4.19.1-18 |
128 |
|
- Add regex to support cciss device names in manageRAID.pl. [SME: 4455] |
129 |
|
|
130 |
|
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-17 |
131 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
132 |
|
|
133 |
|
* Thu May 14 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-16 |
134 |
|
- Add calEntry in ldap-update so the attribute calFBURL is allowed and |
135 |
|
ou=People can be updated |
136 |
|
|
137 |
|
* Mon Apr 28 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-15 |
138 |
|
- Fix run script when domain name has changed |
139 |
|
|
140 |
|
* Mon Apr 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.19.1-14 |
141 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
142 |
|
|
143 |
|
* Wed Apr 23 2008 Shad L. Lords <slords@mail.com> 4.19.1-13 |
144 |
|
- Fix for > 5 nics detected [SME: 4232] |
145 |
|
|
146 |
|
* Tue Apr 22 2008 Shad L. Lords <slords@mail.com> 4.19.1-12 |
147 |
|
- Remove use of Date::Manip from ssl.crt [SME: 3155] |
148 |
|
|
149 |
|
* Tue Apr 22 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-11 |
150 |
|
- Import samba information in ldap (for users) |
151 |
|
- Import samba machine accounts |
152 |
|
|
153 |
|
* Tue Apr 22 2008 Daniel B. <daniel@firewall-services.com> 4.19.1-10 |
154 |
|
- Updated samba.schema (necessary for substr search on sambaSID) |
155 |
|
- configured salpd to use md5crypt as hash |
156 |
|
- configure ldap.conf to use exop as hash (negociated with ldap server => md5crypt) |
157 |
|
- ACL for sambaLMPassword and sambaNTPassword |
158 |
|
- Allow unix account lookup in ou=Computers (for machine accounts) |
159 |
|
- Remove warnings in ldap.conf template |
160 |
|
|
161 |
|
* Sat Apr 19 2008 Shad L. Lords <slords@mail.com> 4.19.1-9 |
162 |
|
- Fix FreeBusy param when disabled [SME: 1806] |
163 |
|
- Remove .orig file [SME: 4228] |
164 |
|
|
165 |
|
* Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.19.1-8 |
166 |
|
- Remove quitConsole from menu [SME: 4154] |
167 |
|
|
168 |
|
* Wed Apr 2 2008 Sebastien F. <sebast@firewall-services.com> 4.19.1-7 |
169 |
|
- Really fix free/busy in usermanager [SME: 4157] |
170 |
|
|
171 |
|
* Wed Apr 2 2008 Sebastien F. <sebast@firewall-services.com> 4.19.1-6 |
172 |
|
- Set nss "bind_policy" to "soft" to be able to access to |
173 |
|
/etc/{passwd,groups,shadow} informations when ldap is down. |
174 |
|
- Set /etc/openldap/ldap.conf host to "localhost" and remove unnecessary |
175 |
|
use of SSL. [SME: 1543]. |
176 |
|
- Cleanly handle need of ldap directory generation after e-smith-base+ldap |
177 |
|
package: add prop "generateDb" to ldap key and modify /var/service/ldap/run. |
178 |
|
|
179 |
|
* Wed Apr 2 2008 Sebastien F. <sebast@firewall-services.com> 4.19.1-5 |
180 |
|
- Convert ldap-init-accounts action to /home/e-smith/db/ldap/ldif template |
181 |
|
[SME: 3439]. |
182 |
|
- New template is able to import after package install sme accounts from |
183 |
|
/etc/{passwd,group,shadow} files to ldap directory. |
184 |
|
|
185 |
|
* Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.19.1-4 |
186 |
|
- Use frames in elinks [SME: 4156] |
187 |
|
- Set homepage for elinks [SME: 4160] |
188 |
|
|
189 |
|
* Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 4.19.1-3 |
190 |
|
- Fix free/busy field in useraccounts [SME: 4157] |
191 |
|
|
192 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 4.19.1-2 |
193 |
|
- Add free/busy URL entry to help kronolith contribs [SME: 1806] |
194 |
|
|
195 |
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 4.19.1-1 |
* Mon Mar 31 2008 Shad L. Lords <slords@mail.com> 4.19.1-1 |
196 |
- Re-base off of e-smith-base-1.18.1 & e-smith-ldap-4.12.0 |
- Re-base off of e-smith-base-1.18.1 & e-smith-ldap-4.12.0 |
197 |
- Roll to development stream numbering |
- Roll to development stream numbering |
1191 |
%prep |
%prep |
1192 |
%setup |
%setup |
1193 |
%patch1 -p1 |
%patch1 -p1 |
|
%if "%{?rhel}" == "5" |
|
1194 |
%patch2 -p1 |
%patch2 -p1 |
|
%endif |
|
1195 |
|
|
1196 |
%pre |
%pre |
1197 |
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 ] |
1256 |
mkdir -p root/etc/rc.d/rc1.d |
mkdir -p root/etc/rc.d/rc1.d |
1257 |
|
|
1258 |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES |
mkdir -p root/usr/share/locale/en_US/LC_MESSAGES |
1259 |
xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console |
xgettext -L perl -o root/usr/share/locale/en_US/LC_MESSAGES/server-console.po root/sbin/e-smith/console |
1260 |
|
|
1261 |
mkdir -p root/etc/e-smith/locale |
mkdir -p root/etc/e-smith/locale |
1262 |
# Make the fr-ca link in %pre to ease upgrades |
# Make the fr-ca link in %pre to ease upgrades |
1301 |
mkdir -p root/etc/e-smith/events/local |
mkdir -p root/etc/e-smith/events/local |
1302 |
mkdir -p root/etc/e-smith/events/user-modify-admin |
mkdir -p root/etc/e-smith/events/user-modify-admin |
1303 |
mkdir -p root/home/e-smith/db |
mkdir -p root/home/e-smith/db |
|
touch root/home/e-smith/db/configuration |
|
1304 |
|
|
1305 |
mkdir -p root/etc/e-smith/pam |
mkdir -p root/etc/e-smith/pam |
1306 |
mkdir -p root/home/e-smith/ssl.key |
mkdir -p root/home/e-smith/ssl.key |
1312 |
for file in %{dbfiles} |
for file in %{dbfiles} |
1313 |
do |
do |
1314 |
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 |
|
1315 |
done |
done |
1316 |
|
|
1317 |
mkdir -p root/etc/tcprules |
mkdir -p root/etc/tcprules |