www/yt-dlp: Update 2021.05.11 -> 2021.05.20

PR:		256036
This commit is contained in:
Daniel Engberg 2021-05-21 02:47:33 -07:00 committed by Yuri Victorovich
parent 649c55c3d8
commit 729fb57b3a
10 changed files with 471 additions and 4 deletions

View File

@ -0,0 +1,67 @@
# Created by: Yuri Victorovich <yuri@rawbw.com>
PORTNAME= BitcoinArmory
DISTVERSIONPREFIX= v
DISTVERSION= 0.96.5.20210412
CATEGORIES= finance
MAINTAINER= yuri@FreeBSD.org
COMMENT= Desktop bitcoin management system
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_aarch64= fails to compile: c++: language not recognized: 'ar'
BROKEN_armv6= fails to compile: c++: language not recognized: 'ar'
BROKEN_armv7= fails to compile: c++: language not recognized: 'ar'
BUILD_DEPENDS= ${LOCALBASE}/bin/swig:devel/swig \
${LOCALBASE}/bin/pyrcc5-${PYTHON_VER}:textproc/py-qt5-xml@${PY_FLAVOR} \
${LOCALBASE}/bin/rsync:net/rsync
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=14.0.0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>1.2.1:sysutils/py-psutil@${PY_FLAVOR} \
${LOCALBASE}/bin/bitcoind:net-p2p/bitcoin-daemon
USES= autoreconf compiler:c++11-lang compiler:c++11-lib gmake gnome localbase pyqt:5 pkgconfig python shebangfix ssl
USE_PYQT= core_run gui_run
USE_GITHUB= yes
GH_ACCOUNT= goatpig
GH_TAGNAME= 443c918
GH_TUPLE= weidai11:cryptopp:f375910:cryptopp/cppForSwig/cryptopp
SHEBANG_FILES= ArmoryQt.py extras/extractKeysFromWallet.py
GNU_CONFIGURE= yes
CONFIGURE_ENV= SSL_CFLAGS=-I${OPENSSLINC} SSL_LIBDIR=${OPENSSLDIR} SSL_LIBS="-lssl" CRYPTO_CFLAGS=-I${OPENSSLINC} CRYPTO_LIBDIR=${OPENSSLDIR} CRYPTO_LIBS="-lcrypto"
#CFLAGS+= -D_SEM_SEMUN_UNDEFINED
CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM -fPIC
MAKE_ENV+= PYTHON_CONFIG=${PYTHON_CMD}-config
BINARY_ALIAS= pyrcc5=pyrcc5-${PYTHON_VER}
MAKE_ARGS+= CXXFLAGS="${CXXFLAGS}"
INSTALLS_ICONS= yes
ICON_SIZES= 24x24 32x32 64x64
# When CRYPTOPP_DISABLE_ASM isn't needed any more, i386 amd64 should
# be made work through ASM code, and the other archs will still
# have CRYPTOPP_DISABLE_ASM
xpost-patch:
@${REINPLACE_CMD} 's/python-config/$${PYTHON_CONFIG}/' ${WRKSRC}/cppForSwig/Makefile
@${REINPLACE_CMD} 's/O_DSYNC/O_SYNC/' ${WRKSRC}/cppForSwig/mdb/mdb.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/armory/_CppBlockUtils.so
@${SED} -i.bak -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${STAGEDIR}/${LOCALBASE}/bin/armory && \
${RM} ${STAGEDIR}/${LOCALBASE}/bin/armory.bak
@${REINPLACE_CMD} 's|Exec=/usr/bin/armory|Exec=${LOCALBASE}/bin/armory|' ${STAGEDIR}/${LOCALBASE}/share/applications/*.desktop
.for s in ${ICON_SIZES}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
${MV} ${STAGEDIR}/${PREFIX}/share/armory/img/armory_icon_${s}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/armoryicon.png
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
TIMESTAMP = 1621491928
SHA256 (goatpig-BitcoinArmory-v0.96.5.20210412-443c918_GH0.tar.gz) = 354f3072369fa4c132fc1a2e743a1e0cfa3493d7a3f1bd3ce2ffa87bfbe28966
SIZE (goatpig-BitcoinArmory-v0.96.5.20210412-443c918_GH0.tar.gz) = 5974873
SHA256 (weidai11-cryptopp-f375910_GH0.tar.gz) = 743930df85d685d8f3480155151452dbf88f88488ed60bd01ea0dcfecb5d7031
SIZE (weidai11-cryptopp-f375910_GH0.tar.gz) = 9132627

View File

@ -0,0 +1,22 @@
--- ArmoryQt.py.orig 2021-05-20 06:17:35 UTC
+++ ArmoryQt.py
@@ -1159,6 +1159,9 @@ class ArmoryMainWindow(QMainWindow):
elif OS_LINUX:
tempDir = '/var/log'
extraFiles = ['/var/log/Xorg.0.log']
+ elif OS_FREEBSD:
+ tempDir = '/var/log'
+ extraFiles = ['/var/log/Xorg.0.log']
elif OS_MACOSX:
tempDir = '/var/log'
extraFiles = ['/var/log/system.log']
@@ -3668,8 +3671,7 @@ class ArmoryMainWindow(QMainWindow):
def closeExistingBitcoin(self):
for proc in psutil.process_iter():
try:
- if proc.name().lower() in ['bitcoind.exe','bitcoin-qt.exe',\
- 'bitcoind','bitcoin-qt']:
+ if proc.name() in ['bitcoind','bitcoin-qt']:
killProcess(proc.pid)
time.sleep(2)
return

View File

@ -0,0 +1,11 @@
--- cppForSwig/SocketObject.cpp.orig 2021-05-20 07:39:28 UTC
+++ cppForSwig/SocketObject.cpp
@@ -11,6 +11,8 @@
#include <cstring>
#include <stdexcept>
+#include <netinet/in.h>
+
#include "google/protobuf/text_format.h"
using namespace std;

View File

@ -0,0 +1,22 @@
- fix for the libbtc bug
--- cppForSwig/libbtc/include/btc/portable_endian.h.orig 2021-05-20 07:15:56 UTC
+++ cppForSwig/libbtc/include/btc/portable_endian.h
@@ -49,6 +49,8 @@
#include <sys/endian.h>
+#if !defined(__FreeBSD__)
+
#define be16toh(x) betoh16(x)
#define le16toh(x) letoh16(x)
@@ -57,6 +59,8 @@
#define be64toh(x) betoh64(x)
#define le64toh(x) letoh64(x)
+
+#endif
#elif defined(__WINDOWS__)

View File

@ -0,0 +1,8 @@
An open source Bitcoin wallet management platform.
Designed from the ground up to provide the highest level of security
for heavily-invested Bitcoin users, while still maintaining a high degree
of usability and convenience. Its ease of use and advanced features make
it one of the most popular alternative Bitcoin clients.
WWW: https://bitcoinarmory.com/

View File

@ -0,0 +1,13 @@
================================================================
BitcoinArmory consumes significant disk space in ~/.armory
and ~/.bitcoin, so you need to provide sufficient available
space there, currently >50 gigabytes.
Please note that BitcoinArmory requires bitcoind daemon, so you
need to have either net-p2p/bitcoin-daemon or net-p2p/bitcoin
installed.
Please keep your *.wallet files located under the ~/.armory
directory secure. Loss of these files is equivalent to the loss
of money.
================================================================

View File

@ -0,0 +1,319 @@
bin/armory
lib/armory/ArmoryQt.py
lib/armory/BitTornado/BT1/Choker.py
lib/armory/BitTornado/BT1/Connecter.py
lib/armory/BitTornado/BT1/Downloader.py
lib/armory/BitTornado/BT1/DownloaderFeedback.py
lib/armory/BitTornado/BT1/Encrypter.py
lib/armory/BitTornado/BT1/FileSelector.py
lib/armory/BitTornado/BT1/Filter.py
lib/armory/BitTornado/BT1/HTTPDownloader.py
lib/armory/BitTornado/BT1/NatCheck.py
lib/armory/BitTornado/BT1/PiecePicker.py
lib/armory/BitTornado/BT1/Rerequester.py
lib/armory/BitTornado/BT1/Statistics.py
lib/armory/BitTornado/BT1/Storage.py
lib/armory/BitTornado/BT1/StorageWrapper.py
lib/armory/BitTornado/BT1/StreamCheck.py
lib/armory/BitTornado/BT1/T2T.py
lib/armory/BitTornado/BT1/Uploader.py
lib/armory/BitTornado/BT1/__init__.py
lib/armory/BitTornado/BT1/btformats.py
lib/armory/BitTornado/BT1/fakeopen.py
lib/armory/BitTornado/BT1/makemetafile.py
lib/armory/BitTornado/BT1/track.py
lib/armory/BitTornado/ConfigDir.py
lib/armory/BitTornado/ConfigReader.py
lib/armory/BitTornado/ConnChoice.py
lib/armory/BitTornado/CreateIcons.py
lib/armory/BitTornado/CurrentRateMeasure.py
lib/armory/BitTornado/HTTPHandler.py
lib/armory/BitTornado/PSYCO.py
lib/armory/BitTornado/RateLimiter.py
lib/armory/BitTornado/RateMeasure.py
lib/armory/BitTornado/RawServer.py
lib/armory/BitTornado/ServerPortHandler.py
lib/armory/BitTornado/SocketHandler.py
lib/armory/BitTornado/__init__.py
lib/armory/BitTornado/bencode.py
lib/armory/BitTornado/bitfield.py
lib/armory/BitTornado/clock.py
lib/armory/BitTornado/download_bt1.py
lib/armory/BitTornado/inifile.py
lib/armory/BitTornado/iprangeparse.py
lib/armory/BitTornado/launchmanycore.py
lib/armory/BitTornado/natpunch.py
lib/armory/BitTornado/parseargs.py
lib/armory/BitTornado/parsedir.py
lib/armory/BitTornado/piecebuffer.py
lib/armory/BitTornado/selectpoll.py
lib/armory/BitTornado/subnetparse.py
lib/armory/BitTornado/torrentlistparse.py
lib/armory/BitTornado/zurllib.py
lib/armory/CppBlockUtils.py
lib/armory/LICENSE.py
lib/armory/README.md
lib/armory/SDM.py
lib/armory/_CppBlockUtils.so
lib/armory/announcefetch.py
lib/armory/armorycolors.py
lib/armory/armoryd.py
lib/armory/armoryengine/ALL.py
lib/armory/armoryengine/ArmoryUtils.py
lib/armory/armoryengine/AsciiSerialize.py
lib/armory/armoryengine/BDM.py
lib/armory/armoryengine/BinaryPacker.py
lib/armory/armoryengine/BinaryUnpacker.py
lib/armory/armoryengine/Block.py
lib/armory/armoryengine/CoinSelection.py
lib/armory/armoryengine/Decorators.py
lib/armory/armoryengine/MultiSigUtils.py
lib/armory/armoryengine/Networking.py
lib/armory/armoryengine/PyBtcAddress.py
lib/armory/armoryengine/PyBtcWallet.py
lib/armory/armoryengine/PyBtcWalletRecovery.py
lib/armory/armoryengine/Script.py
lib/armory/armoryengine/Timer.py
lib/armory/armoryengine/Transaction.py
lib/armory/armoryengine/UserAddressUtils.py
lib/armory/armoryengine/__init__.py
lib/armory/armoryengine/parseAnnounce.py
lib/armory/armoryengine/torrentDL.py
lib/armory/armorymodels.py
lib/armory/bitcoinrpc_jsonrpc/__init__.py
lib/armory/bitcoinrpc_jsonrpc/authproxy.py
lib/armory/bitcoinrpc_jsonrpc/json.py
lib/armory/bitcoinrpc_jsonrpc/proxy.py
lib/armory/default_bootstrap.torrent
lib/armory/dynamicImport.py
lib/armory/extras/BDMbasics_listUTXOs.py
lib/armory/extras/BDMbasics_traceTxHistory.py
lib/armory/extras/BDMbasics_watchBalance.py
lib/armory/extras/LastBlockHash.py
lib/armory/extras/LatestBlocksFinder.py
lib/armory/extras/PromoKit.py
lib/armory/extras/__init__.py
lib/armory/extras/armoryengine_basics.py
lib/armory/extras/breakDownWallet.py
lib/armory/extras/cli_sign_txdp.py
lib/armory/extras/createTestBlocksForReadBlkUpdate.py
lib/armory/extras/createTestChain.py
lib/armory/extras/createTxFromAddrList.py
lib/armory/extras/dlscript.py
lib/armory/extras/extractKeysFromWallet.py
lib/armory/extras/findpass.py
lib/armory/extras/frag_wallet.py
lib/armory/extras/lookathex.py
lib/armory/extras/manually_import_500k_addr.py
lib/armory/extras/mysteryHex.py
lib/armory/extras/sample_armory_code.py
lib/armory/extras/satoshiDiceStats.py
lib/armory/extras/sign_dl_list.py
lib/armory/extras/sign_release.py
lib/armory/extras/unfrag_wallet.py
lib/armory/extras/verify_dl_list.py
lib/armory/guardian.py
lib/armory/jasvet.py
lib/armory/pytest/SendTx.py
lib/armory/pytest/Tiab.py
lib/armory/pytest/__init__.py
lib/armory/pytest/testAnnounce.py
lib/armory/pytest/testArmoryD.py
lib/armory/pytest/testArmoryDStartup.py
lib/armory/pytest/testArmoryDTiab.py
lib/armory/pytest/testArmoryEngineUtils.py
lib/armory/pytest/testDecorators.py
lib/armory/pytest/testFragmentedBackup.py
lib/armory/pytest/testJasvet.py
lib/armory/pytest/testMultisig.py
lib/armory/pytest/testParseAnnounce.py
lib/armory/pytest/testPyBtcAddress.py
lib/armory/pytest/testPyBtcWallet.py
lib/armory/pytest/testPyBtcWalletRecovery.py
lib/armory/pytest/testPyTX.py
lib/armory/pytest/testSigning.py
lib/armory/pytest/testSplitSecret.py
lib/armory/pytest/testUserAddress.py
lib/armory/pytest/testUtility.py
lib/armory/qrc_img_resources.py
lib/armory/qrcodenative.py
lib/armory/qt4reactor.py
lib/armory/qtdefines.py
lib/armory/qtdialogs.py
lib/armory/setup.py
lib/armory/subprocess_win.py
lib/armory/txjsonrpc/__init__.py
lib/armory/txjsonrpc/auth.py
lib/armory/txjsonrpc/jsonrpc.py
lib/armory/txjsonrpc/jsonrpclib.py
lib/armory/txjsonrpc/meta.py
lib/armory/txjsonrpc/web/__init__.py
lib/armory/txjsonrpc/web/jsonrpc.py
lib/armory/ui/MultiSigDialogs.py
lib/armory/ui/MultiSigModels.py
lib/armory/ui/TxFrames.py
lib/armory/ui/UpgradeDownloader.py
lib/armory/ui/VerifyOfflinePackage.py
lib/armory/ui/WalletFrames.py
lib/armory/ui/Wizards.py
lib/armory/ui/__init__.py
lib/armory/ui/toolsDialogs.py
lib/armory/update_version.py
lib/armory/urllib3/__init__.py
lib/armory/urllib3/_collections.py
lib/armory/urllib3/connection.py
lib/armory/urllib3/connectionpool.py
lib/armory/urllib3/contrib/__init__.py
lib/armory/urllib3/contrib/ntlmpool.py
lib/armory/urllib3/contrib/pyopenssl.py
lib/armory/urllib3/exceptions.py
lib/armory/urllib3/fields.py
lib/armory/urllib3/filepost.py
lib/armory/urllib3/packages/__init__.py
lib/armory/urllib3/packages/ordered_dict.py
lib/armory/urllib3/packages/six.py
lib/armory/urllib3/packages/ssl_match_hostname/__init__.py
lib/armory/urllib3/packages/ssl_match_hostname/_implementation.py
lib/armory/urllib3/poolmanager.py
lib/armory/urllib3/request.py
lib/armory/urllib3/response.py
lib/armory/urllib3/util.py
lib/armory/writeNSISCompilerArgs.py
share/applications/armory.desktop
share/applications/armoryoffline.desktop
share/applications/armorytestnet.desktop
share/armory/img/MsgBox_critical24.png
share/armory/img/MsgBox_critical64.png
share/armory/img/MsgBox_error32.png
share/armory/img/MsgBox_error64.png
share/armory/img/MsgBox_good48.png
share/armory/img/MsgBox_info32.png
share/armory/img/MsgBox_info48.png
share/armory/img/MsgBox_question32.png
share/armory/img/MsgBox_question64.png
share/armory/img/MsgBox_warning48.png
share/armory/img/addr_book_icon.png
share/armory/img/armory16x16.ico
share/armory/img/armory24x24.ico
share/armory/img/armory256x256.ico
share/armory/img/armory32x32.ico
share/armory/img/armory48x48.ico
share/armory/img/armory64x64.ico
share/armory/img/armory_icon_fullres.icns
share/armory/img/armory_icon_fullres.png
share/armory/img/armory_icon_green_24x24.png
share/armory/img/armory_icon_green_32x32.png
share/armory/img/armory_icon_green_64x64.png
share/armory/img/armory_icon_green_fullres.png
share/armory/img/armory_logo_fullres.png
share/armory/img/armory_logo_green_h56.png
share/armory/img/armory_logo_green_h72.png
share/armory/img/armory_logo_h36.png
share/armory/img/armory_logo_h44.png
share/armory/img/armory_logo_h48.png
share/armory/img/armory_logo_h56.png
share/armory/img/armory_logo_h72.png
share/armory/img/armory_logo_white_text_green_h56.png
share/armory/img/armory_logo_white_text_green_h72.png
share/armory/img/armory_logo_white_text_h56.png
share/armory/img/armory_logo_white_text_h72.png
share/armory/img/armory_rightclickcopy.png
share/armory/img/arrow_down.png
share/armory/img/arrow_down32.png
share/armory/img/arrow_left.png
share/armory/img/arrow_left32.png
share/armory/img/arrow_right.png
share/armory/img/arrow_right32.png
share/armory/img/arrow_right_24x24.png
share/armory/img/arrow_right_blue_24x24.png
share/armory/img/arrow_right_green_24x24.png
share/armory/img/arrow_right_red_24x24.png
share/armory/img/arrow_up.png
share/armory/img/arrow_up32.png
share/armory/img/asterisk_orange.png
share/armory/img/bitcoinlogo.png
share/armory/img/busy.gif
share/armory/img/button-blue.png
share/armory/img/button-green.png
share/armory/img/button-purple.png
share/armory/img/button-red.png
share/armory/img/button-seagreen.png
share/armory/img/button-yellow.png
share/armory/img/checkmark32.png
share/armory/img/checkmark32_blue.png
share/armory/img/checkmark32_orange.png
share/armory/img/checkmark_okay.png
share/armory/img/circle_blue.png
share/armory/img/circle_green.png
share/armory/img/circle_orange.png
share/armory/img/circle_purple.png
share/armory/img/circle_red.png
share/armory/img/circle_tan.png
share/armory/img/circle_yellow.png
share/armory/img/conf0t.png
share/armory/img/conf0t_nonum.png
share/armory/img/conf1t.png
share/armory/img/conf1t_nonum.png
share/armory/img/conf2t.png
share/armory/img/conf2t_nonum.png
share/armory/img/conf3t.png
share/armory/img/conf3t_nonum.png
share/armory/img/conf4t.png
share/armory/img/conf4t_nonum.png
share/armory/img/conf5t.png
share/armory/img/conf5t_nonum.png
share/armory/img/conf6t.png
share/armory/img/folder-new-5.png
share/armory/img/folder.png
share/armory/img/folder24.png
share/armory/img/frag1f.png
share/armory/img/frag2f.png
share/armory/img/frag3f.png
share/armory/img/frag4f.png
share/armory/img/frag5f.png
share/armory/img/frag6f.png
share/armory/img/frag7f.png
share/armory/img/frag8f.png
share/armory/img/inkscapeIconFactory.svg
share/armory/img/keyhole_blue.png
share/armory/img/keyhole_gray.png
share/armory/img/keyhole_green.png
share/armory/img/keyhole_red.png
share/armory/img/keyhole_white.png
share/armory/img/loadicon_0.png
share/armory/img/loadicon_1.png
share/armory/img/loadicon_2.png
share/armory/img/loadicon_3.png
share/armory/img/loadicon_4.png
share/armory/img/loadicon_5.png
share/armory/img/lockedIcon.png
share/armory/img/logo_vert_black_text.png
share/armory/img/logo_vert_black_text_antialiased.png
share/armory/img/logo_vert_black_text_green.png
share/armory/img/logo_vert_white_text.png
share/armory/img/moneyCoinbase.png
share/armory/img/moneyIn.png
share/armory/img/moneyOut.png
share/armory/img/moneySelf.png
share/armory/img/plus_orange.png
share/armory/img/preferences.png
share/armory/img/preferences256.png
share/armory/img/printer_icon.png
share/armory/img/process-stop-4.png
share/armory/img/red_X.png
share/armory/img/scroll_down_18.png
share/armory/img/scroll_down_24.png
share/armory/img/scroll_up_18.png
share/armory/img/scroll_up_24.png
share/armory/img/sent_to_self.png
share/armory/img/splashlogo.png
share/armory/img/splashlogo_testnet.png
share/armory/img/unlockedIcon.png
share/armory/img/view-refresh-4.png
share/armory/img/visible.png
share/armory/img/visible2.png
share/armory/img/wallet_16x12.png
share/armory/img/x-office-address-book.png
share/icons/hicolor/24x24/apps/armoryicon.png
share/icons/hicolor/32x32/apps/armoryicon.png
share/icons/hicolor/64x64/apps/armoryicon.png

View File

@ -1,5 +1,5 @@
PORTNAME= yt-dlp
DISTVERSION= 2021.05.11
DISTVERSION= 2021.05.20
CATEGORIES= www
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1620782721
SHA256 (yt-dlp-yt-dlp-2021.05.11_GH0.tar.gz) = b0b46911cd5c754b708e151a8c0fe3cffe0e36f64f088f231ce255f924ee6f49
SIZE (yt-dlp-yt-dlp-2021.05.11_GH0.tar.gz) = 1624126
TIMESTAMP = 1621529609
SHA256 (yt-dlp-yt-dlp-2021.05.20_GH0.tar.gz) = b1def2006482deb07005f3b9c61e571e8a7e780adc12e764ab042c97d0d821b4
SIZE (yt-dlp-yt-dlp-2021.05.20_GH0.tar.gz) = 1631042