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