Update of /cvsroot/leaf/src/bering-uclibc4/source/dhcpcd
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv6904

Modified Files:
        buildtool.cfg buildtool.mk 
Added Files:
        dhcpcd-4.0.15.tar.bz2 dhcpcd.conf 
Log Message:
new version of a dhcp client
4.0.15 from http://roy.marples.name/projects/dhcpcd


--- NEW FILE: dhcpcd.conf ---
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# We normally want to inform the DHCP server of our hostname for DDNS.
#hostname

# A list of options we should request from the DHCP server.
#option domain_name_servers, domain_name, domain_search, host_name
# Most distros have ntp support.
#option ntp_servers

# We should behave nicely on networks and respect their MTU.
# However, a lot of buggy DHCP servers set invalid MTUs so this is not
# enabled by default.
#option interface_mtu

# We provide a hook script to lookup the hostname if not set by the DHCP
# server, but we should not run it by default.
nohook 30-hostname

# do not change resolv.conf
nohook 20-resolv.conf
Index: buildtool.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/dhcpcd/buildtool.mk,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** buildtool.mk        26 Apr 2010 09:02:44 -0000      1.1.1.1
--- buildtool.mk        1 Jul 2010 15:13:38 -0000       1.2
***************
*** 2,41 ****
  include $(MASTERMAKEFILE)
  
! DHCPCD_DIR:=dhcpcd-1.3.22-pl4.orig
  DHCPCD_TARGET_DIR:=$(BT_BUILD_DIR)/dhcpcd
  
  $(DHCPCD_DIR)/.source:
!       zcat $(DHCPCD_SOURCE) | tar -xvf -
!       zcat $(DHCPCD_PATCH1) | patch -d $(DHCPCD_DIR) -p1
        touch $(DHCPCD_DIR)/.source
  
  source: $(DHCPCD_DIR)/.source
                          
! $(DHCPCD_DIR)/.configured: $(DHCPCD_DIR)/.source
!       (cd $(DHCPCD_DIR) ; CC=$(TARGET_CC) LD=$(TARGET_LD) ./configure 
--prefix=/ )
        touch $(DHCPCD_DIR)/.configured
                                                                   
  $(DHCPCD_DIR)/.build: $(DHCPCD_DIR)/.configured
        mkdir -p $(DHCPCD_TARGET_DIR)
