1 |
# $Id: smeserver-tw-logonscript.spec,v 1.6 2009/10/27 17:43:52 slords Exp $ |
# $Id: smeserver-tw-logonscript.spec,v 1.12 2009/12/01 02:24:41 chriscosta Exp $ |
2 |
# Authority: chriscosta |
# Authority: chriscosta |
3 |
# Name: Christian Costa |
# Name: Christian Costa |
4 |
|
|
5 |
%define name smeserver-tw-logonscript |
%define name smeserver-tw-logonscript |
6 |
%define version 1.3 |
%define version 1.3 |
7 |
%define release 8 |
%define release 14 |
8 |
Summary: TechnologyWise Windows/Linux logon script for Samba |
Summary: TechnologyWise Windows/Linux logon script for Samba |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
14 |
Patch1: smeserver-tw-logonscript-1.3-locale-2009-10-21.patch |
Patch1: smeserver-tw-logonscript-1.3-locale-2009-10-21.patch |
15 |
Patch2: smeserver-tw-logonscript-1.3-locale-2009-10-27.patch |
Patch2: smeserver-tw-logonscript-1.3-locale-2009-10-27.patch |
16 |
Patch3: smeserver-tw-logonscript-1.3-PamMountOptsFix-HomeNameChange.patch |
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 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
26 |
Group: Networking/Daemons |
Group: Networking/Daemons |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
37 |
%patch1 -p1 |
%patch1 -p1 |
38 |
%patch2 -p1 |
%patch2 -p1 |
39 |
%patch3 -p1 |
%patch3 -p1 |
40 |
|
%patch4 -p1 |
41 |
|
%patch5 -p1 |
42 |
|
%patch6 -p1 |
43 |
|
%patch7 -p1 |
44 |
|
%patch8 -p1 |
45 |
|
%patch9 -p1 |
46 |
|
%patch10 -p1 |
47 |
|
%patch11 -p1 |
48 |
%build |
%build |
49 |
perl createlinks |
perl createlinks |
50 |
|
|
59 |
cd .. |
cd .. |
60 |
rm -rf %{name} |
rm -rf %{name} |
61 |
|
|
62 |
|
|
63 |
|
%pre |
64 |
|
UPDATE=$(/sbin/e-smith/db configuration get tw-logonscript) |
65 |
|
|
66 |
|
case $UPDATE in |
67 |
|
0) |
68 |
|
echo "tw-logonscript configuration db found, not touching anything" |
69 |
|
;; |
70 |
|
|
71 |
|
1) |
72 |
|
/sbin/e-smith/db configuration set tw-logonscript configuration |
73 |
|
/sbin/e-smith/db configuration setprop tw-logonscript MountPointsPath /mnt UserHomeMountPointName user_data |
74 |
|
;; |
75 |
|
esac |
76 |
|
|
77 |
|
%preun |
78 |
|
/sbin/e-smith/db configuration delete tw-logonscript |
79 |
|
|
80 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
81 |
%defattr(-,root,root) |
%defattr(-,root,root) |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
* Thu Oct 29 2009 SME Translation Server <christian@tw.co.nz> 1.3-8.sme |
* Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14 |
85 |
|
- Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added. |
86 |
|
- Changed the spec file to set the default properties automatically |
87 |
|
|
88 |
|
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-13 |
89 |
|
- Changed event name on createlinks to bootstrap-console-save instead of post-upgrade. |
90 |
|
|
91 |
|
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-12 |
92 |
|
- 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 |
93 |
|
|
94 |
|
* Thu Nov 19 2009 Christian Costa <christian@tw.co.nz> 1.3-11 |
95 |
|
- 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. |
96 |
|
- Added two missing files to the workgroup-update and post-upgrade events. |
97 |
|
|
98 |
|
* Mon Nov 16 2009 Christian Costa <christian@tw.co.nz> 1.3-10 |
99 |
|
- 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. |
100 |
|
- Added a new lexicon to the en_us file |
101 |
|
|
102 |
|
* Wed Nov 4 2009 Christian Costa <christian@tw.co.nz> 1.3-9 |
103 |
|
- Fixed a security problem that would allow the creation of arbitrary files on the system. |
104 |
|
|
105 |
|
* Thu Oct 29 2009 Christian Costa <christian@tw.co.nz> 1.3-8 |
106 |
- Added additional pam_mount options to the .pam_mount.xml generation routine |
- Added additional pam_mount options to the .pam_mount.xml generation routine |
107 |
- Changed the user's home dir mount point name from home to win_home |
- Changed the user's home dir mount point name from home to win_home |
108 |
|
|