Ticket #81: atftp-dnsmasq-exec.patch

File atftp-dnsmasq-exec.patch, 1.4 kB (added by pylon@koeln.ccc.de, 2 years ago)

patch for atftp and dnsmasq Makefile to install some files executable

  • atftp/Makefile

    old new  
    5858 
    5959$(IPKG_ATFTP): 
    6060       $(INSTALL_DIR) $(IDIR_ATFTP)/usr/bin 
    61        $(INSTALL_DATA) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin 
     61       $(INSTALL_BIN) $(WRKBUILD)/atftp $(IDIR_ATFTP)/usr/bin 
    6262       $(RSTRIP) $(IDIR_ATFTP) 
    6363       $(IPKG_BUILD) $(IDIR_ATFTP) $(PACKAGE_DIR) 
    6464 
    6565$(IPKG_ATFTPD): 
    6666       $(INSTALL_DIR) $(IDIR_ATFTPD)/usr/sbin 
    67        $(INSTALL_DATA) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin 
     67       $(INSTALL_BIN) $(WRKBUILD)/atftpd $(IDIR_ATFTPD)/usr/sbin 
    6868       $(RSTRIP) $(IDIR_ATFTPD) 
    6969       $(IPKG_BUILD) $(IDIR_ATFTPD) $(PACKAGE_DIR) 
  • dnsmasq/Makefile

    old new  
    3333       $(INSTALL_DIR) $(IDIR_DNSMASQ)/etc/init.d 
    3434       $(INSTALL_BIN) $(WRKBUILD)/src/$(PKG_NAME) $(IDIR_DNSMASQ)/usr/sbin/ 
    3535       $(INSTALL_DATA) ./files/dnsmasq.conf $(IDIR_DNSMASQ)/etc/dnsmasq.conf 
    36        $(INSTALL_DATA) ./files/dnsmasq.init \ 
     36       $(INSTALL_BIN) ./files/dnsmasq.init \ 
    3737                $(IDIR_DNSMASQ)/etc/init.d/S$(PKG_INIT)dnsmasq 
    3838       $(RSTRIP) $(IDIR_DNSMASQ) 
    3939       $(IPKG_BUILD) $(IDIR_DNSMASQ) $(PACKAGE_DIR)