summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/udp-broadcast-relay/Makefile8
-rw-r--r--package/udp-broadcast-relay/patches/patch-main_c32
2 files changed, 3 insertions, 37 deletions
diff --git a/package/udp-broadcast-relay/Makefile b/package/udp-broadcast-relay/Makefile
index adfeafa79..0ce033403 100644
--- a/package/udp-broadcast-relay/Makefile
+++ b/package/udp-broadcast-relay/Makefile
@@ -4,15 +4,13 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= udp-broadcast-relay
-PKG_VERSION:= 0.3
+PKG_VERSION:= 9a0f13b4b5938bfe0af0d0d4e99dfc127c068e28
PKG_RELEASE:= 1
-PKG_HASH:= 86acb9a359cad1961bdd4be9ae425222c19fd70fc31c730bd2b96629eaba2177
+PKG_GIT:= hash
PKG_DESCR:= listens for packets on a specified udp broadcast port
PKG_SECTION:= net/misc
PKG_URL:= http://www.joachim-breitner.de/udp-broadcast-relay/
-PKG_SITES:= http://www.joachim-breitner.de/udp-broadcast-relay/files/
-
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+PKG_SITES:= https://github.com/nomeata/udp-broadcast-relay.git
include ${ADK_TOPDIR}/mk/package.mk
diff --git a/package/udp-broadcast-relay/patches/patch-main_c b/package/udp-broadcast-relay/patches/patch-main_c
deleted file mode 100644
index f57fb0409..000000000
--- a/package/udp-broadcast-relay/patches/patch-main_c
+++ /dev/null
@@ -1,32 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- udp-broadcast-relay-0.3.orig/main.c 2003-09-28 16:43:32.000000000 +0200
-+++ udp-broadcast-relay-0.3/main.c 2008-10-15 16:04:02.000000000 +0200
-@@ -220,8 +220,8 @@ main(int argc,char **argv)
- }
-
- /* Save the address for later use */
-- bcopy( (struct sockaddr_in *)&reqbuf.ifr_addr,
-- &ifs[maxifs].dstaddr,
-+ memcpy( &ifs[maxifs].dstaddr,
-+ (struct sockaddr_in *)&reqbuf.ifr_addr,
- sizeof(struct sockaddr_in) );
-
- DPRINT("%s: %i / %s\n",
-@@ -349,7 +349,7 @@ main(int argc,char **argv)
- DPRINT("From:\t\t%s:%d\n",inet_ntoa(rcv_addr.sin_addr),rcv_addr.sin_port);
-
- /* copy sender's details into our datagram as the source addr */
-- bcopy(&(rcv_addr.sin_addr.s_addr),(gram+12),4);
-+ memcpy((gram+12),&(rcv_addr.sin_addr.s_addr),4);
- *(u_short*)(gram+20)=(u_short)rcv_addr.sin_port;
-
- /* set the length of the packet */
-@@ -362,7 +362,7 @@ main(int argc,char **argv)
- if (ifs[x].ifindex == rcv_ifindex) continue; /* no bounces, please */
-
- /* Set destination addr ip - port is set already*/
-- bcopy(&(ifs[x].dstaddr.sin_addr.s_addr),(gram+16),4);
-+ memcpy((gram+16),&(ifs[x].dstaddr.sin_addr.s_addr),4);
-
- DPRINT ("Sent to %s:%d on interface %i\n",
- inet_ntoa(ifs[x].dstaddr.sin_addr), /* dst ip */