diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/serialmail | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/serialmail')
-rw-r--r-- | net-mail/serialmail/Manifest | 2 | ||||
-rw-r--r-- | net-mail/serialmail/files/errno.patch | 20 | ||||
-rw-r--r-- | net-mail/serialmail/files/serialmail-0.75-implicit.patch | 42 | ||||
-rw-r--r-- | net-mail/serialmail/metadata.xml | 5 | ||||
-rw-r--r-- | net-mail/serialmail/serialmail-0.75-r4.ebuild | 50 |
5 files changed, 119 insertions, 0 deletions
diff --git a/net-mail/serialmail/Manifest b/net-mail/serialmail/Manifest new file mode 100644 index 000000000000..ab13280a9d02 --- /dev/null +++ b/net-mail/serialmail/Manifest @@ -0,0 +1,2 @@ +DIST serialmail-0.75-patch.tar.bz2 7702 SHA256 61e3895faad9820f02f69f0873b0af30baf4a73dc3cc4beebad7d00b1b35a079 +DIST serialmail-0.75.tar.gz 55079 SHA256 1825c911087f28692c3441d4f95747201c520a22575ab3e6132b5c14097038f3 diff --git a/net-mail/serialmail/files/errno.patch b/net-mail/serialmail/files/errno.patch new file mode 100644 index 000000000000..884767c5e73a --- /dev/null +++ b/net-mail/serialmail/files/errno.patch @@ -0,0 +1,20 @@ +--- serialmail-0.75/error.h 2003-09-10 20:08:05.000000000 +1200 ++++ serialmail-0.75-gentoo/error.h 2003-09-10 20:30:50.000000000 +1200 +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h> + + extern int error_intr; + extern int error_nomem; +--- serialmail-0.75/leapsecs_read.c 2003-09-10 20:08:06.000000000 +1200 ++++ serialmail-0.75-gentoo/leapsecs_read.c 2003-09-10 20:15:57.000000000 +1200 +@@ -2,7 +2,6 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <errno.h> +-extern int errno; + #include "tai.h" + #include "leapsecs.h" diff --git a/net-mail/serialmail/files/serialmail-0.75-implicit.patch b/net-mail/serialmail/files/serialmail-0.75-implicit.patch new file mode 100644 index 000000000000..988fa31bb92c --- /dev/null +++ b/net-mail/serialmail/files/serialmail-0.75-implicit.patch @@ -0,0 +1,42 @@ +commit 3672e8edd2887775168c4c6c0c670a80dd413825 +Author: Eray Aslan <eras@gentoo.org> +Date: Mon Jun 6 07:12:06 2011 +0000 + + Add missing includes for incompatible implicit declaration warnings. + +diff --git a/leapsecs_read.c b/leapsecs_read.c +index c8f975f..248632d 100644 +--- a/leapsecs_read.c ++++ b/leapsecs_read.c +@@ -2,6 +2,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <errno.h> ++#include <stdlib.h> + #include "tai.h" + #include "leapsecs.h" + +diff --git a/maildirserial.c b/maildirserial.c +index 707470e..09214db 100644 +--- a/maildirserial.c ++++ b/maildirserial.c +@@ -1,5 +1,7 @@ + #include <sys/types.h> + #include <sys/stat.h> ++#include <stdlib.h> ++#include "exit.h" + #include "sgetopt.h" + #include "scan.h" + #include "stralloc.h" +diff --git a/myMd5.c b/myMd5.c +index 5f41908..869a7f9 100644 +--- a/myMd5.c ++++ b/myMd5.c +@@ -25,6 +25,7 @@ + */ + + #include "myMd5.h" ++#include <string.h> + + /* Constants for MD5Transform routine. */ + #define S11 7 diff --git a/net-mail/serialmail/metadata.xml b/net-mail/serialmail/metadata.xml new file mode 100644 index 000000000000..51f94e3fbe0e --- /dev/null +++ b/net-mail/serialmail/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +</pkgmetadata> diff --git a/net-mail/serialmail/serialmail-0.75-r4.ebuild b/net-mail/serialmail/serialmail-0.75-r4.ebuild new file mode 100644 index 000000000000..3e32c5aaa59c --- /dev/null +++ b/net-mail/serialmail/serialmail-0.75-r4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils + +DESCRIPTION="A serialmail is a collection of tools for passing mail across serial links" +HOMEPAGE="http://cr.yp.to/serialmail.html" +SRC_URI="http://cr.yp.to/software/${P}.tar.gz + mirror://gentoo/${P}-patch.tar.bz2" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="static" +RESTRICT="mirror bindist" + +DEPEND="sys-apps/groff + >=sys-apps/ucspi-tcp-0.88" + +RDEPEND="sys-apps/groff + >=sys-apps/ucspi-tcp-0.88 + virtual/daemontools" + +src_prepare() { + epatch "${WORKDIR}"/${P}-gentoo.patch + epatch "${WORKDIR}"/${P}-smtpauth.patch + epatch "${WORKDIR}"/${P}-smtpauth_comp.patch + sed -i "s:@CFLAGS@:${CFLAGS}:" conf-cc + use static && LDFLAGS="${LDFLAGS} -static" + sed -i "s:@LDFLAGS@:${LDFLAGS}:" conf-ld + epatch "${FILESDIR}"/${P}-implicit.patch +} + +src_compile() { + grep -v man hier.c | grep -v doc > hier.c.tmp ; mv hier.c.tmp hier.c + emake it man +} + +src_install() { + dobin serialsmtp serialqmtp maildirsmtp maildirserial maildirqmtp + + dodoc AUTOTURN CHANGES FROMISP SYSDEPS THANKS TOISP \ + BLURB FILES INSTALL README TARGETS TODO VERSION + + doman maildirqmtp.1 maildirserial.1 maildirsmtp.1 \ + serialqmtp.1 serialsmtp.1 +} |