tcping: switch to self-maintained source
This commit is contained in:
parent
242b9f9264
commit
b9724bcede
@ -7,16 +7,15 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
|
||||
PKG_NAME:=tcping
|
||||
PKG_VERSION:=0.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/Lienol/tcping.git
|
||||
PKG_MIRROR_HASH:=79414cd8e1d124422a36b8fe36a1f296b7d9bde99807b2c90ad81bbd65e200e0
|
||||
PKG_SOURCE_URL:=https://github.com/Mattraks/tcping.git
|
||||
PKG_MIRROR_HASH:=2af5100ba3ab1a6a4460da3a21d16a96d3b08b656276a9fa321d58ef95bb57b0
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=db9101834732dac9aaa59dbb7fb9c74612dbf723
|
||||
PKG_SOURCE_VERSION:=de2b709f8c386507678041d11102c671d470fea7
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
|
||||
10
package/lienol/tcping/patches/001-Restone-staff.patch
Normal file
10
package/lienol/tcping/patches/001-Restone-staff.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -14,6 +14,7 @@ static volatile int stop = 0;
|
||||
|
||||
void usage(void)
|
||||
{
|
||||
+ fprintf(stderr, "tcping, (C) 2003 folkert@vanheusden.com\n\n");
|
||||
fprintf(stderr, "Usage\n");
|
||||
fprintf(stderr, "tcping [options] <destination>\n\n");
|
||||
fprintf(stderr, "Options:\n");
|
||||
13
package/lienol/tcping/patches/002-Remove-strip.patch
Normal file
13
package/lienol/tcping/patches/002-Remove-strip.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1778ebf..e44119e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -9,7 +9,7 @@ all: tcping
|
||||
|
||||
tcping: $(OBJS)
|
||||
$(CC) $(OBJS) $(LDFLAGS) -o tcping
|
||||
- strip tcping
|
||||
+
|
||||
|
||||
install: tcping
|
||||
cp tcping $(DESTDIR)/usr/bin
|
||||
Loading…
Reference in New Issue
Block a user