rpms/whatsup/devel import.log, NONE, 1.1 whatsup-fix-initscript.patch, NONE, 1.1 whatsup-hostsfile, NONE, 1.1 whatsup-incorrect-open.patch, NONE, 1.1 whatsup-install-into-vendor-dir.patch, NONE, 1.1 whatsup-move-initscript.patch, NONE, 1.1 whatsup.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ruben Kerkhof
ruben at fedoraproject.org
Wed Sep 10 12:47:37 UTC 2008
- Previous message (by thread): rpms/apricots/devel apricots-0.2.6-alut-apricots.patch, NONE, 1.1 apricots-0.2.6-alut-configure.patch, NONE, 1.1 apricots-0.2.6-alut-sampleio.patch, NONE, 1.1 apricots-0.2.6-path.patch, NONE, 1.1 apricots.desktop, NONE, 1.1 apricots.png, NONE, 1.1 apricots.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/yum-utils/devel repoquery-unbreak.patch, NONE, 1.1 yum-utils.spec, 1.45, 1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ruben
Update of /cvs/pkgs/rpms/whatsup/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4479/devel
Modified Files:
.cvsignore sources
Added Files:
import.log whatsup-fix-initscript.patch whatsup-hostsfile
whatsup-incorrect-open.patch
whatsup-install-into-vendor-dir.patch
whatsup-move-initscript.patch whatsup.spec
Log Message:
Initial import into devel
--- NEW FILE import.log ---
whatsup-1_8-1_fc9:HEAD:whatsup-1.8-1.fc9.src.rpm:1221050801
whatsup-fix-initscript.patch:
--- NEW FILE whatsup-fix-initscript.patch ---
diff -up whatsup-1.7/etc/whatsup-pingd.orig whatsup-1.7/etc/whatsup-pingd
--- whatsup-1.7/etc/whatsup-pingd.orig 2008-04-26 02:17:14.000000000 +0200
+++ whatsup-1.7/etc/whatsup-pingd 2008-04-26 02:18:16.000000000 +0200
@@ -1,16 +1,15 @@
#!/bin/sh
-# $Id: whatsup-pingd,v 1.1 2006/07/07 21:00:48 chu11 Exp $
#
-# chkconfig: 2345 70 40
-# description: pingd startup script
+# chkconfig: - 70 40
+# description: whatsup-pingd startup script
#
### BEGIN INIT INFO
-# Provides: pingd
+# Provides: whatsup-pingd
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
-# Default-Start: 3 5
# Default-Stop: 0 1 2 6
-# Description: Start pingd
+# Description: Start whatsup-pingd
+# Short-Description: Start whatsup-pingd
### END INIT INFO
PINGD=/usr/sbin/pingd
--- NEW FILE whatsup-hostsfile ---
localhost
whatsup-incorrect-open.patch:
--- NEW FILE whatsup-incorrect-open.patch ---
diff -up whatsup-1.7/src/whatsup/whatsup.c.orig whatsup-1.7/src/whatsup/whatsup.c
--- whatsup-1.7/src/whatsup/whatsup.c.orig 2008-04-25 19:54:51.000000000 +0200
+++ whatsup-1.7/src/whatsup/whatsup.c 2008-04-25 19:55:07.000000000 +0200
@@ -1171,7 +1171,7 @@ _log_mode(void)
if (log_file)
{
- if ((log_file_fd = open (log_file, O_WRONLY | O_CREAT), 600) < 0)
+ if (log_file_fd = open (log_file, O_WRONLY | O_CREAT, 600) < 0)
err_exit("error opening log_file = %s: %s", log_file, strerror(errno));
}
else
whatsup-install-into-vendor-dir.patch:
--- NEW FILE whatsup-install-into-vendor-dir.patch ---
diff -up whatsup-1.8/src/Libnodeupdown/Makefile.in.orig whatsup-1.8/src/Libnodeupdown/Makefile.in
--- whatsup-1.8/src/Libnodeupdown/Makefile.in.orig 2008-08-14 07:58:14.000000000 -0500
+++ whatsup-1.8/src/Libnodeupdown/Makefile.in 2008-08-14 07:58:25.000000000 -0500
@@ -210,7 +210,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
PERL_INC = "-I../../config -I$(srcdir)/../libcommon -I$(srcdir)/../libexpat -I$(srcdir)/../libnodeupdown"
PERL_LIBS = "-L../libnodeupdown/.libs -lnodeupdown"
-MAKEMAKERFLAGS = INSTALLDIRS=site \
+MAKEMAKERFLAGS = INSTALLDIRS=vendor \
DESTDIR=$(PERL_DESTDIR) \
SITEPREFIX=$(prefix) \
INC=$(PERL_INC) \
whatsup-move-initscript.patch:
--- NEW FILE whatsup-move-initscript.patch ---
diff -up whatsup-1.7/etc/Makefile.in.orig whatsup-1.7/etc/Makefile.in
--- whatsup-1.7/etc/Makefile.in.orig 2008-04-26 01:32:02.000000000 +0200
+++ whatsup-1.7/etc/Makefile.in 2008-04-26 01:33:28.000000000 +0200
@@ -365,9 +365,10 @@ uninstall-am: uninstall-info-am
install-data-hook:
- at WITH_PINGD_TRUE@ $(top_srcdir)/config/install-sh -m 755 -d $(DESTDIR)/$(sysconfdir)/init.d
- at WITH_PINGD_TRUE@ cp $(srcdir)/whatsup-pingd $(DESTDIR)/$(sysconfdir)/init.d/whatsup-pingd; \
- at WITH_PINGD_TRUE@ chmod 755 $(DESTDIR)/$(sysconfdir)/init.d/whatsup-pingd
+ at WITH_PINGD_TRUE@ $(top_srcdir)/config/install-sh -m 755 -d $(DESTDIR)/$(sysconfdir)/rc.d/init.d
+ at WITH_PINGD_TRUE@ $(DESTDIR)/$(sysconfdir)/rc.d/init.d/whatsup-pingd; \
+ at WITH_PINGD_TRUE@ cp $(srcdir)/whatsup-pingd $(DESTDIR)/$(sysconfdir)/rc.d/init.d/whatsup-pingd; \
+ at WITH_PINGD_TRUE@ chmod 755 $(DESTDIR)/$(sysconfdir)/rc.d/init.d/whatsup-pingd
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
--- NEW FILE whatsup.spec ---
%define libname libnodeupdown
Summary: Node up/down detection utility
Name: whatsup
Version: 1.8
Release: 1%{?dist}
Group: Applications/Communications
License: GPLv2+
URL: https://computing.llnl.gov/linux/whatsup.html
Source0: http://master.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}-hostsfile
Patch0: %{name}-incorrect-open.patch
Patch1: %{name}-install-into-vendor-dir.patch
Patch2: %{name}-move-initscript.patch
Patch3: %{name}-fix-initscript.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: %{libname} = %{version}-%{release}
%description
Whatsup is a cluster node up/down detection utility.
Whatsup can quickly calculate and output the up and down nodes of a cluster.
Whatsup allows some tools, such as Pdsh, to operate more quickly by
not operating on down nodes. Whatsup calculates the up and down nodes of a
cluster through one of several possible backend tools
and several optional cluster node databases.
%package -n %{libname}-devel
Summary: Development headers for %{libname}
Group: Applications/Communications
Requires: %{libname} = %{version}-%{release}
%description -n %{libname}-devel
development headers for %{libname}
%package -n %{libname}
Summary: A cluster node up/down detection library
Group: Applications/Communications
%description -n %{libname}
A cluster node up/down detection library, with different backends
%package -n %{libname}-backend-ganglia
Summary: Ganglia backend for %{libname}
Group: Applications/Communications
Requires: %{libname} = %{version}-%{release}
BuildRequires: ganglia-devel
%description -n %{libname}-backend-ganglia
Ganglia backend module for %{libname}
%package -n %{libname}-backend-pingd
Summary: Pingd backend for %{libname}
Group: Applications/Communications
Requires: %{libname} = %{version}-%{release}
Requires: %{name}-pingd = %{version}-%{release}
%description -n %{libname}-backend-pingd
pingd backend module for %{libname}
%package -n %{name}-pingd
Summary: Pingd daemon for %{name}
Group: Applications/Communications
Requires: %{libname} = %{version}-%{release}
%description -n %{name}-pingd
pingd daemon for %{name}
%package -n perl-%{libname}
Summary: Perl bindings for %{libname}
Group: Applications/Communications
Requires: %{libname} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description -n perl-%{libname}
Perl bindings for %{libname}
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure --disable-static
make %{?_smpflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
mkdir -vp %{buildroot}%{_initrddir}
# for whatsup-pingd
install -m 644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/hostsfile
mkdir -vp %{buildroot}%{perl_vendorlib}
mv -v %{buildroot}%{_libdir}/Nodeupdown.pm %{buildroot}%{perl_vendorlib}/Nodeupdown.pm
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name "*.bs" -exec rm -f {} \;
find %{buildroot} -type f -name "*.la" -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%clean
rm -rf %{buildroot}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%post -n %{name}-pingd
/sbin/chkconfig --add %{name}-pingd
%preun -n %{name}-pingd
if [ $1 -eq 0 ]; then
/sbin/chkconfig --del %{name}-pingd
/sbin/service %{name}-pingd stop >/dev/null 2>&1 || :
fi
%postun -n %{name}-pingd
if [ $1 -ge 1 ] ; then
/sbin/service %{name}-pingd condrestart > /dev/null 2>&1 || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING DISCLAIMER NEWS README
%{_bindir}/whatsdown
%{_bindir}/whatsup
%{_mandir}/man1/*
%files -n perl-%{libname}
%defattr(-,root,root,-)
%doc COPYING
%{_mandir}/man3/Libnodeupdown.3*
%{_mandir}/man3/Nodeupdown.3*
%{perl_vendorarch}/*
%{perl_vendorlib}/*
%files -n %{libname}-backend-pingd
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/nodeupdown/nodeupdown_backend_pingd.so
%files -n %{name}-pingd
%defattr(-,root,root,-)
%doc COPYING
%{_initrddir}/%{name}-pingd
%{_sbindir}/pingd
%dir %{_libdir}/pingd
%{_libdir}/pingd/pingd_clusterlist_hostsfile.so
%config(noreplace) %{_sysconfdir}/hostsfile
%{_mandir}/man5/pingd.conf.5*
%{_mandir}/man8/pingd.8*
%files -n %{libname}-devel
%defattr(-,root,root,-)
%doc COPYING
%{_includedir}/nodeupdown.h
%dir %{_includedir}/nodeupdown
%{_includedir}/nodeupdown/*.h
%{_libdir}/libnodeupdown*.so
%{_mandir}/man3/nodeupdown*
%files -n %{libname}
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libnodeupdown*.so.*
%dir %{_libdir}/nodeupdown
%{_libdir}/nodeupdown/nodeupdown_clusterlist_hostsfile.so
%{_mandir}/man3/libnodeupdown.3*
%{_mandir}/man5/nodeupdown.conf.5*
%files -n %{libname}-backend-ganglia
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/nodeupdown/nodeupdown_backend_ganglia.so
%changelog
* Thu Aug 14 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.8-1
- Upstream release new version
* Fri Apr 25 2008 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.7-1
- Initial import
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/whatsup/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 24 Aug 2008 19:03:40 -0000 1.1
+++ .cvsignore 10 Sep 2008 12:47:06 -0000 1.2
@@ -0,0 +1 @@
+whatsup-1.8.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/whatsup/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Aug 2008 19:03:40 -0000 1.1
+++ sources 10 Sep 2008 12:47:06 -0000 1.2
@@ -0,0 +1 @@
+ee4fae44b83fd70ba29622e57dfadc3e whatsup-1.8.tar.gz
- Previous message (by thread): rpms/apricots/devel apricots-0.2.6-alut-apricots.patch, NONE, 1.1 apricots-0.2.6-alut-configure.patch, NONE, 1.1 apricots-0.2.6-alut-sampleio.patch, NONE, 1.1 apricots-0.2.6-path.patch, NONE, 1.1 apricots.desktop, NONE, 1.1 apricots.png, NONE, 1.1 apricots.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/yum-utils/devel repoquery-unbreak.patch, NONE, 1.1 yum-utils.spec, 1.45, 1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list