summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-portage/deltup
downloadgentoo-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 'app-portage/deltup')
-rw-r--r--app-portage/deltup/Manifest2
-rw-r--r--app-portage/deltup/deltup-0.4.5-r1.ebuild39
-rw-r--r--app-portage/deltup/deltup-0.4.6.ebuild40
-rw-r--r--app-portage/deltup/files/deltup-0.4.4-gcc47.patch11
-rw-r--r--app-portage/deltup/files/deltup-0.4.4-zlib-1.2.5.2.patch21
-rw-r--r--app-portage/deltup/files/deltup-0.4.5-underlink.patch11
-rw-r--r--app-portage/deltup/metadata.xml13
7 files changed, 137 insertions, 0 deletions
diff --git a/app-portage/deltup/Manifest b/app-portage/deltup/Manifest
new file mode 100644
index 000000000000..36a69e512b81
--- /dev/null
+++ b/app-portage/deltup/Manifest
@@ -0,0 +1,2 @@
+DIST deltup-0.4.5.tar.gz 14728 SHA256 9c8597780513e5231eb07b05cb1a1ee07b0fec71a4be2dd4a5cb2dd1011fc795 SHA512 fae6814f74fd62eee45701eed4df45ed5f6b6da50cff53d7a04ff3f6e11553ad526c3b3262048e210b1d932b6d30cba69ac1962b867b01aed90de58b45bf6c37 WHIRLPOOL a91994aa049ec25fc1b5d3a816595354114ef37e9655b5d91aea973fdfa187b77aa33aa620de3c38c5888bd2d9c89f376a3de8dd43104515961b3ffc128ab77e
+DIST deltup-0.4.6.tar.gz 14869 SHA256 f86b304dcdadc864cd347d382dc2c9c249e399f22408d6d7d68490374386c365 SHA512 196be319f31860d89654c23241edde503d4194064617970d87cb0d0a66544959bc666dd34a3bf1a42e69ddb5927420728a1e208b7bb848e935e99f3a090ffa7a WHIRLPOOL 4186c446ea3bcbd28577119e56ca2fe5ce8b479f80ebc48ca34727481385d0e854714a6aad34a466b933279e3f3709cc1b78607cc216c81acee800e480e37b26
diff --git a/app-portage/deltup/deltup-0.4.5-r1.ebuild b/app-portage/deltup/deltup-0.4.5-r1.ebuild
new file mode 100644
index 000000000000..4ce660ea8f2f
--- /dev/null
+++ b/app-portage/deltup/deltup-0.4.5-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="Delta-Update - patch system for updating source-archives"
+HOMEPAGE="http://deltup.sourceforge.net"
+SRC_URI="http://deltup.org/e107_files/downloads//${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-libs/openssl:0
+ sys-libs/zlib
+ app-arch/bzip2"
+RDEPEND="${DEPEND}
+ || ( dev-util/bdelta =dev-util/xdelta-1* )"
+
+src_prepare () {
+ epatch "${FILESDIR}"/${PN}-0.4.4-gcc47.patch
+ epatch "${FILESDIR}"/${PN}-0.4.4-zlib-1.2.5.2.patch
+ epatch "${FILESDIR}"/${PN}-0.4.5-underlink.patch
+ epatch_user
+}
+
+src_compile () {
+ emake CXX=$(tc-getCXX)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install
+ dodoc README ChangeLog
+ doman deltup.1
+}
diff --git a/app-portage/deltup/deltup-0.4.6.ebuild b/app-portage/deltup/deltup-0.4.6.ebuild
new file mode 100644
index 000000000000..676a53be0163
--- /dev/null
+++ b/app-portage/deltup/deltup-0.4.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Delta-Update - patch system for updating source-archives."
+HOMEPAGE="http://deltup.sourceforge.net"
+SRC_URI="https://github.com/jjwhitney/Deltup/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+MY_PN="Deltup"
+S="${WORKDIR}/${MY_PN}-${PV}/src"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-libs/openssl:0
+ sys-libs/zlib
+ app-arch/bzip2"
+RDEPEND="${DEPEND}
+ || ( dev-util/bdelta =dev-util/xdelta-1* )"
+
+src_prepare () {
+ default
+ epatch_user
+}
+
+src_compile () {
+ emake CC=$(tc-getCXX)
+}
+
+src_install () {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dodoc "${S}"/../{README,ChangeLog}
+ doman "${S}"/../deltup.1
+}
diff --git a/app-portage/deltup/files/deltup-0.4.4-gcc47.patch b/app-portage/deltup/files/deltup-0.4.4-gcc47.patch
new file mode 100644
index 000000000000..507f8278bfcf
--- /dev/null
+++ b/app-portage/deltup/files/deltup-0.4.4-gcc47.patch
@@ -0,0 +1,11 @@
+diff -u deltup-0.4.4.old/tmpstore.cpp deltup-0.4.4/tmpstore.cpp
+--- deltup-0.4.4.old/tmpstore.cpp 2007-03-24 23:45:29.000000000 +0100
++++ deltup-0.4.4/tmpstore.cpp 2012-08-11 14:45:31.380739060 +0200
+@@ -19,6 +19,7 @@
+ using namespace std;
+ #include "file.h"
+ #include "system.h"
++#include "unistd.h"
+ #include <openssl/md5.h>
+
+ string tmpdir;
diff --git a/app-portage/deltup/files/deltup-0.4.4-zlib-1.2.5.2.patch b/app-portage/deltup/files/deltup-0.4.4-zlib-1.2.5.2.patch
new file mode 100644
index 000000000000..a650bf1a0174
--- /dev/null
+++ b/app-portage/deltup/files/deltup-0.4.4-zlib-1.2.5.2.patch
@@ -0,0 +1,21 @@
+Fix building with zlib >= 1.2.5.2, see http://bugs.gentoo.org/406203
+
+--- file.cpp
++++ file.cpp
+@@ -20,12 +20,12 @@
+ #include "file.h"
+
+ GZ_IFStream::GZ_IFStream(string fname) {file = gzopen(fname.c_str(), "rb");}
+-GZ_IFStream::~GZ_IFStream() {if (!bad()) gzclose(file);}
+-unsigned GZ_IFStream::read(void *data, unsigned num) {return gzread(file, data, num);}
++GZ_IFStream::~GZ_IFStream() {if (!bad()) gzclose((gzFile)file);}
++unsigned GZ_IFStream::read(void *data, unsigned num) {return gzread((gzFile)file, data, num);}
+
+ GZ_OFStream::GZ_OFStream(string fname) {file = gzopen(fname.c_str(), "wb");}
+-GZ_OFStream::~GZ_OFStream() {gzclose(file);}
+-unsigned GZ_OFStream::write(const void *data, unsigned num) {return gzwrite(file, (voidp)data, num);}
++GZ_OFStream::~GZ_OFStream() {gzclose((gzFile)file);}
++unsigned GZ_OFStream::write(const void *data, unsigned num) {return gzwrite((gzFile)file, (voidp)data, num);}
+
+ BZ_IFStream::BZ_IFStream(string fname) {file = BZ2_bzopen(fname.c_str(), "rb");}
+ BZ_IFStream::~BZ_IFStream() {if (!bad()) BZ2_bzclose(file);}
diff --git a/app-portage/deltup/files/deltup-0.4.5-underlink.patch b/app-portage/deltup/files/deltup-0.4.5-underlink.patch
new file mode 100644
index 000000000000..d0637b0caadf
--- /dev/null
+++ b/app-portage/deltup/files/deltup-0.4.5-underlink.patch
@@ -0,0 +1,11 @@
+--- deltup-0.4.5/Makefile.orig 2009-06-26 00:38:01.000000000 +0400
++++ deltup-0.4.5/Makefile 2013-08-21 07:24:33.606691559 +0400
+@@ -5,7 +5,7 @@
+ CC = g++
+
+ objfiles=bpatch.o bzip2.o file.o system.o tmpstore.o deltup.o
+-libs=-lstdc++ -lz -lbz2 -lssl
++libs=-lstdc++ -lz -lbz2 -lcrypto
+
+ #edelta: edelta.cpp deltup
+ # gcc edelta.cpp ${CXXFLAGS} -o edelta
diff --git a/app-portage/deltup/metadata.xml b/app-portage/deltup/metadata.xml
new file mode 100644
index 000000000000..6ed4705ce42b
--- /dev/null
+++ b/app-portage/deltup/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>Ameretat.Reith@gmail.com</email>
+ <name>Ameretat 'reith' Reith</name>
+ <description>Primary Maintainer, Assign bugs</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jjwhitney/Deltup</remote-id>
+ </upstream>
+</pkgmetadata>