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 --- net-news/snownews/Manifest | 1 + .../snownews/files/snownews-1.5.7-stdint.patch | 17 ++++++ net-news/snownews/metadata.xml | 7 +++ net-news/snownews/snownews-1.5.12-r1.ebuild | 61 ++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 net-news/snownews/Manifest create mode 100644 net-news/snownews/files/snownews-1.5.7-stdint.patch create mode 100644 net-news/snownews/metadata.xml create mode 100644 net-news/snownews/snownews-1.5.12-r1.ebuild (limited to 'net-news/snownews') diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest new file mode 100644 index 000000000000..a6b2be8fe034 --- /dev/null +++ b/net-news/snownews/Manifest @@ -0,0 +1 @@ +DIST snownews-1.5.12.tar.gz 167944 SHA256 26dd96e9345d9cbc1c0c9470417080dd0c3eb31e7ea944f78f3302d7060ecb90 SHA512 7a7ccd5ea57f8bbb73f1429ab931a38203e858c74a383c5347e66088b84f6a7240feeee99e179687ce0a7a89c6c1406ce20d6c5d6771d25a0a0301fa5526e220 WHIRLPOOL c0a127db3700789e134720cbf77858a7c37950e9b05b4ca2f13372f774eb6f7ee97dd2f957ba1c3571c241a241993feb702dbb0d90c0c8ea03d2e6003fdf24b1 diff --git a/net-news/snownews/files/snownews-1.5.7-stdint.patch b/net-news/snownews/files/snownews-1.5.7-stdint.patch new file mode 100644 index 000000000000..f6c81e79925a --- /dev/null +++ b/net-news/snownews/files/snownews-1.5.7-stdint.patch @@ -0,0 +1,17 @@ +diff -ru snownews-1.5.7~/md5.h snownews-1.5.7/md5.h +--- snownews-1.5.7~/md5.h 2006-12-03 16:36:54.000000000 +0100 ++++ snownews-1.5.7/md5.h 2006-12-03 16:47:23.000000000 +0100 +@@ -31,11 +31,8 @@ + #ifndef MD5_H + #define MD5_H + +-#ifdef __alpha +-typedef unsigned int uint32; +-#else +-typedef unsigned long uint32; +-#endif ++#include ++typedef uint32_t uint32; + + struct MD5Context { + uint32 buf[4]; diff --git a/net-news/snownews/metadata.xml b/net-news/snownews/metadata.xml new file mode 100644 index 000000000000..a40624fba8f0 --- /dev/null +++ b/net-news/snownews/metadata.xml @@ -0,0 +1,7 @@ + + + + + maintainer-needed@gentoo.org + + diff --git a/net-news/snownews/snownews-1.5.12-r1.ebuild b/net-news/snownews/snownews-1.5.12-r1.ebuild new file mode 100644 index 000000000000..173be8a21d2b --- /dev/null +++ b/net-news/snownews/snownews-1.5.12-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Snownews, a text-mode RSS/RDF newsreader" +HOMEPAGE="http://snownews.kcore.de/" +SRC_URI="http://home.kcore.de/~kiza/software/snownews/download/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="unicode" + +COMMON_DEPEND=" + >=dev-libs/libxml2-2.5.6 + >=sys-libs/ncurses-5.3[unicode?] + dev-libs/openssl +" +RDEPEND=" + ${COMMON_DEPEND} + dev-perl/XML-LibXML + dev-perl/libwww-perl +" + +DEPEND=" + ${COMMON_DEPEND} + virtual/pkgconfig +" + +src_prepare() { + sed -i -e "s|-O2||g" configure || die + sed -i -e 's|$(INSTALL) -s|$(INSTALL)|g' Makefile || die +} + +src_configure() { + tc-export PKG_CONFIG + if use unicode; then + sed -i -e 's|-lncurses|`\\$(PKG_CONFIG) --libs ncursesw`|' configure || die + else + sed -i -e 's|-lncurses|`\\$(PKG_CONFIG) --libs ncurses`|' configure || die + fi + + # perl script, not autotools based + ./configure --prefix="${EPREFIX}/usr" || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + EXTRA_CFLAGS="${CFLAGS}" \ + EXTRA_LDFLAGS="${LDFLAGS}" +} + +src_install() { + emake PREFIX="${ED}/usr" install + + dodoc AUTHOR Changelog CREDITS README README.de README.patching +} -- cgit v1.2.3-65-gdbad