components/pdsh/Makefile
changeset 7756 a14f5c91f91a
parent 7687 1093e2a9adbd
equal deleted inserted replaced
7755:3352127505f1 7756:a14f5c91f91a
    25 BUILD_BITS= 64
    25 BUILD_BITS= 64
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 include $(WS_MAKE_RULES)/shared-targets.mk
    27 include $(WS_MAKE_RULES)/shared-targets.mk
    28 
    28 
    29 COMPONENT_NAME=		pdsh
    29 COMPONENT_NAME=		pdsh
    30 COMPONENT_VERSION=	2.29
    30 COMPONENT_VERSION=	2.31
    31 COMPONENT_PROJECT_URL=	https://code.google.com/archive/p/pdsh
    31 COMPONENT_PROJECT_URL=	https://github.com/grondo/pdsh
    32 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    33 COMPONENT_ARCHIVE=	$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
    33 COMPONENT_ARCHIVE_HASH=	\
    34 COMPONENT_ARCHIVE_HASH=	\
    34     sha256:57f0903bf782afe00874267b59e0f4adefa79da4c48d0257c5ae2bef02f87fcf
    35     sha256:0ee066ce395703285cf4f6cf00b54b7097d12457a4b1c146bc6f33d8ba73caa7
    35 COMPONENT_ARCHIVE_URL=	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
    36 COMPONENT_ARCHIVE_URL=	https://github.com/grondo/$(COMPONENT_NAME)/archive/$(COMPONENT_ARCHIVE)
    36 COMPONENT_ANITYA_ID=	13274
    37 COMPONENT_ANITYA_ID=	13274
    37 
    38 
    38 TPNO=			29495
    39 TPNO=			33966
    39 
    40 
    40 # Old version in SFW was not version-locked, so cannot be upgraded to, so
    41 # Old version in SFW was not version-locked, so cannot be upgraded to, so
    41 # do not publish.
    42 # do not publish.
    42 ifeq ($(BUILD_TYPE), evaluation)
    43 ifeq ($(BUILD_TYPE), evaluation)
    43 BUILD_64=
    44 BUILD_64=
    57 	-e 's|hardcode_into_libs=yes|hardcode_into_libs=no|g' \
    58 	-e 's|hardcode_into_libs=yes|hardcode_into_libs=no|g' \
    58 	-e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
    59 	-e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
    59 	-e 's|need_relink=yes|need_relink=not_on_solaris|g' \
    60 	-e 's|need_relink=yes|need_relink=not_on_solaris|g' \
    60 	libtool)
    61 	libtool)
    61 
    62 
    62 # Delete this when build servers are installed with genders
       
    63 GENDERS_BASE = $(WS_COMPONENTS)/genders/build/prototype/$(MACH)
       
    64 GENDERS_INC_DIR += -I$(GENDERS_BASE)/usr/include
       
    65 GENDERS_LD_OPTIONS += -L$(GENDERS_BASE)/usr/lib/$(MACH64)
       
    66 
       
    67 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS) $(GENDERS_INC_DIR)"
       
    68 CONFIGURE_ENV += GENDERS_LD_OPTIONS="$(GENDERS_LD_OPTIONS)"
       
    69 CONFIGURE_ENV += LDFLAGS="$(LDFLAGS) $(GENDERS_LD_OPTIONS)"
       
    70 
       
    71 CONFIGURE_OPTIONS +=	--with-genders
    63 CONFIGURE_OPTIONS +=	--with-genders
    72 CONFIGURE_OPTIONS +=	--with-readline
    64 CONFIGURE_OPTIONS +=	--with-readline
    73 CONFIGURE_OPTIONS +=	--with-ssh
    65 CONFIGURE_OPTIONS +=	--with-ssh
    74 CONFIGURE_OPTIONS +=	--without-rsh
    66 CONFIGURE_OPTIONS +=	--without-rsh
    75 
    67 
    76 COMPONENT_TEST_ENV +=   PATH="/usr/gnu/bin:/usr/bin"
    68 COMPONENT_TEST_ENV =   PATH="/usr/gnu/bin:/usr/bin:$(PATH)"
    77 COMPONENT_TEST_DIR =	$(@D)/tests
    69 COMPONENT_TEST_DIR =	$(@D)/tests
    78 
    70 
    79 COMPONENT_TEST_TRANSFORMS += \
    71 COMPONENT_TEST_TRANSFORMS += \
    80 	'-n ' \
    72 	'-n ' \
    81 	'-e "/^Makefile/d" ' \
    73 	'-e "/^Makefile/d" ' \