Hello community, here is the log from the commit of package tcpd for openSUSE:Factory checked in at 2016-04-14 12:59:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tcpd (Old) and /work/SRC/openSUSE:Factory/.tcpd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tcpd" Changes: -------- --- /work/SRC/openSUSE:Factory/tcpd/tcpd.changes 2015-08-21 07:35:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tcpd.new/tcpd.changes 2016-04-14 12:59:53.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Apr 6 10:35:38 CEST 2016 - ku...@suse.de + +- tcp_wrappers_7.6.diff: don't use public headers for own + functions, make own yp_get_default_domain static. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tcpd.spec ++++++ --- /var/tmp/diff_new_pack.o9gLad/_old 2016-04-14 12:59:54.000000000 +0200 +++ /var/tmp/diff_new_pack.o9gLad/_new 2016-04-14 12:59:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package tcpd # -# Copyright (c) 2015 SUSE LINUX Products 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 ++++++ tcp_wrappers_7.6.diff ++++++ --- /var/tmp/diff_new_pack.o9gLad/_old 2016-04-14 12:59:54.000000000 +0200 +++ /var/tmp/diff_new_pack.o9gLad/_new 2016-04-14 12:59:54.000000000 +0200 @@ -121,34 +121,26 @@ + --- hosts_access.c.orig +++ hosts_access.c -@@ -33,6 +33,7 @@ static char sccsid[] = "@(#) hosts_acces - #include <errno.h> - #include <setjmp.h> - #include <string.h> -+#include <rpcsvc/ypclnt.h> - - extern char *fgets(); - extern int errno; @@ -89,6 +90,33 @@ static int masked_match(); /* hosts_access - host access control facility */ -+int ++static int +yp_get_default_domain (char **outdomain) +{ + static char __ypdomainname[1025] = "\0"; -+ int result = YPERR_SUCCESS;; ++ int result = 0; + *outdomain = NULL; + + if (__ypdomainname[0] == '\0') + { + if (getdomainname (__ypdomainname, 1024)) -+ result = YPERR_NODOM; ++ result = 1; + else if (strcmp (__ypdomainname, "(none)") == 0) + { + /* If domainname is not set, some Systems will return "(none)" */ + __ypdomainname[0] = '\0'; -+ result = YPERR_NODOM; ++ result = 1; + } + else + *outdomain = __ypdomainname;