summaryrefslogtreecommitdiff
path: root/app-arch/afio
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/afio')
-rw-r--r--app-arch/afio/Manifest10
-rw-r--r--app-arch/afio/afio-2.5.1-r1.ebuild33
-rw-r--r--app-arch/afio/afio-2.5.1.ebuild31
-rw-r--r--app-arch/afio/afio-2.5.ebuild43
-rw-r--r--app-arch/afio/files/Makefile-r1.patch23
-rw-r--r--app-arch/afio/files/Makefile.patch25
-rw-r--r--app-arch/afio/metadata.xml15
7 files changed, 180 insertions, 0 deletions
diff --git a/app-arch/afio/Manifest b/app-arch/afio/Manifest
new file mode 100644
index 000000000000..72ea41434467
--- /dev/null
+++ b/app-arch/afio/Manifest
@@ -0,0 +1,10 @@
+AUX Makefile-r1.patch 908 SHA256 87ab99c04e85f9903e826b09f6fb0d935a21258007590bf1f93aad8c9e87008c SHA512 09303ec59ebdefa0b5033e55b635c0451f176696c64bdd7e06dbe68efdf3cfb869da4896a09be1e9730da0350ea88fb47302c36b516d45ecf8ca178cc648938a WHIRLPOOL 595755ee94910e0cf3379bd35b8b89e91f5d94f5044dd764eecc366f802188f0c3ec898eeb9b9709d8341345aee2987a29b042c76fea85208ddac29b0653b0aa
+AUX Makefile.patch 350 SHA256 901b92bb68d63b8d9c488aab81510929c45325c52b4bbbcff136a6f45cf586ab SHA512 39431930173e0a2eb6b771623d15aa70bdd0bc90cb01b2d64893ca4fec0d0019d4900b39e4a31c09524d921d9f1f0aa6f0312bb50bd430d6950dfda78455b5cf WHIRLPOOL a950f68bc9dbfc4937aa320bd10c157646b6d8b43f772752457255f9873f7c12e2a0cdf6b8a5299aab1a9d81469bdc00cdc29fb881b35132f8060bc22c3a2e5b
+DIST afio-2.5.1.tgz 191765 SHA256 363457a5d6ee422d9b704ef56d26369ca5ee671d7209cfe799cab6e30bf2b99a SHA512 afa4e01cc9e7da5bff7c96d2da9a41c296e7b89c50484f58a8b011173a99a144a9e77d3ee8136622e490287b99a7ae76c6eba901a2186b5a3a6bab164a37c864 WHIRLPOOL 15ad4ec743a2b4ac1b9ca37a5680f2f08fee7dd9cfe22d7a1b1949b4958447365e67096c8123e82a0f41f106ec6e73024152cc05121855a1c5d75589a734a764
+DIST afio-2.5.tgz 179184 SHA256 e7801a0f0a8dcbae41f4156dee5dae2a34a558d6c3ceac517efad4fed610ff2e SHA512 8e8fba115989b60284d09fb37b8f4782b6adc4a0887a05544615a38e62c6b3a48c3194b53ea4496fea64b25d420ff89cf6faab31646998f3612082118fcbb052 WHIRLPOOL 9ee08583d4e64ca6984b66e81eda5f422b89c3da13e130d1c9c7f8b2f78090f37b10fbdbfdda6e0dc30c7183813912d4021ff74d198bdf7203fc516425c40df5
+EBUILD afio-2.5.1-r1.ebuild 628 SHA256 88bea88133d2a9f4a67f86eda101c1a3d98e5e8557417487f0f27875d4745ace SHA512 52cd8fc80ae15e986707b844229a3f3a0d9c5d0ba018b9a9086d57198a5bd3b3e2705ed4684e115da4b9ab35f2b7a27ab0a555374eb630e9a377dac5804ff28c WHIRLPOOL 17568e36bbb795278d1f7a4cf1451cdf0b71e6c50538edf696b90212ad165c058a7fb6918d77e8e186dda881e967f6403cc0e532b39bad1c784c15a69adc028f
+EBUILD afio-2.5.1.ebuild 673 SHA256 145e037330f1ce36e1b078ca46a5cedca9c9759a45d5a3cb16a8a6f20ce63381 SHA512 e3f3cc8b97c53aeb0ba14d6435fc82401ad8a48db85e1f65e7baae4a498e4b1d6801231ad3aeead31e496967f494423d21c3f0885a383e54c98ac0478f0a9435 WHIRLPOOL b895c1ba3683f77e19f8dcf75ff136cfa0550f07e345bcb96b9dd753de050ffd46bdc99480ac00fe8da6adbb2e913056f838d07ab25248729c04ea6bfdae34a2
+EBUILD afio-2.5.ebuild 927 SHA256 2e69b7e2c162801e208450871558913784720c4bda210a6c82f068536d5bf9d3 SHA512 6ecf5514eb1fccb27869a7304abdd0b12a6f6fbd9317958f7450c4352f5c8bb90fec8d17bcd98953fca22e8499d5a3bd40807b49098f51a3175dbea9813fb07d WHIRLPOOL f25817441fff18180fe2f6578dbf162ae7305db23a9fdda0838e2835b027e81a14304de28cdc683a8b2e3b1f60d99f5aefa0b303ed87698b6f85f64261af12bd
+MISC ChangeLog 2606 SHA256 774b5f1bb76963bfc0bfd3440b505ff8ce233f26fb4620bc8efd67bd0e2a8004 SHA512 202bcdcb5a69422e83f40778afe866747e1437f4f98f73e79bc9c6d31cb27be91a9ba564956d2d5d2fe8fce83e501ef6af7ba19a6c627a82387bb07df86ed3e3 WHIRLPOOL 90fa6f529059e003e3835392513ad2489da188d3835a68de02e46872a32751ad0c28ea07770d568fa049159c9e389304d2fa7361d9bb41f194830093cc526327
+MISC ChangeLog-2015 2625 SHA256 9549cce4adc55b405a11ba60be147e44d73aed365e6170973a356ee91aa563b1 SHA512 ccf194fb1b5423714b4d6df08e95a42e5377e934f2e704e8ea9331de658ae8a56914f49d12d141fda7e1bc95e3861a769ae67fb048a5a9b541c296afc29ec705 WHIRLPOOL 144e82e6f0598aedfa85e69860fa886e457b006ef5794be055ebd0feeff26c7ab0137ebd2611bad16e5ba30c0a7ebf36a9015efbc3da6b5b3cf24513d2a0fcad
+MISC metadata.xml 580 SHA256 e46c4aa9273c9a646d757ba7b14cb14a72703a5815bc403d3671048267e25f8f SHA512 b13cf166120b3dff08a5977e1f72b3e14d689b893b055892c86c9060cba94ef0b640208a00439dc377432d0d2d2115462e75fb0883a7566895770674faacceec WHIRLPOOL b5d9c671d681bafcc95fb5c660aec33440a7fdb370ddb2f39d12d1c6af88a59592a28a0d3d77bd49e5ca6565e64f3d540c98e30a72dd59b039654c9f560d2b65
diff --git a/app-arch/afio/afio-2.5.1-r1.ebuild b/app-arch/afio/afio-2.5.1-r1.ebuild
new file mode 100644
index 000000000000..e885c29a4304
--- /dev/null
+++ b/app-arch/afio/afio-2.5.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="cpio-format archives"
+HOMEPAGE="http://members.chello.nl/k.holtman/afio.html"
+SRC_URI="http://members.chello.nl/k.holtman/${P}.tgz"
+
+LICENSE="Artistic LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+
+PATCHES=( "${FILESDIR}"/Makefile-r1.patch )
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ dodoc ANNOUNCE-* HISTORY README SCRIPTS
+
+ local i
+ for i in {1..4}; do
+ docinto "script$i"
+ dodoc "script$i"/*
+ done
+}
diff --git a/app-arch/afio/afio-2.5.1.ebuild b/app-arch/afio/afio-2.5.1.ebuild
new file mode 100644
index 000000000000..45ade45c2dd5
--- /dev/null
+++ b/app-arch/afio/afio-2.5.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Makes cpio-format archives and deals gracefully with input data corruption"
+HOMEPAGE="http://members.chello.nl/k.holtman/afio.html"
+SRC_URI="http://members.chello.nl/k.holtman/${P}.tgz"
+
+LICENSE="Artistic LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/Makefile-r1.patch
+ tc-export CC
+}
+
+src_install() {
+ local i
+ dobin afio
+ dodoc ANNOUNCE-* HISTORY README SCRIPTS
+ for i in 1 2 3 4; do
+ docinto script$i
+ dodoc script$i/*
+ done
+ doman afio.1
+}
diff --git a/app-arch/afio/afio-2.5.ebuild b/app-arch/afio/afio-2.5.ebuild
new file mode 100644
index 000000000000..d7c76737bf2f
--- /dev/null
+++ b/app-arch/afio/afio-2.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Makes cpio-format archives and deals gracefully with input data corruption"
+HOMEPAGE="http://freshmeat.net/projects/afio/"
+SRC_URI="http://members.brabant.chello.nl/~k.holtman/${P}.tgz"
+
+LICENSE="Artistic LGPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ppc sparc x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/Makefile.patch
+ # use our cflags
+ sed -i \
+ -e "s:-O2 -fomit-frame-pointer:${CFLAGS}:" \
+ Makefile \
+ || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ local i
+ dobin afio || die "dobin failed"
+ dodoc ANNOUNCE-2.5 HISTORY README SCRIPTS
+ for i in 1 2 3 4 5 ; do
+ docinto script$i
+ dodoc script$i/*
+ done
+ doman afio.1
+}
diff --git a/app-arch/afio/files/Makefile-r1.patch b/app-arch/afio/files/Makefile-r1.patch
new file mode 100644
index 000000000000..70ec6caa4b90
--- /dev/null
+++ b/app-arch/afio/files/Makefile-r1.patch
@@ -0,0 +1,23 @@
+diff -urN afio-2.5.1.orig/Makefile afio-2.5.1/Makefile
+--- afio-2.5.1.orig/Makefile 2012-02-05 14:52:24.000000000 +0100
++++ afio-2.5.1/Makefile 2012-03-11 14:02:16.267636685 +0100
+@@ -71,15 +71,12 @@
+ MW=
+ #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
+
+-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
+-
+-CC=gcc
+-
+-CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e ${e2} $f $g $I
+-LDFLAGS =
++CC?=gcc
++CFLAGS+=-Wall -Wstrict-prototypes -s ${LARGEFILEFLAGS} ${2} ${3} ${6} ${8} ${c} ${d} ${e2} ${f} ${g}
++LDFLAGS+=
+
+ afio : afio.o compfile.o exten.o match.o $M
+- ${CC} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio
++ ${CC} ${CFLAGS} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio
+
+ clean:
+ rm -f *.o afio
diff --git a/app-arch/afio/files/Makefile.patch b/app-arch/afio/files/Makefile.patch
new file mode 100644
index 000000000000..537c29939fa2
--- /dev/null
+++ b/app-arch/afio/files/Makefile.patch
@@ -0,0 +1,25 @@
+--- Makefile.orig 2003-11-10 00:11:50.000000000 -0800
++++ Makefile 2003-11-10 00:13:47.000000000 -0800
+@@ -1,4 +1,22 @@
+ SHELL=/bin/sh
++1=
++2=
++3=
++4=
++5=
++6=
++7=
++8=
++9=
++a=
++b=
++c=
++d=
++e=
++f=
++g=
++M=
++I=
+ ##
+ ## I wrote this Makefile, based on comments in the source. -rich $alz.
+ ## Define INDEX to use index() in place of strchr() (v7, BSD).
diff --git a/app-arch/afio/metadata.xml b/app-arch/afio/metadata.xml
new file mode 100644
index 000000000000..b232df5209c8
--- /dev/null
+++ b/app-arch/afio/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+Afio makes cpio-format archives. It deals somewhat gracefully
+with input data corruption, supports multi-volume archives during interactive
+operation, and can make compressed archives that are much safer than compressed
+tar or cpio archives. Afio is best used as an 'archive engine' in a backup
+script.
+</longdescription>
+ <upstream>
+ <remote-id type="freshmeat">afio</remote-id>
+ </upstream>
+</pkgmetadata>