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

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

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


Revision 1.16 - (hide annotations) (download)
Tue Jul 29 19:56:06 2014 UTC (10 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_1-3_el5_sme
Changes since 1.15: +7 -3 lines
* Tue Jul 29 2014 JP PIALASSE tests@pialasse.com  1.1.-3.sme
- fix lat-users delete too long due to groups [SME: 8503]

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

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