commit hostname for openSUSE:Factory

2020-09-14 Thread root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2020-09-14 12:00:10

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new.4249 (New)


Package is "hostname"

Mon Sep 14 12:00:10 2020 rev:10 rq:832928 version:3.23

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2020-05-19 
15:25:45.476854407 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new.4249/hostname.changes  
2020-09-14 12:00:20.731441925 +0200
@@ -1,0 +2,9 @@
+Wed Aug 26 07:43:53 UTC 2020 - Dirk Mueller 
+
+- update to 3.23:
+ * Increase buffer size for all FQDNs to NI_MAXHOST as suggested by manpage.
+   (Closes: #942311)
+ * Use the same size for getdomainname().
+ * Bumped Standards-Version, no changes needed.
+
+---

Old:

  hostname-3.21.tar.gz

New:

  hostname-3.23.tar.gz



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.AxA2Vi/_old  2020-09-14 12:00:23.571444844 +0200
+++ /var/tmp/diff_new_pack.AxA2Vi/_new  2020-09-14 12:00:23.571444844 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hostname
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:   hostname
-Version:3.21
+Version:3.23
 Release:0
 Summary:Utility to Set/Show the Host Name or Domain Name
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
-Url:https://tracker.debian.org/pkg/hostname
+URL:https://tracker.debian.org/pkg/hostname
 Source0:
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:nis-domainname
 Source2:nis-domainname.service.in

++ hostname-3.21.tar.gz -> hostname-3.23.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/changelog 
new/hostname/debian/changelog
--- old/hostname/debian/changelog   2018-09-27 10:45:17.0 +0200
+++ new/hostname/debian/changelog   2019-11-07 12:31:36.0 +0100
@@ -1,3 +1,21 @@
+hostname (3.23) unstable; urgency=medium
+
+  * Increase buffer size for all FQDNs to NI_MAXHOST as suggested by manpage.
+(Closes: #942311)
+  * Use the same size for getdomainname().
+  * Bumped Standards-Version, no changes needed.
+  * Removed debian/compat file as suggested by lintian.
+
+ -- Michael Meskes   Thu, 07 Nov 2019 12:31:36 +0100
+
+hostname (3.22) unstable; urgency=medium
+
+  * Made build process robust against binNMUs. (Closes: #935277)
+  * Bumped Standards-Version, no changes needed.
+  * Bumped debhelper version, no changes needed.
+
+ -- Michael Meskes   Sat, 24 Aug 2019 19:05:40 +0200
+
 hostname (3.21) unstable; urgency=medium
 
   * Minor fixes to the manpage.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/compat new/hostname/debian/compat
--- old/hostname/debian/compat  2018-01-30 11:28:44.0 +0100
+++ new/hostname/debian/compat  1970-01-01 01:00:00.0 +0100
@@ -1 +0,0 @@
-11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/control new/hostname/debian/control
--- old/hostname/debian/control 2018-09-27 10:45:17.0 +0200
+++ new/hostname/debian/control 2019-11-07 12:31:36.0 +0100
@@ -2,8 +2,8 @@
 Section: admin
 Priority: required
 Maintainer: Michael Meskes 
-Standards-Version: 4.2.1.1
-Build-Depends: debhelper (>= 11)
+Standards-Version: 4.4.1
+Build-Depends: debhelper-compat (= 12)
 
 Package: hostname
 Architecture: any
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/rules new/hostname/debian/rules
--- old/hostname/debian/rules   2018-01-30 11:36:46.0 +0100
+++ new/hostname/debian/rules   2019-08-24 19:03:54.0 +0200
@@ -5,6 +5,7 @@
 
 include /usr/share/dpkg/pkg-info.mk
 PRGVERSION := $(shell awk '/define VERSION/ { print 
substr($$3,2,length($$3)-2)}' hostname.c)
+MYVERSION := $(shell echo '$(DEB_VERSION)' | sed -e 's/\+.*//')
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 CFLAGS = `dpkg-buildflags --get CFLAGS`
@@ -28,7 +29,7 @@
dh_testdir
 
# Building package
-   [ "$(DEB_VERSION)" = "$(PRGVERSION)" ] || exit 1
+   [ "$(MYVERSION)" = "$(PRGVERSION)" ] || exit 1
CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" 

commit hostname for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2020-05-19 15:25:41

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new.2738 (New)


Package is "hostname"

Tue May 19 15:25:41 2020 rev:9 rq:807338 version:3.21

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2020-05-19 
14:43:12.647394316 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new.2738/hostname.changes  
2020-05-19 15:25:45.476854407 +0200
@@ -1,0 +2,5 @@
+Fri May 15 13:30:45 UTC 2020 - Neal Gompa 
+
+- Fix LIBEXECDIR substitution for systemd service
+
+---



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.M7RdDB/_old  2020-05-19 15:25:46.476856480 +0200
+++ /var/tmp/diff_new_pack.M7RdDB/_new  2020-05-19 15:25:46.480856488 +0200
@@ -52,7 +52,7 @@
 ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
 ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
 done
-sed -e "s|@LIBEXECDIR|%{_libexecdir}|g" nis-domainname.service.in > 
nis-domainname.service
+sed -e "s|@LIBEXECDIR@|%{_libexecdir}|g" nis-domainname.service.in > 
nis-domainname.service
 install -m 0755 -d %{buildroot}%{_libexecdir}/%{name}
 install -m 0755 -d %{buildroot}%{_unitdir}
 install -p -m 0755 nis-domainname %{buildroot}%{_libexecdir}/%{name}




commit hostname for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2020-05-19 14:43:05

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new.2738 (New)


Package is "hostname"

Tue May 19 14:43:05 2020 rev:8 rq:805688 version:3.21

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2018-11-05 
22:49:19.948515587 +0100
+++ /work/SRC/openSUSE:Factory/.hostname.new.2738/hostname.changes  
2020-05-19 14:43:12.647394316 +0200
@@ -1,0 +2,5 @@
+Sun Apr 12 14:06:27 UTC 2020 - Neal Gompa 
+
+- Add nis-domainname.service for FreeIPA
+
+---

New:

  nis-domainname
  nis-domainname.service.in



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.AcfhFD/_old  2020-05-19 14:43:15.291399965 +0200
+++ /var/tmp/diff_new_pack.AcfhFD/_new  2020-05-19 14:43:15.295399974 +0200
@@ -23,7 +23,11 @@
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
 Url:https://tracker.debian.org/pkg/hostname
-Source: 
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source1:nis-domainname
+Source2:nis-domainname.service.in
+BuildRequires:  gcc
+BuildRequires:  systemd-rpm-macros
 # net-tools requires hostname, but we know we do not rely on ourselves to build
 #!BuildIgnore:  hostname
 
@@ -33,6 +37,7 @@
 
 %prep
 %setup -q -n %{name}
+cp %{SOURCE1} %{SOURCE2} .
 
 %build
 make %{?_smp_mflags} CFLAGS="%{optflags} -D_GNU_SOURCE"
@@ -47,6 +52,17 @@
 ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
 ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
 done
+sed -e "s|@LIBEXECDIR|%{_libexecdir}|g" nis-domainname.service.in > 
nis-domainname.service
+install -m 0755 -d %{buildroot}%{_libexecdir}/%{name}
+install -m 0755 -d %{buildroot}%{_unitdir}
+install -p -m 0755 nis-domainname %{buildroot}%{_libexecdir}/%{name}
+install -p -m 0644 nis-domainname.service %{buildroot}%{_unitdir}
+
+%post
+%systemd_post nis-domainname.service
+
+%preun
+%systemd_preun nis-domainname.service
 
 %files
 %license COPYRIGHT
@@ -66,5 +82,7 @@
 %{_mandir}/man1/dnsdomainname.1%{ext_man}
 %{_mandir}/man1/nisdomainname.1%{ext_man}
 %{_mandir}/man1/ypdomainname.1%{ext_man}
+%{_unitdir}/nis-domainname.service
+%{_libexecdir}/%{name}/
 
 %changelog

++ nis-domainname ++
#!/bin/bash

source /etc/sysconfig/network/config

if [ -n "${NETCONFIG_NIS_STATIC_DOMAIN}" ] && [ 
"${NETCONFIG_NIS_SETDOMAINNAME}" = "yes" ] && [ -x /usr/bin/nisdomainname ]; 
then
nisdomainname ${NETCONFIG_NIS_STATIC_DOMAIN}
exit $?
fi

exit 0
++ nis-domainname.service.in ++
[Unit]
Description=Read and set NIS domainname from /etc/sysconfig/network/config
Before=ypbind.service yppasswdd.service ypserv.service ypxfrd.service 
sysinit.target
DefaultDependencies=no
Conflicts=shutdown.target
ConditionPathExists=/etc/sysconfig/network/config

[Service]
ExecStart=@LIBEXECDIR@/hostname/nis-domainname
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target



commit hostname for openSUSE:Factory

2018-11-05 Thread root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2018-11-05 22:49:15

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new (New)


Package is "hostname"

Mon Nov  5 22:49:15 2018 rev:7 rq:644713 version:3.21

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2018-04-10 
09:48:19.965242950 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2018-11-05 
22:49:19.948515587 +0100
@@ -1,0 +2,6 @@
+Thu Oct 18 03:10:44 UTC 2018 - s...@suspend.net
+
+- Update to 3.21:
+  * Minor fixes to the manpage
+
+---

Old:

  hostname-3.20.tar.gz

New:

  hostname-3.21.tar.gz



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.v5Neam/_old  2018-11-05 22:49:20.396515020 +0100
+++ /var/tmp/diff_new_pack.v5Neam/_new  2018-11-05 22:49:20.400515015 +0100
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   hostname
-Version:3.20
+Version:3.21
 Release:0
 Summary:Utility to Set/Show the Host Name or Domain Name
 License:GPL-2.0-or-later

++ hostname-3.20.tar.gz -> hostname-3.21.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/changelog 
new/hostname/debian/changelog
--- old/hostname/debian/changelog   2018-01-31 13:08:15.0 +0100
+++ new/hostname/debian/changelog   2018-09-27 10:45:17.0 +0200
@@ -1,3 +1,11 @@
+hostname (3.21) unstable; urgency=medium
+
+  * Minor fixes to the manpage.
+Thanks to Bjarni Ingi Gislason  (Closes: #900857)
+  * Bumped Standards-Version, no changes needed.
+
+ -- Michael Meskes   Thu, 27 Sep 2018 10:45:17 +0200
+
 hostname (3.20) unstable; urgency=medium
 
   * Removed old alioth list from maintainers field.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/control new/hostname/debian/control
--- old/hostname/debian/control 2018-01-31 13:07:53.0 +0100
+++ new/hostname/debian/control 2018-09-27 10:45:17.0 +0200
@@ -2,7 +2,7 @@
 Section: admin
 Priority: required
 Maintainer: Michael Meskes 
-Standards-Version: 4.1.3
+Standards-Version: 4.2.1.1
 Build-Depends: debhelper (>= 11)
 
 Package: hostname
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/hostname.1 new/hostname/hostname.1
--- old/hostname/hostname.1 2018-01-30 11:25:42.0 +0100
+++ new/hostname/hostname.1 2018-09-27 10:41:06.0 +0200
@@ -62,36 +62,36 @@
 .LP
 .B domainname
 will print the NIS domainname of the system.
-.BR domainname
+.B domainname
 uses the
 .BR gethostname (2)
 function, while
-.BR ypdomainname
+.B ypdomainname
 and
-.BR nisdomainname
+.B nisdomainname
 use the
 .BR getdomainname (2).
 .LP
 .B dnsdomainname
 will print the domain part of the FQDN (Fully Qualified Domain Name). The
 complete FQDN of the system is returned with
-.BR "hostname \-\-fqdn"
+.B hostname \-\-fqdn
 (but see the warnings in section
-.B "THE FQDN"
+.B THE FQDN
 below).
 
 .SS "SET NAME"
 When called with one argument or with the
 .B \-\-file
 option, the commands set the host name or the NIS/YP domain name.
-.BR hostname
+.B hostname
 uses the
 .BR sethostname (2)
 function, while all of the three
-.BR domainname,
-.BR ypdomainname
+.BR domainname ,
+.B ypdomainname
 and
-.BR nisdomainname
+.B nisdomainname
 use
 .BR setdomainname (2).
 Note, that this is effective only until the next reboot.
@@ -102,7 +102,7 @@
 It is not possible to set the FQDN or the DNS domain name with the
 .B dnsdomainname
 command (see
-.B "THE FQDN"
+.B THE FQDN
 below).
 .LP
 The host name is usually set once at system startup in
@@ -118,7 +118,7 @@
 .IR ursula.example.com .
 It is usually the hostname followed by the DNS domain name (the part
 after the first dot).  You can check the FQDN using
-.B "hostname \-\-fqdn"
+.B hostname \-\-fqdn
 or the domain name using
 .BR "dnsdomainname" .
 .LP
@@ -154,10 +154,10 @@
 mobile environment, then it may either have multiple FQDNs/domain names
 or none at all. Therefore avoid using
 .BR "hostname \-\-fqdn" ,
-.BR "hostname \-\-domain"
+.B hostname \-\-domain
 and
 .BR "dnsdomainname" .
-.BR "hostname \-\-ip-address"
+.B hostname \-\-ip-address
 is subject to the same limitations so it should be avoided as well.
 
 .SH 

commit hostname for openSUSE:Factory

2018-04-10 Thread root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2018-04-10 09:48:16

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new (New)


Package is "hostname"

Tue Apr 10 09:48:16 2018 rev:6 rq:592808 version:3.20

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2018-02-24 
16:35:28.873867655 +0100
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2018-04-10 
09:48:19.965242950 +0200
@@ -1,0 +2,5 @@
+Mon Mar 26 17:24:51 CEST 2018 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.EbKNRt/_old  2018-04-10 09:48:25.049058767 +0200
+++ /var/tmp/diff_new_pack.EbKNRt/_new  2018-04-10 09:48:25.053058623 +0200
@@ -20,7 +20,7 @@
 Version:3.20
 Release:0
 Summary:Utility to Set/Show the Host Name or Domain Name
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
 Url:https://tracker.debian.org/pkg/hostname
 Source: 
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -49,7 +49,8 @@
 done
 
 %files
-%doc COPYRIGHT debian/changelog
+%license COPYRIGHT
+%doc debian/changelog
 /bin/%{name}
 /bin/domainname
 /bin/dnsdomainname




commit hostname for openSUSE:Factory

2017-08-29 Thread root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2017-08-29 11:34:51

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new (New)


Package is "hostname"

Tue Aug 29 11:34:51 2017 rev:4 rq:517447 version:3.16

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2016-04-11 
10:27:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2017-08-29 
11:34:52.274073636 +0200
@@ -1,0 +2,6 @@
+Tue Aug 15 21:55:30 CEST 2017 - ku...@suse.de
+
+- Add build require libnsl-devel in preparation of libnsl removal
+  from glibc.
+
+---



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.UifMTE/_old  2017-08-29 11:34:53.137952257 +0200
+++ /var/tmp/diff_new_pack.UifMTE/_new  2017-08-29 11:34:53.145951133 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hostname
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 # net-tools requires hostname, but we know we do not rely on ourselves to build
 #!BuildIgnore:  hostname
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libnsl-devel
 
 %description
 This package provides commands which can be used to display the system's DNS




commit hostname for openSUSE:Factory

2016-04-11 Thread h_root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2016-04-11 10:27:42

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new (New)


Package is "hostname"

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2015-09-16 
10:35:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2016-04-11 
10:27:43.0 +0200
@@ -1,0 +2,5 @@
+Thu Mar 31 14:25:58 CEST 2016 - ku...@suse.de
+
+- Add ypdomainname and nisdomainname, too. Were removed from yp-tools.
+
+---



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.H0zpEK/_old  2016-04-11 10:27:44.0 +0200
+++ /var/tmp/diff_new_pack.H0zpEK/_new  2016-04-11 10:27:44.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hostname
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,8 +43,7 @@
 install -d -m 755 %{buildroot}/bin/
 ln -sf %{_bindir}/%{name} %{buildroot}/bin/%{name}
 install -D -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
-# do not install ypdomainname and nisdomainname which are provided by yp-tools
-for prog in dnsdomainname domainname; do
+for prog in dnsdomainname domainname ypdomainname nisdomainname; do
 ln -sf %{_bindir}/%{name} %{buildroot}/bin/$prog
 ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
 ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
@@ -56,11 +55,17 @@
 /bin/%{name}
 /bin/domainname
 /bin/dnsdomainname
+/bin/nisdomainname
+/bin/ypdomainname
 %{_bindir}/%{name}
 %{_bindir}/domainname
 %{_bindir}/dnsdomainname
+%{_bindir}/nisdomainname
+%{_bindir}/ypdomainname
 %{_mandir}/man1/%{name}.1%{ext_man}
 %{_mandir}/man1/domainname.1%{ext_man}
 %{_mandir}/man1/dnsdomainname.1%{ext_man}
+%{_mandir}/man1/nisdomainname.1%{ext_man}
+%{_mandir}/man1/ypdomainname.1%{ext_man}
 
 %changelog




commit hostname for openSUSE:Factory

2015-09-16 Thread h_root
Hello community,

here is the log from the commit of package hostname for openSUSE:Factory 
checked in at 2015-09-16 10:35:35

Comparing /work/SRC/openSUSE:Factory/hostname (Old)
 and  /work/SRC/openSUSE:Factory/.hostname.new (New)


Package is "hostname"

Changes:

--- /work/SRC/openSUSE:Factory/hostname/hostname.changes2015-06-16 
14:04:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2015-09-16 
10:35:36.0 +0200
@@ -1,0 +2,13 @@
+Tue Sep  8 12:32:33 UTC 2015 - nemy...@opensuse.org
+
+- Update to 3.16, announce message:
+
+  * Changed buffer size to the recommended 255 character when working with
+names instead of IPs. (Closes: #796922)
+  * Bumped Standards-Version to 3.9.6, no changes needed.
+
+- Use %{name} instead of hostname
+- Use CFLAGS="%{optflags}" to fix 'File is compiled without RPM_OPT_FLAGS'
+- Add changelog to Documentation
+
+---

Old:

  hostname_3.15.tar.gz

New:

  hostname_3.16.tar.gz



Other differences:
--
++ hostname.spec ++
--- /var/tmp/diff_new_pack.thVVZK/_old  2015-09-16 10:35:37.0 +0200
+++ /var/tmp/diff_new_pack.thVVZK/_new  2015-09-16 10:35:37.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hostname
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,14 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   hostname
-Version:3.15
+Version:3.16
 Release:0
-License:GPL-2.0+
 Summary:Utility to Set/Show the Host Name or Domain Name
-Url:https://tracker.debian.org/pkg/hostname
+License:GPL-2.0+
 Group:  Productivity/Networking/Other
-Source: 
http://http.debian.net/debian/pool/main/h/hostname/%{name}_%{version}.tar.gz
+Url:https://tracker.debian.org/pkg/hostname
+Source: 
http://http.debian.net/debian/pool/main/h/%{name}/%{name}_%{version}.tar.gz
 # net-tools requires hostname, but we know we do not rely on ourselves to build
 #!BuildIgnore:  hostname
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -32,32 +33,34 @@
 name, and to display or set its hostname or NIS domain name.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %build
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="%{optflags}"
 
 %install
-install -D -p -m 755 hostname %{buildroot}%{_bindir}/hostname
+install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
 install -d -m 755 %{buildroot}/bin/
-ln -sf %{_bindir}/hostname %{buildroot}/bin/hostname
-install -D -p -m 644 hostname.1 %{buildroot}%{_mandir}/man1/hostname.1
+ln -sf %{_bindir}/%{name} %{buildroot}/bin/%{name}
+install -D -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
 # do not install ypdomainname and nisdomainname which are provided by yp-tools
 for prog in dnsdomainname domainname; do
-ln -sf %{_bindir}/hostname %{buildroot}/bin/$prog
-ln -sf %{_bindir}/hostname %{buildroot}%{_bindir}/$prog
+ln -sf %{_bindir}/%{name} %{buildroot}/bin/$prog
+ln -sf %{_bindir}/%{name} %{buildroot}%{_bindir}/$prog
 ln -sf hostname.1 %{buildroot}%{_mandir}/man1/${prog}.1
 done
 
 %files
 %defattr(-,root,root)
-%doc COPYRIGHT
-/bin/hostname
+%doc COPYRIGHT debian/changelog
+/bin/%{name}
 /bin/domainname
 /bin/dnsdomainname
-%{_bindir}/hostname
+%{_bindir}/%{name}
 %{_bindir}/domainname
 %{_bindir}/dnsdomainname
-%{_mandir}/man1/hostname.1*
-%{_mandir}/man1/domainname.1*
-%{_mandir}/man1/dnsdomainname.1*
+%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/domainname.1%{ext_man}
+%{_mandir}/man1/dnsdomainname.1%{ext_man}
+
+%changelog

++ hostname_3.15.tar.gz -> hostname_3.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/changelog 
new/hostname-3.16/debian/changelog
--- old/hostname/debian/changelog   2013-11-03 15:41:12.0 +0100
+++ new/hostname-3.16/debian/changelog  2015-09-01 12:36:37.0 +0200
@@ -1,3 +1,11 @@
+hostname (3.16) unstable; urgency=medium
+
+  * Changed buffer size to the recommended 255 character when working with
+names instead of IPs. (Closes: #796922)
+  * Bumped Standards-Version to 3.9.6, no changes needed.
+
+ -- Michael Meskes   Tue, 01 Sep 2015 12:32:18 +0200
+
 hostname (3.15) unstable; urgency=low
 
   * Applied patch to make it possible to install binaries and man pages into
diff -urN '--exclude=CVS'