From db8b0790139d86304c0047504315dea784460794 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sun, 29 Jan 2012 00:56:56 +0100 Subject: [PATCH] add missing files --- AdobeAcrobatReaderCS3Overlay.png.sha1sum | 1 + builder-product.cfg | 27 +++++++++++ builder-targets-cb.sh | 60 ++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 AdobeAcrobatReaderCS3Overlay.png.sha1sum create mode 100644 builder-product.cfg create mode 100644 builder-targets-cb.sh diff --git a/AdobeAcrobatReaderCS3Overlay.png.sha1sum b/AdobeAcrobatReaderCS3Overlay.png.sha1sum new file mode 100644 index 0000000..a986b60 --- /dev/null +++ b/AdobeAcrobatReaderCS3Overlay.png.sha1sum @@ -0,0 +1 @@ +96336bf236d0519c9c3c4b91d5ca9090a9cbaee3 AdobeAcrobatReaderCS3Overlay.png diff --git a/builder-product.cfg b/builder-product.cfg new file mode 100644 index 0000000..ace3d52 --- /dev/null +++ b/builder-product.cfg @@ -0,0 +1,27 @@ +############################ +# Setup product information +############################ +VENDOR="adobe.com" +PN="acroreader" +VERSION="10.1.0" +RELEASE="2" +PRIORITY="0" +ADVICE="" + +# TYPE - defines, if the install files are public or restricted. +# Valid value: restrict | public +TYPE="public" + + +FILE[0]="AdobeAcrobatReaderCS3Overlay.png" +SOURCE[0]="http://www.veryicon.com/icon/png/Folder/Pry%20CS3/Adobe%20Acrobat%20Reader%20CS3%20Overlay.png" +WINST[0]=IconFile + +FILE[1]="AdbeRdr1010_de_DE.msi" +SOURCE[1]="ftp://ftp.adobe.com/pub/adobe/reader/win/10.x/10.1.0/de_DE/AdbeRdr1010_de_DE.msi" +ARCH[1]="X86" +WINST[1]=InstallMsi + +# File array index for the image showing while installing the program +ICON_FILE_INDEX=0 + diff --git a/builder-targets-cb.sh b/builder-targets-cb.sh new file mode 100644 index 0000000..639eff1 --- /dev/null +++ b/builder-targets-cb.sh @@ -0,0 +1,60 @@ +############################################################################## +# This optional file "builder-targets-cb.sh" will be called by builder.sh +# +# The targets will be called from thde opsi-builder using the following +# order: config, prepare, retrieve, create, package, publish, commit, cleanup +# You can overwrite the target functions in builder-targets-cb.sh +# +# You can define callback functions. The functions are called from +# opsi-builder within processing a target +# cb_package_makeproductfile +# +# You can use every variable defined in any configuration file or by +# the defined builder script itself. Also, calling the predefined +# targets builder_ is possible. +# +# Abstract: +# target order: config, prepare, retrieve, create, package, publish, commit, cleanup +# callbacks: +# +############################################################################## + +#function config() { +# echo "Config - doing some commands before calling the builder_config" +# builder_config +# echo "Config - doing some commands after calling the builder_config" +#} + +#function prepare() { +# echo "Prepare" +# builder_prepare +#} + +function retrieve() { + echo "Retrieve" + builder_retrieve +} + +function create() { + echo "Create" + builder_create +} + +function package() { + echo "Package" + builder_package +} + +function publish() { + echo "Publish" + builder_publish +} + +function commit() { + echo "Commit" + # builder_commit +} +function cleanup() { + echo "Cleanup: output_dir: $output_dir" + # builder_cleanup +}