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

Last change on this file since 1690 was 1660, checked in by herwigb, 6 years ago

spec: klusrmgr: Release version 1.2.2-1.

File size: 5.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 Management
7Name: klusrmgr
8Version: 1.2.2
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
72
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* Fri Jul 12 2019 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.2-1
90- remove pwd_mkdb.exe as in libc now
91- added requires of libc
92
93* Tue Sep 04 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.1-1
94- useradd and groupmod are compiled into .exe
95- standardized error messages in usermod and groupmod
96
97* Thu Aug 09 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.0-1
98- add useradd and friend shell scripts as wrapper to usermod/groupmod (Silvan)
99- changed usermod and groupmod to accept a lot more options
100
101* Mon Jul 30 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.6-1
102- add usermod and groupmod commands from Samba
103
104* Wed Jun 13 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.5-1
105- disable potentially dangeraous operations in case Samba User Manager is found
106
107* Fri Jun 8 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-3
108- make klusrmgr -init workable from rpm (fix by Silvan Scherrer)
109
110* Sun May 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.4-2
111- fix the location of wpi4rpm
112
113* Tue Feb 06 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-1
114- Fix: Missing msgs from 1.1.x sometimes did not work
115- Fix: Tab order on user page
116- Fix: Verify if passwords match also for new users
117
118* Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-2
119- fix buglet in package creation
120
121* Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-1
122- fix -init switch and repair structural bugs and omission introduced by 1.1.x
123
124* Thu Jun 08 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.2-1
125- add root group with GID 0 as a default group
126- fix several small bugs
127
128* Mon Apr 24 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.1-1
129- add -init switch and ensure default files are created upon installation
130
131* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-3
132- put RxCrypt.DLL into a separate package
133
134* Thu Jan 26 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-2
135- renamed to klusrmgr
136- added support for shell
137- completely rewrote user properties dialogue
138
139* Fri Nov 18 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.10
140- fix Ticket #7
141- fix minor bugs in user properties page
142- rework and simplify join/leave dialogue
143
144* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9-2
145- fix minor bug
146
147* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9
148- Limited group editing
149- bigger buttons, new icons
150- fix Ticket #125 (Unix ports)
151- fix new user bug
152- add ignore root shell error warning
153- make debug stick across sessions
154
155* Tue Nov 15 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.8
156- add functionality to add/remove multiple user from/to groups
157- double click on user open user properties to edit
158
159* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-2
160- fix minor bug
161
162* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-1
163- Add smbusers.exe check, fix missing NLV translations,
164- add NL, IT and RU language files
165
166* Thu Nov 10 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.6-1
167- Add "Remove user from group" functionality, fix missing NLV translations
168
169* Fri Nov 04 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.5-1
170- Add some hints, fix wrong hints
171
172* Thu Oct 27 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.4-1
173- bigger buttons, shortened strings for EN, ES
174
175* Mon Oct 24 2016 scs <silvan.scherrer@bitwiseworks.com> 1.0.3-1
176- first public version
177
Note: See TracBrowser for help on using the repository browser.