[gentoo-dev] Re: dev-util/jenkins-bin GLEP-81 migration
On Wed, 2019-12-25 at 16:11 +0100, Thomas Deutschmann wrote: > > Complete change set can be found at > https://github.com/gentoo/gentoo/pull/14121. > > Previous ebuilds using user eclass called > > fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} > ${JENKINS_DIR}/home ${JENKINS_DIR}/backup > > which I changed to > > fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR}/home > ${JENKINS_DIR}/backup > > in assumption that $JENKINS_DIR is now maintained through acct-* > package. > > I changed chmod for $HOME to 0750 which should be a safer default. Looks good to me, thanks! Hans signature.asc Description: This is a digitally signed message part
[gentoo-dev] Last rites: games-rpg/dragonhunt, games-puzzle/jools, games-puzzle/hexamine, games-puzzle/4stattack, games-arcade/watermelons, games-arcade/triplexinvaders, games-arcade/pydance, games-ar
# David Seifert (2019-12-25) # Py2 only, dead upstream, no py3 port in sight. # Removal in 30 days. Bug #703792. games-rpg/dragonhunt games-puzzle/jools games-puzzle/hexamine games-puzzle/4stattack games-arcade/watermelons games-arcade/triplexinvaders games-arcade/pydance games-arcade/pydance-songs games-arcade/pycadia games-arcade/bub-n-bros games-action/accelerator3d games-kids/tuxmathscrabble signature.asc Description: This is a digitally signed message part
[gentoo-dev] [RFF] Devmanual search functionality
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Thanks to Lucas Ramage, lu-zero, alicef, mjo, mgorny, robbat2, and ulm, devmanual has built-in support for search now. There is of course always more room for improvement in the content. But for now, the search will hopefully allow folks to locate what they are looking for faster. I'd like to invite everybody to give it a try and request feedback on the usability and helpfulness of the search feature. If you spot anything that doesn't look right, be sure to let us know about that as well. Thanks, - -- gokturk -BEGIN PGP SIGNATURE- iQEzBAEBCgAdFiEED14mDxorHtjk0V2IYEuf/bfGVQcFAl4DlwQACgkQYEuf/bfG VQci/Af+M6vfyCmPfW4ACoM7ESqw+/0kGhTYhR13fpvj8yM/KV9ZiptXwKetKIOh ATWJN+SEGy03LlAaVCxb0AK64PkFwTveZklnhe16ojBGFVWspDbWXb/0UbDJLFOs m1+kOSTxYWeDl7zv3XHYo+aDSANZjq5GOLdInnSnxtI7I41JO6uMpW2IstGET4Rd Esa/wuFkW/KDZMj8tYRfKGfchXkX4rj0iuTls6BqtVycBQyv+cAk93RVXMbWlaRT 6bquD1G8s0BLEMmPUaeHOsrLKn9ywiFZZ6UP0Kc2wtm+BYfi/Hu8nSWX4REMasuK nLDKACijfXfCd6Zh5anuJkoA4EdT0Q== =S96P -END PGP SIGNATURE-
[gentoo-dev] [PATCH 4/4] dev-util/jenkins-bin: bump to v2.210
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann --- dev-util/jenkins-bin/Manifest | 1 + dev-util/jenkins-bin/jenkins-bin-2.210.ebuild | 47 +++ 2 files changed, 48 insertions(+) create mode 100644 dev-util/jenkins-bin/jenkins-bin-2.210.ebuild diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index 854cbb4f581..678e7c5e3a5 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -4,3 +4,4 @@ DIST jenkins-bin-2.190.3.war 78247363 BLAKE2B 99d4c13236b4b4f7308c7993033d1e5f9d DIST jenkins-bin-2.197.war 78309466 BLAKE2B c3d34c6fc40a82148eafa978c8787375ece6522d0d936b42f0296ee13cd084669bfa31975c0ad27816bdd4c1266cb066c0909774199a1373661a7ec524c06e91 SHA512 3b6a00dee5aeb8a94c8f75323c2469b54fe96d90bf8371898e41dc5bdecaa472f112bff1466481c66c9c7a07b22cbe799a08e45ac486d68fd5bdc7c20d43d722 DIST jenkins-bin-2.204.1.war 63433755 BLAKE2B 53cb254ddf3b59e083b564adf8d5696c61012e6d0d26b622eac7023268d5ba3d43082d07cae5654e032169cd144a5338f2553d4ee39c851c4126fe0be5378f1e SHA512 2ebf1ff7792a2ba80d8cf6f8675864580533b62659346e9ef3334ff988899d735d5d72cb3a89308cd9287bcaa74c42306cbf80a716d03658ad748688f94f394b DIST jenkins-bin-2.205.war 62738246 BLAKE2B de350469e3a6e0d93f6d05c38f7669ce630f01a0284db83a0ba002e15ef712b4dddca6dcac804ab45c898f5c73cdac99bfe9b9bb99f6534c1446d8f4545660ec SHA512 1c0b12cdf7dadaba8d81ede769f76b059c7869732610353658cc928dd8c4943f8cf8beb15498a0dd4e064688cfdb7f88faaa9165c6da97c20d5e99080a12f413 +DIST jenkins-bin-2.210.war 62752366 BLAKE2B 02124970276a8c0edf8946413bd109a9835e047fd7e96bd05dfdb3454e3603720d6f6a630fb9f2a26a6431c30ed560116a3f40aabfaa5bb2667d80ef5909cd35 SHA512 fc4f64c0c2e7b4269b8b9e67332d7749ab8bd415b8fa1dc6df26529fc3164b57de49a71390f335b728ac2faeb3a1dfa148fd9bf3fc814e897efb484c1e226d8e diff --git a/dev-util/jenkins-bin/jenkins-bin-2.210.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.210.ebuild new file mode 100644 index 000..45f7e332969 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.210.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Extensible continuous integration server" +HOMEPAGE="https://jenkins.io/"; +LICENSE="MIT" +SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war" +RESTRICT="mirror" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +COMMON_DEPS="acct-user/jenkins + acct-group/jenkins" + +DEPEND="${COMMON_DEPS}" + +RDEPEND="${COMMON_DEPS} + media-fonts/dejavu + media-libs/freetype + !dev-util/jenkins-bin:lts + >=virtual/jre-1.8.0" + +S=${WORKDIR} + +JENKINS_DIR=/var/lib/jenkins + +src_install() { + keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home + + insinto /opt/jenkins + newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war + + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/} + + newinitd "${FILESDIR}"/${PN}.init2 jenkins + newconfd "${FILESDIR}"/${PN}.confd jenkins + + systemd_newunit "${FILESDIR}"/${PN}.service2 jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} -- 2.24.1
[gentoo-dev] [PATCH 3/4] dev-util/jenkins-bin: bump to v2.204.1
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann --- dev-util/jenkins-bin/Manifest | 1 + .../jenkins-bin/jenkins-bin-2.204.1.ebuild| 47 +++ 2 files changed, 48 insertions(+) create mode 100644 dev-util/jenkins-bin/jenkins-bin-2.204.1.ebuild diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index 39d97b60d3e..854cbb4f581 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -2,4 +2,5 @@ DIST jenkins-bin-2.190.1.war 78245883 BLAKE2B 6c80eaebc6fe34e2c889c78a34dfc3e105 DIST jenkins-bin-2.190.2.war 78243424 BLAKE2B 7a6bd4cf1c070ce3a09fb84b3dbe7e87f474f4254dd4b4fcffdd7dedf7d4c2ba91d8783e727321439bfeb02da721e4d539cba76312c21b523a9bf336a964 SHA512 b1f59ef10dfdfda06bedbf9a40a9e83e159b44b2b5574cba4d62547294386224f64d856490fd4477fb3300a4119d17fc284819719218dfcf32d3dc20ce468847 DIST jenkins-bin-2.190.3.war 78247363 BLAKE2B 99d4c13236b4b4f7308c7993033d1e5f9dd2fd9926febf52ffdacea595fecaba0d0eb8962761d8a6f983eaf9738f8be1ba4df785bb2fe6b613ac8cadcc618e23 SHA512 4ffa2ce3be4d55f0df8021026115d9ce8f1d0f4faa16eaf9f327ce17105f61731730c2a0124fb9af5d8c16c8fee9200f9b785b23856896e292a19f5404a9d2c2 DIST jenkins-bin-2.197.war 78309466 BLAKE2B c3d34c6fc40a82148eafa978c8787375ece6522d0d936b42f0296ee13cd084669bfa31975c0ad27816bdd4c1266cb066c0909774199a1373661a7ec524c06e91 SHA512 3b6a00dee5aeb8a94c8f75323c2469b54fe96d90bf8371898e41dc5bdecaa472f112bff1466481c66c9c7a07b22cbe799a08e45ac486d68fd5bdc7c20d43d722 +DIST jenkins-bin-2.204.1.war 63433755 BLAKE2B 53cb254ddf3b59e083b564adf8d5696c61012e6d0d26b622eac7023268d5ba3d43082d07cae5654e032169cd144a5338f2553d4ee39c851c4126fe0be5378f1e SHA512 2ebf1ff7792a2ba80d8cf6f8675864580533b62659346e9ef3334ff988899d735d5d72cb3a89308cd9287bcaa74c42306cbf80a716d03658ad748688f94f394b DIST jenkins-bin-2.205.war 62738246 BLAKE2B de350469e3a6e0d93f6d05c38f7669ce630f01a0284db83a0ba002e15ef712b4dddca6dcac804ab45c898f5c73cdac99bfe9b9bb99f6534c1446d8f4545660ec SHA512 1c0b12cdf7dadaba8d81ede769f76b059c7869732610353658cc928dd8c4943f8cf8beb15498a0dd4e064688cfdb7f88faaa9165c6da97c20d5e99080a12f413 diff --git a/dev-util/jenkins-bin/jenkins-bin-2.204.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.204.1.ebuild new file mode 100644 index 000..f29b83b491f --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.204.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +IUSE="" + +COMMON_DEPS="acct-user/jenkins + acct-group/jenkins" + +DEPEND="${COMMON_DEPS}" + +RDEPEND="${COMMON_DEPS} + media-fonts/dejavu + media-libs/freetype + !dev-util/jenkins-bin:0 + >=virtual/jre-1.8.0" + +S=${WORKDIR} + +JENKINS_DIR=/var/lib/jenkins + +src_install() { + keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home + + insinto /opt/jenkins + newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war + + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/} + + newinitd "${FILESDIR}"/${PN}.init2 jenkins + newconfd "${FILESDIR}"/${PN}.confd jenkins + + systemd_newunit "${FILESDIR}"/${PN}.service2 jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} -- 2.24.1
[gentoo-dev] dev-util/jenkins-bin GLEP-81 migration
Hi, please see my first package migration to GLEP 81. Complete change set can be found at https://github.com/gentoo/gentoo/pull/14121. Previous ebuilds using user eclass called fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup which I changed to fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR}/home ${JENKINS_DIR}/backup in assumption that $JENKINS_DIR is now maintained through acct-* package. I changed chmod for $HOME to 0750 which should be a safer default. Thanks.
[gentoo-dev] [PATCH 1/4] acct-group/jenkins: Add jenkins group, GID 473
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann --- acct-group/jenkins/jenkins-0.ebuild | 9 + acct-group/jenkins/metadata.xml | 12 2 files changed, 21 insertions(+) create mode 100644 acct-group/jenkins/jenkins-0.ebuild create mode 100644 acct-group/jenkins/metadata.xml diff --git a/acct-group/jenkins/jenkins-0.ebuild b/acct-group/jenkins/jenkins-0.ebuild new file mode 100644 index 000..0786846c589 --- /dev/null +++ b/acct-group/jenkins/jenkins-0.ebuild @@ -0,0 +1,9 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-group + +DESCRIPTION="Jenkins program group" +ACCT_GROUP_ID=473 diff --git a/acct-group/jenkins/metadata.xml b/acct-group/jenkins/metadata.xml new file mode 100644 index 000..de8ce22b371 --- /dev/null +++ b/acct-group/jenkins/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + patr...@gentoo.org + Patrick Lauer + + + gra...@gentoo.org + Hans de Graaff + + -- 2.24.1
[gentoo-dev] [PATCH 2/4] acct-user/jenkins: Add jenkins user, UID 473
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann --- acct-user/jenkins/jenkins-0.ebuild | 13 + acct-user/jenkins/metadata.xml | 12 2 files changed, 25 insertions(+) create mode 100644 acct-user/jenkins/jenkins-0.ebuild create mode 100644 acct-user/jenkins/metadata.xml diff --git a/acct-user/jenkins/jenkins-0.ebuild b/acct-user/jenkins/jenkins-0.ebuild new file mode 100644 index 000..b3f9a003cd6 --- /dev/null +++ b/acct-user/jenkins/jenkins-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="Jenkins program user" +ACCT_USER_ID=473 +ACCT_USER_HOME=/var/lib/jenkins +ACCT_USER_HOME_PERMS=0750 +ACCT_USER_GROUPS=( jenkins ) +acct-user_add_deps diff --git a/acct-user/jenkins/metadata.xml b/acct-user/jenkins/metadata.xml new file mode 100644 index 000..de8ce22b371 --- /dev/null +++ b/acct-user/jenkins/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + patr...@gentoo.org + Patrick Lauer + + + gra...@gentoo.org + Hans de Graaff + + -- 2.24.1
[gentoo-dev] Re: [PATCH] flag-o-matic.eclass: add LDFLAGS testing against linker
On Mon, 23 Dec 2019 11:50:43 + Sergei Trofimovich wrote: > Before the change we tested only compiler driver (gcc flag parser) > for LDFLAGS. > > This does not cover cases when we would really like to filter out > unsupported linker flags like -Wl,--hash-style=gnu passed to non-ELF > targets. > > The change adds test-flag-CCLD() helper to perform all of assembly, > compilation and linking steps. Helper is used to filter LDFLAGS variable > in strip-unsupported-flags(). > > Closes: https://bugs.gentoo.org/333763 > Signed-off-by: Sergei Trofimovich > --- Pushed as: https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass?id=28d6437fc7009002f98f28e8900e994109927726 > eclass/flag-o-matic.eclass | 72 +--- > eclass/tests/flag-o-matic.sh | 2 +- > 2 files changed, 59 insertions(+), 15 deletions(-) > > diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass > index f882b09d621..0aec22c83f2 100644 > --- a/eclass/flag-o-matic.eclass > +++ b/eclass/flag-o-matic.eclass > @@ -441,29 +441,63 @@ test-flag-PROG() { > # 'type' needs a binary name > type -p ${comp[0]} >/dev/null || return 1 > > + # Set up test file. > + local in_src in_ext cmdline_extra=() > + case "${lang}" in > + # compiler/assembler only > + c) > + in_ext='.c' > + in_src='int main(void) { return 0; }' > + cmdline_extra+=(-xc -c) > + ;; > + c++) > + in_ext='.cc' > + in_src='int main(void) { return 0; }' > + cmdline_extra+=(-xc++ -c) > + ;; > + f77) > + in_ext='.f' > + # fixed source form > + in_src=' end' > + cmdline_extra+=(-xf77 -c) > + ;; > + f95) > + in_ext='.f90' > + in_src='end' > + cmdline_extra+=(-xf95 -c) > + ;; > + > + # C compiler/assembler/linker > + c+ld) > + in_ext='.c' > + in_src='int main(void) { return 0; }' > + cmdline_extra+=(-xc) > + ;; > + esac > + local test_in=${T}/test-flag-${comp}.${lang} > + local test_out=${T}/test-flag-${comp}.exe > + > + printf "%s\n" "${in_src}" > "${test_in}" || return 1 > + > local cmdline=( > "${comp[@]}" > # Clang will warn about unknown gcc flags but exit 0. > # Need -Werror to force it to exit non-zero. > -Werror > - # Use -c so we can test the assembler as well. > - -c -o /dev/null > + "$@" > + # -x options need to go before first source file > + "${cmdline_extra[@]}" > + > + "${test_in}" -o "${test_out}" > ) > - if "${cmdline[@]}" -x${lang} - /dev/null ; then > - cmdline+=( "$@" -x${lang} - ) > - else > - # XXX: what's the purpose of this? does it even work with > - # any compiler? > - cmdline+=( "$@" -c -o /dev/null /dev/null ) > - fi > > - if ! "${cmdline[@]}" /dev/null; then > + if ! "${cmdline[@]}" &>/dev/null; then > # -Werror makes clang bail out on unused arguments as well; > # try to add -Qunused-arguments to work-around that > # other compilers don't support it but then, it's failure like > # any other > cmdline+=( -Qunused-arguments ) > - "${cmdline[@]}" /dev/null > + "${cmdline[@]}" &>/dev/null > fi > } > > @@ -491,6 +525,12 @@ test-flag-F77() { test-flag-PROG "F77" f77 "$@"; } > # Returns shell true if is supported by the Fortran 90 compiler, else > returns shell false. > test-flag-FC() { test-flag-PROG "FC" f95 "$@"; } > > +# @FUNCTION: test-flag-CCLD > +# @USAGE: > +# @DESCRIPTION: > +# Returns shell true if is supported by the C compiler and linker, > else returns shell false. > +test-flag-CCLD() { test-flag-PROG "CC" c+ld "$@"; } > + > test-flags-PROG() { > local comp=$1 > local flags=() > @@ -548,6 +588,12 @@ test-flags-F77() { test-flags-PROG "F77" "$@"; } > # Returns shell true if are supported by the Fortran 90 compiler, > else returns shell false. > test-flags-FC() { test-flags-PROG "FC" "$@"; } > > +# @FUNCTION: test-flags-CCLD > +# @USAGE: > +# @DESCRIPTION: > +# Returns shell true if are supported by the C compiler and default > linker, else returns shell false. > +test-flags-CCLD() { test-flags-PROG "CCLD" "$@"; } > + > # @FUNCTION: test-flags > # @USAGE: > # @DESCRIPTION: > @@ -576,9 +622,7 @@ strip-unsupported-flags() { > export CXXFLAGS=$(test-flags-CXX ${CXXFLAGS}) > export FFLAGS=$(test-flags-F77 ${FFLAGS}) >
[gentoo-dev] Last rites: x11-themes/audacious-themes
# Ulrich Müller (2019-12-25) # Broken SRC_URI. Most distfiles have no license, # so we cannot distribute them on mirrors. # Masked for removal in 30 days. Bug #635372. x11-themes/audacious-themes signature.asc Description: PGP signature