Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 20:02:04 GMT
From:      Eric Allen Griff <setjmp@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186519: New port net/libblkmaker MIT-licensed C implementation of getblocktemplate (BIP 22)
Message-ID:  <201402062002.s16K24Nv068508@oldred.freebsd.org>
Resent-Message-ID: <201402062010.s16KA0mS060560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186519
>Category:       ports
>Synopsis:       New port net/libblkmaker MIT-licensed C implementation of getblocktemplate (BIP 22)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 06 20:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Eric Allen Griff
>Release:        9.2-STABLE
>Organization:
setjmp
>Environment:
>Description:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       libblkmaker
#       libblkmaker/pkg-descr
#       libblkmaker/Makefile
#       libblkmaker/pkg-plist
#       libblkmaker/distinfo
#       libblkmaker/files
#       libblkmaker/files/patch-Makefile.am
#       libblkmaker/files/example-Makefile
#
echo c - libblkmaker
mkdir -p libblkmaker > /dev/null 2>&1
echo x - libblkmaker/pkg-descr
sed 's/^X//' >libblkmaker/pkg-descr << '53a72f747e5ccc290c42c6bdfed18c5f'
XMIT-licensed C implementation of getblocktemplate (BIP 22)
X
XWWW: https://en.bitcoin.it/wiki/BIP_0022
53a72f747e5ccc290c42c6bdfed18c5f
echo x - libblkmaker/Makefile
sed 's/^X//' >libblkmaker/Makefile << '87491e5a48feb2e43bf000aced109642'
X# Created by: Eric Allen Griff <setjmp@hotmail.com>
X# $FreeBSD$
X
XPORTNAME=      libblkmaker
XPORTVERSION=   0.1
XCATEGORIES=    net textproc net-p2p
XMASTER_SITES=  http://gitorious.org/bitcoin/${PORTNAME}/archive/ \
X               https://gitorious.org/bitcoin/${PORTNAME}/archive/
XDISTNAME=      eb33f9c8e441ffef457a79d76ceed1ea20ab3059
X
XMAINTAINER=    setjmp@hotmail.com
XCOMMENT=       MIT-licensed C implementation of getblocktemplate (BIP 22)
X
XLICENSE=       MIT
X
XLIB_DEPENDS=   libgcrypt.so:${PORTSDIR}/security/libgcrypt \
X               libjansson.so:${PORTSDIR}/devel/jansson
X
XWRKSRC=                ${WRKDIR}/bitcoin-libblkmaker
XGNU_CONFIGURE= yes
XUSES=   pathfix pkgconfig
X
XUSE_LDCONFIG=  yes
XUSE_AUTOTOOLS=  libtoolize aclocal autoconf automake
XACLOCAL_ARGS=   --force
XLIBTOOLIZE_ARGS=--copy --force
XAUTOCONF_ARGS=  --force
XAUTOMAKE_ARGS=  --add-missing --copy --force-missing
X
Xpost-install:
X       ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PKGNAME}.so.4
X       ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}_jansson-${PORTVERSION}.so.4
X       ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
X       ${INSTALL_DATA} ${WRKSRC}/private.h ${STAGEDIR}${EXAMPLESDIR}
X       ${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR}
X       ${INSTALL_DATA} ${WRKSRC}/testinput.c ${STAGEDIR}${EXAMPLESDIR}
X       ${INSTALL_DATA} ${FILESDIR}/example-Makefile ${STAGEDIR}${EXAMPLESDIR}/Makefile
X
X.include <bsd.port.mk>
87491e5a48feb2e43bf000aced109642
echo x - libblkmaker/pkg-plist
sed 's/^X//' >libblkmaker/pkg-plist << '2c66e28373b177221440165ac4d66f38'
Xinclude/libblkmaker-0.1/blkmaker.h
Xinclude/libblkmaker-0.1/blkmaker_jansson.h
Xinclude/libblkmaker-0.1/blktemplate.h
Xlib/libblkmaker-0.1.la
Xlib/libblkmaker-0.1.so
Xlib/libblkmaker-0.1.so.4
Xlib/libblkmaker_jansson-0.1.la
Xlib/libblkmaker_jansson-0.1.so
Xlib/libblkmaker_jansson-0.1.so.4
Xlibdata/pkgconfig/libblkmaker_jansson-0.1.pc
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/private.h
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testinput.c
X%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
X@dirrmtry include/libblkmaker-0.1
2c66e28373b177221440165ac4d66f38
echo x - libblkmaker/distinfo
sed 's/^X//' >libblkmaker/distinfo << '1702d7f6d8a253c39f0d9469e4f96153'
XSHA256 (eb33f9c8e441ffef457a79d76ceed1ea20ab3059.tar.gz) = 87b7d30749ddd4d77388a27013a4984662329843d21a81f4eb5a8af5d11761bc
XSIZE (eb33f9c8e441ffef457a79d76ceed1ea20ab3059.tar.gz) = 12255
1702d7f6d8a253c39f0d9469e4f96153
echo c - libblkmaker/files
mkdir -p libblkmaker/files > /dev/null 2>&1
echo x - libblkmaker/files/patch-Makefile.am
sed 's/^X//' >libblkmaker/files/patch-Makefile.am << 'b5fcb9d591ad917bb5e77fd9bb599030'
X--- Makefile.am.orig    2014-01-30 07:04:16.000000000 -0500
X+++ Makefile.am 2014-01-30 07:04:40.000000000 -0500
X@@ -36,5 +36,5 @@
X        blkmaker_jansson.h
X
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = \
X        libblkmaker_jansson-$(LIBBLKMAKER_API_VERSION).pc
X
b5fcb9d591ad917bb5e77fd9bb599030
echo x - libblkmaker/files/example-Makefile
sed 's/^X//' >libblkmaker/files/example-Makefile << 'ceddebc1e9e20e9ad2ca57dc4e8e0124'
XCFLAGS=        -I /usr/local/include -I /usr/local/include/libblkmaker-0.1
XLDFLAGS=       -L /usr/local/lib -L ../stage/usr/local/lib -lblkmaker-0.1 -lblkmaker_jansson-0.1 -lgcrypt
Xall: example
Xclean:
X       rm -f example
ceddebc1e9e20e9ad2ca57dc4e8e0124
exit


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libblkmaker
#	libblkmaker/pkg-descr
#	libblkmaker/Makefile
#	libblkmaker/pkg-plist
#	libblkmaker/distinfo
#	libblkmaker/files
#	libblkmaker/files/patch-Makefile.am
#	libblkmaker/files/example-Makefile
#
echo c - libblkmaker
mkdir -p libblkmaker > /dev/null 2>&1
echo x - libblkmaker/pkg-descr
sed 's/^X//' >libblkmaker/pkg-descr << '53a72f747e5ccc290c42c6bdfed18c5f'
XMIT-licensed C implementation of getblocktemplate (BIP 22)
X
XWWW: https://en.bitcoin.it/wiki/BIP_0022
53a72f747e5ccc290c42c6bdfed18c5f
echo x - libblkmaker/Makefile
sed 's/^X//' >libblkmaker/Makefile << '87491e5a48feb2e43bf000aced109642'
X# Created by: Eric Allen Griff <setjmp@hotmail.com>
X# $FreeBSD$
X
XPORTNAME=	libblkmaker
XPORTVERSION=	0.1
XCATEGORIES=	net textproc net-p2p
XMASTER_SITES=	http://gitorious.org/bitcoin/${PORTNAME}/archive/ \
X		https://gitorious.org/bitcoin/${PORTNAME}/archive/
XDISTNAME=	eb33f9c8e441ffef457a79d76ceed1ea20ab3059
X
XMAINTAINER=	setjmp@hotmail.com
XCOMMENT=	MIT-licensed C implementation of getblocktemplate (BIP 22)
X
XLICENSE=	MIT
X
XLIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
X		libjansson.so:${PORTSDIR}/devel/jansson
X
XWRKSRC=		${WRKDIR}/bitcoin-libblkmaker
XGNU_CONFIGURE=	yes
XUSES=   pathfix pkgconfig
X
XUSE_LDCONFIG=	yes
XUSE_AUTOTOOLS=  libtoolize aclocal autoconf automake
XACLOCAL_ARGS=   --force
XLIBTOOLIZE_ARGS=--copy --force
XAUTOCONF_ARGS=  --force
XAUTOMAKE_ARGS=  --add-missing --copy --force-missing
X
Xpost-install:
X	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PKGNAME}.so.4
X	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}_jansson-${PORTVERSION}.so.4
X	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/private.h ${STAGEDIR}${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/testinput.c ${STAGEDIR}${EXAMPLESDIR}
X	${INSTALL_DATA} ${FILESDIR}/example-Makefile ${STAGEDIR}${EXAMPLESDIR}/Makefile
X
X.include <bsd.port.mk>
87491e5a48feb2e43bf000aced109642
echo x - libblkmaker/pkg-plist
sed 's/^X//' >libblkmaker/pkg-plist << '2c66e28373b177221440165ac4d66f38'
Xinclude/libblkmaker-0.1/blkmaker.h
Xinclude/libblkmaker-0.1/blkmaker_jansson.h
Xinclude/libblkmaker-0.1/blktemplate.h
Xlib/libblkmaker-0.1.la
Xlib/libblkmaker-0.1.so
Xlib/libblkmaker-0.1.so.4
Xlib/libblkmaker_jansson-0.1.la
Xlib/libblkmaker_jansson-0.1.so
Xlib/libblkmaker_jansson-0.1.so.4
Xlibdata/pkgconfig/libblkmaker_jansson-0.1.pc
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.c
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/private.h
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testinput.c
X%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
X@dirrmtry include/libblkmaker-0.1
2c66e28373b177221440165ac4d66f38
echo x - libblkmaker/distinfo
sed 's/^X//' >libblkmaker/distinfo << '1702d7f6d8a253c39f0d9469e4f96153'
XSHA256 (eb33f9c8e441ffef457a79d76ceed1ea20ab3059.tar.gz) = 87b7d30749ddd4d77388a27013a4984662329843d21a81f4eb5a8af5d11761bc
XSIZE (eb33f9c8e441ffef457a79d76ceed1ea20ab3059.tar.gz) = 12255
1702d7f6d8a253c39f0d9469e4f96153
echo c - libblkmaker/files
mkdir -p libblkmaker/files > /dev/null 2>&1
echo x - libblkmaker/files/patch-Makefile.am
sed 's/^X//' >libblkmaker/files/patch-Makefile.am << 'b5fcb9d591ad917bb5e77fd9bb599030'
X--- Makefile.am.orig    2014-01-30 07:04:16.000000000 -0500
X+++ Makefile.am 2014-01-30 07:04:40.000000000 -0500
X@@ -36,5 +36,5 @@
X        blkmaker_jansson.h
X
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = \
X        libblkmaker_jansson-$(LIBBLKMAKER_API_VERSION).pc
X
b5fcb9d591ad917bb5e77fd9bb599030
echo x - libblkmaker/files/example-Makefile
sed 's/^X//' >libblkmaker/files/example-Makefile << 'ceddebc1e9e20e9ad2ca57dc4e8e0124'
XCFLAGS=	-I /usr/local/include -I /usr/local/include/libblkmaker-0.1
XLDFLAGS=	-L /usr/local/lib -L ../stage/usr/local/lib -lblkmaker-0.1 -lblkmaker_jansson-0.1 -lgcrypt
Xall: example
Xclean:
X	rm -f example
ceddebc1e9e20e9ad2ca57dc4e8e0124
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402062002.s16K24Nv068508>