public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/wavemon/files/, net-wireless/wavemon/
@ 2017-07-14 18:54 Sergey Popov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Popov @ 2017-07-14 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     059449f076b9e1449ed2a7b2f36c444f54dddc2d
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 14 18:53:45 2017 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Fri Jul 14 18:54:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=059449f0

net-wireless/wavemon: version bump

Reported-by: Brian Evans <grknight <AT> gentoo.org>
Gentoo-Bug: 594874

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-wireless/wavemon/Manifest                      |  1 +
 .../wavemon/files/wavemon-0.8.0-build.patch        | 33 +++++++++++++++
 net-wireless/wavemon/wavemon-0.8.0.ebuild          | 49 ++++++++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/net-wireless/wavemon/Manifest b/net-wireless/wavemon/Manifest
index 74658232eff..34f880af142 100644
--- a/net-wireless/wavemon/Manifest
+++ b/net-wireless/wavemon/Manifest
@@ -1 +1,2 @@
 DIST wavemon-0.7.6.tar.bz2 116194 SHA256 de0c64fe5fa2d439417ca4fe0863c417ec59276a9c9aec5afac77f5edfa79ca1 SHA512 95f47204e50c1a44a2230e2d8cbed90d76e53f5e674f6f54f64ba6c99590c90213d9422e62951d55bcf4c8e2325e63e6a7c0c7d1b14a4120d5f0d291dc36cd68 WHIRLPOOL 2d3b9663b2fe0f9a513dda27c93c5ccad387c481b03f64b6d7b06d310736b517128a4921f70022d840444a293ad33576126681cf39162942c3a9b1037286c2ed
+DIST wavemon-0.8.0.tar.gz 196353 SHA256 81ee1f06f8349fee62e98ec5b53dff5b76c4d8fcb439f20cca806255239e3a2a SHA512 2df48eb300e9b30e0cb7a0ab41ba5e10b2a6e8170dbd11a4c978462c8cd6dc1171f79ceadfdb7344c495420a4e87b7dd723efea4f1af59a6d0312d93049ee798 WHIRLPOOL 196961a368e6eb0c0f512ac0a1fe80a14a4212127fc127af425e32689adcd5311167f59eac763420a80095619af403dc6f942d7ba1d3ed67f4ad6404dacb3658

diff --git a/net-wireless/wavemon/files/wavemon-0.8.0-build.patch b/net-wireless/wavemon/files/wavemon-0.8.0-build.patch
new file mode 100644
index 00000000000..373b27e3e25
--- /dev/null
+++ b/net-wireless/wavemon/files/wavemon-0.8.0-build.patch
@@ -0,0 +1,33 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -15,8 +15,6 @@
+ AC_DEFINE_UNQUOTED([BUILD_DATE], ["`/bin/date`"],
+ 		   [date wavemon was last configured and built])
+ 
+-CFLAGS="-O2 -Wall"
+-
+ # wavemon is only supported on Linux, warn user about futile compilations
+ AC_CANONICAL_HOST
+ case "$host_os" in
+diff -uarN a/Makefile.in b/Makefile.in
+--- a/Makefile.in	2017-07-14 21:35:18.154423280 +0300
++++ b/Makefile.in	2017-07-14 21:35:34.613402738 +0300
+@@ -9,7 +9,7 @@
+ install-suid-root: exec_perms = 4755
+ 
+ CC	 ?= @CC@
+-CFLAGS	 ?= @CFLAGS@ @LIBNL3_CFLAGS@
++CFLAGS	 = @CFLAGS@ @LIBNL3_CFLAGS@
+ CPPFLAGS ?= @CPPFLAGS@
+ LDFLAGS  ?= @LDFLAGS@
+ DEFS	 ?= @DEFS@
+@@ -25,8 +25,7 @@
+ DOCS	= README.md NEWS THANKS AUTHORS COPYING ChangeLog
+ 
+ %.o: %.c $(HEADERS)
+-	@echo ' CC  ' $<
+-	@$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $<
++	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $<
+ 
+ all: @PACKAGE_NAME@
+ @PACKAGE_NAME@: $(MAIN) $(OBJS)

