diff options
Diffstat (limited to 'app-arch/bsdsfv')
-rw-r--r-- | app-arch/bsdsfv/Manifest | 4 | ||||
-rw-r--r-- | app-arch/bsdsfv/bsdsfv-1.18-r2.ebuild | 28 | ||||
-rw-r--r-- | app-arch/bsdsfv/files/bsdsfv-1.18-64bit.patch | 83 | ||||
-rw-r--r-- | app-arch/bsdsfv/metadata.xml | 8 |
4 files changed, 0 insertions, 123 deletions
diff --git a/app-arch/bsdsfv/Manifest b/app-arch/bsdsfv/Manifest deleted file mode 100644 index a491a5f4b0da..000000000000 --- a/app-arch/bsdsfv/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX bsdsfv-1.18-64bit.patch 2388 BLAKE2B 377975f51f211c90cb9f7571c4b6e437cb75a536238aa703321efcc6ddd13e19b9649468eb8c5aaa23f5ad982148fe92bdb65fb8ef40023d7a4375133810d6c8 SHA512 5831956791b03972b1fdd3199687b10e7a55d562e815f94b863fb75a549eec14b85488bb0a9c9e5d2fb3241a95846f710dd5b19547ce33c425da756c685c18a5 -DIST bsdsfv-1.18.tar.gz 13301 BLAKE2B 663ae589e67455dbea968aeedaed74ed8f267fdb9790417da3d61aec9b3f50a5d87857c5e0f39a359d8b20ebd0bf706c5b775bf61c617669c479460ae8e2ff60 SHA512 f2742cfc5c56c915aff7534eb07025394c57bebf74d6505dc1d7e814e5ca098b474a718ae1c2aeb993cf95dd55fc792c56f9ac80344d112738da2f20157647e6 -EBUILD bsdsfv-1.18-r2.ebuild 582 BLAKE2B abe3c1765ca5dbc8c0996ce4be024f5dde3be36d45a7f9f12d429cf15980815ba663fd4d2a1b21f22f26cdd337f8612d24ec0368a5ce0adccdf9ab6b7138fe87 SHA512 bde8f6f8622c1d7e0ce9091a880b6294ea0f5ec9220378cae97477009eb71c5e033b70b5917fcb5e2641b8eda833c977939a0af40f00e2e824e47cac38bba388 -MISC metadata.xml 282 BLAKE2B 85a3c7f911e18e6a016a1f4a8f79cb25a92b2694a5600cd4af94982babeb156ed4976e2ba5884de772931bcf88133a82d0d00e2a195505f1efaea2316723488b SHA512 49b0ecc9bdba3c6b9a5fb98b41f0a1b4f2f17a9d2eda12c7bfd26d90552237106dec26ba5ae159b4b3e9a1e06e6e0d62be934fa2c01e36df95fc11be8b2506e4 diff --git a/app-arch/bsdsfv/bsdsfv-1.18-r2.ebuild b/app-arch/bsdsfv/bsdsfv-1.18-r2.ebuild deleted file mode 100644 index f41cfb584790..000000000000 --- a/app-arch/bsdsfv/bsdsfv-1.18-r2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="all-in-one SFV checksum utility" -HOMEPAGE="http://bsdsfv.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~hppa ~m68k ppc ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" - -S=${WORKDIR}/${PN} - -PATCHES=( "${FILESDIR}"/${P}-64bit.patch ) - -src_compile() { - emake STRIP=true CC=$(tc-getCC) -} - -src_install() { - dobin bsdsfv - dodoc README MANUAL -} diff --git a/app-arch/bsdsfv/files/bsdsfv-1.18-64bit.patch b/app-arch/bsdsfv/files/bsdsfv-1.18-64bit.patch deleted file mode 100644 index d55b42d01b86..000000000000 --- a/app-arch/bsdsfv/files/bsdsfv-1.18-64bit.patch +++ /dev/null @@ -1,83 +0,0 @@ -Index: bsdsfv/bsdsfv.c -=================================================================== ---- bsdsfv.orig/bsdsfv.c -+++ bsdsfv/bsdsfv.c -@@ -59,10 +59,10 @@ typedef struct sfvtable { - #include <sys/stat.h> - #include <sys/mman.h> - #include <dirent.h> -+#include <inttypes.h> - -- --long --UpdateCRC(unsigned long CRC, const char *buffer, long count) -+int32_t -+UpdateCRC(uint32_t CRC, const char *buffer, int32_t count) - { - /* - * Note: if you want to know how CRC32-checking works, I -@@ -70,7 +70,7 @@ UpdateCRC(unsigned long CRC, const char - * There is not much you can change in this function, so - * if you need a CRC32-check yourself, feel free to rip. - */ -- unsigned long CRCTABLE[] = { -+ uint32_t CRCTABLE[] = { - 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, - 0x706af48f, - 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, -@@ -175,13 +175,13 @@ UpdateCRC(unsigned long CRC, const char - - - --long -+int32_t - GetFileCRC(char *filename) - { -- unsigned long crc = 0xffffffff; -+ uint32_t crc = 0xffffffff; - FILE *f; -- long totalread = 0; -- long localread; -+ int32_t totalread = 0; -+ int32_t localread; - - /* - * Note: different buffer sizes may result in noticable -@@ -306,7 +306,7 @@ main(int argc, char *argv[]) - FILE *missingfile; - DIR *dirp; - struct dirent *dp; -- long mycrc; -+ int32_t mycrc; - int cnt; - int dothisone; - char cfname[FNAMELEN]; -@@ -487,8 +487,8 @@ main(int argc, char *argv[]) - printf("Adding file: %s ... ", cfname); - fflush(stdout); - mycrc = GetFileCRC(cfname); -- printf("CRC = 0x%08lX\n", mycrc); -- sprintf(sfvline, "%s %08lX", cfname, mycrc); -+ printf("CRC = 0x%08" PRIX32 "\n", mycrc); -+ sprintf(sfvline, "%s %08" PRIX32, cfname, mycrc); - - // uncomment next 2 lines to - // convert filename to upper case, for whatever reason -@@ -516,7 +516,7 @@ main(int argc, char *argv[]) - printf("Testing %s ... ", cfname); - fflush(stdout); - mycrc = GetFileCRC(cfname); -- printf("local = 0x%08lX, listed = ", mycrc); -+ printf("local = 0x%08" PRIX32 ", listed = ", mycrc); - fflush(stdout); - - sfvfile = fopen(sfvname, "rt"); -@@ -675,7 +675,7 @@ main(int argc, char *argv[]) - - mycrc = GetFileCRC(dp->d_name); - -- printf("local = 0x%08lX ... ", mycrc); -+ printf("local = 0x%08" PRIX32 " ... ", mycrc); - - if (mycrc == sfvTable[cnt].crc) { - printf("OK\n"); diff --git a/app-arch/bsdsfv/metadata.xml b/app-arch/bsdsfv/metadata.xml deleted file mode 100644 index 869fcb41c15f..000000000000 --- a/app-arch/bsdsfv/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription>A all in one SFV utility.</longdescription> - <upstream> - <remote-id type="sourceforge">bsdsfv</remote-id> - </upstream> -</pkgmetadata> |