igmpproxy: Update to 0.4

Message ID 20230221151647.882529-1-stefan.schantl@ipfire.org
State Accepted
Commit f0fa75b99069542b40bfe7ef35b7f126bb8040ec
Headers
Series igmpproxy: Update to 0.4 |

Commit Message

Stefan Schantl Feb. 21, 2023, 3:16 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 igmpproxy/igmpproxy.nm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)
  

Comments

Michael Tremer Feb. 21, 2023, 3:59 p.m. UTC | #1
Hello,

> On 21 Feb 2023, at 15:16, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> igmpproxy/igmpproxy.nm | 18 +++++++++++++-----
> 1 file changed, 13 insertions(+), 5 deletions(-)
> 
> diff --git a/igmpproxy/igmpproxy.nm b/igmpproxy/igmpproxy.nm
> index 12e842c56..208229db1 100644
> --- a/igmpproxy/igmpproxy.nm
> +++ b/igmpproxy/igmpproxy.nm
> @@ -4,11 +4,11 @@
> ###############################################################################
> 
> name       = igmpproxy
> -version    = 0.1
> +version    = 0.4
> release    = 1
> 
> groups     = Networking/Routing
> -url        = http://sourceforge.net/projects/igmpproxy/
> +url        = https://github.com/pali/igmpproxy
> license    = GPLv2+
> summary    = A proxy for IGMP.
> 
> @@ -18,16 +18,24 @@ description
> between networks.
> end
> 
> -source_dl  =
> +source_dl  = https://github.com/pali/%{name}/archive/refs/tags/%{version}.tar.gz#/
> 
> build
> + requires
> + autoconf
> + automake
> + end
> +
> configure_options += \
> - --sysconfdir=/etc
> + --sysconfdir=%{sysconfdir}

Isn’t this the default anyways?

> +
> + prepare_cmds
> + ./autogen.sh
> + end
> end
> 
> packages
> package %{name}
> - end
> 
> package %{name}-debuginfo
> template DEBUGINFO
> -- 
> 2.30.2
>
  

Patch

diff --git a/igmpproxy/igmpproxy.nm b/igmpproxy/igmpproxy.nm
index 12e842c56..208229db1 100644
--- a/igmpproxy/igmpproxy.nm
+++ b/igmpproxy/igmpproxy.nm
@@ -4,11 +4,11 @@ 
 ###############################################################################
 
 name       = igmpproxy
-version    = 0.1
+version    = 0.4
 release    = 1
 
 groups     = Networking/Routing
-url        = http://sourceforge.net/projects/igmpproxy/
+url        = https://github.com/pali/igmpproxy
 license    = GPLv2+
 summary    = A proxy for IGMP.
 
@@ -18,16 +18,24 @@  description
 	between networks.
 end
 
-source_dl  =
+source_dl  = https://github.com/pali/%{name}/archive/refs/tags/%{version}.tar.gz#/
 
 build
+	requires
+		autoconf
+		automake
+	end
+
 	configure_options += \
-		--sysconfdir=/etc
+		--sysconfdir=%{sysconfdir}
+
+	prepare_cmds
+		./autogen.sh
+	end
 end
 
 packages
 	package %{name}
-	end
 
 	package %{name}-debuginfo
 		template DEBUGINFO