Changeset 26852


Ignore:
Timestamp:
2011-05-08T13:05:21+02:00 (7 years ago)
Author:
jow
Message:

[PATCH] split rsyncd into a separate package
Split rsyncd into a separate package

Make rsyncd a separate config option so that people who don't want an
rsync daemon using up RAM can still select the rsync client. Depends
on rsync for the binary, the rsyncd package just consists of the init
script and configuration files.

Signed-off-by: Russell Senior <seniorr at aracnet.com>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/rsync/Makefile

    r26634 r26852  
    3030endef 
    3131 
     32define Package/rsyncd 
     33  SECTION:=net 
     34  CATEGORY:=Network 
     35  SUBMENU:=File Transfer 
     36  TITLE:=Rsync daemon 
     37  DEPENDS:=+rsync 
     38endef 
     39 
    3240define Package/rsync/description 
    3341        rsync is a program that allows files to be copied to 
     
    5058 
    5159define Package/rsync/install 
     60        $(INSTALL_DIR) $(1)/usr/bin 
     61        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ 
     62endef 
     63 
     64define Package/rsyncd/install 
    5265        $(INSTALL_DIR) $(1)/etc 
    5366        $(INSTALL_DATA) ./files/rsyncd.conf $(1)/etc/ 
    5467        $(INSTALL_DIR) $(1)/etc/init.d 
    5568        $(INSTALL_BIN) ./files/rsyncd.init $(1)/etc/init.d/rsyncd 
    56         $(INSTALL_DIR) $(1)/usr/bin 
    57         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ 
    5869endef 
    5970 
    6071$(eval $(call BuildPackage,rsync)) 
     72$(eval $(call BuildPackage,rsyncd)) 
Note: See TracChangeset for help on using the changeset viewer.