/[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.5 - (hide annotations) (download)
Wed Dec 15 03:39:43 2021 UTC (2 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-4_el7_sme
Changes since 1.4: +9 -4 lines
* Tue Dec 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-4.sme
- fix service stopping restarting on crash [SME: 11792]

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

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