/[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.4 - (show annotations) (download)
Sat Feb 2 19:27:20 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-0_9_1-4_el4_sme, HEAD
Changes since 1.3: +4 -3 lines
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com  0.9.1-4.sme
- binary are not executable [SME: 7283]

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

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