sys-fs/diod - 9999 (mva)

Search

Install

Install this version:

emerge -a =sys-fs/diod-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-fs/diod-9999

Or alternatively:

emerge --autounmask-write -a =sys-fs/diod-9999

Package Information

Description:
Distributed I/O Daemon - a 9P file server
Homepage:
https://github.com/chaos/diod
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

LUA_COMPAT=( lua5-{1..4} luajit )

inherit autotools lua-single

DESCRIPTION="Distributed I/O Daemon - a 9P file server"
HOMEPAGE="https://github.com/chaos/diod"

if [[ "${PV}" == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/chaos/diod"
else
	SRC_URI="https://github.com/chaos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm ~x86"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="rdma tcmalloc"
REQUIRED_USE="${LUA_REQUIRED_USE}"

DEPEND="
	sys-apps/tcp-wrappers
	virtual/libc
	sys-libs/libcap
	sys-libs/ncurses:0
	tcmalloc? ( dev-util/google-perftools )
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	LUA="${LUA}"
	LUA_INCLUDE=$(lua_get_include_dir)
	LUA_LIB=$(lua_get_LIBS)
	local myeconfargs=(
		$(use_enable rdma rdmatrans)
		--with-ncurses
		$(use_with tcmalloc)
	)
	default
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-fs/diod | euse -E <flag> -p sys-fs/diod | euse -D <flag> -p sys-fs/diod

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	sys-apps/tcp-wrappers
	virtual/libc
	sys-libs/libcap
	sys-libs/ncurses:0
	tcmalloc? ( dev-util/google-perftools )

RDEPEND

	sys-apps/tcp-wrappers
	virtual/libc
	sys-libs/libcap
	sys-libs/ncurses:0
	tcmalloc? ( dev-util/google-perftools )

BDEPEND

virtual/pkgconfig