OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # |
2 | # Copyright (C) 2006-2010 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | |||
10 | PKG_NAME:=iputils |
||
11 | PKG_VERSION:=20101006 |
||
12 | PKG_RELEASE:=1 |
||
13 | |||
14 | PKG_SOURCE:=$(PKG_NAME)-s$(PKG_VERSION).tar.bz2 |
||
15 | PKG_SOURCE_URL:=http://www.skbuff.net/iputils |
||
16 | PKG_HASH:=fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7 |
||
17 | |||
18 | PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io> |
||
19 | PKG_LICENSE:=GPL-2.0+ |
||
20 | PKG_CPE_ID:=cpe:/a:skbuff:iputils |
||
21 | |||
22 | PKG_BUILD_DEPENDS:=sysfsutils |
||
23 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-s$(PKG_VERSION) |
||
24 | |||
25 | include $(INCLUDE_DIR)/package.mk |
||
26 | |||
27 | |||
28 | define Package/iputils/Default |
||
29 | SECTION:=net |
||
30 | CATEGORY:=Network |
||
31 | URL:=http://www.skbuff.net/iputils |
||
32 | endef |
||
33 | |||
34 | |||
35 | define Package/iputils-arping |
||
36 | $(call Package/iputils/Default) |
||
37 | TITLE:=iputils - arping |
||
38 | DEPENDS+= +libsysfs |
||
39 | endef |
||
40 | |||
41 | define Package/iputils-arping/description |
||
42 | Program arping from iputils. |
||
43 | Sends ARP REQUEST to a neighbour host. |
||
44 | endef |
||
45 | |||
46 | |||
47 | define Package/iputils-clockdiff |
||
48 | $(call Package/iputils/Default) |
||
49 | TITLE:=iputils - clockdiff |
||
50 | endef |
||
51 | |||
52 | define Package/iputils-clockdiff/description |
||
53 | Program clockdiff from iputils. |
||
54 | Measures clock difference between hosts. |
||
55 | endef |
||
56 | |||
57 | |||
58 | define Package/iputils-ping |
||
59 | $(call Package/iputils/Default) |
||
60 | TITLE:=iputils - ping |
||
61 | endef |
||
62 | |||
63 | define Package/iputils-ping/description |
||
64 | Program ping from iputils. |
||
65 | Sends ICMP ECHO_REQUEST to network hosts (IPv4). |
||
66 | endef |
||
67 | |||
68 | |||
69 | define Package/iputils-ping6 |
||
70 | $(call Package/iputils/Default) |
||
71 | TITLE:=iputils - ping6 |
||
72 | DEPENDS+= @IPV6 +USE_GLIBC:libopenssl |
||
73 | endef |
||
74 | |||
75 | define Package/iputils-ping6/description |
||
76 | Program ping6 from iputils. |
||
77 | Sends ICMP ECHO_REQUEST to network hosts (IPv6). |
||
78 | endef |
||
79 | |||
80 | |||
81 | define Package/iputils-tftpd |
||
82 | $(call Package/iputils/Default) |
||
83 | TITLE:=iputils - tftpd |
||
84 | endef |
||
85 | |||
86 | define Package/iputils-tftpd/description |
||
87 | Program tftpd from iputils |
||
88 | Trivial File Transfer Protocol server. |
||
89 | endef |
||
90 | |||
91 | |||
92 | define Package/iputils-tracepath |
||
93 | $(call Package/iputils/Default) |
||
94 | TITLE:=iputils - tracepath |
||
95 | endef |
||
96 | |||
97 | define Package/iputils-tracepath/description |
||
98 | Program tracepath from iputils. |
||
99 | Traces path to a network host discovering MTU along this path (IPv4). |
||
100 | endef |
||
101 | |||
102 | |||
103 | define Package/iputils-tracepath6 |
||
104 | $(call Package/iputils/Default) |
||
105 | TITLE:=iputils - tracepath6 |
||
106 | DEPENDS+= @IPV6 |
||
107 | endef |
||
108 | |||
109 | define Package/iputils-tracepath6/description |
||
110 | Program tracepath6 from iputils. |
||
111 | Traces path to a network host discovering MTU along this path (IPv6). |
||
112 | endef |
||
113 | |||
114 | |||
115 | define Package/iputils-traceroute6 |
||
116 | $(call Package/iputils/Default) |
||
117 | TITLE:=iputils - traceroute6 |
||
118 | DEPENDS+= @IPV6 |
||
119 | endef |
||
120 | |||
121 | define Package/iputils-traceroute6/description |
||
122 | Program traceroute6 from iputils. |
||
123 | Traces path to a network host (IPv6). |
||
124 | endef |
||
125 | |||
126 | ifdef CONFIG_USE_MUSL |
||
127 | TARGET_CFLAGS += -D__UCLIBC__ |
||
128 | endif |
||
129 | |||
130 | MAKE_FLAGS += \ |
||
131 | CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \ |
||
132 | CONFIG_IPV6="$(CONFIG_IPV6)" \ |
||
133 | CONFIG_USE_UCLIBC="$(CONFIG_USE_UCLIBC)$(CONFIG_USE_MUSL)" \ |
||
134 | |||
135 | define Package/iputils-arping/install |
||
136 | $(INSTALL_DIR) $(1)/usr/bin |
||
137 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/arping $(1)/usr/bin/ |
||
138 | endef |
||
139 | |||
140 | define Package/iputils-clockdiff/install |
||
141 | $(INSTALL_DIR) $(1)/usr/bin |
||
142 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/clockdiff $(1)/usr/bin/ |
||
143 | endef |
||
144 | |||
145 | define Package/iputils-ping/install |
||
146 | $(INSTALL_DIR) $(1)/usr/bin |
||
147 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/ping $(1)/usr/bin/ |
||
148 | endef |
||
149 | |||
150 | define Package/iputils-ping6/install |
||
151 | $(INSTALL_DIR) $(1)/usr/bin |
||
152 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/ping6 $(1)/usr/bin/ |
||
153 | endef |
||
154 | |||
155 | define Package/iputils-tftpd/install |
||
156 | $(INSTALL_DIR) $(1)/usr/sbin |
||
157 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/tftpd $(1)/usr/sbin/ |
||
158 | endef |
||
159 | |||
160 | define Package/iputils-tracepath/install |
||
161 | $(INSTALL_DIR) $(1)/usr/bin |
||
162 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/tracepath $(1)/usr/bin/ |
||
163 | endef |
||
164 | |||
165 | define Package/iputils-tracepath6/install |
||
166 | $(INSTALL_DIR) $(1)/usr/bin |
||
167 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/tracepath6 $(1)/usr/bin/ |
||
168 | endef |
||
169 | |||
170 | define Package/iputils-traceroute6/install |
||
171 | $(INSTALL_DIR) $(1)/usr/bin |
||
172 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/traceroute6 $(1)/usr/bin/ |
||
173 | endef |
||
174 | |||
175 | $(eval $(call BuildPackage,iputils-arping)) |
||
176 | $(eval $(call BuildPackage,iputils-clockdiff)) |
||
177 | $(eval $(call BuildPackage,iputils-ping)) |
||
178 | $(eval $(call BuildPackage,iputils-tftpd)) |
||
179 | $(eval $(call BuildPackage,iputils-tracepath)) |
||
180 | $(eval $(call BuildPackage,iputils-ping6)) |
||
181 | $(eval $(call BuildPackage,iputils-tracepath6)) |
||
182 | $(eval $(call BuildPackage,iputils-traceroute6)) |