net-misc/gensio - 3.0.4 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/gensio-3.0.4

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

autounmask =net-misc/gensio-3.0.4

Or alternatively:

emerge --autounmask-write -a =net-misc/gensio-3.0.4

Package Information

Description:
General Stream I/O
Homepage:
https://sourceforge.net/projects/ser2net
License:
GPL-2 LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
3.0.4 9 ~amd64 ~ppc ~x86 0/14
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

inherit autotools
DESCRIPTION="General Stream I/O"
HOMEPAGE="https://sourceforge.net/projects/ser2net"
SRC_URI="https://downloads.sourceforge.net/ser2net/${P}.tar.gz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0/14"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug ssl"

DEPEND="
	ssl? (
		dev-libs/openssl:=
		sys-libs/pam
	)
"
RDEPEND="${DEPEND}"

# Test suite requires a kernel module
RESTRICT="test"

PATCHES=(
	"${FILESDIR}/${PN}-2.8.5-install-dir.patch"
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	# gtlsshd is only built with PAM
	export ac_cv_lib_pam_pam_start=$(usex ssl)

	econf \
		--with-file-stdio \
		--without-link-ssl-with-main \
		--with-uucp-locking \
		--with-flock-locking \
		--without-broken-pselect \
		--with-pthreads \
		--without-glib \
		--without-cplusplus \
		--without-python \
		--without-go \
		--without-swig \
		--without-all-gensios \
		--without-moduleinstall \
		--with-net=yes \
		--with-dgram=yes \
		--with-sctp=no \
		--with-stdio=yes \
		--with-pty=yes \
		--with-serialdev=yes \
		--with-telnet=yes \
		--without-tcl \
		--without-openipmi \
		--without-ipmisol \
		--without-mdns \
		--without-dnssd \
		--without-alsa \
		--without-winsound \
		--without-portaudio \
		--without-udev \
		--without-libsoapy \
		--enable-doc \
		--disable-internal-trace \
		$(use_with ssl certauth) \
		$(use_with ssl openssl) \
		$(use_with ssl) \
		--without-tcp-wrappers \
		$(use_enable debug)
}

src_install() {
	default
	find "${ED}" -type f -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/gensio | euse -E <flag> -p net-misc/gensio | euse -D <flag> -p net-misc/gensio

Global/Standard Flags

ssl

Inherited Eclasses

Dependencies

DEPEND

	ssl? (
		dev-libs/openssl:=
		sys-libs/pam
	)

RDEPEND

	ssl? (
		dev-libs/openssl:=
		sys-libs/pam
	)

Manifest for 3.0.4

Type File Size Source URLs
DIST gensio-3.0.4.tar.gz 1655333 bytes https://downloads.sourceforge.net/ser2net/gensio-3.0.4.tar.gz