mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
2 days ago ef36fe4afe1c599e66de27cfae45684f705541f1
Declare the deb/rpm runtime dependencies (java, which, chkconfig) (#677)
2 files modified
13 ■■■■■ changed files
opendj-packages/opendj-deb/resources/control/control 2 ●●● patch | view | raw | blame | history
opendj-packages/opendj-rpm/pom.xml 11 ●●●●● patch | view | raw | blame | history
opendj-packages/opendj-deb/resources/control/control
@@ -3,7 +3,7 @@
Section: misc
Priority: optional
Architecture: all
Depends: default-jre-headless | default-jre | java11-runtime | java17-runtime | java21-runtime
Depends: default-jre-headless | default-jre | java25-runtime-headless | java25-runtime | java21-runtime-headless | java21-runtime | java17-runtime-headless | java17-runtime | java11-runtime-headless | java11-runtime
Homepage: [[deb.doc.homepage.url]]
Maintainer: [[deb.maintainer]]
Description: [[deb.product.name]]
opendj-packages/opendj-rpm/pom.xml
@@ -13,6 +13,7 @@
  information: "Portions Copyright [year] [name of copyright owner]".
  Copyright 2015-2016 ForgeRock AS.
  Portions Copyright 2026 3A Systems, LLC
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
@@ -151,6 +152,16 @@
                        <url>${doc.homepage.url}</url>
                        <needarch>noarch</needarch>
                        <targetOS>linux</targetOS>
                        <requires>
                            <!-- The server needs a JRE (11+) at run time. -->
                            <require>java-headless &gt;= 1:11</require>
                            <!-- _script-util.sh locates java via "which java". -->
                            <require>which</require>
                            <!-- postinstall/preuninstall register the service via /sbin/chkconfig. -->
                            <require>chkconfig</require>
                            <!-- /etc/init.d/opendj sources /etc/init.d/functions on RedHat-family. -->
                            <require>initscripts</require>
                        </requires>
                        <description>
                            ${rpm.description.header}
                            OpenDJ is an LDAPv3 compliant directory service, developed for the Java