!       mkdir -p $(DHCPCD_TARGET_DIR)/sbin
!       mkdir -p $(DHCPCD_TARGET_DIR)/etc/dhcpc
!       make -C $(DHCPCD_DIR) CFLAGS="$(BT_COPT_FLAGS) -fomit-frame-pointer 
-Wall"
!       -$(BT_STRIP) $(BT_STRIP_BINOPTS) $(DHCPCD_DIR)/dhcpcd
!       cp -a $(DHCPCD_DIR)/dhcpcd $(DHCPCD_TARGET_DIR)/sbin/dhcpcd-bin
!       cp -a dhcpcd $(DHCPCD_TARGET_DIR)/sbin  
!       cp -a dhcpcd.exe $(DHCPCD_TARGET_DIR)/etc/dhcpc
!       cp -a config $(DHCPCD_TARGET_DIR)/etc/dhcpc
!       cp -a $(DHCPCD_TARGET_DIR)/* $(BT_STAGING_DIR)
        touch $(DHCPCD_DIR)/.build
  
  build: $(DHCPCD_DIR)/.build
                                                                                
           
! clean:
!       make -C $(DHCPCD_DIR) clean
        rm -rf $(DHCPCD_TARGET_DIR)
!       rm $(DHCPCD_DIR)/.build
!       rm $(DHCPCD_DIR)/.configured
                                                                                
                                   
  srcclean: clean
        rm -rf $(DHCPCD_DIR) 
!       rm $(DHCPCD_DIR)/.source
--- 2,43 ----
  include $(MASTERMAKEFILE)
  
! DHCPCD_DIR:=dhcpcd-4.0.15
  DHCPCD_TARGET_DIR:=$(BT_BUILD_DIR)/dhcpcd
  
  $(DHCPCD_DIR)/.source:
!       bzcat $(DHCPCD_SOURCE) | tar -xvf -
        touch $(DHCPCD_DIR)/.source
  
  source: $(DHCPCD_DIR)/.source
                          
! $(DHCPCD_DIR)/.configured:
!       #(cd $(DHCPD_DIR) ; LD=$(TARGET_LD) ./configure )
        touch $(DHCPCD_DIR)/.configured
                                                                   
  $(DHCPCD_DIR)/.build: $(DHCPCD_DIR)/.configured
        mkdir -p $(DHCPCD_TARGET_DIR)
!       mkdir -p $(BT_STAGING_DIR)/sbin
!       mkdir -p $(BT_STAGING_DIR)/etc/
!       mkdir -p $(BT_STAGING_DIR)/libexec/dhcpcd-hooks
!       make -C $(DHCPCD_DIR) CC=$(TARGET_CC)
!       make -C $(DHCPCD_DIR) CC=$(TARGET_CC) DESTDIR=$(DHCPCD_TARGET_DIR) 
install
! 
!       -$(BT_STRIP) $(BT_STRIP_BINOPTS) $(DHCPCD_TARGET_DIR)/sbin/*
!       
!       cp -a $(DHCPCD_TARGET_DIR)/sbin/* $(BT_STAGING_DIR)/sbin/
!       cp -a $(DHCPCD_TARGET_DIR)/libexec/dhcpcd-run-hooks 
$(BT_STAGING_DIR)/libexec
!       cp -a $(DHCPCD_TARGET_DIR)/libexec/dhcpcd-hooks/* 
$(BT_STAGING_DIR)/libexec/dhcpcd-hooks
!       
!       cp -a dhcpcd.conf $(BT_STAGING_DIR)/etc/dhcpcd.conf     
        touch $(DHCPCD_DIR)/.build
  
  build: $(DHCPCD_DIR)/.build
                                                                                
           
! clean: 
        rm -rf $(DHCPCD_TARGET_DIR)
!       rm -f $(DHCPCD_DIR)/.build
!       rm -f $(DHCPCD_DIR)/.configured
                                                                                
                                   
  srcclean: clean
        rm -rf $(DHCPCD_DIR) 
!       
\ No newline at end of file

--- NEW FILE: dhcpcd-4.0.15.tar.bz2 ---
(This appears to be a binary file; contents omitted.)

Index: buildtool.cfg
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/dhcpcd/buildtool.cfg,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** buildtool.cfg       26 Apr 2010 09:02:44 -0000      1.1.1.1
--- buildtool.cfg       1 Jul 2010 15:13:38 -0000       1.2
***************
*** 5,9 ****
  </File>
                   
! <File dhcpcd_1.3.22pl4.orig.tar.gz>
    Server = cvs4-sourceforge
    Revision = HEAD
--- 5,9 ----
  </File>
                   
! <File dhcpcd-4.0.15.tar.bz2>
    Server = cvs4-sourceforge
    Revision = HEAD
***************
*** 12,23 ****
  </File>
  
! <File dhcpcd_1.3.22pl4-22.diff.gz>
!   Server = cvs4-sourceforge
!   Revision = HEAD
!   envname = DHCPCD_PATCH1
!   directory = dhcpcd
! </File>
! 
! <File dhcpcd.exe>
    Server = cvs4-sourceforge
    Revision = HEAD
--- 12,16 ----
  </File>
  
! <File dhcpcd.conf>
    Server = cvs4-sourceforge
    Revision = HEAD
***************
*** 25,49 ****
  </File>
  
- <File dhcpcd>
-   Server = cvs4-sourceforge
-   Revision = HEAD
-   Directory = dhcpcd
- </File>
  
- <File config>
-   Server = cvs4-sourceforge
-   Revision = HEAD
-   Directory = dhcpcd
- </File>
  
  <Package>
        <dhcpcd>
!               Version = 1.3.22pl4-22
!               Revision = 3
  
                Help <<EOF
!               dhcpcd is a RFC2131, RFC3397 and RFC1541 compliant DHCP client 
!               daemon for automatically configuring IPv4 networking.
!               Homepage: http://www.phystech.com/download/dhcpcd.html
                LEAF package by __PACKAGER__, __BUILDDATE__             
                EOF
--- 18,31 ----
  </File>
  
  
  
  <Package>
        <dhcpcd>
!               Version = 4.0.15
!               Revision = 1
  
                Help <<EOF
!               DHCP client for automatic IP assignment
!               Homepage: http://roy.marples.name/projects/dhcpcd
                LEAF package by __PACKAGER__, __BUILDDATE__             
                EOF
***************
*** 66,73 ****
                                Permissions = 755
                        </File>         
! 
                        <File>          
!                               Source          = sbin/dhcpcd-bin
!                               Filename        = sbin/dhcpcd-bin
                                Type            = binary
                                Permissions = 755
--- 48,73 ----
                                Permissions = 755
                        </File>         
!                       <File>
!                               Source          = etc/dhcpcd.conf
!                               Filename        = etc/dhcpcd.conf
!                               Description     = dhcpcd configuration
!                               Type            = binary
!                               Type            = local
!                               Type            = conf
!                       </File>
!                                                                               
                                                                                
                                                                                
 
                        <File>          
!                               Filename        = /libexec/dhcpcd-hooks
!                               Type            = directory
!                       </File>         
!                       <File>          
!                               Source          = libexec/dhcpcd-run-hooks
!                               Filename        = libexec/dhcpcd-run-hooks
!                               Type            = binary
!                               Permissions = 755
!                       </File>         
!                       <File>          
!                               Source          = libexec/dhcpcd-hooks/10-mtu
!                               Filename        = libexec/dhcpcd-hooks/10-mtu
                                Type            = binary
                                Permissions = 755
***************
*** 75,99 ****
  
                        <File>          
!                               Source          = etc/dhcpc/config
!                               Filename        = etc/dhcpc/config
!                               Type            = conf
                                Type            = binary
!                               Type            = local
!                               Description     = dhcpcd configuration
                        </File>         
                        <File>          
!                               Source          = etc/dhcpc/dhcpcd.exe
!                               Filename        = etc/dhcpc/dhcpcd.exe
                                Type            = binary
!                               Type            = local
!                               Permissions = 744
                        </File>         
- #                     <File>          
- #                             Filename        = etc/dhcpc
- #                             Type            = local
- #                     </File>         
                        <File>          
!                               Filename        = var/lib/dhcpc
!                               Type            = directory
                        </File>         
                </Contents>                     
--- 75,94 ----
  
                        <File>          
!                               Source          = 
libexec/dhcpcd-hooks/20-resolv.conf
!                               Filename        = 
libexec/dhcpcd-hooks/20-resolv.conf
                                Type            = binary
!                               Permissions = 755
                        </File>         
+ 
                        <File>          
!                               Source          = 
libexec/dhcpcd-hooks/30-hostname
!                               Filename        = 
libexec/dhcpcd-hooks/30-hostname
                                Type            = binary
!                               Permissions = 755
                        </File>         
                        <File>          
!                               Filename        = /var/db
!                               Type            = directory
!                               Permissions     = 666
                        </File>         
                </Contents>                     


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to