Install this version:
emerge -a =www-apps/coppermine-1.6.28
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =www-apps/coppermine-1.6.28
Or alternatively:
emerge --autounmask-write -a =www-apps/coppermine-1.6.28
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit webapp
DESCRIPTION="Web picture gallery written in PHP with a MySQL backend"
HOMEPAGE="http://coppermine.sourceforge.net/"
SRC_URI="https://github.com/coppermine-gallery/cpg1.6.x/archive/v${PV}.zip"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
BDEPEND="app-arch/unzip"
RDEPEND="virtual/httpd-php
dev-lang/php[gd,mysql]"
S="${WORKDIR}/cpg1.6.x-${PV}"
need_httpd_cgi
src_install() {
webapp_src_preinst
dodoc CHANGELOG.txt README.txt
rm -rf CHANGELOG.txt README.txt
insinto "${MY_HTDOCSDIR}"
doins -r .
dodir "${MY_HTDOCSDIR}"/albums/{userpics,edit}
webapp_serverowned "${MY_HTDOCSDIR}"/albums{,/userpics,/edit}
webapp_serverowned "${MY_HTDOCSDIR}"/include
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_src_install
}
virtual/httpd-php dev-lang/php[gd,mysql]
app-arch/unzip
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | v1.6.28.zip | 4261560 bytes | https://github.com/coppermine-gallery/cpg1.6.x/archive/v1.6.28.zip |