[1/3] ipvsadm: Drop package

Message ID 20230221172708.885594-1-stefan.schantl@ipfire.org
State New
Headers
Series [1/3] ipvsadm: Drop package |

Commit Message

Stefan Schantl Feb. 21, 2023, 5:27 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 ipvsadm/ipvsadm.nm                | 47 -------------------------------
 ipvsadm/patches/build-flags.patch | 26 -----------------
 2 files changed, 73 deletions(-)
 delete mode 100644 ipvsadm/ipvsadm.nm
 delete mode 100644 ipvsadm/patches/build-flags.patch
  

Patch

diff --git a/ipvsadm/ipvsadm.nm b/ipvsadm/ipvsadm.nm
deleted file mode 100644
index c9caedde1..000000000
--- a/ipvsadm/ipvsadm.nm
+++ /dev/null
@@ -1,47 +0,0 @@ 
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = ipvsadm
-version    = 1.28
-release    = 1
-
-groups     = Applications/System
-url        = http://www.linuxvirtualserver.org/software/ipvs.html
-license    = GPLv2+
-summary    = Utility to administer the Linux Virtual Server.
-
-description
-	ipvsadm is a utility to administer the IP Virtual Server services
-	offered by the Linux kernel.
-end
-
-source_dl  = https://kernel.org/pub/linux/utils/kernel/ipvsadm/
-
-build
-	requires
-		libnl3-devel
-		popt-devel
-	end
-
-	PARALLELISMFLAGS = # parallel build not supported
-
-	make_build_targets += CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
-
-	make_install_targets += BUILD_ROOT="%{BUILDROOT}" \
-		SBIN="%{BUILDROOT}%{sbindir}" MANDIR="%{mandir}"
-
-	install_cmds
-		# Remove unwanted files.
-		rm -vfr %{BUILDROOT}/etc
-	end
-end
-
-packages
-	package %{name}
-
-	package %{name}-debuginfo
-		template DEBUGINFO
-	end
-end
diff --git a/ipvsadm/patches/build-flags.patch b/ipvsadm/patches/build-flags.patch
deleted file mode 100644
index bc0899573..000000000
--- a/ipvsadm/patches/build-flags.patch
+++ /dev/null
@@ -1,26 +0,0 @@ 
-diff --git a/Makefile b/Makefile
-index 91a2991..1d27655 100644
---- a/Makefile
-+++ b/Makefile
-@@ -87,7 +87,7 @@ libs:
- 		make -C libipvs
- 
- ipvsadm:	$(OBJS) $(STATIC_LIBS)
--		$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-+		$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
- 
- install:        all
- 		if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi
-diff --git a/libipvs/Makefile b/libipvs/Makefile
-index f845c8b..46cd4eb 100644
---- a/libipvs/Makefile
-+++ b/libipvs/Makefile
-@@ -33,7 +33,7 @@ $(STATIC_LIB):	libipvs.o ip_vs_nl_policy.o
- 		ar rv $@ $^
- 
- $(SHARED_LIB):	libipvs.o ip_vs_nl_policy.o
--		$(CC) -shared -Wl,-soname,$@ -o $@ $^
-+		$(CC) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^
- 
- %.o:		%.c
- 		$(CC) $(CFLAGS) $(INCLUDE) $(DEFINES) -c -o $@ $<