AUR package asks my Github username and password during building

Hello, when i “pamac build librevault” it asks my Github username and password:

Username for ‘https://github.com’:

i was worried and cancelled it, should this be reported, where?
Or it is near zero risky to enter my credentials?

https://aur.archlinux.org/packages/librevault/

same happen for librevault-git

These AUR packages haven’t been updated since 2016.
You should not enter any credentials to install an AUR package.

This is probably broken because it is not maintained since 2016.

//EDIT: yes these AUR packages are dead, there are reference to source repos that do not exist anymore.

Well, I could view the source repo from librevault. Maybe it’s just hidden for people not logged into github?

source=(
	'librevault::git+https://github.com/Librevault/librevault.git'
	'common::git+https://github.com/Librevault/librevault-common.git'
	'dir_monitor::git+https://github.com/Librevault/dir_monitor.git'
	'spdlog::git+https://github.com/Librevault/spdlog.git'
	'docopt::git+https://github.com/Librevault/docopt.cpp.git'
	'rabin::git+https://github.com/Librevault/rabin.git'
	'libnatpmp::git+https://github.com/Librevault/libnatpmp.git'
	'websocketpp::git+https://github.com/Librevault/websocketpp'
	'dht::git+https://github.com/Librevault/dht.git'
	'miniupnp::git+https://github.com/Librevault/miniupnp.git'
)

You can access all these?

I didn’t check the submodules.

This one I can’t see, but the others I can.

Found this issue about it:

I guess this could be reported in the comments but I don’t know how one could modify the PKGBUILD to use these other branches.

1 Like

See VCS package guidelines - ArchWiki

source=('git+https://github.com/librevault/librevault.git#branch=develop'
        'git+https://github.com/librevault/dht.git'
        'git+https://github.com/librevault/libnatpmp.git'
        'git+https://github.com/librevault/rabin.git')
prepare() {
	cd "$srcdir/${pkgname%-git}"
	git submodule init
	git config submodule contrib/dht.url "$srcdir/dht"
	git config submodule.contrib/libnatpmp.url "$srcdir/libnatpmp"
	git config submodule.contrib/rabin.url "$srcdir/rabin"
	git submodule update
}
1 Like