/[smeserver]/rpms/e-smith-cvm-unix-local/sme10/e-smith-cvm-unix-local.spec
ViewVC logotype

Annotation of /rpms/e-smith-cvm-unix-local/sme10/e-smith-cvm-unix-local.spec

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


Revision 1.12 - (hide annotations) (download)
Fri May 27 02:14:06 2022 UTC (2 years ago) by jpp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-10_el7_sme, HEAD
Changes since 1.11: +5 -2 lines
* Thu May 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-10.sme
- fix error compressing log still in use by delaying it [SME: 11968]

1 jpp 1.12 # $Id: e-smith-cvm-unix-local.spec,v 1.11 2022/03/08 18:39:56 jpp Exp $
2 vip-ire 1.1
3     Summary: Module for supervising cvm auth daemon
4     %define name e-smith-cvm-unix-local
5     Name: %{name}
6 vip-ire 1.2 %define version 2.6.0
7 jpp 1.12 %define release 10
8 vip-ire 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.xz
13 jpp 1.5 Patch0: e-smith-cvm-unix-local-2.6.0-bz11314-bz11125-systemd-update.patch
14     Patch1: e-smith-cvm-unix-local-2.6.0-bz11792-alwaysreload.patch
15 jpp 1.6 Patch2: e-smith-cvm-unix-local-2.6.0-bz11807-log.patch
16 jpp 1.3
17 vip-ire 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18 jpp 1.9 Requires: cvm >= 0.97
19 jpp 1.8 #Requires: daemontools
20 vip-ire 1.1 Requires: e-smith-lib >= 1.13.1-90
21     BuildArchitectures: noarch
22     BuildRequires: e-smith-devtools
23     AutoReqProv: no
24    
25     %description
26     Module for supervising cvm auth daemon
27    
28     %changelog
29 jpp 1.12 * Thu May 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-10.sme
30     - fix error compressing log still in use by delaying it [SME: 11968]
31    
32 jpp 1.11 * Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-9.sme
33     - reverting to release 7 state [SME: 11885]
34    
35 jcrisp 1.10 * Tue Mar 08 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-8.sme
36     - Add yum action to restart post install [SME: 11885]
37    
38 jpp 1.8 * Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
39     - bump requirement for cvm [SME: 11885]
40     removing daemontools requirement
41    
42 jpp 1.7 * Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-6.sme
43     - expand rsyslog.conf [SME: 11807]
44    
45 jpp 1.6 * Thu Feb 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-5.sme
46     - redirect and rotate log for cvm-unix [SME: 11807]
47     fix cvm-pre script permission
48    
49 jpp 1.5 * Tue Dec 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-4.sme
50     - fix service stopping restarting on crash [SME: 11792]
51    
52 jpp 1.4 * Mon Jan 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
53     - fix typo [SME: 11314]
54    
55 jpp 1.3 * Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
56     - migrate to systemd [SME: 11314]
57     - add update event [SME: 11125]
58    
59 vip-ire 1.2 * Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme
60     - Roll new stream for sme10
61    
62 vip-ire 1.1 * Thu Feb 7 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
63     - Roll new stream for sme9
64    
65     * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
66     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
67    
68     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
69     - Clean up spec so package can be built by koji/plague
70    
71     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
72     - Update to new release naming. No functional changes.
73     - Make Packager generic
74    
75     * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01
76     - Roll stable stream version. [SME: 1016]
77    
78     * Mon Jan 2 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-04
79     - Delete preun scriptlet which required supervise-scripts and
80     tried to stop/remove the imap service [SME: 348]
81    
82     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-03
83     - Bump release number only
84    
85     * Wed May 4 2005 Charlie Brady <charlieb@e-smith.com>
86     - [1.1.0-02]
87     - Update cvm calling sequence, for later version of cvm.
88    
89     * Wed May 4 2005 Charlie Brady <charlieb@e-smith.com>
90     - [1.1.0-01]
91     - Changing version to development stream number - 1.1.0
92    
93     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
94     - [1.0.0-01]
95     - Change to stable stream version number - 1.0.0
96    
97     * Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com>
98     - [0.0.1-05]
99     - Use create-system-user to create cvmlog user. [charlieb 6033]
100    
101     * Fri Apr 18 2003 Charlie Brady <charlieb@e-smith.com>
102     - [0.0.1-04]
103     - Move socket to a private directory, and change its
104     pathname. [charlieb 587]
105    
106     * Wed Apr 16 2003 Charlie Brady <charlieb@e-smith.com>
107     - [0.0.1-03]
108     - Change cvmlog userid to 1003, and change error exit to warning.
109     [charlieb 6033]
110    
111     * Fri Mar 21 2003 Charlie Brady <charlieb@e-smith.com>
112     - [0.0.1-02]
113     - Add cvmlog user and cvm log directory [charlieb 587]
114    
115     * Wed Mar 19 2003 Charlie Brady <charlieb@e-smith.com>
116     - [0.0.1-01]
117     - Initial
118    
119     %prep
120     %setup
121 jpp 1.5 %patch0 -p1
122     %patch1 -p1
123 jpp 1.3 rm -rf root/var/service
124 jpp 1.6 %patch2 -p1
125 vip-ire 1.1
126     %build
127 jpp 1.3 perl createlinks
128 vip-ire 1.1
129     %install
130     rm -rf $RPM_BUILD_ROOT
131     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
132     mkdir -p $RPM_BUILD_ROOT/var/lib/cvm
133     mkdir -p $RPM_BUILD_ROOT/var/log/cvm
134 jpp 1.3 mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/sme-server.target.wants
135     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
136 jpp 1.6 --file /sbin/e-smith/systemd/cvm-unix-pre 'attr(0554,root,root)' \
137 jpp 1.3 --dir /var/lib/cvm 'attr(0755,root,root)' \
138     --dir /var/log/cvm 'attr(0750,cvmlog,cvmlog)' \
139     > %{name}-%{version}-%{release}-filelist
140    
141 vip-ire 1.1
142     %pre
143     /sbin/e-smith/create-system-user cvmlog 1003 'cvm output log user' /var/log/imap /bin/false
144 jpp 1.3 if [ $1 -gt 1 ] ; then
145     if [ -e /var/service/cvm-unix-local/run ] ; then
146     /usr/bin/sv d cvm-unix-local
147     /usr/bin/sv d cvm-unix-local/log
148     fi
149     fi
150 vip-ire 1.1
151     %preun
152    
153     %clean
154     rm -rf $RPM_BUILD_ROOT
155    
156 jpp 1.3 %files -f %{name}-%{version}-%{release}-filelist
157 vip-ire 1.1 %defattr(-,root,root)
158 jpp 1.3
159    

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