summaryrefslogtreecommitdiff
path: root/app-misc/btail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-21 10:20:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-21 10:20:03 +0100
commit6f8038813c460b4f0572d5ef595cdfa94af3a94d (patch)
tree3509e94070265053394b7f2e30a779d7e60c2064 /app-misc/btail
parenteccb70a7f91b2d22582587f26d1a28bb31408b45 (diff)
gentoo resync : 21.05.2019
Diffstat (limited to 'app-misc/btail')
-rw-r--r--app-misc/btail/Manifest3
-rw-r--r--app-misc/btail/btail-0.3-r1.ebuild41
-rw-r--r--app-misc/btail/btail-0.3.ebuild4
3 files changed, 45 insertions, 3 deletions
diff --git a/app-misc/btail/Manifest b/app-misc/btail/Manifest
index adc1ad7159c9..4e5bae54b717 100644
--- a/app-misc/btail/Manifest
+++ b/app-misc/btail/Manifest
@@ -1,3 +1,4 @@
DIST btail-0.3.tgz 7402 BLAKE2B 4d7fb1ce1e89aca6e4ff9b45866296b40f960fad751ff211b551655fd62ef125b3c5397c165f221feaa7070530930d65c5af1a90536faea2b112664b823c19fc SHA512 1b27b6fff41b5e69119526115d5c3d239d106303923796121829729617765354cbd3f769b95c8fd32cd5a181475c3cde0ffe2accaae44ae461966df46bb990ee
-EBUILD btail-0.3.ebuild 738 BLAKE2B 7d421da8fddc845cc900911ba3595ae876e2019e3ee7ff65deb4c21c3922335515cd0d6cce89253afca13aa161acbc4a755b14a6595e422bc922c4821bebfaa8 SHA512 ad817a50faca01ffbc851511ea91558b87c571182aab2f8efdf683c5cb6e64b4bde5acecd6ab14f34262adeece7aae872c621f713bc6c3b32d1d8b976d9b48b4
+EBUILD btail-0.3-r1.ebuild 735 BLAKE2B 78c7d8080011982cd700ac4286cf26bc06bf6d01c62e093cfd52c4dbe9661d5811381cfac5e24fd897207e5117ea1aea20ad89fc7266872a39df8c88d2f688a2 SHA512 762dfac27c90b72eb733148403d25641fb93f4e1132490f03c83621fbf742fb559161e50d5f642b62b467f8619a49320fb86238412e6e4f59b00df18e72d9384
+EBUILD btail-0.3.ebuild 736 BLAKE2B b1e809a7e506d46a23c793c6e0d4e3e4f32aca04c8da26db0c5f7e9b7149c59d94cc266e0f1521f1e03c000fd3822df94c4461b0c230d9efd37118c0b09d4026 SHA512 46cd12dc7381b377ecc650648b3b119396d9daa87d77eaab85a91c24915bb6d3f4e54f291480cef94cb04a785c36af99f5272a47d9239fab4e08b63c8a0cfea2
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/app-misc/btail/btail-0.3-r1.ebuild b/app-misc/btail/btail-0.3-r1.ebuild
new file mode 100644
index 000000000000..b434b22da8da
--- /dev/null
+++ b/app-misc/btail/btail-0.3-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Bayesian logfile filter"
+HOMEPAGE="https://www.vanheusden.com/btail/"
+SRC_URI="${HOMEPAGE}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="sys-libs/gdbm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i Makefile \
+ -e '/^LDFLAGS/s:=:+=:g' \
+ -e '/$(CC)/s:-Wall:$(CFLAGS) &:g' \
+ || die
+ sed -i conf.cpp \
+ -e '/Configline/s:):, line):g' \
+ || die
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ dobin blearn btail
+ dodoc readme.txt btail.conf license.txt
+}
diff --git a/app-misc/btail/btail-0.3.ebuild b/app-misc/btail/btail-0.3.ebuild
index 7a7acc3d203f..b0235a0d999b 100644
--- a/app-misc/btail/btail-0.3.ebuild
+++ b/app-misc/btail/btail-0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -6,7 +6,7 @@ EAPI="4"
inherit toolchain-funcs
DESCRIPTION="Bayesian logfile filter"
-HOMEPAGE="http://www.vanheusden.com/btail/"
+HOMEPAGE="https://www.vanheusden.com/btail/"
SRC_URI="${HOMEPAGE}/${P}.tgz"
LICENSE="GPL-2"