Skip to content

Commit

Permalink
feat(jans-linux-setup): install mod_auth_openidc (ref: #909) (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Mar 3, 2022
1 parent ac0629a commit 270a7b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions jans-linux-setup/jans_setup/setup_app/data/package_list.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"red 7": {
"optional": "",
"mondatory": "httpd httpd-mod_ssl curl wget tar xz unzip rsyslog bzip2",
"mondatory": "httpd httpd-mod_ssl mod_auth_openidc curl wget tar xz unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"}
},
"red 8": {
"optional": "",
"mondatory": "httpd mod_ssl curl wget tar xz unzip rsyslog bzip2",
"mondatory": "httpd mod_ssl mod_auth_openidc curl wget tar xz unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"}
},
"centos 7": {
"optional": "",
"mondatory": "httpd mod_ssl curl wget tar xz unzip bzip2 rsyslog ",
"mondatory": "httpd mod_ssl curl mod_auth_openidc wget tar xz unzip bzip2 rsyslog ",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"}
},
"centos 8": {
"optional": "",
"mondatory": "httpd mod_ssl curl wget tar xz unzip rsyslog bzip2",
"mondatory": "httpd mod_ssl mod_auth_openidc curl wget tar xz unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"}
},
"suse 15": {
"optional": "",
"mondatory": "apache2 curl wget tar xz unzip rsyslog bzip2",
"mondatory": "apache2 apache2-mod_auth_openidc curl wget tar xz unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel-yaml", "certifi":"python3-certifi", "pymysql":"python3-PyMySQL", "Crypto": "python3-cryptography"}
},
"debian 10": {
"optional": "",
"mondatory": "apache2 curl wget tar xz-utils unzip rsyslog bzip2",
"mondatory": "apache2 libapache2-mod-auth-openidc curl wget tar xz-utils unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"}
},
"debian 9": {
"optional": "",
"mondatory": "apache2 curl wget tar xz-utils unzip rsyslog bzip2",
"mondatory": "apache2 libapache2-mod-auth-openidc curl wget tar xz-utils unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"}
},
"ubuntu 18": {
"optional": "",
"mondatory": "apache2 curl wget xz-utils unzip rsyslog net-tools bzip2",
"mondatory": "apache2 libapache2-mod-auth-openidc curl wget xz-utils unzip rsyslog net-tools bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"}
},
"ubuntu 20": {
"optional": "",
"mondatory": "apache2 curl wget xz-utils unzip rsyslog bzip2",
"mondatory": "apache2 libapache2-mod-auth-openidc curl wget xz-utils unzip rsyslog bzip2",
"python": {"ldap3":"python3-ldap3", "requests":"python3-requests", "ruamel.yaml":"python3-ruamel.yaml", "certifi":"python3-certifi", "pymysql":"python3-pymysql", "Crypto": "python3-crypto"}
}
}
2 changes: 1 addition & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/httpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def configure(self):
self.copyFile(tmp_fn, self.server_root)

# we only need these modules
mods_enabled = ['env', 'log_config', 'proxy', 'proxy_http', 'access_compat', 'alias', 'authn_core', 'authz_core', 'authz_host', 'headers', 'mime', 'mpm_event', 'proxy_ajp', 'security2', 'reqtimeout', 'setenvif', 'socache_shmcb', 'ssl', 'unique_id', 'rewrite', 'mod_dir']
mods_enabled = ['env', 'log_config', 'proxy', 'proxy_http', 'access_compat', 'alias', 'authn_core', 'authz_core', 'authz_host', 'headers', 'mime', 'mpm_event', 'proxy_ajp', 'security2', 'reqtimeout', 'setenvif', 'socache_shmcb', 'ssl', 'unique_id', 'rewrite', 'mod_dir', 'auth_openidc']

cmd_a2enmod = shutil.which('a2enmod')
cmd_a2dismod = shutil.which('a2dismod')
Expand Down

0 comments on commit 270a7b6

Please sign in to comment.