initial commit

This commit is contained in:
2021-08-29 19:13:06 +02:00
commit 884d025d66
2 changed files with 57 additions and 0 deletions

44
linux/WAPT/control Normal file
View File

@@ -0,0 +1,44 @@
package : kg-deploy-ca
version : 1.0-11
architecture : all
section : base
priority : optional
name :
categories :
maintainer : kguerineau-adm
description : Package for kg-deploy-ca
depends :
conflicts :
maturity : PROD
locale : all
target_os : linux
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid :
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum :
signer :
signer_fingerprint:
signature :
signature_date :
signed_attributes :

13
linux/setup.py Normal file
View File

@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
from setuphelpers import *
# Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
print("Installing: %s" % control.package)
filecopyto(r'infolix_ca.crt',r'/usr/local/share/ca-certificates/')
run('update-ca-certificates')