summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-11 22:08:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-09-11 22:08:20 +0000
commiteaf7a6c042f1faf1fb53224a862aa90c3faacc1f (patch)
tree865fb666a796542a825227b566ffb1d855c1dddb /sys-freebsd/freebsd-sbin
parentBump to 2.16.0 (diff)
downloadgentoo-2-eaf7a6c042f1faf1fb53224a862aa90c3faacc1f.tar.gz
gentoo-2-eaf7a6c042f1faf1fb53224a862aa90c3faacc1f.tar.bz2
gentoo-2-eaf7a6c042f1faf1fb53224a862aa90c3faacc1f.zip
Add patch to fix the Problem Report bin/102701 of FreeBSD (can't delete an inet6 alias).
(Portage version: 2.1.1)
Diffstat (limited to 'sys-freebsd/freebsd-sbin')
-rw-r--r--sys-freebsd/freebsd-sbin/ChangeLog7
-rw-r--r--sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch17
-rw-r--r--sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild5
3 files changed, 26 insertions, 3 deletions
diff --git a/sys-freebsd/freebsd-sbin/ChangeLog b/sys-freebsd/freebsd-sbin/ChangeLog
index 8b530645c01a..e7dfc6b84c90 100644
--- a/sys-freebsd/freebsd-sbin/ChangeLog
+++ b/sys-freebsd/freebsd-sbin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-freebsd/freebsd-sbin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.14 2006/09/09 16:30:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.15 2006/09/11 22:08:20 flameeyes Exp $
+
+ 11 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/freebsd-sbin-6.1-pr102701.patch, freebsd-sbin-6.1.ebuild:
+ Add patch to fix the Problem Report bin/102701 of FreeBSD (can't delete an
+ inet6 alias).
09 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
freebsd-sbin-6.1.ebuild:
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch
new file mode 100644
index 000000000000..7b9578c40c87
--- /dev/null
+++ b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch
@@ -0,0 +1,17 @@
+Solves the issue reported in Problem Report bin/102701.
+
+Can't delete an inet6 alias address from an interface.
+
+Index: fbsd-6.1/sbin/ifconfig/af_inet6.c
+===================================================================
+--- fbsd-6.1.orig/sbin/ifconfig/af_inet6.c
++++ fbsd-6.1/sbin/ifconfig/af_inet6.c
+@@ -515,7 +515,7 @@ static struct afswtch af_inet6 = {
+ .af_settunnel = in6_set_tunnel,
+ .af_difaddr = SIOCDIFADDR_IN6,
+ .af_aifaddr = SIOCAIFADDR_IN6,
+- .af_ridreq = &in6_addreq,
++ .af_ridreq = &in6_ridreq,
+ .af_addreq = &in6_addreq,
+ };
+
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild
index 7ec5327919ec..df62c8a99f59 100644
--- a/sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild
+++ b/sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild,v 1.3 2006/09/09 16:30:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-6.1.ebuild,v 1.4 2006/09/11 22:08:20 flameeyes Exp $
inherit flag-o-matic bsdmk freebsd
@@ -44,7 +44,8 @@ pkg_setup() {
REMOVE_SUBDIRS="dhclient pfctl pflogd"
PATCHES="${FILESDIR}/${PN}-setXid.patch
- ${FILESDIR}/${PN}-zlib.patch"
+ ${FILESDIR}/${PN}-zlib.patch
+ ${FILESDIR}/${P}-pr102701.patch"
src_unpack() {
freebsd_src_unpack