]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ipvsadm: Drop package
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Feb 2023 17:27:06 +0000 (18:27 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 22 Feb 2023 09:48:34 +0000 (09:48 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ipvsadm/ipvsadm.nm [deleted file]
ipvsadm/patches/build-flags.patch [deleted file]

diff --git a/ipvsadm/ipvsadm.nm b/ipvsadm/ipvsadm.nm
deleted file mode 100644 (file)
index 4986ca2..0000000
+++ /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.31
-release    = 1
-
-groups     = Applications/System
-url        = https://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 (file)
index bc08995..0000000
+++ /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 $@ $<