Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-block/sas3ircu: version bump to 16 #13656

Closed
wants to merge 1 commit into from

Conversation

vpayno
Copy link
Contributor

@vpayno vpayno commented Nov 14, 2019

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @vpayno
Areas affected: ebuilds
Packages affected: sys-block/sas3ircu

sys-block/sas3ircu: @robbat2

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.

Missing GCO sign-off

Please read the terms of Gentoo Certificate of Origin and acknowledge them by adding a sign-off to all your commits.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. no signoff One or more commits do not indicate GCO sign-off. labels Nov 14, 2019
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally version bumps should move the ebuild to EAPI=7

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

use amd64-fbsd && doexe sas3ircu_rel/sas3ircu/sas3ircu_freebsd_amd64_rel/sas3ircu
use x86-fbsd && doexe sas3ircu_rel/sas3ircu/sas3ircu_freebsd_i386_rel/sas3ircu
use x64-solaris || use x86-solaris && doexe sas3ircu_rel/sas3ircu/sas3ircu_solaris_x86_rel/sas3ircu
use sparc-solaris && doexe sas3ircu_rel/sas3ircu/sas3ircu_solaris_sparc_rel/sas3ircu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be cleaned up a but, this is kind of messy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

elog "Please also download 'SAS-3 Integrated RAID Configuration Utility User Guide' (${DISTFILE_DOC}) "
elog "and also place it into your DISTDIR directory"
fi
einfo $SRC_URI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variable references here should be braced

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

# between releases.
dodoc IRCU_MPT_GEN3_Phase${PV}.0-*.pdf
dodoc README_SAS3IRCU_P${PV}.txt
use doc && dodoc "${DISTDIR}"/$DISTFILE_DOC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DISTFILE_DOC isn't braced

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

# The second number is some sort of internal revision that is inconsistent
# between releases.
dodoc IRCU_MPT_GEN3_Phase${PV}.0-*.pdf
dodoc README_SAS3IRCU_P${PV}.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setting the DOCS array rather than running dodoc might be cleaner (make sure to call default in src_install)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Comment on lines 14 to 15
DEPEND=""
RDEPEND=""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty DEPEND/RDEPEND variables are pointless and should be left out.

This probably should have BDEPEND="app-arch/unzip since it needs to unpack a .zip

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


src_unpack() {
unpack ${DISTFILE_BIN}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be necessary, the default src_unpack should unpack everything that appears in SRC_URI

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@zmedico zmedico self-requested a review November 14, 2019 23:05
use amd64 || use x86 && doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_x64_rel/sas3ircu
use ppc64 && doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_ppc64_rel/sas3ircu
use amd64-fbsd && doexe sas3ircu_rel/sas3ircu/sas3ircu_freebsd_amd64_rel/sas3ircu
use x86-fbsd && doexe sas3ircu_rel/sas3ircu/sas3ircu_freebsd_i386_rel/sas3ircu
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gentoo/FreeBSD is dead, safe to remove those 2 lines above. keywords are already dropped.

KEYWORDS="-* ~amd64 ~ppc64 ~x86 ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="efi doc"
RESTRICT="strip fetch mirror"
DEPEND=""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since distfile is zip it should BDEPEND="app-arch/unzip" in EAPI7

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads"
LICENSE="LSI"
SLOT="0"
KEYWORDS="-* ~amd64 ~ppc64 ~x86 ~sparc-solaris ~x64-solaris ~x86-solaris"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there -* here? drop it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@vpayno vpayno force-pushed the sas3ircu-16 branch 6 times, most recently from dc9b583 to b91323a Compare November 15, 2019 18:31
@vpayno
Copy link
Contributor Author

vpayno commented Nov 16, 2019

Noticed that the amd64 and x86 binaries are for different architectures. Fixed.

Installing the arm64 binary and efi file for arm64 (will make a keyword request).

Signed-off-by: Victor Payno <vpayno+gentoo@gmail.com>
Copy link
Member

@gyakovlev gyakovlev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of spacing nits, otherwise LGTM. but we need to ping @robbat2 for ACK to merge.

inherit mount-boot

DESCRIPTION="LSI MPT-SAS3 controller management tool"
HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add an empty line after HOMEPAGE

LICENSE="LSI"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86 ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc efi"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto after IUSE

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-11-19 22:22 UTC
Newest commit scanned: db885e0
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#app-admin/consul
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#app-admin/rsyslog
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#app-admin/vault
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#app-antivirus/clamav-unofficial-sigs
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-db/mariadb
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-lang/php
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-lang/rust
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-lang/rust-bin
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-perl/MogileFS-Server
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-python/python-novaclient
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#dev-util/nvidia-cuda-sdk
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#mail-filter/rspamd
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-analyzer/arp-scan
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-analyzer/nagios-core
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-dns/avahi
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-misc/apt-cacher-ng
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-misc/dropbear
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-misc/memcached
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#net-proxy/squid
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#sci-libs/hypre
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#sys-apps/guix
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#sys-cluster/galera
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#sys-cluster/nova
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#sys-devel/binutils-hppa64
https://qa-reports.gentoo.org/output/gentoo-ci/6db332b/output.html#sys-process/cronie

gentoo-bot pushed a commit that referenced this pull request Dec 18, 2019
Fixes: #13656 (review)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
@vpayno vpayno deleted the sas3ircu-16 branch April 10, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. no signoff One or more commits do not indicate GCO sign-off.
Projects
None yet
5 participants