1 |
# $Id: smeserver-tw-logonscript.spec,v 1.1 2020/10/14 07:48:20 brianr Exp $ |
2 |
# Authority: chriscosta |
3 |
# Name: Christian Costa |
4 |
|
5 |
%define name smeserver-tw-logonscript |
6 |
%define version 1.5 |
7 |
%define release 5 |
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 |
License: GNU GPL version 2 |
14 |
Group: Networking/Daemons |
15 |
BuildArchitectures: noarch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: e-smith-devtools |
18 |
Patch0: smeserver-tw-logonscript-1.5.bz9047.Carp_declared_2_times.patch |
19 |
Patch1: smeserver-tw-logonscript-1.5-locale-2016-03-09.patch |
20 |
|
21 |
%description |
22 |
TechnologyWise Windows/Linux logon script for Samba |
23 |
|
24 |
%prep |
25 |
%setup |
26 |
%patch0 -p1 |
27 |
%patch1 -p1 |
28 |
|
29 |
|
30 |
%build |
31 |
perl createlinks |
32 |
|
33 |
%install |
34 |
rm -rf $RPM_BUILD_ROOT |
35 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
36 |
rm -f %{name}-%{version}-filelist |
37 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
38 |
> %{name}-%{version}-filelist |
39 |
|
40 |
%clean |
41 |
cd .. |
42 |
rm -rf %{name} |
43 |
|
44 |
%files -f %{name}-%{version}-filelist |
45 |
%defattr(-,root,root) |
46 |
|
47 |
%changelog |
48 |
* Wed Oct 14 2020 Brian Read <brianr@bjsystems.co.uk> 1.5-5.sme |
49 |
- Initial import to SME10 tree [SME: 11038] |
50 |
|
51 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.5-4.sme |
52 |
- apply locale 2016-03-09 patch |
53 |
|
54 |
* Tue Sep 08 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5-3.sme |
55 |
- Initial release to contribs9 [SME: 9047] |
56 |
- added smeserver-tw-logonscript-1.5.bz9047.Carp_declared_2_times.patch |
57 |
|
58 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3-21.sme |
59 |
- apply locale 2013-07-14 patch |
60 |
|
61 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3-20.el6 |
62 |
- apply locale 2012-03-20 patch |
63 |
|
64 |
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.3-19.sme |
65 |
- apply locale 2011-04-27 patch |
66 |
|
67 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.3-18.sme |
68 |
- apply locale 2011-03-06 patch |
69 |
|
70 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.3-17.sme |
71 |
- apply locale 2010-05-23 patch |
72 |
|
73 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.3-16.sme |
74 |
- apply locale 2010-03-02 patch |
75 |
|
76 |
* Thu Jan 28 2010 Christian Costa <christian@tw.co.nz> 1.3-15 |
77 |
- Removed %pre %preun from spec file |
78 |
- Added new files under etc/e-smith/db/configuration/defaults/twlogonscript/ |
79 |
- Change to the main script so that it will comply with the new db name |
80 |
|
81 |
* Wed Jan 27 2010 Christian Costa <christian@tw.co.nz> 1.3-14 |
82 |
- Created a new configuration database for tw-logonscript. Two properties MountPointsPath and UserHomeMountPointName have been added. |
83 |
- Changed the spec file to set the default properties automatically |
84 |
|
85 |
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-13 |
86 |
- Changed event name on createlinks to bootstrap-console-save instead of post-upgrade. |
87 |
|
88 |
* Tue Dec 1 2009 Christian Costa <christian@tw.co.nz> 1.3-12 |
89 |
- 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 |
90 |
|
91 |
* Thu Nov 19 2009 Christian Costa <christian@tw.co.nz> 1.3-11 |
92 |
- 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. |
93 |
- Added two missing files to the workgroup-update and post-upgrade events. |
94 |
|
95 |
* Mon Nov 16 2009 Christian Costa <christian@tw.co.nz> 1.3-10 |
96 |
- 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. |
97 |
- Added a new lexicon to the en_us file |
98 |
|
99 |
* Wed Nov 4 2009 Christian Costa <christian@tw.co.nz> 1.3-9 |
100 |
- Fixed a security problem that would allow the creation of arbitrary files on the system. |
101 |
|
102 |
* Thu Oct 29 2009 Christian Costa <christian@tw.co.nz> 1.3-8 |
103 |
- Added additional pam_mount options to the .pam_mount.xml generation routine |
104 |
- Changed the user's home dir mount point name from home to win_home |
105 |
|
106 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.3-7.sme |
107 |
- apply locale 2009-10-27 patch |
108 |
|
109 |
* Wed Oct 21 2009 SME Translation Server <translations@contribs.org> 1.3-6.sme |
110 |
- apply locale 2009-10-21 patch |
111 |
- cleanup changelog to be more readable |
112 |
|
113 |
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-5 |
114 |
- Added e-smith-devtools as a build requirement |
115 |
|
116 |
* Tue Oct 20 2009 Christian Costa <christian@tw.co.nz> 1.3-04 |
117 |
- Removed a blank space from the source code for testing purposes |
118 |
* Thu Oct 8 2009 Christian Costa <christian@tw.co.nz> |
119 |
- Added localisation support |
120 |
- Added server-manager embedded custom group batch file editing |
121 |
- Fixed a bug with user custom scripts that were being executed more than once |
122 |
|
123 |
* Thu Sep 3 2009 Christian Costa <christian@tw.co.nz> |
124 |
- New specs file, new version number |
125 |
|
126 |
* Mon Aug 10 2009 Christian Costa <christian@tw.co.nz> |
127 |
- Branched out from the 61netlogonshare custom script and added a new db property for smb called LogonScript |
128 |
|
129 |
* Wed Jul 8 2009 Christian Costa <christian@tw.co.nz> |
130 |
- Added .pam_mount.conf.xml generation for Linux clients using libpam-mount. |
131 |
|
132 |
* Tue Jul 29 2008 Christian Costa <christian@tw.co.nz> |
133 |
Wed Jul 29 2008 --> Wed Jul 23 2008 or Tue Jul 29 2008 or Wed Jul 30 2008 or .... |
134 |
- Added a feature that maps the drive if all users are allowed to read an I-bay. |
135 |
- Extended the drive letter range from F to Z. |
136 |
|
137 |
* Wed Jul 9 2008 Christian Costa <christian@tw.co.nz> |
138 |
- Added the server-manager web interface to the package. |