summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-21 18:27:45 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-21 18:27:45 +0000
commit4335edce3ddb1664e712f699f3401ed6de1e11a4 (patch)
tree359cf1986196c7b842ec2574b12552380a3749b9 /sys-apps/ed
parentFix up metadata.xml. If there's no maintainer for the package, the metadata a... (diff)
downloadhistorical-4335edce3ddb1664e712f699f3401ed6de1e11a4.tar.gz
historical-4335edce3ddb1664e712f699f3401ed6de1e11a4.tar.bz2
historical-4335edce3ddb1664e712f699f3401ed6de1e11a4.zip
old
Diffstat (limited to 'sys-apps/ed')
-rw-r--r--sys-apps/ed/ed-0.2-r6.ebuild53
-rw-r--r--sys-apps/ed/ed-0.4.ebuild41
-rw-r--r--sys-apps/ed/ed-0.5.ebuild40
-rw-r--r--sys-apps/ed/ed-0.6.ebuild40
-rw-r--r--sys-apps/ed/files/0.2-info-dir.patch15
-rw-r--r--sys-apps/ed/files/0.2-mkstemp.patch32
-rw-r--r--sys-apps/ed/files/ed-0.2-configure-LANG.patch48
-rw-r--r--sys-apps/ed/files/ed-0.4-build.patch28
-rw-r--r--sys-apps/ed/files/ed-0.4-configure-LANG.patch22
9 files changed, 0 insertions, 319 deletions
diff --git a/sys-apps/ed/ed-0.2-r6.ebuild b/sys-apps/ed/ed-0.2-r6.ebuild
deleted file mode 100644
index f7e4dc595a8b..000000000000
--- a/sys-apps/ed/ed-0.2-r6.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-0.2-r6.ebuild,v 1.5 2007/01/22 17:51:04 vapier Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Your basic line editor"
-HOMEPAGE="http://www.gnu.org/software/ed/"
-SRC_URI="mirror://gnu/ed/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="sys-apps/texinfo"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PV}-info-dir.patch
- epatch "${FILESDIR}"/${PV}-mkstemp.patch
- epatch "${FILESDIR}"/${P}-configure-LANG.patch #126041
-
- # This little autoconf line isn't critical.
- # It's only needed when you want to cross-compile.
- if tc-is-cross-compiler ; then
- chmod 755 configure #73575
- WANT_AUTOCONF=2.1 autoconf || die "autoconf failed"
- fi
-}
-
-src_compile() {
- tc-export CC RANLIB
- # very old configure script ... econf wont work
- local myconf="--prefix=/ --host=${CHOST}"
- [[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}"
- [[ -n ${CTARGET} ]] && myconf="${myconf} --target=${CTARGET}"
- myconf="${myconf} ${EXTRA_ECONF}"
- echo "./configure ${myconf}"
- ./configure ${myconf} || die
- emake AR="$(tc-getAR)" || die
-}
-
-src_install() {
- chmod 0644 "${S}"/ed.info
- make \
- prefix="${D}"/ \
- mandir="${D}"/usr/share/man/man1 \
- infodir="${D}"/usr/share/info \
- install || die
- dodoc ChangeLog NEWS POSIX README THANKS TODO
-}
diff --git a/sys-apps/ed/ed-0.4.ebuild b/sys-apps/ed/ed-0.4.ebuild
deleted file mode 100644
index 1b2dcfbc8b30..000000000000
--- a/sys-apps/ed/ed-0.4.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-0.4.ebuild,v 1.10 2007/04/23 16:02:38 welp Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Your basic line editor"
-HOMEPAGE="http://www.gnu.org/software/ed/"
-SRC_URI="mirror://gnu/ed/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="sys-apps/texinfo"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-configure-LANG.patch #126041
- epatch "${FILESDIR}"/${P}-build.patch
-}
-
-src_compile() {
- tc-export CC CXX
- # custom configure script ... econf wont work
- ./configure \
- --prefix=/ \
- --datadir=/usr/share \
- ${EXTRA_ECONF} \
- || die
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- doman doc/ed.1
- dosym ed.1 /usr/share/man/man1/red.1
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
diff --git a/sys-apps/ed/ed-0.5.ebuild b/sys-apps/ed/ed-0.5.ebuild
deleted file mode 100644
index e073cc7fcec4..000000000000
--- a/sys-apps/ed/ed-0.5.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-0.5.ebuild,v 1.9 2007/07/09 03:31:09 jer Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Your basic line editor"
-HOMEPAGE="http://www.gnu.org/software/ed/"
-SRC_URI="mirror://gnu/ed/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="sys-apps/texinfo"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-build.patch
-}
-
-src_compile() {
- tc-export CC CXX
- # custom configure script ... econf wont work
- ./configure \
- --prefix=/ \
- --datadir=/usr/share \
- ${EXTRA_ECONF} \
- || die
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- doman doc/ed.1
- dosym ed.1 /usr/share/man/man1/red.1
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
diff --git a/sys-apps/ed/ed-0.6.ebuild b/sys-apps/ed/ed-0.6.ebuild
deleted file mode 100644
index ffb9bf1fc60d..000000000000
--- a/sys-apps/ed/ed-0.6.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ed/ed-0.6.ebuild,v 1.10 2007/09/20 01:23:31 ranger Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Your basic line editor"
-HOMEPAGE="http://www.gnu.org/software/ed/"
-SRC_URI="mirror://gnu/ed/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="sys-apps/texinfo"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-0.5-build.patch
-}
-
-src_compile() {
- tc-export CC CXX
- # custom configure script ... econf wont work
- ./configure \
- --prefix=/ \
- --datadir=/usr/share \
- ${EXTRA_ECONF} \
- || die
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- doman doc/ed.1
- dosym ed.1 /usr/share/man/man1/red.1
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
diff --git a/sys-apps/ed/files/0.2-info-dir.patch b/sys-apps/ed/files/0.2-info-dir.patch
deleted file mode 100644
index f99b00fd7626..000000000000
--- a/sys-apps/ed/files/0.2-info-dir.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -r -C2 ed-0.2.orig/ed.texinfo ed-0.2/ed.texinfo
-*** ed-0.2.orig/ed.texinfo Sat Nov 19 07:38:01 1994
---- ed-0.2/ed.texinfo Fri Aug 3 19:03:33 2001
-***************
-*** 8,11 ****
---- 8,16 ----
-
- @ifinfo
-+
-+ @direntry
-+ * ed: (ed). line editor.
-+ @end direntry
-+
- This file documents the @code{ed} command, which has the purpose of
- editing text files.
diff --git a/sys-apps/ed/files/0.2-mkstemp.patch b/sys-apps/ed/files/0.2-mkstemp.patch
deleted file mode 100644
index 5fe98b81049a..000000000000
--- a/sys-apps/ed/files/0.2-mkstemp.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-This is based on the following:
-===
-Submitted By: LFS Book <lfs-book@linuxfromscratch.org>
-Date: 2003-10-05
-Initial Package Version: 0.2
-Origin: Slackware Source
-Description: Use mkstemp instead of mktemp.
-===
-However the original patch contained an error.
-mkstemp returns a file description, so when fopen ran, the file was opened twice.
-The correct change is to use fdopen with mkstemp.
-See gentoo bug #73858.
-diff -Naur ed-0.2/buf.c ed-0.2-2/buf.c
---- ed-0.2/buf.c Sat Nov 19 04:37:59 1994
-+++ ed-0.2-2/buf.c Tue May 28 18:38:23 2002
-@@ -200,13 +200,13 @@
- int
- open_sbuf ()
- {
-- char *mktemp ();
-- int u;
-+ int u, sfd;
-
- isbinary = newline_added = 0;
- u = umask(077);
- strcpy (sfn, "/tmp/ed.XXXXXX");
-- if (mktemp (sfn) == NULL || (sfp = fopen (sfn, "w+")) == NULL)
-+ sfd = mkstemp(sfn);
-+ if ((sfd == -1) || (sfp = fdopen (sfd, "w+")) == NULL)
- {
- fprintf (stderr, "%s: %s\n", sfn, strerror (errno));
- sprintf (errmsg, "Cannot open temp file");
diff --git a/sys-apps/ed/files/ed-0.2-configure-LANG.patch b/sys-apps/ed/files/ed-0.2-configure-LANG.patch
deleted file mode 100644
index 3cd794373d28..000000000000
--- a/sys-apps/ed/files/ed-0.2-configure-LANG.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
-option parsing, it may break.
-
-http://bugs.gentoo.org/126041
-
---- configure
-+++ configure
-@@ -34,6 +34,16 @@
- x_includes=NONE
- x_libraries=NONE
-
-+# NLS nuisances.
-+# Only set these to C if already set. These must not be set unconditionally
-+# because not all systems understand e.g. LANG=C (notably SCO).
-+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-+# Non-C LC_CTYPE values break the ctype check.
-+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
-+
- # Initialize some other variables.
- subdirs=
-
-@@ -316,13 +326,6 @@
- esac
- done
-
--# NLS nuisances.
--# Only set LANG and LC_ALL to C if already set.
--# These must not be set unconditionally because not all systems understand
--# e.g. LANG=C (notably SCO).
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
--if test "${LANG+set}" = set; then LANG=C; export LANG; fi
--
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
---- configure.orig 2006-03-13 20:46:45.000000000 -0500
-+++ configure 2006-03-13 20:47:17.000000000 -0500
-@@ -1600,6 +1600,7 @@
- fi; done
-
-
-+touch stamp-h
-
- exit 0
- EOF
diff --git a/sys-apps/ed/files/ed-0.4-build.patch b/sys-apps/ed/files/ed-0.4-build.patch
deleted file mode 100644
index 6ab4b15eaace..000000000000
--- a/sys-apps/ed/files/ed-0.4-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- configure
-+++ configure
-@@ -36,12 +36,8 @@
- infodir='$(datadir)/info'
- mandir='$(datadir)/man'
- sysconfdir='$(prefix)/etc'
--CC=
--CXX=
--CPPFLAGS=
--CFLAGS='-Wall -W -O2'
--CXXFLAGS='-Wall -W -O2'
--LDFLAGS=
-+CFLAGS="$CFLAGS -Wall -W"
-+CXXFLAGS="$CXXFLAGS -Wall -W"
-
- # Loop over all args
- while [ x"$1" != x ] ; do
---- Makefile.in
-+++ Makefile.in
-@@ -48,7 +48,7 @@
- if test ! -d $(DESTDIR)$(bindir) ; then $(INSTALL) -d $(DESTDIR)$(bindir) ; fi
- $(INSTALL_PROGRAM) ./$(progname) $(DESTDIR)$(bindir)/$(progname)
- -rm -f $(DESTDIR)$(bindir)/r$(progname)
-- cd $(DESTDIR)$(bindir) ; ln $(progname) r$(progname)
-+ cd $(DESTDIR)$(bindir) ; ln -s $(progname) r$(progname)
-
- install-info :
- if test ! -d $(DESTDIR)$(infodir) ; then $(INSTALL) -d $(DESTDIR)$(infodir) ; fi
diff --git a/sys-apps/ed/files/ed-0.4-configure-LANG.patch b/sys-apps/ed/files/ed-0.4-configure-LANG.patch
deleted file mode 100644
index 06d0031a980b..000000000000
--- a/sys-apps/ed/files/ed-0.4-configure-LANG.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure
-+++ configure
-@@ -14,6 +14,19 @@
- progversion=0.4
- srctrigger=ed.h
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+ eval $as_var=C; export $as_var
-+ else
-+ unset $as_var
-+ fi
-+done
-+
- # clear some things potentially inherited from environment.
- srcdir=
- prefix=/usr/local