public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/htbinit/
@ 2016-05-04  0:10 Austin English
  0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2016-05-04  0:10 UTC (permalink / raw
  To: gentoo-commits

commit:     f712af9a14a8970e58d21b225bf261d5569c9455
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 23:34:58 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May  4 00:08:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f712af9a

net-misc/htbinit: remove old version

Package-Manager: portage-2.2.26

 net-misc/htbinit/htbinit-0.8.5-r6.ebuild | 61 --------------------------------
 1 file changed, 61 deletions(-)

diff --git a/net-misc/htbinit/htbinit-0.8.5-r6.ebuild b/net-misc/htbinit/htbinit-0.8.5-r6.ebuild
deleted file mode 100644
index 134522d..0000000
--- a/net-misc/htbinit/htbinit-0.8.5-r6.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils linux-info
-
-DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2"
-HOMEPAGE="http://www.sourceforge.net/projects/htbinit"
-SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="ipv6 esfq"
-
-DEPEND="sys-apps/iproute2"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}
-
-pkg_setup() {
-	for i in NET_SCH_HTB NET_SCH_SFQ NET_CLS_FW NET_CLS_U32 NET_CLS_ROUTE4 ; do
-		CONFIG_CHECK="${CONFIG_CHECK} ~${i}"
-	done
-	use esfq && CONFIG_CHECK="${CONFIG_CHECK} ~NET_SCH_ESFQ"
-	linux-info_pkg_setup
-}
-
-src_unpack() {
-	cp "${DISTDIR}"/htb.init-v${PV} "${S}"/htb.init || die
-}
-
-src_prepare() {
-	sed -i 's|/etc/sysconfig/htb|/etc/htb|g' "${S}"/htb.init
-	epatch "${FILESDIR}"/htb.init-v0.8.5_tos.patch
-	use ipv6 && epatch "${FILESDIR}"/htb_0.8.5_ipv6.diff
-	use esfq && epatch "${FILESDIR}"/htb_0.8.5_esfq.diff
-	epatch "${FILESDIR}"/prio_rule.patch
-	epatch "${FILESDIR}"/timecheck_fix.patch
-	epatch "${FILESDIR}"/htb.init_find_fix.patch
-	sed -i -e 's:/sbin/ip:/bin/ip:g' "${S}"/htb.init # bug #474700
-}
-
-src_compile() {
-	:
-}
-
-src_install() {
-	dosbin htb.init
-	newinitd "${FILESDIR}"/htbinit.rc htbinit
-	keepdir /etc/htb
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]] ; then
-		elog 'Run "rc-update add htbinit default" to run htb.init at startup.'
-		elog 'Please, read carefully the htb.init documentation.'
-		elog 'New directory to store configuration is /etc/htb.'
-	fi
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/htbinit/
@ 2018-05-20 23:26 Aaron Bauman
  0 siblings, 0 replies; 4+ messages in thread
From: Aaron Bauman @ 2018-05-20 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     1f877412315082cc9cde4798b384fba7e4cdb9e1
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun May 20 12:07:43 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun May 20 23:25:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f877412

net-misc/htbinit: use HTTPS

 net-misc/htbinit/htbinit-0.8.5-r7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/htbinit/htbinit-0.8.5-r7.ebuild b/net-misc/htbinit/htbinit-0.8.5-r7.ebuild
index 551fa1f2136..2fab64e9f10 100644
--- a/net-misc/htbinit/htbinit-0.8.5-r7.ebuild
+++ b/net-misc/htbinit/htbinit-0.8.5-r7.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils linux-info
 
 DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2"
-HOMEPAGE="http://www.sourceforge.net/projects/htbinit"
+HOMEPAGE="https://www.sourceforge.net/projects/htbinit/"
 SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}"
 
 LICENSE="GPL-2"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/htbinit/
