2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-s
$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://www.skbuff.net
/iputils
16 PKG_MD5SUM
:=a36c25e9ec17e48be514dc0485e7376c
18 PKG_MAINTAINER
:=Jo-Philipp Wich
<jow@openwrt.org
>
20 PKG_BUILD_DEPENDS
:=sysfsutils
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-s
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
26 define Package
/iputils
/Default
29 URL
:=http
://www.skbuff.net
/iputils
33 define Package
/iputils-arping
34 $(call Package
/iputils
/Default
)
35 TITLE
:=iputils
- arping
39 define Package
/iputils-arping
/description
40 Program arping from iputils.
41 Sends ARP REQUEST to a neighbour host.
45 define Package
/iputils-clockdiff
46 $(call Package
/iputils
/Default
)
47 TITLE
:=iputils
- clockdiff
50 define Package
/iputils-clockdiff
/description
51 Program clockdiff from iputils.
52 Measures clock difference between hosts.
56 define Package
/iputils-ping
57 $(call Package
/iputils
/Default
)
61 define Package
/iputils-ping
/description
62 Program ping from iputils.
63 Sends ICMP ECHO_REQUEST to network hosts
(IPv4
).
67 define Package
/iputils-ping6
68 $(call Package
/iputils
/Default
)
69 TITLE
:=iputils
- ping6
70 DEPENDS
+= @IPV6
+USE_EGLIBC
:libopenssl
73 define Package
/iputils-ping6
/description
74 Program ping6 from iputils.
75 Sends ICMP ECHO_REQUEST to network hosts
(IPv6
).
79 define Package
/iputils-tftpd
80 $(call Package
/iputils
/Default
)
81 TITLE
:=iputils
- tftpd
84 define Package
/iputils-tftpd
/description
85 Program tftpd from iputils
86 Trivial File Transfer Protocol server.
90 define Package
/iputils-tracepath
91 $(call Package
/iputils
/Default
)
92 TITLE
:=iputils
- tracepath
95 define Package
/iputils-tracepath
/description
96 Program tracepath from iputils.
97 Traces path to a network host discovering MTU along this path
(IPv4
).
101 define Package
/iputils-tracepath6
102 $(call Package
/iputils
/Default
)
103 TITLE
:=iputils
- tracepath6
107 define Package
/iputils-tracepath6
/description
108 Program tracepath6 from iputils.
109 Traces path to a network host discovering MTU along this path
(IPv6
).
113 define Package
/iputils-traceroute6
114 $(call Package
/iputils
/Default
)
115 TITLE
:=iputils
- traceroute6
119 define Package
/iputils-traceroute6
/description
120 Program traceroute6 from iputils.
121 Traces path to a network host
(IPv6
).
125 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \
126 CONFIG_IPV6
="$(CONFIG_IPV6)" \
127 CONFIG_USE_UCLIBC
="$(CONFIG_USE_UCLIBC)" \
129 define Package
/iputils-arping
/install
130 $(INSTALL_DIR
) $(1)/usr
/bin
131 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/arping
$(1)/usr
/bin
/
134 define Package
/iputils-clockdiff
/install
135 $(INSTALL_DIR
) $(1)/usr
/bin
136 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/clockdiff
$(1)/usr
/bin
/
139 define Package
/iputils-ping
/install
140 $(INSTALL_DIR
) $(1)/usr
/bin
141 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ping
$(1)/usr
/bin
/
144 define Package
/iputils-ping6
/install
145 $(INSTALL_DIR
) $(1)/usr
/bin
146 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ping6
$(1)/usr
/bin
/
149 define Package
/iputils-tftpd
/install
150 $(INSTALL_DIR
) $(1)/usr
/sbin
151 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tftpd
$(1)/usr
/sbin
/
154 define Package
/iputils-tracepath
/install
155 $(INSTALL_DIR
) $(1)/usr
/bin
156 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tracepath
$(1)/usr
/bin
/
159 define Package
/iputils-tracepath6
/install
160 $(INSTALL_DIR
) $(1)/usr
/bin
161 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tracepath6
$(1)/usr
/bin
/
164 define Package
/iputils-traceroute6
/install
165 $(INSTALL_DIR
) $(1)/usr
/bin
166 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/traceroute6
$(1)/usr
/bin
/
169 $(eval
$(call BuildPackage
,iputils-arping
))
170 $(eval
$(call BuildPackage
,iputils-clockdiff
))
171 $(eval
$(call BuildPackage
,iputils-ping
))
172 $(eval
$(call BuildPackage
,iputils-tftpd
))
173 $(eval
$(call BuildPackage
,iputils-tracepath
))
174 $(eval
$(call BuildPackage
,iputils-ping6
))
175 $(eval
$(call BuildPackage
,iputils-tracepath6
))
176 $(eval
$(call BuildPackage
,iputils-traceroute6
))