diff --git a/net-wireless/wavemon/wavemon-0.8.0.ebuild b/net-wireless/wavemon/wavemon-0.8.0.ebuild
new file mode 100644
index 00000000000..3759e463e01
--- /dev/null
+++ b/net-wireless/wavemon/wavemon-0.8.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards"
+HOMEPAGE="https://github.com/uoaerg/wavemon/"
+SRC_URI="https://github.com/uoaerg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+IUSE="caps"
+RDEPEND="dev-libs/libnl:3
+	sys-libs/ncurses:0=
+	caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md THANKS )
+PATCHES=(
+	"${FILESDIR}/${PN}-0.7.6-ncurses-tinfo.patch"
+	"${FILESDIR}/${PN}-0.8.0-build.patch"
+)
+
+src_prepare() {
+	# Do not install docs to /usr/share
+	sed -i -e '/^install:/s/install-docs//' Makefile.in || die 'sed on Makefile.in failed'
+
+	# automagic on libcap, discovered in bug #448406
+	use caps || export ac_cv_lib_cap_cap_get_flag=false
+
+	# Respect CC
+	tc-export CC
+
+	default_src_prepare
+	eautoreconf
+}
+
+src_install() {
+	default_src_install
+	# Install man files manually(bug #397807)
+	doman wavemon.1
+	doman wavemonrc.5
+}


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

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/wavemon/files/, net-wireless/wavemon/
@ 2021-09-24  7:22 Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2021-09-24  7:22 UTC (permalink / raw
  To: gentoo-commits

commit:     e84a58658760e8a439ad94688be897f395a58b63
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Tue Sep 21 12:08:16 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 07:21:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84a5865

net-wireless/wavemon: Version bump to 0.9.4

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/22351
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-wireless/wavemon/Manifest                      |  1 +
 .../wavemon/files/wavemon-0.9.4-build.patch        | 11 +++++
 net-wireless/wavemon/wavemon-0.9.4.ebuild          | 53 ++++++++++++++++++++++
 3 files changed, 65 insertions(+)

diff --git a/net-wireless/wavemon/Manifest b/net-wireless/wavemon/Manifest
index 40faaa6618a..7134aee68ac 100644
--- a/net-wireless/wavemon/Manifest
+++ b/net-wireless/wavemon/Manifest
@@ -1 +1,2 @@
 DIST wavemon-0.9.3.tar.gz 220372 BLAKE2B 383e5462e6f3abf86b3604499764060927321018f9dfaef9b742d933e832e568249e41f348788184e125324f81672f2f2b2ff9ca970c215f95a80ec140e0ca11 SHA512 0e4f6db1dfd1915a3c0e1c9708eea501d7180e80df891d0c5a59bb72d48777731c67a256d2d7d6c748ade8e1a3efad9004f5e13971e0b4e16eefdd4f8c6fe1c1
+DIST wavemon-0.9.4.tar.gz 221133 BLAKE2B e07feb16dba86b1a91dc9b7d7df51da1b4498d8ea1a6ca36f6ae1e30e0e0bb09971330a470cde3425e7ae785bbd2819460ac2f1ddc2bc8da3aae29de3356bdbb SHA512 5121c6216d6697cc20ef55b2e365098e327a4966758af27a5a58cc13fe84d6e0828336031d9dcfe141210821f72fc3eaefc41fa3ab8a2e572a3b92c168c1ceb1

diff --git a/net-wireless/wavemon/files/wavemon-0.9.4-build.patch b/net-wireless/wavemon/files/wavemon-0.9.4-build.patch
new file mode 100644
index 00000000000..afce0a71204
--- /dev/null
+++ b/net-wireless/wavemon/files/wavemon-0.9.4-build.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in	2021-09-21 10:27:24.966739165 +0200
++++ b/Makefile.in	2021-09-21 10:27:57.537003815 +0200
+@@ -9,7 +9,7 @@
+ install-suid-root: exec_perms = 4755
+ 
+ CC	 ?= @CC@
+-CFLAGS	 ?= @CFLAGS@ @LIBNL3_CLI_CFLAGS@
++CFLAGS	 = @CFLAGS@ @LIBNL3_CLI_CFLAGS@
+ CPPFLAGS ?= @CPPFLAGS@
+ LDFLAGS  ?= @LDFLAGS@
+ DEFS	 ?= @DEFS@

diff --git a/net-wireless/wavemon/wavemon-0.9.4.ebuild b/net-wireless/wavemon/wavemon-0.9.4.ebuild
new file mode 100644
index 00000000000..34f9f37a2b5
--- /dev/null
+++ b/net-wireless/wavemon/wavemon-0.9.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info
+
+DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards"
+HOMEPAGE="https://github.com/uoaerg/wavemon/"
+SRC_URI="https://github.com/uoaerg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+
+IUSE="caps"
+RDEPEND="
+	dev-libs/libnl:3[utils]
+	sys-libs/ncurses:0=
+	caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+DOCS=( README.md )
+
+PATCHES=(
+	"${FILESDIR}/${P}-build.patch"
+)
+
+pkg_pretend() {
+	local CONFIG_CHECK="~CFG80211"
+
+	check_extra_config
+}
+
+src_prepare() {
+	# Do not install docs to /usr/share
+	sed -i -e '/^install:/s/install-docs//' Makefile.in || die \
+		'sed on Makefile.in failed'
+
+	# automagic on libcap, discovered in bug #448406
+	use caps || export ac_cv_lib_cap_cap_get_flag=false
+
+	default_src_prepare
+	eautoreconf
+}
+
+src_install() {
+	default_src_install
+	# Install man files manually(bug #397807)
+	doman wavemon.1
+	doman wavemonrc.5
+}


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

end of thread, other threads:[~2021-09-24  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-14 18:54 [gentoo-commits] repo/gentoo:master commit in: net-wireless/wavemon/files/, net-wireless/wavemon/ Sergey Popov
  -- strict thread matches above, loose matches on Subject: below --
2021-09-24  7:22 Joonas Niilola

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