/[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.4 - (show annotations) (download)
Mon Jan 11 07:42:42 2021 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-3_el7_sme
Changes since 1.3: +5 -2 lines
* Mon Jan 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- fix typo [SME: 11314]

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

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