Changeset 8321


Ignore:
Timestamp:
2007-08-02T23:13:22+02:00 (11 years ago)
Author:
olli
Message:

atftp:

  • Cleanup Makefile
  • Fix download URL
  • Refresh patches
Location:
packages/net/atftp
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • packages/net/atftp/Makefile

    r7278 r8321  
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    16 PKG_SOURCE_URL:=ftp://ftp.mamalinux.com/pub/atftp/ 
     16PKG_SOURCE_URL:=http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/ 
    1717PKG_MD5SUM:=3b27365772d918050b2251d98a9c7c82 
    18 PKG_CAT:=zcat 
    19 TAR_OPTIONS += || true 
    20  
    21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    2218 
    2319PKG_BUILD_DEPENDS:=libncurses libpcre libreadline 
     
    2925  CATEGORY:=Network 
    3026  TITLE:=TFTP 
    31   URL:=ftp://ftp.mamalinux.com/pub/atftp/ 
    3227endef 
    3328 
     
    5550endef 
    5651 
    57 define Build/Configure 
    58         $(call Build/Configure/Default, \ 
    59                 --disable-libwrap \ 
    60         ) 
    61 endef 
     52CONFIGURE_ARGS += \ 
     53        --disable-libwrap  
    6254 
    63 define Build/Compile 
    64         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    65                 $(TARGET_CONFIGURE_OPTS) \ 
    66                 CFLAGS="$(TARGET_CFLAGS) -Wall -D_REENTRANT" \ 
    67                 all 
    68 endef 
     55MAKE_FLAGS += \ 
     56        CFLAGS="$(TARGET_CFLAGS) \ 
     57        -Wall -D_REENTRANT" \ 
     58        all 
    6959 
    7060define Package/atftp/install 
  • packages/net/atftp/patches/100-mconfig.patch

    r3444 r8321  
    1 diff -Nur netkit-tftp-0.17/MCONFIG netkit-tftp-0.17.patched/MCONFIG 
    2 --- netkit-tftp-0.17/MCONFIG    1970-01-01 01:00:00.000000000 +0100 
    3 +++ netkit-tftp-0.17.patched/MCONFIG    2005-06-19 21:16:52.422687029 +0200 
     1Index: atftp-0.7/MCONFIG 
     2=================================================================== 
     3--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     4+++ atftp-0.7/MCONFIG   2007-08-02 23:04:23.000000000 +0200 
    45@@ -0,0 +1,16 @@ 
    56+# Generated by configure (confgen version 2) on Sun Jun 19 21:13:24 CEST 2005 
  • packages/net/atftp/patches/110-services.patch

    r6500 r8321  
    1 diff -urN atftp.old/tftp.c atftp.dev/tftp.c 
    2 --- atftp.old/tftp.c    2004-03-16 00:55:56.000000000 +0100 
    3 +++ atftp.dev/tftp.c    2006-03-22 10:18:54.000000000 +0100 
     1Index: atftp-0.7/tftp.c 
     2=================================================================== 
     3--- atftp-0.7.orig/tftp.c       2007-08-02 23:04:23.000000000 +0200 
     4+++ atftp-0.7/tftp.c    2007-08-02 23:04:23.000000000 +0200 
    45@@ -409,7 +409,7 @@ 
    56 int set_peer(int argc, char **argv) 
     
    5657      data.connected = 1; 
    5758      return OK; 
    58 diff -urN atftp.old/tftpd.c atftp.dev/tftpd.c 
    59 --- atftp.old/tftpd.c   2004-02-27 03:05:26.000000000 +0100 
    60 +++ atftp.dev/tftpd.c   2006-03-22 10:23:20.000000000 +0100 
     59Index: atftp-0.7/tftpd.c 
     60=================================================================== 
     61--- atftp-0.7.orig/tftpd.c      2007-08-02 23:04:23.000000000 +0200 
     62+++ atftp-0.7/tftpd.c   2007-08-02 23:04:23.000000000 +0200 
    6163@@ -230,14 +230,8 @@ 
    6264  
  • packages/net/atftp/patches/120-retry_setting.patch

    r6500 r8321  
    1 diff -urN atftp.old/tftp.c atftp.dev/tftp.c 
    2 --- atftp.old/tftp.c    2006-03-25 16:41:49.000000000 +0100 
    3 +++ atftp.dev/tftp.c    2006-03-25 18:10:04.000000000 +0100 
     1Index: atftp-0.7/tftp.c 
     2=================================================================== 
     3--- atftp-0.7.orig/tftp.c       2007-08-02 23:04:23.000000000 +0200 
     4+++ atftp-0.7/tftp.c    2007-08-02 23:04:23.000000000 +0200 
    45@@ -967,6 +967,7 @@ 
    56           { "tftp-timeout", 1, NULL, 'T'}, 
     
    2829                interactive = 0; 
    2930                if ((action == PUT) || (action == MGET)) 
    30 diff -urN atftp.old/tftp_def.c atftp.dev/tftp_def.c 
    31 --- atftp.old/tftp_def.c        2004-02-13 04:16:09.000000000 +0100 
    32 +++ atftp.dev/tftp_def.c        2006-03-25 18:10:04.000000000 +0100 
     31Index: atftp-0.7/tftp_def.c 
     32=================================================================== 
     33--- atftp-0.7.orig/tftp_def.c   2007-08-02 23:04:23.000000000 +0200 
     34+++ atftp-0.7/tftp_def.c        2007-08-02 23:04:23.000000000 +0200 
    3335@@ -37,6 +37,7 @@ 
    3436      { "timeout", "5", 0, 1 },  /* 2348, 2349, 2090.  */ 
     
    3941 }; 
    4042  
    41 diff -urN atftp.old/tftp_def.h atftp.dev/tftp_def.h 
    42 --- atftp.old/tftp_def.h        2004-02-13 04:16:09.000000000 +0100 
    43 +++ atftp.dev/tftp_def.h        2006-03-25 17:19:15.000000000 +0100 
     43Index: atftp-0.7/tftp_def.h 
     44=================================================================== 
     45--- atftp-0.7.orig/tftp_def.h   2007-08-02 23:04:23.000000000 +0200 
     46+++ atftp-0.7/tftp_def.h        2007-08-02 23:04:23.000000000 +0200 
    4447@@ -40,7 +40,8 @@ 
    4548 #define OPT_TIMEOUT   3 
     
    5255 #define OPT_SIZE     12 
    5356 #define VAL_SIZE     MAXLEN 
    54 diff -urN atftp.old/tftp_file.c atftp.dev/tftp_file.c 
    55 --- atftp.old/tftp_file.c       2004-02-13 04:16:09.000000000 +0100 
    56 +++ atftp.dev/tftp_file.c       2006-03-25 18:10:04.000000000 +0100 
     57Index: atftp-0.7/tftp_file.c 
     58=================================================================== 
     59--- atftp-0.7.orig/tftp_file.c  2007-08-02 23:04:23.000000000 +0200 
     60+++ atftp-0.7/tftp_file.c       2007-08-02 23:04:23.000000000 +0200 
    5761@@ -123,6 +123,7 @@ 
    5862      struct tftphdr *tftphdr = (struct tftphdr *)data->data_buffer; 
Note: See TracChangeset for help on using the changeset viewer.