From 4740426141fff3304cce69a5149ac72edaf1cbfc Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 16 Jun 2012 20:53:03 -0500 Subject: [PATCH] targets/amd64/H340: new target for Acer Aspire EasyStore H340 NAS brick --- targets/amd64/H340/config/conf/.keep | 0 targets/amd64/H340/config/conf/etc.md_size | 1 + targets/amd64/H340/config/conf/home.md_size | 1 + targets/amd64/H340/config/conf/root.md_size | 1 + targets/amd64/H340/config/conf/var.md_size | 1 + targets/amd64/H340/config/make.conf | 27 +++++++ targets/amd64/H340/config/overlay/.keep | 0 .../H340/config/overlay/boot/boot.config | 1 + .../H340/config/overlay/boot/loader.conf | 18 +++++ targets/amd64/H340/config/overlay/etc/bashrc | 17 +++++ targets/amd64/H340/config/overlay/etc/fstab | 3 + targets/amd64/H340/config/overlay/etc/inputrc | 17 +++++ targets/amd64/H340/config/overlay/etc/rc.conf | 17 +++++ .../config/overlay/etc/rc.d/saveconfig-early | 16 ++++ .../config/overlay/etc/rc.d/saveconfig-late | 16 ++++ targets/amd64/H340/config/overlay/home/.keep | 0 .../amd64/H340/config/overlay/sbin/saveconfig | 74 +++++++++++++++++++ .../overlay/usr/local/etc/ssmtp/revaliases | 6 ++ .../overlay/usr/local/etc/ssmtp/ssmtp.conf | 2 + .../overlay/usr/share/skel/dot.bash_profile | 4 + .../config/overlay/usr/share/skel/dot.bashrc | 4 + targets/amd64/H340/config/overlay/zfs/.keep | 0 targets/amd64/H340/config/patch/.keep | 0 .../patch/boot_device.hints-ata-probe.patch | 13 ++++ .../etc_mail_mailer.conf-use-ssmtp.patch | 18 +++++ .../patch/etc_profile-sensible-defaults.patch | 62 ++++++++++++++++ .../patch/etc_rc.d_zfs-tmpfs-mountpoint.patch | 30 ++++++++ .../etc_rc.initdiskless-fix-clockskew.patch | 33 +++++++++ .../etc_rc.initdiskless-mount-anything.patch | 26 +++++++ .../patch/etc_rc.initdiskless-no-rescue.patch | 11 +++ ..._etc_gkrellmd.conf-sensible-defaults.patch | 20 +++++ .../usr_local_etc_sudoers-allow-wheel.patch | 11 +++ targets/amd64/H340/config/port.lst | 16 ++++ .../H340/config/port.options/apcupsd/options | 15 ++++ .../config/port.options/bash-config/options | 5 ++ .../config/port.options/e2fsprogs/options | 5 ++ .../H340/config/port.options/flag/options | 5 ++ .../config/port.options/fusefs-ntfs/options | 6 ++ .../H340/config/port.options/fusefs/options | 5 ++ .../H340/config/port.options/gamin/options | 6 ++ .../H340/config/port.options/gkrellm/options | 9 +++ .../H340/config/port.options/glib20/options | 5 ++ .../H340/config/port.options/icu/options | 5 ++ .../H340/config/port.options/libiconv/options | 5 ++ .../amd64/H340/config/port.options/m4/options | 5 ++ .../config/port.options/ntfsprogs/options | 8 ++ .../H340/config/port.options/pcre/options | 6 ++ .../H340/config/port.options/perl/options | 13 ++++ .../amd64/H340/config/port.options/pv/options | 6 ++ .../H340/config/port.options/python27/options | 13 ++++ .../H340/config/port.options/rsync/options | 12 +++ .../H340/config/port.options/ruby/options | 7 ++ .../H340/config/port.options/samba35/options | 23 ++++++ .../H340/config/port.options/screen/options | 11 +++ .../H340/config/port.options/ssmtp/options | 8 ++ .../H340/config/port.options/sudo/options | 10 +++ .../H340/config/port.options/talloc/options | 5 ++ .../H340/config/port.options/tdb/options | 5 ++ targets/amd64/H340/world | 1 + 59 files changed, 670 insertions(+) create mode 100644 targets/amd64/H340/config/conf/.keep create mode 100644 targets/amd64/H340/config/conf/etc.md_size create mode 100644 targets/amd64/H340/config/conf/home.md_size create mode 100644 targets/amd64/H340/config/conf/root.md_size create mode 100644 targets/amd64/H340/config/conf/var.md_size create mode 100644 targets/amd64/H340/config/make.conf create mode 100644 targets/amd64/H340/config/overlay/.keep create mode 100644 targets/amd64/H340/config/overlay/boot/boot.config create mode 100644 targets/amd64/H340/config/overlay/boot/loader.conf create mode 100644 targets/amd64/H340/config/overlay/etc/bashrc create mode 100644 targets/amd64/H340/config/overlay/etc/fstab create mode 100644 targets/amd64/H340/config/overlay/etc/inputrc create mode 100644 targets/amd64/H340/config/overlay/etc/rc.conf create mode 100755 targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-early create mode 100755 targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-late create mode 100644 targets/amd64/H340/config/overlay/home/.keep create mode 100755 targets/amd64/H340/config/overlay/sbin/saveconfig create mode 100644 targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/revaliases create mode 100644 targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/ssmtp.conf create mode 100644 targets/amd64/H340/config/overlay/usr/share/skel/dot.bash_profile create mode 100644 targets/amd64/H340/config/overlay/usr/share/skel/dot.bashrc create mode 100644 targets/amd64/H340/config/overlay/zfs/.keep create mode 100644 targets/amd64/H340/config/patch/.keep create mode 100644 targets/amd64/H340/config/patch/boot_device.hints-ata-probe.patch create mode 100644 targets/amd64/H340/config/patch/etc_mail_mailer.conf-use-ssmtp.patch create mode 100644 targets/amd64/H340/config/patch/etc_profile-sensible-defaults.patch create mode 100644 targets/amd64/H340/config/patch/etc_rc.d_zfs-tmpfs-mountpoint.patch create mode 100644 targets/amd64/H340/config/patch/etc_rc.initdiskless-fix-clockskew.patch create mode 100644 targets/amd64/H340/config/patch/etc_rc.initdiskless-mount-anything.patch create mode 100644 targets/amd64/H340/config/patch/etc_rc.initdiskless-no-rescue.patch create mode 100644 targets/amd64/H340/config/patch/usr_local_etc_gkrellmd.conf-sensible-defaults.patch create mode 100644 targets/amd64/H340/config/patch/usr_local_etc_sudoers-allow-wheel.patch create mode 100644 targets/amd64/H340/config/port.lst create mode 100644 targets/amd64/H340/config/port.options/apcupsd/options create mode 100644 targets/amd64/H340/config/port.options/bash-config/options create mode 100644 targets/amd64/H340/config/port.options/e2fsprogs/options create mode 100644 targets/amd64/H340/config/port.options/flag/options create mode 100644 targets/amd64/H340/config/port.options/fusefs-ntfs/options create mode 100644 targets/amd64/H340/config/port.options/fusefs/options create mode 100644 targets/amd64/H340/config/port.options/gamin/options create mode 100644 targets/amd64/H340/config/port.options/gkrellm/options create mode 100644 targets/amd64/H340/config/port.options/glib20/options create mode 100644 targets/amd64/H340/config/port.options/icu/options create mode 100644 targets/amd64/H340/config/port.options/libiconv/options create mode 100644 targets/amd64/H340/config/port.options/m4/options create mode 100644 targets/amd64/H340/config/port.options/ntfsprogs/options create mode 100644 targets/amd64/H340/config/port.options/pcre/options create mode 100644 targets/amd64/H340/config/port.options/perl/options create mode 100644 targets/amd64/H340/config/port.options/pv/options create mode 100644 targets/amd64/H340/config/port.options/python27/options create mode 100644 targets/amd64/H340/config/port.options/rsync/options create mode 100644 targets/amd64/H340/config/port.options/ruby/options create mode 100644 targets/amd64/H340/config/port.options/samba35/options create mode 100644 targets/amd64/H340/config/port.options/screen/options create mode 100644 targets/amd64/H340/config/port.options/ssmtp/options create mode 100644 targets/amd64/H340/config/port.options/sudo/options create mode 100644 targets/amd64/H340/config/port.options/talloc/options create mode 100644 targets/amd64/H340/config/port.options/tdb/options create mode 120000 targets/amd64/H340/world diff --git a/targets/amd64/H340/config/conf/.keep b/targets/amd64/H340/config/conf/.keep new file mode 100644 index 0000000..e69de29 diff --git a/targets/amd64/H340/config/conf/etc.md_size b/targets/amd64/H340/config/conf/etc.md_size new file mode 100644 index 0000000..7b16a10 --- /dev/null +++ b/targets/amd64/H340/config/conf/etc.md_size @@ -0,0 +1 @@ +10240 diff --git a/targets/amd64/H340/config/conf/home.md_size b/targets/amd64/H340/config/conf/home.md_size new file mode 100644 index 0000000..b71078f --- /dev/null +++ b/targets/amd64/H340/config/conf/home.md_size @@ -0,0 +1 @@ +131072 diff --git a/targets/amd64/H340/config/conf/root.md_size b/targets/amd64/H340/config/conf/root.md_size new file mode 100644 index 0000000..b71078f --- /dev/null +++ b/targets/amd64/H340/config/conf/root.md_size @@ -0,0 +1 @@ +131072 diff --git a/targets/amd64/H340/config/conf/var.md_size b/targets/amd64/H340/config/conf/var.md_size new file mode 100644 index 0000000..b71078f --- /dev/null +++ b/targets/amd64/H340/config/conf/var.md_size @@ -0,0 +1 @@ +131072 diff --git a/targets/amd64/H340/config/make.conf b/targets/amd64/H340/config/make.conf new file mode 100644 index 0000000..2cccb7d --- /dev/null +++ b/targets/amd64/H340/config/make.conf @@ -0,0 +1,27 @@ +# Compilation tunes for ports +CFLAGS+=-O2 -pipe +COPTFLAGS+=-O2 -pipe +CPUTYPE?=nocona + +# Multiprocess port builds (make -j8) +FORCE_MAKE_JOBS=yes +MAKE_JOBS_NUMBER=8 + +# Global knobs +NO_PROFILE=yes +WITHOUT_X11=yes + +# Caching proxy for fetches +http_proxy=http://gateway.cyberleo.net:46565 +ftp_proxy=http://gateway.cyberleo.net:46565 + +# Read-only ports tree +DISTDIR=/var/ports/distfiles +PACKAGES=/var/ports/packages +WRKDIRPREFIX=/usr/obj + +.if ${.CURDIR:M*/devel/glib20} + USE_LOCAL_MK= + STRIP_PERL5_RUN= + STRIP_PYTHON_RUN= +.endif diff --git a/targets/amd64/H340/config/overlay/.keep b/targets/amd64/H340/config/overlay/.keep new file mode 100644 index 0000000..e69de29 diff --git a/targets/amd64/H340/config/overlay/boot/boot.config b/targets/amd64/H340/config/overlay/boot/boot.config new file mode 100644 index 0000000..0f6fb86 --- /dev/null +++ b/targets/amd64/H340/config/overlay/boot/boot.config @@ -0,0 +1 @@ +0:ad(0,a)/loader diff --git a/targets/amd64/H340/config/overlay/boot/loader.conf b/targets/amd64/H340/config/overlay/boot/loader.conf new file mode 100644 index 0000000..efa09f2 --- /dev/null +++ b/targets/amd64/H340/config/overlay/boot/loader.conf @@ -0,0 +1,18 @@ +loader_logo="beastie" +autoboot_delay="5" + +module_path="/boot/modules;/modules" + +# Be sure to include all dependencies! +ahci_load="YES" +aio_load="YES" +coretemp_load="YES" +geom_uzip_load="YES" +ichsmb_load="YES" +ichwd_load="YES" +siis_load="YES" +smbus_load="YES" +zlib_load="YES" + +vfs.root.mountfrom="cd9660:/dev/iso9660/root" + diff --git a/targets/amd64/H340/config/overlay/etc/bashrc b/targets/amd64/H340/config/overlay/etc/bashrc new file mode 100644 index 0000000..5c42208 --- /dev/null +++ b/targets/amd64/H340/config/overlay/etc/bashrc @@ -0,0 +1,17 @@ +# Enable emacs line editing mode +set -o emacs + +# Some useful aliases +alias h='fc -l' +alias j=jobs +alias m=$PAGER +alias ll='ls -laFo' +alias l='ls -l' +alias g='egrep -i' +alias ls='ls -G' +alias pp='ps axopid,user,state,command' + +# Be paranoid +alias cp='cp -ip' +alias mv='mv -i' +alias rm='rm -i' diff --git a/targets/amd64/H340/config/overlay/etc/fstab b/targets/amd64/H340/config/overlay/etc/fstab new file mode 100644 index 0000000..38e9ef1 --- /dev/null +++ b/targets/amd64/H340/config/overlay/etc/fstab @@ -0,0 +1,3 @@ +/dev/iso9660/root / cd9660 ro 0 0 +/dev/ufs/boot /boot ufs ro,noatime,sync 0 2 +/dev/ufs/conf /conf ufs ro,noatime,sync 0 2 diff --git a/targets/amd64/H340/config/overlay/etc/inputrc b/targets/amd64/H340/config/overlay/etc/inputrc new file mode 100644 index 0000000..6f7925e --- /dev/null +++ b/targets/amd64/H340/config/overlay/etc/inputrc @@ -0,0 +1,17 @@ +set meta-flag on +set input-meta on +set convert-meta off +set output-meta on + +"\e[1~": beginning-of-line +"\e[4~": end-of-line +"\e[5~": beginning-of-history +"\e[6~": end-of-history +"\e[3~": delete-char +"\e[2~": quoted-insert +"\e[5C": forward-word +"\e[5D": backward-word + +# fix Home and End for German users +"\e[7~": beginning-of-line +"\e[8~": end-of-line diff --git a/targets/amd64/H340/config/overlay/etc/rc.conf b/targets/amd64/H340/config/overlay/etc/rc.conf new file mode 100644 index 0000000..32ee9d0 --- /dev/null +++ b/targets/amd64/H340/config/overlay/etc/rc.conf @@ -0,0 +1,17 @@ +# System config +hostname="h340.den.cyberleo.net" +local_startup="/etc/local/rc.d" +ifconfig_em0="DHCP" + +# Daemon configuration +ntpd_enable="YES" +ntpd_sync_on_start="YES" +sshd_enable="YES" +gkrellmd_enable="YES" +watchdogd_enable="YES" + +# Disable sendmail +sendmail_enable="NONE" +sendmail_submit_enable="NO" +sendmail_outbound_enable="NO" +sendmail_msp_queue_enable="NO" diff --git a/targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-early b/targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-early new file mode 100755 index 0000000..574a89c --- /dev/null +++ b/targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-early @@ -0,0 +1,16 @@ +#!/bin/sh + +# PROVIDE: saveconfig +# REQUIRE: LOGIN +# BEFORE: +# KEYWORD: shutdown + +name="saveconfig" +stop_cmd="saveconfig_stop" + +saveconfig_stop(){ + /sbin/saveconfig +} + +load_rc_config $name +run_rc_command "$1" diff --git a/targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-late b/targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-late new file mode 100755 index 0000000..5dc459a --- /dev/null +++ b/targets/amd64/H340/config/overlay/etc/rc.d/saveconfig-late @@ -0,0 +1,16 @@ +#!/bin/sh + +# PROVIDE: saveconfig +# REQUIRE: +# BEFORE: FILESYSTEMS +# KEYWORD: shutdown + +name="saveconfig" +stop_cmd="saveconfig_stop" + +saveconfig_stop(){ + /sbin/saveconfig +} + +load_rc_config $name +run_rc_command "$1" diff --git a/targets/amd64/H340/config/overlay/home/.keep b/targets/amd64/H340/config/overlay/home/.keep new file mode 100644 index 0000000..e69de29 diff --git a/targets/amd64/H340/config/overlay/sbin/saveconfig b/targets/amd64/H340/config/overlay/sbin/saveconfig new file mode 100755 index 0000000..8d597de --- /dev/null +++ b/targets/amd64/H340/config/overlay/sbin/saveconfig @@ -0,0 +1,74 @@ +#!/bin/sh + +[ "$(id -u)" -ne 0 ] && exec /usr/local/bin/sudo "${0}" "${@}" + +echo -n "Saving configuration... " + +if [ ! -f /etc/diskless ] +then + echo "No flash setup detected." + exit 1 +fi + +# Find all files newer than /COPYRIGHT and print them out +find_newer_files() { + [ -d "${1}" ] || return 1 + find "${1}" -not -regex '.*/tmp/*.' -newer /COPYRIGHT -print +} + +# Archive all newer files into a gzipped cpio archive +archive_cpio() { + [ -f "${2}" ] && return 1 + ( cd /; find_newer_files "${1}" | cpio -o --quiet | gzip -9 > "${2}" ) || return 1 +} + +# Archive specified files to named target +archive() { + archive_cpio "${1}" "${2:-/conf/tmp/${1}}.cpio.gz" || return 1 +} + +# Mount /conf read-write, and upgrade to read-write if mounted read-only. +if grep -q /conf /etc/fstab +then + _conf_mount=yes + mount | grep -q /conf && _conf_mounted=yes + mount | grep /conf | grep -q read-only && _conf_readonly=yes + + # Mount if unmounted + [ ! "${_conf_mounted}" ] && mount -w /conf + + # Upgrade to read/write + [ "${_conf_mounted}" -a "${_conf_readonly}" ] && mount -u -w /conf +fi + +# Store config in temp staging area +rm -Rf /conf/tmp || exit 1 +mkdir -p /conf/tmp || exit 1 +chmod 750 /conf/tmp || exit 1 + +# Grab a list of confpacks to store +for pack in /conf/base/*/md_size +do + pack="$(basename "$(dirname "${pack}")")" + archive "${pack}" || exit 1 +done + +# Rotate current config to dated backup +# Unlimited history method: (make sure you have provisions for removing the old backups, or this can get HUGE! +dest="$(date -r "$(stat -f '%c' "/conf/default")" "+%Y-%m-%dT%H-%M-%S")" +mv /conf/default "/conf/backup/${dest}" || exit 1 + +# Move temp config to current +mv /conf/tmp /conf/default || mv "/conf/backup/${dest}" "/conf/default" + +# Umount /conf afterwards, if it wasn't mounted +if [ "${_conf_mount}" ] +then + # Unmount if it wasn't mounted + [ ! "${_conf_mounted}" ] && umount /conf + + # Downgrade to read-only if it was read-only + [ "${_conf_mounted}" -a "${_conf_readonly}" ] && mount -u -r -f /conf +fi + +echo "Done!" diff --git a/targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/revaliases b/targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/revaliases new file mode 100644 index 0000000..1caccf0 --- /dev/null +++ b/targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/revaliases @@ -0,0 +1,6 @@ +# sSMTP aliases +# +# Format: local_account:outgoing_address:mailhub +# +# Example: root:your_login@your.domain:mailhub.your.domain[:port] +# where [:port] is an optional port number that defaults to 25. diff --git a/targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/ssmtp.conf b/targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/ssmtp.conf new file mode 100644 index 0000000..811df3e --- /dev/null +++ b/targets/amd64/H340/config/overlay/usr/local/etc/ssmtp/ssmtp.conf @@ -0,0 +1,2 @@ +root=postmaster +mailhub=gateway.cyberleo.net diff --git a/targets/amd64/H340/config/overlay/usr/share/skel/dot.bash_profile b/targets/amd64/H340/config/overlay/usr/share/skel/dot.bash_profile new file mode 100644 index 0000000..1a6fb67 --- /dev/null +++ b/targets/amd64/H340/config/overlay/usr/share/skel/dot.bash_profile @@ -0,0 +1,4 @@ +_base="/usr/local/etc/bash-config" +_self="bash_profile" + +source "${_base}/common" diff --git a/targets/amd64/H340/config/overlay/usr/share/skel/dot.bashrc b/targets/amd64/H340/config/overlay/usr/share/skel/dot.bashrc new file mode 100644 index 0000000..52fb4a0 --- /dev/null +++ b/targets/amd64/H340/config/overlay/usr/share/skel/dot.bashrc @@ -0,0 +1,4 @@ +_base="/usr/local/etc/bash-config" +_self="bashrc" + +source "${_base}/common" diff --git a/targets/amd64/H340/config/overlay/zfs/.keep b/targets/amd64/H340/config/overlay/zfs/.keep new file mode 100644 index 0000000..e69de29 diff --git a/targets/amd64/H340/config/patch/.keep b/targets/amd64/H340/config/patch/.keep new file mode 100644 index 0000000..e69de29 diff --git a/targets/amd64/H340/config/patch/boot_device.hints-ata-probe.patch b/targets/amd64/H340/config/patch/boot_device.hints-ata-probe.patch new file mode 100644 index 0000000..5f4ded7 --- /dev/null +++ b/targets/amd64/H340/config/patch/boot_device.hints-ata-probe.patch @@ -0,0 +1,13 @@ +--- boot/device.hints 2010-01-10 18:01:08.000000000 -0600 ++++ boot/device.hints 2009-11-07 02:28:38.000000000 -0600 +@@ -7,6 +7,9 @@ + hint.fd.0.drive="0" + hint.fd.1.at="fdc0" + hint.fd.1.drive="1" ++hint.ata.0.at="isa" ++hint.ata.0.port="0x1F0" ++hint.ata.0.irq="14" + hint.atkbdc.0.at="isa" + hint.atkbdc.0.port="0x060" + hint.atkbd.0.at="atkbdc" + diff --git a/targets/amd64/H340/config/patch/etc_mail_mailer.conf-use-ssmtp.patch b/targets/amd64/H340/config/patch/etc_mail_mailer.conf-use-ssmtp.patch new file mode 100644 index 0000000..db0e3c2 --- /dev/null +++ b/targets/amd64/H340/config/patch/etc_mail_mailer.conf-use-ssmtp.patch @@ -0,0 +1,18 @@ +--- etc/mail/mailer.conf.orig 2010-03-21 09:35:11.000000000 +0000 ++++ etc/mail/mailer.conf 2010-03-21 09:39:00.000000000 +0000 +@@ -2,9 +2,9 @@ + # + # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail + # +-sendmail /usr/libexec/sendmail/sendmail +-send-mail /usr/libexec/sendmail/sendmail +-mailq /usr/libexec/sendmail/sendmail +-newaliases /usr/libexec/sendmail/sendmail +-hoststat /usr/libexec/sendmail/sendmail +-purgestat /usr/libexec/sendmail/sendmail ++sendmail /usr/local/sbin/ssmtp ++send-mail /usr/local/sbin/ssmtp ++mailq /usr/local/sbin/ssmtp ++newaliases /usr/local/sbin/ssmtp ++hoststat true ++purgestat true diff --git a/targets/amd64/H340/config/patch/etc_profile-sensible-defaults.patch b/targets/amd64/H340/config/patch/etc_profile-sensible-defaults.patch new file mode 100644 index 0000000..c88218a --- /dev/null +++ b/targets/amd64/H340/config/patch/etc_profile-sensible-defaults.patch @@ -0,0 +1,62 @@ +--- etc/profile 2010-01-24 09:37:51.000000000 +0000 ++++ etc/profile 2010-01-24 09:54:47.000000000 +0000 +@@ -16,3 +16,59 @@ + # msgs -f + # Allow terminal messages + # mesg y ++ ++# Title for titleable terminals ++case "${TERM}" in ++xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix) ++ title="\[\033]0;\h(\u)\007\]" ++ ;; ++screen) ++ title="\[\033_\h(\u)\033\\\]" ++ ;; ++*) ++ title="" ++ ;; ++esac ++ ++# Set the flag variable, if we can ++[ -x "$(which flag)" -a ! -f "${HOME}/.noflag" ] && export FLAG="($($(which flag) -e))" ++export PS1="${title}${FLAG}${PS1}" ++ ++# Set up input handling and environment ++[ -f /etc/inputrc ] && export INPUTRC=/etc/inputrc ++[ -f "${HOME}/.inputrc" ] && export INPUTRC="${HOME}/.inputrc" ++ ++[ -f "${HOME}/.shrc" ] && . "${HOME}/.shrc" ++ ++export BLOCKSIZE=K ++export EDITOR=vi ++export PAGER=less ++ ++# Path ++if [ "$(id -u)" -eq 0 ] || (id -nG | egrep -q "(^wheel *|* wheel *|* wheel$)") ++then ++ export PATH=${HOME}/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin ++else ++ export PATH=${HOME}/bin:/bin:/usr/bin:/usr/games:/usr/local/bin ++fi ++ ++# Local environment ++if [ -n "${BASH}" ] ++then ++ if [ -f "${HOME}/.bashrc" ] ++ then ++ export ENV="${HOME}/.bashrc" ++ . "${HOME}/.bashrc" ++ elif [ -f "/etc/bashrc" ] ++ then ++ export ENV="/etc/bashrc" ++ . "/etc/bashrc" ++ fi ++else ++ if [ -f "${HOME}/.shrc" ] ++ then ++ export ENV="${HOME}/.shrc" ++ . "${HOME}/.shrc" ++ fi ++fi ++ diff --git a/targets/amd64/H340/config/patch/etc_rc.d_zfs-tmpfs-mountpoint.patch b/targets/amd64/H340/config/patch/etc_rc.d_zfs-tmpfs-mountpoint.patch new file mode 100644 index 0000000..ff01ae6 --- /dev/null +++ b/targets/amd64/H340/config/patch/etc_rc.d_zfs-tmpfs-mountpoint.patch @@ -0,0 +1,30 @@ +--- etc/rc.d/zfs 2010-01-25 06:27:11.000000000 +0000 ++++ etc/rc.d/zfs 2009-04-12 16:59:35.000000000 +0000 +@@ -23,6 +23,14 @@ + + zfs_start_main() + { ++ # If root is read-only, mount a tmpfs on /zfs to provide ++ # a writable mountpoint, if not already ++ if [ -d /zfs ] && mount | grep ' on / ' | grep -q 'read-only' && \ ++ ! mount | grep -q ' on /zfs (tmpfs' ++ then ++ mount -t tmpfs -o size=65536 tmpfs /zfs ++ fi ++ + zfs mount -a + zfs share -a + if [ ! -r /etc/zfs/exports ]; then +@@ -50,6 +58,12 @@ + { + zfs unshare -a + zfs unmount -a ++ ++ # If /zfs is a tmpfs, unmount it ++ if mount | grep -q ' on /zfs (tmpfs' ++ then ++ umount -f /zfs ++ fi + } + + zfs_stop() diff --git a/targets/amd64/H340/config/patch/etc_rc.initdiskless-fix-clockskew.patch b/targets/amd64/H340/config/patch/etc_rc.initdiskless-fix-clockskew.patch new file mode 100644 index 0000000..01d720c --- /dev/null +++ b/targets/amd64/H340/config/patch/etc_rc.initdiskless-fix-clockskew.patch @@ -0,0 +1,33 @@ +--- etc/rc.initdiskless 2011-01-23 05:59:54.000000000 -0600 ++++ etc/rc.initdiskless 2011-05-06 12:40:10.940259210 -0500 +@@ -337,9 +337,30 @@ + + # NFS remount + handle_remount $j ++ ++ # Keep track of the most recent timestamp for clockskew detection ++ stamp="$(/usr/bin/stat -f %Um "$j")" ++ [ "${stamp}" -gt "${newest:-0}" ] && newest="${stamp}" ++ # + done + done + ++# ++# Check for clock skew, to make sure the local timestamp is newer than ++# the last saveconfig or the date of the image ++stamp="$(/usr/bin/stat -f %Um "/COPYRIGHT")" ++[ "${stamp}" -gt "${newest:-0}" ] && newest="${stamp}" ++if [ "${newest}" -gt "$(/bin/date +%s)" ] ++then ++ # Clock skew detected! Attempt to correct ++ correction="$(( ${newest} + 60 ))" ++ printf "Clock skew detected!\n" >&2 ++ printf " Now (%s) is before newest (%s)\n" "$(/bin/date)" "$(/bin/date -jf %s "${newest}")" >&2 ++ printf "Clock reset to %s\n" "$(/bin/date -f %s "${correction}")" >&2 ++ printf "Run ntpd or ntpdate or manually set correct time!\n" >&2 ++fi ++# ++ + # - Create all required MFS filesystems and populate them from + # our templates. Support both a direct template and a dir.cpio.gz + # archive. Support dir.remove files containing a list of relative diff --git a/targets/amd64/H340/config/patch/etc_rc.initdiskless-mount-anything.patch b/targets/amd64/H340/config/patch/etc_rc.initdiskless-mount-anything.patch new file mode 100644 index 0000000..094f47a --- /dev/null +++ b/targets/amd64/H340/config/patch/etc_rc.initdiskless-mount-anything.patch @@ -0,0 +1,26 @@ +--- etc/rc.initdiskless 2009-11-30 02:55:12.000000000 +0000 ++++ etc/rc.initdiskless 2010-01-03 16:02:27.000000000 +0000 +@@ -190,8 +190,21 @@ # handle_remount() { # $1 = mount point + log "nfspt ${nfspt} mountopts ${mountopts}" + # prepend the nfs root if not present + [ `expr "$nfspt" : '\(.\)'` = "/" ] && nfspt="${nfsroot}${nfspt}" +- mount_nfs $mountopts $nfspt $b +- chkerr $? "mount_nfs $nfspt $b" ++ ++ # Hack to allow mounting of any filesystem type, not just NFS ++ # (thumbdrive w/glabel *hint hint*) ++ # ufs:/dev/label/conf (or nfs:server:/root -- server:/root works too, if ++ # server isn't named ufs, msdosfs, etc...) ++ eval $(echo ${nfspt} | sed -E 's/^([^:]+):(.*)$/fstype="\1" device="\2"/') ++ case "${fstype}" in ++ ufs|msdosfs|cd9660|nfs) ;; ++ # Backwards compatibility. Hopefully someone didn't name their NFS server 'ufs'... ++ *) device="${fstype}:${device}"; fstype="nfs" ;; ++ esac ++ mount -t "${fstype}" "${device}" "${b}" ++ chkerr $? "mount -t ${fstype} ${device} ${b}" ++ # ++ + to_umount="$b ${to_umount}" + } + diff --git a/targets/amd64/H340/config/patch/etc_rc.initdiskless-no-rescue.patch b/targets/amd64/H340/config/patch/etc_rc.initdiskless-no-rescue.patch new file mode 100644 index 0000000..fdf2c27 --- /dev/null +++ b/targets/amd64/H340/config/patch/etc_rc.initdiskless-no-rescue.patch @@ -0,0 +1,11 @@ +--- etc/rc.initdiskless 2010-01-03 03:44:29.000000000 +0000 ++++ etc/rc.initdiskless 2010-01-03 03:44:43.000000000 +0000 +@@ -376,7 +376,7 @@ + if [ -f $j ]; then + create_md $subdir + echo "Loading /$subdir from cpio archive $j" +- (cd / ; /rescue/tar -xpf $j) ++ (cd / ; /usr/bin/tar -xpf $j) + fi + done + for j in /conf/$i/*.remove ; do diff --git a/targets/amd64/H340/config/patch/usr_local_etc_gkrellmd.conf-sensible-defaults.patch b/targets/amd64/H340/config/patch/usr_local_etc_gkrellmd.conf-sensible-defaults.patch new file mode 100644 index 0000000..175ec3b --- /dev/null +++ b/targets/amd64/H340/config/patch/usr_local_etc_gkrellmd.conf-sensible-defaults.patch @@ -0,0 +1,20 @@ +--- usr/local/etc/gkrellmd.conf 2010-12-08 08:07:03.962131213 +0000 ++++ usr/local/etc/gkrellmd.conf 2010-12-08 12:21:32.153210246 +0000 +@@ -76,7 +76,7 @@ + # Minimum is 2 (less than 2 for no I/O disconnecting and is the default). + # Requires at least 2.1.8 versions of both gkrellmd and gkrellm. + # +-#io-timeout 5 ++io-timeout 5 + + # Configure gkrellm clients to attempt automatic reconnects to a + # gkrellmd server every reconnect-timeout seconds after a disconnected +@@ -85,7 +85,7 @@ + # Minimum is 2 (less than 2 for no automatic reconnecting and is the default). + # Requires at least 2.1.8 versions of both gkrellmd and gkrellm. + # +-#reconnect-timeout 5 ++reconnect-timeout 5 + + # Server side local mailbox counts can be sent to gkrellm clients. List here + # paths to mbox, MH mail, or Maildir style mailboxes. diff --git a/targets/amd64/H340/config/patch/usr_local_etc_sudoers-allow-wheel.patch b/targets/amd64/H340/config/patch/usr_local_etc_sudoers-allow-wheel.patch new file mode 100644 index 0000000..6c9dc3d --- /dev/null +++ b/targets/amd64/H340/config/patch/usr_local_etc_sudoers-allow-wheel.patch @@ -0,0 +1,11 @@ +--- usr/local/etc/sudoers 2010-12-08 12:37:47.696505554 +0000 ++++ usr/local/etc/sudoers 2010-12-08 12:38:33.339922804 +0000 +@@ -80,7 +80,7 @@ + root ALL=(ALL) ALL + + ## Uncomment to allow members of group wheel to execute any command +-# %wheel ALL=(ALL) ALL ++%wheel ALL=(ALL) ALL + + ## Same thing without a password + # %wheel ALL=(ALL) NOPASSWD: ALL diff --git a/targets/amd64/H340/config/port.lst b/targets/amd64/H340/config/port.lst new file mode 100644 index 0000000..6793f61 --- /dev/null +++ b/targets/amd64/H340/config/port.lst @@ -0,0 +1,16 @@ +mail/ssmtp +misc-cdn/bash-config +misc-cdn/flag +net/istgt +net/rsync +net/samba35 +security/sudo +shells/bash-completion +sysutils/apcupsd +sysutils/e2fsprogs +sysutils/fusefs-ntfs +sysutils/gkrellm2 +sysutils/ntfsprogs +sysutils/pv +sysutils/screen +sysutils/smartmontools diff --git a/targets/amd64/H340/config/port.options/apcupsd/options b/targets/amd64/H340/config/port.options/apcupsd/options new file mode 100644 index 0000000..aff0091 --- /dev/null +++ b/targets/amd64/H340/config/port.options/apcupsd/options @@ -0,0 +1,15 @@ +# This file is auto-generated by 'make config'. +# Options for apcupsd-3.14.10 +_OPTIONS_READ=apcupsd-3.14.10 +_FILE_COMPLETE_OPTIONS_LIST=APCDUMB_DRV APCSMART_DRV CGI CLIENT_ONLY GAPCMON PCNET_DRV SNMP_DRV SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV USB +OPTIONS_FILE_UNSET+=APCDUMB_DRV +OPTIONS_FILE_UNSET+=APCSMART_DRV +OPTIONS_FILE_UNSET+=CGI +OPTIONS_FILE_UNSET+=CLIENT_ONLY +OPTIONS_FILE_UNSET+=GAPCMON +OPTIONS_FILE_UNSET+=PCNET_DRV +OPTIONS_FILE_UNSET+=SNMP_DRV +OPTIONS_FILE_UNSET+=SNMP_DRV_OLD +OPTIONS_FILE_UNSET+=TCP_WRAPPERS +OPTIONS_FILE_UNSET+=TEST_DRV +OPTIONS_FILE_SET+=USB diff --git a/targets/amd64/H340/config/port.options/bash-config/options b/targets/amd64/H340/config/port.options/bash-config/options new file mode 100644 index 0000000..247603a --- /dev/null +++ b/targets/amd64/H340/config/port.options/bash-config/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for bash-config-1.0.6_1 +_OPTIONS_READ=bash-config-1.0.6_1 +_FILE_COMPLETE_OPTIONS_LIST=COMPLETION +OPTIONS_FILE_SET+=COMPLETION diff --git a/targets/amd64/H340/config/port.options/e2fsprogs/options b/targets/amd64/H340/config/port.options/e2fsprogs/options new file mode 100644 index 0000000..195dacc --- /dev/null +++ b/targets/amd64/H340/config/port.options/e2fsprogs/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for e2fsprogs-1.42.2 +_OPTIONS_READ=e2fsprogs-1.42.2 +_FILE_COMPLETE_OPTIONS_LIST=NLS +OPTIONS_FILE_SET+=NLS diff --git a/targets/amd64/H340/config/port.options/flag/options b/targets/amd64/H340/config/port.options/flag/options new file mode 100644 index 0000000..cd4f501 --- /dev/null +++ b/targets/amd64/H340/config/port.options/flag/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for flag-1.0.2 +_OPTIONS_READ=flag-1.0.2 +_FILE_COMPLETE_OPTIONS_LIST=BASH +OPTIONS_FILE_SET+=BASH diff --git a/targets/amd64/H340/config/port.options/fusefs-ntfs/options b/targets/amd64/H340/config/port.options/fusefs-ntfs/options new file mode 100644 index 0000000..d2b1fab --- /dev/null +++ b/targets/amd64/H340/config/port.options/fusefs-ntfs/options @@ -0,0 +1,6 @@ +# This file is auto-generated by 'make config'. +# Options for fusefs-ntfs-2011.4.12_1 +_OPTIONS_READ=fusefs-ntfs-2011.4.12_1 +_FILE_COMPLETE_OPTIONS_LIST=LOCK UBLIO +OPTIONS_FILE_SET+=LOCK +OPTIONS_FILE_SET+=UBLIO diff --git a/targets/amd64/H340/config/port.options/fusefs/options b/targets/amd64/H340/config/port.options/fusefs/options new file mode 100644 index 0000000..468f0e6 --- /dev/null +++ b/targets/amd64/H340/config/port.options/fusefs/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for fusefs-kmod-0.3.9.p1.20080208_10 +_OPTIONS_READ=fusefs-kmod-0.3.9.p1.20080208_10 +_FILE_COMPLETE_OPTIONS_LIST=AUTOSETUP +OPTIONS_FILE_UNSET+=AUTOSETUP diff --git a/targets/amd64/H340/config/port.options/gamin/options b/targets/amd64/H340/config/port.options/gamin/options new file mode 100644 index 0000000..f287a35 --- /dev/null +++ b/targets/amd64/H340/config/port.options/gamin/options @@ -0,0 +1,6 @@ +# This file is auto-generated by 'make config'. +# Options for gamin-0.1.10_4 +_OPTIONS_READ=gamin-0.1.10_4 +_FILE_COMPLETE_OPTIONS_LIST=GAM_POLLER LIBINOTIFY +OPTIONS_FILE_UNSET+=GAM_POLLER +OPTIONS_FILE_UNSET+=LIBINOTIFY diff --git a/targets/amd64/H340/config/port.options/gkrellm/options b/targets/amd64/H340/config/port.options/gkrellm/options new file mode 100644 index 0000000..9646071 --- /dev/null +++ b/targets/amd64/H340/config/port.options/gkrellm/options @@ -0,0 +1,9 @@ +# This file is auto-generated by 'make config'. +# Options for gkrellm-2.3.5_3 +_OPTIONS_READ=gkrellm-2.3.5_3 +_FILE_COMPLETE_OPTIONS_LIST=GKRELLM_CLIENT GNUTLS NLS NTLM OPENSSL +OPTIONS_FILE_UNSET+=GKRELLM_CLIENT +OPTIONS_FILE_UNSET+=GNUTLS +OPTIONS_FILE_UNSET+=NLS +OPTIONS_FILE_UNSET+=NTLM +OPTIONS_FILE_UNSET+=OPENSSL diff --git a/targets/amd64/H340/config/port.options/glib20/options b/targets/amd64/H340/config/port.options/glib20/options new file mode 100644 index 0000000..9251d77 --- /dev/null +++ b/targets/amd64/H340/config/port.options/glib20/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for glib+noperl+nopython-2.28.8_4 +_OPTIONS_READ=glib+noperl+nopython-2.28.8_4 +_FILE_COMPLETE_OPTIONS_LIST=COLLATION_FIX +OPTIONS_FILE_SET+=COLLATION_FIX diff --git a/targets/amd64/H340/config/port.options/icu/options b/targets/amd64/H340/config/port.options/icu/options new file mode 100644 index 0000000..51292d7 --- /dev/null +++ b/targets/amd64/H340/config/port.options/icu/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for icu-4.8.1.1_1 +_OPTIONS_READ=icu-4.8.1.1_1 +_FILE_COMPLETE_OPTIONS_LIST=THREADS +OPTIONS_FILE_SET+=THREADS diff --git a/targets/amd64/H340/config/port.options/libiconv/options b/targets/amd64/H340/config/port.options/libiconv/options new file mode 100644 index 0000000..171eca7 --- /dev/null +++ b/targets/amd64/H340/config/port.options/libiconv/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for libiconv-1.14 +_OPTIONS_READ=libiconv-1.14 +_FILE_COMPLETE_OPTIONS_LIST=EXTRA_ENCODINGS +OPTIONS_FILE_SET+=EXTRA_ENCODINGS diff --git a/targets/amd64/H340/config/port.options/m4/options b/targets/amd64/H340/config/port.options/m4/options new file mode 100644 index 0000000..cf665c2 --- /dev/null +++ b/targets/amd64/H340/config/port.options/m4/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for m4-1.4.16,1 +_OPTIONS_READ=m4-1.4.16,1 +_FILE_COMPLETE_OPTIONS_LIST=LIBSIGSEGV +OPTIONS_FILE_SET+=LIBSIGSEGV diff --git a/targets/amd64/H340/config/port.options/ntfsprogs/options b/targets/amd64/H340/config/port.options/ntfsprogs/options new file mode 100644 index 0000000..7fe5808 --- /dev/null +++ b/targets/amd64/H340/config/port.options/ntfsprogs/options @@ -0,0 +1,8 @@ +# This file is auto-generated by 'make config'. +# Options for ntfsprogs-2.0.0_2 +_OPTIONS_READ=ntfsprogs-2.0.0_2 +_FILE_COMPLETE_OPTIONS_LIST=GNOMEVFS2 LOCK UBLIO UUID +OPTIONS_FILE_UNSET+=GNOMEVFS2 +OPTIONS_FILE_SET+=LOCK +OPTIONS_FILE_SET+=UBLIO +OPTIONS_FILE_SET+=UUID diff --git a/targets/amd64/H340/config/port.options/pcre/options b/targets/amd64/H340/config/port.options/pcre/options new file mode 100644 index 0000000..1d21f55 --- /dev/null +++ b/targets/amd64/H340/config/port.options/pcre/options @@ -0,0 +1,6 @@ +# This file is auto-generated by 'make config'. +# Options for pcre-8.30_2 +_OPTIONS_READ=pcre-8.30_2 +_FILE_COMPLETE_OPTIONS_LIST=JIT LIBEDIT +OPTIONS_FILE_SET+=JIT +OPTIONS_FILE_UNSET+=LIBEDIT diff --git a/targets/amd64/H340/config/port.options/perl/options b/targets/amd64/H340/config/port.options/perl/options new file mode 100644 index 0000000..bb056f8 --- /dev/null +++ b/targets/amd64/H340/config/port.options/perl/options @@ -0,0 +1,13 @@ +# This file is auto-generated by 'make config'. +# Options for perl-5.12.4_4 +_OPTIONS_READ=perl-5.12.4_4 +_FILE_COMPLETE_OPTIONS_LIST=DEBUGGING GDBM MULTIPLICITY PERL_64BITINT PERL_MALLOC PTHREAD SITECUSTOMIZE THREADS USE_PERL +OPTIONS_FILE_UNSET+=DEBUGGING +OPTIONS_FILE_UNSET+=GDBM +OPTIONS_FILE_UNSET+=MULTIPLICITY +OPTIONS_FILE_SET+=PERL_64BITINT +OPTIONS_FILE_UNSET+=PERL_MALLOC +OPTIONS_FILE_SET+=PTHREAD +OPTIONS_FILE_UNSET+=SITECUSTOMIZE +OPTIONS_FILE_SET+=THREADS +OPTIONS_FILE_SET+=USE_PERL diff --git a/targets/amd64/H340/config/port.options/pv/options b/targets/amd64/H340/config/port.options/pv/options new file mode 100644 index 0000000..61d82f9 --- /dev/null +++ b/targets/amd64/H340/config/port.options/pv/options @@ -0,0 +1,6 @@ +# This file is auto-generated by 'make config'. +# Options for pv-1.2.0 +_OPTIONS_READ=pv-1.2.0 +_FILE_COMPLETE_OPTIONS_LIST=LFS NLS +OPTIONS_FILE_SET+=LFS +OPTIONS_FILE_UNSET+=NLS diff --git a/targets/amd64/H340/config/port.options/python27/options b/targets/amd64/H340/config/port.options/python27/options new file mode 100644 index 0000000..8a6e12e --- /dev/null +++ b/targets/amd64/H340/config/port.options/python27/options @@ -0,0 +1,13 @@ +# This file is auto-generated by 'make config'. +# Options for python27-2.7.3_2 +_OPTIONS_READ=python27-2.7.3_2 +_FILE_COMPLETE_OPTIONS_LIST=EXAMPLES FPECTL IPV6 PTH PYMALLOC SEM THREADS UCS2 UCS4 +OPTIONS_FILE_UNSET+=EXAMPLES +OPTIONS_FILE_UNSET+=FPECTL +OPTIONS_FILE_SET+=IPV6 +OPTIONS_FILE_UNSET+=PTH +OPTIONS_FILE_SET+=PYMALLOC +OPTIONS_FILE_UNSET+=SEM +OPTIONS_FILE_SET+=THREADS +OPTIONS_FILE_UNSET+=UCS2 +OPTIONS_FILE_SET+=UCS4 diff --git a/targets/amd64/H340/config/port.options/rsync/options b/targets/amd64/H340/config/port.options/rsync/options new file mode 100644 index 0000000..cb7ee0b --- /dev/null +++ b/targets/amd64/H340/config/port.options/rsync/options @@ -0,0 +1,12 @@ +# This file is auto-generated by 'make config'. +# Options for rsync-3.0.9 +_OPTIONS_READ=rsync-3.0.9 +_FILE_COMPLETE_OPTIONS_LIST=ACL ATIMES FLAGS ICONV POPT_PORT RENAMED SSH TIMELIMIT +OPTIONS_FILE_UNSET+=ACL +OPTIONS_FILE_UNSET+=ATIMES +OPTIONS_FILE_UNSET+=FLAGS +OPTIONS_FILE_SET+=ICONV +OPTIONS_FILE_SET+=POPT_PORT +OPTIONS_FILE_UNSET+=RENAMED +OPTIONS_FILE_SET+=SSH +OPTIONS_FILE_UNSET+=TIMELIMIT diff --git a/targets/amd64/H340/config/port.options/ruby/options b/targets/amd64/H340/config/port.options/ruby/options new file mode 100644 index 0000000..089784f --- /dev/null +++ b/targets/amd64/H340/config/port.options/ruby/options @@ -0,0 +1,7 @@ +# This file is auto-generated by 'make config'. +# Options for ruby-1.8.7.358,1 +_OPTIONS_READ=ruby-1.8.7.358,1 +_FILE_COMPLETE_OPTIONS_LIST=DEBUG ONIGURUMA RDOC +OPTIONS_FILE_UNSET+=DEBUG +OPTIONS_FILE_UNSET+=ONIGURUMA +OPTIONS_FILE_SET+=RDOC diff --git a/targets/amd64/H340/config/port.options/samba35/options b/targets/amd64/H340/config/port.options/samba35/options new file mode 100644 index 0000000..a918c0d --- /dev/null +++ b/targets/amd64/H340/config/port.options/samba35/options @@ -0,0 +1,23 @@ +# This file is auto-generated by 'make config'. +# Options for samba35-3.5.15 +_OPTIONS_READ=samba35-3.5.15 +_FILE_COMPLETE_OPTIONS_LIST=ACL_SUPPORT ADS AIO_SUPPORT AVAHI CUPS DNSUPDATE EXP_MODULES FAM_SUPPORT IPV6 LDAP MAX_DEBUG PAM_SMBPASS POPT QUOTAS SMBTORTURE SWAT SYSLOG UTMP WINBIND +OPTIONS_FILE_UNSET+=ACL_SUPPORT +OPTIONS_FILE_UNSET+=ADS +OPTIONS_FILE_SET+=AIO_SUPPORT +OPTIONS_FILE_UNSET+=AVAHI +OPTIONS_FILE_UNSET+=CUPS +OPTIONS_FILE_UNSET+=DNSUPDATE +OPTIONS_FILE_UNSET+=EXP_MODULES +OPTIONS_FILE_SET+=FAM_SUPPORT +OPTIONS_FILE_SET+=IPV6 +OPTIONS_FILE_UNSET+=LDAP +OPTIONS_FILE_UNSET+=MAX_DEBUG +OPTIONS_FILE_UNSET+=PAM_SMBPASS +OPTIONS_FILE_SET+=POPT +OPTIONS_FILE_UNSET+=QUOTAS +OPTIONS_FILE_UNSET+=SMBTORTURE +OPTIONS_FILE_UNSET+=SWAT +OPTIONS_FILE_UNSET+=SYSLOG +OPTIONS_FILE_UNSET+=UTMP +OPTIONS_FILE_UNSET+=WINBIND diff --git a/targets/amd64/H340/config/port.options/screen/options b/targets/amd64/H340/config/port.options/screen/options new file mode 100644 index 0000000..96b0301 --- /dev/null +++ b/targets/amd64/H340/config/port.options/screen/options @@ -0,0 +1,11 @@ +# This file is auto-generated by 'make config'. +# Options for screen-4.0.3_13 +_OPTIONS_READ=screen-4.0.3_13 +_FILE_COMPLETE_OPTIONS_LIST=CJK HOSTINLOCKED INFO MAN NETHACK SHOWENC XTERM_256 +OPTIONS_FILE_UNSET+=CJK +OPTIONS_FILE_UNSET+=HOSTINLOCKED +OPTIONS_FILE_UNSET+=INFO +OPTIONS_FILE_SET+=MAN +OPTIONS_FILE_SET+=NETHACK +OPTIONS_FILE_UNSET+=SHOWENC +OPTIONS_FILE_SET+=XTERM_256 diff --git a/targets/amd64/H340/config/port.options/ssmtp/options b/targets/amd64/H340/config/port.options/ssmtp/options new file mode 100644 index 0000000..e8ba5b0 --- /dev/null +++ b/targets/amd64/H340/config/port.options/ssmtp/options @@ -0,0 +1,8 @@ +# This file is auto-generated by 'make config'. +# Options for ssmtp-2.64 +_OPTIONS_READ=ssmtp-2.64 +_FILE_COMPLETE_OPTIONS_LIST=IPV6 LOGFILE USERPREFS XORIGIP +OPTIONS_FILE_SET+=IPV6 +OPTIONS_FILE_UNSET+=LOGFILE +OPTIONS_FILE_SET+=USERPREFS +OPTIONS_FILE_SET+=XORIGIP diff --git a/targets/amd64/H340/config/port.options/sudo/options b/targets/amd64/H340/config/port.options/sudo/options new file mode 100644 index 0000000..c1dbd0a --- /dev/null +++ b/targets/amd64/H340/config/port.options/sudo/options @@ -0,0 +1,10 @@ +# This file is auto-generated by 'make config'. +# Options for sudo-1.8.5.p1 +_OPTIONS_READ=sudo-1.8.5.p1 +_FILE_COMPLETE_OPTIONS_LIST=AUDIT DISABLE_AUTH DISABLE_ROOT_SUDO INSULTS LDAP NOARGS_SHELL +OPTIONS_FILE_SET+=AUDIT +OPTIONS_FILE_UNSET+=DISABLE_AUTH +OPTIONS_FILE_UNSET+=DISABLE_ROOT_SUDO +OPTIONS_FILE_SET+=INSULTS +OPTIONS_FILE_UNSET+=LDAP +OPTIONS_FILE_UNSET+=NOARGS_SHELL diff --git a/targets/amd64/H340/config/port.options/talloc/options b/targets/amd64/H340/config/port.options/talloc/options new file mode 100644 index 0000000..9876136 --- /dev/null +++ b/targets/amd64/H340/config/port.options/talloc/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for talloc-2.0.7 +_OPTIONS_READ=talloc-2.0.7 +_FILE_COMPLETE_OPTIONS_LIST=PYTHON +OPTIONS_FILE_UNSET+=PYTHON diff --git a/targets/amd64/H340/config/port.options/tdb/options b/targets/amd64/H340/config/port.options/tdb/options new file mode 100644 index 0000000..a91bf51 --- /dev/null +++ b/targets/amd64/H340/config/port.options/tdb/options @@ -0,0 +1,5 @@ +# This file is auto-generated by 'make config'. +# Options for tdb-1.2.9,1 +_OPTIONS_READ=tdb-1.2.9,1 +_FILE_COMPLETE_OPTIONS_LIST=PYTHON +OPTIONS_FILE_UNSET+=PYTHON diff --git a/targets/amd64/H340/world b/targets/amd64/H340/world new file mode 120000 index 0000000..026075c --- /dev/null +++ b/targets/amd64/H340/world @@ -0,0 +1 @@ +../../../worlds/amd64/GENERIC \ No newline at end of file -- 2.42.0