Index: head/net-p2p/mktorrent/Makefile =================================================================== --- head/net-p2p/mktorrent/Makefile (revision 449402) +++ head/net-p2p/mktorrent/Makefile (revision 449403) @@ -1,40 +1,41 @@ # Created by: Damian Gerow # $FreeBSD$ PORTNAME= mktorrent PORTVERSION= 1.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= ports@FreeBSD.org COMMENT= Command-line utility for creating BitTorrent metainfo files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= Rudde MAKEFILE= BSDmakefile MAKE_ARGS= USE_LONG_OPTIONS=1 PLIST_FILES= bin/mktorrent OPTIONS_DEFINE= THREADS OPENSSL HASHCHECK OPTIONS_DEFAULT= THREADS OPENSSL HASHCHECK OPENSSL_DESC= Use OpenSSL for hashing HASHCHECK_DESC= Verify file hashes OPENSSL_USES= ssl OPENSSL_CFLAGS= -I${OPENSSLINC} OPENSSL_LDFLAGS= -L${OPENSSLLIB} THREADS_MAKE_ARGS= USE_PTHREADS=1 OPENSSL_MAKE_ARGS= USE_OPENSSL=1 HASHCHECK_MAKE_ARGS= NO_HASH_CHECK=1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include Index: head/net-p2p/mktorrent/files/patch-init.c =================================================================== --- head/net-p2p/mktorrent/files/patch-init.c (nonexistent) +++ head/net-p2p/mktorrent/files/patch-init.c (revision 449403) @@ -0,0 +1,15 @@ +--- init.c.orig 2017-09-07 14:49:58 UTC ++++ init.c +@@ -512,10 +512,10 @@ EXPORT void init(metafile_t *m, int argc + + /* set the correct piece length. + default is 2^18 = 256kb. */ +- if (m->piece_length < 15 || m->piece_length > 28) { ++ if (m->piece_length < 15 || m->piece_length > 30) { + fprintf(stderr, + "The piece length must be a number between " +- "15 and 28.\n"); ++ "15 and 30.\n"); + exit(EXIT_FAILURE); + } + m->piece_length = 1 << m->piece_length; Property changes on: head/net-p2p/mktorrent/files/patch-init.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property