/[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.10 - (hide annotations) (download)
Tue Mar 8 13:02:34 2022 UTC (2 years, 7 months ago) by jcrisp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-8_el7_sme
Changes since 1.9: +7 -2 lines
* Tue Mar 08 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-8.sme
- Add yum action to restart post install [SME: 11885]

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

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