From: buildmaster Date: Wed, 31 Oct 2018 14:45:04 +0000 (+0100) Subject: fullnames X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=bab23d84bf4654ed682811c1234f839039903321;p=SymantecEndpointProtection.git fullnames --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..42484f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oss-pkg-SymantecEndpointProtection.spec diff --git a/FULLNAMES b/FULLNAMES new file mode 100644 index 0000000..4b14d55 --- /dev/null +++ b/FULLNAMES @@ -0,0 +1 @@ +Symantec Endpoint Protection diff --git a/Makefile b/Makefile index be61113..7d6df8b 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ package: sed -i s/PACKAGE/$(PACKAGE)/g oss-pkg-$(PACKAGE).spec sed -i "s/DISPLAYNAME/$(DISPLAYNAME)/g" oss-pkg-$(PACKAGE).spec sed -i s/YEAR/$(YEAR)/g oss-pkg-$(PACKAGE).spec + ../oss-pkg-tools/create_hash.sh $(PACKAGE) + if [ -e repo-ng/init.sls ]; then sed -i "s/DISPLAYNAME/$(DISPLAYNAME)/g" repo-ng/init.sls; fi mkdir -p oss-pkg-$(PACKAGE) if [ ! -e $(PACKAGE).sls ]; then cp ../template/template.sls $(PACKAGE).sls; fi sed s/PACKAGE/$(PACKAGE)/g $(PACKAGE).sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls diff --git a/oss-pkg-SymantecEndpointProtection.spec.in b/oss-pkg-SymantecEndpointProtection.spec.in index 050bd1e..cd3e3f7 100644 --- a/oss-pkg-SymantecEndpointProtection.spec.in +++ b/oss-pkg-SymantecEndpointProtection.spec.in @@ -48,7 +48,7 @@ rm -rf %{buildroot} %post -/usr/sbin/oss_api.sh POST 'softwares/add' '{"name":"PACKAGE","manually":false,"description":"DISPLAYNAME","softwareVersions":[{"version":"VERSION"}]}' +/usr/sbin/oss_api_post_file.sh 'softwares/add' /srv/salt/win/repo-ng/PACKAGE/HASH.json %files %defattr(644,root,root)