dot

packages and services management
Log | Files | Refs | README

commit 5fec5f937601d529219217175467674627189d96
parent 7403b402719867353c1595c3e56b677ffde50ae6
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 20 Apr 2018 03:03:50 +0200

moving man pages away

Diffstat:
DREADME | 68--------------------------------------------------------------------
Dman/README.7 | 122-------------------------------------------------------------------------------
Dman/agenda.1 | 125-------------------------------------------------------------------------------
Dman/agenda.5 | 115-------------------------------------------------------------------------------
Dman/ascii.7 | 50--------------------------------------------------
Dman/pack.8 | 97-------------------------------------------------------------------------------
Mprofile | 12++++++------
Mssh/config | 3+++
Auri/datasource | 1+
9 files changed, 10 insertions(+), 583 deletions(-)

diff --git a/README b/README @@ -1,68 +0,0 @@ -ETC(7) Miscellaneous Information Manual ETC(7) - -NAME - etc – portable configuration featuring a tiny package manager - -SYNOPSIS - % cd "$HOME" - % git clone git://josuah.net/etc.git - % etc/configure - % . ~/.profile - -DESCRIPTION - Collection of scripts and configuration files to build a portable - environment that can run without root privileges variables: - -FILES - Paths on the user's home directory - ~/lib/ Directory where original data are stored. - - ~/var/ Sets the directory containing all generated data, including - runit, irc, mail, tox, torrent, qemu images... - - ~/etc/ Source of the configuration file, symlinked into ~/.config - - ~/.local/ - Alternate root directory where pack(1) installs local packages. - - ~/.cache/ - Directory containing generated data cached for increasing - performances. - - ~/.config/ - Local configuration directory, where software are configured to - search their configuration file. - - Paths within this project - pack/ pack(8) build resources. - - runit/ runit(8) services directory, symlinked into the $SVDIR/, where - runsvdir(8) is expected to run. - - bin/ Contains scripts collection to maintain the configuration and - more. - - man/ Contains manual pages for utilities developed inside of bin/. - - skel/ Contains files to be manually copied in-place and then edited. - - .* Files to be symlinked into the home directory, with exception of - .git. - -SEE ALSO - configure - Reproduce a tree of symlink from ~/etc/* into ~/.config, - excluding all files starting with a ‘.’ which are symlinked to ~. - - xdg-open(1) - A general-purpose piping utility which chooses the apropriate - program to open the file passed as argument. - -STANDARDS - This set of configurations and scripts try to comply with IEEE Std 1003.1 - (“POSIX.1”) and to keep the amount of external dependencies low. - -AUTHORS - Josuah Demangeon <mail@josuah.net> - -Void Linux February 9, 2018 Void Linux diff --git a/man/README.7 b/man/README.7 @@ -1,122 +0,0 @@ -.Dd $Mdocdate: February 09 2018$ -.Dt ETC 7 -.Os -. -. -.Sh NAME -. -.Nm etc -.Nd portable configuration featuring a tiny package manager -. -. -.Sh SYNOPSIS -. -.Bd -literal -% cd "$HOME" -% git clone git://josuah.net/etc.git -% etc/configure -% . ~/.profile -.Ed -. -. -.Sh DESCRIPTION -. -Collection of scripts and configuration files to build a portable environment that can run without root privileges -variables: -. -. -.Sh FILES -. -.Ss Paths on the user's home directory -. -.Bl -tag -width 6n -. -.It Pa ~/lib/ -Directory where original data are stored. -. -.It Pa ~/var/ -Sets the directory containing all -.Sy generated data , -including git, irc, mail, tox, torrent, qemu iso... -. -.It Pa ~/etc/ -Source of the configuration file, symlinked into -.Pa ~/.config -. -.It Pa ~/.local/ -Alternate root directory where -.Xr pack 1 -installs local packages. -. -.It Pa ~/.cache/ -Directory containing generated data cached for performances. -. -.It Pa ~/.config/ -Local configuration directory, where software are configured to search -their configuration file. -. -.El -. -. -.Ss Paths within this project -. -.Bl -tag -width 6n -. -.It Pa pack/ -.Xr pack 8 -build resources. -. -.It Pa run/ -.Xr runit 8 -services directory, symlinked into the -.Pa $SVDIR/ , -where -.Xr runsvdir 8 -is expected to run. -. -.It Pa bin/ -Contains scripts collection to maintain the configuration and more. -. -.It Pa man/ -Contains manual pages for utilities developed inside of -.Pa bin/ . -. -.It Pa .* -Files to be symlinked into the home directory, with exception of -.Pa .git . -. -.El -. -. -.Sh SEE ALSO -. -.Bl -tag -width 6n -. -.It Pa configure -Reproduce a tree of symlink from -.Pa ~/etc/* -into -.Pa ~/.config , -excluding all files starting with a -.Sq \&. -which are symlinked to -.Pa ~ . -. -.It Xr xdg-open 1 -A general-purpose piping utility which chooses the apropriate program to open -the string passed as argument. -. -.El -. -. -.Sh STANDARDS -. -This set of configurations and scripts try to comply with -.St -p1003.1 -and to keep the amount of external dependencies low. -. -. -.Sh AUTHORS -. -.An Josuah Demangeon -.Aq Mt mail@josuah.net diff --git a/man/agenda.1 b/man/agenda.1 @@ -1,125 +0,0 @@ -.Dd $Mdocdate: February 23 2018$ -.Dt AGENDA 1 -.Os -. -. -.Sh NAME -. -.Nm agenda -.Nd plain text agenda with ical support -. -. -.Sh SYNOPSIS -. -.Nm -.Nm Ar name Op Ar sort -.Nm Ar name Ar YYYY/MM/DD Ar HH:MM Oo Ar YYYY/MM/DD Oc Ar HH:MM -.Nm Ar name Ar Ic import ics_file Op +- Ns Ar HH -. -. -.Sh DESCRIPTION -. -.Nm -displays -.Xr agenda 5 -files created by -.Nm , -by hand, or imported from an -.Pa ics -file. -. -.Bl -tag -width indent -. -.It Nm -List the agendas available in -.Ev AGENDA . -. -.It Nm Ar name Op Ar sort -Display the agenda -.Ar name -to standard output with events sorted according to the -.Ar sort -characters -.Po -.Ql BECLS -by default -.Pc : -.Do B Dc Ns egin, -.Do E Dc Ns nd, -.Do S Dc Ns ummary, -.Do C Dc Ns ategory, -.Do L Dc Ns ocation -. -.It Nm Ar name Ar YYYY/MM/DD Ar HH:MM Oo Ar YYYY/MM/DD Oc Ar HH:MM -Create a new -.Xr agenda 5 -entry in the -agenda -.Ar name -with specified start and end date and open this file with an editor. -If the end date is ommited, the end date is set to the same day as the -begin day. -. -.It Nm Ar name Ic import Ar ics_file Op +- Ns Ar HH -Convert -.Ar ics_file -to the -.Xr agenda 5 -format and store it in the -.Ar name -agenda, replacing its content. -.Ar HH -is the timezone offset of the agenda imported, optionnaly preceded by a -.Ql - -or -.Ql + . -. -.El -. -. -.Sh ENVIRONMENT -. -.Bl -tag -width 6n -. -.It Ev AGENDA -Path to the agenda dir, defaults to -.Pa ~/.config/agenda . -. -.It Ev EDITOR -Started to edit the agenda file as with the -.Op Ic add -flag. -. -.It Ev TZ -Timezone to use for printing the dates. -. -.El -. -. -.Sh EXAMPLES -. -Import an ical agenda from an url: -.Dl % curl http://example.com | agenda import - fosdem +01 -. -.Pp -Print the travel agenda with times expressed in the Japan timezone: -.Dl % TZ=Japan agenda travel -. -.Pp -Print the fosdem agenda sorted by -.Dq location , -then by -.Dq begin date : -.Dl % agenda fosdem LB -. -. -.Sh SEE ALSO -. -.Xr calendar 1 , -.Xr date 1 , -.Xr agenda 5 -. -. -.Sh AUTHORS -. -.An Josuah Demangeon Aq Mt mail@josuah.net diff --git a/man/agenda.5 b/man/agenda.5 @@ -1,115 +0,0 @@ -.Dd $Mdocdate: December 24 2017$ -.Dt AGENDA 5 -.Os -. -. -.Sh NAME -. -.Nm agenda -.Nd simple format for storing agenda entries -. -. -.Sh DESCRIPTION -. -The -.Nm -format is made to be edited easily with a text editor. -It is composed by a leading key character, a column -. -.Pq Ql \&: , -and a value. -If a key is used multiple times, the values are joined with spaces: -. -.Bd -literal -offset 6n -K:value1 -K:value2 -.Ed -. -.Pp -is equivalent to -. -.Bd -literal -offset 6n -K:value1 value2 -.Ed -. -.Pp -The key character is one of: -.Bl -tag -width 6n -compact -. -.It Ql B -Beginning of the event as an UNIX timestamp, seconds since Jan 1, 1970 in UTC -timezone. -. -.It Ql E -End of the event with the same format as -.Ql B , -. -.It Ql S -Summary, a single line description, a title. -. -.It Ql C -Category, one or multiple keywords to group related events. -. -.It Ql L -Location at which the event takes place, such as an address. -. -.It Ql D -Description, a longer text with all the details if needed. -.El -. -.Pp -An event is composed of at least a -.Ql B -(first), -.Ql E -and -.Ql S -fields, with the others optionals. -Events are terminated by -.Ql \&: -alone on a line. -. -. -.Sh EXAMPLES -. -Complete formatted event: -. -.Bd -literal -offset 6n -B:1514465100 -E:1514466900 -S:Why Do We Anthropomorphize Computers?... - Marloes de Valk -C:Art & Culture -L:Saal Borg - Exhibiton Grounds Messeeallee 04356 Leipzig, Germany -D:Waiting for the technological rapture in the church of big data. -D:The paralysing effect of hiding the human hand in software -D:through anthropomorphising computers and dehumanising ourselves. -: -.Ed -. -.Pp -Multiple minimal events: -. -.Bd -literal -offset 6n -B:1514009000 -E:1514010000 -S:Breakfast -: -B:1514025700 -E:1514029300 -S:Lunch -: -B:1514053300 -E:1514057700 -S:Dinner -: -.Ed -. -. -.Sh STANDARDS -. -There is no standard for this format besides this man page. -. -. -.Sh AUTHORS -. -.An Josuah Demangeon Aq Mt mail@josuah.net diff --git a/man/ascii.7 b/man/ascii.7 @@ -1,50 +0,0 @@ -.Dd $Mdocdate: Oct 10 2017 $ -.Dt ASCII 7 -.Os -. -. -.Sh NAME -. -.Nm ascii -.Nd four-column representation of the ASCII set -. -. -.Sh DESCRIPTION -. -.Bd -literal -offset left -.Bf Em -Oct Dec Hex Oct Dec Hex Oct Dec Hex Oct Dec Hex -.Ef -000 000 00 nul 040 032 20 spc 100 064 40 @ 140 096 60 ` -001 001 01 soh 041 033 21 ! 101 065 41 A 141 097 61 a -002 002 02 stx 042 034 22 " 102 066 42 B 142 098 62 b -003 003 03 etx 043 034 23 # 103 067 43 C 143 099 63 c -004 004 04 eot 044 036 24 $ 104 068 44 D 144 100 64 d -005 005 05 enq 045 037 25 % 105 069 45 E 145 101 65 e -006 006 06 ack 046 038 20 & 106 070 46 F 146 102 66 f -007 007 07 bel 047 039 20 ' 107 071 47 G 147 103 67 g -010 008 08 bs 050 040 28 ( 110 072 48 H 150 104 68 h -011 009 09 ht 051 041 29 ) 111 073 49 I 151 105 69 i -012 010 0a lf 052 042 2a * 112 074 4a J 152 106 6a j -013 011 0b vt 053 043 2b + 113 075 4b K 153 107 6b k -014 012 0c ff 054 044 2c , 114 076 4c L 154 108 6c l -015 013 0d cr 055 045 2d - 115 073 4d M 155 109 6d m -016 014 0e so 056 046 2e . 116 073 4e N 156 110 6e n -017 015 0f si 057 047 2f / 117 073 4f O 157 111 6f o -020 016 10 dle 060 048 30 0 120 073 50 P 160 112 70 p -021 017 11 dc1 061 049 31 1 121 077 51 Q 161 113 71 q -022 018 12 dc2 062 050 32 2 122 078 52 R 162 114 72 r -023 019 13 dc3 063 051 33 3 123 079 53 S 163 115 73 s -024 020 14 dc4 044 052 34 4 124 080 54 T 164 116 74 t -025 021 15 nak 045 053 35 5 125 081 55 U 165 117 75 u -026 022 16 syn 056 054 36 6 126 082 56 V 166 118 76 v -027 023 17 etb 057 055 37 7 127 083 57 W 167 119 77 w -030 024 18 can 060 055 38 8 130 084 58 X 170 120 78 x -031 025 19 em 061 056 39 9 131 085 59 Y 171 121 79 y -032 026 1a sub 062 057 3a : 132 086 5a Z 172 122 7a z -033 027 1b esc 063 058 3b ; 133 087 5b [ 173 123 7b { -034 028 1c fs 064 059 3c < 134 088 5c \\ 174 124 7c | -035 029 1d gs 065 060 3d = 135 089 5d ] 175 125 7d } -036 030 1e rs 066 061 3e > 136 090 5e ^ 176 126 7e ~ -037 031 1f us 067 062 3f ? 137 091 5f _ 177 127 7f del -.Ed diff --git a/man/pack.8 b/man/pack.8 @@ -1,97 +0,0 @@ -.Dd $Mdocdate: February 25 2018$ -.Dt PACK 8 -.Os -. -. -.Sh NAME -. -.Nm pack -.Nd trivial and portable package manager -. -. -.Sh SYNOPSIS -.Nm Ic command Ar package -. -. -.Sh DESCRIPTION -. -.Nm -is a package manager which fetch software and libraries in a -.Sy source -directory, execute a build file that install it into its own -.Sy target -directory, then symlinks it to a -.Pa $PACKROOT -directory common to all packages. -. -.Pp -The following commands are available: -. -.Bl -tag -width 6n -. -.It Ic tar -Download and extract the tar archive of a package into -.Pa $PACKROOT/src/ Ns Pa package -. -.It Ic git -Clone the git repository of a package into -.Pa $PACKROOT/src/ Ns Pa package -. -.It Ic get -Get the sources of -.Ar package -from its tar archive or otherwise its git repository. -. -.It Ic build -Get the sources of -.Ar package -and build them into -.Pa $PACKROOT/opt/ Ns Ar package -. -.It Ic add -Install the files from -.Pa $PACKROOT/opt/ Ns Ar package -to -.Pa $PACKROOT -with symlinks. -. -.It Ic del -Uninstall -.Pa package -by removing -.Pa $PACKROOT/opt/ Ns Ar package -and removing dead links from -.Pa $PACKROOT . -. -.El -. -. -.Sh ENVIRONMENT -. -.Bl -tag -width 6n -. -.It Ev PACK -Directory with the resources used to build a package. -. -.It Ev PACKROOT -Final target directory where packages are built. -. -.El -. -. -.Sh FILES -. -.Bl -tag -width 6n -. -.It Pa ~/.local -Alternate system root in which software are downloaded, build, and installed -.Pq via symlinks . -. -.It Pa ~/.local/opt -Local installation path for package, symlinked into -.Pa ~/.local -. -.It Pa ~/.local/src -Source of packages which can be compiled and installed in ~/opt -. -.El diff --git a/profile b/profile @@ -18,16 +18,16 @@ export LC_MESSAGES="en_US.UTF-8" export LC_NUMERIC="en_US.UTF-8" export LC_TIME="en_US.UTF-8" -export PACK="$HOME/etc/pack" +export PACK="$HOME/pack" export PACKROOT="$HOME/.local" export LD_LIBRARY_PATH="$PACKROOT/lib" export PLAN9="$HOME/.local/src/plan9port" export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/sbin" -export PATH="$HOME/bin:$PATH:/usr/X11R6/bin:$PACKROOT/bin:$PATH:$PLAN9/bin" +export PATH="/usr/X11R6/bin:$HOME/bin:$PACKROOT/bin:$PATH:$PATH:$PLAN9/bin" -export MANPATH="$HOME/etc/man:/usr/share/man:/usr/local/share/man:$PLAN9/man" +export MANPATH="/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man:$PLAN9/man" export MANPATH="$PACKROOT/share/man:$MANPATH" export ABDUCO_CMD="dvtm-status" @@ -40,13 +40,13 @@ export CVSROOT="anoncvs@anoncvs.fr.openbsd.org:/cvs" export LESS="-R~X" export LESSHISTFILE="-" -export MBLAZE="$HOME/etc/mblaze" +export MBLAZE="$HOME/conf/mblaze" -export TWTCONF="$HOME/etc/twt" +export TWTCONF="$HOME/conf/twt" export TWTPATH="$HOME/var/twt" export TWTFEED="$HOME/git/josuah.net/twtxt.txt" -export AGENDA="$HOME/etc/agenda" +export AGENDA="$HOME/conf/agenda" export SSH_AUTH_SOCK="/tmp/ssh-agent" diff --git a/ssh/config b/ssh/config @@ -19,6 +19,9 @@ host nas.josuah.net host rpi.josuah.net IdentityFile /mnt/key/josuah.key +host bitreich.org + IdentityFile /mnt/key/josuah.key + host josuah.net IdentityFile /mnt/key/josuah.key diff --git a/uri/datasource b/uri/datasource @@ -0,0 +1 @@ +http://losslessma.net/rock/frank-zappa-discography-1966-2015/