summaryrefslogtreecommitdiff
path: root/net-mail/qlogtools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/qlogtools
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/qlogtools')
-rw-r--r--net-mail/qlogtools/Manifest6
-rw-r--r--net-mail/qlogtools/files/qlogtools-3.1-errno.patch13
-rw-r--r--net-mail/qlogtools/metadata.xml12
-rw-r--r--net-mail/qlogtools/qlogtools-3.1.ebuild39
4 files changed, 70 insertions, 0 deletions
diff --git a/net-mail/qlogtools/Manifest b/net-mail/qlogtools/Manifest
new file mode 100644
index 000000000000..0b3a3f674855
--- /dev/null
+++ b/net-mail/qlogtools/Manifest
@@ -0,0 +1,6 @@
+AUX qlogtools-3.1-errno.patch 348 SHA256 3b6356aac223bcb5527773592a40c63dfa60f7db18bfb6d168cace2281d5af34 SHA512 5f9e49aba6e01d5712ceadd8f2a0e3e03bdb2d1cb0c6cc4de7e6b54ef99aff0daa14a93fbeb0557ca9fdb6b75edaf4d0b24ad2b41971fc4f330435ab74ed48f8 WHIRLPOOL 3cb51db4db88e1950d6fdf3c7f20d6a83a73b0b3f6d6ac0fbb6b4c99dc2ddef025751da45980aee5eb5cee29f74f1ccd2bd220a43247fbf556b1f857fb07afb3
+DIST qlogtools-3.1.tar.gz 20868 SHA256 7a81eb8b8bf32abc75092b9779715b3d20eab902e6aba52a3b4ac04232af2de3 SHA512 aa080114d543d70879b091e3c1d4ddf7a3c1eaf0848c7215fb291e0dac49070833917f66bf02012bcfb1c5df63dadd0ab8c1c1642e5e1c4dd3c34c88bf2751e7 WHIRLPOOL a2bc4185640640c7e2993803e34032a1d864dc0fb24a2575dc2fe873e44997ecaaac7e6cde2cebe59300b8825069c81a50537f2086452d04ee16485950b9786c
+EBUILD qlogtools-3.1.ebuild 928 SHA256 28dafb12ee417bcf816126df3e84e54368fa0c8e38d7c50e608cad947ae28436 SHA512 c5615fac1ff68f732711084c5710bc6b9aa65c319b96d803c35043f3e0534a1589653a7cb303281dd74668fc9eea415efa1bcd73854fa05dead2def9ce73943c WHIRLPOOL 5f70816d9ed7b65edf6708f13c88883166fc9f3e18855fd565c6cb6884257854849ea25aee6a60fa228676afd80f8bb5b0a6d9a37614575ea4f6c22e15a63f1d
+MISC ChangeLog 2463 SHA256 2f1db4cd501d099116330dbe2447417a3b5da2d3589e44bab384d396c659679a SHA512 ed726e093627d72e60deb5e02ab2e5f5bdabd78349d6586693034ee77fd39dca4dfd068a275f00ae631bd2c602419de46538b712e879bb0d8e64c101df3c5e67 WHIRLPOOL 46997e8111d4bdbb8dcae6cbe45e28882486d11e50dcebe0dc8593fc95aed28aa4ee04b256816796722eb9e70496def3b0df11d73a23a7e2ddf443338a9935cf
+MISC ChangeLog-2015 1238 SHA256 4d0785e00a8178dd887d17d2943de4018e4a53bd7d93d6ceaee8695a74045ec9 SHA512 bb1b1647240e6aa83cede0189419457237628930a5997a81115efb8c0b01efefcb9f33a48c259984d9aab6a7e6f0b84c4747645333af5cfb56c930c123687218 WHIRLPOOL 6fefd95b1b7c4369d4bc5a5550d3eb265bfb2cd8924e787e9dfc3a0ea866a2070c0b728eff0ffedafb6f32f74c0a61fb230eb3b32021f319288af70339b250af
+MISC metadata.xml 387 SHA256 78297e62b5cfb99e13992f7a6c7d2cb18d5533439e2c5c9d5fa08e25cbc8ec37 SHA512 be8f5c847c3229d17400cad4230398bc68046166e080ad1998c9c659a6dfb68a4ddb6d39d059c38ec0c11702c8c786b8c49a7a42147fe51bd53fbdfc52624c25 WHIRLPOOL 54058bcedea46b89b0cde9877b236be14f295ab7e729113a31ae56e8bb89b9509d0fc34f92512c7827f99cd8577dfe748582bbf72d7518632ec2e74162420909
diff --git a/net-mail/qlogtools/files/qlogtools-3.1-errno.patch b/net-mail/qlogtools/files/qlogtools-3.1-errno.patch
new file mode 100644
index 000000000000..b080e1d285f8
--- /dev/null
+++ b/net-mail/qlogtools/files/qlogtools-3.1-errno.patch
@@ -0,0 +1,13 @@
+diff -ur qlogtools-3.1.orig/qfilelog.c qlogtools-3.1/qfilelog.c
+--- qlogtools-3.1.orig/qfilelog.c 2001-06-12 14:41:47.000000000 -0700
++++ qlogtools-3.1/qfilelog.c 2003-07-31 21:52:51.000000000 -0700
+@@ -3,8 +3,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+-
+-extern int errno;
++#include <errno.h>
+
+ #define PAUSE sleep(60)
+
diff --git a/net-mail/qlogtools/metadata.xml b/net-mail/qlogtools/metadata.xml
new file mode 100644
index 000000000000..8f7804014a0e
--- /dev/null
+++ b/net-mail/qlogtools/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+<maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-mail/qlogtools/qlogtools-3.1.ebuild b/net-mail/qlogtools/qlogtools-3.1.ebuild
new file mode 100644
index 000000000000..42b1c28b8cb3
--- /dev/null
+++ b/net-mail/qlogtools/qlogtools-3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Qmail Log processing tools"
+HOMEPAGE="http://untroubled.org/qlogtools/"
+SRC_URI="http://untroubled.org/qlogtools/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!app-text/multitail"
+
+src_unpack() {
+ unpack ${A}
+ EPATCH_OPTS="-p1 -d ${P}" epatch "${FILESDIR}"/qlogtools-3.1-errno.patch
+}
+
+src_compile() {
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+ echo "${D}/usr/bin" > conf-bin
+ echo "${D}/usr/share/man/" > conf-man
+ emake || die
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/
+ ./installer || die "Installer failed"
+ dodoc ANNOUNCEMENT FILES NEWS README TARGETS VERSION
+}
+
+pkg_postinst() {
+ elog "Please see /usr/share/doc/${PF}/README for configuration information"
+}