summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-09 21:48:06 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-09 21:56:56 +0100
commit031848a3944c1b40aeb8c9ed4dfdb713ac6acb2e (patch)
tree9fe024bf980df110c2f3f093eeca99f3af9bae46 /dev-util/jenkins-bin
parentacct-user/jenkins: new group for dev-util/jenkins-bin, UID 473 (diff)
downloadgentoo-031848a3944c1b40aeb8c9ed4dfdb713ac6acb2e.tar.gz
gentoo-031848a3944c1b40aeb8c9ed4dfdb713ac6acb2e.tar.bz2
gentoo-031848a3944c1b40aeb8c9ed4dfdb713ac6acb2e.zip
dev-util/jenkins-bin: migrate to acct-*
Closes: https://bugs.gentoo.org/701256 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.263.3-r1.ebuild (renamed from dev-util/jenkins-bin/jenkins-bin-2.263.3.ebuild)23
1 files changed, 11 insertions, 12 deletions
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.263.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.263.3-r1.ebuild
index e24da02245e6..d60a4fb1e670 100644
--- a/dev-util/jenkins-bin/jenkins-bin-2.263.3.ebuild
+++ b/dev-util/jenkins-bin/jenkins-bin-2.263.3-r1.ebuild
@@ -3,32 +3,31 @@
EAPI=7
-inherit user systemd
+inherit systemd
DESCRIPTION="Extensible continuous integration server"
HOMEPAGE="https://jenkins.io/"
LICENSE="MIT"
SRC_URI="http://mirrors.jenkins-ci.org/war-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
-RESTRICT="mirror"
SLOT="lts"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
IUSE=""
-RDEPEND="media-fonts/dejavu
+DEPEND="acct-group/jenkins
+ acct-user/jenkins"
+
+RDEPEND="acct-group/jenkins
+ acct-user/jenkins
+ media-fonts/dejavu
media-libs/freetype
!dev-util/jenkins-bin:0
>=virtual/jre-1.8.0"
-S=${WORKDIR}
-
-JENKINS_DIR=/var/lib/jenkins
-
-pkg_setup() {
- enewgroup jenkins
- enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
-}
+S="${WORKDIR}"
src_install() {
+ local JENKINS_DIR=/var/lib/jenkins
+
keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home
insinto /opt/jenkins