Procházet zdrojové kódy

atftp: update to 0.8.1

Waldemar Brodkorb před 3 měsíci
rodič
revize
28352f6dc2

+ 4 - 4
package/atftp/Makefile

@@ -4,15 +4,15 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		atftp
-PKG_VERSION:=		0.7.1
+PKG_VERSION:=		0.8.1
 PKG_RELEASE:=		1
-PKG_HASH:=		ae4c6f09cadb8d2150c3ce32d88f19036a54e8211f22d723e97864bb5e18f92d
+PKG_HASH:=		96cbdbd2f16615c89c9db36be9b306de176d9a1c03dcb8cb777625bfe068bc2b
 PKG_DESCR:=		tftp client
 PKG_SECTION:=		net/misc
 PKG_DEPENDS:=		libreadline libncurses
 PKG_BUILDDEP:=		readline ncurses
 PKG_URL:=		http://sourceforge.net/projects/atftp/
-PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=atftp/}
+PKG_SITES:=		https://sourceforge.net/projects/atftp/files/
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
 
@@ -25,8 +25,8 @@ include $(ADK_TOPDIR)/mk/package.mk
 $(eval $(call PKG_template,ATFTP,atftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 $(eval $(call PKG_template,ATFTPD,atftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ATFTPD},${PKG_SECTION}))
 
+AUTOTOOL_STYLE:=	autoreconf
 CONFIGURE_ARGS+=	--disable-libpcre
-MAKE_FLAGS+=		CFLAGS="${TARGET_CFLAGS} -Wall -D_REENTRANT -fno-inline -std=gnu89"
 
 atftp-install:
 	$(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin

+ 0 - 11
package/atftp/patches/patch-Makefile_am

@@ -1,11 +0,0 @@
---- atftp-0.7.1.orig/Makefile.am	2012-07-22 09:20:32.000000000 +0200
-+++ atftp-0.7.1/Makefile.am	2016-10-19 20:02:20.000000000 +0200
-@@ -28,7 +28,7 @@ noinst_HEADERS   = argz.h logger.h optio
- 		   tftpd.h tftpd_pcre.h tftpd_mtftp.h
- 
- bin_PROGRAMS     = atftp
--atftp_LDADD      = $(LIBTERMCAP) $(LIBREADLINE)
-+atftp_LDADD      = $(LIBTERMCAP) $(LIBREADLINE) $(LIBPTHREAD)
- atftp_SOURCES    = tftp.c tftp_io.c logger.c options.c tftp_def.c tftp_file.c \
- 		   argz.c tftp_mtftp.c
- 

+ 0 - 25
package/atftp/patches/patch-argz_h

@@ -1,25 +0,0 @@
---- atftp-0.7.1.orig/argz.h	2011-03-11 07:51:24.000000000 +0100
-+++ atftp-0.7.1/argz.h	2016-10-19 20:02:27.000000000 +0200
-@@ -48,6 +48,22 @@
- # define __const const
- #endif
- 
-+#ifndef __THROW
-+# define __THROW
-+#endif
-+
-+#ifndef __BEGIN_DECLS
-+# define __BEGIN_DECLS
-+#endif
-+
-+#ifndef __END_DECLS
-+# define __END_DECLS
-+#endif
-+
-+#ifndef __attribute_pure__
-+# define __attribute_pure__
-+#endif
-+
- #ifndef __error_t_defined
- typedef int error_t;
- #endif

+ 0 - 10
package/atftp/patches/patch-tftp_h

@@ -1,10 +0,0 @@
---- atftp-0.7.1.orig/tftp.h	2011-03-11 07:51:24.000000000 +0100
-+++ atftp-0.7.1/tftp.h	2016-10-19 20:02:34.000000000 +0200
-@@ -19,6 +19,7 @@
- 
- #include <sys/time.h>
- #include <sys/times.h>
-+#include <sys/types.h>
- #include "tftp_def.h"
- #include "config.h"
- 

+ 0 - 10
package/atftp/patches/patch-tftpd_h

@@ -1,10 +0,0 @@
---- atftp-0.7.1.orig/tftpd.h	2011-03-11 07:51:24.000000000 +0100
-+++ atftp-0.7.1/tftpd.h	2016-10-19 20:02:34.000000000 +0200
-@@ -20,6 +20,7 @@
- #include <pthread.h>
- #include <arpa/tftp.h>
- #include <arpa/inet.h>
-+#include <sys/types.h>
- #include "tftp_io.h"
- 
- /*