ports/162335: New port: net-p2p/solidcoin Alternative Bitcoin peer-to-peer currency client
Dmitriy Limonov
earl1k at mail.ru
Sun Nov 6 15:10:12 UTC 2011
>Number: 162335
>Category: ports
>Synopsis: New port: net-p2p/solidcoin Alternative Bitcoin peer-to-peer currency client
>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: Sun Nov 06 15:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Dmitriy Limonov
>Release: FreeBSD 8.2-RELEASE-p4 amd64
>Organization:
>Environment:
FreeBSD excluzive.ws 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #0: Wed Oct 5 17:07:49 MSD 2011 earl at excluzive.ws:/usr/obj/usr/src/sys/EXCLUZIVE amd64
>Description:
SolidCoin is an open source digital currency, originally based on Bitcoin,
but now heavily modified and improved. SolidCoin works over a distributed
peer-to-peer network to offer irreversible, low-cost, anonymous and
decentralized monetary transactions.
>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:
#
# solidcoin
# solidcoin/pkg-descr
# solidcoin/distinfo
# solidcoin/Makefile
#
echo c - solidcoin
mkdir -p solidcoin > /dev/null 2>&1
echo x - solidcoin/pkg-descr
sed 's/^X//' >solidcoin/pkg-descr << 'cb071e214b952bdc48fae217a0cc0bd8'
XSolidCoin is an open source digital currency, originally based on Bitcoin,
Xbut now heavily modified and improved. SolidCoin works over a distributed
Xpeer-to-peer network to offer irreversible, low-cost, anonymous and
Xdecentralized monetary transactions.
X
XWWW: http://solidcoin.info
cb071e214b952bdc48fae217a0cc0bd8
echo x - solidcoin/distinfo
sed 's/^X//' >solidcoin/distinfo << '1861d91df797db83a3ba2aca1c6b84fb'
XSHA256 (solidcoin/makefile.unix) = 23623f2aa158a948385fae5abe390112bca45b2e4192fc99e9b71517f197f406
XSIZE (solidcoin/makefile.unix) = 2511
XSHA256 (solidcoin/solidcoin-201-source.zip) = 1d86e313091976fd14f449d144e1a95c2273b0aca37fa1ad0e4c0735530d9433
XSIZE (solidcoin/solidcoin-201-source.zip) = 474050
1861d91df797db83a3ba2aca1c6b84fb
echo x - solidcoin/Makefile
sed 's/^X//' >solidcoin/Makefile << 'fed763686397c2524bd3fed24b2a6692'
X# New ports collection makefile for: solidcoin
X# Date created: 6 November 2011
X# Whom: Dmitriy Limonov
X#
X# $FreeBSD$
X#
X
XPORTNAME= solidcoin
XPORTVERSION= 2.01
XCATEGORIES= net-p2p finance
XMASTER_SITES= http://mirror.gmod.eu/:makefile,solidcoin \
X http://solidcoin.info/downloads/:solidcoin
XDISTFILES= makefile.unix:makefile ${PORTNAME}-201-source.zip:solidcoin
XEXTRACT_ONLY= ${PORTNAME}-201-source.zip
X
XMAINTAINER= earl1k at mail.ru
XCOMMENT= Alternative Bitcoin peer-to-peer currency client
X
XBUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/parallel/algorithm.hpp:${PORTSDIR}/devel/boost-libs
XLIB_DEPENDS= boost_date_time.4:${PORTSDIR}/devel/boost-libs
X
XOPTIONS= GUI "Build with wxWidgets GUI" on
X
XUSE_GMAKE= yes
XUSE_OPENSSL= yes
XUSE_BDB= yes
XWANT_BDB_VER= 47
X
XCXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
XCXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
XCXXFLAGS+= -Wno-invalid-offsetof
X
XWRKSRC= ${WRKDIR}/src
X
XDIST_SUBDIR= ${PORTNAME}
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_GUI) && !defined(WITHOUT_X11)
XUSE_GNOME= gtk20
X
XBUILD_DEPENDS+= ${LOCALBASE}/include/wx-2.9/wx/aboutdlg.h:${PORTSDIR}/x11-toolkits/wxgtk29
XRUN_DEPENDS+= ${LOCALBASE}/include/wx-2.9/wx/aboutdlg.h:${PORTSDIR}/x11-toolkits/wxgtk29
XWX_CONFIG= ${LOCALBASE}/bin/wxgtk2u-2.9-config
X
XBINARY= solidcoin
XPLIST_FILES= bin/${BINARY}
X.else
XUSE_GNOME= glib20
X
XBINARY= solidcoind
XALL_TARGET= ${BINARY}
XPLIST_FILES= bin/${BINARY}
X.endif
X
X.include <bsd.port.pre.mk>
X
Xpost-extract:
X @${CP} ${DISTDIR}/${DIST_SUBDIR}/makefile.unix ${WRKSRC}/Makefile
Xpost-patch:
X @echo '18i\' > ${WRKSRC}/sed.in
X @echo '#ifndef __STDC_LIMIT_MACROS' >> ${WRKSRC}/sed.in
X @echo '19i\' >> ${WRKSRC}/sed.in
X @echo '#endif' >> ${WRKSRC}/sed.in
X @${REINPLACE_CMD} \
X -f ${WRKSRC}/sed.in \
X ${WRKSRC}/headers.h
X @${REINPLACE_CMD} \
X -e 's|^CXXFLAGS=.*$$|CXXFLAGS += $$(DEFS)|' \
X -e '/-l dl/d' \
X -e 's|../../wxWidgets-2.9.2/wx-config|${WX_CONFIG}|' \
X ${WRKSRC}/Makefile
Xdo-install:
X @${MKDIR} ${PREFIX}/bin
X ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/
X
X.include <bsd.port.post.mk>
fed763686397c2524bd3fed24b2a6692
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list