summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-05-26 15:51:01 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-05-26 15:51:01 +0000
commitbd7ae450ab14d7b3a865d6456f8e0ca3b47caa47 (patch)
treea9cc6f07f5a04ddcd584b7bd8ba8fb8dfd1d13fd
parentwww-apps/limesurvey: Fix QA issues. (diff)
downloadjmbsvicetto-bd7ae450ab14d7b3a865d6456f8e0ca3b47caa47.tar.gz
jmbsvicetto-bd7ae450ab14d7b3a865d6456f8e0ca3b47caa47.tar.bz2
jmbsvicetto-bd7ae450ab14d7b3a865d6456f8e0ca3b47caa47.zip
www-apps/phamm: Drop old version. Fix QA issues.
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r--www-apps/phamm/Manifest9
-rw-r--r--www-apps/phamm/phamm-0.5.18.ebuild101
-rw-r--r--www-apps/phamm/phamm-0.6.2.ebuild6
-rw-r--r--www-apps/phamm/phamm-9999.ebuild6
4 files changed, 10 insertions, 112 deletions
diff --git a/www-apps/phamm/Manifest b/www-apps/phamm/Manifest
index 3cf8262..4823ad6 100644
--- a/www-apps/phamm/Manifest
+++ b/www-apps/phamm/Manifest
@@ -1,6 +1,5 @@
-DIST amavisd-new.schema 32175 SHA256 00fbe416f8ee123426dc04fe7666890a4c1dc9e347984e511338711d9334342d
-DIST phamm-0.5.18.tar.gz 132628 SHA256 8b3b030ed77372bc201b8bc8f635c3e6ba12f833a76364d20d370cbad1effa8b
+DIST amavisd-new.schema 32175 BLAKE2B e1de29fa5533c9c5d17668ed03d9425d660e476aa04f5b43690954f378c2e6d827581ec3e6c3cc48de8bbc20c8ab1bd8b4b159dbc72589fd15c244f254e85106 SHA512 5b292582a21211055b38193df5c82e6a920785305116b1e34697c7830ca7bbc80fd5162193280c7b35eab1bbde7599362311dc5084d9a924ebe69383b3e0715c
DIST phamm-0.6.2.tar.gz 585672 SHA256 4ef2968cb1b4bacbffe89d2cb27d5169dbba97aab7d0acf9b2863edb202b9558 SHA512 799678a2fc7f94f05a1051caa79177d464d4cae1b2da903ca6b330929145f178f5d0e0d813d367cb62460e3ca588a92ec20335f8851913521aa981ae2c8c14ff WHIRLPOOL c8c3987312686d23f144e07185473acb37e57ab9902f525624204a9aa5bfbb52c38cb74b866e62d604b281391ac5c7cb29628f9d5c36bea536d5462361695163
-DIST pureftpd-phamm.schema 2474 SHA256 0de60297967eb5037575d72ef88aa2acc03aecb10b4b470f2dd3f865ed1df0be
-DIST radius-phamm.schema 13259 SHA256 c7261f3ba732dd6f7e55c7b9eece60ca28fd18e2c28db8ca3c8c03742986346f
-DIST samba-phamm.schema 16927 SHA256 d54ffc6422c0299298926519ee6db4857d333c6877b72c51a987059ac43418d0
+DIST pureftpd-phamm.schema 2474 BLAKE2B 4147f174c0d41a7ed7c4f92e261adae9ce899eda3ad80ebadc27491546d9d154c63814756f74f3d044319159a35657b5f9edd934374d9c3026bb91bc9075254f SHA512 a3d46545e474f04269e646e4a4c27e860f3cee11472b64976238851657b3f7b4ee4a65a1fa503ed61ad16aba08bed81637c59fdb163e513f97782246f72c69bc
+DIST radius-phamm.schema 13259 BLAKE2B 0a9cb945d80dfad5a8cc28426b61f9b833ff3dcf698c121cc55397a3b7fa9c5057c3ff7aac0f49edafd3a4a6e86f7ae2ed75d43008ed5e6703ca5f67e5c01291 SHA512 d86417f72d6419ea1c42ee43ac6800cd1799f5103a5f8286f5ccc8a333068207f1f2b72a1849a6f0bafc4402cf4b857d6e4c9a04a80bc8bae367ce6fc09aa132
+DIST samba-phamm.schema 20725 BLAKE2B afef0423132b610a214d51d20158695d96725649ed55a33e9a4158eabacdd327dfd89f491514de2a726f3742501bbbb2a288d1b0934323ad66a33fa64d9bb704 SHA512 7ec0d97b95a8889cd945dd1b17f355d30e797c1829c64aa6c7018c518ec8dfde82ef2abf9a9c46a4820c277addf60c04d8c588736042f97e5dd20c186f180ec0
diff --git a/www-apps/phamm/phamm-0.5.18.ebuild b/www-apps/phamm/phamm-0.5.18.ebuild
deleted file mode 100644
index 5ea5a90..0000000
--- a/www-apps/phamm/phamm-0.5.18.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-
-if [[ ${PV} == *9999* ]]; then
- CVS_ECLASS="cvs "
- ECVS_SERVER="cvs.savannah.nongnu.org:/sources/phamm"
- ECVS_MODULE="phamm05"
- S="${WORKDIR}/phamm05"
- KEYWORDS=""
-else
- RELEASE_URI="http://open.rhx.it/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-inherit ${CVS_ECLASS} webapp
-
-DESCRIPTION="PHP LDAP Virtual Hosting Manager"
-HOMEPAGE="http://www.phamm.org/"
-
-SRC_URI="
- ${RELEASE_URI}
- amavis? ( http://www.ijs.si/software/amavisd/LDAP.schema.txt -> amavisd-new.schema )
- ftp? ( http://open.rhx.it/phamm/schema/pureftpd.schema -> pureftpd-phamm.schema )
- radius? ( http://open.rhx.it/phamm/schema/radius.schema -> radius-phamm.schema )
- samba? ( http://open.rhx.it/phamm/schema/samba.schema -> samba-phamm.schema )
-"
-LICENSE="
- GPL-2
- amavis? ( FDL-1.2 )
- ftp? ( BSD )
- radius? ( as-is )
- samba? ( GPL-3 )
-"
-
-IUSE="amavis ftp radius samba"
-DEPEND="dev-lang/php[ldap,xml]"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- webapp_pkg_setup
-}
-
-src_unpack() {
- if [[ ${PV} == *9999* ]]; then
- cvs_src_unpack
- else
- default
- fi
-}
-
-src_install() {
-
- # Remove CVS subdirs
- [[ ${PV} == *9999* ]] && ecvs_clean
-
- # Install docs
- local DOCS="CHANGELOG COPYRIGHT INSTALL LIB_FUNCTIONS
- PHAMM-LOGO-USE.POLICY README README.locales README.PLUGINS THANKS TODO"
- dodoc ${DOCS} || die "Failed to install Documentation files."
-
- webapp_src_preinst
-
- # Install base examples, schema and docs files
- insinto "/usr/share/doc/${PF}"
- doins -r "${S}/examples" || die "Failed to install examples."
- doins -r "${S}/schema" || die "Failed to install schemas."
- doins -r "${S}/docs" || die "Failed to install docs."
-
- # Install extra schema files
- insinto "/usr/share/doc/${PF}/schema"
- if use amavis; then doins "${DISTDIR}/amavisd-new.schema" || die "Failed to install amavisd-new schema." ; fi
- if use ftp; then doins "${DISTDIR}/pureftpd-phamm.schema" || die "Failed to install pureftpd schema." ; fi
- if use radius; then doins "${DISTDIR}/radius-phamm.schema" || die "Failed to install radius schema." ; fi
- if use samba; then doins "${DISTDIR}/samba-phamm.schema" || die "Failed to install samba schema." ; fi
-
- # Install the package
- insinto "${MY_HTDOCSDIR}"
- doins *.php || die "Failed to copy php files."
-
- if [[ ${PV} == *9999* ]]; then
- newins config.inc.example.php config.inc.php || die "Failed to copy default config file."
- fi
-
- doins -r DTD || die "Failed to install the DTD dir."
- doins -r lib || die "Failed to install the lib dir."
- doins -r locales || die "Failed to install the locales dir."
- doins -r plugins || die "Failed to install the plugins dir."
- doins -r po || die "Failed to install the po dir."
- doins -r tools || die "Failed to install the tools dir."
- doins -r www-data || die "Failed to install the www-data dir."
-
- # Protect config files
- webapp_configfile ${MY_HTDOCSDIR}/config.inc.php
- for file in plugins/*; do
- webapp_configfile ${MY_HTDOCSDIR}/${file}
- done
-
- webapp_src_install
-}
diff --git a/www-apps/phamm/phamm-0.6.2.ebuild b/www-apps/phamm/phamm-0.6.2.ebuild
index d00f73b..de033ef 100644
--- a/www-apps/phamm/phamm-0.6.2.ebuild
+++ b/www-apps/phamm/phamm-0.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -30,12 +30,12 @@ LICENSE="
GPL-2
amavis? ( FDL-1.2 )
ftp? ( BSD )
- radius? ( as-is )
+ radius? ( public-domain )
samba? ( GPL-3 )
"
IUSE="amavis ftp radius samba"
-DEPEND="dev-lang/php[ldap,xml]"
+DEPEND="dev-lang/php:=[ldap,xml]"
RDEPEND="${DEPEND}"
pkg_setup() {
diff --git a/www-apps/phamm/phamm-9999.ebuild b/www-apps/phamm/phamm-9999.ebuild
index d00f73b..de033ef 100644
--- a/www-apps/phamm/phamm-9999.ebuild
+++ b/www-apps/phamm/phamm-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -30,12 +30,12 @@ LICENSE="
GPL-2
amavis? ( FDL-1.2 )
ftp? ( BSD )
- radius? ( as-is )
+ radius? ( public-domain )
samba? ( GPL-3 )
"
IUSE="amavis ftp radius samba"
-DEPEND="dev-lang/php[ldap,xml]"
+DEPEND="dev-lang/php:=[ldap,xml]"
RDEPEND="${DEPEND}"
pkg_setup() {