|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Summary: DNSSEC key and zone management software
|
|
|
|
Summary: DNSSEC key and zone management software
|
|
|
|
Name: opendnssec
|
|
|
|
Name: opendnssec
|
|
|
|
Version: 2.1.10
|
|
|
|
Version: 2.1.7
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?prever}%{?dist}
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Url: http://www.opendnssec.org/
|
|
|
|
Url: http://www.opendnssec.org/
|
|
|
|
Source0: http://www.opendnssec.org/files/source/%{?prever:testing/}%{name}-%{version}%{?prever}.tar.gz
|
|
|
|
Source0: http://www.opendnssec.org/files/source/%{?prever:testing/}%{name}-%{version}%{?prever}.tar.gz
|
|
|
@ -17,12 +17,8 @@ Source6: opendnssec.cron
|
|
|
|
Source7: opendnssec-2.1.sqlite_convert.sql
|
|
|
|
Source7: opendnssec-2.1.sqlite_convert.sql
|
|
|
|
Source8: opendnssec-2.1.sqlite_rpmversion.sql
|
|
|
|
Source8: opendnssec-2.1.sqlite_rpmversion.sql
|
|
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-Pass-right-remaining-buffer-size-in-hsm_hex_unparse-.patch
|
|
|
|
|
|
|
|
Patch1001: 1001-opendnssec-c99.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: opencryptoki, softhsm >= 2.5.0 , systemd-units
|
|
|
|
Requires: opencryptoki, softhsm >= 2.5.0 , systemd-units
|
|
|
|
Requires: libxml2, libxslt sqlite
|
|
|
|
Requires: libxml2, libxslt sqlite
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: ldns-devel >= 1.6.12, sqlite-devel >= 3.0.0, openssl-devel
|
|
|
|
BuildRequires: ldns-devel >= 1.6.12, sqlite-devel >= 3.0.0, openssl-devel
|
|
|
|
BuildRequires: libxml2-devel CUnit-devel, doxygen
|
|
|
|
BuildRequires: libxml2-devel CUnit-devel, doxygen
|
|
|
@ -36,8 +32,10 @@ Requires(pre): shadow-utils
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
|
|
|
%if 0%{?prever:1}
|
|
|
|
|
|
|
|
# For building development snapshots
|
|
|
|
Buildrequires: autoconf, automake, libtool, java
|
|
|
|
Buildrequires: autoconf, automake, libtool, java
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
OpenDNSSEC was created as an open-source turn-key solution for DNSSEC.
|
|
|
|
OpenDNSSEC was created as an open-source turn-key solution for DNSSEC.
|
|
|
@ -46,21 +44,19 @@ name server. It requires a PKCS#11 crypto module library, such as softhsm
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{?prever}
|
|
|
|
%setup -q -n %{name}-%{version}%{?prever}
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# bump default policy ZSK keysize to 2048
|
|
|
|
# bump default policy ZSK keysize to 2048
|
|
|
|
sed -i "s/1024/2048/" conf/kasp.xml.in
|
|
|
|
sed -i "s/1024/2048/" conf/kasp.xml.in
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export LDFLAGS="-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
|
|
|
|
#export LDFLAGS="-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security"
|
|
|
|
#export CFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wformat-nonliteral -Wformat-security"
|
|
|
|
#export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wformat-nonliteral -Wformat-security"
|
|
|
|
%if 0%{?prever:1}
|
|
|
|
%if 0%{?prever:1}
|
|
|
|
# for development snapshots
|
|
|
|
# for development snapshots
|
|
|
|
sh ./autogen.sh
|
|
|
|
sh ./autogen.sh
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%configure --with-ldns=%{_libdir}
|
|
|
|
%configure --with-ldns=%{_libdir}
|
|
|
|
%make_build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# Requires sample db not shipped with upstream
|
|
|
|
# Requires sample db not shipped with upstream
|
|
|
@ -68,7 +64,7 @@ sh ./autogen.sh
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%make_install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/opendnssec/{tmp,signed,signconf,enforcer}
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/opendnssec/{tmp,signed,signconf,enforcer}
|
|
|
|
install -d -m 0755 %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/cron.d/
|
|
|
|
install -d -m 0755 %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/cron.d/
|
|
|
|
install -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/cron.d/opendnssec
|
|
|
|
install -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/cron.d/opendnssec
|
|
|
@ -181,75 +177,15 @@ ods-enforcer update all >/dev/null 2>/dev/null ||:
|
|
|
|
%systemd_postun_with_restart ods-signerd.service
|
|
|
|
%systemd_postun_with_restart ods-signerd.service
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Apr 27 2023 Rafael Guterres Jeffman <rjeffman@redhat.com> - 2.1.10-1
|
|
|
|
|
|
|
|
- Upstream release 2.1.10.
|
|
|
|
|
|
|
|
Resolves: rhbz#1981324
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.8-4
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.8-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.8-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 20 2021 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 2.1.8-1
|
|
|
|
|
|
|
|
- Update to 2.1.8 (#1931143)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.7-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 19 10:13:50 PST 2020 awilliam@redhat.com - 2.1.7-3
|
|
|
|
|
|
|
|
- Rebuild for libldns soname bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 8 21:09:23 EST 2020 Paul Wouters <pwouters@redhat.com> - 2.1.7-2
|
|
|
|
|
|
|
|
- Resolves rhbz#1826233 ods-enforcerd.service should wait until socket is ready
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 04 2020 Alexander Bokovoy <abokovoy@redhat.com> - 2.1.7-1
|
|
|
|
* Fri Dec 04 2020 Alexander Bokovoy <abokovoy@redhat.com> - 2.1.7-1
|
|
|
|
- Upstream release 2.1.7
|
|
|
|
- Upstream release 2.1.7
|
|
|
|
|
|
|
|
- Resolves: rhbz#1904484
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.6-8
|
|
|
|
* Fri May 08 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
- Resolves: rhbz#1831732 AVC avc: denied { dac_override } for comm="ods-enforcerd
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 2.1.6-7
|
|
|
|
|
|
|
|
- Use make macros
|
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 28 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-6
|
|
|
|
|
|
|
|
- Resolves: rhbz#1833718 ods-signerd.service missing .service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 20 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-5
|
|
|
|
|
|
|
|
- Resolves: rhbz#1825812 AVC avc: denied { dac_override } for comm="ods-enforcerd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 11 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-4
|
|
|
|
|
|
|
|
- Fix migration check to not attempt to check on first install with no db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 03 2020 Alexander Bokovoy <abokovoy@redhat.com> - 2.1.6-3
|
|
|
|
|
|
|
|
- Create and manage /var/opendnssec/enforcer directory
|
|
|
|
|
|
|
|
- Resolves rhbz#1809492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 19 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-2
|
|
|
|
|
|
|
|
- Update to 2.1.6 (major upgrade, supports migration from 1.4.x)
|
|
|
|
|
|
|
|
- gcc10 compile fixups
|
|
|
|
|
|
|
|
- Fix trying to use unversioned libsqlite3.so file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.14-2
|
|
|
|
* Wed Apr 15 2020 Paul Wouters <pwouters@redhat.com> - 2.1.6-1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Resolves: rhbz#1759888 Rebase OpenDNSSEC to 2.1
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2017 Paul Wouters <pwouters@redhat.com> - 1.4.14-1
|
|
|
|
* Tue Dec 12 2017 Paul Wouters <pwouters@redhat.com> - 1.4.14-1
|
|
|
|
- Update to 1.4.14 as first steop to migrating to 2.x
|
|
|
|
- Update to 1.4.14 as first steop to migrating to 2.x
|
|
|
|