]> Pileus Git - ~andy/sunrise/commitdiff
sys-fs/e4rat: New ebuild to address bug 363207.
authorMartin Jackson <mjo@gentoo.org>
Tue, 12 Apr 2011 00:36:12 +0000 (00:36 +0000)
committerMartin Jackson <mjo@gentoo.org>
Tue, 12 Apr 2011 00:36:12 +0000 (00:36 +0000)
svn path=/sunrise/; revision=11886

sys-fs/e4rat/ChangeLog [new file with mode: 0644]
sys-fs/e4rat/Manifest [new file with mode: 0644]
sys-fs/e4rat/e4rat-0.2.ebuild [new file with mode: 0644]
sys-fs/e4rat/files/cmake_mkdir_violation_fix.patch [new file with mode: 0644]
sys-fs/e4rat/files/fix_manpage_source_path.patch [new file with mode: 0644]
sys-fs/e4rat/files/v0.2_as-needed_fix.patch [new file with mode: 0644]
sys-fs/e4rat/metadata.xml [new file with mode: 0644]

diff --git a/sys-fs/e4rat/ChangeLog b/sys-fs/e4rat/ChangeLog
new file mode 100644 (file)
index 0000000..6cdf76f
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/e4rat
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  12 Apr 2011; Michael Orlitzky <michael@orlitzky.com> +e4rat-0.2.ebuild,
+  +files/cmake_mkdir_violation_fix.patch,
+  +files/fix_manpage_source_path.patch, +files/v0.2_as-needed_fix.patch,
+  +metadata.xml:
+  New ebuild to address bug 363207.
+
diff --git a/sys-fs/e4rat/Manifest b/sys-fs/e4rat/Manifest
new file mode 100644 (file)
index 0000000..bfd8d1d
--- /dev/null
@@ -0,0 +1,7 @@
+AUX cmake_mkdir_violation_fix.patch 336 RMD160 7bcc09fbd70227b36b1dad5c8d89e5d4d2afe48c SHA1 7d5cafeeeaa6559140f335f880e0e7fb5d03d781 SHA256 b8df314c389637fd8ef44cabdb9e0c828494f5961db514e48808f9eb8a4a3810
+AUX fix_manpage_source_path.patch 560 RMD160 300929d68abc7ffddc6873e2ee37b5057c89f357 SHA1 b7dbec4e219d96b81f61716c272fcd26d9fe077a SHA256 5df42e9a7776e984d9918c69f101ce04e9a6b491935d07c60e2e704177185006
+AUX v0.2_as-needed_fix.patch 326 RMD160 58047be5b761d725dd95cbd883281c939393adc0 SHA1 2f7f655cbb16329946eb1312c0a8665ad2098d8d SHA256 d35da2282c1baf162c5c2554081e93f2a64a6638437bb6d04fc88c41dd3ce6e7
+DIST e4rat_0.2_src.tar.gz 71420 RMD160 d4a44f6cd0516b80768f24c913410597d3a61374 SHA1 80cd8194639d4c295b0298f63f707d18ff95fd28 SHA256 e494ca2536b4719ddc76306c17e0493e9c8b9b46e826ddd1a15d640bc9bbc38a
+EBUILD e4rat-0.2.ebuild 648 RMD160 158f48b8bb41b365ea15dbb1c22a26a0239fda95 SHA1 b1b0f6bfa087b44a9557792011412e0a933ee971 SHA256 977f68cb4710d2b9f8d24ea3c5ee4650bd605d8fd35241cd429ea867469cd279
+MISC ChangeLog 356 RMD160 896a998a73a4a74821c5cf9b5934511098d7cf2c SHA1 6469ac33529030c9502e2e1541c9f27bb92cd78d SHA256 9873b26aab0e38ee338bd492abdf649d79dcbaacfd34f612b1d896b765607126
+MISC metadata.xml 241 RMD160 d1bcf027ff9f0cf1953659be5b89b59522c6f063 SHA1 7dff00c0281f5ed66259645e76b04e8ab0241a77 SHA256 fb616eb93c0779c7c5dbf3b445656fb1636d6668443155cb95a8325cd988500f
diff --git a/sys-fs/e4rat/e4rat-0.2.ebuild b/sys-fs/e4rat/e4rat-0.2.ebuild
new file mode 100644 (file)
index 0000000..7c0ca7f
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit cmake-utils
+
+DESCRIPTION="Toolset to accelerate the boot process and application startup"
+HOMEPAGE="http://e4rat.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+       >=dev-libs/boost-1.41
+       sys-fs/e2fsprogs
+       sys-process/audit"
+
+RDEPEND="${DEPEND}"
+
+CMAKE_BUILD_TYPE=release
+PATCHES=( "${FILESDIR}/cmake_mkdir_violation_fix.patch"
+       "${FILESDIR}/v0.2_as-needed_fix.patch"
+       "${FILESDIR}/fix_manpage_source_path.patch" )
diff --git a/sys-fs/e4rat/files/cmake_mkdir_violation_fix.patch b/sys-fs/e4rat/files/cmake_mkdir_violation_fix.patch
new file mode 100644 (file)
index 0000000..d5a0997
--- /dev/null
@@ -0,0 +1,8 @@
+--- a/src/CMakeLists.txt       2011-04-09 06:16:48.000000000 -0400
++++ b/src/CMakeLists.txt       2011-04-10 15:16:20.397997585 -0400
+@@ -129,4 +129,4 @@
+         LIBRARY DESTINATION "lib"
+         ARCHIVE DESTINATION "lib")
+-INSTALL(CODE "MAKE_DIRECTORY(\"/var/lib/${PROJECT_NAME}\")")
++INSTALL(DIRECTORY DESTINATION "/var/lib/${PROJECT_NAME}")
diff --git a/sys-fs/e4rat/files/fix_manpage_source_path.patch b/sys-fs/e4rat/files/fix_manpage_source_path.patch
new file mode 100644 (file)
index 0000000..b031a67
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/doc/CMakeLists.txt       2011-04-11 20:08:30.871957979 -0400
++++ b/doc/CMakeLists.txt       2011-04-11 20:16:24.765291311 -0400
+@@ -25,7 +25,7 @@
+     TARGET ManPages 
+     SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/e4rat.conf.pod 
+     COMMAND pod2man ARGS ${CMAKE_CURRENT_SOURCE_DIR}/e4rat.conf.pod
+-                         ${CMAKE_CURRENT_SOURCE_DIR}/e4rat.conf.5
++                         ${CMAKE_CURRENT_BINARY_DIR}/e4rat.conf.5
+                        --section 5
+                          --center "User Manuals"
+                          --release "e4rat ${E4RAT_VERSION}"
diff --git a/sys-fs/e4rat/files/v0.2_as-needed_fix.patch b/sys-fs/e4rat/files/v0.2_as-needed_fix.patch
new file mode 100644 (file)
index 0000000..e297873
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/CMakeLists.txt       2011-04-10 15:31:31.679852960 -0400
++++ b/src/CMakeLists.txt       2011-04-10 15:31:20.528764626 -0400
+@@ -130,3 +130,7 @@
+         ARCHIVE DESTINATION "lib")
+ INSTALL(DIRECTORY DESTINATION "/var/lib/${PROJECT_NAME}")
++
++target_link_libraries(${PROJECT_NAME}-core
++    ${${PROJECT_NAME}_LIBRARIES}
++    )
diff --git a/sys-fs/e4rat/metadata.xml b/sys-fs/e4rat/metadata.xml
new file mode 100644 (file)
index 0000000..7ee8acd
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>no-herd</herd>
+  <maintainer>
+    <email>maintainer-wanted@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>