summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-01 12:27:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-01 12:27:31 +0000
commit2c46035282db2090164b95200c959d0bdbcbc21c (patch)
treee6061193c3c82a808b075e878bcf45812039dc2f /sys-freebsd/freebsd-usbin/files
parentlet's apply STLport-vector.patch on ppc64, too. (diff)
downloadgentoo-2-2c46035282db2090164b95200c959d0bdbcbc21c.tar.gz
gentoo-2-2c46035282db2090164b95200c959d0bdbcbc21c.tar.bz2
gentoo-2-2c46035282db2090164b95200c959d0bdbcbc21c.zip
Shorten the fixmakefiles patch so that it applies to both 6.0 and 6.1. Update nowrap patch from Robert Sebastian Gerus. Create /usr/bin directory. Remove from 6.1_rc1 hostapd_cli and wpa_cli, remove amd (am-utils package will provide that), block am-utils from 6.0.
(Portage version: 2.1_pre10)
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files')
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch217
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch48
2 files changed, 48 insertions, 217 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch
index 0df740aef3dd..1b1af6d5da7b 100644
--- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch
+++ b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.0-fixmakefiles.patch
@@ -1,220 +1,3 @@
-Index: usr.sbin/acpi/Makefile.inc
-===================================================================
---- usr.sbin/acpi/Makefile.inc.orig
-+++ usr.sbin/acpi/Makefile.inc
-@@ -1,8 +1,8 @@
- # $Id: freebsd-usbin-6.0-fixmakefiles.patch,v 1.1 2006/04/01 16:43:51 flameeyes Exp $
- # $FreeBSD: src/usr.sbin/acpi/Makefile.inc,v 1.8 2003/08/07 16:51:50 njl Exp $
-
--ACPICA_DIR= ${.CURDIR}/../../../sys/contrib/dev/acpica
--CFLAGS+= -I${.CURDIR}/../../../sys -I${ACPICA_DIR} -I${ACPICA_DIR}/compiler
-+ACPICA_DIR= /usr/src/sys/contrib/dev/acpica
-+CFLAGS+= -I/usr/src/sys -I${ACPICA_DIR} -I${ACPICA_DIR}/compiler
-
- .if exists(${.CURDIR}/../../Makefile.inc)
- .include "${.CURDIR}/../../Makefile.inc"
-Index: usr.sbin/arlcontrol/Makefile
-===================================================================
---- usr.sbin/arlcontrol/Makefile.orig
-+++ usr.sbin/arlcontrol/Makefile
-@@ -4,7 +4,7 @@
- #
-
- PROG= arlcontrol
--CFLAGS+= -I${.CURDIR}/../../sys -DARLCACHE
-+CFLAGS+= -I/usr/src/sys -DARLCACHE
- MAN= arlcontrol.8
-
- .include <bsd.prog.mk>
-Index: usr.sbin/dconschat/Makefile
-===================================================================
---- usr.sbin/dconschat/Makefile.orig
-+++ usr.sbin/dconschat/Makefile
-@@ -3,7 +3,7 @@
- PROG= dconschat
- MAN= dconschat.8
-
--CFLAGS+= -I${.CURDIR}/../../sys
-+CFLAGS+= -I/usr/src/sys
-
- DPADD= ${LIBKVM}
- LDADD= -lkvm
-Index: usr.sbin/fwcontrol/Makefile
-===================================================================
---- usr.sbin/fwcontrol/Makefile.orig
-+++ usr.sbin/fwcontrol/Makefile
-@@ -4,9 +4,9 @@ PROG= fwcontrol
- SRCS= fwcontrol.c fwcrom.c fwdv.c
- MAN= fwcontrol.8
-
--.PATH: ${.CURDIR}/../../sys/dev/firewire
-+.PATH: /usr/src/sys/dev/firewire
-
--SDIR= ${.CURDIR}/../../sys
-+SDIR= /usr/src/sys
- CFLAGS+=-I${.CURDIR} -I${SDIR}
-
- .include <bsd.prog.mk>
-Index: usr.sbin/mlxcontrol/Makefile
-===================================================================
---- usr.sbin/mlxcontrol/Makefile.orig
-+++ usr.sbin/mlxcontrol/Makefile
-@@ -4,6 +4,6 @@ PROG= mlxcontrol
- MAN= mlxcontrol.8
- SRCS= command.c config.c interface.c util.c
-
--CFLAGS+= -I${.CURDIR}/../../sys
-+CFLAGS+= -I/usr/src/sys
-
- .include <bsd.prog.mk>
-Index: usr.sbin/ndiscvt/Makefile
-===================================================================
---- usr.sbin/ndiscvt/Makefile.orig
-+++ usr.sbin/ndiscvt/Makefile
-@@ -1,6 +1,6 @@
- # $FreeBSD: src/usr.sbin/ndiscvt/Makefile,v 1.7 2005/04/24 20:21:22 wpaul Exp $
-
--.PATH: ${.CURDIR}/../../sys/compat/ndis
-+.PATH: /usr/src/sys/compat/ndis
-
- PROG= ndiscvt
- SRCS= ndiscvt.c
-@@ -17,7 +17,7 @@ LDADD= -ll
-
- YFLAGS+=-v
-
--CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../sys
-+CFLAGS+=-I. -I${.CURDIR} -I/usr/src/sys
-
- CLEANFILES= y.output
-
-Index: usr.sbin/pciconf/Makefile
-===================================================================
---- usr.sbin/pciconf/Makefile.orig
-+++ usr.sbin/pciconf/Makefile
-@@ -4,6 +4,6 @@
- PROG= pciconf
- MAN= pciconf.8
-
--CFLAGS+= -I${.CURDIR}/../../sys
-+CFLAGS+= -I/usr/src/sys
-
- .include <bsd.prog.mk>
-Index: usr.sbin/pnpinfo/Makefile
-===================================================================
---- usr.sbin/pnpinfo/Makefile.orig
-+++ usr.sbin/pnpinfo/Makefile
-@@ -5,7 +5,7 @@
- PROG= pnpinfo
- MAN= pnpinfo.8
-
--CFLAGS+= -I${.CURDIR}/../../sys
-+CFLAGS+= -I/usr/src/sys
-
- .if ${MACHINE} == "pc98"
- CFLAGS+= -DPC98
-Index: usr.sbin/raycontrol/Makefile
-===================================================================
---- usr.sbin/raycontrol/Makefile.orig
-+++ usr.sbin/raycontrol/Makefile
-@@ -3,6 +3,6 @@
- PROG= raycontrol
- MAN= raycontrol.8
-
--CFLAGS+= -I${.CURDIR}/../../sys
-+CFLAGS+= -I/usr/src/sys
-
- .include <bsd.prog.mk>
-Index: usr.sbin/rpc.ypxfrd/Makefile
-===================================================================
---- usr.sbin/rpc.ypxfrd/Makefile.orig
-+++ usr.sbin/rpc.ypxfrd/Makefile
-@@ -14,7 +14,7 @@ LDADD= -lrpcsvc
-
- CLEANFILES= ypxfrd_svc.c ypxfrd.h
-
--RPCDIR= ${.CURDIR}/../../include/rpcsvc
-+RPCDIR= /usr/include/rpcsvc
- RPCGEN= rpcgen -I -C
-
- # We need to remove the 'static' keyword from _rpcsvcstate so that
-Index: usr.sbin/setkey/Makefile
-===================================================================
---- usr.sbin/setkey/Makefile.orig
-+++ usr.sbin/setkey/Makefile
-@@ -41,9 +41,9 @@ CLEANFILES= y.tab.c y.tab.h key_test.o k
-
- # libpfkey
- # ipsec_strerror.c is for avoiding shlib reference to non-exported function.
--.PATH: ${.CURDIR}/../../lib/libipsec ${.CURDIR}/../../sys/netkey
-+.PATH: ${.CURDIR}/../../lib/libipsec /usr/src/sys/netkey
- SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
--CFLAGS+= -I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netkey
-+CFLAGS+= -I${.CURDIR}/../../lib/libipsec -I/usr/src/sys/netkey
-
- SRCS+= y.tab.h
- y.tab.h: parse.y
-Index: usr.sbin/sicontrol/Makefile
-===================================================================
---- usr.sbin/sicontrol/Makefile.orig
-+++ usr.sbin/sicontrol/Makefile
-@@ -3,6 +3,6 @@
- PROG= sicontrol
- MAN= sicontrol.8
-
--CFLAGS+= -I${.CURDIR}/../../sys
-+CFLAGS+= -I/usr/src/sys
-
- .include <bsd.prog.mk>
-Index: usr.sbin/sysinstall/Makefile
-===================================================================
---- usr.sbin/sysinstall/Makefile.orig
-+++ usr.sbin/sysinstall/Makefile
-@@ -87,7 +87,7 @@ KEYMAPS= be.iso bg.bds.ctrlcaps bg.phone
- keymap.h:
- rm -f keymap.tmp
- for map in ${KEYMAPS} ; do \
-- KEYMAP_PATH=${.CURDIR}/../../share/syscons/keymaps \
-+ KEYMAP_PATH=/usr/share/syscons/keymaps \
- kbdcontrol -L $$map | \
- sed -e '/^static accentmap_t/,$$d' >> keymap.tmp ; \
- done
-Index: usr.sbin/yppush/Makefile
-===================================================================
---- usr.sbin/yppush/Makefile.orig
-+++ usr.sbin/yppush/Makefile
-@@ -1,6 +1,6 @@
- # $FreeBSD: src/usr.sbin/yppush/Makefile,v 1.9 2001/07/20 06:20:30 obrien Exp $
-
--RPCDIR= ${.CURDIR}/../../include/rpcsvc
-+RPCDIR= /usr/include/rpcsvc
- .PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
- ${.CURDIR}/../../libexec/ypxfr
-
-Index: usr.sbin/ypserv/Makefile
-===================================================================
---- usr.sbin/ypserv/Makefile.orig
-+++ usr.sbin/ypserv/Makefile
-@@ -1,6 +1,6 @@
- # $FreeBSD: src/usr.sbin/ypserv/Makefile,v 1.24 2004/10/18 21:42:15 ru Exp $
-
--RPCDIR= ${.CURDIR}/../../include/rpcsvc
-+RPCDIR= /usr/include/rpcsvc
- .PATH: ${RPCDIR}
-
- PROG= ypserv
-Index: usr.sbin/ntp/doc/Makefile
-===================================================================
---- usr.sbin/ntp/doc/Makefile.orig
-+++ usr.sbin/ntp/doc/Makefile
-@@ -1,6 +1,6 @@
- # $FreeBSD: src/usr.sbin/ntp/doc/Makefile,v 1.11 2005/05/25 16:30:43 sheldonh Exp $
-
--FILESDIR= ${SHAREDIR}/doc/ntp
-+FILESDIR= ${DOCDIR}/ntp
-
- FILES= accopt.html assoc.html audio.html authopt.html build.html \
- clockopt.html \
Index: usr.sbin/pcvt/Misc/Doc/Makefile
===================================================================
--- usr.sbin/pcvt/Misc/Doc/Makefile.orig
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch
new file mode 100644
index 000000000000..175b0c80c6c8
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-nowrap.patch
@@ -0,0 +1,48 @@
+diff -ur usr.sbin.orig/rpcbind/Makefile usr.sbin/rpcbind/Makefile
+--- usr.sbin.orig/rpcbind/Makefile 2006-03-15 07:44:28 +0000
++++ usr.sbin/rpcbind/Makefile 2006-04-19 17:37:18 +0000
+@@ -13,13 +13,19 @@
+ rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c \
+ rpc_generic.c
+
+-CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DLIBWRAP
++CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP
++
++DPADD= ${LIBUTIL}
++LDADD= -lutil
++
++.if !defined(NO_WRAP)
++CFLAGS+= -DLIBWRAP
++DPADD+= ${LIBWRAP}
++LDADD+= -lwrap
++.endif
+
+ .if !defined(NO_INET6)
+ CFLAGS+= -DINET6
+ .endif
+
+-DPADD= ${LIBWRAP} ${LIBUTIL}
+-LDADD= -lwrap -lutil
+-
+ .include <bsd.prog.mk>
+diff -ur usr.sbin.orig/ypserv/Makefile usr.sbin/ypserv/Makefile
+--- usr.sbin.orig/ypserv/Makefile 2004-10-18 21:42:15 +0000
++++ usr.sbin/ypserv/Makefile 2006-04-19 17:31:23 +0000
+@@ -8,10 +8,13 @@
+ SRCS= yp_svc.c yp_server.c yp_dblookup.c yp_dnslookup.c \
+ ypxfr_clnt.c yp.h yp_main.c yp_error.c yp_access.c yp_svc_udp.c
+
+-CFLAGS+= -DDB_CACHE -DTCP_WRAPPER -I.
++CFLAGS+= -DDB_CACHE -I.
+
+-DPADD= ${LIBWRAP}
+-LDADD= -lwrap
++.if !defined(NO_WRAP)
++CFLAGS+= -DTCP_WRAPPER
++DPADD+= ${LIBWRAP}
++LDADD+= -lwrap
++.endif
+
+ CLEANFILES= yp_svc.c ypxfr_clnt.c yp.h
+
+Only in usr.sbin/ypserv: Makefile.orig