From: Peter Varkoly Date: Wed, 26 Jul 2017 12:56:59 +0000 (+0200) Subject: Initial version. X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=b3c9b75910f28df0869d44c957599ff211e8b486;p=AdobeFlashPlayerNPAPI.git Initial version. --- diff --git a/AdobeFlashPlayerNPAPI.sls b/AdobeFlashPlayerNPAPI.sls new file mode 100644 index 0000000..940d3e1 --- /dev/null +++ b/AdobeFlashPlayerNPAPI.sls @@ -0,0 +1,12 @@ +############################################################################### +# SLS: Adobe Flash Player for Firefox +# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany. +# All rights reserved. +# +# Authos: Helmuth Varkoly +# +# Description: SLS to use with OSS's softwaremanagement +############################################################################### +AdobeFlashPlayerNPAPI: + pkg: + - installed diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4f7bda1 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +PACKAGE = $(shell basename `pwd` ) +DESTDIR = / +REPO = /srv/www/repo/TESTING/oss-packages/ +VERSION = $(shell cat VERSION ) +RELEASE = $(shell cat RELEASE ) +NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) + + +package: + cp packages.spec.in oss-pkg-$(PACKAGE).spec + sed -i s/VERSION/$(VERSION)/ oss-pkg-$(PACKAGE).spec + sed -i s/RELEASE/$(NRELEASE)/ oss-pkg-$(PACKAGE).spec + sed -i s/PACKAGE/$(PACKAGE)/ oss-pkg-$(PACKAGE).spec + mkdir -p oss-pkg-$(PACKAGE) + ln -s ../$(PACKAGE).sls oss-pkg-$(PACKAGE)/$(PACKAGE).sls + if [ -d repo-ng ]; then ln -s ../repo-ng/ oss-pkg-$(PACKAGE)/repo-ng; fi + tar hjcvpf oss-pkg-$(PACKAGE).tar.bz2 oss-pkg-$(PACKAGE) + rm -rf oss-pkg-$(PACKAGE) + mv oss-pkg-$(PACKAGE).tar.bz2 /usr/src/packages/SOURCES/ + rpmbuild -bb oss-pkg-$(PACKAGE).spec + #I have to learn it + #rpm --addsign /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm + mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch + createrepo $(REPO) + #I have to learn it + #gpg -a --detach-sign $(REPO)/repodata/repomd.xml + echo $(NRELEASE) > RELEASE + git commit -a -m "New release" + git push + + diff --git a/RELEASE b/RELEASE new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/RELEASE @@ -0,0 +1 @@ +1 diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1 diff --git a/repo-ng/init.sls b/repo-ng/init.sls new file mode 100755 index 0000000..ba17bad --- /dev/null +++ b/repo-ng/init.sls @@ -0,0 +1,21 @@ +############################################################################### +# SLS: Adobe Flash Player for Firefox +# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany. +# All rights reserved. +# +# Authos: Helmuth Varkoly +# +# Description: SLS for installation +############################################################################### +{% set LOG_PATH = salt['grains.get']('SALT_TMP_LOG') %} +AdobeFlashPlayerNPAPI: + '24.0.0.194': + installer: salt://win/repo-ng/AdobeFlashPlayerNPAPI/install_flash_player_24_plugin.msi + full_name: 'Adobe Flash Player 24 NPAPI' + install_flags: '/qn /norestart /l* {{ LOG_PATH }}AdobeFlashPlayerNPAPI_inst.log' + uninstaller: salt://win/repo-ng/AdobeFlashPlayerNPAPI/install_flash_player_24_plugin.msi + uninstall_flags: '/qn /norestart /l* "{{ LOG_PATH }}AdobeFlashPlayerNPAPI_uninst.log"' + msiexec: True + locale: de_DE + reboot: False + cache_dir: False diff --git a/repo-ng/install_flash_player_24_plugin.msi b/repo-ng/install_flash_player_24_plugin.msi new file mode 100755 index 0000000..93a566f Binary files /dev/null and b/repo-ng/install_flash_player_24_plugin.msi differ