]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
hostname: Update to 3.23
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Dec 2022 16:48:23 +0000 (16:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Dec 2022 16:48:23 +0000 (16:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
hostname/hostname.nm

index c23a4d67ff40083cd522fcd0cacb253d7dce538c..faef8f96acb696e4c2f62400e4aecff10725d8dc 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 name       = hostname
-version    = 3.15
+version    = 3.23
 release    = 1
 
 groups     = System Environment/Base
-url        = http://packages.qa.debian.org/h/hostname.html
+url        = https://packages.qa.debian.org/h/hostname.html
 license    = GPLv2+
 summary    = Utility to set/show the host name or domain name.
 
@@ -21,24 +21,20 @@ source_dl  = http://ftp.de.debian.org/debian/pool/main/h/hostname/
 sources    = %{name}_%{version}.tar.gz
 
 build
-       DIR_APP = %{DIR_SRC}/%{name}
+       requires
+               rpcsvc-proto-devel
+       end
 
-       make_build_targets += \
-               CFLAGS="%{CFLAGS}"
+       DIR_APP = %{DIR_SRC}/%{name}
 
        make_install_targets += \
-               BASEDIR=%{BUILDROOT} \
-               BINDIR=%{bindir}
+               BASEDIR="%{BUILDROOT}" \
+               BINDIR="%{bindir}" \
+               MANDIR="%{mandir}"
 end
 
 packages
        package %{name}
-               groups += Base
-       end
-
-       conflicts
-               net-tools < 2.0
-       end
 
        package %{name}-debuginfo
                template DEBUGINFO