1 |
unnilennium |
1.3 |
# $Id: smeserver-tw-logonscript.spec,v 1.2 2013/07/15 00:05:24 unnilennium Exp $ |
2 |
unnilennium |
1.1 |
# Authority: chriscosta |
3 |
|
|
# Name: Christian Costa |
4 |
|
|
|
5 |
|
|
%define name smeserver-tw-logonscript |
6 |
|
|
%define version 1.3 |
7 |
unnilennium |
1.3 |
%define release 22 |
8 |
unnilennium |
1.1 |
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 |
unnilennium |
1.2 |
Patch21: smeserver-tw-logonscript-1.3-locale-2013-07-14.patch |
35 |
unnilennium |
1.3 |
Patch22: smeserver-tw-logonscript-1.3-locale-2016-03-09.patch |
36 |
|
|
|
37 |
unnilennium |
1.1 |
License: GNU GPL version 2 |
38 |
|
|
Group: Networking/Daemons |
39 |
|
|
BuildArchitectures: noarch |
40 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
41 |
|
|
BuildRequires: e-smith-devtools |
42 |
|
|
|
43 |
|
|
%description |
44 |
|
|
TechnologyWise Windows/Linux logon script for Samba |
45 |
|
|
|
46 |
|
|
%prep |
47 |
|
|
%setup |
48 |
|
|
%patch0 -p1 |
49 |
|
|
%patch1 -p1 |
50 |
|
|
%patch2 -p1 |
51 |
|
|
%patch3 -p1 |
52 |
|
|
%patch4 -p1 |
53 |
|
|
%patch5 -p1 |
54 |
|
|
%patch6 -p1 |
55 |
|
|
%patch7 -p1 |
56 |
|
|
%patch8 -p1 |
57 |
|
|
%patch9 -p1 |
58 |
|
|
%patch10 -p1 |
59 |
|
|
%patch11 -p1 |
60 |
|
|
%patch12 -p1 |
61 |
|
|
%patch13 -p1 |
62 |
|
|
%patch14 -p1 |
63 |
|
|
%patch15 -p1 |
64 |
|
|
%patch16 -p1 |
65 |
|
|
%patch17 -p1 |
66 |
|
|
%patch18 -p1 |
67 |
|
|
%patch19 -p1 |
68 |
|
|
%patch20 -p1 |
69 |
unnilennium |
1.2 |
%patch21 -p1 |
70 |
unnilennium |
1.3 |
%patch22 -p1 |
71 |
|
|
|
72 |
unnilennium |
1.1 |
|
73 |
|
|
%build |
74 |
|
|
perl createlinks |
75 |
|
|
|
76 |
|
|
%install |
77 |
|
|
rm -rf $RPM_BUILD_ROOT |
78 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
79 |
|
|
rm -f %{name}-%{version}-filelist |
80 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
81 |
|
|
> %{name}-%{version}-filelist |
82 |
|
|
|
83 |
|
|
%clean |
84 |
|
|
cd .. |
85 |
|
|
rm -rf %{name} |
86 |
|
|
|
87 |
|
|
%files -f %{name}-%{version}-filelist |
88 |
|
|
%defattr(-,root,root) |
89 |
|
|
|
90 |
|
|
%changelog |
91 |
unnilennium |
1.3 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.3-22.sme |
92 |
|
|
- apply locale 2016-03-09 patch |
93 |
|
|
|
94 |
unnilennium |
1.2 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3-21.sme |
95 |
|
|
- apply locale 2013-07-14 patch |
96 |
|
|
|
97 |
unnilennium |
1.1 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3-20.el6 |
98 |
|
|
- apply locale 2012-03-20 patch |
99 |
|
|
|
100 |
|
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.3-19.sme |
101 |
|
|
- apply locale 2011-04-27 patch |
102 |
|
|
|
103 |
|
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.3-18.sme |
104 |
|
|
- apply locale 2011-03-06 patch |
105 |
|
|
|
106 |
|
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.3-17.sme |
107 |
|
|
- apply locale 2010-05-23 patch |
108 |
|
|
|
109 |
|
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.3-16.sme |
110 |
|
|
- apply locale 2010-03-02 patch |
111 |
|
|
|
112 |
|
|
* Thu Jan 28 2010 Christian Costa <christian@tw.co.nz> 1.3-15 |
113 |
|
|
- Removed %pre %preun from spec file |
114 |
|
|
- Added new files under etc/e-smith/db/configuration/defaults/twlogonscript/ |
115 |
|
|
- Change to the main script so that it will comply with the new db name |
116 |
|
|
|
117 |
|
|
* Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14 |
118 |
|
|
- Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added. |
119 |
|
|
- Changed the spec file to set the default properties automatically |
120 |
|
|
|
121 |
|
|
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-13 |
122 |
|
|
- Changed event name on createlinks to bootstrap-console-save instead of post-upgrade. |
123 |
|
|
|
124 |
|
|
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-12 |
125 |
|
|
- 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 |
126 |
|
|
|
127 |
|
|
* Thu Nov 19 2009 Christian Costa <christian@tw.co.nz> 1.3-11 |
128 |
|
|
- 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. |
129 |
|
|
- Added two missing files to the workgroup-update and post-upgrade events. |
130 |
|
|
|
131 |
|
|
* Mon Nov 16 2009 Christian Costa <christian@tw.co.nz> 1.3-10 |
132 |
|
|
- 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. |
133 |
|
|
- Added a new lexicon to the en_us file |
134 |
|
|
|
135 |
|
|
* Wed Nov 4 2009 Christian Costa <christian@tw.co.nz> 1.3-9 |
136 |
|
|
- Fixed a security problem that would allow the creation of arbitrary files on the system. |
137 |
|
|
|
138 |
|
|
* Thu Oct 29 2009 Christian Costa <christian@tw.co.nz> 1.3-8 |
139 |
|
|
- Added additional pam_mount options to the .pam_mount.xml generation routine |
140 |
|
|
- Changed the user's home dir mount point name from home to win_home |
141 |
|
|
|
142 |
|
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.3-7.sme |
143 |
|
|
- apply locale 2009-10-27 patch |
144 |
|
|
|
145 |
|
|
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.3-6.sme |
146 |
|
|
- apply locale 2009-10-21 patch |
147 |
|
|
- cleanup changelog to be more readable |
148 |
|
|
|
149 |
|
|
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-5 |
150 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
151 |
|
|
Added e-smith-devtools as a build requirement |
152 |
|
|
|
153 |
|
|
======= |
154 |
|
|
- Added e-smith-devtools as a build requirement |
155 |
|
|
|
156 |
|
|
>>>>>>> 1.6 |
157 |
|
|
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-04 |
158 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
159 |
|
|
Removed a blank space from the source code for testing purposes |
160 |
|
|
|
161 |
|
|
======= |
162 |
|
|
- Removed a blank space from the source code for testing purposes |
163 |
|
|
|
164 |
|
|
>>>>>>> 1.6 |
165 |
|
|
* Thu Oct 8 2009 Christian Costa <christian@tw.co.nz> |
166 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
167 |
|
|
Added localisation support |
168 |
|
|
Added server-manager embedded custom group batch file editing |
169 |
|
|
Fixed a bug with user custom scripts that were being executed more than once |
170 |
|
|
|
171 |
|
|
======= |
172 |
|
|
- Added localisation support |
173 |
|
|
- Added server-manager embedded custom group batch file editing |
174 |
|
|
- Fixed a bug with user custom scripts that were being executed more than once |
175 |
|
|
|
176 |
|
|
>>>>>>> 1.6 |
177 |
|
|
* Thu Sep 3 2009 Christian Costa <christian@tw.co.nz> |
178 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
179 |
|
|
New specs file, new version number |
180 |
|
|
|
181 |
|
|
======= |
182 |
|
|
- New specs file, new version number |
183 |
|
|
|
184 |
|
|
>>>>>>> 1.6 |
185 |
|
|
* Mon Aug 10 2009 Christian Costa <christian@tw.co.nz> |
186 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
187 |
|
|
Branched out from the 61netlogonshare custom script and added a new db property for smb called LogonScript |
188 |
|
|
|
189 |
|
|
======= |
190 |
|
|
- Branched out from the 61netlogonshare custom script and added a new db property for smb called LogonScript |
191 |
|
|
|
192 |
|
|
>>>>>>> 1.6 |
193 |
|
|
* Wed Jul 8 2009 Christian Costa <christian@tw.co.nz> |
194 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
195 |
|
|
Added .pam_mount.conf.xml generation for Linux clients using libpam-mount. |
196 |
|
|
|
197 |
|
|
======= |
198 |
|
|
- Added .pam_mount.conf.xml generation for Linux clients using libpam-mount. |
199 |
|
|
|
200 |
|
|
>>>>>>> 1.6 |
201 |
|
|
* Wed Jul 29 2008 Christian Costa <christian@tw.co.nz> |
202 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
203 |
|
|
Added a feature that maps the drive if all users are allowed to read an I-bay. |
204 |
|
|
Extended the drive letter range from F to Z. |
205 |
|
|
|
206 |
|
|
======= |
207 |
|
|
- Added a feature that maps the drive if all users are allowed to read an I-bay. |
208 |
|
|
- Extended the drive letter range from F to Z. |
209 |
|
|
|
210 |
|
|
>>>>>>> 1.6 |
211 |
|
|
* Wed Jul 9 2008 Christian Costa <christian@tw.co.nz> |
212 |
|
|
<<<<<<< smeserver-tw-logonscript.spec |
213 |
|
|
Added the server-manager web interface to the package. |
214 |
|
|
======= |
215 |
|
|
- Added the server-manager web interface to the package. |
216 |
|
|
|
217 |
|
|
>>>>>>> 1.6 |