Intial commit
This commit is contained in:
commit
8cdbc806d9
|
@ -0,0 +1,84 @@
|
|||
[Package]
|
||||
version: 3
|
||||
depends:
|
||||
incremental: False
|
||||
|
||||
[Product]
|
||||
type: netboot
|
||||
id: dban
|
||||
name: Darik's Boot and Nuke
|
||||
description: wipe disks http://dban.org/
|
||||
advice: if you have problems with default=auto, please try "manual" run
|
||||
version: 2.2.6
|
||||
priority: 0
|
||||
licenseRequired: False
|
||||
productClasses:
|
||||
setupScript: none
|
||||
uninstallScript:
|
||||
updateScript:
|
||||
alwaysScript:
|
||||
onceScript:
|
||||
customScript:
|
||||
pxeConfigTemplate: dban
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: default
|
||||
multivalue: False
|
||||
editable: False
|
||||
description: pick auto, manual, debug, silent
|
||||
values: ["auto", "debug", "manual", "silent"]
|
||||
default: ["manual"]
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: method
|
||||
multivalue: False
|
||||
editable: True
|
||||
description: dban nuke methods
|
||||
values: ["dod3pass", "dod522022m", "dodshort", "gutmann", "ops2", "prng", "quick", "zero"]
|
||||
default: ["dod522022m"]
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: rounds
|
||||
multivalue: False
|
||||
editable: True
|
||||
description: How many times to run dban
|
||||
values: ["1"]
|
||||
default: ["1"]
|
||||
|
||||
[ProductProperty]
|
||||
type: unicode
|
||||
name: libata.ignore_hpa
|
||||
multivalue: False
|
||||
editable: False
|
||||
description: 1 mean 'yes' delete Host Protected Area, 0 means 'no' save Host Protected Area
|
||||
values: ["0", "1"]
|
||||
default: ["1"]
|
||||
|
||||
[Changelog]
|
||||
dban (2.2.6-3) testing; urgency=low
|
||||
* Version 3 has added libata.ignore_hpa=1 to the dban script
|
||||
|
||||
-- jim <j.pizagno@uib.de> Thu, 27 Sep 2012 14:17:00 +0000
|
||||
|
||||
dban (2.2.6-2) stable; urgency=low
|
||||
|
||||
* Version 2 has fixed parameter syntax in dban
|
||||
|
||||
-- jim <j.pizagno@uib.de> Tue, 25 Sep 2012 16:17:56 +0000
|
||||
|
||||
dban (2.2.6-1) testing; urgency=low
|
||||
|
||||
* Initial package
|
||||
|
||||
-- jim <j.pizagno@uib.de> Fri, 07 Sep 2012 09:31:04 +0000
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
#
|
||||
# postinst script
|
||||
# This script executes after unpacking files from that archive and registering the product at the depot.
|
||||
#
|
||||
# The following environment variables can be used to obtain information about the current installation:
|
||||
# PRODUCT_ID: id of the current product
|
||||
# CLIENT_DATA_DIR: directory which contains the installed client data
|
||||
#
|
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
#
|
||||
# preinst script
|
||||
# This script executes before that package will be unpacked from its archive file.
|
||||
#
|
||||
# The following environment variables can be used to obtain information about the current installation:
|
||||
# PRODUCT_ID: id of the current product
|
||||
# CLIENT_DATA_DIR: directory where client data will be installed
|
||||
#
|
|
@ -0,0 +1,17 @@
|
|||
default %default%
|
||||
|
||||
label auto
|
||||
kernel dban.bzi
|
||||
append nuke="dwipe --autonuke --method %method% --rounds %rounds% dban libata.ignore_hpa=%libata.ignore_hpa%"
|
||||
|
||||
label manual
|
||||
kernel dban.bzi
|
||||
append nuke="dwipe --method %method% --rounds %rounds% dban libata.ignore_hpa=%libata.ignore_hpa%"
|
||||
|
||||
label debug
|
||||
kernel dban.bzi
|
||||
append nuke="dwipe --autonuke --method %method% --rounds %rounds% dban libata.ignore_hpa=%libata.ignore_hpa%" bebug
|
||||
|
||||
label silent
|
||||
kernel dban.bzi
|
||||
append nuke="dwipe --autonuke --method %method% --rounds %rounds% dban libata.ignore_hpa=%libata.ignore_hpa%" silent
|
|
@ -0,0 +1,28 @@
|
|||
*** Qualitiymanagement/Testing procedure
|
||||
|
||||
- Product:
|
||||
- Name: productname
|
||||
- Version: xxx
|
||||
- Release: yyyy
|
||||
|
||||
- Environment
|
||||
- OS: Native windows XP-32Bit installation
|
||||
- Preinstalled packages: None (also no aio)
|
||||
- Files used while testing:
|
||||
File1: http://domain.de/file.ext
|
||||
|
||||
- Testing process:
|
||||
OPSI-action:
|
||||
- Installation (without dependencies like AIO/Firefox): ??
|
||||
Result:
|
||||
- File extensions related to program: ??
|
||||
- Start menu entry: ??
|
||||
- Starting/using program: viewer works, File1 is shown correctly: ??
|
||||
|
||||
OPSI-action:
|
||||
- Uninstall
|
||||
Result:
|
||||
- File extensions related to program: unrelated: ??
|
||||
- Start menu entry: none: ??
|
||||
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
############################
|
||||
# Setup product information
|
||||
############################
|
||||
VENDOR="dban.org"
|
||||
PN="dban.dban"
|
||||
NAME="Darik's Boot And Nuke"
|
||||
DESCRIPTION="DBAN is a self-contained boot disk that automatically deletes the contents of any hard disk that it can detect. "
|
||||
VERSION="2.2.7"
|
||||
RELEASE="3"
|
||||
PRIORITY="0"
|
||||
ADVICE=""
|
||||
|
||||
# TYPE - defines, if the install files are public or restricted.
|
||||
# Valid value: restricted | public
|
||||
TYPE="public"
|
||||
|
||||
DL_FILE[0]="dban.png"
|
||||
DL_SOURCE[0]="http://lockergnome.com/wp-content/uploads/2011/07/dban.png"
|
||||
|
||||
DL_FILE[1]="dban-${VERSION}_i586.iso"
|
||||
DL_SOURCE[1]="http://sourceforge.net/projects/dban/files/dban/dban-${VERSION}/dban-${VERSION}_i586.iso"
|
||||
DL_ARCH[1]="X86"
|
||||
DL_WINST_NAME[1]=Install
|
||||
|
||||
# File array index for the image showing while installing the program
|
||||
ICON_DL_INDEX=0
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
##############################################################################
|
||||
# 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_<targetname> is possible.
|
||||
#
|
||||
# Abstract:
|
||||
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
|
||||
# callbacks: <none>
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
function cleanup() {
|
||||
echo "Cleanup"
|
||||
builder_cleanup
|
||||
}
|
||||
|
||||
|
||||
function create() {
|
||||
echo "Create"
|
||||
builder_create
|
||||
|
||||
7z x -o$INST_DIR/CLIENT_DATA/X86/ $INST_DIR/CLIENT_DATA/X86/${DL_FILE[1]}
|
||||
|
||||
# move the Windows 8 dotnet 2 - 3.5 in place
|
||||
mv -v $INST_DIR/CLIENT_DATA/X86/DBAN.BZI $INST_DIR/SERVER_DATA/tftpboot/linux/dban.bzi
|
||||
|
||||
# change exec bit on the dban file
|
||||
find $INST_DIR/SERVER_DATA -type d -print0 | xargs -0 chmod 755 -v
|
||||
find $INST_DIR/SERVER_DATA -type f -print0 | xargs -0 chmod 755 -v
|
||||
|
||||
# delete the temp directory
|
||||
rm -rf $INST_DIR/CLIENT_DATA
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
1e710757ecc83e9532962053f86cd9618e7a1c75 /home/mario/.opsi-dist-cache/dban.dban-2.2.7/X86/dban-2.2.7_i586.iso
|
|
@ -0,0 +1 @@
|
|||
1100ce01b55f99d6401cf2d75d9bde0e93d7f5dd /home/mario/.opsi-dist-cache/dban.dban-2.2.7//dban.png
|
Loading…
Reference in New Issue