pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/vanitygen: import vanitygen-0.21



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Oct 19 03:25:44 2017 +0200
Changeset:	3f7f86e3adfb9beda6a84714fcb5e5def28f009f

Added Files:
	vanitygen/DESCR
	vanitygen/Makefile
	vanitygen/PLIST
	vanitygen/distinfo
	vanitygen/patches/patch-Makefile

Log Message:
wip/vanitygen: import vanitygen-0.21

Vanitygen can generate regular bitcoin addresses, namecoin addresses,
and testnet addresses.

Vanitygen can search for exact prefixes or regular expression matches.
When searching for exact prefixes, vanitygen will ensure that the
prefix is possible, will provide a difficulty estimate, and will run
about 30% faster.  Exact prefixes are case-sensitive by default, but
may be searched case-insensitively using the "-i" option.  Regular
expression patterns follow the Perl-compatible regular expression
language.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3f7f86e3adfb9beda6a84714fcb5e5def28f009f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vanitygen/DESCR                  | 10 ++++++++++
 vanitygen/Makefile               | 18 ++++++++++++++++++
 vanitygen/PLIST                  |  1 +
 vanitygen/distinfo               |  7 +++++++
 vanitygen/patches/patch-Makefile | 32 ++++++++++++++++++++++++++++++++
 5 files changed, 68 insertions(+)

diffs:
diff --git a/vanitygen/DESCR b/vanitygen/DESCR
new file mode 100644
index 0000000000..e16bcbf3a4
--- /dev/null
+++ b/vanitygen/DESCR
@@ -0,0 +1,10 @@
+Vanitygen can generate regular bitcoin addresses, namecoin addresses,
+and testnet addresses.
+
+Vanitygen can search for exact prefixes or regular expression matches.
+When searching for exact prefixes, vanitygen will ensure that the
+prefix is possible, will provide a difficulty estimate, and will run
+about 30% faster.  Exact prefixes are case-sensitive by default, but
+may be searched case-insensitively using the "-i" option.  Regular
+expression patterns follow the Perl-compatible regular expression
+language.
diff --git a/vanitygen/Makefile b/vanitygen/Makefile
new file mode 100644
index 0000000000..c6e93cf55a
--- /dev/null
+++ b/vanitygen/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	vanitygen-0.21
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=samr7/}
+
+MAINTAINER=	pkgsrc-user%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/samr7/vanitygen/
+COMMENT=	Vanity address generator
+LICENSE=	gnu-agpl-v3
+
+USE_TOOLS+=	gmake
+
+BUILD_TARGET=	most # all: requires OpenCL
+
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/vanitygen/PLIST b/vanitygen/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/vanitygen/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/vanitygen/distinfo b/vanitygen/distinfo
new file mode 100644
index 0000000000..966af9efeb
--- /dev/null
+++ b/vanitygen/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (vanitygen-0.21.tar.gz) = 38fde7e157088fb9c88770f92a038a33666d0ddf
+RMD160 (vanitygen-0.21.tar.gz) = 1325cc080dff94b1cd64343bbd8bc7361dc08eb8
+SHA512 (vanitygen-0.21.tar.gz) = 339fd0ddb7e78d55f95c7e4797d3e2e92dce407a8221f42f3e9971d07210fcea0d681e32247d2d1d46a0946a7e735597eb32dc981ac4f1796abe2ec0a141e88f
+Size (vanitygen-0.21.tar.gz) = 77441 bytes
+SHA1 (patch-Makefile) = c92cf37e77691689b4bafc177c3ebdf714ed5722
diff --git a/vanitygen/patches/patch-Makefile b/vanitygen/patches/patch-Makefile
new file mode 100644
index 0000000000..15eff8dff7
--- /dev/null
+++ b/vanitygen/patches/patch-Makefile
@@ -0,0 +1,32 @@
+$NetBSD$
+
+--- Makefile.orig	2012-08-22 02:33:26.000000000 +0000
++++ Makefile
+@@ -1,5 +1,5 @@
+ LIBS=-lpcre -lcrypto -lm -lpthread
+-CFLAGS=-ggdb -O3 -Wall
++CFLAGS+=-ggdb -O3 -Wall
+ OBJS=vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o
+ PROGS=vanitygen keyconv oclvanitygen oclvanityminer
+ 
+@@ -16,16 +16,16 @@ most: vanitygen keyconv
+ all: $(PROGS)
+ 
+ vanitygen: vanitygen.o pattern.o util.o
+-	$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
++	$(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS)
+ 
+ oclvanitygen: oclvanitygen.o oclengine.o pattern.o util.o
+-	$(CC) $^ -o $@ $(CFLAGS) $(LIBS) $(OPENCL_LIBS)
++	$(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS) $(OPENCL_LIBS)
+ 
+ oclvanityminer: oclvanityminer.o oclengine.o pattern.o util.o
+-	$(CC) $^ -o $@ $(CFLAGS) $(LIBS) $(OPENCL_LIBS) -lcurl
++	$(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS) $(OPENCL_LIBS) -lcurl
+ 
+ keyconv: keyconv.o util.o
+-	$(CC) $^ -o $@ $(CFLAGS) $(LIBS)
++	$(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS)
+ 
+ clean:
+ 	rm -f $(OBJS) $(PROGS) $(TESTS)


Home | Main Index | Thread Index | Old Index