/[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.9 - (hide annotations) (download)
Tue Jun 25 00:35:28 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_0-6_el5_sme
Changes since 1.8: +2 -2 lines
* Mon Jun 24 2013 JP PIALASSE tests@pialasse.com  1.0-6.sme
- fixed  Can't enable procmail [SME: 7139]
- fixed  Error during creation of pptp access with lazy admin tools [SME: 7695]
- patch4
* Mon May 13 2013 JP PIALASSE tests@pialasse.com  1.0-5.sme
- fixed lat-procmail [SME: 7139]
- fixed removing user with home dir not in /home/e-smith/files/users/ [SME: 7162]
- create basic SME pseudonyms using option -n for nicknames [SME: 7284]
- patch3
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com  1.0-4.sme
- fixed empty  Gid property  creation on user update bug [SME: 7192]
- added lat-shadow binary [SME: 7137]
- patch1 and patch2
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com  1.0-3.sme
- fixed warning on empty group creation/update bug [SME: 7202]
- fixed uid changed on user update bug [SME: 7196]
- fixed warning on user creation/update bug [SME: 7192]
- patch0
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com  1.0-2.sme
- binary are not executable [SME: 7138]
* Sat May 26 2012 JP PIALASSE tests@pialasse.com  1.0-1.sme
- Initial version

1 unnilennium 1.9 # $Id: smeserver-lazy_admin_tools.spec,v 1.8 2013/06/25 00:35:06 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     %define version 1.0
8 unnilennium 1.9 %define release 6%{?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.5 Patch0: smeserver-lazy_admin_tools-1.0-patch0.patch
22 unnilennium 1.6 Patch1: smeserver-lazy_admin_tools-1.0-patch1.patch
23     Patch2: smeserver-lazy_admin_tools-1.0-patch2.patch
24 unnilennium 1.7 Patch3: smeserver-lazy_admin_tools-1.0-patch3.patch
25 unnilennium 1.8 Patch4: smeserver-lazy_admin_tools-1.0-patch4.patch
26 slords 1.1
27     %description
28     The Lazy Administrator's Tools is a set of scripts designed to automate
29     batch tasks and jobs for E-Smith/SME servers.
30     * lat-user : add/delete users
31     * lat-group : add/delete groups
32     * lat pseudonyms : add/delete e-mail pseudonyms for individual users
33     * lat-ibays : add/delete ibays
34     * lat-quota : set the disk quota for individual users
35     * lat-domains : add domainnames the server
36     * lat-hosts : add hostnames to the server
37     * lat-procmail : activate or deactivate procmail for individual users
38     * lat-pptp : activate or deactivate pptp access for individual users
39     * lat-dump : create input files for the above lat-tools, based on the
40     configuration files of the SME servers.
41 unnilennium 1.6 * lat-shadow : add users' encrypted password in /etc/shadow file
42    
43 slords 1.1 See man lat-tools for general help on the usage of the toolkit, or run the
44     command with the --help switch to get specific help.
45    
46     %changelog
47 unnilennium 1.8 * Mon Jun 24 2013 JP PIALASSE tests@pialasse.com 1.0-6.sme
48     - fixed Can't enable procmail [SME: 7139]
49     - fixed Error during creation of pptp access with lazy admin tools [SME: 7695]
50     - patch4
51 unnilennium 1.7 * Mon May 13 2013 JP PIALASSE tests@pialasse.com 1.0-5.sme
52     - fixed lat-procmail [SME: 7139]
53     - fixed removing user with home dir not in /home/e-smith/files/users/ [SME: 7162]
54     - create basic SME pseudonyms using option -n for nicknames [SME: 7284]
55     - patch3
56 unnilennium 1.6 * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-4.sme
57     - fixed empty Gid property creation on user update bug [SME: 7192]
58     - added lat-shadow binary [SME: 7137]
59     - patch1 and patch2
60 unnilennium 1.5 * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-3.sme
61     - fixed warning on empty group creation/update bug [SME: 7202]
62     - fixed uid changed on user update bug [SME: 7196]
63     - fixed warning on user creation/update bug [SME: 7192]
64 unnilennium 1.6 - patch0
65 unnilennium 1.3 * Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-2.sme
66     - binary are not executable [SME: 7138]
67 slords 1.1 * Sat May 26 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme
68     - Initial version
69    
70     %prep
71     %setup
72 unnilennium 1.5 %patch0 -p1
73 unnilennium 1.6 %patch1 -p1
74     %patch2 -p1
75 unnilennium 1.8 %patch3 -p1
76    
77 slords 1.1
78     %build
79    
80     %install
81     rm -rf $RPM_BUILD_ROOT
82     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
83     rm -f e-smith-%{version}-filelist
84 unnilennium 1.3 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
85     --file '/usr/sbin/lat-domains' 'attr(755,root,root)' \
86     --file '/usr/sbin/lat-dump' 'attr(755,root,root)' \
87     --file /usr/sbin/lat-groups 'attr(755,root,root)' \
88     --file /usr/sbin/lat-hosts 'attr(755,root,root)' \
89     --file /usr/sbin/lat-ibays 'attr(755,root,root)' \
90     --file /usr/sbin/lat-pptp 'attr(755,root,root)' \
91     --file /usr/sbin/lat-procmail 'attr(755,root,root)' \
92     --file /usr/sbin/lat-pseudonyms 'attr(755,root,root)' \
93     --file /usr/sbin/lat-quota 'attr(755,root,root)' \
94     --file /usr/sbin/lat-restore 'attr(755,root,root)' \
95     --file /usr/sbin/lat-users 'attr(755,root,root)' \
96 unnilennium 1.6 --file /usr/sbin/lat-shadow 'attr(755,root,root)' \
97 unnilennium 1.3 > %{name}-%{version}-filelist
98    
99    
100 slords 1.1
101     %clean
102     rm -rf $RPM_BUILD_ROOT
103    
104     %files -f %{name}-%{version}-filelist
105     %defattr(-,root,root)
106    

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