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