Instalacja luarocks
Dostępne wersje luarocks: 5.1, 5.2, 5.3 i 5.4
zsh 47 % doas pkg_add luarocks-lua54 quirks-7.50 signed on 2024-10-27T20:27:30Z luarocks-lua54-3.11.1:lua-5.4.7: ok luarocks-lua54-3.11.1: ok --- +luarocks-lua54-3.11.1 ------------------- If you want to use this package as your default luarocks, as root create symbolic links like so (overwriting any previous default): ln -sf /usr/local/bin/luarocks-5.4 /usr/local/bin/luarocks ln -sf /usr/local/bin/luarocks-admin-5.4 /usr/local/bin/luarocks-admin
Konfiguracja DOAS
Konfiguracja /etc/doas.conf
permit keepenv nopass nazwa_użytkownika
Plik przykładowy można znaleźć w /etc/examples/doas.conf
# $OpenBSD: doas.conf,v 1.1 2016/09/03 11:58:32 pirofti Exp $ # Configuration sample file for doas(1). # See doas.conf(5) for syntax and examples. # Non-exhaustive list of variables needed to build release(8) and ports(7) #permit nopass setenv { \ # FTPMODE PKG_CACHE PKG_PATH SM_PATH SSH_AUTH_SOCK \ # DESTDIR DISTDIR FETCH_CMD FLAVOR GROUP MAKE MAKECONF \ # MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \ # PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \ # SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wsrc # Allow wheel by default permit keepenv :wheel
Date: 2024-11-05-07:24:05 |