aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2020-02-23 10:46:14 -0500
committerRyan Kavanagh <rak@debian.org>2020-02-23 10:46:14 -0500
commit1b4ee6e037215d5b915caca26290b3316d30ac0a (patch)
tree74cae5ddb48e33ae0e7f5a3b5843c44460a476d1
parentwe no longer use screen (diff)
Clean up substitutions
-rwxr-xr-xMakefile18
-rw-r--r--SUBSTS27
2 files changed, 11 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index f4eb52e..3c30e74 100755
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,6 @@ LOCAL_FILES = \
.msmtprc \
.mutt/accounts.rc \
.mutt/gpg.rc \
- .mutt/score.rc \
.mutt/ssl.rc \
.muttrc \
.nailrc \
@@ -92,11 +91,10 @@ CURRENT_BRANCH = $(shell git branch --no-color | colrm 1 2)
SHA256 = $(call get-val,SHA256)
GPG_DISABLED = $(call get-val,GPG_DISABLED)
-GPG_BINARY = $(call get-val,GPG_BINARY)
EMACS_DISABLED= $(call get-val,EMACS_DISABLED)
BUILD_FONTS = $(call get-val,BUILD_FONTS)
-MAIL_PASS = GMAIL_PASS QUEENSU_PASS RYANAKCA_PASS LOCAL_PASS CMU_PASS CMUSCS_PASS
+MAIL_PASS = GMAIL_PASS QUEENSU_PASS RYANAKCA_PASS LOCAL_PASS CMU_PASS
VARS_.config/beets/config.yaml = MBUSER MBPASS
VARS_.config/nitrogen/nitrogen.cfg = HOMEDIR
@@ -105,20 +103,16 @@ VARS_.gitconfig = MSMTP_PATH
VARS_.imapfilter/config.lua = LOCAL_PASS IMAPFILTER_GMAIL_SERVER GMAIL_PASS IMAP_FOLDER_SEP IMAPFILTER_LOCAL
VARS_.msmtprc = $(MAIL_PASS) LOCALHOST SSL_CERTS
VARS_.mutt/accounts.rc = $(MAIL_PASS) MSMTP_PATH
-VARS_.mutt/gpg.rc = GPG_BINARY PGPEWRAP_BINARY
-VARS_.mutt/score.rc = MUTT_10_SCORE MUTT_20_SCORE
+VARS_.mutt/gpg.rc = PGPEWRAP_BINARY
VARS_.mutt/ssl.rc = SSL_CERTS
VARS_.muttrc = MSMTP_PATH
VARS_.nailrc = $(MAIL_PASS) HOMEDIR GMAIL_mailx_PASS
VARS_.netrc = LOCAL_PASS GMAIL_PASS
VARS_.offlineimaprc = $(MAIL_PASS) SSL_CERTS
-VARS_.screenrc = ZSH_PATH SCREEN_HOST_COLOUR
-VARS_.xinitrc = SCREENLAYOUT GSD_PATH PULSE
+VARS_.xinitrc = SCREENLAYOUT PULSE
VARS_.xmonad/xmonad.hs = XMONAD_DZEN_W XMONAD_DZEN_X XMONAD_DZEN_Y
VARS_.zsh/func/prompt_wunjo_setup = ZSH_HOST_COLOUR
VARS_.zshrc = LOCALE SUBSTS_RM SUBSTS_LS MSMTP_PATH KEYCHAIN
-VARS_bin/gpg-wrapper = GPG_BINARY
-VARS_bin/run-mailcheck = ZSH_PATH GREP_PATH
all: clean build
@@ -147,7 +141,7 @@ $(GPG_FILES):
for f in $@ ; do \
touch $$f; \
chmod 600 $$f; \
- [ "$(GPG_DISABLED)" = "True" ] || $(GPG_BINARY) --decrypt gpg/$$f.gpg > $$f; \
+ [ "$(GPG_DISABLED)" = "True" ] || gpg --decrypt gpg/$$f.gpg > $$f; \
done
emacsen:
@@ -194,7 +188,7 @@ sha256sums: .git/refs/heads/$(CURRENT_BRANCH)
sha256sums.asc: sha256sums
rm -f $@
- $(GPG_BINARY) --armor --detach-sign $<
+ gpg --armor --detach-sign $<
merge: SUBSTS $(SUBSTS_FILE)
# sdiff has exit status 1 if files are different. Ignore
@@ -243,7 +237,7 @@ verify:
} END { \
print match_count, "matches, ", mismatch_count, "mismatches." \
}' sha256sums
- $(GPG_BINARY) --verify sha256sums.asc
+ gpg --verify sha256sums.asc
udh: udh-master
diff --git a/SUBSTS b/SUBSTS
index 81adf18..106fc87 100644
--- a/SUBSTS
+++ b/SUBSTS
@@ -4,7 +4,7 @@ key value
# /usr/bin/sha256sum on Kubuntu/Debian
# /sbin/sha256 on FreeBSD
# /bin/sha256 on OpenBSD
-SHA256 /sbin/sha256
+SHA256 /usr/sbin/sha256
# Disable GPG decryption of sensitive files. Must be True to disable, enabled
# for all other values
GPG_DISABLED False
@@ -17,22 +17,18 @@ QUEENSU_PASS secret
LOCAL_PASS secret
RYANAKCA_PASS secret
CMU_PASS secret
-CMUSCS_PASS secret
# xmonad
XMONAD_DZEN_W 808
XMONAD_DZEN_X 114
XMONAD_DZEN_Y 0
# screen dimensions / arandr
-SCREENLAYOUT epsilon-SAIL
+SCREENLAYOUT zeta-home
# Locale
-LOCALE es_ES.UTF-8
+LOCALE en_CA.UTF-8
# path to msmtp
MSMTP_PATH /usr/bin/msmtp
-# path to zsh
-ZSH_PATH /bin/zsh
-
# colour of hostname in zsh prompt
ZSH_HOST_COLOUR Green
@@ -40,16 +36,6 @@ ZSH_HOST_COLOUR Green
# See https://www.gnu.org/software/screen/manual/html_node/String-Escapes.html
SCREEN_HOST_COLOUR G
-# Emails that get a score of 10/20. Escape |.
-MUTT_20_SCORE \\"(bob@foo.org\|alice@example.org)\\"
-MUTT_10_SCORE \\"(eve@foo.org)\\"
-
-# Grep path
-GREP_PATH /bin/grep
-
-# path to gnome-settings-daemon
-GSD_PATH /usr/local/libexec/gnome-settings-daemon
-
# Enable keychain? If so, set to secret key names, e.g., id_rsa id_ecdsa
# Otherwise, delete everything after N
KEYCHAIN id_rsa
@@ -57,16 +43,13 @@ KEYCHAIN id_rsa
# Path to SSL certs for mail, etc.
# /etc/ssl/cert.pem on OpenBSD
# /etc/ssl/certs/ca-certificates.crt on Debian
-SSL_CERTS /etc/ssl/cert.pem
+SSL_CERTS /etc/ssl/certs/ca-certificates.crt
-LOCALHOST epsilon.ryanak.ca
+LOCALHOST zeta.rak.ac
# REMOTE_GMAIL or LOCAL_GMAIL
IMAPFILTER_LOCAL False
-# gpg or gpg2
-GPG_BINARY gpg2
-
# pgpewrap
# /usr/local/bin/pgpewrap on OpenBSD
# /usr/lib/mutt/pgpewrap on Debian