/[smecontribs]/rpms/smeserver-lazy_admin_tools/contribs7/smeserver-lazy_admin_tools.spec
ViewVC logotype

Contents of /rpms/smeserver-lazy_admin_tools/contribs7/smeserver-lazy_admin_tools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sat Feb 2 18:40:39 2013 UTC (11 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-0_9_1-2_el4_sme
Changes since 1.2: +19 -2 lines
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com  0.9.1-3.sme
- binary are not executable [SME: 7283]

1 # $Id: smeserver-lazy_admin_tools.spec,v 1.2 2010/03/06 16:27:29 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 smeserver-lazy_admin_tools
7 %define version 0.9.1
8 %define release 2%{?dist}
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}
12 Source: %{name}-%{version}.tar.gz
13 Patch0: smeserver-lazy_admin_tools-0.9.1-2-userid_length-pptp_create.patch
14 License: (c)2003-2004 Altiplano bvba, published under the GPL License
15 Group: Networking/Tools
16 BuildRoot: /var/tmp/%{name}-%{version}-buildroot
17 BuildArchitectures: noarch
18 Requires: e-smith-base
19 Requires: SMEServer >= 7.0
20 Obsoletes: e-smith-lazy_admin_tools
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 * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 0.9.1-3.sme
42 - binary are not executable [SME: 7283]
43
44 * Sun Oct 22 2006 John H. Bennett III <bennettj@johnbennettservices> 0.9.1-2
45 - Modified lat-users code so that userids can be created with up to 31 characters to match SME 7.
46 - Modified lat-pptp code so that SME Server 7 is recogninzed and will set the correct DB entries.
47 The other code needs to be removed.
48
49 * Mon Aug 07 2006 John H. Bennett III <bennettj@johnbennettservices> 0.9.1-1
50 - renamed to smeserver-lazy_admin_tools to conform to SME Server 7.x contribs naming standards
51 * Thu Feb 09 2006 John H. Bennett III <bennettj@thebennetthome.com>
52 - 0.9.1
53 - Modified each lat- file and changed /home/e-smith/xxx to /home/e-smith/db/xxx
54 so it would at least work on sme 7.0
55 - added a requires SMEServer >= 7.0
56 - Bumped version and re-rolled RPM
57
58 * Thu Feb 12 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
59 - 0.8.3
60 - On SME 5.x, lat-pptp did not turn on pptp. Fixed.
61 - Corrected man pages for lat-ibays
62
63 * Thu Jan 29 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
64 - 0.8.2
65 - If host altiplano.be is not reachable, the ego meter causes problems. Fixed
66
67 * Fri Jan 22 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
68 - 0.8.1
69 - First stable release for SME 6.x. Backwards compatibility to 5.5/5.6 ensured.
70 - A few minor cosmetic changes
71 - Added the "egometer" to the rpm. See the %post section for details.
72
73 * Thu Jan 8 2004 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
74 - 0.8.0beta-1
75 - Updated the toolkit for SME 6.x
76 - Made lat-pptp compatible with both SME 5.x and SME 6.x
77 - Added a warning message to lat-restore with yes/no option.
78
79 * Thu Aug 12 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
80 - 0.7.2-1
81 - Removed a silly bug from lat-pseudonyms that prevented it from doing anything.
82 - The --no-admin in lat-groups didn't work properly. Fixed.
83 - Only root can execute the lat-tools now. The manpages remain visible for
84 everyone.
85
86 * Mon Jun 23 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
87 - 0.7.1-1
88 - You can now also remove users from a group, using the -r switch
89 - You can now also create groups without 'admin' or 'www'. This avoids
90 the SME limitation of 28 groups.
91 - lat-users created passwords, whether you asked for it or not. Fixed.
92
93 * Tue Jun 18 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
94 - 0.7.0-1
95 - Added lat-dump.
96 - lat-users, lat-ibays and lat-groups now also accept a uid/gid. Because of
97 this, the order of the arguments in lat-groups had to be changed!!
98 - In lat-ibays, 'public access' could not be defined as 'none'. Fixed.
99 - lat-pseudonyms and lat-groups didn't accept admin as user. Fixed.
100 - lat-domains didn't correctly link the domainnames to an i-bay. Fixed.
101 - Packaged lazy-admin-tools as rpm (thanks to Trevor Ouellette).
102 - Added man pages.
103
104 * Sat May 31 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
105 - 0.6.0-4
106 - The lat-tools now also check /etc/passwd and /etc/groups for used uid/gid's
107 This prevents the tools from failing if useradd or groupadd has been used.
108
109 * Wed May 28 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
110 - 0.6.0-2
111 - Fixed bug in lat-groups, stopping it from adding more than one user.
112
113 * Tue May 27 2003 Michiel Blotwijk <michiel.blotwijk@altiplano.be>
114 - 0.6.0
115 - Original release
116
117 %prep
118
119 %setup
120 %patch0 -p1
121
122 %build
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
127 rm -f e-smith-%{version}-filelist
128 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
129 --file '/usr/sbin/lat-domains' 'attr(755,root,root)' \
130 --file '/usr/sbin/lat-dump' 'attr(755,root,root)' \
131 --file /usr/sbin/lat-groups 'attr(755,root,root)' \
132 --file /usr/sbin/lat-hosts 'attr(755,root,root)' \
133 --file /usr/sbin/lat-ibays 'attr(755,root,root)' \
134 --file /usr/sbin/lat-pptp 'attr(755,root,root)' \
135 --file /usr/sbin/lat-procmail 'attr(755,root,root)' \
136 --file /usr/sbin/lat-pseudonyms 'attr(755,root,root)' \
137 --file /usr/sbin/lat-quota 'attr(755,root,root)' \
138 --file /usr/sbin/lat-restore 'attr(755,root,root)' \
139 --file /usr/sbin/lat-users 'attr(755,root,root)' \
140 > %{name}-%{version}-filelist
141
142
143
144 %clean
145 rm -rf $RPM_BUILD_ROOT
146
147 %files -f %{name}-%{version}-filelist
148 %defattr(-,root,root)
149

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed