Install this version:
emerge -a =net-fs/netdev-automount-1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-fs/netdev-automount-1.1
Or alternatively:
emerge --autounmask-write -a =net-fs/netdev-automount-1.1
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Automatically (un)mount network filesystems"
HOMEPAGE="https://github.com/xarblu/netdev-automount"
SRC_URI="https://github.com/xarblu/netdev-automount/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+networkmanager"
DEPEND="
>=dev-lang/python-3.11
networkmanager? ( net-misc/networkmanager )
"
RDEPEND="${DEPEND}"
src_install() {
dobin ${PN}
if use networkmanager; then
dosym "${EPREFIX}/usr/bin/${PN}" "/usr/lib/NetworkManager/dispatcher.d/30-${PN}"
dosym "${EPREFIX}/usr/bin/${PN}" "/usr/lib/NetworkManager/dispatcher.d/pre-down.d/30-${PN}"
fi
}
Manage flags for this package:
euse -i <flag> -p net-fs/netdev-automount |
euse -E <flag> -p net-fs/netdev-automount |
euse -D <flag> -p net-fs/netdev-automount
>=dev-lang/python-3.11 networkmanager? ( net-misc/networkmanager )
>=dev-lang/python-3.11 networkmanager? ( net-misc/networkmanager )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | netdev-automount-1.1.tar.gz | 3271 bytes | https://github.com/xarblu/netdev-automount/archive/v1.1.tar.gz |