Blame SPECS/hesiod.spec

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