]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - iptraf-ng/iptraf-ng.nm
iptraf-ng: Update to 1.2.1
[people/pmueller/ipfire-3.x.git] / iptraf-ng / iptraf-ng.nm
index 353ed316e1bfbddf4387ee396c1207d726029483..f7b4eb5c3292441365de298a0017b834b8909f86 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 name       = iptraf-ng
-version    = 1.1.3.1
+version    = 1.2.1
 release    = 1
 
 groups     = Networking/Tools
-url        = https://fedorahosted.org/iptraf-ng/
+url        = https://github.com/iptraf-ng/iptraf-ng
 license    = GPLv2+
 summary    = A console-based network monitoring utility.
 
@@ -31,13 +31,15 @@ description
        on a wide variety of supported network cards.
 end
 
-source_dl  = https://fedorahosted.org/releases/i/p/iptraf-ng/
+source_dl  = https://github.com/iptraf-ng/iptraf-ng/archive/refs/tags/v%{version}.tar.gz#/
 
 build
        requires
                ncurses-devel
        end
 
+       make_install_targets += prefix=%{prefix}
+
        install_cmds
                mkdir -pv %{BUILDROOT}%{localstatedir}/{lock,log,lib}/iptraf-ng
        end