Change default aliases file location to /etc/aliases to correspond

with default MTAs' config (#699826)
This commit is contained in:
Honza Horák 2011-05-06 12:26:25 +02:00
parent ce10ce7544
commit 5f3bca2d83
2 changed files with 19 additions and 1 deletions

12
ypserv-2.24-aliases.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up ypserv-2.24/configure.in.aliases ypserv-2.24/configure.in
--- ypserv-2.24/configure.in.aliases 2011-05-06 11:57:05.745509195 +0200
+++ ypserv-2.24/configure.in 2011-05-06 11:57:16.327509192 +0200
@@ -149,7 +149,7 @@ fi
AC_SUBST(MAKE)
dnl Check for aliases path
-AC_PATH_PROG(ALIASES, aliases, /etc/mail/aliases, /etc/mail:/etc)
+AC_PATH_PROG(ALIASES, aliases, /etc/aliases, /etc/mail:/etc)

View File

@ -2,7 +2,7 @@ Summary: The NIS (Network Information Service) server
Url: http://www.linux-nis.org/nis/ypserv/index.html
Name: ypserv
Version: 2.24
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2
@ -26,6 +26,7 @@ Patch5: ypserv-2.13-nonedomain.patch
Patch6: ypserv-2.19-slp-warning.patch
Patch7: ypserv-2.24-staticanal.patch
Patch8: ypserv-2.24-manfix.patch
Patch9: ypserv-2.24-aliases.patch
BuildRequires: gdbm-devel
%description
@ -55,6 +56,7 @@ machines.
%patch6 -p1 -b .slp-warning
%patch7 -p1 -b .staticanal
%patch8 -p1 -b .manfix
%patch9 -p1 -b .aliases
%build
cp etc/README etc/README.etc
@ -136,6 +138,10 @@ exit 0
%{_includedir}/*/*
%changelog
* Fri May 06 2011 Honza Horak <hhorak@redhat.com> - 2.24-4
- Change default aliases file location to /etc/aliases to correspond
with default MTAs' config (#699826)
* Tue Apr 26 2011 Honza Horak <hhorak@redhat.com> - 2.24-3
- Fix problems found by static analysis
- Added man page info about passing arguments to daemons