summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-01-09 10:04:21 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-01-09 10:04:21 +0000
commit7ad72f92950dee0b3a092f93cafa9ec137ed8bd1 (patch)
tree50937ebc7af76c7f769fd501b7bd59ef2efa87fe /app-emacs
parentMove the gnome-python-desktop dependency behind gnome USE flag, as it pulls i... (diff)
downloadgentoo-2-7ad72f92950dee0b3a092f93cafa9ec137ed8bd1.tar.gz
gentoo-2-7ad72f92950dee0b3a092f93cafa9ec137ed8bd1.tar.bz2
gentoo-2-7ad72f92950dee0b3a092f93cafa9ec137ed8bd1.zip
apply patch to prevent permissions of /dev/null to be changed, see bug #160551, reported and provided by Hans Halvorson <hhalvors@princeton.edu>; add some quotes around variables
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/tramp/ChangeLog13
-rw-r--r--app-emacs/tramp/files/digest-tramp-2.1.7-r13
-rw-r--r--app-emacs/tramp/files/tramp-2.1.7-160551_dev-null_correct_permissions.patch11
-rw-r--r--app-emacs/tramp/tramp-2.1.7-r1.ebuild46
4 files changed, 71 insertions, 2 deletions
diff --git a/app-emacs/tramp/ChangeLog b/app-emacs/tramp/ChangeLog
index 91479f1422e1..87992cb1e41b 100644
--- a/app-emacs/tramp/ChangeLog
+++ b/app-emacs/tramp/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-emacs/tramp
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/tramp/ChangeLog,v 1.23 2006/12/09 22:52:26 mkennedy Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/tramp/ChangeLog,v 1.24 2007/01/09 10:04:21 opfer Exp $
+
+*tramp-2.1.7-r1 (09 Jan 2007)
+
+ 09 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
+ +files/tramp-2.1.7-160551_dev-null_correct_permissions.patch,
+ +tramp-2.1.7-r1.ebuild:
+ apply patch to prevent permissions of /dev/null to be changed, see bug
+ #160551, reported and provided by Hans Halvorson <hhalvors@princeton.edu>;
+ add some quotes around variables
*tramp-2.1.7 (09 Dec 2006)
diff --git a/app-emacs/tramp/files/digest-tramp-2.1.7-r1 b/app-emacs/tramp/files/digest-tramp-2.1.7-r1
new file mode 100644
index 000000000000..93f5293ef06a
--- /dev/null
+++ b/app-emacs/tramp/files/digest-tramp-2.1.7-r1
@@ -0,0 +1,3 @@
+MD5 afb9d8c2dec35966e8ee093ba17697ba tramp-2.1.7.tar.gz 287084
+RMD160 ec1812b24c2ba187c4e6e18cfe2267600b3c49c2 tramp-2.1.7.tar.gz 287084
+SHA256 11d4d5c4ac2169fde263ec7482d409133486997d8b5459d4307294584bce4b8b tramp-2.1.7.tar.gz 287084
diff --git a/app-emacs/tramp/files/tramp-2.1.7-160551_dev-null_correct_permissions.patch b/app-emacs/tramp/files/tramp-2.1.7-160551_dev-null_correct_permissions.patch
new file mode 100644
index 000000000000..d77ec3adfd6a
--- /dev/null
+++ b/app-emacs/tramp/files/tramp-2.1.7-160551_dev-null_correct_permissions.patch
@@ -0,0 +1,11 @@
+--- tramp/configure.ac 2007-01-08 12:59:46.000000000 -0500
++++ tramp/configure.ac 2007-01-08 13:33:08.000000000 -0500
+@@ -97,7 +97,7 @@
+ AC_MSG_WARN([texi2dvi not found])
+ else
+ AC_MSG_CHECKING([for reasonable texi2dvi version])
+- ${TEXI2DVI} -b -q -c -o /dev/null texi/test.texi 2>/dev/null >/dev/null
++ ${TEXI2DVI} -b -q -c texi/test.texi 2>/dev/null >/dev/null
+ if test $? -eq 0; then
+ AC_MSG_RESULT([ok])
+ else
diff --git a/app-emacs/tramp/tramp-2.1.7-r1.ebuild b/app-emacs/tramp/tramp-2.1.7-r1.ebuild
new file mode 100644
index 000000000000..5915149cedc9
--- /dev/null
+++ b/app-emacs/tramp/tramp-2.1.7-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/tramp/tramp-2.1.7-r1.ebuild,v 1.1 2007/01/09 10:04:21 opfer Exp $
+
+inherit elisp eutils
+
+DESCRIPTION="edit remote files like ange-ftp but with rlogin, telnet and/or ssh"
+HOMEPAGE="http://savannah.nongnu.org/projects/tramp/"
+SRC_URI="ftp://ftp.gnu.org/gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-160551_dev-null_correct_permissions.patch"
+}
+
+# this is needed; elisp.eclass redefines src_compile() from portage default
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ dodir /usr/share/info
+ dodir /usr/share/emacs/etc
+ dodir /usr/share/emacs/site-lisp/tramp
+
+ einstall lispdir="${D}/usr/share/emacs/site-lisp/tramp" || die
+
+ mv "${D}/usr/share/info/tramp" "${D}/usr/share/info/tramp-info"
+
+ dohtml texi/*.html
+ if [ -f texi/tramp.dvi ] ; then
+ insinto /usr/share/doc/${PF}
+ doins texi/tramp.dvi
+ fi
+
+ elisp-site-file-install "${FILESDIR}/50tramp-gentoo.el"
+
+ dodoc README ChangeLog CONTRIBUTORS
+}