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

Last change on this file since 1566 was 1465, checked in by herwigb, 7 years ago

spec: klusrmgr: Release version 1.2.1-1.

File size: 5.4 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.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
19Obsoletes: kLIBCum <= 1.0.10
20
21%description
22The purpose of this utility is to manage kLIBC users and groups.
23These files are found in %UNIXROOT%\etc and have the following names
24- master.passwd
25- group
26
27These files are syntactically properly maintained and compiled into
28pwd.db and spwd.db using the pwdmkdb.exe utility.
29
30
31%prep
32%setup -n "%{name}-%{version}" -Tc
33unzip -qj %{_sourcedir}/%{name}-%{version}.zip
34
35
36%build
37rexx2vio usermod.cmd usermod.exe
38rexx2vio groupmod.cmd groupmod.exe
39
40
41%install
42for f in useradd userdel userren groupadd groupdel *.exe ; do
43 install -p -m0755 -D $f $RPM_BUILD_ROOT%{_bindir}/$f
44done
45
46# don't change the case of the klusrmgr.exe name
47install -p -m0755 -D %{name}.EXE $RPM_BUILD_ROOT%{_bindir}/%{exename}
48
49for f in *.msg ; do
50 install -p -m0644 -D $f $RPM_BUILD_ROOT%{_datadir}/os2/lang/$f
51done
52
53
54%clean
55rm -rf "$RPM_BUILD_ROOT"
56
57
58%post
59if [ "$1" -ge 1 ]; then # (upon update)
60 %wps_object_delete_all
61 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
62fi
63%global title %{summary}
64%bww_folder -t %{title}
65%bww_app -f %{_bindir}/%{exename} -t %{title}
66%bww_readme -f %{_defaultdocdir}/%{name}-%{version}/readme.txt
67%bww_app_shadow
68%bww_app_shadow -d WP_CONFIG
69%{_rpmconfigdir_os2}/wpi4rpm add %{vendor}/%{name}/binaries %{version}-%{release}
70cmd /c klusrmgr.exe -init
71
72
73%postun
74if [ "$1" -eq 0 ]; then # (upon removal)
75 %wps_object_delete_all
76 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
77fi
78
79
80%files
81%defattr(-,root,root,-)
82%doc readme.txt
83%_bindir/*
84%_datadir/os2/lang/*.msg
85
86
87%changelog
88* Tue Sep 04 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.1-1
89- useradd and groupmod are compiled into .exe
90- standardized error messages in usermod and groupmod
91
92* Thu Aug 09 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.2.0-1
93- add useradd and friend shell scripts as wrapper to usermod/groupmod (Silvan)
94- changed usermod and groupmod to accept a lot more options
95
96* Mon Jul 30 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.6-1
97- add usermod and groupmod commands from Samba
98
99* Wed Jun 13 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.5-1
100- disable potentially dangeraous operations in case Samba User Manager is found
101
102* Fri Jun 8 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-3
103- make klusrmgr -init workable from rpm (fix by Silvan Scherrer)
104
105* Sun May 27 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.4-2
106- fix the location of wpi4rpm
107
108* Tue Feb 06 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-1
109- Fix: Missing msgs from 1.1.x sometimes did not work
110- Fix: Tab order on user page
111- Fix: Verify if passwords match also for new users
112
113* Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-2
114- fix buglet in package creation
115
116* Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-1
117- fix -init switch and repair structural bugs and omission introduced by 1.1.x
118
119* Thu Jun 08 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.2-1
120- add root group with GID 0 as a default group
121- fix several small bugs
122
123* Mon Apr 24 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.1-1
124- add -init switch and ensure default files are created upon installation
125
126* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-3
127- put RxCrypt.DLL into a separate package
128
129* Thu Jan 26 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-2
130- renamed to klusrmgr
131- added support for shell
132- completely rewrote user properties dialogue
133
134* Fri Nov 18 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.10
135- fix Ticket #7
136- fix minor bugs in user properties page
137- rework and simplify join/leave dialogue
138
139* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9-2
140- fix minor bug
141
142* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9
143- Limited group editing
144- bigger buttons, new icons
145- fix Ticket #125 (Unix ports)
146- fix new user bug
147- add ignore root shell error warning
148- make debug stick across sessions
149
150* Tue Nov 15 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.8
151- add functionality to add/remove multiple user from/to groups
152- double click on user open user properties to edit
153
154* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-2
155- fix minor bug
156
157* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-1
158- Add smbusers.exe check, fix missing NLV translations,
159- add NL, IT and RU language files
160
161* Thu Nov 10 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.6-1
162- Add "Remove user from group" functionality, fix missing NLV translations
163
164* Fri Nov 04 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.5-1
165- Add some hints, fix wrong hints
166
167* Thu Oct 27 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.4-1
168- bigger buttons, shortened strings for EN, ES
169
170* Mon Oct 24 2016 scs <silvan.scherrer@bitwiseworks.com> 1.0.3-1
171- first public version
172
Note: See TracBrowser for help on using the repository browser.