# ChangeLog for sys-fs/e4rat
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/e4rat/ChangeLog,v 1.3 2011/12/11 21:58:42 mgorny Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e4rat/ChangeLog,v 1.4 2012/01/08 11:38:11 hwoarang Exp $
+
+*e4rat-0.2.1-r2 (08 Jan 2012)
+
+ 08 Jan 2012; Markos Chandras <hwoarang@gentoo.org> +e4rat-0.2.1-r2.ebuild:
+ Check for CONFIG_AUDITSYSCALL (#394321). Add link to upstream documentation
+ (#394323). Add note about prelink (#394325). Move binaries to /sbin
*e4rat-0.2.1-r1 (11 Dec 2011)
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX e4rat-libdir.patch 842 RMD160 1e45cdbd6a0403e2c88efb85118da5304766105d SHA1 9d884e5c7ab87e0fccf9f3f5d8892833baa8a2d9 SHA256 2af52e6c8e30e6c6f629312297d324a9a98ad900bed4c10294dc2dc13714c7e2
AUX e4rat-shared-build.patch 3453 RMD160 ebd74d5210d5eb136a77d4b357845b1527f30533 SHA1 2d4ecc21e6a8e040a92fe4d702d561a23b0c137d SHA256 962b41e96fd2e698f038118cae325c17824f7e05f975775da9cfa30347a69374
DIST e4rat_0.2.1_src.tar.gz 71943 RMD160 d65c48e7717ec84a219a05fcfb5bd62f8034b8e8 SHA1 e93a850ca068d9977dabfa79c2a91861a51fdbfb SHA256 c509f165eff317f80f5d13d7b370514c457df4542ff3b31bee4c26f97ce89769
EBUILD e4rat-0.2.1-r1.ebuild 669 RMD160 670994f0661923e35fbfb630f04c47250ccc68fd SHA1 33aa49f8b4bf96f17abec0d880a46afe0d54181d SHA256 418ad38d82cba612cea3facaf672428867b50820ffdb38cf5d91c9e03639c52f
+EBUILD e4rat-0.2.1-r2.ebuild 1440 RMD160 4d5f84c38d1e69c9ed61919c770918d491d2534a SHA1 a1b96917c55a2c7471a6835d9f124fa6625bbbf8 SHA256 6335c1781313f73cca44b968c4f9de6745f5cb8dfccea9fb387681488d4be3d7
EBUILD e4rat-0.2.1.ebuild 621 RMD160 d507971b5be11076150b83f6b3ba9ab6ef5ffc9a SHA1 7ce86d836144f57ac6c2dfd40242d8bb5e8085c6 SHA256 11877e6e0034ddbec3c00b93c13916c2fec14ff56c5f72e0e08736fc8739ec89
-MISC ChangeLog 788 RMD160 50def6cafcf038430f756e23b0ccb648468682f0 SHA1 f745e6ec2eac74cee96ebefbf101802b9cd500d9 SHA256 08d71a6b9054dd634a67d298c226abb935157a861f6c086410271e1e930beac8
+MISC ChangeLog 1047 RMD160 225d6cddcaf62db9f3200c59b8797940bfc9c822 SHA1 bac7c5456ecfca8cff2d051c298f1f6916859451 SHA256 c1ccb9e7ebd91522888a3a541ac5d3681f90269008d50b95fe3c6e7f8f493a37
MISC metadata.xml 277 RMD160 ff532acb494f3c6365841c030abce191b7460a02 SHA1 fde08d6eb7aebaaf141475ad6467b17e2f238de3 SHA256 83f0125076dc51822101f69dddff280682e643c4dff13762361d0901425fbb74
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk7lJ8sACgkQfXuS5UK5QB1bewQAhLqMtD9cPs3pHzziU6Uok6CI
-UIHKJFOc8XhNvjfhoN5WfPqAXZlxfSit8V1Nbjr/GhCA1CCFIEHQOOeereUeiLAO
-7SSOMgodQV80ic+LlxxedB17TxOOwtuom7Gcp658Ke/W9DDWqM1aBU9KmBlwQ0Ua
-qNu41S6zJixIODzP9iU=
-=9c6i
+iQIcBAEBCgAGBQJPCY30AAoJEPqDWhW0r/LCGT0P+wVR5x4xDFIlSLPkCUjx4IAE
+5kjv7dzg3yXZwFgYB9dhp0r9NZVBA5nG5AeQEBcr1TCbii41OHiCe3fHjTYaULWr
+poiGuyu3psnmezvzPqnu0GY4xl0qhr4isufnXr7OFqZVradiHG8j26rmemlesUiT
+qJ8o35RVjYq8CsNd5yqmQ71cdkIjmMvY4EGaaqE8AcoMaTTp0rl76StzBfDC/Bnt
+Ir9iHCgPR6S7c98ZWPcWU/HJvy91H7WKLZVZR+1tjIGZNPlFcQu3J6d9ULXwvRrp
+ZT+WEkHXAya8AuemNsj9WMAGR9NkBDtUkdHPWetABPWXqBxqz27+TGH73exw41eG
+/LQciA8JmbQ5BA2xytFtsS/ifHGIuyCpislKfZ4uWhctuobAUQiHpYDyUhAFGh+d
+E/jH16geWFHzvlkL8UCaZqlDxqBc0EhNXdrnOl6vRJnWMSYoCsy+yx9fXUEPLm1O
+iO/s6qUAInWANh7eur6F5YClYuc3fb80CyxEqhTbK8pnjbo7zom7nHkywWD1DnXO
+ESI0TY1kYcbbYxOdknpbc4nvF8DceSB4LYfRlM/AKK6ym2g0aN90DOXQhMryZ0V5
+F/heeB4XQZTZK3LTi6B2Yc+1vYRNBovFz5bJxosX2q7RCRlNwdXeCRIKvsUfhnjm
+TF4+0HJBbHKNZFB4U8bQ
+=8rEk
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/e4rat/e4rat-0.2.1-r2.ebuild,v 1.1 2012/01/08 11:38:11 hwoarang Exp $
+
+EAPI=4
+
+inherit cmake-utils linux-info
+
+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.42
+ sys-fs/e2fsprogs
+ sys-process/audit"
+RDEPEND="${DEPEND}"
+
+CONFIG_CHECK="~AUDITSYSCALL"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-shared-build.patch
+ "${FILESDIR}"/${PN}-libdir.patch
+)
+
+pkg_setup() {
+ check_extra_config
+}
+
+src_install() {
+ cmake-utils_src_install
+ # relocate binaries to /sbin. If someone knows of a better way to do it
+ # please do tell me
+ dodir sbin
+ find "${D}"/usr/sbin -type f -exec mv {} "${D}"/sbin/. \; \
+ || die
+}
+
+pkg_postinst() {
+ elog
+ elog "Please consult the upstream wiki if you need help"
+ elog "configuring your system"
+ elog "http://e4rat.sourceforge.net/wiki/index.php/Main_Page"
+ elog
+ if has_version sys-apps/preload; then
+ elog "It appears you have sys-apps/preload installed. This may"
+ elog "has negative effects on ${PN}. You may want to disable preload"
+ elog "when using ${PN}."
+ elog "http://e4rat.sourceforge.net/wiki/index.php/Main_Page#Debian.2FUbuntu"
+ fi
+}