summaryrefslogtreecommitdiff
path: root/net-mail/mess822
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/mess822
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/mess822')
-rw-r--r--net-mail/mess822/Manifest6
-rw-r--r--net-mail/mess822/files/mess822-0.58-implicit.patch66
-rw-r--r--net-mail/mess822/mess822-0.58-r2.ebuild50
-rw-r--r--net-mail/mess822/metadata.xml8
4 files changed, 130 insertions, 0 deletions
diff --git a/net-mail/mess822/Manifest b/net-mail/mess822/Manifest
new file mode 100644
index 000000000000..942a243de915
--- /dev/null
+++ b/net-mail/mess822/Manifest
@@ -0,0 +1,6 @@
+AUX mess822-0.58-implicit.patch 1373 SHA256 e2f8f5b98736e894531b1bf9433b49826f2aaa183b9058b1713d55cbce59fe74 SHA512 ee2819702b4dfc558eeea8e2885ea16c69c3fc9b48a4713d8eead6ba03a870c583406d6ff37269c11cda11f4a0f70caf45a2cf3569acba31d938ac75379a4b8d WHIRLPOOL 5a70e3d88f568a1de5f9161d23ed7228b86cb13d8d07a44b2103ce29c5ad6fcdceb0f9cfc9a340cd58c2d5bc7ce9d0271c5561db8b4c94bcde4c198b67de9c95
+DIST mess822-0.58.tar.gz 64287 SHA256 23d37a783474ad5cd9bda0a1309deaea27e570a0d5db0ed8cc2cb46da1c413e0 SHA512 5fb30f06dfa08f60dc8760f9c5d692e59397ff848441bc94313a079bac8fb53b779133b48abae9b487dff6fbb277d5210a9690a138366bf4d34f052d661be65e WHIRLPOOL 64272200302d49c37a8ae22d5752a39528e085c0d450b81449a595952e763b913ae37ac7ba866d4bda9cc3cdbdb29509099215ca116b5251b320cbefb4fb7cbd
+EBUILD mess822-0.58-r2.ebuild 1236 SHA256 f3cb7d3c24b8d84ae36185f75b959afe80dd6240c2d451dad2318fb7e4b8195d SHA512 560ed33b23ac0d78824a4ab9dbe6c5a18856d0f8bb9b18329565c603bea252ec657808060ca6181a09622e97254f6423b04580907166df6a9139abe785a5b802 WHIRLPOOL d2358e6544fb6159cd2f33762a06efa75bdbe8af95b9f2f373c10ee3b297235fd7afafa98dec52bc21bff8e8d817ea7d24567ec204577a182fd09b67c5222907
+MISC ChangeLog 2467 SHA256 f89b8b4884e962bf64bb9cffe4768f4fc709f5ef0585e5c63b3a64c9881eda79 SHA512 d0de679d21dd3a849399edbe209b4f11fb28b840e6504286e504addda8d7e310b1d7f09f84582bd3bbda2fda9127bf907e088369123e80abc6b00bfa653d07c2 WHIRLPOOL 96f85c9b2bcfcb38dc4ffc11176deac7947b1c2d4fa5d042e16abf4efe412fa2b918bb1a88740cb963653df979089708ab47d4be0c2469ae992ff29c9add900c
+MISC ChangeLog-2015 2083 SHA256 509185e63d73d8b93bb527fe88b0396e25aada91d8b1194471f44583d4692521 SHA512 425b45efcf41584a4c2b506ec1d0ee9af73871c9c512df67f98ddbbf3a976b93459bf069d8aff838d9adf0f2887ed03ebc0c1ab6d02295bc6da5be38895843d4 WHIRLPOOL 49a345a7a6976dd289438210c66b10b01f39b557454e911a16f376e96f7e207c2d4e7ab6160b236dc536fcec4c3824605e3eedb31ef61075aa0a3ec0a69254cb
+MISC metadata.xml 240 SHA256 f0e0bb7a24c4b1ff6b6a8a3e9315245c298499c03fbda429c0f775ec6a5396af SHA512 97824dbce22630efb21e647b55212b7a8a19d8e38b5bf05cb0b8078530bbbaaf4dc91284e2a11beab7dfcfb779df82b87b49d11a746c7a4f6dc71f2fda8942db WHIRLPOOL a7adfcb24489ae67a43a59d8350a70b20874fb03de95681c5b516a741d95422560a433f641de5a7222cf5d3500333e215055ec0cb3844e7abc6d6a836de97357
diff --git a/net-mail/mess822/files/mess822-0.58-implicit.patch b/net-mail/mess822/files/mess822-0.58-implicit.patch
new file mode 100644
index 000000000000..586a59bbb188
--- /dev/null
+++ b/net-mail/mess822/files/mess822-0.58-implicit.patch
@@ -0,0 +1,66 @@
+commit 43f63356fec31e46dfc5ab4574bb62cd75b35dfe
+Author: Eray Aslan <eras@gentoo.org>
+Date: Mon Jun 6 17:19:48 2011 +0300
+
+ Fix missing includes
+
+diff --git a/addrlist.c b/addrlist.c
+index fe196c8..a2ae631 100644
+--- a/addrlist.c
++++ b/addrlist.c
+@@ -3,6 +3,7 @@
+ #include "subfd.h"
+ #include "getln.h"
+ #include "mess822.h"
++#include "exit.h"
+
+ #define FATAL "addrlist: fatal: "
+
+diff --git a/leapsecs_read.c b/leapsecs_read.c
+index 62c8712..ff2ec23 100644
+--- a/leapsecs_read.c
++++ b/leapsecs_read.c
+@@ -1,6 +1,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <stdlib.h>
+ #include <errno.h>
+ extern int errno;
+ #include "tai.h"
+diff --git a/parsedate.c b/parsedate.c
+index 06f1d57..e90e198 100644
+--- a/parsedate.c
++++ b/parsedate.c
+@@ -6,6 +6,7 @@
+ #include "leapsecs.h"
+ #include "caltime.h"
+ #include "tai.h"
++#include "exit.h"
+
+ #define FATAL "parsedate: fatal: "
+
+diff --git a/quote.c b/quote.c
+index 7d21ac0..e8c7aa2 100644
+--- a/quote.c
++++ b/quote.c
+@@ -2,6 +2,7 @@
+ #include "subfd.h"
+ #include "substdio.h"
+ #include "strerr.h"
++#include "exit.h"
+
+ #define FATAL "quote: fatal: "
+
+diff --git a/tokenize.c b/tokenize.c
+index 667987d..840a220 100644
+--- a/tokenize.c
++++ b/tokenize.c
+@@ -3,6 +3,7 @@
+ #include "subfd.h"
+ #include "getln.h"
+ #include "mess822.h"
++#include "exit.h"
+
+ #define FATAL "tokenize: fatal: "
+
diff --git a/net-mail/mess822/mess822-0.58-r2.ebuild b/net-mail/mess822/mess822-0.58-r2.ebuild
new file mode 100644
index 000000000000..95c6b44751e5
--- /dev/null
+++ b/net-mail/mess822/mess822-0.58-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit multilib toolchain-funcs eutils
+
+DESCRIPTION="Collection of utilities for parsing Internet mail messages"
+SRC_URI="http://cr.yp.to/software/${P}.tar.gz"
+HOMEPAGE="http://cr.yp.to/mess822.html"
+
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+LICENSE="public-domain"
+
+RDEPEND=">=sys-apps/sed-4"
+DEPEND="${RDEPEND}"
+RESTRICT="test"
+
+src_prepare() {
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+ echo "/usr" > conf-home
+
+ # fix errno.h problem; bug #26165
+ sed -i 's/^extern int errno;/#include <errno.h>/' error.h
+
+ epatch "${FILESDIR}"/${P}-implicit.patch
+}
+
+src_install() {
+ dodir /etc
+ dodir /usr/share
+
+ # Now that the commands are compiled, update the conf-home file to point
+ # to the installation image directory.
+ echo "${D}/usr/" > conf-home
+ sed -i -e "s:\"/etc\":\"${D}/etc\":" hier.c || die "sed hier.c failed"
+
+ emake setup
+
+ # Move the man pages into /usr/share/man
+ mv "${D}/usr/man" "${D}/usr/share/"
+
+ dodir /usr/$(get_libdir)
+ mv "${D}/usr/lib/${PN}.a" "${D}/usr/$(get_libdir)/${PN}.a"
+ rmdir "${D}/usr/lib"
+ dodoc BLURB CHANGES INSTALL README THANKS TODO VERSION
+}
diff --git a/net-mail/mess822/metadata.xml b/net-mail/mess822/metadata.xml
new file mode 100644
index 000000000000..9a6d80e5da48
--- /dev/null
+++ b/net-mail/mess822/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+</maintainer>
+</pkgmetadata>