1 |
jpp |
1.1 |
# $Id: smeserver-dirty-tools.spec,v 1.8 2009/01/29 13:58:10 mweinber Exp $ |
2 |
|
|
# Authority: mweinber |
3 |
|
|
# Name: Michael Weinberger |
4 |
|
|
|
5 |
|
|
Summary: A collection of "dirty" scripts for the experienced administrator |
6 |
|
|
%define realname smeserver-dirty-tools |
7 |
|
|
Name: %{realname} |
8 |
|
|
%define version 0.1.0 |
9 |
|
|
Version: %{version} |
10 |
|
|
%define release 4 |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GNU GPL (GNU General Public License) |
13 |
|
|
Group: Administration |
14 |
|
|
Source: %{realname}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
16 |
|
|
BuildArch: noarch |
17 |
|
|
Requires: smeserver-release >= 10 |
18 |
|
|
Requires: perl-esmith-PasswordTools |
19 |
|
|
AutoReq: no |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
See http://wiki.contribs.org/Dirty_Tools for full documentation |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
%changelog |
26 |
|
|
* Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.9-4.sme |
27 |
|
|
- import to SME 10 [SME: 11621] |
28 |
|
|
|
29 |
|
|
* Thu Jan 29 2009 Michael Weinberger 0.0.9-3 |
30 |
|
|
Bug 4962 fix |
31 |
|
|
* Sat Mar 01 2008 Michael Weinberger 0.0.9-2 |
32 |
|
|
use perl-esmith-PasswordTools |
33 |
|
|
* Sat Mar 01 2008 Michael Weinberger 0.0.9-1 |
34 |
|
|
Bug 4001 fix |
35 |
|
|
* Tue Sep 11 2007 Michael Weinberger |
36 |
|
|
Version 0.0.9 |
37 |
|
|
dt-data-copy |
38 |
|
|
* Wed Aug 22 2007 Michael Weinberger |
39 |
|
|
Version 0.0.8 |
40 |
|
|
fixed dt-passowrds-sync: PasswordSet prop for ibays |
41 |
|
|
* Tue Aug 21 2007 Michael Weinberger |
42 |
|
|
Version 0.0.7 |
43 |
|
|
fixed dt-passowrds-sync: smbpasswd-sync: also sync flags and lct. |
44 |
|
|
fixed dt-lock-account: dont unlock (new) account without a password set: Print a error. |
45 |
|
|
Set PasswordSet property onyl if both shadow password and smb password are set |
46 |
|
|
* Sun Aug 19 2007 Michael Weinberger |
47 |
|
|
Version 0.0.6 |
48 |
|
|
dt-lock-account |
49 |
|
|
* Thu Aug 16 2007 Michael Weinberger |
50 |
|
|
Version 0.0.5 |
51 |
|
|
dt-pw-generate |
52 |
|
|
* Sun Aug 12 2007 Michael Weinberger |
53 |
|
|
Version 0.0.4 |
54 |
|
|
dt-dovecot-indexfiles-delete added |
55 |
|
|
dt-datasync renamed to dt-data-sync |
56 |
|
|
* Fri Aug 10 2007 Michael Weinberger |
57 |
|
|
Schleife in dt-password-sync mit 0 beginnen |
58 |
|
|
* Wed Aug 01 2007 Michael Weinberger |
59 |
|
|
- initial release 0.0.1 |
60 |
|
|
|
61 |
|
|
%prep |
62 |
|
|
%setup -q -n %{realname}-%{version} |
63 |
|
|
|
64 |
|
|
%build |
65 |
|
|
|
66 |
|
|
%install |
67 |
|
|
rm -rf $RPM_BUILD_ROOT |
68 |
|
|
rm -f %{name}-%{version}-filelist |
69 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
|
71 |
|
|
rm -f %{name}-%{version}-filelist |
72 |
|
|
|
73 |
|
|
find $RPM_BUILD_ROOT -depth -type f -print |\ |
74 |
|
|
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
75 |
|
|
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
76 |
|
|
>> %{name}-%{version}-filelist |
77 |
|
|
find $RPM_BUILD_ROOT -depth -type l -print |\ |
78 |
|
|
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
79 |
|
|
|
80 |
|
|
%clean |
81 |
|
|
rm -rf $RPM_BUILD_ROOT |
82 |
|
|
|
83 |
|
|
%files -f %{name}-%{version}-filelist |
84 |
|
|
%defattr(-,root,root) |