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.changes        2015-06-16 
14:04:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hostname.new/hostname.changes   2015-09-16 
10:35:36.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Sep  8 12:32:33 UTC 2015 - [email protected]
+
+- 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.000000000 +0200
+++ /var/tmp/diff_new_pack.thVVZK/_new  2015-09-16 10:35:37.000000000 +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.000000000 +0100
+++ new/hostname-3.16/debian/changelog  2015-09-01 12:36:37.000000000 +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 <[email protected]>  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' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/debian/control 
new/hostname-3.16/debian/control
--- old/hostname/debian/control 2013-09-06 12:04:07.000000000 +0200
+++ new/hostname-3.16/debian/control    2015-09-01 12:36:08.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: required
 Maintainer: Debian Hostname Team <[email protected]>
 Uploaders: Michael Meskes <[email protected]>
-Standards-Version: 3.9.4
+Standards-Version: 3.9.6
 Build-Depends: debhelper (>= 5)
 
 Package: hostname
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hostname/hostname.c new/hostname-3.16/hostname.c
--- old/hostname/hostname.c     2013-11-03 15:26:51.000000000 +0100
+++ new/hostname-3.16/hostname.c        2015-09-01 12:36:57.000000000 +0200
@@ -45,7 +45,7 @@
 #include <err.h>
 #include <rpcsvc/ypclnt.h>
 
-#define VERSION "3.15"
+#define VERSION "3.16"
 
 enum type_t { DEFAULT, DNS, FQDN, SHORT, ALIAS, IP, NIS, NIS_DEF, ALL_FQDNS, 
ALL_IPS };
 
@@ -279,7 +279,7 @@
                        break;
                case ALL_IPS:
                case ALL_FQDNS: {
-                       char buf[INET6_ADDRSTRLEN];
+                       char buf[255];
                        int flags, ret, family, addrlen;
 
                        /* What kind of information do we want from 
getnameinfo()? */


Reply via email to