summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-03-11 11:13:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-03-11 11:13:05 +0000
commit8a02a3c27b7709dbac2b23818b0ae4909b145fe5 (patch)
treee5619683010b5b2da06a83c5a51b9ba9098499ef /sys-freebsd/freebsd-bin
parentx86 stable wrt bug #306471 (diff)
downloadgentoo-2-8a02a3c27b7709dbac2b23818b0ae4909b145fe5.tar.gz
gentoo-2-8a02a3c27b7709dbac2b23818b0ae4909b145fe5.tar.bz2
gentoo-2-8a02a3c27b7709dbac2b23818b0ae4909b145fe5.zip
remove old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/freebsd-bin')
-rw-r--r--sys-freebsd/freebsd-bin/ChangeLog11
-rw-r--r--sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-mkdir-posix.patch111
-rw-r--r--sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-cclass.patch97
-rw-r--r--sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-libedit.patch14
-rw-r--r--sys-freebsd/freebsd-bin/freebsd-bin-6.2.ebuild40
-rw-r--r--sys-freebsd/freebsd-bin/freebsd-bin-7.1-r1.ebuild35
-rw-r--r--sys-freebsd/freebsd-bin/freebsd-bin-7.1.ebuild37
7 files changed, 9 insertions, 336 deletions
diff --git a/sys-freebsd/freebsd-bin/ChangeLog b/sys-freebsd/freebsd-bin/ChangeLog
index 7e95ba15cdb6..76b52d215ac2 100644
--- a/sys-freebsd/freebsd-bin/ChangeLog
+++ b/sys-freebsd/freebsd-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-freebsd/freebsd-bin
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/ChangeLog,v 1.34 2009/10/13 17:02:08 ulm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/ChangeLog,v 1.35 2010/03/11 11:13:04 aballier Exp $
+
+ 11 Mar 2010; Alexis Ballier <aballier@gentoo.org> -freebsd-bin-6.2.ebuild,
+ -files/freebsd-bin-6.2-mkdir-posix.patch,
+ -files/freebsd-bin-6.2-sh-cclass.patch,
+ -files/freebsd-bin-6.2-sh-libedit.patch, -freebsd-bin-7.1.ebuild,
+ -freebsd-bin-7.1-r1.ebuild:
+ remove old
13 Oct 2009; Ulrich Mueller <ulm@gentoo.org> freebsd-bin-6.2.ebuild,
freebsd-bin-7.1.ebuild, freebsd-bin-7.1-r1.ebuild, freebsd-bin-7.2.ebuild:
diff --git a/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-mkdir-posix.patch b/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-mkdir-posix.patch
deleted file mode 100644
index 1faff4cb321b..000000000000
--- a/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-mkdir-posix.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-===================================================================
-RCS file: /usr/local/www/cvsroot/FreeBSD/src/bin/mkdir/mkdir.c,v
-retrieving revision 1.32
-retrieving revision 1.33
-diff -u -p -r1.32 -r1.33
---- fbsd-6/bin/mkdir/mkdir.c 2005/02/09 17:37:38 1.32
-+++ fbsd-6/bin/mkdir/mkdir.c 2006/10/10 20:18:20 1.33
-@@ -39,7 +39,7 @@ static char sccsid[] = "@(#)mkdir.c 8.2
- #endif /* not lint */
- #endif
- #include <sys/cdefs.h>
--__FBSDID("$FreeBSD: src/bin/mkdir/mkdir.c,v 1.32 2005/02/09 17:37:38 ru Exp $");
-+__FBSDID("$FreeBSD: src/bin/mkdir/mkdir.c,v 1.33 2006/10/10 20:18:20 ru Exp $");
-
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -99,19 +99,19 @@ main(int argc, char *argv[])
- }
-
- for (exitval = 0; *argv != NULL; ++argv) {
-- success = 1;
- if (pflag) {
-- if (build(*argv, omode))
-- success = 0;
-+ success = build(*argv, omode);
- } else if (mkdir(*argv, omode) < 0) {
- if (errno == ENOTDIR || errno == ENOENT)
- warn("%s", dirname(*argv));
- else
- warn("%s", *argv);
- success = 0;
-- } else if (vflag)
-- (void)printf("%s\n", *argv);
--
-+ } else {
-+ success = 1;
-+ if (vflag)
-+ (void)printf("%s\n", *argv);
-+ }
- if (!success)
- exitval = 1;
- /*
-@@ -119,9 +119,10 @@ main(int argc, char *argv[])
- * nine bits, so if you try to set a mode including the
- * sticky, setuid, setgid bits you lose them. Don't do
- * this unless the user has specifically requested a mode,
-- * as chmod will (obviously) ignore the umask.
-+ * as chmod will (obviously) ignore the umask. Do this
-+ * on newly created directories only.
- */
-- if (success && mode != NULL && chmod(*argv, omode) == -1) {
-+ if (success == 1 && mode != NULL && chmod(*argv, omode) == -1) {
- warn("%s", *argv);
- exitval = 1;
- }
-@@ -129,6 +130,11 @@ main(int argc, char *argv[])
- exit(exitval);
- }
-
-+
-+/*
-+ * Returns 1 if a directory has been created,
-+ * 2 if it already existed, and 0 on failure.
-+ */
- int
- build(char *path, mode_t omode)
- {
-@@ -139,7 +145,7 @@ build(char *path, mode_t omode)
-
- p = path;
- oumask = 0;
-- retval = 0;
-+ retval = 1;
- if (p[0] == '/') /* Skip leading '/'. */
- ++p;
- for (first = 1, last = 0; !last ; ++p) {
-@@ -154,7 +160,7 @@ build(char *path, mode_t omode)
- /*
- * POSIX 1003.2:
- * For each dir operand that does not name an existing
-- * directory, effects equivalent to those cased by the
-+ * directory, effects equivalent to those caused by the
- * following command shall occcur:
- *
- * mkdir -p -m $(umask -S),u+wx $(dirname dir) &&
-@@ -174,7 +180,7 @@ build(char *path, mode_t omode)
- if (errno == EEXIST || errno == EISDIR) {
- if (stat(path, &sb) < 0) {
- warn("%s", path);
-- retval = 1;
-+ retval = 0;
- break;
- } else if (!S_ISDIR(sb.st_mode)) {
- if (last)
-@@ -182,12 +188,14 @@ build(char *path, mode_t omode)
- else
- errno = ENOTDIR;
- warn("%s", path);
-- retval = 1;
-+ retval = 0;
- break;
- }
-+ if (last)
-+ retval = 2;
- } else {
- warn("%s", path);
-- retval = 1;
-+ retval = 0;
- break;
- }
- } else if (vflag)
diff --git a/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-cclass.patch b/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-cclass.patch
deleted file mode 100644
index 0de4372209f4..000000000000
--- a/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-cclass.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-Allow sh to use POSIX character classes, as specified in
-sections 2.13.1 and 9.3.5
-http://www.freebsd.org/cgi/query-pr.cgi?pr=116826
-
-diff -u a/sh/expand.c b/sh/expand.c
---- a/sh/expand.c 2005-11-06 20:39:47 +0000
-+++ b/sh/expand.c 2007-10-02 13:46:28 +0100
-@@ -1320,6 +1320,42 @@
- }
-
-
-+STATIC int ccmatch(char *p, int chr, char **r)
-+{
-+ static const struct class {
-+ char name[10];
-+ int (*fn)(int);
-+ } classes[] = {
-+ { .name = ":alnum:]", .fn = isalnum },
-+ { .name = ":cntrl:]", .fn = iscntrl },
-+ { .name = ":lower:]", .fn = islower },
-+ { .name = ":space:]", .fn = isspace },
-+ { .name = ":alpha:]", .fn = isalpha },
-+ { .name = ":digit:]", .fn = isdigit },
-+ { .name = ":print:]", .fn = isprint },
-+ { .name = ":upper:]", .fn = isupper },
-+ { .name = ":blank:]", .fn = isblank },
-+ { .name = ":graph:]", .fn = isgraph },
-+ { .name = ":punct:]", .fn = ispunct },
-+ { .name = ":xdigit:]", .fn = isxdigit },
-+ };
-+ const struct class *class, *end;
-+ char *q;
-+
-+ end = classes + sizeof(classes) / sizeof(classes[0]);
-+ for (class = classes; class < end; class++) {
-+ q = prefix(class->name, p);
-+ if (!q)
-+ continue;
-+ *r = q;
-+ return class->fn(chr);
-+ }
-+
-+ *r = 0;
-+ return 0;
-+}
-+
-+
- STATIC int
- pmatch(char *pattern, char *string, int squoted)
- {
-@@ -1405,6 +1441,15 @@
- continue;
- if (c == CTLESC)
- c = *p++;
-+ else if (c == '[') {
-+ char *r;
-+
-+ found |= ccmatch(p, chr, &r);
-+ if (r) {
-+ p = r;
-+ continue;
-+ }
-+ }
- if (*p == '-' && p[1] != ']') {
- p++;
- while (*p == CTLQUOTEMARK)
-diff -u a/sh/mystring.c b/sh/mystring.c
---- a/sh/mystring.c 2004-04-06 21:06:51 +0100
-+++ b/sh/mystring.c 2007-10-02 13:45:31 +0100
-@@ -88,14 +88,14 @@
- * prefix -- see if pfx is a prefix of string.
- */
-
--int
-+char *
- prefix(const char *pfx, const char *string)
- {
- while (*pfx) {
- if (*pfx++ != *string++)
- return 0;
- }
-- return 1;
-+ return (char *)string;
- }
-
-
-diff -u a/sh/mystring.h b/sh/mystring.h
---- a/sh/mystring.h 2004-04-06 21:06:51 +0100
-+++ b/sh/mystring.h 2007-10-02 13:45:35 +0100
-@@ -36,7 +36,7 @@
- #include <string.h>
-
- void scopyn(const char *, char *, int);
--int prefix(const char *, const char *);
-+char *prefix(const char *, const char *);
- int number(const char *);
- int is_number(const char *);
diff --git a/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-libedit.patch b/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-libedit.patch
deleted file mode 100644
index 60e7e3e245f0..000000000000
--- a/sys-freebsd/freebsd-bin/files/freebsd-bin-6.2-sh-libedit.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-To avoid another libedit mess, we'll statically link it into sh
-
-diff -ur a/sh/Makefile b/sh/Makefile
---- a/sh/Makefile 2007-05-18 17:27:25 +0100
-+++ b/sh/Makefile 2007-05-18 17:27:47 +0100
-@@ -16,7 +16,7 @@
- # builtin.1 in share/man/man1/.
-
- DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
--LDADD= -ll -ledit -ltermcap
-+LDADD= -Wl,-Bstatic -ledit -Wl,-Bdynamic -ll -ltermcap
-
- LFLAGS= -8 # 8-bit lex scanner for arithmetic
- CFLAGS+=-DSHELL -I. -I${.CURDIR}
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-6.2.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-6.2.ebuild
deleted file mode 100644
index 052e63c71002..000000000000
--- a/sys-freebsd/freebsd-bin/freebsd-bin-6.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-6.2.ebuild,v 1.4 2009/10/13 17:02:08 ulm Exp $
-
-inherit bsdmk freebsd
-
-DESCRIPTION="FreeBSD /bin tools"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="nls"
-
-SRC_URI="mirror://gentoo/${BIN}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2"
-
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
- dev-libs/libedit
- sys-libs/ncurses
- sys-apps/ed
- !app-misc/realpath"
-DEPEND="${RDEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*
- >=sys-devel/flex-2.5.31-r2"
-
-S=${WORKDIR}/bin
-
-PATCHES="${FILESDIR}/${PN}-6.0-flex-2.5.31.patch
- ${FILESDIR}/${PN}-6.2-mkdir-posix.patch
- ${FILESDIR}/${PN}-6.2-sh-libedit.patch
- ${FILESDIR}/${PN}-6.2-sh-cclass.patch"
-
-pkg_setup() {
- use nls || mymakeopts="${mymakeopts} NO_NLS= "
-
- mymakeopts="${mymakeopts} NO_TCSH= NO_SENDMAIL= NO_OPENSSL= NO_CRYPT= NO_RCMDS= "
-}
-
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff.
-REMOVE_SUBDIRS="csh rmail ed"
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-7.1-r1.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-7.1-r1.ebuild
deleted file mode 100644
index bc0cc740ab1f..000000000000
--- a/sys-freebsd/freebsd-bin/freebsd-bin-7.1-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-7.1-r1.ebuild,v 1.2 2009/10/13 17:02:08 ulm Exp $
-
-inherit bsdmk freebsd
-
-DESCRIPTION="FreeBSD /bin tools"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE=""
-
-SRC_URI="mirror://gentoo/${BIN}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2"
-
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
- dev-libs/libedit
- sys-libs/ncurses
- sys-apps/ed
- !app-misc/realpath"
-DEPEND="${RDEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*
- >=sys-devel/flex-2.5.31-r2"
-
-S=${WORKDIR}/bin
-
-PATCHES="${FILESDIR}/${PN}-6.0-flex-2.5.31.patch"
-
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff.
-REMOVE_SUBDIRS="csh rmail ed"
-
-pkg_setup() {
- mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= "
-}
diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-7.1.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-7.1.ebuild
deleted file mode 100644
index 542e4172862a..000000000000
--- a/sys-freebsd/freebsd-bin/freebsd-bin-7.1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-7.1.ebuild,v 1.2 2009/10/13 17:02:08 ulm Exp $
-
-inherit bsdmk freebsd
-
-DESCRIPTION="FreeBSD /bin tools"
-SLOT="0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="nls"
-
-SRC_URI="mirror://gentoo/${BIN}.tar.bz2
- mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2"
-
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*
- dev-libs/libedit
- sys-libs/ncurses
- sys-apps/ed
- !app-misc/realpath"
-DEPEND="${RDEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*
- >=sys-devel/flex-2.5.31-r2"
-
-S=${WORKDIR}/bin
-
-PATCHES="${FILESDIR}/${PN}-6.0-flex-2.5.31.patch"
-
-# csh and tcsh are provided by tcsh package, rmail is sendmail stuff.
-REMOVE_SUBDIRS="csh rmail ed"
-
-pkg_setup() {
- use nls || mymakeopts="${mymakeopts} NO_NLS= "
-
- mymakeopts="${mymakeopts} NO_TCSH= NO_SENDMAIL= NO_OPENSSL= NO_CRYPT= NO_RCMDS= "
-}