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 5 |
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 |
Patch1: smeserver-dirty-tools-fix-maxdepth.patch |
21 |
|
22 |
%description |
23 |
See http://wiki.contribs.org/Dirty_Tools for full documentation |
24 |
|
25 |
|
26 |
%changelog |
27 |
* Fri Nov 12 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.0-5.sme |
28 |
- fix dt-dovecot-indexfiles-delete maxdepth [SME: 11621] |
29 |
|
30 |
* Fri Jun 04 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.0-4.sme |
31 |
- import to SME 10 [SME: 11621] |
32 |
|
33 |
* Thu Jan 29 2009 Michael Weinberger 0.0.9-3 |
34 |
Bug 4962 fix |
35 |
* Sat Mar 01 2008 Michael Weinberger 0.0.9-2 |
36 |
use perl-esmith-PasswordTools |
37 |
* Sat Mar 01 2008 Michael Weinberger 0.0.9-1 |
38 |
Bug 4001 fix |
39 |
* Tue Sep 11 2007 Michael Weinberger |
40 |
Version 0.0.9 |
41 |
dt-data-copy |
42 |
* Wed Aug 22 2007 Michael Weinberger |
43 |
Version 0.0.8 |
44 |
fixed dt-passowrds-sync: PasswordSet prop for ibays |
45 |
* Tue Aug 21 2007 Michael Weinberger |
46 |
Version 0.0.7 |
47 |
fixed dt-passowrds-sync: smbpasswd-sync: also sync flags and lct. |
48 |
fixed dt-lock-account: dont unlock (new) account without a password set: Print a error. |
49 |
Set PasswordSet property onyl if both shadow password and smb password are set |
50 |
* Sun Aug 19 2007 Michael Weinberger |
51 |
Version 0.0.6 |
52 |
dt-lock-account |
53 |
* Thu Aug 16 2007 Michael Weinberger |
54 |
Version 0.0.5 |
55 |
dt-pw-generate |
56 |
* Sun Aug 12 2007 Michael Weinberger |
57 |
Version 0.0.4 |
58 |
dt-dovecot-indexfiles-delete added |
59 |
dt-datasync renamed to dt-data-sync |
60 |
* Fri Aug 10 2007 Michael Weinberger |
61 |
Schleife in dt-password-sync mit 0 beginnen |
62 |
* Wed Aug 01 2007 Michael Weinberger |
63 |
- initial release 0.0.1 |
64 |
|
65 |
%prep |
66 |
%setup -q -n %{realname}-%{version} |
67 |
%patch1 -p1 |
68 |
|
69 |
%build |
70 |
|
71 |
%install |
72 |
rm -rf $RPM_BUILD_ROOT |
73 |
rm -f %{name}-%{version}-filelist |
74 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
75 |
|
76 |
rm -f %{name}-%{version}-filelist |
77 |
|
78 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
79 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
80 |
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
81 |
>> %{name}-%{version}-filelist |
82 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
83 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
84 |
|
85 |
%clean |
86 |
rm -rf $RPM_BUILD_ROOT |
87 |
|
88 |
%files -f %{name}-%{version}-filelist |
89 |
%defattr(-,root,root) |