packages/fping: fix whitespaces

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40256 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2014-03-27 07:06:19 +00:00
parent b738db70c5
commit 38d52aa79e

View File

@ -25,16 +25,16 @@ define Package/fping
endef endef
define Package/fping/description define Package/fping/description
fping is a ping(1) like program which uses the Internet Control Message Protocol fping is a ping(1) like program which uses the Internet Control Message Protocol
(ICMP) echo request to determine if a host is up. fping is different from ping in (ICMP) echo request to determine if a host is up. fping is different from ping in
that you can specify any number of hosts on the command line, or specify a file that you can specify any number of hosts on the command line, or specify a file
containing the lists of hosts to ping. Instead of trying one host until it timeouts containing the lists of hosts to ping. Instead of trying one host until it timeouts
or replies, fping will send out a ping packet and move on to the next host in a or replies, fping will send out a ping packet and move on to the next host in a
round-robin fashion. If a host replies, it is noted and removed from the list of round-robin fashion. If a host replies, it is noted and removed from the list of
hosts to check. If a host does not respond within a certain time limit and/or retry hosts to check. If a host does not respond within a certain time limit and/or retry
limit it will be considered unreachable. limit it will be considered unreachable.
endef endef
define Build/Configure define Build/Configure
(cd $(PKG_BUILD_DIR); touch \ (cd $(PKG_BUILD_DIR); touch \
configure \ configure \
@ -44,14 +44,14 @@ define Build/Configure
$(call Build/Configure/Default,) $(call Build/Configure/Default,)
endef endef
define Build/Compile define Build/Compile
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) clean $(PKG_NAME) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) clean $(PKG_NAME)
mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)4 mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)4
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -DIPV6=1" -C $(PKG_BUILD_DIR) clean $(PKG_NAME) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -DIPV6=1" -C $(PKG_BUILD_DIR) clean $(PKG_NAME)
mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)6 mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)6
endef endef
define Package/fping/install define Package/fping/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/fping4 $(1)/usr/bin/ $(CP) $(PKG_BUILD_DIR)/fping4 $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/fping6 $(1)/usr/bin/ $(CP) $(PKG_BUILD_DIR)/fping6 $(1)/usr/bin/