diff options
Diffstat (limited to 'app-forensics/rifiuti')
5 files changed, 68 insertions, 0 deletions
diff --git a/app-forensics/rifiuti/Manifest b/app-forensics/rifiuti/Manifest new file mode 100644 index 000000000000..4f3f3b993280 --- /dev/null +++ b/app-forensics/rifiuti/Manifest @@ -0,0 +1,5 @@ +AUX rifiuti-20040505_p1-Wimplicit-function-declaration.patch 232 BLAKE2B f6ac4429c4d2681139ea2fd72c7d06e75b4d11aab0f4fd5453e181b54f624f5156bb493fae7717905e59943d249c6b9a65b486a5c2eaf092b5f20261a0680e32 SHA512 98cef5d4fcc939d7a336077dd52f04006402c581d01337ee968a4594171dfc730dbc93c2cbc8a819fb66da0280b0807d1a46ff89e10d497f1fa0ad341679b091 +AUX rifiuti-20040505_p1-fix-build-system.patch 261 BLAKE2B 8c4c708f8ff9850fa7b6c65fd589b55a0a7368640907b8e32d8dec85082e0725e0c99481d054ce192bcf61c6f8eeb7f2700f1038bd92bba2e8f77fb67d0b8880 SHA512 f7e2fc8e4706c2d2262eeade52fa14478208a69807809954b4e03ada11afab49fa9939f491c11d07895c44829918e9d11c843db7f0385af5e98329596fcaf121 +DIST rifiuti_20040505_1.tar.gz 2823 BLAKE2B 786ad2b6b4f2744b960300cf7cd35e46782a3b6a56a23b6cf1157855d5df8237806cf35243409efdab6e41f6fb004f1954a9291e608152f961a4107a11c37f65 SHA512 9d7e77c3eb74b97fedd66c0cac9c1960d3de0f284fcdee81c1e523eb9898cc9758194d7913b1bd7e0bc82eae4eeed656b7b3c699bcdd536325604d17c41da6de +EBUILD rifiuti-20040505_p1.ebuild 599 BLAKE2B 1408d1b8178989f4d31a97eb5d142e383a958b8e40ba86c6a371173b1e3ce10e3a56866f05378c75ddb1ae3af360c4b501748020592ee9a7c35a314b55437667 SHA512 b703849328a01014709161e616c6bae1ab221d2cb80227b5eb55fb1c532cf3dde98e09f068f20606738c2625958b91bbc34a5339c57af6217ee1abcd0948dfd5 +MISC metadata.xml 243 BLAKE2B 49032770463d42b7c19857cc2ea11f0a1a5cbdb1a44b0c77ea2660f377b7d04e113dbb3c7e45870aeb8032d2ef683a35f0f7a958ccadadcbd2de376dd513bed8 SHA512 4e97cd2b4cea4fe6059d375cd29eb5e97c8a40581126a624d1c7a48e2e9092472bc0f4e4f61a95a73121aa183995706b8111757e5dcb3d0bf0458e33029aeda1 diff --git a/app-forensics/rifiuti/files/rifiuti-20040505_p1-Wimplicit-function-declaration.patch b/app-forensics/rifiuti/files/rifiuti-20040505_p1-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..1ac3207a7c4f --- /dev/null +++ b/app-forensics/rifiuti/files/rifiuti-20040505_p1-Wimplicit-function-declaration.patch @@ -0,0 +1,11 @@ +--- a/rifiuti.c ++++ b/rifiuti.c +@@ -35,6 +35,8 @@ + #include <stdio.h> + #include <time.h> + #include <math.h> ++#include <stdlib.h> ++#include <string.h> + + #ifdef CYGWIN + ssize_t pread( int d, void *buf, size_t nbytes, off_t offset) { diff --git a/app-forensics/rifiuti/files/rifiuti-20040505_p1-fix-build-system.patch b/app-forensics/rifiuti/files/rifiuti-20040505_p1-fix-build-system.patch new file mode 100644 index 000000000000..a1c452047913 --- /dev/null +++ b/app-forensics/rifiuti/files/rifiuti-20040505_p1-fix-build-system.patch @@ -0,0 +1,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,6 @@ +-all: install ++LDLIBS += -lm + +-install: rifiuti.c +- gcc -o rifiuti rifiuti.c -lm -lc;cp rifiuti ../bin ++all: rifiuti + + installwin: rifiuti.c + gcc -DCYGWIN -o rifiuti.exe rifiuti.c -lm -lc;cp rifiuti.exe ../bin diff --git a/app-forensics/rifiuti/metadata.xml b/app-forensics/rifiuti/metadata.xml new file mode 100644 index 000000000000..aa3597556ef2 --- /dev/null +++ b/app-forensics/rifiuti/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">odessa</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-forensics/rifiuti/rifiuti-20040505_p1.ebuild b/app-forensics/rifiuti/rifiuti-20040505_p1.ebuild new file mode 100644 index 000000000000..bdb5212fbcc7 --- /dev/null +++ b/app-forensics/rifiuti/rifiuti-20040505_p1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P=${PN}_${PV/_p/_} + +DESCRIPTION="Recycle Bin Analyzer" +HOMEPAGE="https://sourceforge.net/projects/odessa/" +SRC_URI="mirror://sourceforge/odessa/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +S=${WORKDIR}/${MY_P}/src +PATCHES=( + "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + dobin ${PN} + dodoc ../{CHANGES,Readme.txt} +} |