diff options
author | Justin Lecher <jlec@gentoo.org> | 2009-10-17 11:43:58 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2009-10-17 11:43:58 +0000 |
commit | 61e78d05077f1ca67dfe71a608ebc506907d2738 (patch) | |
tree | f48fc425e061aabd1a9fb9c2c5b2ddeb94f11fae /dev-util/launchtool | |
parent | x11-drivers/xf86-video-nouveau: new snapshot (diff) | |
download | sunrise-61e78d05077f1ca67dfe71a608ebc506907d2738.tar.gz sunrise-61e78d05077f1ca67dfe71a608ebc506907d2738.tar.bz2 sunrise-61e78d05077f1ca67dfe71a608ebc506907d2738.zip |
dev-util/launchtool: Initial commit, Thanks Tommmy[D] for commit okay
svn path=/sunrise/; revision=9382
Diffstat (limited to 'dev-util/launchtool')
-rw-r--r-- | dev-util/launchtool/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/launchtool/Manifest | 7 | ||||
-rw-r--r-- | dev-util/launchtool/files/0.7-Wall.patch | 11 | ||||
-rw-r--r-- | dev-util/launchtool/files/0.7-gcc4.4.patch | 56 | ||||
-rw-r--r-- | dev-util/launchtool/files/0.7-pid.patch | 11 | ||||
-rw-r--r-- | dev-util/launchtool/launchtool-0.7.ebuild | 33 | ||||
-rw-r--r-- | dev-util/launchtool/metadata.xml | 5 |
7 files changed, 132 insertions, 0 deletions
diff --git a/dev-util/launchtool/ChangeLog b/dev-util/launchtool/ChangeLog new file mode 100644 index 000000000..a88957f58 --- /dev/null +++ b/dev-util/launchtool/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-util/launchtool +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 17 Oct 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> + +files/0.7-Wall.patch, +launchtool-0.7.ebuild, +files/0.7-gcc4.4.patch, + +files/0.7-pid.patch, +metadata.xml: + Initial commit, written by me + pending bug is #289477 diff --git a/dev-util/launchtool/Manifest b/dev-util/launchtool/Manifest new file mode 100644 index 000000000..211c6b807 --- /dev/null +++ b/dev-util/launchtool/Manifest @@ -0,0 +1,7 @@ +AUX 0.7-Wall.patch 317 RMD160 397ec6b93b00044be49b8452b751bd5987fbc449 SHA1 44227ac0284e9193be216de2c3726310f7cf4a8e SHA256 56eeda35ef44ce53f3d877effabee346db46dcc9d8aecd569a250cd8c63a38c8 +AUX 0.7-gcc4.4.patch 1584 RMD160 c6924ad1164602353143736a2ae0ec16daf2a36e SHA1 58e842a7a83a9da96b890e6cb954226567054873 SHA256 5cbbc52099c6070cfe09974f1ab34e0f7f52d866a7854aa62a9c7293a088f9b6 +AUX 0.7-pid.patch 298 RMD160 dc9a368c9f65cef69250d69dc8aaa7b958a9bd32 SHA1 4136fae710421051db7651ad51303c9a363807ae SHA256 d3dff5e427489c60c922b28d9caad348e2f85f57f6a16a4bcd8bd3c92d1ca515 +DIST launchtool_0.7-1.tar.gz 131372 RMD160 c3a04d6f2e826854a83cecb37c0a8a1d77da5f6d SHA1 ebf4486073d06387f29b6b80c15a9451ac8d6aab SHA256 72a38e5dbec0ecffb1749e77531c60ed09c62ee96f4cf840f599414b1dfc3624 +EBUILD launchtool-0.7.ebuild 757 RMD160 64c3330e675f2f127e14ff26d1842deb2271c648 SHA1 6eae94ab9a44e7fbdac7a6dafe6d9b9dfaf1ef77 SHA256 f5bc4cba01e3789121db03a427194176da928c0c183bada6b98f75687bfee2bb +MISC ChangeLog 347 RMD160 6680811cb5da20edc00496354f285cd0e7973792 SHA1 7318c3af1de9706d4e7a79214da4ddb5ac7cb7e5 SHA256 c0b000bd5c932c9d46b6ea733038f5f013013e47b3d419305ab43152fecd2709 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-util/launchtool/files/0.7-Wall.patch b/dev-util/launchtool/files/0.7-Wall.patch new file mode 100644 index 000000000..9e1e00383 --- /dev/null +++ b/dev-util/launchtool/files/0.7-Wall.patch @@ -0,0 +1,11 @@ +--- configure.ac 2003-02-07 17:35:36.000000000 +0100 ++++ configure.ac.new 2009-10-17 10:24:14.000000000 +0200 +@@ -48,7 +48,7 @@ + dnl Look for libpopt + AC_CHECK_LIB(popt, poptGetContext) + +-CXXFLAGS="$CXXFLAGS -Wall -DPID_DIR='\"$piddir\"'" ++CXXFLAGS="$CXXFLAGS -DPID_DIR='\"$piddir\"'" + + AC_CONFIG_FILES([ + Makefile diff --git a/dev-util/launchtool/files/0.7-gcc4.4.patch b/dev-util/launchtool/files/0.7-gcc4.4.patch new file mode 100644 index 000000000..2588d6683 --- /dev/null +++ b/dev-util/launchtool/files/0.7-gcc4.4.patch @@ -0,0 +1,56 @@ +--- src/common/stringf.cc 2002-09-20 16:28:15.000000000 +0200 ++++ src/common/stringf.cc.new 2009-10-17 09:57:50.000000000 +0200 +@@ -2,6 +2,7 @@ + + #include "stringf.h" + ++#include <stdlib.h> + #include <stdio.h> + #include <stdarg.h> + +--- src/common/ChildProcess.cc 2003-02-07 17:35:45.000000000 +0100 ++++ src/common/ChildProcess.cc.new 2009-10-17 10:00:10.000000000 +0200 +@@ -2,6 +2,7 @@ + + #include <Logger.h> + ++#include <stdlib.h> + #include <sys/types.h> // fork, waitpid, kill, open, getpw*, getgr*, initgroups + #include <sys/stat.h> // open + #include <sys/resource.h> // getrlimit, setrlimit +--- src/common/Config.cc 2003-02-07 17:35:46.000000000 +0100 ++++ src/common/Config.cc,new 2009-10-17 10:00:54.000000000 +0200 +@@ -1,5 +1,6 @@ + #include "Config.h" + ++#include <stdlib.h> + #include <Exception.h> + //#include <Logger.h> + #include <Regex.h> +--- src/test.cc 2009-10-17 10:11:30.000000000 +0200 ++++ src/test.cc.new 2009-10-17 10:11:35.000000000 +0200 +@@ -1,3 +1,4 @@ ++#include <string.h> + #include <stdio.h> + #include <stringf.h> + #include <signal.h> +--- src/launchtool.cc 2009-10-17 10:12:45.000000000 +0200 ++++ src/launchtool.cc.new 2009-10-17 10:12:40.000000000 +0200 +@@ -18,6 +18,7 @@ + + #include <popt.h> + ++#include <string.h> + #include <stdio.h> + #include <stdarg.h> + #include <stdlib.h> // free +--- src/LaunchtoolCfg.h 2002-10-03 22:38:23.000000000 +0200 ++++ src/LaunchtoolCfg.h.new 2009-10-17 10:18:46.000000000 +0200 +@@ -1,6 +1,7 @@ + #ifndef LAUNCHTOOL_CFG_H + #define LAUNCHTOOL_CFG_H + ++#include <sys/stat.h> + #include <string> + #include <vector> + #include <set> diff --git a/dev-util/launchtool/files/0.7-pid.patch b/dev-util/launchtool/files/0.7-pid.patch new file mode 100644 index 000000000..6ec396d66 --- /dev/null +++ b/dev-util/launchtool/files/0.7-pid.patch @@ -0,0 +1,11 @@ +--- configure.ac 2009-10-17 10:31:55.000000000 +0200 ++++ configure.ac.new 2009-10-17 10:34:54.000000000 +0200 +@@ -32,7 +32,7 @@ + AC_LANG([C++]) + + dnl Directory containing pidfiles +-piddir="${localstatedir}/run" ++piddir="/var/run" + AC_SUBST(piddir) + + dnl Set DOC_DIR in config.h and in Makefile.* diff --git a/dev-util/launchtool/launchtool-0.7.ebuild b/dev-util/launchtool/launchtool-0.7.ebuild new file mode 100644 index 000000000..4c722746d --- /dev/null +++ b/dev-util/launchtool/launchtool-0.7.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="Runs a user-supplied command and can supervise its execution in many ways" +HOMEPAGE="http://people.debian.org/~enrico/launchtool.html" +SRC_URI="http://people.debian.org/~enrico/woody/source/${PN}_${PV}-1.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +IUSE="" + +RDEPEND="dev-libs/popt" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PV}-gcc4.4.patch \ + "${FILESDIR}"/${PV}-Wall.patch \ + "${FILESDIR}"/${PV}-pid.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README TODO || die + doman ${PN}.1 || die +} diff --git a/dev-util/launchtool/metadata.xml b/dev-util/launchtool/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/dev-util/launchtool/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |