source: spec/trunk/SPECS/klusrmgr.spec@ 1768

Last change on this file since 1768 was 1739, checked in by herwigb, 5 years ago

spec: klusrmgr: Release version 1.4.1-1.

File size: 6.6 KB
Line 
1%define debug_package %{nil}
2# Disable compression completely
3%define _strip_no_compress 1
4%global exename klUsrMgr.EXE
5
6Summary: (kLIBC) User Manager
7Name: klusrmgr
8Version: 1.4.1
9Release: 1%{?dist}
10License: proprietary
11Group: Applications/System
12URL: http://www.netlabs.org/vxapps
13Vendor: bww bitwise works GmbH
14Source: %{name}-%{version}.zip
15BuildRoot: %_tmppath/%name-%version-%release-root
16Requires: os2-rpm >= 1-2
17Requires: rxcrypt >= 1.0.0
18Requires: bww-resources-rpm >= 1.1.0
19Requires: libc >= 1:0.1.2
20Obsoletes: kLIBCum <= 1.0.10
21
22%description
23The purpose of this utility is to manage kLIBC users and groups.
24These files are found in %UNIXROOT%\etc and have the following names
25- master.passwd
26- group
27
28These files are syntactically properly maintained and compiled into
29pwd.db and spwd.db using the pwd_mkdb.exe utility from libc package.
30
31
32%prep
33%setup -n "%{name}-%{version}" -Tc
34unzip -qj %{_sourcedir}/%{name}-%{version}.zip
35
36
37%build
38rexx2vio usermod.cmd usermod.exe
39rexx2vio groupmod.cmd groupmod.exe
40
41
42%install
43for f in useradd userdel userren groupadd groupdel *.exe ; do
44 install -p -m0755 -D $f $RPM_BUILD_ROOT%{_bindir}/$f
45done
46
47# don't change the case of the klusrmgr.exe name
48install -p -m0755 -D %{name}.EXE $RPM_BUILD_ROOT%{_bindir}/%{exename}
49
50for f in *.msg ; do
51 install -p -m0644 -D $f $RPM_BUILD_ROOT%{_datadir}/os2/lang/$f
52done
53
54
55%clean
56rm -rf "$RPM_BUILD_ROOT"
57
58
59%post
60if [ "$1" -ge 1 ]; then # (upon update)
61 %wps_object_delete_all
62 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
63fi
64%global title %{summary}
65%bww_folder -t %{title}
66%bww_app -f %{_bindir}/%{exename} -t %{title}
67%bww_readme -f %{_defaultdocdir}/%{name}-%{version}/readme.txt
68%bww_app_shadow
69%bww_app_shadow -d WP_CONFIG
70%{_rpmconfigdir_os2}/wpi4rpm add %{vendor}/%{name}/binaries %{version}-%{release}
71cmd /c klusrmgr.exe -init
72cmd /c groupmod.exe -x "wheel"
73
74%postun
75if [ "$1" -eq 0 ]; then # (upon removal)
76 %wps_object_delete_all
77 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
78fi
79
80
81%files
82%defattr(-,root,root,-)
83%doc readme.txt
84%_bindir/*
85%_datadir/os2/lang/*.msg
86
87
88%changelog
89* Tue Dec 1 2020 hb <herwig.bauernfeind@bitwiseworks.com> 1.4.1-1
90- transparently handle /@unixroot/ (both for reading and writing)
91
92* Sun May 10 2020 hb <herwig.bauernfeind@bitwiseworks.com> 1.4.0-1
93- Fix vxapps tickets #12 and #13
94- Remove "wheel" group upon installation
95- Add a refresh timer to the GUI in order to detect externally changed
96 users
97
98* Tue Apr 21 2020 hb <herwig.bauernfeind@bitwiseworks.com> 1.3.2-3
99- Repackage with proper zip file
100
101* Tue Apr 14 2020 hb <herwig.bauernfeind@bitwiseworks.com> 1.3.2-2
102- Clean fix for uninitiazed groupname. stem variable
103
104* Sun Apr 12 2020 hb <herwig.bauernfeind@bitwiseworks.com> 1.3.2-1
105- Testfix for uninitislized groupname variable
106
107* Thu Dec 05 2019 hb <herwig.bauernfeind@bitwiseworks.com> 1.3.1-1
108- fix bug when -init was invoked
109
110* Sun Nov 17 2019 hb <herwig.bauernfeind@bitwiseworks.com> 1.3.0-1
111- added additional default groups and users
112- internal: Addition of group/user manipulation routines without GUI
113
114* Fri Jul 12 2019 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.2-1
115- remove pwd_mkdb.exe as in libc now
116- added requires of libc
117
118* Tue Sep 04 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.1-1
119- useradd and groupmod are compiled into .exe
120- standardized error messages in usermod and groupmod
121
122* Thu Aug 09 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.0-1
123- add useradd and friend shell scripts as wrapper to usermod/groupmod (Silvan)
124- changed usermod and groupmod to accept a lot more options
125
126* Mon Jul 30 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.6-1
127- add usermod and groupmod commands from Samba
128
129* Wed Jun 13 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.5-1
130- disable potentially dangeraous operations in case Samba User Manager is found
131
132* Fri Jun 8 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-3
133- make klusrmgr -init workable from rpm (fix by Silvan Scherrer)
134
135* Sun May 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.4-2
136- fix the location of wpi4rpm
137
138* Tue Feb 06 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-1
139- Fix: Missing msgs from 1.1.x sometimes did not work
140- Fix: Tab order on user page
141- Fix: Verify if passwords match also for new users
142
143* Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-2
144- fix buglet in package creation
145
146* Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-1
147- fix -init switch and repair structural bugs and omission introduced by 1.1.x
148
149* Thu Jun 08 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.2-1
150- add root group with GID 0 as a default group
151- fix several small bugs
152
153* Mon Apr 24 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.1-1
154- add -init switch and ensure default files are created upon installation
155
156* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-3
157- put RxCrypt.DLL into a separate package
158
159* Thu Jan 26 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-2
160- renamed to klusrmgr
161- added support for shell
162- completely rewrote user properties dialogue
163
164* Fri Nov 18 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.10
165- fix Ticket #7
166- fix minor bugs in user properties page
167- rework and simplify join/leave dialogue
168
169* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9-2
170- fix minor bug
171
172* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9
173- Limited group editing
174- bigger buttons, new icons
175- fix Ticket #125 (Unix ports)
176- fix new user bug
177- add ignore root shell error warning
178- make debug stick across sessions
179
180* Tue Nov 15 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.8
181- add functionality to add/remove multiple user from/to groups
182- double click on user open user properties to edit
183
184* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-2
185- fix minor bug
186
187* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-1
188- Add smbusers.exe check, fix missing NLV translations,
189- add NL, IT and RU language files
190
191* Thu Nov 10 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.6-1
192- Add "Remove user from group" functionality, fix missing NLV translations
193
194* Fri Nov 04 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.5-1
195- Add some hints, fix wrong hints
196
197* Thu Oct 27 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.4-1
198- bigger buttons, shortened strings for EN, ES
199
200* Mon Oct 24 2016 scs <silvan.scherrer@bitwiseworks.com> 1.0.3-1
201- first public version
202
Note: See TracBrowser for help on using the repository browser.