Version bump for splunk 4.2.2
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
AUX splunkd 272 RMD160 f6c8679384baf0fd1432e0368966b405eebb73f1 SHA1 a26847707062bae4c952c960b33fb241dd841b16 SHA256 ff7ef84da75db0968b38bc4eaf3e9ba8d5710e487ca1490285bbf5fc98bc9fc2
|
||||
DIST splunk-4.2.1-98164-Linux-i686.tgz 24754742 RMD160 e4e07ea32058f6785710319b209bf7a05de46627 SHA1 f8b6ac16e43c83f0456900049b83fcf433d84e0d SHA256 b649fdb4a7444a461fa7559f95e86b2431eb717119032edceea911524d074f9d
|
||||
DIST splunk-4.2.1-98164-Linux-x86_64.tgz 26003023 RMD160 793d6c6787e512e046bac8eddd071c2a3b0e6b0c SHA1 10ac37d9444aff906ee9bf753bb28aa6a70659b1 SHA256 358641de321789dc1269e5d7003dfdc3963ba7df122ebeaee93d88c3bcd4b52d
|
||||
DIST splunk-4.2.2-101277-Linux-i686.tgz 24790335 RMD160 0d008cde53ea092031c5dd79ddcb650988670149 SHA1 fce7319068d9bfcefb65817b1993d809fc067353 SHA256 2b3a886ff6e10a6e65523dcc01429c7c82fa91842bde34b5f81ebce73f84e1b0
|
||||
DIST splunk-4.2.2-101277-Linux-x86_64.tgz 26037058 RMD160 0814238f5b910278423d38054c9b62eaec6d3fbd SHA1 6db1a7aef6b15b18e1b9a55226ca217a2c896a29 SHA256 d8d8b39a91614a7df0765956662f953fe550b6d2d3ca64364ce6293d28f0e663
|
||||
EBUILD splunk-4.2.1.98164.ebuild 1665 RMD160 cbc9a93d9e574cec359fe5e8f28d20c9f76dcc63 SHA1 d734c24fcd5cc386a247877417b7adce4d199cc3 SHA256 f22d1af16343555aaaa2ce5336659dab24bc6ba4730820349d7c0ad7935be971
|
||||
EBUILD splunk-4.2.2.101277.ebuild 1665 RMD160 cbc9a93d9e574cec359fe5e8f28d20c9f76dcc63 SHA1 d734c24fcd5cc386a247877417b7adce4d199cc3 SHA256 f22d1af16343555aaaa2ce5336659dab24bc6ba4730820349d7c0ad7935be971
|
||||
|
||||
53
app-admin/splunk/splunk-4.2.2.101277.ebuild
Normal file
53
app-admin/splunk/splunk-4.2.2.101277.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PVR=$(replace_version_separator 3 '-')
|
||||
MY_PV=$(get_version_component_range 1-3)
|
||||
|
||||
DESCRIPTION="The search engine for IT data"
|
||||
HOMEPAGE="http://www.splunk.com"
|
||||
|
||||
REL_URI="http://www.splunk.com/index.php/download_track?wget=true&name=gentoo&file=${MY_PV}/${PN}"
|
||||
SRC_NAME="${PN}-${MY_PVR}-Linux"
|
||||
|
||||
SRC_URI="x86? ( ${REL_URI}/linux/${SRC_NAME}-i686.tgz )
|
||||
amd64? ( ${REL_URI}/linux/${SRC_NAME}-x86_64.tgz )"
|
||||
|
||||
LICENSE="splunk-eula"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}
|
||||
doins -r ${PN}/. || die "Install failed!"
|
||||
# Install init script
|
||||
doinitd "${FILESDIR}"/splunkd || die "doinitd failed"
|
||||
|
||||
# Adjust permissions on executables
|
||||
find "${D}/opt/${PN}/bin" -printf "/opt/${PN}/bin/%P\000" | xargs -0 fperms 755 || die "fperms failed"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Creating default configuration to monitor /var/log"
|
||||
# Need to start splunk to accept the license and build database
|
||||
|
||||
#The following command can possibly block, while waiting on input
|
||||
#yes |
|
||||
/opt/${PN}/bin/splunk start --accept-license
|
||||
/opt/${PN}/bin/splunk stop
|
||||
|
||||
# I am pretty sure this is a lie
|
||||
#elog "A default configuration has been created to monitor /var/log."
|
||||
#elog ""
|
||||
|
||||
elog "For more information about Splunk, please visit"
|
||||
elog "${HOMEPAGE}/doc/latest"
|
||||
elog ""
|
||||
elog "To add splunk to your startup scripts"
|
||||
elog "run 'rc-update add splunk default'"
|
||||
}
|
||||
Reference in New Issue
Block a user