diff options
author | Michael Imhof <tantive@gentoo.org> | 2005-08-09 20:53:29 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2005-08-09 20:53:29 +0000 |
commit | a29184a0a018d1db7be021b7dac0f0a7967bafb5 (patch) | |
tree | 0902335a036936185f8961ac7d489678bead61d9 /sys-cluster/xpvm | |
parent | work around portage bug: described in bug #73527 (diff) | |
download | gentoo-2-a29184a0a018d1db7be021b7dac0f0a7967bafb5.tar.gz gentoo-2-a29184a0a018d1db7be021b7dac0f0a7967bafb5.tar.bz2 gentoo-2-a29184a0a018d1db7be021b7dac0f0a7967bafb5.zip |
Bumped revision, closes #97184.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-cluster/xpvm')
-rw-r--r-- | sys-cluster/xpvm/ChangeLog | 10 | ||||
-rw-r--r-- | sys-cluster/xpvm/Manifest | 17 | ||||
-rw-r--r-- | sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4 | 1 | ||||
-rw-r--r-- | sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch | 22 | ||||
-rw-r--r-- | sys-cluster/xpvm/xpvm-1.2.5-r4.ebuild | 70 |
5 files changed, 106 insertions, 14 deletions
diff --git a/sys-cluster/xpvm/ChangeLog b/sys-cluster/xpvm/ChangeLog index 221fde41269c..a45ce4e8c7f0 100644 --- a/sys-cluster/xpvm/ChangeLog +++ b/sys-cluster/xpvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-cluster/xpvm -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/xpvm/ChangeLog,v 1.11 2004/09/19 19:48:26 tantive Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/xpvm/ChangeLog,v 1.12 2005/08/09 20:53:29 tantive Exp $ + +*xpvm-1.2.5-r4 (09 Aug 2005) + + 09 Aug 2005; Michael Imhof <tantive@gentoo.org> + +files/xpvm-1.2.5-secure-temp.patch, +xpvm-1.2.5-r4.ebuild: + Bumped revision, closes #97184. 19 Sep 2004; Michael Imhof <tantive@gentoo.org> -xpvm-1.2.5-r1.ebuild, -xpvm-1.2.5.ebuild: diff --git a/sys-cluster/xpvm/Manifest b/sys-cluster/xpvm/Manifest index 7654ae812085..255543880f1f 100644 --- a/sys-cluster/xpvm/Manifest +++ b/sys-cluster/xpvm/Manifest @@ -1,17 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 0c3a6ae7bb004df97f24c3d0bb690ff1 xpvm-1.2.5-r4.ebuild 1682 +MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 MD5 3c55a9b59e0402fd04bef10354fb978d xpvm-1.2.5-r3.ebuild 1634 -MD5 8a378ff84cd6e0cfd86f7c01ebf0fade xpvm-1.2.5-r2.ebuild 1502 MD5 06885f8cbfd4fdc9638f7b6a88998f04 ChangeLog 2005 -MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 +MD5 8a378ff84cd6e0cfd86f7c01ebf0fade xpvm-1.2.5-r2.ebuild 1502 +MD5 6438da27b6054eb5470d7d647bbea504 files/xpvm-1.2.5-secure-temp.patch 654 MD5 915d49a269c55c9d68cf0d7d30f1b272 files/digest-xpvm-1.2.5-r2 63 +MD5 915d49a269c55c9d68cf0d7d30f1b272 files/digest-xpvm-1.2.5-r4 63 MD5 915d49a269c55c9d68cf0d7d30f1b272 files/digest-xpvm-1.2.5-r3 63 MD5 d35a792494704198c2d97ff3e4b9e033 files/xpvm-1.2.5-gentoo.diff 2904 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFBw2lpI1lqEGTUzyQRApKiAKDDndOiaHXN5FmYEpV6U+ljVOIGlACcDXAA -sXlBVU35CN1GMjD8IxXVJ7s= -=xp2+ ------END PGP SIGNATURE----- diff --git a/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4 b/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4 new file mode 100644 index 000000000000..b9694694f22c --- /dev/null +++ b/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4 @@ -0,0 +1 @@ +MD5 7b20143cb2ff61e3cb28baf8f9cb2770 XPVM.src.1.2.5.tgz 196004 diff --git a/sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch b/sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch new file mode 100644 index 000000000000..958717ecdec6 --- /dev/null +++ b/sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch @@ -0,0 +1,22 @@ +diff -Naur xpvm.orig/src/xpvm.tcl xpvm/src/xpvm.tcl +--- xpvm.orig/src/xpvm.tcl 1998-04-09 16:12:32.000000000 -0500 ++++ xpvm/src/xpvm.tcl 2005-07-29 19:02:33.776588864 -0500 +@@ -829,7 +829,17 @@ + + set tfck [ info exists trace_file ] + +-if { $tfck == 0 } { set trace_file "/tmp/xpvm.trace.$user" } ++if { $tfck == 0 } { ++ if {$tcl_platform(platform) != "unix"} { ++ puts stderr "fatal error, secure temp file creation not available" ++ exit 1 ++ } ++ catch {exec /bin/tempfile} trace_file ++ if {[file exist $trace_file] != 1} { ++ puts stderr "fatal error, secure temp file creation not available" ++ exit 1 ++ } ++} + + $CTRL.file_entry insert 0 $trace_file + diff --git a/sys-cluster/xpvm/xpvm-1.2.5-r4.ebuild b/sys-cluster/xpvm/xpvm-1.2.5-r4.ebuild new file mode 100644 index 000000000000..c45fc34b81e3 --- /dev/null +++ b/sys-cluster/xpvm/xpvm-1.2.5-r4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/xpvm/xpvm-1.2.5-r4.ebuild,v 1.1 2005/08/09 20:53:29 tantive Exp $ + +inherit eutils + +DESCRIPTION="XPVM: A graphical console and monitor for PVM" +SRC_URI="http://www.netlib.org/pvm3/xpvm/XPVM.src.1.2.5.tgz" +HOMEPAGE="http://www.csm.ornl.gov/pvm/pvm_home.html" +IUSE="" + +DEPEND=">=sys-cluster/pvm-3.4.1-r1 + dev-lang/tcl + dev-lang/tk" +RDEPEND="" + +SLOT="0" +KEYWORDS="x86 ppc" +LICENSE="LGPL-2" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/xpvm-1.2.5-gentoo.diff + epatch ${FILESDIR}/xpvm-1.2.5-secure-temp.patch +} + +src_compile() { + export XPVM_ROOT="${WORKDIR}/xpvm" + + cd ${WORKDIR}/xpvm + + if [ -z "${PVM_ROOT}" ] + then + die "PVM_ROOT variable not set. Please run env-update and source /etc/profile." + elif [ -z "${PVM_ARCH}" ] + then + die "PVM_ARCH variable not set. Please run env-update and source /etc/profile." + fi + + emake xpvm || die +} + +src_install() { + XPVM_ROOT=${PVM_ROOT}/xpvm + + cd ${WORKDIR}/xpvm + dodir ${PVM_ROOT}/xpvm + dodir ${PVM_ROOT}/bin/${PVM_ARCH} + dodir /usr/bin + + #create symlinks to xpvm binary + dosym ${XPVM_ROOT}/src/${PVM_ARCH}/xpvm ${PVM_ROOT}/bin/${PVM_ARCH}/xpvm + dosym ${XPVM_ROOT}/src/${PVM_ARCH}/xpvm /usr/bin/xpvm + + #install headers and libs and binary + cp ${WORKDIR}/xpvm ${D}/${PVM_ROOT} -r + + #environment variables: + touch ${T}/97xpvm + echo XPVM_ROOT=/usr/local/pvm3/xpvm/src >> ${T}/97xpvm + insinto /etc/env.d + doins ${T}/97xpvm + + dodoc README +} + +pkg_postinst() { + ewarn "Environment Variables have changed. Do not forget to reboot or perform" + ewarn "source /etc/profile before using xpvm !" +} |