/[gentoo-x86]/net-misc/mdidentd/mdidentd-1.04c.ebuild
Gentoo

Contents of /net-misc/mdidentd/mdidentd-1.04c.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jan 8 06:35:51 2014 UTC (5 years, 11 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Inherit the user eclass for enewuser/etc...

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mdidentd/mdidentd-1.04c.ebuild,v 1.2 2009/08/08 18:55:25 vostorga Exp $
4
5 inherit eutils user
6
7 DESCRIPTION="This is an identd with provides registering of idents"
8 HOMEPAGE="http://druglord.freelsd.org/ezbounce/"
9 SRC_URI="http://druglord.freelsd.org/ezbounce/files/ezbounce-${PV}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~x86"
14 IUSE="ssl"
15
16 DEPEND="ssl? ( dev-libs/openssl )"
17 RDEPEND="${DEPEND}"
18
19 S=${WORKDIR}/ezbounce-${PV}
20
21 pkg_setup() {
22 enewgroup mdidentd
23 enewuser mdidentd -1 -1 /dev/null mdidentd
24 }
25
26 src_unpack() {
27 unpack ${A}
28 cd "${S}"
29 epatch "${FILESDIR}"/1.04a-security.patch
30 epatch "${FILESDIR}"/1.04a-pidfile.patch
31 epatch "${FILESDIR}"/1.04a-glibc210.patch
32 }
33
34 src_compile() {
35 econf $(use_with ssl) || die
36 emake CXX="$(tc-getCXX)" -C mdidentd CXX_OPTIMIZATIONS="${CXXFLAGS}" || die
37 }
38
39 src_install() {
40 dosbin mdidentd/mdidentd || die
41 dodoc mdidentd/README
42
43 newinitd "${FILESDIR}"/mdidentd.init.d mdidentd
44 newconfd "${FILESDIR}"/mdidentd.conf.d mdidentd
45 }

  ViewVC Help
Powered by ViewVC 1.1.20