Changeset 22159 for packages


Ignore:
Timestamp:
2010-07-13T05:07:11+02:00 (6 years ago)
Author:
nico
Message:

[packages] ntpd: update to 4.2.6p2, add missing conffiles & postinst for ntpd-ssl, reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ntpd/Makefile

    r20100 r22159  
    99 
    1010PKG_NAME:=ntp 
    11 PKG_VERSION:=4.2.6 
    12 PKG_RELEASE:=4 
     11PKG_VERSION:=4.2.6p2 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ 
    16 PKG_MD5SUM:=4d64a99592b818aa9419fc9dcb149746 
     16PKG_MD5SUM:=cf73cd85f248232c62f8029e6eb05938 
    1717 
    1818PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) 
     
    3333 
    3434define Package/ntpd/Default/description 
    35         The ISC ntp suite is a collection of tools used to synchronize 
    36         the system clock with remote NTP time servers and run/montior 
    37         local NTP servers. 
     35 The ISC ntp suite is a collection of tools used to synchronize the 
     36 system clock with remote NTP time servers and run/montior local NTP 
     37 servers. 
    3838endef 
    3939 
    4040define Package/ntpd 
    41   $(call Package/ntpd/Default) 
     41$(call Package/ntpd/Default) 
    4242  TITLE+= server 
    4343  VARIANT:=nossl 
     
    4545 
    4646define Package/ntpd/description 
    47         $(call Package/ntpd/Default/description) 
    48         This package contains the ntpd server. 
     47$(call Package/ntpd/Default/description) 
     48 . 
     49 This package contains the ntpd server. 
    4950endef 
    5051 
    5152define Package/ntpd-ssl 
    52   $(call Package/ntpd/Default) 
     53$(call Package/ntpd/Default) 
    5354  TITLE+= server (with OpenSSL support) 
     55  VARIANT:=ssl 
    5456  DEPENDS:=+libopenssl 
    55    VARIANT:=ssl 
    5657endef 
    5758 
    5859define Package/ntpd-ssl/description 
    59         $(call Package/ntpd/Default/description) 
    60         This package contains the ntpd server with OpenSSL support. 
     60$(call Package/ntpd/Default/description) 
     61 . 
     62 This package contains the ntpd server with OpenSSL support. 
    6163endef 
    6264 
    6365define Package/ntpdate 
    64   $(call Package/ntpd/Default) 
     66$(call Package/ntpd/Default) 
    6567  TITLE+=date 
    6668  VARIANT:=nossl 
     
    6870 
    6971define Package/ntpdate/description 
    70         $(call Package/ntpd/Default/description) 
    71         This package contains ntpdate. 
     72$(call Package/ntpd/Default/description) 
     73 . 
     74 This package contains ntpdate. 
    7275endef 
    7376 
    7477define Package/ntp-utils 
    75   $(call Package/ntpd/Default) 
    76   DEPENDS:=+libncurses 
     78$(call Package/ntpd/Default) 
    7779  TITLE+= utilities 
    7880  VARIANT:=nossl 
     81  DEPENDS:=+libncurses 
    7982endef 
    8083 
    8184define Package/ntp-utils/description 
    82         $(call Package/ntpd/Default/description) 
    83         This package contains ntpdc and ntpq. 
     85$(call Package/ntpd/Default/description) 
     86 . 
     87 This package contains ntpdc and ntpq. 
    8488endef 
    8589 
     
    97101 
    98102define Package/ntpdate/postinst 
    99   $(call Package/ntpd/Default/postinst) 
     103$(call Package/ntpd/Default/postinst) 
    100104endef 
    101105 
    102106define Package/ntpd/postinst 
    103   $(call Package/ntpd/Default/postinst) 
     107$(call Package/ntpd/Default/postinst) 
    104108endef 
    105109 
    106110define Package/ntp-utils/postinst 
    107   $(call Package/ntpd/Default/postinst) 
     111$(call Package/ntpd/Default/postinst) 
    108112endef 
    109113 
     
    126130 
    127131ifeq ($(BUILD_VARIANT),ssl) 
    128         CONFIGURE_ARGS += \ 
    129                 --with-crypto \ 
    130                 --with-openssl-incdir="$(STAGING_DIR)/usr/include" \ 
    131                 --with-openssl-libdir="$(STAGING_DIR)/usr/lib" 
     132  CONFIGURE_ARGS += \ 
     133        --with-crypto \ 
     134        --with-openssl-incdir="$(STAGING_DIR)/usr/include" \ 
     135        --with-openssl-libdir="$(STAGING_DIR)/usr/lib" 
    132136endif 
    133137 
    134138define Package/ntpd/install 
    135         $(INSTALL_DIR) $(1)/usr/sbin/ 
    136         $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpd/ntpd $(1)/usr/sbin/ntpd 
     139        $(INSTALL_DIR) $(1)/usr/sbin 
     140        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpd/ntpd $(1)/usr/sbin/ 
    137141        $(INSTALL_DIR) $(1)/etc 
    138142        $(INSTALL_CONF) ./files/ntp.conf $(1)/etc/ 
     
    143147endef 
    144148 
     149Package/ntpd-ssl/conffiles = $(Package/ntpd/conffiles) 
    145150Package/ntpd-ssl/install = $(Package/ntpd/install) 
     151Package/ntpd-ssl/postinst = $(Package/ntpd/postinst) 
    146152 
    147153define Package/ntpdate/install 
    148         $(INSTALL_DIR) $(1)/usr/sbin/ 
     154        $(INSTALL_DIR) $(1)/usr/sbin 
    149155        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpdate/ntpdate $(1)/usr/sbin/ 
    150156        $(INSTALL_DIR) $(1)/etc/init.d 
     
    153159 
    154160define Package/ntp-utils/install 
    155         $(INSTALL_DIR) $(1)/usr/sbin/ 
     161        $(INSTALL_DIR) $(1)/usr/sbin 
    156162        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpdc/ntpdc $(1)/usr/sbin/ 
    157163        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ntpq/ntpq $(1)/usr/sbin/ 
Note: See TracChangeset for help on using the changeset viewer.