apply patch to prevent permissions of /dev/null to be changed, see bug #160551, repor...
authorChristian Faulhammer <fauli@gentoo.org>
Tue, 9 Jan 2007 10:04:21 +0000 (10:04 +0000)
committerChristian Faulhammer <fauli@gentoo.org>
Tue, 9 Jan 2007 10:04:21 +0000 (10:04 +0000)
Package-Manager: portage-2.1.1-r2

app-emacs/tramp/ChangeLog
app-emacs/tramp/Manifest
app-emacs/tramp/files/digest-tramp-2.1.7-r1 [new file with mode: 0644]
app-emacs/tramp/files/tramp-2.1.7-160551_dev-null_correct_permissions.patch [new file with mode: 0644]
app-emacs/tramp/tramp-2.1.7-r1.ebuild [new file with mode: 0644]

index 91479f1422e14093ea547a8c6fba8f5e5dcee640..87992cb1e41b8a481f38056e12158680cd99441b 100644 (file)
@@ -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)
 
index c996de7c547bf696cd8a28319188275ef4942a0a..d60fb4bc80d6e1dfecd1a19e61ac37f82182fb27 100644 (file)
@@ -5,6 +5,10 @@ AUX 50tramp-gentoo.el 224 RMD160 31011213f6c5fb5eb50e2616064c133a26d09983 SHA1 d
 MD5 186cf5a8bff478f78845953a8f128c3a files/50tramp-gentoo.el 224
 RMD160 31011213f6c5fb5eb50e2616064c133a26d09983 files/50tramp-gentoo.el 224
 SHA256 f14acf6ddc4f9721c5385edd71af456f4cbbaa572ebe6bbfd1dc241aaed552a4 files/50tramp-gentoo.el 224
+AUX tramp-2.1.7-160551_dev-null_correct_permissions.patch 437 RMD160 2158881e66d6db472aa7980c98565ff005065516 SHA1 849c37184aaf00406ba5484b9333071ca8de7060 SHA256 7de6d218ec665ae4e5f506343e185fff8f69c004bd07a5559316a35ad007fc9e
+MD5 12b4f64d53579ba77ccffd889fdfd08f files/tramp-2.1.7-160551_dev-null_correct_permissions.patch 437
+RMD160 2158881e66d6db472aa7980c98565ff005065516 files/tramp-2.1.7-160551_dev-null_correct_permissions.patch 437
+SHA256 7de6d218ec665ae4e5f506343e185fff8f69c004bd07a5559316a35ad007fc9e files/tramp-2.1.7-160551_dev-null_correct_permissions.patch 437
 DIST tramp-2.0.44.tar.gz 288405
 DIST tramp-2.0.45.tar.gz 289785
 DIST tramp-2.0.53.tar.gz 269795 RMD160 412d177cdad54746f66fcd2324b51f7e3f45df0d SHA1 d2163cd95f55f75b2a8bd253c51a2a37a1839464 SHA256 891ec2951ae9fa5e3e3307e638b2f788b1491022672c8a398af56eca2a64ffc8
@@ -31,14 +35,18 @@ EBUILD tramp-2.1.6.ebuild 1056 RMD160 fa2f1f330c39864b50c3c37e7774ec6989b8d988 S
 MD5 b0285300af784c4b430c972640920f2c tramp-2.1.6.ebuild 1056
 RMD160 fa2f1f330c39864b50c3c37e7774ec6989b8d988 tramp-2.1.6.ebuild 1056
 SHA256 ebfb05585c968aef94ffd51691576ea8a7619ed3c783e77b249e7c92446704e3 tramp-2.1.6.ebuild 1056
