240552a2cf
Revamp FTP connection cache. Move it to the common layer to be later shared with HTTP (for persistent connection). The application controls how much caching is desired. Drop the reference counting on connections. Add a callback when the cached connection is dropped due to LRU. Over all, this allows more than one session cached per host and sessions cached to different servers.
21 lines
516 B
Makefile
21 lines
516 B
Makefile
# $NetBSD: buildlink3.mk,v 1.8 2010/01/22 13:21:09 joerg Exp $
|
|
|
|
BUILDLINK_DEPMETHOD.libfetch?= build
|
|
|
|
BUILDLINK_TREE+= libfetch
|
|
|
|
.if !defined(LIBFETCH_BUILDLINK3_MK)
|
|
LIBFETCH_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.libfetch+= libfetch>=2.28
|
|
BUILDLINK_PKGSRCDIR.libfetch?= ../../net/libfetch
|
|
|
|
pkgbase := libfetch
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.libfetch:Mopenssl)
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.endif
|
|
.endif # LIBFETCH_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -libfetch
|