FreeBSD Bugzilla – Attachment 217249 Details for
Bug 248681
archivers/par2cmdline - changing upstream
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Port diff ( I hope i done it right)
par2cmdline.diff (text/plain), 6.05 KB, created by
Paul Holmanskikh
on 2020-08-16 04:10:11 UTC
(
hide
)
Description:
Port diff ( I hope i done it right)
Filename:
MIME Type:
Creator:
Paul Holmanskikh
Created:
2020-08-16 04:10:11 UTC
Size:
6.05 KB
patch
obsolete
>diff -ruN /usr/ports/archivers/par2cmdline/Makefile ./Makefile >--- /usr/ports/archivers/par2cmdline/Makefile 2014-07-16 13:47:05.000000000 +1000 >+++ ./Makefile 2020-08-16 08:56:32.456502000 +1000 >@@ -2,24 +2,32 @@ > # $FreeBSD: head/archivers/par2cmdline/Makefile 362027 2014-07-16 03:47:05Z adamw $ > > PORTNAME= par2cmdline >-PORTVERSION= 0.4 >-PORTREVISION= 4 >+PORTVERSION= 0.8.1 >+# PORTREVISION= 0 >+DISTVERSIONPREFIX= v >+# DISTVERSION= ${PORTVERSION} > CATEGORIES= archivers >-MASTER_SITES= SF/parchive/${PORTNAME}/${PORTVERSION} > > MAINTAINER= martymac@FreeBSD.org > COMMENT= Tools for using Parity v2 Archive files > > LICENSE= GPLv2 > >+USES= autoreconf > GNU_CONFIGURE= yes > >+USE_GITHUB= yes >+GH_ACCOUNT= Parchive >+GH_PROJECT= par2cmdline >+ > PORTDOCS= README > CONFLICTS= par2cmdline-tbb-[0-9]* > >-PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify >+PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify man/man1/par2.1.gz > > OPTIONS_DEFINE= DOCS >+ >+# AUTOMAKE_ARGS= --warnings=all --add-missing > > post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} >diff -ruN /usr/ports/archivers/par2cmdline/distinfo ./distinfo >--- /usr/ports/archivers/par2cmdline/distinfo 2014-01-23 02:30:13.000000000 +1100 >+++ ./distinfo 2020-08-16 08:56:32.456325000 +1000 >@@ -1,2 +1,2 @@ >-SHA256 (par2cmdline-0.4.tar.gz) = 9e32b7dbcf7bca8249f98824757d4868714156fe2276516504cd26f736e9f677 >-SIZE (par2cmdline-0.4.tar.gz) = 239312 >+SHA256 (Parchive-par2cmdline-v0.8.1_GH0.tar.gz) = 529f85857ec44e501cd8d95b0c8caf47477d7daa5bfb989e422c800bb71b689a >+SIZE (Parchive-par2cmdline-v0.8.1_GH0.tar.gz) = 3581759 >diff -ruN /usr/ports/archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp ./files/patch-par2creatorsourcefile.cpp >--- /usr/ports/archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp 2016-07-27 02:51:15.000000000 +1000 >+++ ./files/patch-par2creatorsourcefile.cpp 1970-01-01 10:00:00.000000000 +1000 >@@ -1,13 +0,0 @@ >---- par2creatorsourcefile.cpp.orig 2004-04-15 13:45:23 UTC >-+++ par2creatorsourcefile.cpp >-@@ -224,6 +224,10 @@ bool Par2CreatorSourceFile::Open(Command >- cout << newfraction/10 << '.' << newfraction%10 << "%\r" << flush; >- } >- } >-+ else >-+ { >-+ offset += want; >-+ } >- } >- >- // Did we finish the last block >diff -ruN /usr/ports/archivers/par2cmdline/files/patch-par2fileformat.h ./files/patch-par2fileformat.h >--- /usr/ports/archivers/par2cmdline/files/patch-par2fileformat.h 2016-07-27 02:51:15.000000000 +1000 >+++ ./files/patch-par2fileformat.h 1970-01-01 10:00:00.000000000 +1000 >@@ -1,11 +0,0 @@ >---- par2fileformat.h.orig 2003-08-01 23:43:40 UTC >-+++ par2fileformat.h >-@@ -84,7 +84,7 @@ struct FILEVERIFICATIONPACKET >- PACKET_HEADER header; >- // Body >- MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name >-- FILEVERIFICATIONENTRY entries[]; >-+ FILEVERIFICATIONENTRY entries[0]; >- } PACKED; >- >- // The file description packet is used to record the name of the file, >diff -ruN /usr/ports/archivers/par2cmdline/files/patch-reedsolomon.cpp ./files/patch-reedsolomon.cpp >--- /usr/ports/archivers/par2cmdline/files/patch-reedsolomon.cpp 2016-07-27 02:51:15.000000000 +1000 >+++ ./files/patch-reedsolomon.cpp 1970-01-01 10:00:00.000000000 +1000 >@@ -1,56 +0,0 @@ >---- reedsolomon.cpp.orig 2003-05-26 18:01:31 UTC >-+++ reedsolomon.cpp >-@@ -51,7 +51,7 @@ u32 gcd(u32 a, u32 b) >- } >- } >- >--bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present) >-+template<> bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present) >- { >- inputcount = (u32)present.size(); >- >-@@ -80,7 +80,7 @@ bool ReedSolomon<Galois8>::SetInput(cons >- return true; >- } >- >--bool ReedSolomon<Galois8>::SetInput(u32 count) >-+template<> bool ReedSolomon<Galois8>::SetInput(u32 count) >- { >- inputcount = count; >- >-@@ -101,7 +101,7 @@ bool ReedSolomon<Galois8>::SetInput(u32 >- return true; >- } >- >--bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) >-+template<> bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) >- { >- // Look up the appropriate element in the RS matrix >- Galois8 factor = leftmatrix[outputindex * (datapresent + datamissing) + inputindex]; >-@@ -189,7 +189,7 @@ bool ReedSolomon<Galois8>::Process(size_ >- >- // Set which of the source files are present and which are missing >- // and compute the base values to use for the vandermonde matrix. >--bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present) >-+template<> bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present) >- { >- inputcount = (u32)present.size(); >- >-@@ -233,7 +233,7 @@ bool ReedSolomon<Galois16>::SetInput(con >- >- // Record that the specified number of source files are all present >- // and compute the base values to use for the vandermonde matrix. >--bool ReedSolomon<Galois16>::SetInput(u32 count) >-+template<> bool ReedSolomon<Galois16>::SetInput(u32 count) >- { >- inputcount = count; >- >-@@ -267,7 +267,7 @@ bool ReedSolomon<Galois16>::SetInput(u32 >- return true; >- } >- >--bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) >-+template<> bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) >- { >- // Look up the appropriate element in the RS matrix >- >diff -ruN /usr/ports/archivers/par2cmdline/pkg-descr ./pkg-descr >--- /usr/ports/archivers/par2cmdline/pkg-descr 2014-01-23 02:44:51.000000000 +1100 >+++ ./pkg-descr 2020-08-16 13:21:17.334436000 +1000 >@@ -4,4 +4,8 @@ > damage in data files and repair them if necessary. It can be used with > any kind of file. Par files are especially popular on Usenet. > >-WWW: http://parchive.sourceforge.net/ >+OpenMP multithreading was originally developed by Jussi Kansanen: https://github.com/jkansanen/par2cmdline-mt >+The original development was done on Sourceforge but stalled. >+For more information from the original authors see http://parchive.sourceforge.net >+ >+WWW: https://github.com/Parchive/par2cmdline
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248681
: 217249