summaryrefslogtreecommitdiff
path: root/dev-php
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2024-08-04 20:29:52 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2024-08-04 23:01:14 +0100
commita2ca0c4f65a3eb3f9562aef2c804eb11eb147cd0 (patch)
treebd6c44f4c845e1a3dbbb41f5342eea7b9c2fee01 /dev-php
parentsys-kernel/stable-sources: add 6.10.3, drop 6.10.2 (diff)
downloadportage-a2ca0c4f65a3eb3f9562aef2c804eb11eb147cd0.tar.xz
dev-php/zxcvbn: new package, add 1.3.1
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/zxcvbn/Manifest1
-rw-r--r--dev-php/zxcvbn/metadata.xml11
-rw-r--r--dev-php/zxcvbn/zxcvbn-1.3.1.ebuild23
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-php/zxcvbn/Manifest b/dev-php/zxcvbn/Manifest
new file mode 100644
index 00000000..7f14ae9f
--- /dev/null
+++ b/dev-php/zxcvbn/Manifest
@@ -0,0 +1 @@
+DIST zxcvbn-1.3.1.tar.gz 1958153 BLAKE2B 35909f267be8f0e6fe5f90e49123801f179b9d6518c4f1aea21d18ac4305eaa75f3880599e984910a64bb8e4eeced5e8e6c655a76ab2ffa819feabea8b7b7b76 SHA512 5c04a59e8960b7d3141c488d88734fff3b52f1184a03f2d0f928dc3fb6079b955e8b18af8afffaed468ab967253ddfa7231997a9f82edec648ec2da8552b7de9
diff --git a/dev-php/zxcvbn/metadata.xml b/dev-php/zxcvbn/metadata.xml
new file mode 100644
index 00000000..4ed2ae63
--- /dev/null
+++ b/dev-php/zxcvbn/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bertrand@jacquin.bzh</email>
+ <name>Bertrand Jacquin</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bjeavons/zxcvbn-php</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/zxcvbn/zxcvbn-1.3.1.ebuild b/dev-php/zxcvbn/zxcvbn-1.3.1.ebuild
new file mode 100644
index 00000000..6245afc2
--- /dev/null
+++ b/dev-php/zxcvbn/zxcvbn-1.3.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Realistic PHP password strength estimate library based on Zxcvbn JS"
+HOMEPAGE="https://github.com/bjeavons/zxcvbn-php"
+SRC_URI="https://github.com/bjeavons/zxcvbn-php/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND=">=dev-lang/php-7.2[gmp]"
+
+S="${WORKDIR}/zxcvbn-php-${PV}"
+
+src_install() {
+ insinto "/usr/share/php/ZxcvbnPhp/"
+ doins -r src/.
+
+ dodoc README.md
+}