]> repo.cephalix.eu Git - SymantecEndpointProtection.git/commitdiff
fullnames
authorbuildmaster <buildmaster@git.cephalix.eu>
Wed, 31 Oct 2018 14:45:04 +0000 (15:45 +0100)
committerbuildmaster <buildmaster@git.cephalix.eu>
Wed, 31 Oct 2018 14:45:04 +0000 (15:45 +0100)
.gitignore [new file with mode: 0644]
FULLNAMES [new file with mode: 0644]
Makefile
oss-pkg-SymantecEndpointProtection.spec.in

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..42484f0
--- /dev/null
@@ -0,0 +1 @@
+oss-pkg-SymantecEndpointProtection.spec
diff --git a/FULLNAMES b/FULLNAMES
new file mode 100644 (file)
index 0000000..4b14d55
--- /dev/null
+++ b/FULLNAMES
@@ -0,0 +1 @@
+Symantec Endpoint Protection
index be611133d2ceebc1742591d03c551d885600be2b..7d6df8b2fc50f40fce8b4c8796c4b4ca41be743a 100644 (file)
--- 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
index 050bd1eb62973ef9649e5e946603427f06f5c509..cd3e3f74e3b4a84dffd7a18de967e6f8c9d93930 100644 (file)
@@ -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)