commit pidentd for openSUSE:Factory
Hello community, here is the log from the commit of package pidentd for openSUSE:Factory checked in at 2018-09-25 15:42:06 Comparing /work/SRC/openSUSE:Factory/pidentd (Old) and /work/SRC/openSUSE:Factory/.pidentd.new (New) Package is "pidentd" Tue Sep 25 15:42:06 2018 rev:22 rq:637420 version:3.0.19 Changes: --- /work/SRC/openSUSE:Factory/pidentd/pidentd.changes 2018-07-14 20:24:54.136137018 +0200 +++ /work/SRC/openSUSE:Factory/.pidentd.new/pidentd.changes 2018-09-25 15:42:16.465300091 +0200 @@ -1,0 +2,6 @@ +Wed Sep 19 12:01:45 UTC 2018 - m...@suse.com + +- bsc#1101600: IPv6 support was accidentally dropped when upgrading + to 3.0.19 and pidentd-ipv6.patch adds it back. + +--- New: pidentd-ipv6.patch Other differences: -- ++ pidentd.spec ++ --- /var/tmp/diff_new_pack.jqyKta/_old 2018-09-25 15:42:16.961299561 +0200 +++ /var/tmp/diff_new_pack.jqyKta/_new 2018-09-25 15:42:16.961299561 +0200 @@ -30,6 +30,7 @@ Patch2: pidentd-rpmlint-gcc-checks.patch Patch3: pidentd-no-date.patch Patch4: reproducible.patch +Patch5: pidentd-ipv6.patch BuildRequires: autoconf BuildRequires: libtool @@ -45,9 +46,11 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 %build autoconf +export CFLAGS="%optflags -DHAVE_IPV6" %configure make %{?_smp_mflags} ++ pidentd-ipv6.patch ++ --- src/conf.c.orig +++ src/conf.c @@ -103,7 +103,7 @@ conf_parse(const char *path, else if (strcasecmp(cp, "server:port") == 0) { - if (str2port(arg, _port) < 0) + if (str2str(arg, _port) < 0) syslog(LOG_ERR, "%s: %d: invalid port: %s", path, line, arg); } --- src/k_linux.c.orig +++ src/k_linux.c @@ -81,6 +81,7 @@ static int netlink_lookup(struct kainfo *kip, struct kernel *kp) { int status; +int i; struct { struct nlmsghdr nlh; union { @@ -95,12 +96,34 @@ netlink_lookup(struct kainfo *kip, struc buf.nlh.nlmsg_type = TCPDIAG_GETSOCK; buf.nlh.nlmsg_flags = NLM_F_REQUEST; buf.nlh.nlmsg_seq = ++kip->seq; -buf.u.req.idiag_family = AF_INET; +buf.u.req.idiag_family = kp->remote.sg_addr._sg_sa.sa_family; -buf.u.req.id.idiag_dport = kp->remote.sin_port; -buf.u.req.id.idiag_sport = kp->local.sin_port; -buf.u.req.id.idiag_dst[0] = kp->remote.sin_addr.s_addr; -buf.u.req.id.idiag_src[0] = kp->local.sin_addr.s_addr; +switch (buf.u.req.idiag_family) { + +case AF_INET: + buf.u.req.id.idiag_dport = kp->remote.sg_addr._sg_sin.sin_port; + buf.u.req.id.idiag_sport = kp->local.sg_addr._sg_sin.sin_port; + buf.u.req.id.idiag_dst[0] = kp->remote.sg_addr._sg_sin.sin_addr.s_addr; + buf.u.req.id.idiag_src[0] = kp->local.sg_addr._sg_sin.sin_addr.s_addr; + break; + +case AF_INET6: + buf.u.req.id.idiag_dport = kp->remote.sg_addr._sg_sin6.sin6_port; + buf.u.req.id.idiag_sport = kp->local.sg_addr._sg_sin6.sin6_port; + + for (i = 0; i < 4; i++) { + buf.u.req.id.idiag_dst[i] = + kp->remote.sg_addr._sg_sin6.sin6_addr.__in6_u.__u6_addr32[i]; + buf.u.req.id.idiag_src[i] = + kp->local.sg_addr._sg_sin6.sin6_addr.__in6_u.__u6_addr32[i]; + } + break; + +default: + syslog(LOG_ERR, "netlink_lookup: unknown address family: %d", + buf.u.req.idiag_family); + return 3; +} buf.u.req.id.idiag_cookie[0] = INET_DIAG_NOCOOKIE; buf.u.req.id.idiag_cookie[1] = INET_DIAG_NOCOOKIE; @@ -181,10 +204,10 @@ ka_lookup(void *vp, struct kernel *kp) if (kip->nlfd >= 0) return netlink_lookup(kip, kp); -r_rport = ntohs(kp->remote.sin_port); -r_lport = ntohs(kp->local.sin_port); -r_raddr = kp->remote.sin_addr.s_addr; -r_laddr = kp->local.sin_addr.s_addr; +r_rport = ntohs(kp->remote.sg_addr._sg_sin.sin_port); +r_lport = ntohs(kp->local.sg_addr._sg_sin.sin_port); +r_raddr = kp->remote.sg_addr._sg_sin.sin_addr.s_addr; +r_laddr = kp->local.sg_addr._sg_sin.sin_addr.s_addr; fp = kip->proc_net_tcp; --- src/main.c.orig +++ src/main.c @@ -162,8 +162,9 @@ main(int argc, char *argv[]) if (debug) fprintf(stderr, "socktype = %d\n", socket_type); -if (socket_type == SOCKTYPE_LISTEN || socket_type == SOCKTYPE_CONNECTED) - listen_sock = STDIN_FILENO; +if (socket_type == SOCKTYPE_LISTEN || socket_type == SOCKTYPE_CONNECTED) { + server_set_socket(STDIN_FILENO); +} conf_parse(PATH_CFGFILE, 1); @@ -198,23 +199,23 @@ main(int argc, char *argv[]) break; case 'w': -
commit pidentd for openSUSE:Factory
Hello community, here is the log from the commit of package pidentd for openSUSE:Factory checked in at 2018-07-14 20:24:47 Comparing /work/SRC/openSUSE:Factory/pidentd (Old) and /work/SRC/openSUSE:Factory/.pidentd.new (New) Package is "pidentd" Sat Jul 14 20:24:47 2018 rev:21 rq:622462 version:3.0.19 Changes: --- /work/SRC/openSUSE:Factory/pidentd/pidentd.changes 2018-04-07 20:55:24.637966000 +0200 +++ /work/SRC/openSUSE:Factory/.pidentd.new/pidentd.changes 2018-07-14 20:24:54.136137018 +0200 @@ -1,0 +2,5 @@ +Fri Jul 13 02:51:10 UTC 2018 - bwiedem...@suse.com + +- Add reproducible.patch to drop uname -r from binary (boo#1101107) + +--- New: reproducible.patch Other differences: -- ++ pidentd.spec ++ --- /var/tmp/diff_new_pack.sbJ8k6/_old 2018-07-14 20:24:54.764138632 +0200 +++ /var/tmp/diff_new_pack.sbJ8k6/_new 2018-07-14 20:24:54.764138632 +0200 @@ -29,6 +29,7 @@ Patch1: 01-legacy.patch Patch2: pidentd-rpmlint-gcc-checks.patch Patch3: pidentd-no-date.patch +Patch4: reproducible.patch BuildRequires: autoconf BuildRequires: libtool @@ -43,6 +44,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build autoconf ++ reproducible.patch ++ Author: Bernhard M. Wiedemann Date: 2018-07-13 Do not capture build system kernel version in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good. Index: pidentd-3.0.19/src/support.c === --- pidentd-3.0.19.orig/src/support.c +++ pidentd-3.0.19/src/support.c @@ -44,7 +44,7 @@ osinfo_get(char *buf) if (uname() < 0) return NULL; #ifndef _AIX -sprintf(buf, "%s %s", ub.sysname, ub.release); +sprintf(buf, "%s 2.6", ub.sysname); #else sprintf(buf, "%s %s.%s", ub.sysname, ub.version, ub.release); #endif
commit pidentd for openSUSE:Factory
Hello community, here is the log from the commit of package pidentd for openSUSE:Factory checked in at 2018-04-07 20:55:23 Comparing /work/SRC/openSUSE:Factory/pidentd (Old) and /work/SRC/openSUSE:Factory/.pidentd.new (New) Package is "pidentd" Sat Apr 7 20:55:23 2018 rev:20 rq:593995 version:3.0.19 Changes: --- /work/SRC/openSUSE:Factory/pidentd/pidentd.changes 2017-08-08 11:58:32.365940555 +0200 +++ /work/SRC/openSUSE:Factory/.pidentd.new/pidentd.changes 2018-04-07 20:55:24.637966000 +0200 @@ -1,0 +2,12 @@ +Fri Apr 6 12:42:30 UTC 2018 - co...@suse.com + +- latest sources dropped plib/strmatch.c and as such all the sources + are PD now. License is basically 'you can do whatever you want + as long as you don't claim you wrote it' + +--- +Fri Apr 6 12:43:46 CEST 2018 - ku...@suse.de + +- Remove obsolete requires for inetd + +--- Other differences: -- ++ pidentd.spec ++ --- /var/tmp/diff_new_pack.9p698i/_old 2018-04-07 20:55:25.293942258 +0200 +++ /var/tmp/diff_new_pack.9p698i/_new 2018-04-07 20:55:25.293942258 +0200 @@ -1,7 +1,7 @@ # # spec file for package pidentd # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,7 +20,7 @@ Version:3.0.19 Release:0 Summary:An Implementation of the RFC1413 Identification Server -License:GPL-2.0+ +License:SUSE-Public-Domain Group: Productivity/Networking/System Url:https://github.com/ptrrkssn/pidentd Source: https://github.com/ptrrkssn/pidentd/archive/v%{version}.tar.gz @@ -31,7 +31,6 @@ Patch3: pidentd-no-date.patch BuildRequires: autoconf BuildRequires: libtool -Requires: inet-daemon %description This package contains identd, which implements a RFC1413 identification
commit pidentd for openSUSE:Factory
Hello community, here is the log from the commit of package pidentd for openSUSE:Factory checked in at 2017-08-08 11:58:28 Comparing /work/SRC/openSUSE:Factory/pidentd (Old) and /work/SRC/openSUSE:Factory/.pidentd.new (New) Package is "pidentd" Tue Aug 8 11:58:28 2017 rev:19 rq:504898 version:3.0.19 Changes: --- /work/SRC/openSUSE:Factory/pidentd/pidentd.changes 2012-05-25 16:18:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.pidentd.new/pidentd.changes 2017-08-08 11:58:32.365940555 +0200 @@ -1,0 +2,30 @@ +Fri Jun 16 07:58:42 UTC 2017 - tchva...@suse.com + +- Switch to github url +- Remove pidentd-SuSE.tar.bz2 as it contains only sysv initscript +- Remove xinetd service as we should be using socket activation if needed + (atm it really is not required so do not provide it by default) +- Switch to released upstream tarball 3.0.19 used by all other distributions +- Drop all the patches, upstream seem to merge or include them one + way or another: + * pidentd-3.1a25-allocfix.diff + * pidentd-3.1a25-autoconf.diff + * pidentd-3.1a25-autoheader.diff + * pidentd-3.1a25-buffer-overflow.diff + * pidentd-3.1a25-config.diff + * pidentd-3.1a25-fmt.diff + * pidentd-3.1a25-ipv6.diff + * pidentd-3.1a25-prototypes.diff + * pidentd-3.1a25-send.diff + * pidentd-3.1a25-warnings-fix.diff +- Add patch to respect destdir in install: + * pidentd-destdir.patch +- Add patch from debian: + * 01-legacy.patch +- Add patch to fix gcc errors found by brp checks: + * pidentd-rpmlint-gcc-checks.patch +- Add patch to not include date/time in binaries: + * pidentd-no-date.patch +- Install proper systemd service + +--- Old: pidentd-3.1a25-allocfix.diff pidentd-3.1a25-autoconf.diff pidentd-3.1a25-autoheader.diff pidentd-3.1a25-buffer-overflow.diff pidentd-3.1a25-config.diff pidentd-3.1a25-fmt.diff pidentd-3.1a25-ipv6.diff pidentd-3.1a25-prototypes.diff pidentd-3.1a25-send.diff pidentd-3.1a25-warnings-fix.diff pidentd-3.1a25.tar.bz2 pidentd-SuSE.tar.bz2 pidentd.xinetd New: 01-legacy.patch pidentd-destdir.patch pidentd-no-date.patch pidentd-rpmlint-gcc-checks.patch pidentd.service v3.0.19.tar.gz Other differences: -- ++ pidentd.spec ++ --- /var/tmp/diff_new_pack.P3tA6q/_old 2017-08-08 11:58:36.245394160 +0200 +++ /var/tmp/diff_new_pack.P3tA6q/_new 2017-08-08 11:58:36.269390780 +0200 @@ -1,7 +1,7 @@ # # spec file for package pidentd # -# Copyright (c) 2012 SUSE LINUX Products 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 @@ -17,28 +17,19 @@ Name: pidentd -PreReq: %insserv_prereq %fillup_prereq -Provides: nkitb:/usr/sbin/in.identd -Version:3.1a25 +Version:3.0.19 Release:0 Summary:An Implementation of the RFC1413 Identification Server License:GPL-2.0+ Group: Productivity/Networking/System -Url:http://sf.www.lysator.liu.se/~pen/pidentd/ -Source: %{name}-%{version}.tar.bz2 -Source1:%{name}-SuSE.tar.bz2 -Source2:%{name}.xinetd -Patch0: %{name}-%{version}-config.diff -Patch1: %{name}-%{version}-allocfix.diff -Patch2: %{name}-%{version}-buffer-overflow.diff -Patch3: %{name}-%{version}-fmt.diff -Patch4: %{name}-%{version}-prototypes.diff -Patch5: %{name}-%{version}-autoconf.diff -Patch6: %{name}-%{version}-warnings-fix.diff -Patch7: %{name}-%{version}-send.diff -Patch8: %{name}-%{version}-ipv6.diff -Patch9: %{name}-%{version}-autoheader.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url:https://github.com/ptrrkssn/pidentd +Source: https://github.com/ptrrkssn/pidentd/archive/v%{version}.tar.gz +Source1:pidentd.service +Patch0: pidentd-destdir.patch +Patch1: 01-legacy.patch +Patch2: pidentd-rpmlint-gcc-checks.patch +Patch3: pidentd-no-date.patch +BuildRequires: autoconf BuildRequires: libtool Requires: inet-daemon @@ -47,77 +38,53 @@ server. Identd looks up specific TCP/IP connections and returns the user name and other information about the connection. - - -Authors: - -Peter Eriksson- -%define prefix /usr - %prep -%setup -q -a 1 -%patch0 -%patch1 -%patch2 -%patch3 -%patch4 -%patch5 -%patch6 -%patch7 -%patch8 -%patch9 -p1 +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build -# files are not copied by autoreconf since
commit pidentd for openSUSE:Factory
Hello community, here is the log from the commit of package pidentd for openSUSE:Factory checked in at 2012-05-25 16:18:11 Comparing /work/SRC/openSUSE:Factory/pidentd (Old) and /work/SRC/openSUSE:Factory/.pidentd.new (New) Package is pidentd, Maintainer is boy...@suse.com Changes: --- /work/SRC/openSUSE:Factory/pidentd/pidentd.changes 2012-04-23 16:12:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.pidentd.new/pidentd.changes 2012-05-25 16:18:22.0 +0200 @@ -1,0 +2,10 @@ +Tue May 22 23:09:52 UTC 2012 - frank.lichtenh...@sophos.com + +- Make build with current tools +* Fix autoheader errors by adding descriptions to AC_DEFINE + calls +* Copy config.* manually since suse_update_config is not doing + it anymore and autoreconf does not take care of it because + pidentd doesn't use automake. + +--- New: pidentd-3.1a25-autoheader.diff Other differences: -- ++ pidentd.spec ++ --- /var/tmp/diff_new_pack.1syQYx/_old 2012-05-25 16:18:24.0 +0200 +++ /var/tmp/diff_new_pack.1syQYx/_new 2012-05-25 16:18:24.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package pidentd # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,14 @@ # - Name: pidentd -License:GPL-2.0+ -Group: Productivity/Networking/System PreReq: %insserv_prereq %fillup_prereq Provides: nkitb:/usr/sbin/in.identd Version:3.1a25 Release:0 Summary:An Implementation of the RFC1413 Identification Server +License:GPL-2.0+ +Group: Productivity/Networking/System Url:http://sf.www.lysator.liu.se/~pen/pidentd/ Source: %{name}-%{version}.tar.bz2 Source1:%{name}-SuSE.tar.bz2 @@ -38,6 +37,7 @@ Patch6: %{name}-%{version}-warnings-fix.diff Patch7: %{name}-%{version}-send.diff Patch8: %{name}-%{version}-ipv6.diff +Patch9: %{name}-%{version}-autoheader.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool Requires: inet-daemon @@ -66,9 +66,12 @@ %patch6 %patch7 %patch8 +%patch9 -p1 %build -%{suse_update_config -f aux/ plib/aux/} +# files are not copied by autoreconf since package doesn't use automake +cp -v /usr/share/automake-*/config.* aux/ +cp -v /usr/share/automake-*/config.* plib/aux/ aclocal --force autoreconf --force --install (cd plib ++ pidentd-3.1a25-autoheader.diff ++ Index: pidentd-3.1a25/configure.in === --- pidentd-3.1a25.orig/configure.in +++ pidentd-3.1a25/configure.in @@ -4,13 +4,13 @@ dnl Try to locate a usable type definiti AC_DEFUN(AC_CHECK_TYPE2, [ AC_CHECK_TYPE($2, $4) if test $ac_cv_type_$2 = yes; then - AC_DEFINE($1, $2) + AC_DEFINE($1, $2,[Define to '$4' if sys/types.h does not define.]) else AC_CHECK_TYPE($3, $4) if test $ac_cv_type_$3 = yes; then - AC_DEFINE($1, $3) + AC_DEFINE($1, $3,[Define to '$4' if sys/types.h does not define.]) else - AC_DEFINE($1, $4) + AC_DEFINE($1, $4,[Define to '$4' if sys/types.h does not define.]) fi fi ]) @@ -22,13 +22,13 @@ dnl extracted from autoconf 2.12 acspeci AC_DEFUN(AC_STRUCT_NLIST, [AC_CHECK_HEADER(nlist.h, -[AC_DEFINE(NLIST_STRUCT) +[AC_DEFINE(NLIST_STRUCT, 1, [Define if you have nlist.h.]) AC_CACHE_CHECK([for n_un in struct nlist], ac_cv_struct_nlist_n_un, [AC_TRY_COMPILE([#include nlist.h], [struct nlist n; n.n_un.n_name = 0;], ac_cv_struct_nlist_n_un=yes, ac_cv_struct_nlist_n_un=no)]) if test $ac_cv_struct_nlist_n_un = yes; then - AC_DEFINE(NLIST_NAME_UNION) + AC_DEFINE(NLIST_NAME_UNION, 1, [Define if your struct nlist has an n_un member.]) fi ]) ]) @@ -160,15 +160,15 @@ case $host in ;; *-irix4*) host_os=irix4 - AC_DEFINE(_PATH_UNIX,/unix) + AC_DEFINE(_PATH_UNIX,/unix,[PATH_UNIX]) ;; *-irix5* | *-irix6*) host_os=irix5 - AC_DEFINE(_PATH_UNIX,/unix) + AC_DEFINE(_PATH_UNIX,/unix,[PATH_UNIX]) ;; *-hpux7*) host_os=bsd42 - AC_DEFINE(_PATH_UNIX, /hp-ux) + AC_DEFINE(_PATH_UNIX, /hp-ux,[PATH_UNIX]) if test $ac_cv_prog_gcc = no; then DEFS=$DEFS -DHPUX7
commit pidentd for openSUSE:Factory
Hello community, here is the log from the commit of package pidentd for openSUSE:Factory checked in at 2011-11-28 12:55:36 Comparing /work/SRC/openSUSE:Factory/pidentd (Old) and /work/SRC/openSUSE:Factory/.pidentd.new (New) Package is pidentd, Maintainer is boy...@suse.com Changes: --- /work/SRC/openSUSE:Factory/pidentd/pidentd.changes 2011-09-23 12:41:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.pidentd.new/pidentd.changes 2011-11-28 12:55:38.0 +0100 @@ -1,0 +2,5 @@ +Sun Nov 27 06:55:17 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ pidentd.spec ++ --- /var/tmp/diff_new_pack.MnYMHS/_old 2011-11-28 12:55:39.0 +0100 +++ /var/tmp/diff_new_pack.MnYMHS/_new 2011-11-28 12:55:39.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package pidentd (Version 3.1a25) +# spec file for package pidentd # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products 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,25 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: pidentd -# -# spec file for package pidentd (Version 3.1a25) -# -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. -# -# Please submit bugfixes or comments via http://www.suse.de/feedback/ -# License:PERMISSIVE-OSI-COMPLIANT Group: Productivity/Networking/System PreReq: %insserv_prereq %fillup_prereq Provides: nkitb:/usr/sbin/in.identd -AutoReqProv:on Version:3.1a25 -Release:327 +Release:0 Summary:An Implementation of the RFC1413 Identification Server Url:http://sf.www.lysator.liu.se/~pen/pidentd/ Source: %{name}-%{version}.tar.bz2 @@ -49,6 +39,7 @@ Patch7: %{name}-%{version}-send.diff Patch8: %{name}-%{version}-ipv6.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libtool Requires: inet-daemon %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org