|
|
cd93cc |
Name: nuxwdog
|
|
|
2c89d1 |
Version: 1.0.3
|
|
|
0c179a |
Release: 5%{?dist}
|
|
|
cd93cc |
Summary: Watchdog server to start and stop processes, and prompt for passwords
|
|
|
cd93cc |
# The entire source code is LGPLv2 except for the perl module, which is GPL+ or Artistic
|
|
|
cd93cc |
License: LGPLv2 and (GPL+ or Artistic)
|
|
|
cd93cc |
Group: System Environment/Libraries
|
|
|
cd93cc |
URL: http://www.redhat.com/certificate_system
|
|
|
cd93cc |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
cd93cc |
|
|
|
cd93cc |
BuildRequires: ant
|
|
|
cd93cc |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
cd93cc |
BuildRequires: jpackage-utils
|
|
|
cd93cc |
BuildRequires: nspr-devel
|
|
|
cd93cc |
BuildRequires: nss-devel
|
|
|
cd93cc |
BuildRequires: pkgconfig
|
|
|
cd93cc |
BuildRequires: libselinux-devel
|
|
|
cd93cc |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
cd93cc |
BuildRequires: keyutils-libs-devel
|
|
|
cd93cc |
|
|
|
cd93cc |
Requires: nss
|
|
|
cd93cc |
Requires: keyutils-libs
|
|
|
cd93cc |
Obsoletes: nuxwdog-client
|
|
|
cd93cc |
|
|
|
cd93cc |
Source0: https://fedorahosted.org/released/nuxwdog/%{name}-%{version}.tar.gz
|
|
|
cd93cc |
|
|
|
cd93cc |
# Note: there is an rpmlint warning about Nuxwdogclient.so being a private-shared-object-provide
|
|
|
cd93cc |
# This would ordinarily be fixed by calling the macro perl_default_filter, but
|
|
|
cd93cc |
# this disables rpms file coloring and makes the package fail multilib tests.
|
|
|
cd93cc |
|
|
|
cd93cc |
%description
|
|
|
cd93cc |
The nuxwdog package supplies the nuxwdog watchdog daemon,
|
|
|
cd93cc |
used to start,stop, prompt for passwords and monitor processes.
|
|
|
cd93cc |
It also contains C/C++ and Perl client code to allow clients to
|
|
|
cd93cc |
interact with the nuxwdog watchdog daemon.
|
|
|
cd93cc |
|
|
|
cd93cc |
%package devel
|
|
|
cd93cc |
Group: Development/Libraries
|
|
|
cd93cc |
Summary: Development files for the Nuxwdog Watchdog
|
|
|
cd93cc |
Requires: %{name} = %{version}-%{release}
|
|
|
cd93cc |
Obsoletes: nuxwdog-client-devel
|
|
|
cd93cc |
|
|
|
cd93cc |
%description devel
|
|
|
cd93cc |
The nuxwdog-devel package contains the header files needed to build clients
|
|
|
cd93cc |
that call WatchdogClient functions, so that clients can interact with the
|
|
|
cd93cc |
nuxwdog watchdog server.
|
|
|
cd93cc |
|
|
|
cd93cc |
%package client-java
|
|
|
cd93cc |
Group: System Environment/Libraries
|
|
|
cd93cc |
Summary: Nuxwdog Watchdog client JNI Package
|
|
|
273a3c |
Requires: java-headless >= 1:1.6.0
|
|
|
cd93cc |
Requires: jpackage-utils
|
|
|
cd93cc |
Requires: %{name} = %{version}-%{release}
|
|
|
cd93cc |
|
|
|
cd93cc |
%description client-java
|
|
|
cd93cc |
The nuxwdog-client-java package contains a JNI interface to the nuxwdog
|
|
|
cd93cc |
client code, so that Java clients can interact with the nuxwdog watchdog
|
|
|
cd93cc |
server.
|
|
|
cd93cc |
|
|
|
0c179a |
%package client-perl
|
|
|
0c179a |
Group: System Environment/Libraries
|
|
|
0c179a |
Summary: Nuxwdog Watchdog client perl bindings
|
|
|
0c179a |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
0c179a |
Requires: %{name} = %{version}-%{release}
|
|
|
0c179a |
|
|
|
0c179a |
%description client-perl
|
|
|
0c179a |
The nuxwdog-client-perl package contains a perl interface to nuxwdog.
|
|
|
cd93cc |
|
|
|
cd93cc |
%prep
|
|
|
cd93cc |
%setup -q -n %{name}-%{version}
|
|
|
cd93cc |
|
|
|
cd93cc |
%build
|
|
|
cd93cc |
ant \
|
|
|
cd93cc |
-Dproduct.ui.flavor.prefix="" \
|
|
|
cd93cc |
-Dproduct.prefix="" \
|
|
|
cd93cc |
-Dproduct="nuxwdog" \
|
|
|
cd93cc |
-Dversion="%{version}"
|
|
|
cd93cc |
%configure --disable-static \
|
|
|
cd93cc |
%ifarch ppc64 s390x sparc64 x86_64
|
|
|
cd93cc |
--enable-64bit \
|
|
|
cd93cc |
%endif
|
|
|
cd93cc |
--libdir=%{_libdir}
|
|
|
cd93cc |
make
|
|
|
cd93cc |
|
|
|
cd93cc |
%install
|
|
|
cd93cc |
rm -rf %{buildroot}
|
|
|
cd93cc |
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
cd93cc |
|
|
|
cd93cc |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
cd93cc |
|
|
|
cd93cc |
mkdir -p %{buildroot}%{_docdir}
|
|
|
cd93cc |
mv %{buildroot}%{_usr}/doc %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
cd93cc |
|
|
|
cd93cc |
find %{buildroot}/%{perl_vendorarch} -name .packlist |xargs rm -f {}
|
|
|
cd93cc |
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
cd93cc |
find %{buildroot} -name "perllocal.pod" |xargs rm -f {}
|
|
|
cd93cc |
%{_fixperms} %{buildroot}/%{perl_vendorarch}/*
|
|
|
cd93cc |
|
|
|
cd93cc |
mkdir -p %{buildroot}/%{_libdir}/nuxwdog-jni
|
|
|
cd93cc |
mv %{buildroot}/%{_libdir}/libnuxwdog-jni.so %{buildroot}/%{_libdir}/nuxwdog-jni
|
|
|
cd93cc |
mv %{buildroot}%{_usr}/jars/nuxwdog.jar %{buildroot}/%{_libdir}/nuxwdog-jni/nuxwdog-%{version}.jar
|
|
|
cd93cc |
mkdir -p %{buildroot}%{_jnidir}
|
|
|
cd93cc |
cd %{buildroot}/%{_jnidir}
|
|
|
cd93cc |
ln -s %{_libdir}/nuxwdog-jni/nuxwdog-%{version}.jar nuxwdog.jar
|
|
|
cd93cc |
rm -rf %{buildroot}%{_usr}/jars
|
|
|
cd93cc |
rm -rf %{buildroot}%{_usr}/doc
|
|
|
cd93cc |
|
|
|
cd93cc |
%post -p /sbin/ldconfig
|
|
|
cd93cc |
|
|
|
cd93cc |
%postun -p /sbin/ldconfig
|
|
|
cd93cc |
|
|
|
cd93cc |
%clean
|
|
|
cd93cc |
rm -rf %{buildroot}
|
|
|
cd93cc |
|
|
|
cd93cc |
%files
|
|
|
cd93cc |
%defattr(-,root,root,-)
|
|
|
cd93cc |
%doc LICENSE
|
|
|
cd93cc |
%{_bindir}/*
|
|
|
cd93cc |
%{_libdir}/libnuxwdog.so.*
|
|
|
cd93cc |
%{_mandir}/man1/nuxwdog.1*
|
|
|
cd93cc |
|
|
|
cd93cc |
%files devel
|
|
|
cd93cc |
%defattr(-,root,root,-)
|
|
|
cd93cc |
%doc
|
|
|
cd93cc |
%{_includedir}/nuxwdog/
|
|
|
cd93cc |
%{_libdir}/libnuxwdog.so
|
|
|
cd93cc |
|
|
|
cd93cc |
%files client-java
|
|
|
cd93cc |
%defattr(-,root,root,-)
|
|
|
cd93cc |
%doc
|
|
|
cd93cc |
%{_libdir}/nuxwdog-jni/
|
|
|
cd93cc |
%{_jnidir}/*
|
|
|
cd93cc |
|
|
|
0c179a |
%files client-perl
|
|
|
0c179a |
%defattr(-,root,root,-)
|
|
|
0c179a |
%{_mandir}/man3/Nuxwdogclient.3pm*
|
|
|
0c179a |
%{perl_vendorarch}/*
|
|
|
0c179a |
%exclude %dir %{perl_vendorarch}/auto/
|
|
|
0c179a |
|
|
|
cd93cc |
%changelog
|
|
|
0c179a |
* Fri Jun 24 2016 Ade Lee <alee@redhat.com> 1.0.3-5
|
|
|
0c179a |
- Resolves: rhbz#1283272 - Move perl bindings to a subpackage
|
|
|
0c179a |
|
|
|
273a3c |
* Wed Nov 18 2015 Ade Lee <alee@redhat.com> 1.0.3-4
|
|
|
273a3c |
- Resolves: rhbz#1283338 - Use java-headless instead
|
|
|
273a3c |
|
|
|
2c89d1 |
* Wed Jun 17 2015 Ade Lee <alee@redhat.com> 1.0.3-2
|
|
|
2c89d1 |
- Resolves: rhbz#1229817 - Re-enable builds for ppc64/ppc64le/s390x
|
|
|
2c89d1 |
|
|
|
2c89d1 |
* Sun May 10 2015 Ade Lee <alee@redhat.com> 1.0.3-1
|
|
|
2c89d1 |
- Add systemd support
|
|
|
2c89d1 |
|
|
|
2c89d1 |
* Wed Apr 22 2015 Ade Lee <alee@redhat.com> 1.0.2-1
|
|
|
2c89d1 |
- Allow passwords to be retrieved post-init phase
|
|
|
2c89d1 |
- Fix null termination issue on returned stored passwords
|
|
|
fc3346 |
|
|
|
fc3346 |
* Tue Sep 30 2014 Ade Lee <alee@redhat.com> - 1.0.1-10
|
|
|
fc3346 |
- Resolves: rhbz#1117072 - ppc64le is missing from ExcludeArch
|
|
|
fc3346 |
- reverted the previous change. ppc64le now removed from ExcludeArch
|
|
|
fc3346 |
|
|
|
fc3346 |
* Wed Aug 13 2014 Ade Lee <alee@redhat.com> - 1.0.1-9
|
|
|
fc3346 |
- Resolves: rhbz#1117072 - ppc64le is missing from ExcludeArch
|
|
|
fc3346 |
|
|
|
c1a2f0 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.1-8
|
|
|
c1a2f0 |
- Mass rebuild 2013-12-27
|
|
|
c1a2f0 |
|
|
|
cd93cc |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
|
|
|
cd93cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cd93cc |
|
|
|
cd93cc |
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.1-6
|
|
|
cd93cc |
- revbump after jnidir change
|
|
|
cd93cc |
|
|
|
cd93cc |
* Wed Dec 12 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.1-5
|
|
|
cd93cc |
- Rebuilt for jpackage-utils changes
|
|
|
cd93cc |
|
|
|
cd93cc |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4
|
|
|
cd93cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
cd93cc |
|
|
|
cd93cc |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
|
|
|
cd93cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
cd93cc |
|
|
|
cd93cc |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
|
|
cd93cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
cd93cc |
|
|
|
cd93cc |
* Fri Jan 28 2011 Ade Lee <alee@redhat.com> 1.0.1-1
|
|
|
cd93cc |
- Resolves: #643546 - [RFE] Add nuxwdog to RHEL.
|
|
|
cd93cc |
- fix file coloring, aliasing problem
|
|
|
cd93cc |
|
|
|
cd93cc |
* Tue Jan 4 2011 Ade Lee <alee@redhat.com> 1.0.0-16
|
|
|
cd93cc |
- Resolves: #643546 - [RFE] Add nuxwdog to RHEL.
|
|
|
cd93cc |
- fix build problem
|
|
|
cd93cc |
|
|
|
cd93cc |
* Tue Jan 4 2011 Ade Lee <alee@redhat.com> 1.0.0-15
|
|
|
cd93cc |
- Resolves: #643546 - [RFE] Add nuxwdog to RHEL.
|
|
|
cd93cc |
- add needed build requires, requires
|
|
|
cd93cc |
|
|
|
cd93cc |
* Thu Dec 23 2010 Ade Lee <alee@redhat.com> 1.0.0-14
|
|
|
cd93cc |
- Resolves: #643546 - [RFE] Add nuxwdog to RHEL.
|
|
|
cd93cc |
- Remove old encryption scheme
|
|
|
cd93cc |
- Store passwords in kernel keyring
|
|
|
cd93cc |
|
|
|
2c89d1 |
* Thu Dec 16 2010 Ade Lee <alee@redhat.com> 1.0.0-13
|
|
|
cd93cc |
- Resolves: #643546 - [RFE] Add nuxwdog to RHEL.
|
|
|
cd93cc |
|
|
|
cd93cc |
* Wed Dec 15 2010 Ade Lee <alee@redhat.com> 1.0.0-12
|
|
|
cd93cc |
- Resolves: #643546 - [RFE] Add nuxwdog to RHEL.
|
|
|
cd93cc |
|
|
|
cd93cc |
* Wed Dec 15 2010 Ade Lee <alee@redhat.com> 1.0.0-11
|
|
|
cd93cc |
- Exclude arches for which there is no java
|
|
|
cd93cc |
|
|
|
cd93cc |
* Wed Dec 8 2010 Ade Lee <alee@redhat.com> 1.0.0-10
|
|
|
cd93cc |
- Fixed copyright notices
|
|
|
cd93cc |
- Removed versioning for requires
|
|
|
cd93cc |
- Fixed library reference in perl build
|
|
|
cd93cc |
|
|
|
cd93cc |
* Tue Dec 7 2010 Ade Lee <alee@redhat.com> 1.0.0-9
|
|
|
cd93cc |
- Fixed macros and copyrights
|
|
|
cd93cc |
- Copyrights fixed for perl modules
|
|
|
cd93cc |
|
|
|
cd93cc |
* Fri Dec 3 2010 Ade Lee <alee@redhat.com> 1.0.0-8
|
|
|
cd93cc |
- Spec file modified as per fedora review
|
|
|
cd93cc |
- Copyrights fixed for perl modules
|
|
|
cd93cc |
|
|
|
cd93cc |
* Wed Dec 1 2010 Ade Lee <alee@redhat.com> 1.0.0-7
|
|
|
cd93cc |
- Added missing build dependency on MakeMaker
|
|
|
cd93cc |
- Removed extra config flags
|
|
|
cd93cc |
|
|
|
cd93cc |
* Tue Nov 30 2010 Ade Lee <alee@redhat.com> 1.0.0-6
|
|
|
cd93cc |
- Restructure rpms
|
|
|
cd93cc |
- Fix rpmlint issues
|
|
|
cd93cc |
|
|
|
cd93cc |
* Fri Sep 10 2010 Ade Lee <alee@redhat.com> 1.0.0-5
|
|
|
cd93cc |
- Bumped version to match brew builds
|
|
|
cd93cc |
- Bugzilla Bug 630115 - added printMessage() method
|
|
|
cd93cc |
|
|
|
cd93cc |
* Thu Feb 11 2010 Ade Lee <alee@redhat.com> 1.0.0-2
|
|
|
cd93cc |
- Initial version in separated repo.
|
|
|
cd93cc |
|
|
|
cd93cc |
* Tue Dec 1 2009 Ade Lee <alee@redhat.com> 1.0.0-1
|
|
|
cd93cc |
- Initial open source version based upon Red Hat
|
|
|
cd93cc |
Certificate System (RHCS) 6.1 uxwdog code.
|
|
|
cd93cc |
|