pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/cpuminer
Module Name: pkgsrc
Committed By: khorben
Date: Sun Oct 1 15:07:14 UTC 2017
Added Files:
pkgsrc/finance/cpuminer: DESCR Makefile PLIST distinfo
pkgsrc/finance/cpuminer/files: minerd.conf minerd.sh
Log Message:
Import cpuminer version 2.5.0
Multi-threaded CPU miner for Litecoin and Bitcoin, fork of Jeff Garzik's
reference cpuminer.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/cpuminer/DESCR \
pkgsrc/finance/cpuminer/Makefile pkgsrc/finance/cpuminer/PLIST \
pkgsrc/finance/cpuminer/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/cpuminer/files/minerd.conf \
pkgsrc/finance/cpuminer/files/minerd.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/finance/cpuminer/DESCR
diff -u /dev/null pkgsrc/finance/cpuminer/DESCR:1.1
--- /dev/null Sun Oct 1 15:07:14 2017
+++ pkgsrc/finance/cpuminer/DESCR Sun Oct 1 15:07:14 2017
@@ -0,0 +1,2 @@
+Multi-threaded CPU miner for Litecoin and Bitcoin, fork of Jeff Garzik's
+reference cpuminer.
Index: pkgsrc/finance/cpuminer/Makefile
diff -u /dev/null pkgsrc/finance/cpuminer/Makefile:1.1
--- /dev/null Sun Oct 1 15:07:14 2017
+++ pkgsrc/finance/cpuminer/Makefile Sun Oct 1 15:07:14 2017
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2017/10/01 15:07:14 khorben Exp $
+
+DISTNAME= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+PKGNAME= cpuminer-2.5.0
+CATEGORIES= finance
+MASTER_SITES= ${MASTER_SITE_GITHUB:=pooler/}
+
+MAINTAINER= khorben%defora.org@localhost
+HOMEPAGE= https://github.com/pooler/cpuminer/
+COMMENT= CPU miner for Litecoin and Bitcoin
+LICENSE= gnu-gpl-v2
+
+GITHUB_PROJECT= cpuminer
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= autoconf autoheader automake
+
+RCD_SCRIPTS= minerd
+
+CONF_FILES+= ${PREFIX}/share/examples/cpuminer/minerd.conf \
+ ${PKG_SYSCONFDIR}/minerd.conf
+
+INSTALLATION_DIRS+= share/examples/cpuminer
+
+pre-configure:
+ cd ${WRKSRC} && ${SH} ./autogen.sh
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/minerd.conf \
+ ${DESTDIR}${PREFIX}/share/examples/cpuminer
+
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/finance/cpuminer/PLIST
diff -u /dev/null pkgsrc/finance/cpuminer/PLIST:1.1
--- /dev/null Sun Oct 1 15:07:14 2017
+++ pkgsrc/finance/cpuminer/PLIST Sun Oct 1 15:07:14 2017
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/01 15:07:14 khorben Exp $
+bin/minerd
+man/man1/minerd.1
+share/examples/cpuminer/minerd.conf
Index: pkgsrc/finance/cpuminer/distinfo
diff -u /dev/null pkgsrc/finance/cpuminer/distinfo:1.1
--- /dev/null Sun Oct 1 15:07:14 2017
+++ pkgsrc/finance/cpuminer/distinfo Sun Oct 1 15:07:14 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/01 15:07:14 khorben Exp $
+
+SHA1 (cpuminer-2.5.0.tar.gz) = 502e7edfa3ff7fe4300065c68f660acd8fb63476
+RMD160 (cpuminer-2.5.0.tar.gz) = 954d68d8a59665364844d4c1e89e67fdb2ab9124
+SHA512 (cpuminer-2.5.0.tar.gz) = e635e346cc5dd4e5159b5d0c9dd8f44e642c626da934638a73b9da8421b70c97ce0f5671cc35be3f5ad5711c38164e7e7ed94c0b593892b32203f0527b4ffdc1
+Size (cpuminer-2.5.0.tar.gz) = 117655 bytes
Index: pkgsrc/finance/cpuminer/files/minerd.conf
diff -u /dev/null pkgsrc/finance/cpuminer/files/minerd.conf:1.1
--- /dev/null Sun Oct 1 15:07:14 2017
+++ pkgsrc/finance/cpuminer/files/minerd.conf Sun Oct 1 15:07:14 2017
@@ -0,0 +1,6 @@
+{
+ "url": "stratum+tcp://example.com:3333",
+ "userpass": "foo:bar",
+ "retry-pause": "10",
+ "quiet": true
+}
Index: pkgsrc/finance/cpuminer/files/minerd.sh
diff -u /dev/null pkgsrc/finance/cpuminer/files/minerd.sh:1.1
--- /dev/null Sun Oct 1 15:07:14 2017
+++ pkgsrc/finance/cpuminer/files/minerd.sh Sun Oct 1 15:07:14 2017
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: minerd.sh,v 1.1 2017/10/01 15:07:14 khorben Exp $
+#
+
+# PROVIDE: minerd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="minerd"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+required_files="@PKG_SYSCONFDIR@/minerd.conf"
+minerd_flags="-B -S -c @PKG_SYSCONFDIR@/minerd.conf"
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index