summaryrefslogtreecommitdiff
path: root/strata/gnome/cracklib.morph
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-26 14:41:04 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-27 18:32:20 +0900
commitdf6757d6a02aefebddef002a061a9bc9263a8c93 (patch)
tree9f0c0664451ec72b7d7279fa483233bccd37b113 /strata/gnome/cracklib.morph
parent21f3b393c61c80fb2e4e1257badeb71df6ea6011 (diff)
downloaddefinitions-df6757d6a02aefebddef002a061a9bc9263a8c93.tar.gz
Adding gnome-initial-setup and dependencies to gnome stratum
This change adds the following chunks to the gnome stratum: o cracklib o libpwquality (uses cracklib to provide password strength checking) o librest (RESTful API library, needed by online accounts) o krb5 (Kerberos Network Authentication) o gnome-online-accounts o gnome-initial-setup Additionally, evolution-data-server is now compiled with online account support - all of the above dependencies are hard requirements for the gnome initial setup tool. The WebKitGtk stratum is now a dependency of GNOME and is also added to the GNOME system with this commit (again required by the gnome-online-accounts module). Change-Id: I103402bc9125b1e9ca57b393b1cef6fb99f526e3
Diffstat (limited to 'strata/gnome/cracklib.morph')
-rw-r--r--strata/gnome/cracklib.morph18
1 files changed, 18 insertions, 0 deletions
diff --git a/strata/gnome/cracklib.morph b/strata/gnome/cracklib.morph
new file mode 100644
index 00000000..6b373cfa
--- /dev/null
+++ b/strata/gnome/cracklib.morph
@@ -0,0 +1,18 @@
+name: cracklib
+kind: chunk
+build-system: autotools
+configure-commands:
+# cracklib has it's own autogen.sh script, but uses curl to download config.sub & config.guess, we just skip it
+- cd src && autopoint -f && cd m4 && echo EXTRA_DIST = *.m4 > Makefile.am && cd .. && autoreconf -f -i
+- cd src && ./configure --prefix="$PREFIX" --sysconfdir=/etc --with-default-dict=/lib/cracklib/pw_dict
+build-commands:
+- make -C src
+- make -C words
+install-commands:
+- make -C src install
+- install -m644 -D words/cracklib-words.gz $DESTDIR$PREFIX/share/dict/cracklib-words.gz
+- install -v -m755 -d $DESTDIR/lib/cracklib
+system-integration:
+ cracklib-misc:
+ 00-cracklib-create-dict:
+ - create-cracklib-dict /usr/share/dict/cracklib-words.gz