diff options
author | 2007-04-09 16:26:01 +0000 | |
---|---|---|
committer | 2007-04-09 16:26:01 +0000 | |
commit | 8b0ba0ad1b856a101f0fa052b0bf6d83cb1e24da (patch) | |
tree | 146a2711ad918a2a7b30c5b67b0aaf033a0dc847 | |
parent | net-dns/dnrd-2.20.3 in portage (diff) | |
download | masterdriverz-8b0ba0ad1b856a101f0fa052b0bf6d83cb1e24da.tar.gz masterdriverz-8b0ba0ad1b856a101f0fa052b0bf6d83cb1e24da.tar.bz2 masterdriverz-8b0ba0ad1b856a101f0fa052b0bf6d83cb1e24da.zip |
patch and updated ebuild for bug 151293
svn path=/; revision=29
-rw-r--r-- | app-misc/slmon/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/slmon/Manifest | 12 | ||||
-rw-r--r-- | app-misc/slmon/files/digest-slmon-0.5.13 | 3 | ||||
-rw-r--r-- | app-misc/slmon/files/slmon-0.5.13-invalid-free.patch | 16 | ||||
-rw-r--r-- | app-misc/slmon/slmon-0.5.13.ebuild | 35 |
5 files changed, 74 insertions, 0 deletions
diff --git a/app-misc/slmon/ChangeLog b/app-misc/slmon/ChangeLog new file mode 100644 index 0000000..f5c4f0f --- /dev/null +++ b/app-misc/slmon/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-misc/slmon +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 09 Apr 2007; Ali Polatel (hawking) <polatel@gmail.com> + +slmon-0.5.13.ebuild, +files/slmon-0.5.13-invalid-free.patch: + patch and new ebuild for bug 151293 + diff --git a/app-misc/slmon/Manifest b/app-misc/slmon/Manifest new file mode 100644 index 0000000..b5c4507 --- /dev/null +++ b/app-misc/slmon/Manifest @@ -0,0 +1,12 @@ +AUX slmon-0.5.13-invalid-free.patch 429 RMD160 20486b35f1c2e126bd5c8dd9a83a99c617d94308 SHA1 2bbb56783d1768e567062cc58c89f5140d1dda64 SHA256 7d5a9677d7b856e10dacae147c3c902d494763313c46abed61be98baf2d44c58 +MD5 75989e9c2a80eb87cc7de9456e9a0cce files/slmon-0.5.13-invalid-free.patch 429 +RMD160 20486b35f1c2e126bd5c8dd9a83a99c617d94308 files/slmon-0.5.13-invalid-free.patch 429 +SHA256 7d5a9677d7b856e10dacae147c3c902d494763313c46abed61be98baf2d44c58 files/slmon-0.5.13-invalid-free.patch 429 +DIST slmon-0.5.13.tar.gz 103826 RMD160 e60d2c645955cc49e3b32d89f1ea199623176c73 SHA1 b425b400d8a7d30092ace2ca4d8a9bc1899104eb SHA256 dc38740e4e0cccb86ccf76aaad5734d7d1e42e144615ee09bc8c8c9290110b28 +EBUILD slmon-0.5.13.ebuild 723 RMD160 7a1d1f529cec82f5897eb613cc02b3225c21b939 SHA1 050d029dc4945c24eca0b4f6c7f56672cb689b8d SHA256 f7fb5aa5b8889d8f79e1c7a7709cab7f9c14056f260e626e963593ebc0288cd6 +MD5 362c268119538ed14d1d7606290cbed2 slmon-0.5.13.ebuild 723 +RMD160 7a1d1f529cec82f5897eb613cc02b3225c21b939 slmon-0.5.13.ebuild 723 +SHA256 f7fb5aa5b8889d8f79e1c7a7709cab7f9c14056f260e626e963593ebc0288cd6 slmon-0.5.13.ebuild 723 +MD5 f5936b51df7276faf32a7edd184d98c1 files/digest-slmon-0.5.13 238 +RMD160 77a2987079c01a84d7612613329302488731ee78 files/digest-slmon-0.5.13 238 +SHA256 b044a5d74b61968517f843778320423bdf2103550f46fa06b974feee826e0e3b files/digest-slmon-0.5.13 238 diff --git a/app-misc/slmon/files/digest-slmon-0.5.13 b/app-misc/slmon/files/digest-slmon-0.5.13 new file mode 100644 index 0000000..c848e4d --- /dev/null +++ b/app-misc/slmon/files/digest-slmon-0.5.13 @@ -0,0 +1,3 @@ +MD5 9907c53e26b8dfb5d33af6da32ed89e3 slmon-0.5.13.tar.gz 103826 +RMD160 e60d2c645955cc49e3b32d89f1ea199623176c73 slmon-0.5.13.tar.gz 103826 +SHA256 dc38740e4e0cccb86ccf76aaad5734d7d1e42e144615ee09bc8c8c9290110b28 slmon-0.5.13.tar.gz 103826 diff --git a/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch b/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch new file mode 100644 index 0000000..9728492 --- /dev/null +++ b/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch @@ -0,0 +1,16 @@ +--- rc.c.orig 2004-06-20 18:56:48.000000000 +0300 ++++ rc.c 2007-04-09 19:14:05.000000000 +0300 +@@ -177,9 +177,10 @@ + char *home, dotrc[1024] = { 0 }; + + home = getenv("HOME"); +- strcpy(dotrc, home); +- strcat(dotrc, "/.slmonrc"); +- free(home); ++ if ( home != NULL ) { ++ strcpy(dotrc, home); ++ strcat(dotrc, "/.slmonrc"); ++ } + + if ((f = fopen("/etc/slmonrc", "r")) != NULL) { + slmon_conf_parse(f); diff --git a/app-misc/slmon/slmon-0.5.13.ebuild b/app-misc/slmon/slmon-0.5.13.ebuild new file mode 100644 index 0000000..b166463 --- /dev/null +++ b/app-misc/slmon/slmon-0.5.13.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Colored text-based system performance monitor" +HOMEPAGE="http://slmon.sourceforge.net/" +SRC_URI="http://slmon.sourceforge.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="debug" + +DEPEND=">=dev-libs/glib-2 + sys-libs/slang + gnome-base/libgtop" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-invalid-free.patch" +} +src_compile() { + econf $(use_enable debug) + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog INSTALL README TODO +} |