/[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.3 - (hide annotations) (download)
Sat Jan 9 04:55:33 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-2_el7_sme
Changes since 1.2: +26 -12 lines
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
- migrate to systemd [SME: 11314]
- add update event [SME: 11125]

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

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