diff --git a/authd-1.4.3-longopt-identifier.patch b/authd-1.4.3-longopt-identifier.patch new file mode 100644 index 0000000..1cb45e3 --- /dev/null +++ b/authd-1.4.3-longopt-identifier.patch @@ -0,0 +1,11 @@ +--- authd-1.4.3/authd.c.old 2007-09-19 11:39:25.000000000 +0200 ++++ authd-1.4.3/authd.c 2007-09-19 11:40:02.000000000 +0200 +@@ -203,7 +203,7 @@ static char *created_pton_hex(const char + } + + static void create_opt(int argc, char *argv[]) { +- enum { $_LONGOPT = UCHAR_MAX, // no short opt value overlap ++ enum { PRE_FIRST_LONGOPT = UCHAR_MAX, // no short opt value overlap + CODESET_LONGOPT, IDENT_LONGOPT, FN_LONGOPT, LANG_LONGOPT, + MAPPED_LONGOPT, OS_LONGOPT, PASSWD_LONGOPT, USERNAME_LONGOPT + }; diff --git a/authd.spec b/authd.spec index 842612a..1ba4b23 100644 --- a/authd.spec +++ b/authd.spec @@ -1,8 +1,8 @@ -Summary: a RFC 1413 ident protocol daemon +Summary: A RFC 1413 ident protocol daemon Name: authd Version: 1.4.3 -Release: 9 -License: GPL +Release: 10 +License: GPLv2 Group: System Environment/Daemons Obsoletes: pidentd Provides: pidentd = 3.2 @@ -12,6 +12,7 @@ Patch0: authd-1.4.3-gcc4.patch Patch1: authd-1.4.3-disable.patch Patch2: authd-1.4.3-ipv6-mapping.patch Patch3: authd-1.4.3-locale.patch +Patch4: authd-1.4.3-longopt-identifier.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: openssl-devel gettext Prereq: xinetd @@ -28,6 +29,7 @@ of pidentd. %patch1 -p1 %patch2 -p1 -b .ipv6map %patch3 -p1 -b .locale +%patch4 -p1 sed -i -e "s|/etc|%{_sysconfdir}|" config.h %build @@ -68,6 +70,10 @@ service xinetd reload %{_sbindir}/in.authd %changelog +* Wed Sep 19 2007 Ondrej Dvoracek - 1.4.3-10 +- corrected illegal identifier in longopt enumeration (#245436) +- corrected summary and license + * Mon Jul 24 2006 Martin Stransky - 1.4.3-9 - added locale patch (#199721)