b3731e
Name: hesiod
b3731e
Version: 3.2.1
b3731e
Release: 16%{?dist}
b3731e
License: MIT
b3731e
Summary: Shared libraries for querying the Hesiod naming service
b3731e
b3731e
Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz
b3731e
Patch0: Use-secure_getenv-when-it-s-available.patch
b3731e
Patch1: Remove-hard-coded-defaults-for-LHS-and-RHS.patch
b3731e
Patch2: Port-to-libidn2.patch
b3731e
b3731e
BuildRequires: autoconf, automake, libtool, libidn2-devel, git
b3731e
Obsoletes: hesinfo < 3.2
b3731e
b3731e
%global _description\
b3731e
Hesiod is a system which uses existing DNS functionality to provide access\
b3731e
to databases of information that changes infrequently.  It is often used to\
b3731e
distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap\
b3731e
files, among others.
b3731e
b3731e
%description %_description
b3731e
b3731e
%package devel
b3731e
Summary: Development libraries and headers for Hesiod
b3731e
Requires: hesiod = %{version}-%{release}
b3731e
b3731e
%description devel
b3731e
Hesiod is a system which uses existing DNS functionality to provide access
b3731e
to databases of information that changes infrequently.  It is often used to
b3731e
distribute information which might otherwise kept in the /etc/passwd,
b3731e
/etc/group, and /etc/printcap files over a network, eliminating the need to
b3731e
ensure the files are synchronized among multiple hosts.  This package contains
b3731e
the header files and libraries required for building programs which use Hesiod.
b3731e
b3731e
%package -n compat-hesiod
b3731e
Summary: %summary
b3731e
Provides: hesiod = %{version}-%{release}
b3731e
Obsoletes: hesiod <= %{version}-%{release}
b3731e
b3731e
%description -n compat-hesiod %_description
b3731e
b3731e
%prep
b3731e
%autosetup -S git
b3731e
autoreconf -vif
b3731e
b3731e
%build
b3731e
%configure --disable-static
b3731e
make
b3731e
b3731e
%install
b3731e
make install DESTDIR=$RPM_BUILD_ROOT
b3731e
# Remove libtool archives and static libs
b3731e
find %{buildroot} -type f -name "*.la" -delete
b3731e
b3731e
%post -p /sbin/ldconfig
b3731e
b3731e
%postun -p /sbin/ldconfig
b3731e
b3731e
%files -n compat-hesiod
b3731e
%license COPYING
b3731e
%doc README NEWS
b3731e
%{_bindir}/*
b3731e
%{_libdir}/libhesiod.so.*
b3731e
%{_mandir}/man1/*
b3731e
%{_mandir}/man5/*
b3731e
b3731e
%files devel
b3731e
%{_libdir}/libhesiod.so
b3731e
%{_libdir}/pkgconfig/*
b3731e
%{_includedir}/hesiod.h
b3731e
%{_mandir}/man3/*
b3731e
b3731e
%changelog
b3731e
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.1-16
b3731e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b3731e
  Related: rhbz#1991688
b3731e
b3731e
* Mon Apr 19 2021 Robbie Harwood <rharwood@redhat.com> - 3.2.1-15
b3731e
- Import from RHEL 8 and old Fedora; port to libidn2
b3731e
- Resolves: #1944157
b3731e
b3731e
* Thu Oct 11 2018 Robbie Harwood <rharwood@redhat.com> - 3.2.1-14
b3731e
- Fix CVE-2016-10152 (hardcoded DNS fallback)
b3731e
- Fix CVE-2016-10151 (weak SUID check)
b3731e
- Move package to autosetup
b3731e
b3731e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-13
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3731e
b3731e
* Fri May 18 2018 Adam Williamson <awilliam@redhat.com> - 3.2.1-12
b3731e
- Rebuild for new libidn
b3731e
b3731e
* Mon Apr  2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.1-11
b3731e
- Cleanup and modernise spec
b3731e
b3731e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-10
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b3731e
b3731e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-9
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b3731e
b3731e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-8
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3731e
b3731e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-7
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b3731e
b3731e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-6
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b3731e
b3731e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-5
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3731e
b3731e
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-4
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b3731e
b3731e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b3731e
b3731e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b3731e
b3731e
* Wed Apr  3 2013 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.2.1-1
b3731e
- update to 3.2.1
b3731e
  - merged all patches or equivalents
b3731e
  - re-merged hesinfo, so we obsolete it now
b3731e
  - adds a pkgconfig configuration file for libhesiod
b3731e
- correct inconsistent changelog dates, assuming day-of-week is correct
b3731e
- add build requirement on libidn-devel
b3731e
- package the license
b3731e
b3731e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-23
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b3731e
b3731e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-22
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b3731e
b3731e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-21
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b3731e
b3731e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-20
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b3731e
b3731e
* Fri Feb 19 2010 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-19
b3731e
- fix the release number noted for the previous changelog entry (#225884)
b3731e
- remove unapplied "classes" patch (#225884)
b3731e
b3731e
* Wed Jan 13 2010 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-18
b3731e
- adjust buildroot location (guidelines)
b3731e
- disable static libraries (guidelines)
b3731e
- tweak default payload attributes (guidelines)
b3731e
b3731e
* Tue Oct 13 2009 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-17
b3731e
- add a disttag
b3731e
b3731e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-16
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b3731e
b3731e
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-15
b3731e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b3731e
b3731e
* Tue Dec  2 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-14
b3731e
- adjust the package summary
b3731e
b3731e
* Tue Jul 22 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-13
b3731e
- rebuild
b3731e
b3731e
* Thu Jun 12 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-12
b3731e
- call aclocal directly, because autoreconf didn't see the magic comment in
b3731e
  the distributed version of aclocal.m4 which made it look like it was safe
b3731e
  to generate a new one (#449550)
b3731e
b3731e
* Mon Jun  2 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-11
b3731e
- force autoreconf to overwrite files (should fix #449550)
b3731e
b3731e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-10
b3731e
- Autorebuild for GCC 4.3
b3731e
b3731e
* Wed Aug 23 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-9
b3731e
- rebuild
b3731e
b3731e
* Mon Jul 17 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-8
b3731e
- rebuild
b3731e
b3731e
* Fri Jul  7 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-7
b3731e
- use the system libtool to consistently link libhesiod.la with libresolv
b3731e
b3731e
* Fri Jul  7 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-6
b3731e
- run autoreconf instead of autoconf after untarring so that we get a
b3731e
  config.h.in which suits the changes we make to configure.in (part of #197938)
b3731e
b3731e
* Tue Jun 20 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-5
b3731e
- don't override libtool's defaults for permissions on its .la file, because
b3731e
  we don't get debuginfo if the execute bit isn't set (pjones, in #190219)
b3731e
b3731e
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 3.1.0-4
b3731e
- rebuild for -devel deps
b3731e
b3731e
* Thu Mar 30 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-3
b3731e
- no, we really did need that patch
b3731e
b3731e
* Thu Mar 30 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-2
b3731e
- drop a no-longer-needed patch for detecting libresolv properly
b3731e
b3731e
* Thu Mar 30 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-1
b3731e
- update to 3.1.0 (#187372)
b3731e
b3731e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.2-31.2.1
b3731e
- bump again for double-long bug on ppc(64)
b3731e
b3731e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0.2-31.2
b3731e
- rebuilt for new gcc4.1 snapshot and glibc changes
b3731e
b3731e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
b3731e
- rebuilt
b3731e
b3731e
* Wed Mar 16 2005 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-31
b3731e
- rebuild
b3731e
b3731e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
b3731e
- rebuilt
b3731e
b3731e
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
b3731e
- rebuilt
b3731e
b3731e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b3731e
- rebuilt
b3731e
b3731e
* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
b3731e
- add a %%clean specfile target
b3731e
b3731e
* Mon Jun 16 2003 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-28
b3731e
- rebuild
b3731e
b3731e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
b3731e
- rebuilt
b3731e
b3731e
* Mon Jan 27 2003 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-26
b3731e
- link libhesiod with libresolv on all platforms
b3731e
b3731e
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 3.0.2-25
b3731e
- rebuilt
b3731e
b3731e
* Fri Jan 10 2003 Phil Knirsch <pknirsch@redhat.com> 3.0.2-24
b3731e
- Fixed wrong .so name for s390/s390x.
b3731e
b3731e
* Fri Jan 10 2003 Phil Knirsch <pknirsch@redhat.com> 3.0.2-23
b3731e
- Build shared lib correctly on s390 and s390x (with gcc -shared -fPIC).
b3731e
b3731e
* Wed Sep 25 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-22
b3731e
- look harder for res_mkquery() in libresolv
b3731e
b3731e
* Wed Aug 21 2002 Nalin Dahyabhai <nalin@redhat.com>
b3731e
- don't choke on large response packets
b3731e
b3731e
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
b3731e
- automated rebuild
b3731e
b3731e
* Sun May 26 2002 Tim Powers <timp@redhat.com>
b3731e
- automated rebuild
b3731e
b3731e
* Thu May 16 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-19
b3731e
- rebuild in new environment
b3731e
b3731e
* Mon Apr 15 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-18
b3731e
- add missing post/postun calls to ldconfig
b3731e
b3731e
* Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-17
b3731e
- rebuild in new environment
b3731e
b3731e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
b3731e
- automated rebuild
b3731e
b3731e
* Fri Oct 26 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-15
b3731e
- actually set the soname in the shared library (ld doesn't automatically
b3731e
  set the soname to the output file's name, oops)
b3731e
b3731e
* Fri Oct  5 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-14
b3731e
- on second thought, put the shared library back in, using a soversion of 0
b3731e
  to have a chance at providing compatibility with apps linked dynamically
b3731e
  on other distributions
b3731e
- make -devel depend on the same version of the main package
b3731e
b3731e
* Wed Oct  3 2001 Nalin Dahyabhai <nalin@redhat.com>
b3731e
- remove the shared library patch -- different packages with shared libraries
b3731e
  tend to use different sonames, so we'd run inevitably run into problems
b3731e
b3731e
* Thu Aug 23 2001 Nalin Dahyabhai <nalin@redhat.com>
b3731e
- remove pre and post scripts -- authconfig handles that stuff now
b3731e
- add the hesiod man page back in, as bind-devel doesn't provide it any more
b3731e
b3731e
* Wed Jan 17 2001 Jeremy Katz <jlkatz@eos.ncsu.edu>
b3731e
- hesiod-devel requires hesiod (bug #128)
b3731e
b3731e
* Thu Sep 14 2000 Jeremy Katz <jlkatz@eos.ncsu.edu>
b3731e
- remove hesiod man page from hesiod-devel as it conflicts with the one 
b3731e
  from bind-devel
b3731e
b3731e
* Thu Sep 14 2000 Jeremy Katz <jlkatz@eos.ncsu.edu>
b3731e
- use rpm macros where possible and FHS-ify
b3731e
- split into main and devel packages
b3731e
- add back requires for nscd
b3731e
b3731e
* Fri Jul 28 2000 Jeremy Katz <jlkatz@eos.ncsu.edu>
b3731e
- rebuild in new environment
b3731e
b3731e
* Thu Mar 16 2000 Jeremy Katz <jlkatz@unity.ncsu.edu>
b3731e
- rebuild in new environment
b3731e
b3731e
* Thu Sep  2 1999 Nalin Dahyabhai <nsdahya1@eos.ncsu.edu>
b3731e
- removed dependency on nscd
b3731e
- changed requires: nscd back to caching-nameserver
b3731e
b3731e
* Mon May 17 1999 Nalin Dahyabhai <nsdahya1@eos.ncsu.edu>
b3731e
- started changelog
b3731e
- moved addition of hesiod to nsswitch.conf to this package because we
b3731e
  no longer use a separate libnss_hesiod.so
b3731e
- changed requires: caching-nameserver to nscd
b3731e
- added post-install script snippet to activate nscd on install