diff options
author | 2013-08-22 07:45:52 +0200 | |
---|---|---|
committer | 2013-08-22 07:45:52 +0200 | |
commit | 2c8d064b367a44723b9b557fb1edca59387edf49 (patch) | |
tree | 762432f58f66cfa663464bd506f40bd73a8a812d /app-shells/pdsh | |
parent | initial setup (diff) | |
download | wschlich-2c8d064b367a44723b9b557fb1edca59387edf49.tar.gz wschlich-2c8d064b367a44723b9b557fb1edca59387edf49.tar.bz2 wschlich-2c8d064b367a44723b9b557fb1edca59387edf49.zip |
added all ebuilds from my old svn repository
Diffstat (limited to 'app-shells/pdsh')
-rw-r--r-- | app-shells/pdsh/ChangeLog | 20 | ||||
-rw-r--r-- | app-shells/pdsh/Manifest | 4 | ||||
-rw-r--r-- | app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch | 56 | ||||
-rw-r--r-- | app-shells/pdsh/pdsh-2.18-r9999.ebuild | 63 |
4 files changed, 143 insertions, 0 deletions
diff --git a/app-shells/pdsh/ChangeLog b/app-shells/pdsh/ChangeLog new file mode 100644 index 0000000..4184bbb --- /dev/null +++ b/app-shells/pdsh/ChangeLog @@ -0,0 +1,20 @@ +# ChangeLog for app-shells/pdsh +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 12 May 2010; Wolfram Schlich <wschlich@gentoo.org> + -files/pdsh-2.14-gcc-4.3-unistd.h.patch, + -files/pdsh-2.14-glibc-2.8-ARG_MAX.patch, + +files/pdsh-2.18-unbundle-libtool.patch, -pdsh-2.16-r9999.ebuild, + +pdsh-2.18-r9999.ebuild: + version bump + + 23 Jul 2008; Wolfram Schlich <wschlich@gentoo.org> pdsh-2.16-r9999.ebuild: + Mark ebuild stable + + 03 Jul 2008; Wolfram Schlich <wschlich@gentoo.org> + +files/pdsh-2.14-gcc-4.3-unistd.h.patch, + +files/pdsh-2.14-glibc-2.8-ARG_MAX.patch, -pdsh-2.14-r1.ebuild, + +pdsh-2.16-r9999.ebuild: + version bump + diff --git a/app-shells/pdsh/Manifest b/app-shells/pdsh/Manifest new file mode 100644 index 0000000..44f0778 --- /dev/null +++ b/app-shells/pdsh/Manifest @@ -0,0 +1,4 @@ +AUX pdsh-2.18-unbundle-libtool.patch 1738 RMD160 d39cc9886a64743ba390d0f5861cf263cb7ee588 SHA1 146b45eb53a4f1674e18c122a72f457ab9b6188b SHA256 72253852315ea3c19dffa9d62b5e280efffc32d64473c82b66d913db7216f349 +DIST pdsh-2.18.tar.bz2 453729 RMD160 41c1309bf4090a8dc936435499a352d585900fd7 SHA1 120f1c83490b56c7f695d8bf9feb96bcfb75e7e3 SHA256 8c94acb17b4af8a9f553db180b4d5745c9c98844a5dc070e2ce80590e8e8a539 +EBUILD pdsh-2.18-r9999.ebuild 1736 RMD160 298b960d0f10e29a75b3afc09b4dfb83547613be SHA1 74cd1bbb47b023b10fcb4369d96b3d8befa67976 SHA256 68032b3a71449fc0887e2a163ea03ff64434bacd76a8b19f1feae3d21d729ad9 +MISC ChangeLog 671 RMD160 a92d19ca6eb376d23728592675a27f83c0088ec6 SHA1 d953fb1dcfd662f68392aad6e5ed167ebfe6a4ed SHA256 85b93084b4b41f9023b6d99331bb7d085f5bdfb3af63bfb1e2e3fb908de8c3ba diff --git a/app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch b/app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch new file mode 100644 index 0000000..e73fb12 --- /dev/null +++ b/app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch @@ -0,0 +1,56 @@ +From d055c4e9e2d414c9d51f7a6f2cf51cedfc79260f Mon Sep 17 00:00:00 2001 +From: Justin Bronder <jsbronder@gmail.com> +Date: Tue, 6 Apr 2010 11:48:28 -0400 +Subject: [PATCH] unbundle libtool + +Bundled libltdl is vulnerable, CVE-2009-3736. +Patch grabbed from Debian: +http://ftp.de.debian.org/debian/pool/main/p/pdsh/pdsh_2.18-6.debian.tar.gz +--- + configure.ac | 6 ++++-- + src/pdsh/Makefile.am | 5 ++--- + 2 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 2680344..196356b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -38,8 +38,10 @@ AC_DEBUG + # Libtool and ltld.[ch] support + # + AC_LIBTOOL_DLOPEN +-AC_PROG_LIBTOOL +-AC_LIB_LTDL ++LT_INIT ++AC_SUBST(LT_CURRENT) ++AC_SUBST(LT_REVISION) ++AC_SUBST(LT_AGE) + + AM_CONDITIONAL(WITH_GNU_LD, test "$with_gnu_ld" = "yes") + +diff --git a/src/pdsh/Makefile.am b/src/pdsh/Makefile.am +index dfc48a3..beac854 100644 +--- a/src/pdsh/Makefile.am ++++ b/src/pdsh/Makefile.am +@@ -14,8 +14,7 @@ if WITH_STATIC_MODULES + MODULE_LIBS = $(top_builddir)/src/modules/libmods.la + else + MODULE_FLAGS = -export-dynamic $(AIX_PDSH_LDFLAGS) +-LTDL_FILES = ltdl.h ltdl.c +-LTDL_LDADD = $(LIBADD_DL) ++LTDL_LDADD = $(LIBADD_DL) -lltdl + endif + + pdsh_LDADD = $(READLINE_LIBS) $(LTDL_LDADD) +@@ -25,7 +24,7 @@ pdsh_LDFLAGS = $(MODULE_LIBS) $(MODULE_FLAGS) \ + pdsh_inst_LDADD = $(pdsh_LDADD) + pdsh_inst_LDFLAGS = $(pdsh_LDFLAGS) + +-pdsh_SOURCES = $(PDSH_SOURCES) $(LTDL_FILES) ++pdsh_SOURCES = $(PDSH_SOURCES) + pdsh_inst_SOURCES = $(pdsh_SOURCES) + nodist_pdsh_SOURCES = testconfig.c + nodist_pdsh_inst_SOURCES = config.c +-- +1.6.6.2 + diff --git a/app-shells/pdsh/pdsh-2.18-r9999.ebuild b/app-shells/pdsh/pdsh-2.18-r9999.ebuild new file mode 100644 index 0000000..da1a67f --- /dev/null +++ b/app-shells/pdsh/pdsh-2.18-r9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/pdsh/pdsh-2.18-r1.ebuild,v 1.3 2010/04/22 17:08:14 ssuominen Exp $ + +EAPI="2" + +inherit eutils autotools + +DESCRIPTION="A high-performance, parallel remote shell utility." +HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="crypt readline rsh" +RDEPEND="crypt? ( net-misc/openssh ) + rsh? ( net-misc/netkit-rsh ) + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND}" + +# Feel free to debug the test suite. Running the tests +# by hand instead of using pdsh.exp seems to print out +# what is expected, so the error is most likely in the +# testsuite itself. +# You'll also need dev-util/dejagnu +RESTRICT="test" + +pkg_setup() { + local m + local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:" + + PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}" + MODULE_CONFIG="" + for m in ${PDSH_MODULE_LIST}; do + if [[ "${valid_modules}" == *:${m}:* ]]; then + MODULE_CONFIG="${MODULE_CONFIG} --with-${m}" + fi + done + + elog "Building ${PF} with the following modules:" + elog " ${PDSH_MODULE_LIST}" + elog "This list can be changed in /etc/make.conf by setting" + elog "PDSH_MODULE_LIST=\"module1 module2...\"" +} + +src_prepare() { + epatch "${FILESDIR}"/pdsh-2.18-unbundle-libtool.patch + eautoreconf +} + +src_configure() { + econf ${MODULE_CONFIG} \ + --with-machines \ + --with-dshgroups \ + $(use_with crypt ssh) \ + $(use_with rsh) \ + $(use_with readline) \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |