| 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/dhcp-4.2.4_p2-r1.ebuild,v 1.2 2012/10/12 19:13:06 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-4.2.4_p2-r1.ebuild,v 1.3 2012/11/11 20:42:24 vapier Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | inherit eutils toolchain-funcs |
7 | inherit eutils toolchain-funcs |
| 8 | |
8 | |
| … | |
… | |
| 56 | epatch "${FILESDIR}"/${PN}-4.2.2-nogateway.patch #265531 |
56 | epatch "${FILESDIR}"/${PN}-4.2.2-nogateway.patch #265531 |
| 57 | epatch "${FILESDIR}"/${PN}-4.2.1-dhclient-parse_option_param-Bad-format-a.patch #432998 |
57 | epatch "${FILESDIR}"/${PN}-4.2.1-dhclient-parse_option_param-Bad-format-a.patch #432998 |
| 58 | epatch "${FILESDIR}"/${PN}-4.2.4-quieter-ping.patch #296921 |
58 | epatch "${FILESDIR}"/${PN}-4.2.4-quieter-ping.patch #296921 |
| 59 | epatch "${FILESDIR}"/${PN}-4.2.4-always-accept-4.patch #437108 |
59 | epatch "${FILESDIR}"/${PN}-4.2.4-always-accept-4.patch #437108 |
| 60 | |
60 | |
| 61 | # NetworkManager support patches |
|
|
| 62 | # If they fail to apply to future versions they will be dropped |
|
|
| 63 | # Add dbus support to dhclient |
|
|
| 64 | epatch "${FILESDIR}"/${PN}-3.0.3-dhclient-dbus.patch |
|
|
| 65 | |
|
|
| 66 | # Brand the version with Gentoo |
61 | # Brand the version with Gentoo |
| 67 | sed -i \ |
62 | sed -i \ |
| 68 | -e "/VERSION=/s:'$: Gentoo-${PR}':" \ |
63 | -e "/VERSION=/s:'$: Gentoo-${PR}':" \ |
| 69 | configure || die |
64 | configure || die |
| 70 | |
65 | |