Changeset 16025


Ignore:
Timestamp:
2009-05-24T14:44:31+02:00 (9 years ago)
Author:
florian
Message:

[package] nfs-utils and nfs-kernel server use the same tarball, merge them into a single package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/nfs-kernel-server/Makefile

    r15276 r16025  
     1# Copyright (C) 2009 OpenWrt.org 
     2# 
     3# This is free software, licensed under the GNU General Public License v2. 
     4# See /LICENSE for more information. 
     5# 
    16 
    27include $(TOPDIR)/rules.mk 
     
    49PKG_NAME:=nfs-kernel-server 
    510PKG_VERSION:=1.1.5 
    6 PKG_RELEASE:=2 
     11PKG_RELEASE:=3 
    712PKG_MD5SUM:=2848072a5e53840b9bc520fbb6782b57 
    813 
     
    1722  SECTION:=net 
    1823  CATEGORY:=Network 
     24  DEPENDS:=+libwrap +libblkid 
    1925  URL:=http://nfs.sourceforge.net/ 
    2026endef 
    2127 
    2228define Package/nfs-kernel-server 
     29  $(call Package/nfs-kernel-server/Default) 
    2330  TITLE:=Kernel NFS server support 
    24   DEPENDS:=+kmod-fs-nfsd +kmod-fs-nfs +portmap +libwrap +libblkid 
     31  DEPENDS+= +kmod-fs-nfsd +kmod-fs-nfs +portmap 
    2532endef 
    2633 
     
    3037 
    3138define Package/nfs-kernel-server-utils 
     39  $(call Package/nfs-kernel-server/Default) 
    3240  TITLE:=NFS server utils 
    33   DEPENDS:=+nfs-kernel-server 
     41  DEPENDS:=nfs-kernel-server 
    3442endef 
    3543 
     
    4048define Package/nfs-kernel-server/conffiles 
    4149/etc/exports 
     50endef 
     51 
     52define Package/nfs-utils 
     53  $(call Package/nfs-kernel-server/Default) 
     54  DEPENDS+= +libevent 
     55  TITLE:=updated mount utility (includes nfs4) 
     56endef 
     57 
     58define Package/nfs-utils/description 
     59  Updated mount.nfs command - allows mounting nfs4 volumes 
    4260endef 
    4361 
     
    7694endef 
    7795 
     96define Package/nfs-utils/install 
     97        $(INSTALL_DIR) $(1)/sbin 
     98        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/mount.nfs $(1)/sbin/ 
     99        (cd $(1)/sbin; ln -sf mount.nfs mount.nfs4; ln -sf mount.nfs umount.nfs; ln -sf mount.nfs umount.nfs4) 
     100endef 
     101 
    78102$(eval $(call BuildPackage,nfs-kernel-server)) 
    79103$(eval $(call BuildPackage,nfs-kernel-server-utils)) 
     104$(eval $(call BuildPackage,nfs-utils)) 
Note: See TracChangeset for help on using the changeset viewer.