Index: head/www/privatebin/Makefile =================================================================== --- head/www/privatebin/Makefile (revision 523355) +++ head/www/privatebin/Makefile (revision 523356) @@ -1,35 +1,36 @@ # Created by: Stefan Esser # $FreeBSD$ PORTNAME= privatebin -PORTVERSION= 1.2 +PORTVERSION= 1.3.1 CATEGORIES= www security MAINTAINER= se@FreeBSD.org COMMENT= Simple end-to-end encrypting zero-knowledge paste-bin server LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.md +USES= php + NO_BUILD= yes NO_ARCH= yes -USES= php USE_PHP= gd hash json wddx zlib USE_GITHUB= yes GH_PROJECT= PrivateBin OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's:%%DATADBDIR%%:/var/db/${PORTNAME}:' \ ${WRKSRC}/index.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MV} ${STAGEDIR}/${WWWDIR}/*.md ${STAGEDIR}/${DOCSDIR} @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} .include Index: head/www/privatebin/distinfo =================================================================== --- head/www/privatebin/distinfo (revision 523355) +++ head/www/privatebin/distinfo (revision 523356) @@ -1,3 +1,3 @@ -TIMESTAMP = 1532363541 -SHA256 (privatebin-PrivateBin-1.2_GH0.tar.gz) = 67fbe652004f62858f9418f877c896727cc8dbc400af1d2f7d0b9478a8f53b7f -SIZE (privatebin-PrivateBin-1.2_GH0.tar.gz) = 500432 +TIMESTAMP = 1577123108 +SHA256 (privatebin-PrivateBin-1.3.1_GH0.tar.gz) = a93804b9225aafc6f318a8534f1daade561463f869234e1601be09e54d27d6f5 +SIZE (privatebin-PrivateBin-1.3.1_GH0.tar.gz) = 514586 Index: head/www/privatebin/pkg-descr =================================================================== --- head/www/privatebin/pkg-descr (revision 523355) +++ head/www/privatebin/pkg-descr (revision 523356) @@ -1,20 +1,20 @@ -PrivateBin is a minimalist, open source online pastebin where the server +PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. -Data is encrypted/decrypted in the browser using 256bit AES in Galois +Data is encrypted/decrypted in the browser using 256bit AES in Galois Counter mode. -This is a fork of ZeroBin, originally developed by Sebastien Sauvage. -It was refactored to allow easier and cleaner extensions and has now much -more features than the original. It is however still fully compatible to -the original ZeroBin 0.19 data storage scheme. Therefore such installations +This is a fork of ZeroBin, originally developed by Sebastien Sauvage. +It was refactored to allow easier and cleaner extensions and has now much +more features than the original. It is however still fully compatible to +the original ZeroBin 0.19 data storage scheme. Therefore such installations can be upgraded to this fork without losing any data. Since the Javascript code that performs the encryption must be protected during transmission, access to PrivateBin must only be possible over HTTPS (e.g. enforced by use of HSTS and/or HPKP). -See https://github.com/PrivateBin/PrivateBin/wiki/Configuration for +See https://github.com/PrivateBin/PrivateBin/wiki/Configuration for configuration options available in "cfg/conf.php". WWW: https://privatebin.info/ Index: head/www/privatebin/pkg-plist =================================================================== --- head/www/privatebin/pkg-plist (revision 523355) +++ head/www/privatebin/pkg-plist (revision 523356) @@ -1,135 +1,139 @@ %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.md %%PORTDOCS%%%%DOCSDIR%%/CREDITS.md %%PORTDOCS%%%%DOCSDIR%%/INSTALL.md %%PORTDOCS%%%%DOCSDIR%%/LICENSE.md %%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/SECURITY.md + %%WWWDIR%%/.htaccess.disabled %%WWWDIR%%/browserconfig.xml %%WWWDIR%%/cfg/.htaccess @sample %%WWWDIR%%/cfg/conf.sample.php %%WWWDIR%%/cfg/conf.php -%%WWWDIR%%/css/bootstrap/bootstrap-3.3.5.css -%%WWWDIR%%/css/bootstrap/bootstrap-theme-3.3.5.css +%%WWWDIR%%/css/bootstrap/bootstrap-3.4.1.css +%%WWWDIR%%/css/bootstrap/bootstrap-theme-3.4.1.css %%WWWDIR%%/css/bootstrap/darkstrap-0.9.3.css %%WWWDIR%%/css/bootstrap/fonts/glyphicons-halflings-regular.eot %%WWWDIR%%/css/bootstrap/fonts/glyphicons-halflings-regular.svg %%WWWDIR%%/css/bootstrap/fonts/glyphicons-halflings-regular.ttf %%WWWDIR%%/css/bootstrap/fonts/glyphicons-halflings-regular.woff %%WWWDIR%%/css/bootstrap/fonts/glyphicons-halflings-regular.woff2 %%WWWDIR%%/css/bootstrap/privatebin.css %%WWWDIR%%/css/noscript.css %%WWWDIR%%/css/prettify/desert.css %%WWWDIR%%/css/prettify/doxy.css %%WWWDIR%%/css/prettify/prettify.css %%WWWDIR%%/css/prettify/sons-of-obsidian.css %%WWWDIR%%/css/prettify/sunburst.css %%WWWDIR%%/css/privatebin.css +%%WWWDIR%%/i18n/bg.json +%%WWWDIR%%/i18n/cs.json %%WWWDIR%%/i18n/de.json %%WWWDIR%%/i18n/es.json %%WWWDIR%%/i18n/fr.json %%WWWDIR%%/i18n/hu.json %%WWWDIR%%/i18n/it.json %%WWWDIR%%/i18n/languages.json %%WWWDIR%%/i18n/nl.json %%WWWDIR%%/i18n/no.json %%WWWDIR%%/i18n/oc.json %%WWWDIR%%/i18n/pl.json %%WWWDIR%%/i18n/pt.json %%WWWDIR%%/i18n/ru.json %%WWWDIR%%/i18n/sl.json %%WWWDIR%%/i18n/zh.json %%WWWDIR%%/img/android-chrome-192x192.png %%WWWDIR%%/img/android-chrome-512x512.png %%WWWDIR%%/img/apple-touch-icon.png %%WWWDIR%%/img/busy.gif %%WWWDIR%%/img/favicon-16x16.png %%WWWDIR%%/img/favicon-32x32.png %%WWWDIR%%/img/favicon.ico %%WWWDIR%%/img/icon.svg %%WWWDIR%%/img/icon_clone.png %%WWWDIR%%/img/icon_new.png %%WWWDIR%%/img/icon_qr.png %%WWWDIR%%/img/icon_raw.png %%WWWDIR%%/img/icon_send.png %%WWWDIR%%/img/icon_shorten.png %%WWWDIR%%/img/logo.svg %%WWWDIR%%/img/mstile-144x144.png %%WWWDIR%%/img/mstile-150x150.png %%WWWDIR%%/img/mstile-310x150.png %%WWWDIR%%/img/mstile-310x310.png %%WWWDIR%%/img/mstile-70x70.png %%WWWDIR%%/img/safari-pinned-tab.svg %%WWWDIR%%/index.php %%WWWDIR%%/index.php.bak %%WWWDIR%%/index.php.orig +%%WWWDIR%%/js/base-x-3.0.5.1.js %%WWWDIR%%/js/base64-1.7.js -%%WWWDIR%%/js/base64-2.4.5.js %%WWWDIR%%/js/bootstrap-3.3.7.js %%WWWDIR%%/js/comment.jsonld %%WWWDIR%%/js/commentmeta.jsonld -%%WWWDIR%%/js/common.js -%%WWWDIR%%/js/jquery-3.3.1.js -%%WWWDIR%%/js/kjua-0.1.2.js +%%WWWDIR%%/js/jquery-3.4.1.js +%%WWWDIR%%/js/kjua-0.6.0.js +%%WWWDIR%%/js/legacy.js +%%WWWDIR%%/js/package.json %%WWWDIR%%/js/paste.jsonld %%WWWDIR%%/js/pastemeta.jsonld %%WWWDIR%%/js/prettify.js %%WWWDIR%%/js/privatebin.js -%%WWWDIR%%/js/purify-1.0.5.js -%%WWWDIR%%/js/rawdeflate-0.5.js +%%WWWDIR%%/js/purify-2.0.1.js %%WWWDIR%%/js/rawinflate-0.3.js -%%WWWDIR%%/js/showdown-1.8.6.js -%%WWWDIR%%/js/sjcl-1.0.7.js +%%WWWDIR%%/js/showdown-1.9.1.js +%%WWWDIR%%/js/types.jsonld +%%WWWDIR%%/js/zlib-1.2.11.js +%%WWWDIR%%/js/zlib-1.2.11.wasm %%WWWDIR%%/lib/.htaccess %%WWWDIR%%/lib/Configuration.php +%%WWWDIR%%/lib/Controller.php %%WWWDIR%%/lib/Data/AbstractData.php %%WWWDIR%%/lib/Data/Database.php %%WWWDIR%%/lib/Data/Filesystem.php %%WWWDIR%%/lib/Filter.php +%%WWWDIR%%/lib/FormatV2.php %%WWWDIR%%/lib/I18n.php %%WWWDIR%%/lib/Json.php %%WWWDIR%%/lib/Model.php %%WWWDIR%%/lib/Model/AbstractModel.php %%WWWDIR%%/lib/Model/Comment.php %%WWWDIR%%/lib/Model/Paste.php %%WWWDIR%%/lib/Persistence/AbstractPersistence.php %%WWWDIR%%/lib/Persistence/DataStore.php %%WWWDIR%%/lib/Persistence/PurgeLimiter.php %%WWWDIR%%/lib/Persistence/ServerSalt.php %%WWWDIR%%/lib/Persistence/TrafficLimiter.php -%%WWWDIR%%/lib/PrivateBin.php %%WWWDIR%%/lib/Request.php -%%WWWDIR%%/lib/Sjcl.php %%WWWDIR%%/lib/View.php %%WWWDIR%%/lib/Vizhash16x16.php %%WWWDIR%%/manifest.json %%WWWDIR%%/robots.txt %%WWWDIR%%/tpl/.htaccess %%WWWDIR%%/tpl/bootstrap.php %%WWWDIR%%/tpl/page.php %%WWWDIR%%/vendor/.htaccess %%WWWDIR%%/vendor/autoload.php %%WWWDIR%%/vendor/composer/ClassLoader.php %%WWWDIR%%/vendor/composer/autoload_classmap.php %%WWWDIR%%/vendor/composer/autoload_files.php %%WWWDIR%%/vendor/composer/autoload_namespaces.php %%WWWDIR%%/vendor/composer/autoload_psr4.php %%WWWDIR%%/vendor/composer/autoload_real.php %%WWWDIR%%/vendor/composer/autoload_static.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/byte_safe_strings.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/cast_to_int.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/error_polyfill.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_bytes_com_dotnet.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_bytes_dev_urandom.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_bytes_libsodium.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_bytes_libsodium_legacy.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_bytes_mcrypt.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_int.php -%%WWWDIR%%/vendor/paragonie/random_compat/other/build_phar.php -%%WWWDIR%%/vendor/paragonie/random_compat/psalm-autoload.php %%WWWDIR%%/vendor/yzalis/identicon/src/Identicon/Generator/BaseGenerator.php %%WWWDIR%%/vendor/yzalis/identicon/src/Identicon/Generator/GdGenerator.php %%WWWDIR%%/vendor/yzalis/identicon/src/Identicon/Generator/GeneratorInterface.php %%WWWDIR%%/vendor/yzalis/identicon/src/Identicon/Generator/ImageMagickGenerator.php +%%WWWDIR%%/vendor/yzalis/identicon/src/Identicon/Generator/SvgGenerator.php %%WWWDIR%%/vendor/yzalis/identicon/src/Identicon/Identicon.php -%%WWWDIR%%/vendor/yzalis/identicon/src/autoload.php @dir(www,www,700) /var/db/privatebin