diff --git a/freebsd/.bash_profile b/freebsd/.bash_profile index 9c483d4..b3ad8a3 100644 --- a/freebsd/.bash_profile +++ b/freebsd/.bash_profile @@ -1 +1,6 @@ +# Bash completion + +[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ + source /usr/local/share/bash-completion/bash_completion.sh + [[ -f $HOME/.bashrc ]] && source $HOME/.bashrc diff --git a/freebsd/.bashrc b/freebsd/.bashrc index 1347292..5eaae23 100644 --- a/freebsd/.bashrc +++ b/freebsd/.bashrc @@ -1,8 +1,3 @@ -# Bash completion - -[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ - source /usr/local/share/bash-completion/bash_completion.sh - # Bash options shopt -s checkwinsize @@ -46,7 +41,13 @@ export PAGER="less" # 2018-06-27 local bin for pip --user export PATH=$HOME/.local/bin:$PATH +# 2018-06-29 Rust Cargo by rustup +export PATH="$HOME/.cargo/bin:$PATH" + # chruby if [[ -f /usr/local/share/chruby/chruby.sh ]]; then source /usr/local/share/chruby/chruby.sh fi + +# GNUStep +source /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh diff --git a/freebsd/.login_conf b/freebsd/.login_conf new file mode 100644 index 0000000..6e81f2d --- /dev/null +++ b/freebsd/.login_conf @@ -0,0 +1,11 @@ +# $FreeBSD: releng/11.2/share/skel/dot.login_conf 77995 2001-06-10 17:08:53Z ache $ +# +# see login.conf(5) +# +#me:\ +# :charset=iso-8859-1:\ +# :lang=de_DE.ISO8859-1: + +me:\ + :charset=UTF-8:\ + :lang=en_US.UTF-8: diff --git a/freebsd/.xinitrc b/freebsd/.xinitrc new file mode 100644 index 0000000..8b8e02e --- /dev/null +++ b/freebsd/.xinitrc @@ -0,0 +1,22 @@ +export LANG="zh_CN.UTF-8" +export LC_ALL="zh_CN.UTF-8" + +# 2018,06,06 fcitx +export XMODIFIERS="@im=fcitx" +export GTK_IM_MODULE=fcitx +export GTK3_IM_MODULE=fcitx +export QT_IM_MODULE=fcitx + +#exec start-lumina-desktop + +#exec /usr/local/bin/startxfce4 + +# https://wiki.freebsd.org/LXQt +# http://lxqt-freebsd.schmitz.computer/ +#ck-launch-session /usr/local/bin/startlxqt + +#exec ck-launch-session startkde + +#exec /usr/local/bin/startfluxbox + +exec ck-launch-session gnome-session diff --git a/freebsd/.xprofile b/freebsd/.xprofile new file mode 100644 index 0000000..83b031f --- /dev/null +++ b/freebsd/.xprofile @@ -0,0 +1,8 @@ +export LANG="zh_CN.UTF-8" +export LC_ALL="zh_CN.UTF-8" + +# 2018,06,06 fcitx +export XMODIFIERS="@im=fcitx" +export GTK_IM_MODULE=fcitx +export GTK3_IM_MODULE=fcitx +export QT_IM_MODULE=fcitx diff --git a/freebsd/devfs.conf b/freebsd/devfs.conf new file mode 100644 index 0000000..16871f2 --- /dev/null +++ b/freebsd/devfs.conf @@ -0,0 +1,50 @@ +# Copyright (c) 2003 The FreeBSD Project +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# $FreeBSD: releng/12.0/sbin/devfs/devfs.conf 338204 2018-08-22 15:55:23Z brd $ + +# These are examples of how to configure devices using /etc/rc.d/devfs. +# The first parameter is always the action to take, the second is always the +# existing device created by devfs, and the last is what you want to change. +# The name of the action is only significant to the first unique character. +# +# Examples: + +# Commonly used by many ports +#link cd0 cdrom +#link cd0 dvd + +# Allow a user in the wheel group to query the smb0 device +#perm smb0 0660 + +# Allow members of group operator to cat things to the speaker +#own speaker root:operator +#perm speaker 0660 + +# 2018-07-13 for libgtop for mate +perm devstat 0444 + +# (x) just for old FreeBSD versions, see gnome-shell pkg-message +# 2018-07-13 for gnome-shell +#add path 'dri/*' mode 0666 group video diff --git a/freebsd/fstab b/freebsd/fstab new file mode 100644 index 0000000..80b7344 --- /dev/null +++ b/freebsd/fstab @@ -0,0 +1,6 @@ +/dev/ada0p6 / ufs rw 2 2 +/dev/ada0p7 none swap sw 0 0 + +# For openjdk8 +fdesc /dev/fd fdescfs rw 0 0 +proc /proc procfs rw 0 0 diff --git a/freebsd/loader.conf b/freebsd/loader.conf new file mode 100644 index 0000000..05b37b0 --- /dev/null +++ b/freebsd/loader.conf @@ -0,0 +1,17 @@ +# For ASUS laptop +acpi_asus_load="YES" +acpi_asus_wmi_load="YES" + +if_ath_load="YES" +#if_ath_pci_load="YES" + +# For ntfs-3g +fuse_load="YES" + +# For webcamd for KDE plasma 5 or GNOME 3 +cuse_load="YES" + +kern.vty=vt + +# 2018-07-16 for mono +kern.ipc.semmni=40 diff --git a/freebsd/login.conf b/freebsd/login.conf new file mode 100644 index 0000000..32d7618 --- /dev/null +++ b/freebsd/login.conf @@ -0,0 +1,330 @@ +# login.conf - login class capabilities database. +# +# Remember to rebuild the database after each change to this file: +# +# cap_mkdb /etc/login.conf +# +# This file controls resource limits, accounting limits and +# default user environment settings. +# +# $FreeBSD: releng/12.0/usr.bin/login/login.conf 338399 2018-08-30 15:52:03Z brd $ +# + +# Default settings effectively disable resource limits, see the +# examples below for a starting point to enable them. + +# defaults +# These settings are used by login(1) by default for classless users +# Note that entries like "cputime" set both "cputime-cur" and "cputime-max" +# +# Note that since a colon ':' is used to separate capability entries, +# a \c escape sequence must be used to embed a literal colon in the +# value or name of a capability (see the ``CGETNUM AND CGETSTR SYNTAX +# AND SEMANTICS'' section of getcap(3) for more escape sequences). + +default:\ + :passwd_format=sha512:\ + :copyright=/etc/COPYRIGHT:\ + :welcome=/etc/motd:\ + :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ + :path=/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin ~/bin:\ + :nologin=/var/run/nologin:\ + :cputime=unlimited:\ + :datasize=unlimited:\ + :stacksize=unlimited:\ + :memorylocked=64K:\ + :memoryuse=unlimited:\ + :filesize=unlimited:\ + :coredumpsize=unlimited:\ + :openfiles=unlimited:\ + :maxproc=unlimited:\ + :sbsize=unlimited:\ + :vmemoryuse=unlimited:\ + :swapuse=unlimited:\ + :pseudoterminals=unlimited:\ + :kqueues=unlimited:\ + :umtxp=unlimited:\ + :priority=0:\ + :ignoretime@:\ + :umask=022:\ + :charset=UTF-8:\ + :lang=en_US.UTF-8: + + +# +# A collection of common class names - forward them all to 'default' +# (login would normally do this anyway, but having a class name +# here suppresses the diagnostic) +# +standard:\ + :tc=default: +xuser:\ + :tc=default: +staff:\ + :tc=default: +daemon:\ + :memorylocked=128M:\ + :tc=default: +news:\ + :tc=default: +dialer:\ + :tc=default: + +# +# Root can always login +# +# N.B. login_getpwclass(3) will use this entry for the root account, +# in preference to 'default'. +root:\ + :ignorenologin:\ + :memorylocked=unlimited:\ + :tc=default: + +# +# Russian Users Accounts. Setup proper environment variables. +# +russian|Russian Users Accounts:\ + :charset=UTF-8:\ + :lang=ru_RU.UTF-8:\ + :tc=default: + + +###################################################################### +###################################################################### +## +## Example entries +## +###################################################################### +###################################################################### + +## Example defaults +## These settings are used by login(1) by default for classless users +## Note that entries like "cputime" set both "cputime-cur" and "cputime-max" +# +#default:\ +# :cputime=infinity:\ +# :datasize-cur=22M:\ +# :stacksize-cur=8M:\ +# :memorylocked-cur=10M:\ +# :memoryuse-cur=30M:\ +# :filesize=infinity:\ +# :coredumpsize=infinity:\ +# :maxproc-cur=64:\ +# :openfiles-cur=64:\ +# :priority=0:\ +# :requirehome@:\ +# :umask=022:\ +# :tc=auth-defaults: +# +# +## +## standard - standard user defaults +## +#standard:\ +# :copyright=/etc/COPYRIGHT:\ +# :welcome=/etc/motd:\ +# :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ +# :path=~/bin /bin /usr/bin /usr/local/bin:\ +# :manpath=/usr/share/man /usr/local/man:\ +# :nologin=/var/run/nologin:\ +# :cputime=1h30m:\ +# :datasize=8M:\ +# :vmemoryuse=100M:\ +# :stacksize=2M:\ +# :memorylocked=4M:\ +# :memoryuse=8M:\ +# :filesize=8M:\ +# :coredumpsize=8M:\ +# :openfiles=24:\ +# :maxproc=32:\ +# :priority=0:\ +# :requirehome:\ +# :passwordtime=90d:\ +# :umask=002:\ +# :ignoretime@:\ +# :tc=default: +# +# +## +## users of X (needs more resources!) +## +#xuser:\ +# :manpath=/usr/share/man /usr/local/man:\ +# :cputime=4h:\ +# :datasize=12M:\ +# :vmemoryuse=infinity:\ +# :stacksize=4M:\ +# :filesize=8M:\ +# :memoryuse=16M:\ +# :openfiles=32:\ +# :maxproc=48:\ +# :tc=standard: +# +# +## +## Staff users - few restrictions and allow login anytime +## +#staff:\ +# :ignorenologin:\ +# :ignoretime:\ +# :requirehome@:\ +# :accounted@:\ +# :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ +# :umask=022:\ +# :tc=standard: +# +# +## +## root - fallback for root logins +## +#root:\ +# :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ +# :cputime=infinity:\ +# :datasize=infinity:\ +# :stacksize=infinity:\ +# :memorylocked=infinity:\ +# :memoryuse=infinity:\ +# :filesize=infinity:\ +# :coredumpsize=infinity:\ +# :openfiles=infinity:\ +# :maxproc=infinity:\ +# :memoryuse-cur=32M:\ +# :maxproc-cur=64:\ +# :openfiles-cur=1024:\ +# :priority=0:\ +# :requirehome@:\ +# :umask=022:\ +# :tc=auth-root-defaults: +# +# +## +## Settings used by /etc/rc +## +#daemon:\ +# :coredumpsize@:\ +# :coredumpsize-cur=0:\ +# :datasize=infinity:\ +# :datasize-cur@:\ +# :maxproc=512:\ +# :maxproc-cur@:\ +# :memoryuse-cur=64M:\ +# :memorylocked-cur=64M:\ +# :openfiles=1024:\ +# :openfiles-cur@:\ +# :stacksize=16M:\ +# :stacksize-cur@:\ +# :tc=default: +# +# +## +## Settings used by news subsystem +## +#news:\ +# :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ +# :cputime=infinity:\ +# :filesize=128M:\ +# :datasize-cur=64M:\ +# :stacksize-cur=32M:\ +# :coredumpsize-cur=0:\ +# :maxmemorysize-cur=128M:\ +# :memorylocked=32M:\ +# :maxproc=128:\ +# :openfiles=256:\ +# :tc=default: +# +# +## +## The dialer class should be used for a dialup PPP account +## Welcome messages/news suppressed +## +#dialer:\ +# :hushlogin:\ +# :requirehome@:\ +# :cputime=unlimited:\ +# :filesize=2M:\ +# :datasize=2M:\ +# :stacksize=4M:\ +# :coredumpsize=0:\ +# :memoryuse=4M:\ +# :memorylocked=1M:\ +# :maxproc=16:\ +# :openfiles=32:\ +# :tc=standard: +# +# +## +## Site full-time 24/7 PPP connection +## - no time accounting, restricted to access via dialin lines +## +#site:\ +# :ignoretime:\ +# :passwordtime@:\ +# :refreshtime@:\ +# :refreshperiod@:\ +# :sessionlimit@:\ +# :autodelete@:\ +# :expireperiod@:\ +# :graceexpire@:\ +# :gracetime@:\ +# :warnexpire@:\ +# :warnpassword@:\ +# :idletime@:\ +# :sessiontime@:\ +# :daytime@:\ +# :weektime@:\ +# :monthtime@:\ +# :warntime@:\ +# :accounted@:\ +# :tc=dialer:\ +# :tc=staff: +# +# +## +## Example standard accounting entries for subscriber levels +## +# +#subscriber|Subscribers:\ +# :accounted:\ +# :refreshtime=180d:\ +# :refreshperiod@:\ +# :sessionlimit@:\ +# :autodelete=30d:\ +# :expireperiod=180d:\ +# :graceexpire=7d:\ +# :gracetime=10m:\ +# :warnexpire=7d:\ +# :warnpassword=7d:\ +# :idletime=30m:\ +# :sessiontime=4h:\ +# :daytime=6h:\ +# :weektime=40h:\ +# :monthtime=120h:\ +# :warntime=4h:\ +# :tc=standard: +# +# +## +## Subscriber accounts. These accounts have their login times +## accounted and have access limits applied. +## +#subppp|PPP Subscriber Accounts:\ +# :tc=dialer:\ +# :tc=subscriber: +# +# +#subshell|Shell Subscriber Accounts:\ +# :tc=subscriber: +# +## +## If you want some of the accounts to use traditional UNIX DES based +## password hashes. +## +#des_users:\ +# :passwd_format=des:\ +# :tc=default: + +# 2018-08-18 for postgresql10-server +postgres:\ + :lang=en_US.UTF-8:\ + :setenv=LC_COLLATE=C:\ + :tc=default: diff --git a/freebsd/pkg-install.txt b/freebsd/pkg-install.txt new file mode 100644 index 0000000..b8db06b --- /dev/null +++ b/freebsd/pkg-install.txt @@ -0,0 +1,5 @@ +# packages installed + +## 2018-11-27 + +* gnome-menus : for gnome shell extension `Applications Menu` diff --git a/freebsd/pkg-query-non-automatic.txt b/freebsd/pkg-query-non-automatic.txt new file mode 100644 index 0000000..e404578 --- /dev/null +++ b/freebsd/pkg-query-non-automatic.txt @@ -0,0 +1,197 @@ +x11/alacritty +audio/alsa-utils +net-p2p/amule +www/apache24 +archivers/ark +textproc/aspell +multimedia/audacious +multimedia/audacious-plugins +audio/audacity +shells/bash +shells/bash-completion +sysutils/bsdisks +graphics/cegui +devel/cgit +lang/chez-scheme +www/chromium +devel/chruby +devel/cmake +devel/codeblocks +sysutils/coreutils +devel/cppcheck +lang/crystal +ftp/curl +devel/devhelp +lang/dlang-tools +editors/dlangide +x11-fm/dolphin +devel/dolphin-plugins +multimedia/dragon +devel/dub +sysutils/e2fsprogs +x11-wm/ede +lang/elixir +lang/erlang +textproc/fcitx-qt5 +textproc/fcitx-table-other +www/firefox +www/firefox-i18n +benchmarks/flamegraph +x11-wm/fluxbox +x11-fonts/font-awesome +games/freeciv +games/freecol +deskutils/freemind +sysutils/fusefs-ext2 +sysutils/fusefs-ntfs +sysutils/gdisk +graphics/gimp +devel/git +x11/gnome-menus +deskutils/gnome-shell-extension-openweather +x11/gnome3 +devel/gnustep +games/gnustep-ladder +games/gnustep-sudoku +lang/go +textproc/goldendict +devel/gorm +textproc/groff +multimedia/gstreamer-ffmpeg +graphics/gwenview +irc/hexchat +sysutils/htop +java/intellij +textproc/jq +audio/juk +graphics/kamera +editors/kate +math/kcalc +deskutils/kcharselect +deskutils/kchmviewer +graphics/kcolorchooser +x11/kde-baseapps +sysutils/kdeadmin +security/keepassxc +sysutils/khelpcenter +x11-fm/konqueror +x11/konsole +graphics/krita +audio/lame +editors/libreoffice +security/libressl +www/lighttpd +x11/lilyterm +sysutils/lsof +graphics/mesa-demos +x11-fonts/meslo +devel/meson +net-p2p/mldonkey +lang/mono +graphics/mupdf +x11-toolkits/mygui +databases/mysql57-server +editors/neovim +editors/neovim-qt +www/nginx +lang/nim +devel/nimble +devel/ninja +www/node +lang/ocaml +graphics/ogre3d +graphics/okular +graphics/openexr +java/openjdk8 +multimedia/openshot +archivers/p7zip +archivers/p7zip-codec-rar +x11-fm/pcmanfm-qt +multimedia/phonon-vlc +net-im/pidgin +ports-mgmt/pkg +x11/plasma5-plasma +deskutils/plasma5-sddm-kcm +editors/poedit +databases/postgresql10-server +www/privoxy +devel/py-pip +www/py-requests +devel/py-pipenv +www/py-requests +databases/py-sqlite3 +x11-toolkits/py-tkinter +devel/pycharm-ce +lang/pypy3 +lang/python3 +lang/python37 +print/qpdfview +textproc/qstardict +misc/qt4-qtconfig +devel/qtcreator +x11/qterminal +net/quiterss +sysutils/radeontool +sysutils/radeontop +multimedia/recordmydesktop +databases/redis +graphics/ristretto +x11-fonts/roboto-fonts-ttf +lang/ruby24 +lang/ruby25 +textproc/rubygem-asciidoctor +sysutils/rubygem-bundler +x11/rxvt-unicode +net/samba47 +lang/scala +x11/sddm +x11-themes/sddm-freebsd-black-theme +net/shadowsocks-libev +devel/shards +graphics/shotwell +x11/slim +x11-themes/slim-freebsd-black-theme +x11-themes/slim-freebsd-themes +x11-themes/slim-themes +multimedia/smplayer +graphics/spectacle +math/speedcrunch +devel/stack +lang/swift +shells/tcshrc +net-im/telegram-desktop +archivers/thunar-archive-plugin +audio/thunar-media-tags-plugin +x11-fm/thunar-vfs +mail/thunderbird +games/tome4 +archivers/unrar +x11-fonts/urwfonts +x11/urxvt-font-size +editors/vim +multimedia/vlc +deskutils/vym +games/wesnoth +ftp/wget +x11-fonts/wqy +benchmarks/wrk +archivers/xarchiver +x11-wm/xcompmgr +x11-drivers/xf86-input-libinput +x11-drivers/xf86-video-dummy +x11-wm/xfce4 +audio/xfce4-mixer +sysutils/xfce4-power-manager +x11/xfce4-screenshooter-plugin +x11/xfce4-taskmanager +x11-clocks/xfce4-timer-out-plugin +deskutils/xfce4-volumed +misc/xfce4-weather-plugin +x11/xorg +www/yarn +devel/zeal +chinese/fcitx +chinese/fcitx-configtool +chinese/fcitx-libpinyin +shells/zsh +textproc/zsh-syntax-highlighting diff --git a/freebsd/rc.conf b/freebsd/rc.conf new file mode 100644 index 0000000..e6ea5f0 --- /dev/null +++ b/freebsd/rc.conf @@ -0,0 +1,56 @@ +# 2018-11-28 and make sure xf86-video-ati package removed +kld_list="radeonkms" + +hostname="zbsd" +powerd_enable="YES" +moused_enable="YES" + +#ntpd_program="/usr/local/sbin/ntpd" +#ntpdate_program="/usr/local/sbin/ntpdate" +# ntpd failed since 12.0-BETA1 +# Fixed by running `pwd_mkdb -p /etc/master.passwd`. +ntpd_enable="YES" + +wlans_ath0="wlan0" +ifconfig_wlan0="WPA DHCP" + +# 2018-08-18 for postgresql10-server +postgresql_class="postgres" + +# For http proxy using shadowsocks-libev +privoxy_enable="YES" + +# For xorg and Lumina +mixer_enable="YES" + +# For desktop +#slim_enable="YES" +#lightdm_enable="YES" +#sddm_enable="YES" +#gdm_enable="YES" + +# For XFCE +#dbus_enable="YES" +#hald_enable="YES" +#slim_enable="YES" + +# For LXQt +#dbus_enable="YES" + +# For KDE plasma 5 +#dbus_enable="YES" +#hald_enable="YES" +#webcamd_enable="YES" +#sddm_enable="YES" + +# For GNOME 3 +dbus_enable="YES" +hald_enable="YES" +webcamd_enable="YES" +gdm_enable="YES" + +# For Cinnamon +#dbus_enable="YES" +#hald_enable="YES" +#webcamd_enable="YES" +#gdm_enable="YES" diff --git a/freebsd/sysctl.conf b/freebsd/sysctl.conf new file mode 100644 index 0000000..9dafb8a --- /dev/null +++ b/freebsd/sysctl.conf @@ -0,0 +1,12 @@ +# $FreeBSD: releng/12.0/sbin/sysctl/sysctl.conf 337624 2018-08-11 13:28:03Z brd $ +# +# This file is read when going to multi-user and its contents piped thru +# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. +# + +# Uncomment this to prevent users from seeing information about processes that +# are being run under another UID. +#security.bsd.see_other_uids=0 + +# 2018-07-13 disable .core file generated +kern.coredump=0 diff --git a/freebsd/usr_local/FreeBSD.conf b/freebsd/usr_local/FreeBSD.conf new file mode 100644 index 0000000..4c98a28 --- /dev/null +++ b/freebsd/usr_local/FreeBSD.conf @@ -0,0 +1,6 @@ +FreeBSD: { + # https://euroquis.nl/bobulate/?p=1862 + #url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", + #url: "pkg+https://mirrors.ustc.edu.cn/freebsd-pkg/${ABI}/latest", + url: "pkg+http://mirrors.ustc.edu.cn/freebsd-pkg/${ABI}/latest", +} diff --git a/freebsd/usr_local/locale.conf b/freebsd/usr_local/locale.conf new file mode 100644 index 0000000..01ec548 --- /dev/null +++ b/freebsd/usr_local/locale.conf @@ -0,0 +1 @@ +LANG=en_US.UTF-8 diff --git a/freebsd/usr_local/pkg.conf b/freebsd/usr_local/pkg.conf new file mode 100644 index 0000000..0b78e3b --- /dev/null +++ b/freebsd/usr_local/pkg.conf @@ -0,0 +1,86 @@ +# System-wide configuration file for pkg(8) +# For more information on the file format and +# options please refer to the pkg.conf(5) man page + +# Note: you don't need to have a pkg.conf file. Many installations +# will work well with no pkg.conf at all or with an empty pkg.conf +# (other than comment lines). You can also override any of these +# settings from the environment. + +# Configuration options -- default values. + +#PKG_DBDIR = "/var/db/pkg"; +#PKG_CACHEDIR = "/var/cache/pkg"; +#PORTSDIR = "/usr/ports"; +#INDEXDIR = ""; +#INDEXFILE = "INDEX-10"; # Autogenerated +#HANDLE_RC_SCRIPTS = false; +#DEFAULT_ALWAYS_YES = false; +#ASSUME_ALWAYS_YES = false; +#REPOS_DIR [ +# "/etc/pkg/", +# "/usr/local/etc/pkg/repos/", +#] +#PLIST_KEYWORDS_DIR = ""; +#SYSLOG = true; +#ABI = "freebsd:10:x86:64"; # Autogenerated +#DEVELOPER_MODE = false; +#VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2"; +#FETCH_RETRY = 3; +#PKG_PLUGINS_DIR = "/usr/local/lib/pkg/"; +#PKG_ENABLE_PLUGINS = true; +#PLUGINS [ +#] +#DEBUG_SCRIPTS = false; +#PLUGINS_CONF_DIR = "/usr/local/etc/pkg/"; +#PERMISSIVE = false; +#REPO_AUTOUPDATE = true; +#NAMESERVER = ""; +#HTTP_USER_AGENT = "Custom_User_Manager"; +#EVENT_PIPE = ""; +#FETCH_TIMEOUT = 30; +#UNSET_TIMESTAMP = false; +#SSH_RESTRICT_DIR = ""; +#PKG_ENV { +#} +#PKG_SSH_ARGS = ""; +#DEBUG_LEVEL = 0; +#ALIAS { +#} +#CUDF_SOLVER = ""; +#SAT_SOLVER = ""; +#RUN_SCRIPTS = true; +#CASE_SENSITIVE_MATCH = false; +#IP_VERSION = 0 + +# Sample alias settings +ALIAS : { + all-depends: query %dn-%dv, + annotations: info -A, + build-depends: info -qd, + cinfo: info -Cx, + comment: query -i "%c", + csearch: search -Cx, + desc: query -i "%e", + download: fetch, + iinfo: info -ix, + isearch: search -ix, + prime-list: "query -e '%a = 0' '%n'", + prime-origins: "query -e '%a = 0' '%o'", + leaf: "query -e '%#r == 0' '%n-%v'", + list: info -ql, + noauto = "query -e '%a == 0' '%n-%v'", + options: query -i "%n - %Ok: %Ov", + origin: info -qo, + provided-depends: info -qb, + raw: info -R, + required-depends: info -qr, + roptions: rquery -i "%n - %Ok: %Ov", + shared-depends: info -qB, + show: info -f -k, + size: info -sq, + } + +# 2018-10-24 +FETCH_TIMEOUT = 60; +FETCH_RETRY = 8;