From ec736d51f3e6709ad597cb7349342428526f471e Mon Sep 17 00:00:00 2001 From: asamalik Date: Mon, 22 May 2017 11:40:26 +0200 Subject: [PATCH 01/16] init --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3356e7b --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# TEMPLATE module + + From 571aa9d795fdb1f01921b37e1c29488ad4fa45e7 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 22 May 2017 14:03:26 +0200 Subject: [PATCH 02/16] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 3356e7b..7352759 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # TEMPLATE module +A simple example of how module git repo could look like. This paragraph contains a short description of the module. + +## Current state + +| State | Description | +|-------|-------------| +| ✓ YES | **Build passes** in the infra | +| ✗ NO | **No bootstrap** - uses only proper modules | +| ✓ YES | General **Tests in dist-git** | +| ✓ YES | General **Tests pass** | +| ✗ NO | Meets the **Fedora Packaging Guideline** | + +### Notes + +I can type some quick notes about the current state here. Like "I'm using bootstrap because I need Java to build my webserver and I didn't manage to get Java module to work." + From a5616c3d6a4a6723cdd502cf6fd1a2e27c60f70d Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 22 May 2017 14:07:37 +0200 Subject: [PATCH 03/16] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7352759..2356fc6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # TEMPLATE module +[**Dist Git**](http://pkgs.fedoraproject.org/cgit/modules/nginx.git/) | +[**F26 modulemd**](http://pkgs.fedoraproject.org/cgit/modules/nginx.git/tree/nginx.yaml?h=f26) | +[**Package DB**](https://admin.fedoraproject.org/pkgdb/package/modules/nginx/) | +[**PDC**](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=nginx) + + A simple example of how module git repo could look like. This paragraph contains a short description of the module. ## Current state From 720057fd18a265bffb1a6adc3c858d21a49db9db Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 22 May 2017 14:09:09 +0200 Subject: [PATCH 04/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2356fc6..4a2fdf4 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A simple example of how module git repo could look like. This paragraph contains | ✗ NO | **No bootstrap** - uses only proper modules | | ✓ YES | General **Tests in dist-git** | | ✓ YES | General **Tests pass** | -| ✗ NO | Meets the **Fedora Packaging Guideline** | +| ✗ NO | Meets the **Fedora Module Packaging Guidelines** | ### Notes From 03b0d36deaf2434c5a9bd57c547cc48ed761fdf8 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 22 May 2017 14:10:20 +0200 Subject: [PATCH 05/16] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a2fdf4..026ce3b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ A simple example of how module git repo could look like. This paragraph contains | State | Description | |-------|-------------| -| ✓ YES | **Build passes** in the infra | +| ✓ YES | **Build passes** in the infra (all build deps are ok) | +| ✓ YES | **Installs** on the Base Runtime (all runtime deps are ok) | | ✗ NO | **No bootstrap** - uses only proper modules | | ✓ YES | General **Tests in dist-git** | | ✓ YES | General **Tests pass** | From 5e6be7c6253f793192746b319bac4aaaaa78d460 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 22 May 2017 14:12:57 +0200 Subject: [PATCH 06/16] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 026ce3b..192a83e 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ A simple example of how module git repo could look like. This paragraph contains | ✓ YES | **Build passes** in the infra (all build deps are ok) | | ✓ YES | **Installs** on the Base Runtime (all runtime deps are ok) | | ✗ NO | **No bootstrap** - uses only proper modules | -| ✓ YES | General **Tests in dist-git** | -| ✓ YES | General **Tests pass** | +| ✓ YES | General **tests are in dist-git** | +| ✓ YES | General **tests pass** | | ✗ NO | Meets the **Fedora Module Packaging Guidelines** | ### Notes From 5c07b11f7519a57c9f6ca598b32ca0f729c1143a Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 22 May 2017 14:20:22 +0200 Subject: [PATCH 07/16] Create modulemd.yaml --- modulemd.yaml | 1 + 1 file changed, 1 insertion(+) create mode 100644 modulemd.yaml diff --git a/modulemd.yaml b/modulemd.yaml new file mode 100644 index 0000000..3a4d7a9 --- /dev/null +++ b/modulemd.yaml @@ -0,0 +1 @@ +# This is just a placeholder file for a modulemd From 70efc532c2308d00d4b80d17bb845ab25f90c081 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 24 May 2017 15:09:51 +0200 Subject: [PATCH 08/16] use TEMPLATE as placeholder, not nginx --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 192a83e..3a3c16d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # TEMPLATE module -[**Dist Git**](http://pkgs.fedoraproject.org/cgit/modules/nginx.git/) | -[**F26 modulemd**](http://pkgs.fedoraproject.org/cgit/modules/nginx.git/tree/nginx.yaml?h=f26) | -[**Package DB**](https://admin.fedoraproject.org/pkgdb/package/modules/nginx/) | -[**PDC**](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=nginx) +[**Dist Git**](http://pkgs.fedoraproject.org/cgit/modules/TEMPLATE.git/) | +[**F26 modulemd**](http://pkgs.fedoraproject.org/cgit/modules/TEMPLATE.git/tree/TEMPLATE.yaml?h=f26) | +[**Package DB**](https://admin.fedoraproject.org/pkgdb/package/modules/TEMPLATE/) | +[**PDC**](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=TEMPLATE) A simple example of how module git repo could look like. This paragraph contains a short description of the module. From 744624c10e91d7354314e720261433a52e984165 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 24 May 2017 15:10:28 +0200 Subject: [PATCH 09/16] fix wording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a3c16d..861310b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [**PDC**](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=TEMPLATE) -A simple example of how module git repo could look like. This paragraph contains a short description of the module. +A simple example of how a git repo for a module could look like. This paragraph contains a short description of the module. ## Current state From 82252e70a1b1c2f4cc6e0a8db2c815fcba37ded5 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 25 May 2017 13:12:37 +0200 Subject: [PATCH 10/16] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 861310b..58a4eb1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ # TEMPLATE module -[**Dist Git**](http://pkgs.fedoraproject.org/cgit/modules/TEMPLATE.git/) | -[**F26 modulemd**](http://pkgs.fedoraproject.org/cgit/modules/TEMPLATE.git/tree/TEMPLATE.yaml?h=f26) | -[**Package DB**](https://admin.fedoraproject.org/pkgdb/package/modules/TEMPLATE/) | -[**PDC**](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=TEMPLATE) +[**Package DB** (owner)](https://admin.fedoraproject.org/pkgdb/package/modules/TEMPLATE/) | +[**F26 modulemd** (source)](http://pkgs.fedoraproject.org/cgit/modules/TEMPLATE.git/tree/TEMPLATE.yaml?h=f26) | +[**PDC** (result)](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=TEMPLATE) A simple example of how a git repo for a module could look like. This paragraph contains a short description of the module. From 696608d59c131c4807ad01937ac73cd8c38b9836 Mon Sep 17 00:00:00 2001 From: Dominika Hodovska Date: Tue, 6 Jun 2017 14:09:16 +0200 Subject: [PATCH 11/16] Update module state --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 58a4eb1..c1f7298 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # TEMPLATE module -[**Package DB** (owner)](https://admin.fedoraproject.org/pkgdb/package/modules/TEMPLATE/) | -[**F26 modulemd** (source)](http://pkgs.fedoraproject.org/cgit/modules/TEMPLATE.git/tree/TEMPLATE.yaml?h=f26) | -[**PDC** (result)](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=TEMPLATE) +[**Package DB** (owner)](https://admin.fedoraproject.org/pkgdb/package/modules/sssd/) | +[**F26 modulemd** (source)](http://pkgs.fedoraproject.org/cgit/modules/sssd.git/tree/sssd.yaml?h=f26) | +[**PDC** (result)](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=sssd) -A simple example of how a git repo for a module could look like. This paragraph contains a short description of the module. +System Security Services Daemon module ## Current state @@ -18,8 +18,5 @@ A simple example of how a git repo for a module could look like. This paragraph | ✓ YES | General **tests pass** | | ✗ NO | Meets the **Fedora Module Packaging Guidelines** | -### Notes - -I can type some quick notes about the current state here. Like "I'm using bootstrap because I need Java to build my webserver and I didn't manage to get Java module to work." From 88005db66e4025475177ffab8b5188173190c0f9 Mon Sep 17 00:00:00 2001 From: Dominika Hodovska Date: Tue, 6 Jun 2017 14:33:05 +0200 Subject: [PATCH 12/16] Fix title --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c1f7298..1bffd63 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# TEMPLATE module +# sssd module [**Package DB** (owner)](https://admin.fedoraproject.org/pkgdb/package/modules/sssd/) | [**F26 modulemd** (source)](http://pkgs.fedoraproject.org/cgit/modules/sssd.git/tree/sssd.yaml?h=f26) | From 52450e58e800f0430f24aa7745080789c08bc236 Mon Sep 17 00:00:00 2001 From: Jan Koscielniak Date: Mon, 26 Jun 2017 12:52:44 +0200 Subject: [PATCH 13/16] Update modulemd file --- modulemd.yaml | 1 - sssd.yaml | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 139 insertions(+), 1 deletion(-) delete mode 100644 modulemd.yaml create mode 100644 sssd.yaml diff --git a/modulemd.yaml b/modulemd.yaml deleted file mode 100644 index 3a4d7a9..0000000 --- a/modulemd.yaml +++ /dev/null @@ -1 +0,0 @@ -# This is just a placeholder file for a modulemd diff --git a/sssd.yaml b/sssd.yaml new file mode 100644 index 0000000..b88d355 --- /dev/null +++ b/sssd.yaml @@ -0,0 +1,139 @@ +document: modulemd +version: 1 +data: + summary: System Security Services Daemon + description: Provides a set of daemons to manage access to remote directories and authentication mechanisms. It provides an NSS and PAM interface toward the system and a plug-gable back-end system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA. The sssd sub-package is a meta-package that contains the daemon as well as all the existing back ends. + license: + module: [ MIT ] + dependencies: + buildrequires: + bootstrap: f26 + common-build-dependencies-bootstrap: f26 + common-build-dependencies: f26 + shared-userspace: f26 + perl: f26 + requires: + base-runtime: f26 + perl: f26 + shared-userspace: f26 + references: + community: https://docs.pagure.org/modularity/ + documentation: https://github.com/modularity-modules/sssd + tracker: https://github.com/modularity-modules/sssd + profiles: + default: + rpms: + - sssd + - sssd-ad + - sssd-common + - sssd-common-pac + - sssd-dbus + - sssd-ipa + - sssd-krb5 + - sssd-krb5-common + - sssd-ldap + - sssd-libwbclient + - sssd-nfs-idmap + - sssd-proxy + - sssd-tools + - sssd-winbind-idmap + api: + rpms: + - sssd + - sssd-ad + - sssd-common + - sssd-common-pac + - sssd-dbus + - sssd-ipa + - sssd-krb5 + - sssd-krb5-common + - sssd-ldap + - sssd-libwbclient + - sssd-nfs-idmap + - sssd-proxy + - sssd-tools + - sssd-winbind-idmap + - libtevent + - libtalloc + - libtdb + - libwbclient + - samba + - libldb + - polkit-libs + components: + rpms: + sssd: + rationale: A dependency of tangerine. + ref: f26 + buildorder: 10 + realmd: + rationale: A dependency of sssd + ref: f26 + libtevent: + rationale: A dependency of libldb and libtevent and cifs-utils. + ref: f26 + buildorder: 5 + libtalloc: + rationale: A dependency of libldb and libtevent and cifs-utils. + ref: f26 + buildorder: 5 + libtdb: + rationale: A dependency of libldb. + ref: f26 + buildorder: 6 + quota: + rationale: A dependency of samba. + ref: f26 + buildorder: 6 + firewalld: + rationale: A dependency of glusterfs + ref: f26 + buildorder: 6 + libldb: + rationale: A dependency of samba. + ref: f26 + buildorder: 7 + bind: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + check: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + cifs-utils: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + cmocka: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + diffstat: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + http-parser: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + jansson: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + libnl3: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + nss_wrapper: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + uid_wrapper: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 + samba: + rationale: A dependency of sssd. + ref: f26 + buildorder: 9 \ No newline at end of file From f9ccc30794462388869700654ed7bb7c8517fdfd Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 26 Jun 2017 15:26:49 -0400 Subject: [PATCH 14/16] Add filters for non-API content Don't provide the samba subpackages Drop firewalld since it's unused and included in the installer module. Signed-off-by: Stephen Gallagher --- sssd.yaml | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/sssd.yaml b/sssd.yaml index b88d355..6e7f836 100644 --- a/sssd.yaml +++ b/sssd.yaml @@ -57,9 +57,34 @@ data: - libtalloc - libtdb - libwbclient - - samba - libldb - polkit-libs + filter: + rpms: + - check + - check-devel + - ctdb + - ctdb-tests + - samba + - samba-client + - samba-common-libs + - samba-common-tools + - samba-dc + - samba-dc-libs + - samba-debuginfo + - samba-devel + - samba-krb5-printing + - samba-libs + - samba-pidl + - samba-python + - samba-test + - samba-test-libs + - samba-vfs-cephfs + - samba-vfs-glusterfs + - samba-winbind + - samba-winbind-clients + - samba-winbind-krb5-locator + - samba-winbind-modules components: rpms: sssd: @@ -85,10 +110,6 @@ data: rationale: A dependency of samba. ref: f26 buildorder: 6 - firewalld: - rationale: A dependency of glusterfs - ref: f26 - buildorder: 6 libldb: rationale: A dependency of samba. ref: f26 @@ -136,4 +157,5 @@ data: samba: rationale: A dependency of sssd. ref: f26 - buildorder: 9 \ No newline at end of file + buildorder: 9 + From 42b2773242cff1d2e0b6464e31c897b4969e4b5a Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Wed, 28 Jun 2017 13:20:44 +0200 Subject: [PATCH 15/16] Add realmd into api and filter our wrappers Signed-off-by: Petr "Stone" Hracek --- sssd.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sssd.yaml b/sssd.yaml index 6e7f836..f3588e4 100644 --- a/sssd.yaml +++ b/sssd.yaml @@ -37,6 +37,7 @@ data: - sssd-proxy - sssd-tools - sssd-winbind-idmap + - realmd api: rpms: - sssd @@ -59,6 +60,7 @@ data: - libwbclient - libldb - polkit-libs + - realmd filter: rpms: - check @@ -85,6 +87,8 @@ data: - samba-winbind-clients - samba-winbind-krb5-locator - samba-winbind-modules + - nss_wrapper + - uid_wrapper components: rpms: sssd: From 2fd67a9d55439181ab0a23e22e9531a55096de3a Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Tue, 11 Jul 2017 09:58:05 +0200 Subject: [PATCH 16/16] Remove quota from deps and filter out Signed-off-by: Petr "Stone" Hracek --- sssd.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sssd.yaml b/sssd.yaml index f3588e4..34a09f6 100644 --- a/sssd.yaml +++ b/sssd.yaml @@ -89,6 +89,7 @@ data: - samba-winbind-modules - nss_wrapper - uid_wrapper + - quota components: rpms: sssd: @@ -110,10 +111,6 @@ data: rationale: A dependency of libldb. ref: f26 buildorder: 6 - quota: - rationale: A dependency of samba. - ref: f26 - buildorder: 6 libldb: rationale: A dependency of samba. ref: f26