From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1AEB5138334 for ; Sun, 3 Feb 2019 12:27:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0ABA1E089D; Sun, 3 Feb 2019 12:27:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8271FE089D for ; Sun, 3 Feb 2019 12:27:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E593335DA1 for ; Sun, 3 Feb 2019 12:27:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 186C8520 for ; Sun, 3 Feb 2019 12:27:21 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1549196838.dc231d1953dc67a30f6538195c57e7cbe835ad5b.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/net-snmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/net-snmp/net-snmp-5.8.ebuild net-analyzer/net-snmp/net-snmp-99999999.ebuild X-VCS-Directories: net-analyzer/net-snmp/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: dc231d1953dc67a30f6538195c57e7cbe835ad5b X-VCS-Branch: master Date: Sun, 3 Feb 2019 12:27:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d9c685a6-aaf8-4320-be63-88e1a14d4849 X-Archives-Hash: 2b6cd7f52f8690b7d745d66094b005ce commit: dc231d1953dc67a30f6538195c57e7cbe835ad5b Author: Jeroen Roovers gentoo org> AuthorDate: Sun Feb 3 11:35:43 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sun Feb 3 12:27:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc231d19 net-analyzer/net-snmp: Live ebuild Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/net-snmp/net-snmp-5.8.ebuild | 4 +-- ...et-snmp-5.8.ebuild => net-snmp-99999999.ebuild} | 37 ++++++++++++---------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/net-analyzer/net-snmp/net-snmp-5.8.ebuild b/net-analyzer/net-snmp/net-snmp-5.8.ebuild index c3d4d0622ea..fbcef8694f1 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ GENTOO_DEPEND_ON_PERL=no inherit autotools distutils-r1 eutils perl-module systemd DESCRIPTION="Software for generating and retrieving SNMP data" -HOMEPAGE="http://net-snmp.sourceforge.net/" +HOMEPAGE="http://www.net-snmp.org/" SRC_URI=" mirror://sourceforge/project/${PN}/${PN}/${PV/_p*/}/${P/_p*/}.tar.gz https://dev.gentoo.org/~jer/${PN}-5.7.3-patches-3.tar.xz diff --git a/net-analyzer/net-snmp/net-snmp-5.8.ebuild b/net-analyzer/net-snmp/net-snmp-99999999.ebuild similarity index 92% copy from net-analyzer/net-snmp/net-snmp-5.8.ebuild copy to net-analyzer/net-snmp/net-snmp-99999999.ebuild index c3d4d0622ea..7fde04eba0e 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8.ebuild +++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,22 +9,24 @@ WANT_AUTOMAKE=none PATCHSET=3 GENTOO_DEPEND_ON_PERL=no -inherit autotools distutils-r1 eutils perl-module systemd +inherit autotools distutils-r1 eutils git-r3 perl-module systemd DESCRIPTION="Software for generating and retrieving SNMP data" -HOMEPAGE="http://net-snmp.sourceforge.net/" +HOMEPAGE="http://www.net-snmp.org/" +EGIT_REPO_URI="https://git.code.sf.net/p/net-snmp/code" SRC_URI=" - mirror://sourceforge/project/${PN}/${PN}/${PV/_p*/}/${P/_p*/}.tar.gz https://dev.gentoo.org/~jer/${PN}-5.7.3-patches-3.tar.xz " -S=${WORKDIR}/${P/_/.} - # GPL-2 for the init scripts LICENSE="HPND BSD GPL-2" SLOT="0/35" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="" IUSE="X bzip2 doc elf ipv6 libressl lm_sensors mfd-rewrites minimal mysql netlink pci perl python rpm selinux smux ssl tcpd ucd-compat zlib" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + rpm? ( bzip2 zlib ) +" COMMON_DEPEND=" ssl? ( @@ -61,31 +63,32 @@ RDEPEND=" ) selinux? ( sec-policy/selinux-snmp ) " - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) - rpm? ( bzip2 zlib ) -" +S=${WORKDIR}/${P/_/.} S=${WORKDIR}/${P/_p*/} - RESTRICT=test +PATCHES=( + "${FILESDIR}"/${PN}-5.7.3-include-limits.patch + "${FILESDIR}"/${PN}-5.8-tinfo.patch +) pkg_setup() { use python && python-single-r1_pkg_setup } +src_unpack() { + default + git-r3_src_unpack +} + src_prepare() { # snmpconf generates config files with proper selinux context use selinux && eapply "${FILESDIR}"/${PN}-5.1.2-snmpconf-selinux.patch - eapply "${FILESDIR}"/${PN}-5.7.3-include-limits.patch - eapply "${FILESDIR}"/${PN}-5.8-tinfo.patch - mv "${WORKDIR}"/patches/0002-Respect-DESTDIR-for-pythoninstall.patch{,.disabled} || die mv "${WORKDIR}"/patches/0004-Don-t-report-CFLAGS-and-LDFLAGS-in-net-snmp-config.patch{,.disabled} || die eapply "${WORKDIR}"/patches/*.patch - eapply_user + default eautoconf }