/[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.8 - (hide annotations) (download)
Tue Mar 8 06:33:23 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
Changes since 1.7: +8 -3 lines
* Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- bump requirement for cvm [SME: 11885]
  removing daemontools requirement

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

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