Projects
openEuler:Mainline
hostname
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:hostname.spec
Changed
@@ -1,7 +1,7 @@ Summary: Utility to set/show the host name or domain name Name: hostname -Version: 3.21 -Release: 2 +Version: 3.23 +Release: 1 License: GPLv2+ URL: http://packages.qa.debian.org/h/hostname.html Source0: http://ftp.de.debian.org/debian/pool/main/h/hostname/hostname_%{version}.tar.gz @@ -50,6 +50,12 @@ %{_libexecdir}/%{name}/* %changelog +* Sat Oct 29 2022 zhouyihang <zhouyihang3@h-partners.com> - 3.23-1 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:update hostname version to 3.23 + * Thu May 27 2021 lijingyuan <lijingyuan3@huawei.com> - 3.21-2 - Type:requirement - ID:NA
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/hostname.git</param> - <param name="revision">6c39f9224eb2bb171ade57a47b520a036a0a7424</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:hostname_3.21.tar.gz/debian/compat
Deleted
@@ -1,1 +0,0 @@ -11
View file
_service:tar_scm:hostname_3.21.tar.gz/debian/changelog -> _service:tar_scm:hostname_3.23.tar.gz/debian/changelog
Changed
@@ -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 <meskes@debian.org> 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 <meskes@debian.org> Sat, 24 Aug 2019 19:05:40 +0200 + hostname (3.21) unstable; urgency=medium * Minor fixes to the manpage.
View file
_service:tar_scm:hostname_3.21.tar.gz/debian/control -> _service:tar_scm:hostname_3.23.tar.gz/debian/control
Changed
@@ -2,8 +2,8 @@ Section: admin Priority: required Maintainer: Michael Meskes <meskes@debian.org> -Standards-Version: 4.2.1.1 -Build-Depends: debhelper (>= 11) +Standards-Version: 4.4.1 +Build-Depends: debhelper-compat (= 12) Package: hostname Architecture: any
View file
_service:tar_scm:hostname_3.21.tar.gz/debian/rules -> _service:tar_scm:hostname_3.23.tar.gz/debian/rules
Changed
@@ -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)" LDFLAGS="$(LDFLAGS)" $(MAKE) $(CROSS) touch build-stamp
View file
_service:tar_scm:hostname_3.21.tar.gz/hostname.c -> _service:tar_scm:hostname_3.23.tar.gz/hostname.c
Changed
@@ -43,7 +43,7 @@ #include <ctype.h> #include <err.h> -#define VERSION "3.21" +#define VERSION "3.23" enum type_t { DEFAULT, DNS, FQDN, SHORT, ALIAS, IP, NIS, NIS_DEF, ALL_FQDNS, ALL_IPS }; @@ -56,8 +56,9 @@ char * localnisdomain() { - /* The historical NIS limit is 1024, the limit on Linux is 64. */ - static char buf1025; + /* The historical NIS limit is 1024, the limit on Linux is 64. We go + * with the limit suggested for getnameinfo(), which should be 1025. */ + static char bufNI_MAXHOST; int myerror = 0; myerror = getdomainname(buf, sizeof buf); @@ -276,7 +277,7 @@ break; case ALL_IPS: case ALL_FQDNS: { - char buf255; + char bufNI_MAXHOST; int flags, ret, family, addrlen; /* What kind of information do we want from getnameinfo()? */
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2