From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- mail-client/hap/Manifest | 1 + mail-client/hap/files/hap-3.7-ncurses.patch | 14 +++++++++++ mail-client/hap/hap-3.7-r1.ebuild | 39 +++++++++++++++++++++++++++++ mail-client/hap/metadata.xml | 5 ++++ 4 files changed, 59 insertions(+) create mode 100644 mail-client/hap/Manifest create mode 100644 mail-client/hap/files/hap-3.7-ncurses.patch create mode 100644 mail-client/hap/hap-3.7-r1.ebuild create mode 100644 mail-client/hap/metadata.xml (limited to 'mail-client/hap') diff --git a/mail-client/hap/Manifest b/mail-client/hap/Manifest new file mode 100644 index 000000000000..fbde181a46ac --- /dev/null +++ b/mail-client/hap/Manifest @@ -0,0 +1 @@ +DIST hap-3.7.tar 194560 SHA256 ae2aa6fbc2d95bcdc0a58cb8e51e458eff868241bd6576123bc291a55d8c4de2 SHA512 3a42b8ae5d4c96812190e0551df289ad748c11f93d7632de1698437246723fd159a3f1a0b6f06c925b31ce8e389b73bc0b3a68f978570ae5d9f283d1651fa42b WHIRLPOOL a250c94dde3af898f4df81eef458735a08daf0c33c914abea4fb521c0088164078224322768256cb7ec58e7e7288094ec3770651394dc05dd376aa95de6ce918 diff --git a/mail-client/hap/files/hap-3.7-ncurses.patch b/mail-client/hap/files/hap-3.7-ncurses.patch new file mode 100644 index 000000000000..1ae79b9e9810 --- /dev/null +++ b/mail-client/hap/files/hap-3.7-ncurses.patch @@ -0,0 +1,14 @@ +--- configure.in 1996-07-17 00:50:03.000000000 +0300 ++++ configure.in 2013-03-06 15:09:29.579148360 +0200 +@@ -6,8 +6,9 @@ + AC_PROG_INSTALL + + dnl Checks for libraries. +-dnl Replace `main' with a function in -ltermcap: +-AC_CHECK_LIB(termcap, tputs) ++dnl Replace `main' with a function in -lncurses or -ltinfo ++AC_CHECK_LIB(ncurses, tputs,, ++ [AC_CHECK_LIB(tinfo, tputs)]) + + dnl Checks for header files. + AC_CHECK_HEADERS(sgtty.h unistd.h libc.h termcap.h strings.h string.h dirent.h sys/ioctl.h) diff --git a/mail-client/hap/hap-3.7-r1.ebuild b/mail-client/hap/hap-3.7-r1.ebuild new file mode 100644 index 000000000000..76f2c0417d4e --- /dev/null +++ b/mail-client/hap/hap-3.7-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="A terminal mail notification program (replacement for biff)" +HOMEPAGE="http://www.transbay.net/~enf/sw.html" +SRC_URI="http://www.transbay.net/~enf/${P}.tar" + +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha ~amd64 ppc x86" +IUSE="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + # Fix configure to use ncurses instead of termcap (bug #103105) + epatch "${FILESDIR}/${P}-ncurses.patch" + + # Fix Makefile.in to use our CFLAGS and LDFLAGS + sed -i -e "s/^CFLAGS=-O/CFLAGS=${CFLAGS}/" \ + -e "s/^LDFLAGS=.*/LDFLAGS=${LDFLAGS}/" Makefile.in || die + + # Rebuild the compilation framework + eautoreconf +} + +src_install() { + dobin hap + doman hap.1 + dodoc README HISTORY +} diff --git a/mail-client/hap/metadata.xml b/mail-client/hap/metadata.xml new file mode 100644 index 000000000000..51f94e3fbe0e --- /dev/null +++ b/mail-client/hap/metadata.xml @@ -0,0 +1,5 @@ + + + +net-mail + -- cgit v1.2.3-65-gdbad