diff options
Diffstat (limited to 'scripts/dev-init.sh')
-rwxr-xr-x | scripts/dev-init.sh | 81 |
1 files changed, 63 insertions, 18 deletions
diff --git a/scripts/dev-init.sh b/scripts/dev-init.sh index 049578a..5c91060 100755 --- a/scripts/dev-init.sh +++ b/scripts/dev-init.sh @@ -3,32 +3,80 @@ useradd dirsrv -d /usr/share/dirsrv useradd pkiuser -d /usr/share/pki -# development -yum install -y\ - git +# source control +yum install -y \ + git \ + git-svn -# build -yum-builddep --skip-broken ../../pki/specs/pki-core.spec -yum install -y --skip-broken\ - gcc-c++\ - rpm-build\ - createrepo +# build dependencies +yum-builddep -y ../../pki/specs/pki-core.spec +yum-builddep -y ../../pki/specs/pki-console.spec + +# build tools +yum install -y --nogpgcheck \ + cmake \ + gcc-c++ \ + rpm-build \ + fedpkg \ + fedora-packager \ + createrepo \ + idm-console-framework + +# C dependencies +yum install -y --nogpgcheck \ + apr-util-devel httpd-devel pcre-devel svrcore-devel zlib-devel + +# C & Python dependencies +yum install -y --nogpgcheck \ + python-nss \ + policycoreutils-python \ + pylint \ + python-devel \ + python-flake8 \ + python-ldap \ + python-sphinx \ + python3-devel \ + python3-flake8 \ + python3-nss \ + python3-pyldap + +# Java dependencies +yum install -y --nogpgcheck \ + java-1.8.0-openjdk-devel \ + junit \ + apache-commons-cli \ + apache-commons-codec \ + apache-commons-io \ + jakarta-commons-httpclient \ + javassist \ + jboss-annotations-1.2-api \ + jboss-jaxrs-2.0-api \ + jboss-logging \ + net-tools \ + nuxwdog-client-java \ + resteasy-atom-provider \ + resteasy-client \ + resteasy-core \ + resteasy-jackson-provider \ + resteasy-jaxb-provider \ + slf4j \ + slf4j-jdk14 \ + tomcatjss \ + velocity \ + xalan-j2 \ + xerces-j2 # test -yum install -y --skip-broken\ +yum install -y --nogpgcheck\ 389-ds-base # obsolete -#yum install -y\ +#dnf install -y\ # kdiff3\ -# cmake\ # gcc\ # mock\ -# java-devel\ # ldapjdk\ # idm-console-framework\ -# apache-commons-cli\ -# apache-commons-codec\ # httpcomponents-client\ # httpcomponents-core\ # nspr-devel\ @@ -42,11 +90,8 @@ yum install -y --skip-broken\ # selinux-policy-devel\ # 389-ds-base\ # java-1.7.0-openjdk\ -# junit\ # jss\ -# javassist\ # jettison\ -# resteasy\ # tomcatjss\ # perl-File-Slurp\ # perl-XML-LibXML\ |