Bug 186519 - New port net/libblkmaker MIT-licensed C implementation of getblocktemplate (BIP 22)
Summary: New port net/libblkmaker MIT-licensed C implementation of getblocktemplate (B...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rodrigo Osorio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 20:10 UTC by setjmp
Modified: 2015-01-26 08:36 UTC (History)
1 user (show)

See Also:


Attachments
file.shar (4.13 KB, text/plain)
2014-02-06 20:10 UTC, setjmp
no flags Details
updated 0.5.0 libblkmaker (6.01 KB, application/x-shar)
2014-12-30 15:14 UTC, Rodrigo Osorio
no flags Details
devel/libbase58 new port (3.18 KB, application/x-shar)
2014-12-30 15:15 UTC, Rodrigo Osorio
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description setjmp 2014-02-06 20:10:00 UTC
# 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

Fix: Patch attached with submission follows:
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-07 14:30:50 UTC
ignore the "stage" part, but we still want a test log

=============================================

Hi, if you are still interested in having this port in FreeBSD, it may need to be reworked to support stage, and it could need updating to other newer conventions such as "USES" which is expanding all time.
See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html


Additionally, you need to provide some sort of quality assurance.    
In order of preference, we are looking for:

1) "poudriere testport" or "poudriere bulk -t" logs
2) Redports or tinderbox logs

Please provide an updated shar file and attach a test log.  Alternatively, please indicate if you are no longer interested in having this software in the Ports Collection and that we can close the PR.

Thanks!
Comment 2 John Marino freebsd_committer freebsd_triage 2014-08-24 18:57:44 UTC
port is staged and doesn't suffer bitrot.  A test log would fast-track this
Comment 3 Rodrigo Osorio freebsd_committer freebsd_triage 2014-12-30 15:09:57 UTC
Hi setjmp,

I found few issues in your port, including an invalid checksum
for the distfile, so I decide to upgrade your port to the last
version available (0.5.0). A new dependency appears there
(libbase58), so I create a new port.

Attached to the PR, a shar file containing the update version
of net/libblkmaker, and a shar file with devel/libbase58.

By default I took the libbase58 ownership, but if you want to
maintain both, you can take both ports, I don't mind.

Now, it would be nice  - if you agree with my changes - to test
the port and let me know if I can commit the ports.

Happy new year, all the best
- rodrigo
Comment 4 Rodrigo Osorio freebsd_committer freebsd_triage 2014-12-30 15:14:39 UTC
Created attachment 151120 [details]
updated 0.5.0 libblkmaker
Comment 5 Rodrigo Osorio freebsd_committer freebsd_triage 2014-12-30 15:15:24 UTC
Created attachment 151121 [details]
devel/libbase58 new port
Comment 7 Rodrigo Osorio freebsd_committer freebsd_triage 2015-01-16 14:19:02 UTC
Last call before closure (reporter timeout)
Comment 8 Rodrigo Osorio freebsd_committer freebsd_triage 2015-01-26 08:36:57 UTC
Reporter time-out