summaryrefslogtreecommitdiff
path: root/homebrew/cracklib
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cracklib')
-rw-r--r--homebrew/cracklib/.beer33
-rw-r--r--homebrew/cracklib/.make.sh-auto4
-rw-r--r--homebrew/cracklib/_metadata/description1
-rw-r--r--homebrew/cracklib/_metadata/homepage1
-rw-r--r--homebrew/cracklib/_metadata/name1
-rw-r--r--homebrew/cracklib/_metadata/version1
-rwxr-xr-xhomebrew/cracklib/download.sh1
-rwxr-xr-xhomebrew/cracklib/patches.sh1
8 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/cracklib/.beer b/homebrew/cracklib/.beer
new file mode 100644
index 000000000..45ddb74fc
--- /dev/null
+++ b/homebrew/cracklib/.beer
@@ -0,0 +1,33 @@
+{
+ "name": "Cracklib",
+ "description": "LibCrack password checking library",
+ "url": "https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/cracklib-2.9.6.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/cracklib/cracklib",
+ "depends": [
+ {
+ "depend": "gettext",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "cracklib-words",
+ "url": "https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/cracklib-words-2.9.6.bz2"
+ }
+ ],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/cracklib/cracklib/commit/47e5dec.patch?full_index=1",
+ "strip": "2"
+ }
+ ],
+ "install": [
+ "(var/\"cracklib\").mkpath",
+ "cp share/\"cracklib-words-#{version}\", var/\"cracklib/cracklib-words\"",
+ "system \"#{bin}/cracklib-packer < #{var}/cracklib/cracklib-words\""
+ ],
+ "version": "2.9.6",
+ "file": "cracklib.rb"
+} \ No newline at end of file
diff --git a/homebrew/cracklib/.make.sh-auto b/homebrew/cracklib/.make.sh-auto
new file mode 100644
index 000000000..034f5514f
--- /dev/null
+++ b/homebrew/cracklib/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+(var/"cracklib").mkpath
+cp share/"cracklib-words-#{version}", var/"cracklib/cracklib-words"
+#{bin}/cracklib-packer < #{var}/cracklib/cracklib-words
diff --git a/homebrew/cracklib/_metadata/description b/homebrew/cracklib/_metadata/description
new file mode 100644
index 000000000..7ef58b4ad
--- /dev/null
+++ b/homebrew/cracklib/_metadata/description
@@ -0,0 +1 @@
+LibCrack password checking library
diff --git a/homebrew/cracklib/_metadata/homepage b/homebrew/cracklib/_metadata/homepage
new file mode 100644
index 000000000..c7afd5ecc
--- /dev/null
+++ b/homebrew/cracklib/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/cracklib/cracklib
diff --git a/homebrew/cracklib/_metadata/name b/homebrew/cracklib/_metadata/name
new file mode 100644
index 000000000..cd6654e2a
--- /dev/null
+++ b/homebrew/cracklib/_metadata/name
@@ -0,0 +1 @@
+Cracklib
diff --git a/homebrew/cracklib/_metadata/version b/homebrew/cracklib/_metadata/version
new file mode 100644
index 000000000..23ae1b5dc
--- /dev/null
+++ b/homebrew/cracklib/_metadata/version
@@ -0,0 +1 @@
+2.9.6
diff --git a/homebrew/cracklib/download.sh b/homebrew/cracklib/download.sh
new file mode 100755
index 000000000..8e8ed5bf4
--- /dev/null
+++ b/homebrew/cracklib/download.sh
@@ -0,0 +1 @@
+wget https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/cracklib-2.9.6.tar.gz \ No newline at end of file
diff --git a/homebrew/cracklib/patches.sh b/homebrew/cracklib/patches.sh
new file mode 100755
index 000000000..584a032fb
--- /dev/null
+++ b/homebrew/cracklib/patches.sh
@@ -0,0 +1 @@
+wget https://github.com/cracklib/cracklib/commit/47e5dec.patch?full_index=1