From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1433536-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E1506158095
	for <garchives@archives.gentoo.org>; Mon,  5 Sep 2022 01:06:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EB982E07E6;
	Mon,  5 Sep 2022 01:06:36 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D4F56E07E6
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 01:06:36 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 77F25340C3E
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 01:06:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 96D425BF
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Sep 2022 01:06:33 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1662339922.08e9abfcdde3f866215db1aa73803407386dfb2e.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/cracklib-words/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/cracklib-words/Manifest sys-apps/cracklib-words/cracklib-words-2.9.8.ebuild
X-VCS-Directories: sys-apps/cracklib-words/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 08e9abfcdde3f866215db1aa73803407386dfb2e
X-VCS-Branch: master
Date: Mon,  5 Sep 2022 01:06:33 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5511c63d-73ed-454d-a0e3-eb4c9d014764
X-Archives-Hash: 3aac82b8aa504fbf198d21e7490fb1b1

commit:     08e9abfcdde3f866215db1aa73803407386dfb2e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  5 01:05:22 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  5 01:05:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e9abfc

sys-apps/cracklib-words: add 2.9.8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/cracklib-words/Manifest                   |  1 +
 .../cracklib-words/cracklib-words-2.9.8.ebuild     | 27 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/sys-apps/cracklib-words/Manifest b/sys-apps/cracklib-words/Manifest
index 1cb0462e5519..63e4e2c58cc1 100644
--- a/sys-apps/cracklib-words/Manifest
+++ b/sys-apps/cracklib-words/Manifest
@@ -1 +1,2 @@
 DIST cracklib-words-2.9.7.gz 5537586 BLAKE2B 242afa5e3615b159c59d27c99b87f008f245351cc7e4bd8dc975e66b4ef98456841c6a213282744d39c221c8646dc8e0c5ad99f277f37ae3e64bc949f6b57187 SHA512 1fa34b0a2e16d6906982b248f1757bf5bf8154d8d7e8bab94a4ac25080c41434d3828a2c8dd5065e9be586f36480ab70375f09e0bb64eb495d96a460619e2bae
+DIST cracklib-words-2.9.8.gz 5537586 BLAKE2B ca56229852211094c17b2a612100b5b6e4e4f6aafa7cbfae8f779296370b01e5cae26d7d51dd69af6291946a1781cd19f8652bdff7f358c2e50d26c9e263c2fd SHA512 1700c56b9776b7ae4684b9ab1e784dd7707550bce2149301f662618a4f00a2eb0ba2d1a206c09aac22f7d95bc561544d412d2fdac5008fc3aabc4872e8a74afc

diff --git a/sys-apps/cracklib-words/cracklib-words-2.9.8.ebuild b/sys-apps/cracklib-words/cracklib-words-2.9.8.ebuild
new file mode 100644
index 000000000000..e688298dccf3
--- /dev/null
+++ b/sys-apps/cracklib-words/cracklib-words-2.9.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Note: ideally bump with sys-libs/cracklib
+DESCRIPTION="Large set of crack/cracklib dictionaries"
+HOMEPAGE="https://github.com/cracklib/cracklib/"
+SRC_URI="https://github.com/cracklib/cracklib/releases/download/v${PV}/${P}.gz"
+S="${WORKDIR}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+src_install() {
+	insinto /usr/share/dict
+	newins ${P} ${PN}
+}
+
+pkg_postinst() {
+	if [[ -n ${ROOT} ]] && create-cracklib-dict -h >&/dev/null ; then
+		ebegin "Regenerating cracklib dictionary"
+		create-cracklib-dict /usr/share/dict/* >/dev/null
+		eend $?
+	fi
+}