diff --git a/config.in b/config.in new file mode 100644 index 0000000..520d0ae --- /dev/null +++ b/config.in @@ -0,0 +1,23 @@ +#Description: Tardiba - The Tazmanian Devil Database Server + +const SDECFG_TRG_TARDIBA ${target:-$SDECFG_TARGET} + +if [ ! -s $cfgtmpdir/tardiba.config.in ]; then + SDECFG_TRG_MNEMOSYNE=$( cat ./target/$SDECFG_TRG_TARDIBA/extends ) + if ! perl ./target/$SDECFG_TRG_MNEMOSYNE/mnemosyne.pl "./target/$SDECFG_TRG_TARDIBA/pkgsel" TRG_TARDIBA \ + $cfgtmpdir/tardiba.{config,rules,awkgen}.in; then + echo "mnemosyne.pl failed!" + rm -f $cfgtmpdir/tardiba.{config,rules,awkgen}.in + fi +fi + +if [ -s $cfgtmpdir/tardiba.config.in ]; then + . $cfgtmpdir/tardiba.rules.in + . $cfgtmpdir/tardiba.config.in +else + comment ' ' + comment 'ERROR: plugins config was not rendered!' +fi + +comment ' ' +menu_begin MENU_MNEMOSYNE 'Advanced Options' diff --git a/extends b/extends new file mode 100644 index 0000000..5966933 --- /dev/null +++ b/extends @@ -0,0 +1 @@ +mnemosyne diff --git a/inconfig.in b/inconfig.in new file mode 100644 index 0000000..13065b1 --- /dev/null +++ b/inconfig.in @@ -0,0 +1,2 @@ + +menu_end diff --git a/pkgsel.in b/pkgsel.in new file mode 100644 index 0000000..d08622c --- /dev/null +++ b/pkgsel.in @@ -0,0 +1,6 @@ + +if [ -s $cfgtmpdir/tardiba.awkgen.in ]; then + . $cfgtmpdir/tardiba.awkgen.in \ + > $cfgtmpdir/tardiba.pkgsel.awk + pkgfilter awk -f $cfgtmpdir/tardiba.pkgsel.awk +fi diff --git a/pkgsel/00-tardiba.all b/pkgsel/00-tardiba.all new file mode 100644 index 0000000..e69de29 diff --git a/pkgsel/10-SYSTEM.modern.choice b/pkgsel/10-SYSTEM.modern.choice new file mode 100644 index 0000000..7b799d7 --- /dev/null +++ b/pkgsel/10-SYSTEM.modern.choice @@ -0,0 +1 @@ +#Description: Modern Computer diff --git a/pkgsel/11-SYSTEM.normal.choice b/pkgsel/11-SYSTEM.normal.choice new file mode 100644 index 0000000..7764676 --- /dev/null +++ b/pkgsel/11-SYSTEM.normal.choice @@ -0,0 +1,2 @@ +#Description: Normal Computer +#Default: normal diff --git a/pkgsel/12-SYSTEM.old.choice b/pkgsel/12-SYSTEM.old.choice new file mode 100644 index 0000000..9ae5d3d --- /dev/null +++ b/pkgsel/12-SYSTEM.old.choice @@ -0,0 +1 @@ +#Description: Old Computer diff --git a/pkgsel/60-network.ask b/pkgsel/60-network.ask new file mode 100644 index 0000000..6c77f14 --- /dev/null +++ b/pkgsel/60-network.ask @@ -0,0 +1,2 @@ +#Description: Network Support +#Default: 1 diff --git a/pkgsel/80-ldap.ask b/pkgsel/80-ldap.ask new file mode 100644 index 0000000..f89a6e5 --- /dev/null +++ b/pkgsel/80-ldap.ask @@ -0,0 +1,2 @@ +#Description: LDAP Support +#Dependencies: NETWORK diff --git a/pkgsel/ldap-no.conf b/pkgsel/ldap-no.conf new file mode 100644 index 0000000..2a69af9 --- /dev/null +++ b/pkgsel/ldap-no.conf @@ -0,0 +1,7 @@ + +for x in LDAP=0 LDAPAUTH=0 \ + ; do + + eval SDECFGSET_TRG_MNEMOSYNE_$x + const SDECFG_TRG_MNEMOSYNE_${x/=/ } +done diff --git a/pkgsel/ldap.conf b/pkgsel/ldap.conf new file mode 100644 index 0000000..1fe6e2f --- /dev/null +++ b/pkgsel/ldap.conf @@ -0,0 +1,7 @@ + +for x in LDAP=1 LDAPAUTH=1 \ + ; do + + eval SDECFGSET_TRG_MNEMOSYNE_$x + const SDECFG_TRG_MNEMOSYNE_${x/=/ } +done diff --git a/pkgsel/network-no.conf b/pkgsel/network-no.conf new file mode 100644 index 0000000..2434413 --- /dev/null +++ b/pkgsel/network-no.conf @@ -0,0 +1,7 @@ + +for x in NETWORK=0 \ + ; do + + eval SDECFGSET_TRG_MNEMOSYNE_$x + const SDECFG_TRG_MNEMOSYNE_${x/=/ } +done diff --git a/pkgsel/network.conf b/pkgsel/network.conf new file mode 100644 index 0000000..b3c484e --- /dev/null +++ b/pkgsel/network.conf @@ -0,0 +1,7 @@ + +for x in NETWORK=1 DHCP=udhcp PPP=1 SSHD=dropbear \ + ; do + + eval SDECFGSET_TRG_MNEMOSYNE_$x + const SDECFG_TRG_MNEMOSYNE_${x/=/ } +done diff --git a/pkgsel/tardiba.conf b/pkgsel/tardiba.conf new file mode 100644 index 0000000..c4ba499 --- /dev/null +++ b/pkgsel/tardiba.conf @@ -0,0 +1,9 @@ +# options always used on all tardiba systems +# +for x in KERNEL='linux' LIBC=glibc LVM=1 PAM=1 IDS=1 SSP=1 \ + SECURITY=none ENCRYPTION=1 PGP=1 DOC=usual \ + ; do + + eval SDECFGSET_TRG_MNEMOSYNE_$x + const SDECFG_TRG_MNEMOSYNE_${x/=/ } +done diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..086bdc8 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +Tardiba - The Tazmanian Devil Datavase Server