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