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 --- app-editors/dav/Manifest | 1 + app-editors/dav/dav-0.8.5-r1.ebuild | 41 ++++++++++++++++++++++ app-editors/dav/files/dav-0.8.5-asneeded.patch | 12 +++++++ .../files/dav-0.8.5-davrc-buffer-overflow.patch | 11 ++++++ app-editors/dav/metadata.xml | 8 +++++ 5 files changed, 73 insertions(+) create mode 100644 app-editors/dav/Manifest create mode 100644 app-editors/dav/dav-0.8.5-r1.ebuild create mode 100644 app-editors/dav/files/dav-0.8.5-asneeded.patch create mode 100644 app-editors/dav/files/dav-0.8.5-davrc-buffer-overflow.patch create mode 100644 app-editors/dav/metadata.xml (limited to 'app-editors/dav') diff --git a/app-editors/dav/Manifest b/app-editors/dav/Manifest new file mode 100644 index 000000000000..fe7b0391204e --- /dev/null +++ b/app-editors/dav/Manifest @@ -0,0 +1 @@ +DIST dav-0.8.5.tar.gz 22824 SHA256 af3835c31f7fb28815bc9b5fcc76e229d0e389d13b178858d120664af486a9ba SHA512 cdedff875df392e8525399b40d45cdf4e984b1b014f03d9f5cd5be270eebe0003fcf48e9738f6ac2789138973970bb9fe6d0b8babd20c1df61e193f84ee066b3 WHIRLPOOL 049684e2846f9bbbd8b0cab97689f69adfff2067485be59789913272d884c5b07ad47320f2b9dbf1285af01a12cfd2f7f9eca8ac0a7528ba10271b64a767c94c diff --git a/app-editors/dav/dav-0.8.5-r1.ebuild b/app-editors/dav/dav-0.8.5-r1.ebuild new file mode 100644 index 000000000000..7e235f15aa47 --- /dev/null +++ b/app-editors/dav/dav-0.8.5-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="A minimal console text editor" +HOMEPAGE="http://dav-text.sourceforge.net/" + +# The maintainer does not keep sourceforge's mirrors up-to-date, +# so we point to the website's store of files. +SRC_URI="http://dav-text.sourceforge.net/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="sys-libs/ncurses" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-davrc-buffer-overflow.patch +} + +# Makefile only +src_configure() { :; } + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS} $( $(tc-getPKG_CONFIG) --libs ncurses)" +} + +DOCS=( README ) diff --git a/app-editors/dav/files/dav-0.8.5-asneeded.patch b/app-editors/dav/files/dav-0.8.5-asneeded.patch new file mode 100644 index 000000000000..75a43c67f43d --- /dev/null +++ b/app-editors/dav/files/dav-0.8.5-asneeded.patch @@ -0,0 +1,12 @@ +diff -u -r a/Makefile b/Makefile +--- a/Makefile 2004-02-22 02:04:07.000000000 +0100 ++++ b/Makefile 2008-12-30 19:31:19.000000000 +0100 +@@ -12,7 +12,7 @@ + LDFLAGS=-lncurses -O3 -Wall + + dav: $(OBJECTS) +- $(CC) $(LDFLAGS) $(OBJECTS) -o dav ++ $(CC) $(OBJECTS) $(LDFLAGS) -o dav + + install: + mkdir -p $(DESTDIR)/usr/bin diff --git a/app-editors/dav/files/dav-0.8.5-davrc-buffer-overflow.patch b/app-editors/dav/files/dav-0.8.5-davrc-buffer-overflow.patch new file mode 100644 index 000000000000..a32e78ebc818 --- /dev/null +++ b/app-editors/dav/files/dav-0.8.5-davrc-buffer-overflow.patch @@ -0,0 +1,11 @@ +--- dav-0.8.5.orig/main.c 2011-01-29 14:16:53.537725568 -0500 ++++ dav-0.8.5/main.c 2011-01-29 14:20:45.139125094 -0500 +@@ -327,7 +327,7 @@ + void loadSettings() + { + int l; +- char s[80]; ++ char s[200]; + char home[80]; + char *r; + char *c; diff --git a/app-editors/dav/metadata.xml b/app-editors/dav/metadata.xml new file mode 100644 index 000000000000..f9d50da18d39 --- /dev/null +++ b/app-editors/dav/metadata.xml @@ -0,0 +1,8 @@ + + + + + maintainer-needed@gentoo.org + This package lacks a primary herd or maintainer. + + -- cgit v1.2.3-65-gdbad