summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@vm-171-220.abc.idm.lab.eng.brq.redhat.com>2018-06-21 16:54:55 +0200
committerroot <root@vm-171-220.abc.idm.lab.eng.brq.redhat.com>2018-06-21 16:54:55 +0200
commitf349436a80efa6533c73c26f88fbd1b9305097c9 (patch)
tree723ef4e816f4a1aee12202ab46c9114d84bf3470
parent7b8f505e9b9460e144d1cfca56a94d24d2c6b136 (diff)
downloadpki-dev-f349436a80efa6533c73c26f88fbd1b9305097c9.zip
pki-dev-f349436a80efa6533c73c26f88fbd1b9305097c9.tar.gz
pki-dev-f349436a80efa6533c73c26f88fbd1b9305097c9.tar.xz
Updated dev-init.sh
-rwxr-xr-xscripts/dev-init.sh120
1 files changed, 21 insertions, 99 deletions
diff --git a/scripts/dev-init.sh b/scripts/dev-init.sh
index 8bdb137..0c85509 100755
--- a/scripts/dev-init.sh
+++ b/scripts/dev-init.sh
@@ -1,114 +1,36 @@
#!/bin/sh -x
-useradd dirsrv -d /usr/share/dirsrv
-useradd pkiuser -d /usr/share/pki
+dnf copr enable -y @pki/10.6
+
+#useradd dirsrv -d /usr/share/dirsrv
+#useradd pkiuser -d /usr/share/pki
# source control
yum install -y \
git \
git-svn
-# 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 \
- idm-console-framework
-
-# C dependencies
-yum install -y --nogpgcheck \
- apr-util-devel httpd-devel pcre-devel svrcore-devel zlib-devel
+ rpmlint \
+ make \
+ cmake \
+ 389-ds-base \
+ tomcatjss
-# 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 \
- python3-lxml
+# gcc-c++ \
+# fedpkg \
+# fedora-packager \
-# 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
+# C dependencies
+#yum install -y --nogpgcheck \
+# apr-util-devel httpd-devel pcre-devel svrcore-devel zlib-devel
-# test
-yum install -y --nogpgcheck\
- 389-ds-base
+dnf builddep -y --spec ../../pki/specs/pki-core.spec.in
+dnf builddep -y --spec ../../pki/specs/pki-console.spec.in
+dnf builddep -y --spec ../../pki/specs/dogtag-pki-theme.spec.in
+dnf builddep -y --spec ../../pki/specs/dogtag-pki.spec.in
-# obsolete
-#dnf install -y\
-# kdiff3\
-# gcc\
-# mock\
-# ldapjdk\
-# idm-console-framework\
-# httpcomponents-client\
-# httpcomponents-core\
-# nspr-devel\
-# nss-devel\
-# openldap-clients\
-# openldap-devel\
-# openssl-devel\
-# velocity\
-# xalan-j2\
-# xerces-j2\
-# selinux-policy-devel\
-# 389-ds-base\
-# java-1.7.0-openjdk\
-# jss\
-# jettison\
-# tomcatjss\
-# perl-File-Slurp\
-# perl-XML-LibXML\
-# perl-Crypt-SSLeay\
-# pylint\
-# python-ldap\
-# python-lxml\
-# python-nss\
-# python-sphinx\
-# freeipa-python\
-# eclipse-jdt\
-# fedora-packager\
-# apr-devel\
-# apr-util-devel\
-# httpd-devel\
-# pcre-devel\
-# dnf\
-# createrepo \
-# dnf-plugins-core\
-# @development-tools
+#yum-builddep -y --spec ../../pki/specs/pki-core.spec.in
+#yum-builddep -y --spec ../../pki/specs/pki-console.spec.in