# $Id$ # Authority: nocvs # Name: Michiel Blotwijk Summary: Lazy Admin's Tools is a set of scripts to automate admin tasks %define name e-smith-lazy_admin_tools %define version 0.9.0 %define release 1 Name: %{name} Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.gz License: (c)2003-2004 Altiplano bvba, published under the GPL License Group: Networking/Tools BuildRoot: /var/tmp/%{name}-%{version}-buildroot BuildArchitectures: noarch Requires: e-smith-base Requires: SMEServer >= 5.5 %description The Lazy Administrator's Tools is a set of scripts designed to automate batch tasks and jobs for E-Smith/SME servers. * lat-user : add/delete users * lat-group : add/delete groups * lat pseudonyms : add/delete e-mail pseudonyms for individual users * lat-ibays : add/delete ibays * lat-quota : set the disk quota for individual users * lat-domains : add domainnames the server * lat-hosts : add hostnames to the server * lat-procmail : activate or deactivate procmail for individual users * lat-pptp : activate or deactivate pptp access for individual users * lat-dump : create input files for the above lat-tools, based on the configuration files of the SME servers. See man lat-tools for general help on the usage of the toolkit, or run the command with the --help switch to get specific help. %changelog * Thu Feb 12 2004 Michiel Blotwijk - 0.8.3 - On SME 5.x, lat-pptp did not turn on pptp. Fixed. - Corrected man pages for lat-ibays * Thu Jan 29 2004 Michiel Blotwijk - 0.8.2 - If host altiplano.be is not reachable, the ego meter causes problems. Fixed * Fri Jan 22 2004 Michiel Blotwijk - 0.8.1 - First stable release for SME 6.x. Backwards compatibility to 5.5/5.6 ensured. - A few minor cosmetic changes - Added the "egometer" to the rpm. See the %post section for details. * Thu Jan 8 2004 Michiel Blotwijk - 0.8.0beta-1 - Updated the toolkit for SME 6.x - Made lat-pptp compatible with both SME 5.x and SME 6.x - Added a warning message to lat-restore with yes/no option. * Thu Aug 12 2003 Michiel Blotwijk - 0.7.2-1 - Removed a silly bug from lat-pseudonyms that prevented it from doing anything. - The --no-admin in lat-groups didn't work properly. Fixed. - Only root can execute the lat-tools now. The manpages remain visible for everyone. * Mon Jun 23 2003 Michiel Blotwijk - 0.7.1-1 - You can now also remove users from a group, using the -r switch - You can now also create groups without 'admin' or 'www'. This avoids the SME limitation of 28 groups. - lat-users created passwords, whether you asked for it or not. Fixed. * Tue Jun 18 2003 Michiel Blotwijk - 0.7.0-1 - Added lat-dump. - lat-users, lat-ibays and lat-groups now also accept a uid/gid. Because of this, the order of the arguments in lat-groups had to be changed!! - In lat-ibays, 'public access' could not be defined as 'none'. Fixed. - lat-pseudonyms and lat-groups didn't accept admin as user. Fixed. - lat-domains didn't correctly link the domainnames to an i-bay. Fixed. - Packaged lazy-admin-tools as rpm (thanks to Trevor Ouellette). - Added man pages. * Sat May 31 2003 Michiel Blotwijk - 0.6.0-4 - The lat-tools now also check /etc/passwd and /etc/groups for used uid/gid's This prevents the tools from failing if useradd or groupadd has been used. * Wed May 28 2003 Michiel Blotwijk - 0.6.0-2 - Fixed bug in lat-groups, stopping it from adding more than one user. * Tue May 27 2003 Michiel Blotwijk - 0.6.0 - Original release %prep %setup %build %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f e-smith-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)