rpms/authd/devel authd-1.4.3-valist.patch, NONE, 1.1 authd.spec, 1.54, 1.55
Roman Rakus
rrakus at fedoraproject.org
Tue Mar 31 10:24:22 UTC 2009
Author: rrakus
Update of /cvs/extras/rpms/authd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25576
Modified Files:
authd.spec
Added Files:
authd-1.4.3-valist.patch
Log Message:
Fixed using valist. Set home dir for user ident to /
authd-1.4.3-valist.patch:
--- NEW FILE authd-1.4.3-valist.patch ---
diff -up authd-1.4.3/authd.c.valist authd-1.4.3/authd.c
--- authd-1.4.3/authd.c.valist 2008-05-21 14:55:30.000000000 +0200
+++ authd-1.4.3/authd.c 2008-05-21 14:56:34.000000000 +0200
@@ -80,13 +80,16 @@ static void log_printf(int level, const
if (opt.debug || level != LOG_DEBUG) {
va_list ap;
- va_start(ap, s);
if (s == NULL || *s == '\0') {
s = strerror(errno);
assert(strchr(s, '%') == NULL);
}
- if (opt.log)
+ if (opt.log) {
+ va_start(ap, s);
vsyslog(level, s, ap);
+ va_end(ap);
+ }
+ va_start(ap, s);
if (vfprintf(level == LOG_INFO ? stdout : stderr, s, ap) < 0) {
perror(program_invocation_name);
level = INT_MIN;
Index: authd.spec
===================================================================
RCS file: /cvs/extras/rpms/authd/devel/authd.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- authd.spec 24 Feb 2009 03:16:54 -0000 1.54
+++ authd.spec 31 Mar 2009 10:23:52 -0000 1.55
@@ -1,7 +1,7 @@
Summary: A RFC 1413 ident protocol daemon
Name: authd
Version: 1.4.3
-Release: 23%{?dist}
+Release: 24%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: https://fedorahosted.org/authd/
@@ -15,6 +15,7 @@
Patch3: authd-1.4.3-locale.patch
Patch4: authd-1.4.3-longopt-identifier.patch
Patch5: authd-1.4.3-jiffies64.patch
+Patch6: authd-1.4.3-valist.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: openssl-devel gettext
Requires: xinetd
@@ -33,6 +34,7 @@
%patch3 -p1 -b .locale
%patch4 -p1
%patch5 -p1 -b .jiffies64
+%patch6 -p1 -b .valist
sed -i -e "s|/etc|%{_sysconfdir}|" config.h
%build
@@ -55,7 +57,7 @@
rm -rf $RPM_BUILD_ROOT
%post
-/usr/sbin/adduser -s /sbin/nologin -u 98 -r ident 2>/dev/null || true
+/usr/sbin/adduser -s /sbin/nologin -u 98 -r -d '/' ident 2>/dev/null || true
/usr/bin/openssl rand -base64 -out %{_sysconfdir}/ident.key 32
echo CHANGE THE LINE ABOVE TO A PASSPHRASE >> %{_sysconfdir}/ident.key
/bin/chown ident:ident %{_sysconfdir}/ident.key
@@ -73,6 +75,12 @@
%{_sbindir}/in.authd
%changelog
+* Tue Mar 31 2009 Roman Rakus <rrakus at redhat.com> - 1.4.3-24
+- Fixed using valist with log option on.
+ Resolves: #446844
+- user ident has home dir set to /
+ Resolves: #458144
+
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.3-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the scm-commits
mailing list