Install this version:
emerge -a =net-im/zephyr-3.1.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-im/zephyr-3.1.2
Or alternatively:
emerge --autounmask-write -a =net-im/zephyr-3.1.2
# Copyright 1999-2022 Gentoo Authors
# Copyright 2022 William Throwe
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="The Project Athena instant messaging system"
HOMEPAGE="https://github.com/zephyr-im"
SRC_URI="https://github.com/zephyr-im/zephyr/archive/release/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="HPND"
KEYWORDS="~amd64 ~x86"
IUSE="ares X"
RDEPEND="ares? ( net-dns/c-ares )
app-crypt/mit-krb5
X? ( x11-libs/libX11 )
sys-libs/ncurses"
DEPEND="${RDEPEND}
sys-devel/bison"
S="${WORKDIR}/${PN}-release-${PV}"
# tests require a running zhm daemon
RESTRICT="test"
src_prepare() {
sed -i /AC_CHECK_LIB/s/curses/tinfo/g configure.ac || die
eapply_user
eautoreconf
}
src_configure() {
econf \
--without-krb4 \
--with-krb5 \
--without-regex \
$(use_with ares cares) \
--without-hesiod \
$(use_with X x)
}
src_compile() {
emake DEBUG= || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
dodoc OPERATING USING || die
newinitd "${FILESDIR}"/zhm.rc zhm
newconfd "${FILESDIR}"/zhm.confd zhm
keepdir /etc/zephyr/acl
}
pkg_postinst() {
elog "zephyr clients will not work without the zhm daemon running."
elog "You likely want to add zhm to the default runlevel."
}
Manage flags for this package:
euse -i <flag> -p net-im/zephyr |
euse -E <flag> -p net-im/zephyr |
euse -D <flag> -p net-im/zephyr
ares? ( net-dns/c-ares ) app-crypt/mit-krb5 X? ( x11-libs/libX11 ) sys-libs/ncurses sys-devel/bison
ares? ( net-dns/c-ares ) app-crypt/mit-krb5 X? ( x11-libs/libX11 ) sys-libs/ncurses
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | zephyr-3.1.2.tar.gz | 740293 bytes | https://github.com/zephyr-im/zephyr/archive/release/3.1.2.tar.gz |