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

Contents 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.15 - (show annotations) (download)
Mon Jul 28 19:19:20 2014 UTC (9 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_1-2_el5_sme
Changes since 1.14: +10 -12 lines
* Mon Jul 28 2014 JP PIALASSE tests@pialasse.com  1.1.-2.sme
- fix user not being deleted [SME: 8500]
- fix shadow activating user with blank password [SME: 7731]
- NFR added pseudonyms with @ [SME: 7706]
- note: lat-restore now do lat-pseudonyms later after lat-domains for pseudonyms with @ verification.

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

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