diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2008-09-11 23:20:52 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2008-09-11 23:20:52 +0000 |
commit | 9936889bc1e36d68a7f5b4b5b412d9dd35539a4d (patch) | |
tree | 545238e591c9530b4aa59d0930352beaded51b3b /app-editors/joe | |
parent | clean up (diff) | |
download | gentoo-2-9936889bc1e36d68a7f5b4b5b412d9dd35539a4d.tar.gz gentoo-2-9936889bc1e36d68a7f5b4b5b412d9dd35539a4d.tar.bz2 gentoo-2-9936889bc1e36d68a7f5b4b5b412d9dd35539a4d.zip |
clean up
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-editors/joe')
-rw-r--r-- | app-editors/joe/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/joe/files/joe-3.0-overflow.patch | 12 | ||||
-rw-r--r-- | app-editors/joe/files/joe-3.1-overflow.patch | 12 | ||||
-rw-r--r-- | app-editors/joe/joe-3.0-r2.ebuild | 49 | ||||
-rw-r--r-- | app-editors/joe/joe-3.1-r1.ebuild | 49 | ||||
-rw-r--r-- | app-editors/joe/joe-3.2.ebuild | 47 | ||||
-rw-r--r-- | app-editors/joe/joe-3.4.ebuild | 62 |
7 files changed, 6 insertions, 232 deletions
diff --git a/app-editors/joe/ChangeLog b/app-editors/joe/ChangeLog index 5cf41b72ec0a..4e8853b1bdb5 100644 --- a/app-editors/joe/ChangeLog +++ b/app-editors/joe/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/joe # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/ChangeLog,v 1.60 2008/07/28 19:33:31 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/ChangeLog,v 1.61 2008/09/11 23:20:52 opfer Exp $ + + 11 Sep 2008; Christian Faulhammer <opfer@gentoo.org> + -files/joe-3.0-overflow.patch, -files/joe-3.1-overflow.patch, + -joe-3.0-r2.ebuild, -joe-3.1-r1.ebuild, -joe-3.2.ebuild, -joe-3.4.ebuild: + clean up 28 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: Add USE flag description to metadata wrt GLEP 56. diff --git a/app-editors/joe/files/joe-3.0-overflow.patch b/app-editors/joe/files/joe-3.0-overflow.patch deleted file mode 100644 index 493ef8d3d011..000000000000 --- a/app-editors/joe/files/joe-3.0-overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- rc.c~ 2004-04-23 16:02:18.000000000 +0100 -+++ rc.c 2004-11-16 20:41:33.000000000 +0000 -@@ -708,7 +708,8 @@ - int line = 0; /* Line number */ - int err = 0; /* Set to 1 if there was a syntax error */ - -- strcpy(buf, name); -+ strncpy(buf, name, sizeof(buf) - 1); -+ buf[sizeof(buf)-1] = '\0'; - #ifdef __MSDOS__ - fd = fopen((char *)buf, "rt"); - #else diff --git a/app-editors/joe/files/joe-3.1-overflow.patch b/app-editors/joe/files/joe-3.1-overflow.patch deleted file mode 100644 index c30822631d92..000000000000 --- a/app-editors/joe/files/joe-3.1-overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- rc.c~ 2004-05-28 17:37:30.000000000 +0100 -+++ rc.c 2004-11-16 20:33:47.000000000 +0000 -@@ -810,7 +810,8 @@ - int line = 0; /* Line number */ - int err = 0; /* Set to 1 if there was a syntax error */ - -- strcpy((char *)buf, (char *)name); -+ strncpy((char *)buf, (char *)name, sizeof(buf) - 1); -+ buf[sizeof(buf)-1] = '\0'; - #ifdef __MSDOS__ - fd = fopen((char *)buf, "rt"); - #else diff --git a/app-editors/joe/joe-3.0-r2.ebuild b/app-editors/joe/joe-3.0-r2.ebuild deleted file mode 100644 index 81027a69a1d1..000000000000 --- a/app-editors/joe/joe-3.0-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.0-r2.ebuild,v 1.7 2007/10/10 06:57:56 opfer Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" -HOMEPAGE="http://sourceforge.net/projects/joe-editor/" -SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="alpha amd64 mips ppc ppc64 sparc x86" -IUSE="" - -DEPEND=">=sys-libs/ncurses-5.2-r2" - -src_unpack() { - unpack ${A} - cd ${S} - # Fix for non-critical buffer overflow, bug #71129 - epatch ${FILESDIR}/${P}-overflow.patch || die "epatch failed" - # Fix bug #50271 (joe 3.0 documentation doesn't reflect new config file location) - sed -e 's:${prefix}/etc/joerc:@sysconfdir@/joe/joerc:' -i joerc.in - for i in jmacsrc.in jpicorc.in jstarrc.in rjoerc.in joe.1.in - do - sed -e 's:@sysconfdir@/:@sysconfdir@/joe/:' -i ${i} - done -} - -src_compile() { - # Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os) - replace-flags "-Os" "-O2" - - econf || die - emake || die -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ChangeLog HINTS INFO LIST NEWS README README.cvs TODO -} - -pkg_postinst() { - elog - elog "Global configuration has been moved from /etc to /etc/joe." - elog "You should move or remove your old configuration files." - elog -} diff --git a/app-editors/joe/joe-3.1-r1.ebuild b/app-editors/joe/joe-3.1-r1.ebuild deleted file mode 100644 index 44d0d337ab1e..000000000000 --- a/app-editors/joe/joe-3.1-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.1-r1.ebuild,v 1.7 2007/10/10 06:57:56 opfer Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" -HOMEPAGE="http://sourceforge.net/projects/joe-editor/" -SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" -IUSE="" - -DEPEND=">=sys-libs/ncurses-5.2-r2" - -src_unpack() { - unpack ${A} - cd ${S} - # Fix for non-critical buffer overflow, bug #71129 - epatch ${FILESDIR}/${P}-overflow.patch || die "epatch failed" - # Fix bug #50271 (joe 3.0 documentation doesn't reflect new config file location) - sed -e 's:${prefix}/etc/joerc:@sysconfdir@/joe/joerc:' -i joerc.in - for i in jmacsrc.in jpicorc.in jstarrc.in rjoerc.in joe.1.in - do - sed -e 's:@sysconfdir@/:@sysconfdir@/joe/:' -i ${i} - done -} - -src_compile() { - # Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os) - replace-flags "-Os" "-O2" - - econf || die - emake || die -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ChangeLog HINTS INFO LIST NEWS README README.cvs TODO -} - -pkg_postinst() { - elog - elog "Global configuration has been moved from /etc to /etc/joe." - elog "You should move or remove your old configuration files." - elog -} diff --git a/app-editors/joe/joe-3.2.ebuild b/app-editors/joe/joe-3.2.ebuild deleted file mode 100644 index 4dd101b795d8..000000000000 --- a/app-editors/joe/joe-3.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.2.ebuild,v 1.14 2007/10/10 06:57:56 opfer Exp $ - -inherit flag-o-matic - -DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" -HOMEPAGE="http://sourceforge.net/projects/joe-editor/" -SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="alpha amd64 arm mips ppc ppc64 sparc x86" -IUSE="" - -DEPEND=">=sys-libs/ncurses-5.2-r2" - -src_unpack() { - unpack ${A} - cd "${S}" - # Fix bug #50271 (joe 3.0 documentation doesn't reflect new config file location) - sed -e 's:${prefix}/etc/joerc:@sysconfdir@/joe/joerc:' -i joerc.in - for i in jmacsrc.in jpicorc.in jstarrc.in rjoerc.in joe.1.in - do - sed -e 's:@sysconfdir@/:@sysconfdir@/joe/:' -i ${i} - done -} - -src_compile() { - # Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os) - replace-flags "-Os" "-O2" - - econf || die - emake || die -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - dodoc ChangeLog HINTS INFO LIST NEWS README TODO -} - -pkg_postinst() { - elog - elog "Global configuration has been moved from /etc to /etc/joe." - elog "You should move or remove your old configuration files." - elog -} diff --git a/app-editors/joe/joe-3.4.ebuild b/app-editors/joe/joe-3.4.ebuild deleted file mode 100644 index 9038e7567e85..000000000000 --- a/app-editors/joe/joe-3.4.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.4.ebuild,v 1.5 2008/01/26 15:51:30 grobian Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" -HOMEPAGE="http://sourceforge.net/projects/joe-editor/" -SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="xterm" - -DEPEND=">=sys-libs/ncurses-5.2-r2" -RDEPEND="xterm? ( >=x11-terms/xterm-215-r1 )" - -pkg_setup() { - if use xterm && ! built_with_use x11-terms/xterm paste64; then - die "For full xterm clipboard support build x11-terms/xterm with USE=paste64" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}"/rc - - # This has since been fixed upstream, so remove it at the next version bump - sed -e 's:/home/Joe/etc/joe:@JOERC@:' -i joerc.in || die "sed failed" - - # Enable xterm mouse support in the rc files - if use xterm; then - for i in *rc*.in; do - sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed" - done - fi -} - -src_compile() { - # Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os) - replace-flags "-Os" "-O2" - - econf || die - emake || die -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - dodoc ChangeLog HACKING HINTS LIST NEWS README TODO - # remove superfluous documentation, fixes bug #116861 - rm -rf "${D}"/etc/joe/doc -} - -pkg_postinst() { - if use xterm; then - elog "To enable full xterm clipboard you need to set the allowWindowOps" - elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm" - elog "This is false by default due to potential security problems on some" - elog "architectures (see bug #91453)." - fi -} |