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

Annotation of /rpms/smeserver-lazy_admin_tools/contribs10/smeserver-lazy_admin_tools.spec

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 13 11:20:03 2020 UTC (3 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_1-5_el7_sme
Changes since 1.1: +5 -2 lines
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-5.sme
- Initial import in SME10 tree [SME: 11033]

1 brianr 1.2 # $Id: smeserver-lazy_admin_tools.spec,v 1.1 2020/10/13 09:42:05 brianr Exp $
2 brianr 1.1 # Authority: unnilennium
3     # Name: Jean-Philippe Pialasse
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 1.1
8 brianr 1.2 %define release 5%{?dist}
9 brianr 1.1 Name: %{name}
10     Version: %{version}
11     Release: %{release}
12     Source: %{name}-%{version}.tgz
13     License: GPL
14     Group: Networking/Tools
15     BuildRoot: /var/tmp/%{name}-%{version}-buildroot
16     BuildArchitectures: noarch
17     Requires: e-smith-base
18     Requires: SMEServer >= 8.0
19     Obsoletes: e-smith-lazy_admin_tools
20     BuildRequires: e-smith-devtools >= 1.13.1-03
21     Patch0: smeserver-lazy_admin_tools-1.1-patch0.patch
22     Patch1: smeserver-lazy_admin_tools-1.1-patch1.patch
23     Patch2: smeserver-lazy_admin_tools-1.1-patch5423.patch
24    
25     %description
26     The Lazy Administrator's Tools is a set of scripts designed to automate
27     batch tasks and jobs for E-Smith/SME servers.
28     * lat-user : add/delete users
29     * lat-group : add/delete groups
30     * lat pseudonyms : add/delete e-mail pseudonyms for individual users
31     * lat-ibays : add/delete ibays
32     * lat-quota : set the disk quota for individual users
33     * lat-domains : add domainnames the server
34     * lat-hosts : add hostnames to the server
35     * lat-procmail : activate or deactivate procmail for individual users
36     * lat-pptp : activate or deactivate pptp access for individual users
37     * lat-dump : create input files for the above lat-tools, based on the
38     configuration files of the SME servers.
39     * lat-shadow : add users' encrypted password in /etc/shadow file
40    
41     See man lat-tools for general help on the usage of the toolkit, or run the
42     command with the --help switch to get specific help.
43    
44     %changelog
45 brianr 1.2 * Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-5.sme
46     - Initial import in SME10 tree [SME: 11033]
47    
48 brianr 1.1 * Mon Mar 7 2016 JP Pialasse <tests@pialasse.com> 1.1-4.sme
49     - fix error in lat pseudonym, missing character [SME: 5423]
50    
51     * Tue Feb 9 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-3.sme
52     - Roll new rpm for sme9
53     - Bug 8503, 8500, 7731, 7706 are imported but not tested
54    
55     * Tue Jul 29 2014 JP PIALASSE tests@pialasse.com 1.1.-3.sme
56     - fix lat-users delete too long due to groups [SME: 8503]
57    
58     * Mon Jul 28 2014 JP PIALASSE tests@pialasse.com 1.1.-2.sme
59     - fix user not being deleted [SME: 8500]
60     - fix shadow activating user with blank password [SME: 7731]
61     - NFR added pseudonyms with @ [SME: 7706]
62     - note: lat-restore now do lat-pseudonyms later after lat-domains for pseudonyms with @ verification.
63    
64     * Wed Jun 26 2013 JP PIALASSE tests@pialasse.com 1.1.-1.sme
65     - fix manual [SME: 7702]
66    
67     * Wed Jun 26 2013 JP PIALASSE tests@pialasse.com 1.0-10.sme
68     - fix doc in lat-procmail [SME: 7707]
69     - fix lat-shadow issue [SME: 7709]
70     - patch7
71     - patch8
72    
73     * Wed Jun 26 2013 JP PIALASSE tests@pialasse.com 1.1.-1.sme
74     - fix manual [SME: 7702]
75    
76     * Tue Jun 25 2013 JP PIALASSE tests@pialasse.com 1.0-9.sme
77     - updated patch4 and applied this time
78     - patch5 to correct lat-user -n option errors
79     - patch6 to update manual
80     - also to check for mailsorting contrib in procmail lat
81    
82     * Mon Jun 24 2013 JP PIALASSE tests@pialasse.com 1.0-6.sme
83     - fixed Can't enable procmail [SME: 7139]
84     - fixed Error during creation of pptp access with lazy admin tools [SME: 7695]
85     - patch4
86     * Mon May 13 2013 JP PIALASSE tests@pialasse.com 1.0-5.sme
87     - fixed lat-procmail [SME: 7139]
88     - fixed removing user with home dir not in /home/e-smith/files/users/ [SME: 7162]
89     - create basic SME pseudonyms using option -n for nicknames [SME: 7284]
90     - patch3
91     * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-4.sme
92     - fixed empty Gid property creation on user update bug [SME: 7192]
93     - added lat-shadow binary [SME: 7137]
94     - patch1 and patch2
95     * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-3.sme
96     - fixed warning on empty group creation/update bug [SME: 7202]
97     - fixed uid changed on user update bug [SME: 7196]
98     - fixed warning on user creation/update bug [SME: 7192]
99     - patch0
100     * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-2.sme
101     - binary are not executable [SME: 7138]
102     * Sat May 26 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme
103     - Initial version
104    
105     %prep
106     %setup
107     %patch0 -p1
108     %patch1 -p1
109     %patch2 -p1
110     #%patch3 -p1
111     #%patch4 -p1
112     #%patch5 -p1
113     #%patch6 -p1
114     #%patch7 -p1
115     #%patch8 -p1
116     #%patch0 -p1
117     #%patch1 -p1
118     #%patch2 -p1
119     #%patch3 -p1
120     #%patch4 -p1
121     #%patch5 -p1
122     #%patch6 -p1
123    
124     %build
125    
126     perl createman
127    
128     %install
129     rm -rf $RPM_BUILD_ROOT
130     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
131     rm -f e-smith-%{version}-filelist
132     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
133     --file '/usr/sbin/lat-domains' 'attr(755,root,root)' \
134     --file '/usr/sbin/lat-dump' 'attr(755,root,root)' \
135     --file /usr/sbin/lat-groups 'attr(755,root,root)' \
136     --file /usr/sbin/lat-hosts 'attr(755,root,root)' \
137     --file /usr/sbin/lat-ibays 'attr(755,root,root)' \
138     --file /usr/sbin/lat-pptp 'attr(755,root,root)' \
139     --file /usr/sbin/lat-procmail 'attr(755,root,root)' \
140     --file /usr/sbin/lat-pseudonyms 'attr(755,root,root)' \
141     --file /usr/sbin/lat-quota 'attr(755,root,root)' \
142     --file /usr/sbin/lat-restore 'attr(755,root,root)' \
143     --file /usr/sbin/lat-users 'attr(755,root,root)' \
144     --file /usr/sbin/lat-shadow 'attr(755,root,root)' \
145     > %{name}-%{version}-filelist
146    
147    
148    
149     %clean
150     rm -rf $RPM_BUILD_ROOT
151    
152     %files -f %{name}-%{version}-filelist
153     %defattr(-,root,root)
154    

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