From 7c7ea34ad7458e279212b55371a5c77713b6e6d2 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 17 Feb 2010 00:45:09 +0100 Subject: [PATCH] Add liboping (1.3.4). --- config/rootfiles/common/liboping | 23 ++++++++++ lfs/liboping | 77 ++++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 101 insertions(+) create mode 100644 config/rootfiles/common/liboping create mode 100644 lfs/liboping diff --git a/config/rootfiles/common/liboping b/config/rootfiles/common/liboping new file mode 100644 index 0000000000..40b0cc916e --- /dev/null +++ b/config/rootfiles/common/liboping @@ -0,0 +1,23 @@ +usr/bin/oping +#usr/include/oping.h +#usr/lib/liboping.a +#usr/lib/liboping.la +usr/lib/liboping.so +usr/lib/liboping.so.0 +usr/lib/liboping.so.0.2.3 +usr/lib/perl5/site_perl/5.8.8/i586-linux/Net/Oping.pm +usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Net/Oping +usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Net/Oping/.packlist +usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Net/Oping/Oping.bs +usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Net/Oping/Oping.so +#usr/share/man/man3/Net::Oping.3 +#usr/share/man/man3/liboping.3 +#usr/share/man/man3/ping_construct.3 +#usr/share/man/man3/ping_get_error.3 +#usr/share/man/man3/ping_host_add.3 +#usr/share/man/man3/ping_iterator_get.3 +#usr/share/man/man3/ping_iterator_get_context.3 +#usr/share/man/man3/ping_iterator_get_info.3 +#usr/share/man/man3/ping_send.3 +#usr/share/man/man3/ping_setopt.3 +#usr/share/man/man8/oping.8 diff --git a/lfs/liboping b/lfs/liboping new file mode 100644 index 0000000000..cfe985c8a2 --- /dev/null +++ b/lfs/liboping @@ -0,0 +1,77 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.3.4 + +THISAPP = liboping-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 208e185f75f9f8ac96e508bd9e17ef61 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 94f3f5b347..2a85a96245 100755 --- a/make.sh +++ b/make.sh @@ -550,6 +550,7 @@ buildipfire() { ipfiremake br2684ctl ipfiremake pcmciautils ipfiremake lm_sensors + ipfiremake liboping ipfiremake collectd ipfiremake lcd4linux ipfiremake tcptrack -- 2.39.2