Search Criteria
Package Details: devtools-doas 1:1.3.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/devtools-doas.git (read-only, click to copy) |
---|---|
Package Base: | devtools-doas |
Description: | Tools for Arch Linux package maintainers (patched for opendoas) |
Upstream URL: | https://gitlab.archlinux.org/archlinux/devtools |
Licenses: | GPL-3.0-or-later |
Conflicts: | devtools |
Provides: | devtools |
Replaces: | devtools-git-poc |
Submitter: | vladaviedov |
Maintainer: | vladaviedov |
Last Packager: | vladaviedov |
Votes: | 2 |
Popularity: | 1.03 |
First Submitted: | 2024-08-24 16:50 (UTC) |
Last Updated: | 2025-02-26 20:56 (UTC) |
Dependencies (30)
- arch-install-scripts
- awk (gawk-gitAUR, gawk)
- bash (bash-devel-gitAUR, bash-gitAUR)
- binutils
- breezy
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, uutils-coreutils-symlinksAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- diffutils
- expac (expac-gitAUR)
- fakeroot (fakeroot-gitAUR, fakeroot-tcpAUR)
- findutils (findutils-gitAUR, findutils-selinuxAUR)
- git (git-gitAUR, git-glAUR)
- glow (glow-gitAUR)
- grep (grep-gitAUR, grep-compatAUR)
- gum (gum-gitAUR)
- jq (jq-gitAUR, jq-staticAUR, jaq-binAUR)
- mercurial (mercurial-hgAUR, mercurial-stable-hgAUR)
- opendoas (opendoas-gitAUR, doasAUR, opendoas-retryAUR)
- openssh (openssh-gitAUR, openssh-dnatAUR, openssh-hpn-shimAUR, openssh-selinuxAUR, openssh-gssapiAUR)
- parallel (parallel-gitAUR)
- Show 10 more dependencies...
Required by (32)
- ahriman-core (requires devtools)
- arch-chroot-build (requires devtools)
- arch-shell (requires devtools)
- archuseriso (requires devtools) (optional)
- aurbot-git (requires devtools) (optional)
- aurbs (requires devtools)
- aurto (requires devtools)
- aurutils (requires devtools) (optional)
- aurutils-git (requires devtools) (optional)
- autogit (requires devtools) (optional)
- buildaur (requires devtools)
- buildaur-git (requires devtools)
- chipeight-git (requires devtools) (make)
- clean-chroot-manager (requires devtools)
- decman (requires devtools)
- devtest (requires devtools)
- devtools-loong64 (requires devtools)
- devtools-riscv64 (requires devtools)
- krack (requires devtools)
- lilac-git (requires devtools)
- Show 12 more...
Latest Comments
vladaviedov commented on 2025-08-11 19:52 (UTC)
@oech3 I cannot understand why this package offends you so much. Yes, I am aware that there are a billion different hacks which will let me bypass the problem. The trend in other Archlinux utils have been to remove the hard dependency on
sudo
by usingPACMAN_AUTH
.devtools
just happens to be the only one where this has not been implemented yet.oech3 commented on 2025-08-07 05:47 (UTC)
https://aur.archlinux.org/packages/run0-sudo-shim-git
oech3 commented on 2025-07-19 08:28 (UTC)
Is this only patch shell scripts? If so, is this able to be pacman hook and avoid full build?
vladaviedov commented on 2025-07-13 01:52 (UTC) (edited on 2025-07-13 01:53 (UTC) by vladaviedov)
@oech3 It doesn't matter to me if it's written in C or Rust, I prefer to not use
sudo
, in general.I was talking about packages like
opendoas-sudo
, which provide a symlink and, more importantly, satisfied the dependency forsudo
without having the program actually installed on the system. There were a few more which did the same and were removed by AUR maintainers.There has been some scattered effort to make
devtools
more agnostic to the different SUID tools. This is something already the case formakepkg
, which uses thePACMAN_AUTH
variable to choose a SUID program. The patch is something I wrote to contribute to this merge request, but decided to publish as a AUR package meanwhile: https://gitlab.archlinux.org/archlinux/devtools/-/merge_requests/260oech3 commented on 2025-07-08 04:30 (UTC)
I'm not sure that do you like
sudo-rs
. But symlinkingsudo-rs
to$PATH/sudo
should work which just ignores--preserve-env
.AUR is not hostile for package with proper upstream URL (e.g.
doas-sudo-shim
which does not support the flag yet).It seems there was a requests to support
run0
atdevtools
, but rejected.vladaviedov commented on 2025-07-08 04:06 (UTC)
@oech3 If I recall correctly,
devtools
does actually need to pass some environment variables through thesudo
calls. Even if that wasn't the case, a wrapper is not an elegant solution, especially with how hostile AUR is to those kind of packages.oech3 commented on 2025-07-04 16:12 (UTC) (edited on 2025-07-04 16:12 (UTC) by oech3)
I consider most use case of this could be covered by putting
$PATH/sudo
wrapper removes--preserve-env*
.