diff --git a/.hesiod.metadata b/.hesiod.metadata new file mode 100644 index 0000000..aa7a080 --- /dev/null +++ b/.hesiod.metadata @@ -0,0 +1 @@ +8d85e6827f64c8689e127620c53130cbc3906d11 SOURCES/hesiod-3.2.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/hesiod.spec b/SPECS/hesiod.spec new file mode 100644 index 0000000..d9eb812 --- /dev/null +++ b/SPECS/hesiod.spec @@ -0,0 +1,266 @@ +Name: hesiod +Version: 3.2.1 +Release: 1%{?dist} +Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz +Summary: Shared libraries for querying the Hesiod naming service +Group: System Environment/Libraries +License: MIT +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: autoconf, automake, libtool, libidn-devel +Obsoletes: hesinfo < 3.2 + +%description +Hesiod is a system which uses existing DNS functionality to provide access +to databases of information that changes infrequently. It is often used to +distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap +files, among others. + +%package devel +Summary: Development libraries and headers for Hesiod +Group: Development/Libraries +Requires: hesiod = %{version}-%{release} + +%description devel +Hesiod is a system which uses existing DNS functionality to provide access +to databases of information that changes infrequently. It is often used to +distribute information which might otherwise kept in the /etc/passwd, +/etc/group, and /etc/printcap files over a network, eliminating the need to +ensure the files are synchronized among multiple hosts. This package contains +the header files and libraries required for building programs which use Hesiod. + +%changelog +* Wed Apr 3 2013 Nalin Dahyabhai - 3.2.1-1 +- update to 3.2.1 + - merged all patches or equivalents + - re-merged hesinfo, so we obsolete it now + - adds a pkgconfig configuration file for libhesiod +- correct inconsistent changelog dates, assuming day-of-week is correct +- add build requirement on libidn-devel +- package the license + +* Thu Feb 14 2013 Fedora Release Engineering - 3.1.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 3.1.0-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 3.1.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 3.1.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Feb 19 2010 Nalin Dahyabhai - 3.1.0-19 +- fix the release number noted for the previous changelog entry (#225884) +- remove unapplied "classes" patch (#225884) + +* Wed Jan 13 2010 Nalin Dahyabhai - 3.1.0-18 +- adjust buildroot location (guidelines) +- disable static libraries (guidelines) +- tweak default payload attributes (guidelines) + +* Tue Oct 13 2009 Nalin Dahyabhai - 3.1.0-17 +- add a disttag + +* Fri Jul 24 2009 Fedora Release Engineering - 3.1.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 3.1.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Dec 2 2008 Nalin Dahyabhai - 3.1.0-14 +- adjust the package summary + +* Tue Jul 22 2008 Nalin Dahyabhai - 3.1.0-13 +- rebuild + +* Thu Jun 12 2008 Nalin Dahyabhai - 3.1.0-12 +- call aclocal directly, because autoreconf didn't see the magic comment in + the distributed version of aclocal.m4 which made it look like it was safe + to generate a new one (#449550) + +* Mon Jun 2 2008 Nalin Dahyabhai - 3.1.0-11 +- force autoreconf to overwrite files (should fix #449550) + +* Tue Feb 19 2008 Fedora Release Engineering - 3.1.0-10 +- Autorebuild for GCC 4.3 + +* Wed Aug 23 2006 Nalin Dahyabhai - 3.1.0-9 +- rebuild + +* Mon Jul 17 2006 Nalin Dahyabhai - 3.1.0-8 +- rebuild + +* Fri Jul 7 2006 Nalin Dahyabhai - 3.1.0-7 +- use the system libtool to consistently link libhesiod.la with libresolv + +* Fri Jul 7 2006 Nalin Dahyabhai - 3.1.0-6 +- run autoreconf instead of autoconf after untarring so that we get a + config.h.in which suits the changes we make to configure.in (part of #197938) + +* Tue Jun 20 2006 Nalin Dahyabhai - 3.1.0-5 +- don't override libtool's defaults for permissions on its .la file, because + we don't get debuginfo if the execute bit isn't set (pjones, in #190219) + +* Wed Jun 7 2006 Jeremy Katz - 3.1.0-4 +- rebuild for -devel deps + +* Thu Mar 30 2006 Nalin Dahyabhai - 3.1.0-3 +- no, we really did need that patch + +* Thu Mar 30 2006 Nalin Dahyabhai - 3.1.0-2 +- drop a no-longer-needed patch for detecting libresolv properly + +* Thu Mar 30 2006 Nalin Dahyabhai - 3.1.0-1 +- update to 3.1.0 (#187372) + +* Fri Feb 10 2006 Jesse Keating - 3.0.2-31.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 3.0.2-31.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Mar 16 2005 Nalin Dahyabhai 3.0.2-31 +- rebuild + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Sun Oct 19 2003 Florian La Roche +- add a %%clean specfile target + +* Mon Jun 16 2003 Nalin Dahyabhai 3.0.2-28 +- rebuild + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Mon Jan 27 2003 Nalin Dahyabhai 3.0.2-26 +- link libhesiod with libresolv on all platforms + +* Wed Jan 22 2003 Tim Powers 3.0.2-25 +- rebuilt + +* Fri Jan 10 2003 Phil Knirsch 3.0.2-24 +- Fixed wrong .so name for s390/s390x. + +* Fri Jan 10 2003 Phil Knirsch 3.0.2-23 +- Build shared lib correctly on s390 and s390x (with gcc -shared -fPIC). + +* Wed Sep 25 2002 Nalin Dahyabhai 3.0.2-22 +- look harder for res_mkquery() in libresolv + +* Wed Aug 21 2002 Nalin Dahyabhai +- don't choke on large response packets + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sun May 26 2002 Tim Powers +- automated rebuild + +* Thu May 16 2002 Nalin Dahyabhai 3.0.2-19 +- rebuild in new environment + +* Mon Apr 15 2002 Nalin Dahyabhai 3.0.2-18 +- add missing post/postun calls to ldconfig + +* Wed Feb 20 2002 Nalin Dahyabhai 3.0.2-17 +- rebuild in new environment + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Fri Oct 26 2001 Nalin Dahyabhai 3.0.2-15 +- actually set the soname in the shared library (ld doesn't automatically + set the soname to the output file's name, oops) + +* Fri Oct 5 2001 Nalin Dahyabhai 3.0.2-14 +- on second thought, put the shared library back in, using a soversion of 0 + to have a chance at providing compatibility with apps linked dynamically + on other distributions +- make -devel depend on the same version of the main package + +* Wed Oct 3 2001 Nalin Dahyabhai +- remove the shared library patch -- different packages with shared libraries + tend to use different sonames, so we'd run inevitably run into problems + +* Thu Aug 23 2001 Nalin Dahyabhai +- remove pre and post scripts -- authconfig handles that stuff now +- add the hesiod man page back in, as bind-devel doesn't provide it any more + +* Wed Jan 17 2001 Jeremy Katz +- hesiod-devel requires hesiod (bug #128) + +* Thu Sep 14 2000 Jeremy Katz +- remove hesiod man page from hesiod-devel as it conflicts with the one + from bind-devel + +* Thu Sep 14 2000 Jeremy Katz +- use rpm macros where possible and FHS-ify +- split into main and devel packages +- add back requires for nscd + +* Fri Jul 28 2000 Jeremy Katz +- rebuild in new environment + +* Thu Mar 16 2000 Jeremy Katz +- rebuild in new environment + +* Thu Sep 2 1999 Nalin Dahyabhai +- removed dependency on nscd +- changed requires: nscd back to caching-nameserver + +* Mon May 17 1999 Nalin Dahyabhai +- started changelog +- moved addition of hesiod to nsswitch.conf to this package because we + no longer use a separate libnss_hesiod.so +- changed requires: caching-nameserver to nscd +- added post-install script snippet to activate nscd on install + +%prep +%setup -q +libtoolize -f -i +aclocal +automake -f -a +autoconf -f -i + +%build +%configure --disable-static +make + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc README NEWS COPYING +%{_bindir}/* +%{_libdir}/libhesiod.so.* +%{_mandir}/man1/* +%{_mandir}/man5/* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libhesiod.so +%{_libdir}/pkgconfig/* +%{_includedir}/hesiod.h +%{_mandir}/man3/*