From 105300e757bcf9a2e5855ed7113ff1c210f5deb8 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 5 Apr 2015 12:31:34 +0200 Subject: [PATCH] hostname: New package. --- hostname/hostname.nm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 hostname/hostname.nm diff --git a/hostname/hostname.nm b/hostname/hostname.nm new file mode 100644 index 000000000..c23a4d67f --- /dev/null +++ b/hostname/hostname.nm @@ -0,0 +1,46 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = hostname +version = 3.15 +release = 1 + +groups = System Environment/Base +url = http://packages.qa.debian.org/h/hostname.html +license = GPLv2+ +summary = Utility to set/show the host name or domain name. + +description + This package provides commands which can be used to display the system's + DNS name, and to display or set its hostname or NIS domain name. +end + +source_dl = http://ftp.de.debian.org/debian/pool/main/h/hostname/ +sources = %{name}_%{version}.tar.gz + +build + DIR_APP = %{DIR_SRC}/%{name} + + make_build_targets += \ + CFLAGS="%{CFLAGS}" + + make_install_targets += \ + BASEDIR=%{BUILDROOT} \ + BINDIR=%{bindir} +end + +packages + package %{name} + groups += Base + end + + conflicts + net-tools < 2.0 + end + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.39.2