blob: 5340f816f46e399475065d814c06e175e57986c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/midentd/midentd-2.3.1-r1.ebuild,v 1.2 2004/05/14 03:06:58 vapier Exp $
inherit eutils
DESCRIPTION="ident daemon with masquerading and fake replies support"
HOMEPAGE="http://panorama.sth.ac.at/midentd/"
SRC_URI="http://panorama.sth.ac.at/midentd/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RDEPEND="dev-lang/perl"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-pidfile.patch
sed -i \
-e 's:/usr/local:/usr:' \
-e 's:service ident:service auth:' \
midentd.xinetd
}
src_install() {
dosbin midentd midentd.logcycle || die
insinto /etc/xinetd.d
doins midentd.xinetd
exeinto /etc/init.d
newexe ${FILESDIR}/midentd.rc midentd
insinto /etc/conf.d
newins ${FILESDIR}/midentd.conf.d midentd
dodoc CHANGELOG README
dodir /var/log
touch ${D}/var/log/midentd.log
fowners nobody:nobody /var/log/midentd.log
}
|