summaryrefslogtreecommitdiff
blob: 4da49ebee470864a06f46ea1c4c68d214f8799b4 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils

DESCRIPTION="Courierpassd is a utility for changing a user's password from across a network"
HOMEPAGE="http://www.arda.homeunix.net/"
SRC_URI="http://www.arda.homeunix.net/?ddownload=12270 -> ${P}.tar.gz"
RESTRICT="mirror"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="xinetd"

DEPEND="net-libs/courier-authlib
	xinetd? ( sys-apps/xinetd )
"
RDEPEND="${DEPEND}"

S="${WORKDIR}/courierpasswd-${PV}"

src_install() {
	default

	if use xinetd; then
		insinto /etc/xinetd.d
		doins "${FILESDIR}/courierpassd"
	fi
}