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