Add debian packaging infrastructure for cert-mon
Add debian packaging infrastructure for cert-mon to build debian package for cert-mon. Story: 2009101 Task: 43088 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: Ic0835ee9838f9bea4bd39a5bd3d3c6a3f3d06edc
This commit is contained in:
parent
ac3971e337
commit
63c249b9a1
3
sysinv/cert-mon/debian/deb_folder/cert-mon.dirs
Normal file
3
sysinv/cert-mon/debian/deb_folder/cert-mon.dirs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
usr/lib/ocf/resource.d
|
||||||
|
etc/syslog-ng/conf.d
|
||||||
|
etc/logrotate.d
|
4
sysinv/cert-mon/debian/deb_folder/cert-mon.install
Normal file
4
sysinv/cert-mon/debian/deb_folder/cert-mon.install
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
usr/lib/ocf/resource.d/platform/cert-mon
|
||||||
|
lib/systemd/system/cert-mon.service
|
||||||
|
etc/syslog-ng/conf.d/cert-mon.conf
|
||||||
|
etc/logrotate.d/cert-mon.conf
|
5
sysinv/cert-mon/debian/deb_folder/changelog
Normal file
5
sysinv/cert-mon/debian/deb_folder/changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
cert-mon (1.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Charles Short <charles.short@windriver.com> Tue, 24 Aug 2021 13:49:22 -0400
|
14
sysinv/cert-mon/debian/deb_folder/control
Normal file
14
sysinv/cert-mon/debian/deb_folder/control
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Source: cert-mon
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
|
||||||
|
Build-Depends: debhelper-compat (= 13)
|
||||||
|
Standards-Version: 4.5.1
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
|
Package: cert-mon
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate, rsyslog
|
||||||
|
Description: Starlingx certificate monitor
|
||||||
|
Manages the StarlingX platform's system certificate monitor process
|
||||||
|
as a HA resource.
|
40
sysinv/cert-mon/debian/deb_folder/copyright
Normal file
40
sysinv/cert-mon/debian/deb_folder/copyright
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: cert-mon
|
||||||
|
Source: https://opendev.org/starlingx/config
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2013-2021 Wind River Systems, Inc
|
||||||
|
Others (See individual files for more details)
|
||||||
|
License: Apache-2
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license
|
||||||
|
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2021 Wind River Systems, Inc
|
||||||
|
License: Apache-2
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license
|
||||||
|
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
14
sysinv/cert-mon/debian/deb_folder/rules
Executable file
14
sysinv/cert-mon/debian/deb_folder/rules
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
|
||||||
|
ROOT := $(CURDIR)/debian/tmp
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_install:
|
||||||
|
install -m 755 -p -D cert-mon ${ROOT}/usr/lib/ocf/resource.d/platform/cert-mon
|
||||||
|
install -m 644 -p -D cert-mon.service ${ROOT}/lib/systemd/system/cert-mon.service
|
||||||
|
install -m 644 -p -D cert-mon.syslog ${ROOT}/etc/syslog-ng/conf.d/cert-mon.conf
|
||||||
|
install -m 644 -p -D cert-mon.logrotate ${ROOT}/etc/logrotate.d/cert-mon.conf
|
||||||
|
dh_install
|
1
sysinv/cert-mon/debian/deb_folder/source/format
Normal file
1
sysinv/cert-mon/debian/deb_folder/source/format
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
7
sysinv/cert-mon/debian/meta_data.yaml
Normal file
7
sysinv/cert-mon/debian/meta_data.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
debname: cert-mon
|
||||||
|
debver: 1.0
|
||||||
|
src_path: files
|
||||||
|
revision:
|
||||||
|
dist: $STX_DIST
|
||||||
|
PKG_GITREVCOUNT: true
|
Loading…
Reference in New Issue
Block a user