1 |
# $Id: e-smith-lazy_admin_tools.spec,v 1.1 2010/03/04 16:37:47 slords Exp $ |
2 |
# Authority: nocvs |
3 |
# Name: Michiel Blotwijk |
4 |
|
5 |
Summary: Lazy Admin's Tools is a set of scripts to automate admin tasks |
6 |
%define name e-smith-lazy_admin_tools |
7 |
%define version 0.9.0 |
8 |
%define release 1 |
9 |
|
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release} |
13 |
Source: %{name}-%{version}.tar.gz |
14 |
License: (c)2003-2004 Altiplano bvba, published under the GPL License |
15 |
|
16 |
Group: Networking/Tools |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: e-smith-base |
20 |
Requires: SMEServer >= 5.5 |
21 |
|
22 |
%description |
23 |
The Lazy Administrator's Tools is a set of scripts designed to automate |
24 |
batch tasks and jobs for E-Smith/SME servers. |
25 |
* lat-user : add/delete users |
26 |
* lat-group : add/delete groups |
27 |
* lat pseudonyms : add/delete e-mail pseudonyms for individual users |
28 |
* lat-ibays : add/delete ibays |
29 |
* lat-quota : set the disk quota for individual users |
30 |
* lat-domains : add domainnames the server |
31 |
* lat-hosts : add hostnames to the server |
32 |
* lat-procmail : activate or deactivate procmail for individual users |
33 |
* lat-pptp : activate or deactivate pptp access for individual users |
34 |
* lat-dump : create input files for the above lat-tools, based on the |
35 |
configuration files of the SME servers. |
36 |
|
37 |
See man lat-tools for general help on the usage of the toolkit, or run the |
38 |
command with the --help switch to get specific help. |
39 |
|
40 |
%changelog |
41 |
* Thu Feb 12 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
42 |
- 0.8.3 |
43 |
- On SME 5.x, lat-pptp did not turn on pptp. Fixed. |
44 |
- Corrected man pages for lat-ibays |
45 |
|
46 |
* Thu Jan 29 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
47 |
- 0.8.2 |
48 |
- If host altiplano.be is not reachable, the ego meter causes problems. Fixed |
49 |
|
50 |
* Fri Jan 22 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
51 |
- 0.8.1 |
52 |
- First stable release for SME 6.x. Backwards compatibility to 5.5/5.6 ensured. |
53 |
- A few minor cosmetic changes |
54 |
- Added the "egometer" to the rpm. See the %post section for details. |
55 |
|
56 |
* Thu Jan 8 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
57 |
- 0.8.0beta-1 |
58 |
- Updated the toolkit for SME 6.x |
59 |
- Made lat-pptp compatible with both SME 5.x and SME 6.x |
60 |
- Added a warning message to lat-restore with yes/no option. |
61 |
|
62 |
* Thu Aug 12 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
63 |
- 0.7.2-1 |
64 |
- Removed a silly bug from lat-pseudonyms that prevented it from doing anything. |
65 |
- The --no-admin in lat-groups didn't work properly. Fixed. |
66 |
- Only root can execute the lat-tools now. The manpages remain visible for |
67 |
everyone. |
68 |
|
69 |
* Mon Jun 23 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
70 |
- 0.7.1-1 |
71 |
- You can now also remove users from a group, using the -r switch |
72 |
- You can now also create groups without 'admin' or 'www'. This avoids |
73 |
the SME limitation of 28 groups. |
74 |
- lat-users created passwords, whether you asked for it or not. Fixed. |
75 |
|
76 |
* Tue Jun 18 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
77 |
- 0.7.0-1 |
78 |
- Added lat-dump. |
79 |
- lat-users, lat-ibays and lat-groups now also accept a uid/gid. Because of |
80 |
this, the order of the arguments in lat-groups had to be changed!! |
81 |
- In lat-ibays, 'public access' could not be defined as 'none'. Fixed. |
82 |
- lat-pseudonyms and lat-groups didn't accept admin as user. Fixed. |
83 |
- lat-domains didn't correctly link the domainnames to an i-bay. Fixed. |
84 |
- Packaged lazy-admin-tools as rpm (thanks to Trevor Ouellette). |
85 |
- Added man pages. |
86 |
|
87 |
* Sat May 31 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
88 |
- 0.6.0-4 |
89 |
- The lat-tools now also check /etc/passwd and /etc/groups for used uid/gid's |
90 |
This prevents the tools from failing if useradd or groupadd has been used. |
91 |
|
92 |
* Wed May 28 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
93 |
- 0.6.0-2 |
94 |
- Fixed bug in lat-groups, stopping it from adding more than one user. |
95 |
|
96 |
* Tue May 27 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be> |
97 |
- 0.6.0 |
98 |
- Original release |
99 |
|
100 |
%prep |
101 |
|
102 |
%setup |
103 |
|
104 |
%build |
105 |
|
106 |
%install |
107 |
rm -rf $RPM_BUILD_ROOT |
108 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
109 |
rm -f e-smith-%{version}-filelist |
110 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
111 |
|
112 |
%clean |
113 |
rm -rf $RPM_BUILD_ROOT |
114 |
|
115 |
%files -f %{name}-%{version}-filelist |
116 |
%defattr(-,root,root) |