diff --git a/www/privatebin/Makefile b/www/privatebin/Makefile index 1ea7d04ef9f3..84ebc73d5586 100644 --- a/www/privatebin/Makefile +++ b/www/privatebin/Makefile @@ -1,35 +1,35 @@ # Created by: Stefan Esser PORTNAME= privatebin -PORTVERSION= 1.3.5 +PORTVERSION= 1.4.0 CATEGORIES= www security MAINTAINER= dvl@FreeBSD.org COMMENT= Simple end-to-end encrypting zero-knowledge paste-bin server LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cpe php NO_BUILD= yes NO_ARCH= yes USE_PHP= gd hash json 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 diff --git a/www/privatebin/distinfo b/www/privatebin/distinfo index 6234867a6f2a..8c3479b5d7cb 100644 --- a/www/privatebin/distinfo +++ b/www/privatebin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1628683746 -SHA256 (privatebin-PrivateBin-1.3.5_GH0.tar.gz) = cbee0a8c5ef58ae98cd77982619190356f657e8bbc9e3f429307c65a411bfb80 -SIZE (privatebin-PrivateBin-1.3.5_GH0.tar.gz) = 547310 +TIMESTAMP = 1653082910 +SHA256 (privatebin-PrivateBin-1.4.0_GH0.tar.gz) = a0ff8ff4f8eabda1f963d8ffc99ac32559f3dcb8050ed0bde384093e450d534f +SIZE (privatebin-PrivateBin-1.4.0_GH0.tar.gz) = 579300 diff --git a/www/privatebin/files/patch-cfg_conf.sample.php b/www/privatebin/files/patch-cfg_conf.sample.php index 3233dfdbae1c..891d9a14a637 100644 --- a/www/privatebin/files/patch-cfg_conf.sample.php +++ b/www/privatebin/files/patch-cfg_conf.sample.php @@ -1,37 +1,20 @@ ---- cfg/conf.sample.php.orig 2017-10-08 10:27:37 UTC +--- cfg/conf.sample.php.orig 2022-04-09 12:38:22 UTC +++ cfg/conf.sample.php -@@ -106,7 +106,7 @@ limit = 10 - ; header = "X_FORWARDED_FOR" - - ; directory to store the traffic limits in --dir = PATH "data" -+dir = DATADBDIR - - [purge] - ; minimum time limit between two purgings of expired pastes, it is only -@@ -120,14 +120,14 @@ limit = 300 - batchsize = 10 - - ; directory to store the purge limit in --dir = PATH "data" -+dir = DATADBDIR - - [model] - ; name of data model class to load and directory for storage +@@ -167,7 +167,7 @@ batchsize = 10 ; the default model "Filesystem" stores everything in the filesystem class = Filesystem [model_options] -dir = PATH "data" +dir = DATADBDIR ;[model] - ; example of DB configuration for MySQL -@@ -143,7 +143,7 @@ dir = PATH "data" + ; example of a Google Cloud Storage configuration +@@ -190,7 +190,7 @@ dir = PATH "data" ; example of DB configuration for SQLite ;class = Database ;[model_options] -;dsn = "sqlite:" PATH "data/db.sq3" +;dsn = "sqlite:" DATADBDIR "/db.sq3" ;usr = null ;pwd = null ;opt[12] = true ; PDO::ATTR_PERSISTENT diff --git a/www/privatebin/pkg-plist b/www/privatebin/pkg-plist index fc35bd785a1f..a219bd28ac20 100644 --- a/www/privatebin/pkg-plist +++ b/www/privatebin/pkg-plist @@ -1,156 +1,175 @@ %%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%%/Procfile %%WWWDIR%%/browserconfig.xml -%%WWWDIR%%/codacy-analysis.yml -%%WWWDIR%%/crowdin.yml %%WWWDIR%%/cfg/.htaccess -@sample %%WWWDIR%%/cfg/conf.sample.php %%WWWDIR%%/cfg/conf.php +%%WWWDIR%%/cfg/conf.sample.php %%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/ar.json %%WWWDIR%%/i18n/bg.json %%WWWDIR%%/i18n/ca.json +%%WWWDIR%%/i18n/co.json %%WWWDIR%%/i18n/cs.json %%WWWDIR%%/i18n/de.json %%WWWDIR%%/i18n/el.json %%WWWDIR%%/i18n/en.json %%WWWDIR%%/i18n/es.json +%%WWWDIR%%/i18n/et.json %%WWWDIR%%/i18n/fr.json +%%WWWDIR%%/i18n/fi.json %%WWWDIR%%/i18n/he.json %%WWWDIR%%/i18n/hi.json %%WWWDIR%%/i18n/hu.json %%WWWDIR%%/i18n/id.json %%WWWDIR%%/i18n/it.json %%WWWDIR%%/i18n/ja.json +%%WWWDIR%%/i18n/jbo.json %%WWWDIR%%/i18n/ku.json %%WWWDIR%%/i18n/la.json %%WWWDIR%%/i18n/languages.json %%WWWDIR%%/i18n/lt.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/sv.json %%WWWDIR%%/i18n/tr.json %%WWWDIR%%/i18n/uk.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_email.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.7.js +%%WWWDIR%%/js/base-x-4.0.0.js %%WWWDIR%%/js/base64-1.7.js -%%WWWDIR%%/js/bootstrap-3.3.7.js +%%WWWDIR%%/js/bootstrap-3.4.1.js %%WWWDIR%%/js/comment.jsonld %%WWWDIR%%/js/commentmeta.jsonld -%%WWWDIR%%/js/jquery-3.4.1.js +%%WWWDIR%%/js/jquery-3.6.0.js %%WWWDIR%%/js/kjua-0.9.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-2.2.7.js +%%WWWDIR%%/js/purify-2.3.6.js %%WWWDIR%%/js/rawinflate-0.3.js -%%WWWDIR%%/js/showdown-1.9.1.js +%%WWWDIR%%/js/showdown-2.0.3.js %%WWWDIR%%/js/types.jsonld -%%WWWDIR%%/js/zlib-1.2.11.js -%%WWWDIR%%/js/zlib-1.2.11.wasm +%%WWWDIR%%/js/zlib-1.2.12.js +%%WWWDIR%%/js/zlib-1.2.12.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/GoogleCloudStorage.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/Request.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/mlocati/ip-lib/ip-lib.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Address/AddressInterface.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Address/AssignedRange.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Address/IPv4.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Address/IPv6.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Address/Type.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Factory.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/ParseStringFlag.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Range/AbstractRange.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Range/Pattern.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Range/RangeInterface.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Range/Single.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Range/Subnet.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Range/Type.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Service/BinaryMath.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Service/RangesFromBoundaryCalculator.php +%%WWWDIR%%/vendor/mlocati/ip-lib/src/Service/UnsignedIntegerMath.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/phpunit-autoload.php %%WWWDIR%%/vendor/paragonie/random_compat/lib/random_int.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 @dir(www,www,700) /var/db/privatebin