diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/qtools |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/qtools')
-rw-r--r-- | net-mail/qtools/Manifest | 7 | ||||
-rw-r--r-- | net-mail/qtools/files/qtools-0.56-errno.patch | 12 | ||||
-rw-r--r-- | net-mail/qtools/files/qtools-0.56-head.patch | 76 | ||||
-rw-r--r-- | net-mail/qtools/metadata.xml | 12 | ||||
-rw-r--r-- | net-mail/qtools/qtools-0.56.ebuild | 40 |
5 files changed, 147 insertions, 0 deletions
diff --git a/net-mail/qtools/Manifest b/net-mail/qtools/Manifest new file mode 100644 index 000000000000..7f8843e8eff5 --- /dev/null +++ b/net-mail/qtools/Manifest @@ -0,0 +1,7 @@ +AUX qtools-0.56-errno.patch 291 SHA256 8572c0795af4494ffd016ced1a4e96b8de2fbb49f6b67575c29ea1e48b014549 SHA512 ca8fc0fc14724a1dfc9931e24071f0b72ba8bdc3c13c3dc84a597b73e92541043526a288ceb2e260dfb8ab8ce4f970b6505b323458817e499188cc4c6680ba22 WHIRLPOOL 402c4aa5e985e87163390dfc56a9bfa91397d604e13ae78c7fbb29b538c1e8665b59ebf03abd99fd67d8446daaa2883aea484a6a7f35ce8d9658c29bfb8eefd7 +AUX qtools-0.56-head.patch 2129 SHA256 cee4590bf8f5962efa12a6a95134b06a136f443b29fb342c69bd97f37e3e07c9 SHA512 e8a447921df973f43a0dc061eb18d6cb9f69fa69ae1d21140d49f3fd20af7aedb3463a9c72e9855e0740b8f3d41670e0ae69ff693b149d1b3adeb4243a742c3a WHIRLPOOL aa159e74a8d000f3ccfdd154a483e745d16a9fa6c054a1db57448f4ef0b9db43330c58f7ce005610bb8b86793a8b3b8dbe3771b99a843442c9a432eb1388f51c +DIST qtools-0.56.tar.gz 37748 SHA256 cc8c6a25746523131c150b4bc6aebbe0d7d7d8a67896cb87b65862165ee790a9 SHA512 2016ca4f77fc370f6caac56f447325461018dff1f8a61fad305744578f0c26f0495c26d6cba6a8a9d5c86c6ef86635edd69705e9af88f70477a3f6ed121e6085 WHIRLPOOL a3ffbbe2bf6c671be4a0129bf4171c1925f4d90d73924568c1676eaf627c5a73f558dc6a9bd13ccf2a315a7714f7b916542e2274866f7e60748b825b9d60d7c5 +EBUILD qtools-0.56.ebuild 1152 SHA256 1d536953c02472d08861c68ab051beb9dd8c60f40f08f9efef74c554abf7c53a SHA512 acc98608139c40e4bf1f6913440a14ac7b155a3a27ae2abce3fba22855596affff464e7647402ec6d64427df8db69b5a3a9e74b12273af272734faa5f8201d60 WHIRLPOOL 57f477c12b36362b6effb9707e229a91226825686cf0a015a9fd5b1f23e5fad8134b8cee1271b22652282893b836a5aef15da806b444382a5bdd925f42db547b +MISC ChangeLog 2487 SHA256 80a51b7cbd9af358c93f95f4677b9e1381ae939ecbd858c5799ff80dce6e1941 SHA512 11c1abc6266db4b1b713edc5720a0efdc4518f8c9026a39adb9109b2fd644fa8ee4c55ec7ff3bc3c5329bec72742eb43b54580b84f0ea4e22e583c287069f70f WHIRLPOOL 075ab30d351df661a3e28a97445bcee76df40a50e4ba08e2f6ddc51f248c9dd06caa2308487c43d4a1407dc8abfac0e8222dd78bae6895abf9acc718e0e4beb5 +MISC ChangeLog-2015 1489 SHA256 5c894096eba8003a567403010d8c9e8a976d7d2654d241f254bc06474cb7699a SHA512 8651ccae722ca492762af8ca6e61454bd5d98af1cc8ad99df30defffa4cf101f95e65631027f52ba2d9185f1cb375caad5a1f65b591fc52d4960385d012457a9 WHIRLPOOL b368e51692f522b95e20d3ccdeb796bbf2d10f05918637d4c332f6ccf757d8d561e222e88b50725163536a95acc3e296a7ff2040132550eb063b00f92b2f7f57 +MISC metadata.xml 387 SHA256 78297e62b5cfb99e13992f7a6c7d2cb18d5533439e2c5c9d5fa08e25cbc8ec37 SHA512 be8f5c847c3229d17400cad4230398bc68046166e080ad1998c9c659a6dfb68a4ddb6d39d059c38ec0c11702c8c786b8c49a7a42147fe51bd53fbdfc52624c25 WHIRLPOOL 54058bcedea46b89b0cde9877b236be14f295ab7e729113a31ae56e8bb89b9509d0fc34f92512c7827f99cd8577dfe748582bbf72d7518632ec2e74162420909 diff --git a/net-mail/qtools/files/qtools-0.56-errno.patch b/net-mail/qtools/files/qtools-0.56-errno.patch new file mode 100644 index 000000000000..a5fdab64b733 --- /dev/null +++ b/net-mail/qtools/files/qtools-0.56-errno.patch @@ -0,0 +1,12 @@ +--- qtools-0.56.old/error.h 2000-03-18 14:01:20.000000000 -0800 ++++ qtools-0.56/error.h 2003-03-23 21:50:05.000000000 -0800 +@@ -1,7 +1,8 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++/* extern int errno; */ ++#include <errno.h> + + extern int error_intr; + extern int error_nomem; diff --git a/net-mail/qtools/files/qtools-0.56-head.patch b/net-mail/qtools/files/qtools-0.56-head.patch new file mode 100644 index 000000000000..5032a7791c9d --- /dev/null +++ b/net-mail/qtools/files/qtools-0.56-head.patch @@ -0,0 +1,76 @@ +diff -ur qtools-0.56/Makefile ../../qtools-0.56.patched/Makefile +--- qtools-0.56/Makefile 2001-11-08 14:07:57.000000000 +0100 ++++ ../../qtools-0.56.patched/Makefile 2005-06-29 00:44:05.000000000 +0200 +@@ -13,7 +13,7 @@ + load: warn-auto.sh conf-ld + ( cat warn-auto.sh; \ + echo 'main="$$1"; shift'; \ +- echo exec "`head -1 conf-ld`" \ ++ echo exec "`head -n 1 conf-ld`" \ + '-o "$$main" "$$main".o $${1+"$$@"}' \ + ) > load + chmod 755 load +@@ -27,7 +27,7 @@ + + compile: warn-auto.sh conf-cc + ( cat warn-auto.sh; \ +- echo exec "`head -1 conf-cc`" '-c $${1+"$$@"}' \ ++ echo exec "`head -n 1 conf-cc`" '-c $${1+"$$@"}' \ + ) > compile + chmod 755 compile + +@@ -57,8 +57,8 @@ + + systype: find-systype.sh conf-cc conf-ld trycpp.c x86cpuid.c + ( cat warn-auto.sh; \ +- echo CC=\'`head -1 conf-cc`\'; \ +- echo LD=\'`head -1 conf-ld`\'; \ ++ echo CC=\'`head -n 1 conf-cc`\'; \ ++ echo LD=\'`head -n 1 conf-ld`\'; \ + cat find-systype.sh; \ + ) | sh > systype + +@@ -379,7 +379,7 @@ + + choose: warn-auto.sh choose.sh conf-home + cat warn-auto.sh choose.sh \ +- | sed s}HOME}"`head -1 conf-home`"}g \ ++ | sed s}HOME}"`head -n 1 conf-home`"}g \ + > choose + chmod 755 choose + +@@ -529,7 +529,7 @@ + ./compile checkdomain.c + + auto_qmail.c: auto-str conf-qmail +- ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c ++ ./auto-str auto_qmail `head -n 1 conf-qmail` > auto_qmail.c + + filterto.o: compile \ + filterto.c \ +@@ -660,7 +660,7 @@ + + rts: warn-auto.sh rts.sh conf-home + cat warn-auto.sh rts.sh \ +- | sed s}HOME}"`head -1 conf-home`"}g \ ++ | sed s}HOME}"`head -n 1 conf-home`"}g \ + > rts + chmod 755 rts + +@@ -715,14 +715,14 @@ + ./compile auto_ezmlm.c + + auto_ezmlm.c: auto-str conf-ezmlm +- ./auto-str auto_ezmlm `head -1 conf-ezmlm` > auto_ezmlm.c ++ ./auto-str auto_ezmlm `head -n 1 conf-ezmlm` > auto_ezmlm.c + + auto_home.o: compile \ + auto_home.c + ./compile auto_home.c + + auto_home.c: auto-str conf-home +- ./auto-str auto_home `head -1 conf-home` > auto_home.c ++ ./auto-str auto_home `head -n 1 conf-home` > auto_home.c + + install: load install.o hier.o auto_home.o stralloc.a alloc.a strerr.a \ + buffer.a open.a error.a str.a diff --git a/net-mail/qtools/metadata.xml b/net-mail/qtools/metadata.xml new file mode 100644 index 000000000000..8f7804014a0e --- /dev/null +++ b/net-mail/qtools/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/qtools/qtools-0.56.ebuild b/net-mail/qtools/qtools-0.56.ebuild new file mode 100644 index 000000000000..19b2f5e5da2e --- /dev/null +++ b/net-mail/qtools/qtools-0.56.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Several utilities for use with qmail, typically as part of .qmail command processing" +HOMEPAGE="http://www.superscript.com/qtools/intro.html" +SRC_URI="http://www.superscript.com/qtools/${P}.tar.gz" + +LICENSE="all-rights-reserved public-domain" # includes code from qmail +SLOT="0" +KEYWORDS="alpha ~amd64 ~hppa ~mips ppc ~sparc x86" +IUSE="static" +RESTRICT="mirror bindist" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-errno.patch + epatch "${FILESDIR}"/${P}-head.patch +} + +src_compile() { + use static && LDFLAGS="${LDFLAGS} -static" + export CC="$(tc-getCC)" + echo "${CC} ${CFLAGS}" > conf-cc + echo "${CC} ${LDFLAGS}" > conf-ld + echo "/usr" > conf-home + emake || die "emake failed" +} + +src_install() { + into /usr + dobin 822addr 822body 822bodyfilter 822fields 822headerfilter \ + 822headerok 822headers checkaddr checkdomain \ + condtomaildir filterto ifaddr iftoccfrom replier \ + replier-config tomaildir + + dodoc BAPVERSION CHANGES FILES README SYSDEPS TARGETS TODO VERSION +} |