/[gentoo-x86]/net-misc/dhcp/dhcp-4.2.4_p2-r1.ebuild
Gentoo

Diff of /net-misc/dhcp/dhcp-4.2.4_p2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/Attic/dhcp-4.2.4_p2-r1.ebuild,v 1.3 2012/11/11 20:42:24 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/Attic/dhcp-4.2.4_p2-r1.ebuild,v 1.4 2012/11/11 21:42:02 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit eutils toolchain-funcs 7inherit eutils toolchain-funcs
8 8
197 newconfd "${FILESDIR}"/dhcpd.conf2 dhcpd 197 newconfd "${FILESDIR}"/dhcpd.conf2 dhcpd
198 newinitd "${FILESDIR}"/dhcrelay.init3 dhcrelay 198 newinitd "${FILESDIR}"/dhcrelay.init3 dhcrelay
199 newconfd "${FILESDIR}"/dhcrelay.conf dhcrelay 199 newconfd "${FILESDIR}"/dhcrelay.conf dhcrelay
200 newinitd "${FILESDIR}"/dhcrelay.init3 dhcrelay6 200 newinitd "${FILESDIR}"/dhcrelay.init3 dhcrelay6
201 newconfd "${FILESDIR}"/dhcrelay6.conf dhcrelay6 201 newconfd "${FILESDIR}"/dhcrelay6.conf dhcrelay6
202
203 sed -i "s:#@slapd@:$(usex ldap slapd ''):" "${ED}"/etc/init.d/* || die #442560
202 fi 204 fi
203 205
204 # the default config files aren't terribly useful #384087 206 # the default config files aren't terribly useful #384087
205 sed -i '/^[^#]/s:^:#:' "${D}"/etc/dhcp/*.conf || die 207 sed -i '/^[^#]/s:^:#:' "${D}"/etc/dhcp/*.conf || die
206} 208}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20