+EBUILD tramp-2.1.7-r1.ebuild 1185 RMD160 2f50304bb586c164fe0f29fbe0ff77573616ed16 SHA1 05ca3cd9d0020f8c4c39429cba12823e4f36d9ea SHA256 2fa80a862f21c40e372b93e59813735a1af92759480f01cbdd7dd56d347a9e95
+MD5 50e178ab2953d0f729e54fc68fb685d8 tramp-2.1.7-r1.ebuild 1185
+RMD160 2f50304bb586c164fe0f29fbe0ff77573616ed16 tramp-2.1.7-r1.ebuild 1185
+SHA256 2fa80a862f21c40e372b93e59813735a1af92759480f01cbdd7dd56d347a9e95 tramp-2.1.7-r1.ebuild 1185
 EBUILD tramp-2.1.7.ebuild 1059 RMD160 a2de662d62e9af7af7ff64497e524b1fd4e6752e SHA1 0e3bdba82ae2b65c00f35d427c91a78c6a991f13 SHA256 06a4c5a044aee5390e63b5335393f485093e510b356d4c6b2c0d271be5790e32
 MD5 4f61fdac1b767cf5c1af461df68bf85b tramp-2.1.7.ebuild 1059
 RMD160 a2de662d62e9af7af7ff64497e524b1fd4e6752e tramp-2.1.7.ebuild 1059
 SHA256 06a4c5a044aee5390e63b5335393f485093e510b356d4c6b2c0d271be5790e32 tramp-2.1.7.ebuild 1059
-MISC ChangeLog 3458 RMD160 6cfd062014ebd23b6ec3172c34a10eb9f2106f0f SHA1 d81591edcde4b0940917341d2a3fb4f6c41f8ca5 SHA256 4343b9de03d7a9e2bb1cffcc84ca388c2717fbee3385acc04eefab8476446c6e
-MD5 efb0d5beafd89c691d7a60a0cddacd6c ChangeLog 3458
-RMD160 6cfd062014ebd23b6ec3172c34a10eb9f2106f0f ChangeLog 3458
-SHA256 4343b9de03d7a9e2bb1cffcc84ca388c2717fbee3385acc04eefab8476446c6e ChangeLog 3458
+MISC ChangeLog 3817 RMD160 5e51fd607f52407459ee7b49c58f59fa8a078bdf SHA1 ca7b1e69f4faf34c5eee16724391bb7957448a0c SHA256 1d9a1fb6e0eddd65ab063dea007ef4662f680b3a1cdb029819ce5ef6be5c8391
+MD5 3051e004ff8119df99ebd343806a9883 ChangeLog 3817
+RMD160 5e51fd607f52407459ee7b49c58f59fa8a078bdf ChangeLog 3817
+SHA256 1d9a1fb6e0eddd65ab063dea007ef4662f680b3a1cdb029819ce5ef6be5c8391 ChangeLog 3817
 MISC metadata.xml 453 RMD160 329ac822d9a21d047ac0c765085bb7c4dd4758a1 SHA1 641519f7594dabaa79362cd579e3aff0156abdf3 SHA256 96edbc9507ae24bd2fef16d97a2a797abb42c2aec29a71a4313155c876a7ae5e
 MD5 b5ca1ca9f08348eddfce1f41e7ed1be8 metadata.xml 453
 RMD160 329ac822d9a21d047ac0c765085bb7c4dd4758a1 metadata.xml 453
@@ -61,10 +69,13 @@ SHA256 a743db1393879943272bb9b1cec6ebfbed949a0a3716a2584870ec3f60929e8f files/di
 MD5 14778b4fb343b5c5ebcfc99a3adf252b files/digest-tramp-2.1.7 235
 RMD160 9e4cfd3f34d7a66fbd7628edc9e1485c894010cc files/digest-tramp-2.1.7 235
 SHA256 955aa321766c2d240e6103e16ceb1c4df6eb1ff1315255ac85086d882f285c81 files/digest-tramp-2.1.7 235
+MD5 14778b4fb343b5c5ebcfc99a3adf252b files/digest-tramp-2.1.7-r1 235
+RMD160 9e4cfd3f34d7a66fbd7628edc9e1485c894010cc files/digest-tramp-2.1.7-r1 235
+SHA256 955aa321766c2d240e6103e16ceb1c4df6eb1ff1315255ac85086d882f285c81 files/digest-tramp-2.1.7-r1 235
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFez55yiNZaEAZA+ARAil2AJ9oZe8eFzG1Qdt20xgF4yIbhEEC+QCfd7j6
-Tdn2XN2fXID2c364P40GhHQ=
-=AO55
+iD8DBQFFo2iiNQqtfCuFneMRAiyLAJ45qMvOs0HYiLQWpWpauNowe7i/6ACbBjkY
+jU/39t7badcfN8qo1+tSaEo=
+=IyLv
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..93f5293
--- /dev/null
@@ -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 (file)
index 0000000..d77ec3a
--- /dev/null
@@ -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 (file)
index 0000000..5915149
--- /dev/null
@@ -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
+}