www-apps/privatebin - 1.5.1 (mva)

Search

Install

Install this version:

emerge -a =www-apps/privatebin-1.5.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-apps/privatebin-1.5.1

Or alternatively:

emerge --autounmask-write -a =www-apps/privatebin-1.5.1

Package Information

Description:
A minimalist pastebin where the server has zero knowledge of pasted data
Homepage:
https://privatebin.info/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.5.1 8 ~amd64
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

inherit webapp

DESCRIPTION="A minimalist pastebin where the server has zero knowledge of pasted data"
HOMEPAGE="https://privatebin.info/"
SRC_URI="https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/PrivateBin-${PV}"

LICENSE="GPL-2"
KEYWORDS="~amd64"

RDEPEND="
	dev-lang/php[zlib,gd]
"
DEPEND="
	app-admin/webapp-config
"

pkg_setup() {
	webapp_pkg_setup
}

src_install() {
	webapp_src_preinst

	insinto "${MY_HTDOCSDIR}"
	doins -r .

	webapp_src_install
}

pkg_postinst() {
	webapp_pkg_postinst
	local mydir="${VHOST_ROOT}/${MY_HTDOCSBASE}/${PN}"
	echo
	if [ ! -e $mydir/cfg/conf.php ]; then
		elog
		elog Please copy conf.sample.php to conf.php
		elog in $mydir/cfg and tune it to your needs
		elog
	else
		elog
		elog See release notes at
		elog https://github.com/PrivateBin/PrivateBin/releases/tag/${PVw}
		elog
		elog And maybe look at diff conf.sample.php conf.php at
		elog $mydir
		elog

	fi
}

Inherited Eclasses

Dependencies

DEPEND

	app-admin/webapp-config

RDEPEND

	dev-lang/php[zlib,gd]

Manifest for 1.5.1

Type File Size Source URLs
DIST privatebin-1.5.1.tar.gz 658539 bytes https://github.com/PrivateBin/PrivateBin/archive/refs/tags/1.5.1.tar.gz