/[gentoo-x86]/net-misc/oidentd/oidentd-2.0.8-r5.ebuild
Gentoo

Contents of /net-misc/oidentd/oidentd-2.0.8-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Aug 1 11:34:06 2014 UTC (5 years, 4 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
ia64/sparc stable wrt #509520

(Portage version: 2.2.8-r1/cvs/Linux ia64, signed Manifest commit with key 0xF6AD3240)

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/oidentd/oidentd-2.0.8-r5.ebuild,v 1.7 2014/07/20 11:52:31 klausman Exp $
4
5 EAPI=5
6
7 inherit eutils systemd
8
9 DESCRIPTION="Another (RFC1413 compliant) ident daemon"
10 HOMEPAGE="http://ojnk.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/ojnk/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~s390 ~sh sparc x86 ~x86-fbsd"
16 IUSE="debug ipv6 masquerade"
17
18 src_prepare() {
19 epatch "${FILESDIR}/${P}-masquerading.patch" \
20 "${FILESDIR}/${P}-bind-to-ipv6-too.patch"
21 }
22
23 src_configure() {
24 econf \
25 $(use_enable debug) \
26 $(use_enable ipv6) \
27 $(use_enable masquerade masq) \
28 $(use_enable masquerade nat)
29 }
30
31 src_install() {
32 default
33
34 dodoc AUTHORS ChangeLog README TODO NEWS \
35 "${FILESDIR}"/${PN}_masq.conf "${FILESDIR}"/${PN}.conf
36
37 newinitd "${FILESDIR}"/${PN}-2.0.7-init ${PN}
38 newconfd "${FILESDIR}"/${PN}-2.0.7-confd ${PN}
39
40 systemd_newunit "${FILESDIR}"/${PN}_at.service ${PN}@.service
41 systemd_dounit "${FILESDIR}"/${PN}.socket
42 systemd_dounit "${FILESDIR}"/${PN}.service
43 }
44
45 pkg_postinst() {
46 echo
47 elog "Example configuration files are in /usr/share/doc/${PF}"
48 echo
49 }

  ViewVC Help
Powered by ViewVC 1.1.20