diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-10-26 14:41:04 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-10-27 18:32:20 +0900 |
commit | df6757d6a02aefebddef002a061a9bc9263a8c93 (patch) | |
tree | 9f0c0664451ec72b7d7279fa483233bccd37b113 /strata/gnome | |
parent | 21f3b393c61c80fb2e4e1257badeb71df6ea6011 (diff) | |
download | definitions-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')
-rw-r--r-- | strata/gnome/cracklib.morph | 18 | ||||
-rw-r--r-- | strata/gnome/evolution-data-server.morph | 2 | ||||
-rw-r--r-- | strata/gnome/gnome-initial-setup.morph | 7 | ||||
-rw-r--r-- | strata/gnome/gnome-online-accounts.morph | 5 | ||||
-rw-r--r-- | strata/gnome/krb5.morph | 10 | ||||
-rw-r--r-- | strata/gnome/libpwquality.morph | 6 |
6 files changed, 47 insertions, 1 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 diff --git a/strata/gnome/evolution-data-server.morph b/strata/gnome/evolution-data-server.morph index 4a3841a1..5e7cd56a 100644 --- a/strata/gnome/evolution-data-server.morph +++ b/strata/gnome/evolution-data-server.morph @@ -2,4 +2,4 @@ name: evolution-data-server kind: chunk build-system: autotools configure-commands: -- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --disable-goa --disable-uoa --with-libdb=no --disable-google --with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr +- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --disable-uoa --with-libdb=no --disable-google --with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr diff --git a/strata/gnome/gnome-initial-setup.morph b/strata/gnome/gnome-initial-setup.morph new file mode 100644 index 00000000..1f6f695b --- /dev/null +++ b/strata/gnome/gnome-initial-setup.morph @@ -0,0 +1,7 @@ +name: gnome-initial-setup +kind: chunk +build-system: autotools +system-integration: + gnome-initial-set-misc: + 01-add-gnome-initial-setup-user: + - useradd -c "GNOME Initial Setup Owner" -g gdm -s /bin/false gnome-initial-setup diff --git a/strata/gnome/gnome-online-accounts.morph b/strata/gnome/gnome-online-accounts.morph new file mode 100644 index 00000000..0dea9543 --- /dev/null +++ b/strata/gnome/gnome-online-accounts.morph @@ -0,0 +1,5 @@ +name: gnome-online-accounts +kind: chunk +build-system: autotools +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --disable-gtk-doc --disable-documentation diff --git a/strata/gnome/krb5.morph b/strata/gnome/krb5.morph new file mode 100644 index 00000000..d0a4600e --- /dev/null +++ b/strata/gnome/krb5.morph @@ -0,0 +1,10 @@ +name: krb5 +kind: chunk +build-system: autotools +configure-commands: +- cd src && ./util/reconf --force +- cd src && ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var/lib --enable-dns +build-commands: +- make -C src +install-commands: +- make -C src install diff --git a/strata/gnome/libpwquality.morph b/strata/gnome/libpwquality.morph new file mode 100644 index 00000000..aefed50d --- /dev/null +++ b/strata/gnome/libpwquality.morph @@ -0,0 +1,6 @@ +name: libpwquality +kind: chunk +build-system: autotools +configure-commands: +- ./autogen.sh +- ./configure --prefix="$PREFIX" --sysconfdir=/etc --with-securedir=/lib/security --disable-nls |