1 |
# $Id: smeserver-tw-logonscript.spec,v 1.18 2011/04/27 16:48:54 slords Exp $ |
2 |
# Authority: chriscosta |
3 |
# Name: Christian Costa |
4 |
|
5 |
%define name smeserver-tw-logonscript |
6 |
%define version 1.3 |
7 |
%define release 20 |
8 |
Summary: TechnologyWise Windows/Linux logon script for Samba |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
Source: smeserver-tw-logonscript-%{version}.tar.gz |
13 |
Patch0: smeserver-tw-logonscript-1.3-removeblank.patch |
14 |
Patch1: smeserver-tw-logonscript-1.3-locale-2009-10-21.patch |
15 |
Patch2: smeserver-tw-logonscript-1.3-locale-2009-10-27.patch |
16 |
Patch3: smeserver-tw-logonscript-1.3-PamMountOptsFix-HomeNameChange.patch |
17 |
Patch4: smeserver-tw-logonscript-1.3-SecurityFixBatchEdit.patch |
18 |
Patch5: smeserver-tw-logonscript-1.3-en_us_patch1.patch |
19 |
Patch6: smeserver-tw-logonscript-1.3-functionsPrintGroupTable.patch |
20 |
Patch7: smeserver-tw-logonscript-1.3-panelPrintGroupTable.patch |
21 |
Patch8: smeserver-tw-logonscript-1.3-TemplateWarningFix.patch |
22 |
Patch9: smeserver-tw-logonscript-1.3-signalEventPatch.patch |
23 |
Patch10: smeserver-tw-logonscript-1.3-signalEventPatch2.patch |
24 |
Patch11: smeserver-tw-logonscript-1.3-pathDBSettings.patch |
25 |
Patch12: smeserver-tw-logonscript-1.3-newDBproperty1.patch |
26 |
Patch13: smeserver-tw-logonscript-1.3-newDBproperty2.patch |
27 |
Patch14: smeserver-tw-logonscript-1.3-newDBproperty3.patch |
28 |
Patch15: smeserver-tw-logonscript-1.3-dbNameChange.patch |
29 |
Patch16: smeserver-tw-logonscript-1.3-locale-2010-03-02.patch |
30 |
Patch17: smeserver-tw-logonscript-1.3-locale-2010-05-23.patch |
31 |
Patch18: smeserver-tw-logonscript-1.3-locale-2011-03-06.patch |
32 |
Patch19: smeserver-tw-logonscript-1.3-locale-2011-04-27.patch |
33 |
Patch20: smeserver-tw-logonscript-1.3-locale-2012-03-20.patch |
34 |
License: GNU GPL version 2 |
35 |
Group: Networking/Daemons |
36 |
BuildArchitectures: noarch |
37 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
38 |
BuildRequires: e-smith-devtools |
39 |
|
40 |
%description |
41 |
TechnologyWise Windows/Linux logon script for Samba |
42 |
|
43 |
%prep |
44 |
%setup |
45 |
%patch0 -p1 |
46 |
%patch1 -p1 |
47 |
%patch2 -p1 |
48 |
%patch3 -p1 |
49 |
%patch4 -p1 |
50 |
%patch5 -p1 |
51 |
%patch6 -p1 |
52 |
%patch7 -p1 |
53 |
%patch8 -p1 |
54 |
%patch9 -p1 |
55 |
%patch10 -p1 |
56 |
%patch11 -p1 |
57 |
%patch12 -p1 |
58 |
%patch13 -p1 |
59 |
%patch14 -p1 |
60 |
%patch15 -p1 |
61 |
%patch16 -p1 |
62 |
%patch17 -p1 |
63 |
%patch18 -p1 |
64 |
%patch19 -p1 |
65 |
%patch20 -p1 |
66 |
|
67 |
%build |
68 |
perl createlinks |
69 |
|
70 |
%install |
71 |
rm -rf $RPM_BUILD_ROOT |
72 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
73 |
rm -f %{name}-%{version}-filelist |
74 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
75 |
> %{name}-%{version}-filelist |
76 |
|
77 |
%clean |
78 |
cd .. |
79 |
rm -rf %{name} |
80 |
|
81 |
%files -f %{name}-%{version}-filelist |
82 |
%defattr(-,root,root) |
83 |
|
84 |
%changelog |
85 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3-20.el6 |
86 |
- apply locale 2012-03-20 patch |
87 |
|
88 |
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.3-19.sme |
89 |
- apply locale 2011-04-27 patch |
90 |
|
91 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.3-18.sme |
92 |
- apply locale 2011-03-06 patch |
93 |
|
94 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.3-17.sme |
95 |
- apply locale 2010-05-23 patch |
96 |
|
97 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.3-16.sme |
98 |
- apply locale 2010-03-02 patch |
99 |
|
100 |
* Thu Jan 28 2010 Christian Costa <christian@tw.co.nz> 1.3-15 |
101 |
- Removed %pre %preun from spec file |
102 |
- Added new files under etc/e-smith/db/configuration/defaults/twlogonscript/ |
103 |
- Change to the main script so that it will comply with the new db name |
104 |
|
105 |
* Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14 |
106 |
- Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added. |
107 |
- Changed the spec file to set the default properties automatically |
108 |
|
109 |
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-13 |
110 |
- Changed event name on createlinks to bootstrap-console-save instead of post-upgrade. |
111 |
|
112 |
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-12 |
113 |
- Changed the createlinks script to correctly set up the templates to expand so that netlogon.bat will be expanded with workgroup-update and post-upgrade |
114 |
|
115 |
* Thu Nov 19 2009 Christian Costa <christian@tw.co.nz> 1.3-11 |
116 |
- Changes to the netlogon.bat template. If no drive letters were associate to I-bays it generated errors. Also defaulted the home drive to H: in case none is set. |
117 |
- Added two missing files to the workgroup-update and post-upgrade events. |
118 |
|
119 |
* Mon Nov 16 2009 Christian Costa <christian@tw.co.nz> 1.3-10 |
120 |
- Changes to the SME Server panel. Now it displays a list with all groups that allows custom group batch files to be edited/created for all groups not only the ones associated with i-bays. |
121 |
- Added a new lexicon to the en_us file |
122 |
|
123 |
* Wed Nov 4 2009 Christian Costa <christian@tw.co.nz> 1.3-9 |
124 |
- Fixed a security problem that would allow the creation of arbitrary files on the system. |
125 |
|
126 |
* Thu Oct 29 2009 Christian Costa <christian@tw.co.nz> 1.3-8 |
127 |
- Added additional pam_mount options to the .pam_mount.xml generation routine |
128 |
- Changed the user's home dir mount point name from home to win_home |
129 |
|
130 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.3-7.sme |
131 |
- apply locale 2009-10-27 patch |
132 |
|
133 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.3-6.sme |
134 |
- apply locale 2009-10-21 patch |
135 |
- cleanup changelog to be more readable |
136 |
|
137 |
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-5 |
138 |
<<<<<<< smeserver-tw-logonscript.spec |
139 |
Added e-smith-devtools as a build requirement |
140 |
|
141 |
======= |
142 |
- Added e-smith-devtools as a build requirement |
143 |
|
144 |
>>>>>>> 1.6 |
145 |
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-04 |
146 |
<<<<<<< smeserver-tw-logonscript.spec |
147 |
Removed a blank space from the source code for testing purposes |
148 |
|
149 |
======= |
150 |
- Removed a blank space from the source code for testing purposes |
151 |
|
152 |
>>>>>>> 1.6 |
153 |
* Thu Oct 8 2009 Christian Costa <christian@tw.co.nz> |
154 |
<<<<<<< smeserver-tw-logonscript.spec |
155 |
Added localisation support |
156 |
Added server-manager embedded custom group batch file editing |
157 |
Fixed a bug with user custom scripts that were being executed more than once |
158 |
|
159 |
======= |
160 |
- Added localisation support |
161 |
- Added server-manager embedded custom group batch file editing |
162 |
- Fixed a bug with user custom scripts that were being executed more than once |
163 |
|
164 |
>>>>>>> 1.6 |
165 |
* Thu Sep 3 2009 Christian Costa <christian@tw.co.nz> |
166 |
<<<<<<< smeserver-tw-logonscript.spec |
167 |
New specs file, new version number |
168 |
|
169 |
======= |
170 |
- New specs file, new version number |
171 |
|
172 |
>>>>>>> 1.6 |
173 |
* Mon Aug 10 2009 Christian Costa <christian@tw.co.nz> |
174 |
<<<<<<< smeserver-tw-logonscript.spec |
175 |
Branched out from the 61netlogonshare custom script and added a new db property for smb called LogonScript |
176 |
|
177 |
======= |
178 |
- Branched out from the 61netlogonshare custom script and added a new db property for smb called LogonScript |
179 |
|
180 |
>>>>>>> 1.6 |
181 |
* Wed Jul 8 2009 Christian Costa <christian@tw.co.nz> |
182 |
<<<<<<< smeserver-tw-logonscript.spec |
183 |
Added .pam_mount.conf.xml generation for Linux clients using libpam-mount. |
184 |
|
185 |
======= |
186 |
- Added .pam_mount.conf.xml generation for Linux clients using libpam-mount. |
187 |
|
188 |
>>>>>>> 1.6 |
189 |
* Wed Jul 29 2008 Christian Costa <christian@tw.co.nz> |
190 |
<<<<<<< smeserver-tw-logonscript.spec |
191 |
Added a feature that maps the drive if all users are allowed to read an I-bay. |
192 |
Extended the drive letter range from F to Z. |
193 |
|
194 |
======= |
195 |
- Added a feature that maps the drive if all users are allowed to read an I-bay. |
196 |
- Extended the drive letter range from F to Z. |
197 |
|
198 |
>>>>>>> 1.6 |
199 |
* Wed Jul 9 2008 Christian Costa <christian@tw.co.nz> |
200 |
<<<<<<< smeserver-tw-logonscript.spec |
201 |
Added the server-manager web interface to the package. |
202 |
======= |
203 |
- Added the server-manager web interface to the package. |
204 |
|
205 |
>>>>>>> 1.6 |