dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit 23bb7e54787041c5365d921ff419759dad988398
parent 04387da31035701d2dff5e7bb1eb570a0149f84d
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri, 25 May 2018 04:05:12 +0000

Remove distros/

Diffstat:
distros/debian/Makefile | 37-------------------------------------
distros/debian/etc/mpd.conf | 32--------------------------------
distros/debian/etc/sudoers.d/s | 22----------------------
distros/debian/pkgs.txt | 33---------------------------------
4 files changed, 0 insertions(+), 124 deletions(-)

diff --git a/distros/debian/Makefile b/distros/debian/Makefile @@ -1,37 +0,0 @@ -# Provision packages. - -PKGS_FILE:=./pkgs.txt - -all: pkgs upgrade etc -.PHONY: all - -pkgs: $(PKGS_FILE) update - @sudo apt-get install $(shell tr ' ' '\n' < $(PKGS_FILE)) -.PHONY: pkgs - -update: - @sudo apt-get update -.PHONY: update - -upgrade: - @sudo apt-get upgrade -.PHONY: upgrade - -# Provision /etc - -## sudoers -SUDO_S_SRC:=etc/sudoers.d/s -SUDO_S_DST:=/$(SUDO_S_SRC) -$(SUDO_S_DST): $(SUDO_S_SRC) - @su -c "cp $< $@" - -## etc -ETC_IGNORE:=-path etc/sudoers.d -prune -o -ETC_FILES_SRC:=$(shell find etc $(ETC_IGNORE) -type f -print) -ETC_FILES_DST:=$(patsubst %,/%,$(ETC_FILES_SRC)) - -$(ETC_FILES_DST): $(SUDO_S_DST) $(ETC_FILES_SRC) - @sudo cp $(patsubst /%,%,$@) $@ - -etc: $(ETC_FILES_DST) -.PHONY: etc diff --git a/distros/debian/etc/mpd.conf b/distros/debian/etc/mpd.conf @@ -1,32 +0,0 @@ -music_directory "/home/s/annex/music/" -playlist_directory "/var/lib/mpd/playlists" -db_file "/var/lib/mpd/tag_cache" -log_file "/var/log/mpd/mpd.log" -state_file "/var/lib/mpd/state" -sticker_file "/var/lib/mpd/sticker.sql" -user "mpd" -bind_to_address "localhost" -port "6600" -log_level "verbose" -save_absolute_paths_in_playlists "yes" -metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" -auto_update "yes" -input { - plugin "curl" -} -audio_output { - type "alsa" - name "My ALSA Device" - mixer_type "software" -} -audio_output { -type "httpd" -name "My HTTP Stream" -bind_to_address "0.0.0.0" -quality "10.0" -port "8426" -format "44100:16:1" -max_clients "0" -} -filesystem_charset "UTF-8" -id3v1_encoding "UTF-8" diff --git a/distros/debian/etc/sudoers.d/s b/distros/debian/etc/sudoers.d/s @@ -1,22 +0,0 @@ -# Host alias specification - -# User alias specification -User_Alias CRYPTERS = s -User_Alias SANDBOXERS = s -User_Alias SUPER_COWS = s - -# Cmnd alias specification -Cmnd_Alias CRYPT = /sbin/losetup, /sbin/cryptsetup, \ - /sbin/mkfs.ext4, /bin/mount, /bin/umount, \ - /usr/bin/tomb -Cmnd_Alias SANDBOX = /usr/sbin/debootstrap, /usr/bin/systemd-nspawn, \ - /bin/machinectl, /usr/bin/docker - -# User privilege specification -root ALL=(ALL:ALL) ALL - -# Allow super cows to execute any command -SUPER_COWS ALL=(ALL:ALL) ALL - -CRYPTERS ALL = NOPASSWD: CRYPT -SANDBOXERS ALL = NOPASSWD: SANDBOX diff --git a/distros/debian/pkgs.txt b/distros/debian/pkgs.txt @@ -1,33 +0,0 @@ -tor torsocks -zsh tmux -cvs git git-doc git-email -myrepos -xinit x11-xserver-utils libxrandr-dev -stumpwm -xfonts-terminus fonts-noto -feh sane -parcimonie pass pinentry-gtk2 -tomb wipe steghide -python-virtualenv python-pip -make make-doc gcc gcc-doc gcc-doc-base -golang-go -racket racket-doc -glibc-doc glibc-doc-reference -gdb valgrind exuberant-ctags -mdk mdk-doc -udisks2 etckeeper acpi-support -ntp ntp-doc mosh dnsutils nscd -nginx-full network-manager mailutils -postgresql-doc postgresql-client -alsa-utils pulseaudio -mpd mpc ncmpcpp mplayer -mupdf -htop -chromium w3m torbrowser-launcher -redshift -unzip zip -silversearcher-ag -sudo debootstrap -aptitude -systemd-container docker-compose -anarchism