Download:
child 282:ab52a7fc0076
parent 280:e009ba62b974
281:b55eb1808750
Anton Shestakov <av6@dwimlabs.net>, Tue, 16 Jul 2024 09:13:27 +0400
fj: remove due to bitrot

4 файлов изменено, 0 вставок(+), 84 удалений(-) [+]
.bashrc file | annotate | diff | comparison | revisions
fj/template.net file | annotate | diff | comparison | revisions
fj/template.profile file | annotate | diff | comparison | revisions
fj/template.sh file | annotate | diff | comparison | revisions
--- a/.bashrc Sat Jul 13 01:40:48 2024 +0400
+++ b/.bashrc Tue Jul 16 09:13:27 2024 +0400
@@ -72,15 +72,6 @@
# qrencode "$@" -o - | feh -
# }
-fj() {
- for ext in net profile sh; do
- sed -e 's/template.\(net\|profile\|sh\)/'"$1"'.\1/g' \
- -e 's/wine-template/wine-'"$1"'/g' \
- ~/.dotfiles/fj/template.$ext > "$1".$ext
- done
- chmod +x "$1".sh
-}
-
# Makes C-S visible to bash, so C-R and C-S search through history back and
# forward
stty -ixon
--- a/fj/template.net Sat Jul 13 01:40:48 2024 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-*filter
-:INPUT DROP [0:0]
-:FORWARD DROP [0:0]
-:OUTPUT DROP [0:0]
-
-#allow all loopback traffic
--A INPUT -i lo -j ACCEPT
-
-# no incoming connections
--A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-
-# allow ping etc.
--A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT
--A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
--A INPUT -p icmp --icmp-type echo-request -j ACCEPT
-
-# allow incoming ping
--A INPUT -p icmp --icmp-type echo-request -j ACCEPT
--A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
-
-# allow outgoing DNS
--A OUTPUT -p udp --dport 53 -j ACCEPT
--A INPUT -p udp --sport 53 -j ACCEPT
-
-COMMIT
--- a/fj/template.profile Sat Jul 13 01:40:48 2024 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-include globals.local
-
-#noblacklist ${HOME}/.wine-template
-# with >=llvm-4 mesa drivers need llvm stuff
-noblacklist /usr/lib/llvm*
-
-include /etc/firejail/disable-common.inc
-include /etc/firejail/disable-devel.inc
-include /etc/firejail/disable-interpreters.inc
-include /etc/firejail/disable-passwdmgr.inc
-include /etc/firejail/disable-programs.inc
-include /etc/firejail/disable-xdg.inc
-
-#mkdir ${HOME}/.wine-template
-#whitelist ${HOME}/.wine-template
-#include whitelist-common.inc
-
-#apparmor
-caps.drop all
-#ipc-namespace
-machine-id
-net none
-netfilter template.net
-#no3d
-#nodbus
-nodvd
-#nogroups
-nonewprivs
-noroot
-#nosound
-notv
-nou2f
-#novideo
-protocol unix,netlink
-seccomp @module,@swap
-shell none
-tracelog
-#x11 xorg
-
-disable-mnt
-private-dev
-private-tmp
--- a/fj/template.sh Sat Jul 13 01:40:48 2024 +0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-LC_ALL=en_US.UTF-8
-export LC_ALL
-WINEPREFIX=~/.wine-template/
-export WINEPREFIX
-
-firejail --profile=template.profile -- winecfg-development