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

Contents 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.11 - (show annotations) (download)
Tue Mar 8 18:39:56 2022 UTC (2 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-9_el7_sme
Changes since 1.10: +5 -4 lines
* Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- reverting to release 7 state [SME: 11885]

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

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