From df6757d6a02aefebddef002a061a9bc9263a8c93 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 26 Oct 2015 14:41:04 +0900 Subject: 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 --- strata/gnome/cracklib.morph | 18 ++++++++++++++++++ strata/gnome/evolution-data-server.morph | 2 +- strata/gnome/gnome-initial-setup.morph | 7 +++++++ strata/gnome/gnome-online-accounts.morph | 5 +++++ strata/gnome/krb5.morph | 10 ++++++++++ strata/gnome/libpwquality.morph | 6 ++++++ 6 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 strata/gnome/cracklib.morph create mode 100644 strata/gnome/gnome-initial-setup.morph create mode 100644 strata/gnome/gnome-online-accounts.morph create mode 100644 strata/gnome/krb5.morph create mode 100644 strata/gnome/libpwquality.morph (limited to 'strata/gnome') 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 -- cgit v1.2.1