@ 2023-11-22 18:58 Ulrich Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2023-11-22 18:58 UTC (permalink / raw
  To: gentoo-commits

commit:     1f66ffe07f255dc7ff7a5ff421f06aa0555db28f
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Nov  1 19:01:03 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 18:42:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f66ffe0

net-misc/htbinit: update HOMEPAGE, fix LICENSE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-misc/htbinit/htbinit-0.8.5-r7.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/htbinit/htbinit-0.8.5-r7.ebuild b/net-misc/htbinit/htbinit-0.8.5-r7.ebuild
index 1ae14a2d6a5b..3ac43d29785a 100644
--- a/net-misc/htbinit/htbinit-0.8.5-r7.ebuild
+++ b/net-misc/htbinit/htbinit-0.8.5-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,11 +6,11 @@ EAPI=7
 inherit linux-info
 
 DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2"
-HOMEPAGE="https://www.sourceforge.net/projects/htbinit/"
+HOMEPAGE="https://sourceforge.net/projects/htbinit/"
 SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}"
 S="${WORKDIR}"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE="esfq ipv6"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/htbinit/
@ 2023-11-22 18:58 Ulrich Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2023-11-22 18:58 UTC (permalink / raw
  To: gentoo-commits

commit:     1af79cecc93d314d1d97fc09d88345afa20d5527
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Nov  1 19:04:17 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 18:42:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af79cec

net-misc/htbinit: EAPI8 bump, ebuild improvements

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 net-misc/htbinit/htbinit-0.8.5-r8.ebuild | 72 ++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/net-misc/htbinit/htbinit-0.8.5-r8.ebuild b/net-misc/htbinit/htbinit-0.8.5-r8.ebuild
new file mode 100644
index 000000000000..438692db1db6
--- /dev/null
+++ b/net-misc/htbinit/htbinit-0.8.5-r8.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info
+
+DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2"
+HOMEPAGE="https://sourceforge.net/projects/htbinit/"
+SRC_URI="mirror://sourceforge/htbinit/htb.init-v${PV}"
+S="${WORKDIR}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="esfq"
+
+DEPEND="sys-apps/iproute2"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/htb.init-v0.8.5_tos.patch
+	"${FILESDIR}"/prio_rule.patch
+	"${FILESDIR}"/timecheck_fix.patch
+	"${FILESDIR}"/htb.init_find_fix.patch
+	"${FILESDIR}"/htb_0.8.5_ipv6.patch
+)
+
+pkg_setup() {
+	local i
+	for i in NET_SCH_HTB NET_SCH_SFQ NET_CLS_FW NET_CLS_U32 NET_CLS_ROUTE4 ; do
+		CONFIG_CHECK="${CONFIG_CHECK} ~${i}"
+	done
+
+	use esfq && CONFIG_CHECK="${CONFIG_CHECK} ~NET_SCH_ESFQ"
+	linux-info_pkg_setup
+}
+
+src_unpack() {
+	cp "${DISTDIR}"/htb.init-v${PV} "${S}"/htb.init || die
+}
+
+src_prepare() {
+	default
+
+	sed -i 's|/etc/sysconfig/htb|/etc/htb|g' "${S}"/htb.init || die
+
+	use esfq && eapply "${FILESDIR}"/htb_0.8.5_esfq.patch
+
+	# bug #474700
+	sed -i -e 's:/sbin/ip:/bin/ip:g' "${S}"/htb.init || die
+}
+
+src_compile() {
+	:
+}
+
+src_install() {
+	dosbin htb.init
+
+	newinitd "${FILESDIR}"/htbinit.rc htbinit
+
+	keepdir /etc/htb
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+		elog 'Run "rc-update add htbinit default" to run htb.init at startup.'
+		elog 'Please, read carefully the htb.init documentation.'
+		elog 'New directory to store configuration is /etc/htb.'
+	fi
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-22 18:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-22 18:58 [gentoo-commits] repo/gentoo:master commit in: net-misc/htbinit/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2023-11-22 18:58 Ulrich Müller
2018-05-20 23:26 Aaron Bauman
2016-05-04  0:10 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox