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