You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/fakeidentd/fakeidentd-2.5.ebuild

38 lines
959 B

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/fakeidentd-2.5.ebuild,v 1.7 2008/09/27 16:01:01 armin76 Exp $
inherit toolchain-funcs eutils
DESCRIPTION="A static, secure identd. One source file only!"
HOMEPAGE="http://www.guru-group.fi/~too/sw/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 sh sparc x86"
IUSE=""
DEPEND=""
S=${WORKDIR}
src_unpack() {
unpack ${A}
sed -i "s:identd.pid:${PN}.pid:" identd.c
epatch "${FILESDIR}"/${PN}-2.2-ident-unix.patch
}
src_compile() {
$(tc-getCC) ${LDFLAGS} identd.c -o ${PN} ${CFLAGS} || die
}
src_install() {
dosbin ${PN} || die
# Changelog in source is more current. Its only ~13kB anyway.
dodoc identd.readme identd.c
newinitd "${FILESDIR}"/fakeidentd.rc fakeidentd
newconfd "${FILESDIR}"/fakeidentd.confd fakeidentd
}