Update to 0.4.0
Submitted by: dinoex
This commit is contained in:
parent
3f0e7e442e
commit
0c8479d996
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116082
6 changed files with 34 additions and 10 deletions
|
@ -6,19 +6,19 @@
|
|||
#
|
||||
|
||||
PORTNAME= edonkey
|
||||
PORTVERSION= 0.3.3
|
||||
PORTVERSION= 0.4.0
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ed2k-tools
|
||||
PKGNAMESUFFIX= -tool-hash
|
||||
DISTNAME= ed2k-hash_${PORTVERSION}
|
||||
DISTNAME= ed2k_hash-${PORTVERSION}
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
COMMENT= Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links
|
||||
|
||||
PLIST_FILES= bin/edonkey-tool-hash
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER=13
|
||||
USE_LIBTOOL_VER=15
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/ed2k_hash-${PORTVERSION}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (ed2k-hash_0.3.3.tar.gz) = 989a530afaefa3d797471d0ce5ef1d0a
|
||||
SIZE (ed2k-hash_0.3.3.tar.gz) = 347541
|
||||
MD5 (ed2k_hash-0.4.0.tar.gz) = 545d44d5e00078011f41a18e235f4af8
|
||||
SIZE (ed2k_hash-0.4.0.tar.gz) = 113158
|
||||
|
|
12
misc/edonkey-tool-hash/files/patch-processfile.c
Normal file
12
misc/edonkey-tool-hash/files/patch-processfile.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ed2k_hash/processfile.c.orig Wed Jun 25 00:51:21 2003
|
||||
+++ ed2k_hash/processfile.c Mon Aug 9 20:39:37 2004
|
||||
@@ -123,6 +123,9 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+#ifndef _SC_PAGE_SIZE
|
||||
+#define _SC_PAGE_SIZE _SC_PAGESIZE
|
||||
+#endif
|
||||
pagesize = sysconf(_SC_PAGE_SIZE);
|
||||
|
||||
for (b=0; b < fi.blocks; b++)
|
|
@ -6,19 +6,19 @@
|
|||
#
|
||||
|
||||
PORTNAME= edonkey
|
||||
PORTVERSION= 0.3.3
|
||||
PORTVERSION= 0.4.0
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ed2k-tools
|
||||
PKGNAMESUFFIX= -tool-hash
|
||||
DISTNAME= ed2k-hash_${PORTVERSION}
|
||||
DISTNAME= ed2k_hash-${PORTVERSION}
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
COMMENT= Both calculates 'eDonkey/Overnet hashes' producing ed2k:// file links
|
||||
|
||||
PLIST_FILES= bin/edonkey-tool-hash
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER=13
|
||||
USE_LIBTOOL_VER=15
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/ed2k_hash-${PORTVERSION}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (ed2k-hash_0.3.3.tar.gz) = 989a530afaefa3d797471d0ce5ef1d0a
|
||||
SIZE (ed2k-hash_0.3.3.tar.gz) = 347541
|
||||
MD5 (ed2k_hash-0.4.0.tar.gz) = 545d44d5e00078011f41a18e235f4af8
|
||||
SIZE (ed2k_hash-0.4.0.tar.gz) = 113158
|
||||
|
|
12
net-p2p/edonkey-tool-hash/files/patch-processfile.c
Normal file
12
net-p2p/edonkey-tool-hash/files/patch-processfile.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ed2k_hash/processfile.c.orig Wed Jun 25 00:51:21 2003
|
||||
+++ ed2k_hash/processfile.c Mon Aug 9 20:39:37 2004
|
||||
@@ -123,6 +123,9 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+#ifndef _SC_PAGE_SIZE
|
||||
+#define _SC_PAGE_SIZE _SC_PAGESIZE
|
||||
+#endif
|
||||
pagesize = sysconf(_SC_PAGE_SIZE);
|
||||
|
||||
for (b=0; b < fi.blocks; b++)
|
Loading…
Reference in a new issue