Hey everyone,

I would like to propose the following update for the Jenkins port in the ports 
repository.
This proposal removes the references to the AJP flags because they have been 
removed in recent releases after being deprecated for years doing nothing 
anymore, given the underlying functionality has been removed way longer ago.

Additionally, I replaced the current description with the blurb from 
Jenkins.io, serving some up to date information.

Finally, I replaced the outdated Jenkins wiki link with the destination it 
already redirects to.

Best regards,
Alexander Brandes

diff --git a/devel/jenkins/pkg/DESCR b/devel/jenkins/pkg/DESCR
index eb4f2ee3a14..9229f646fc0 100644
--- a/devel/jenkins/pkg/DESCR
+++ b/devel/jenkins/pkg/DESCR
@@ -1,8 +1,9 @@
-Jenkins is a community continuation of Hudson, the continuous
-integration (CI) server (for information on CI see
-http://www.martinfowler.com/articles/continuousIntegration.html).
-Written in Java and with a web-based configuration interface, Jenkins
-can be run standalone (contains its own tiny web server) or in any
-standard Java-capable web server or application server.
-But not limited to Java: can test almost anything, particularly
-projects built with Make, Ant, Maven, or similar.
+Jenkins is the leading open source automation server supported by
+a large and growing community of developers, testers, designers
+and other people interested in continuous integration,
+continuous delivery and modern software delivery practices.
+Built on the Java Virtual Machine (JVM), it provides more than
+1,800 plugins that extend Jenkins to automate with practically
+any technology software delivery teams use. In 2022, Jenkins
+reached 300,000 known installations making it the most widely
+deployed automation server.
diff --git a/devel/jenkins/pkg/README b/devel/jenkins/pkg/README
index d492831ecbb..98e9027866a 100644
--- a/devel/jenkins/pkg/README
+++ b/devel/jenkins/pkg/README
@@ -16,7 +16,7 @@ access to the HTTP port using pf(8).
 Take these steps before you start the server the first time!
 
 See more information at
-http://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins
+https://www.jenkins.io/doc/book/security/securing-jenkins/
 
 Post-installation
 =================
@@ -26,8 +26,7 @@ on reboot, add "jenkins" to your pkg_scripts" line in 
/etc/rc.conf.local.
 
 NOTE: This script runs Jenkins on port 8000, not 8080, since most
 Java application servers run on port 8080. By default we disable
-HTTPS and AJP, since the former is extra overhead on localhost and
-the latter conflicts with most Java application servers' AJP port.
+HTTPS, since the former is extra overhead on localhost.
 
 To change any of these options, carefully copy the line
 starting daemon_flags= from ${RCDIR}/jenkins into /etc/rc.conf.local
diff --git a/devel/jenkins/pkg/jenkins.rc b/devel/jenkins/pkg/jenkins.rc
index 996ea8fe872..0420e775c82 100644
--- a/devel/jenkins/pkg/jenkins.rc
+++ b/devel/jenkins/pkg/jenkins.rc
@@ -1,7 +1,7 @@
 #!/bin/ksh
 
 daemon=$(${LOCALBASE}/bin/javaPathHelper -c jenkins)
-daemon_flags="-Djava.io.tmpdir=/var/cache/jenkins -jar 
${TRUEPREFIX}/share/jenkins/jenkins.war --httpPort=8000 --httpsPort=-1 
--ajp13Port=-1"
+daemon_flags="-Djava.io.tmpdir=/var/cache/jenkins -jar 
${TRUEPREFIX}/share/jenkins/jenkins.war --httpPort=8000 --httpsPort=-1"
 daemon_user="_jenkins"
 
 . /etc/rc.d/rc.subr
@@ -12,8 +12,8 @@ rc_stop_signal=KILL
 
 # Move Jenkins' exploded .war files away from a location
 # where daily(8)/weekly(8) may clean them.
-# https://issues.jenkins-ci.org/browse/JENKINS-17526
-# https://issues.jenkins-ci.org/browse/JENKINS-20858
+# https://issues.jenkins.io/browse/JENKINS-17526
+# https://issues.jenkins.io/browse/JENKINS-20858
 rc_pre() {
   install -d -o _jenkins /var/cache/jenkins
 }

Reply via email to