54c132ee27
MLDonkey has a very serious bug which leeds to uploading data blocks twice to eMule clients. This is due to the fact that MLDonkey gets confused by eMule rotating block request scheme. http://hydranode.com/docs/ed2k/ed2kproto.php#upload > Namely, eMule (and compatible) clients use "rotational chunkrequest" scheme, > where each REQCHUNKS packet contains one new chunk and two older chunks > ... > This can lead to duplicate data being sent by mldonkeys, if a rotational > chunkrequest scheme is used when communicating with them. More infos about it, including logs proving the problem, can be found here: http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4576 Bump PKGREVISION.
33 lines
1,001 B
Makefile
33 lines
1,001 B
Makefile
# $NetBSD: Makefile,v 1.43 2007/01/13 18:41:32 wiz Exp $
|
|
#
|
|
|
|
.include "Makefile.common"
|
|
PKGREVISION= 1
|
|
|
|
RCD_SCRIPTS= mldonkey
|
|
|
|
BUILD_DEFS+= MLDONKEY_GROUP MLDONKEY_HOME MLDONKEY_USER
|
|
|
|
OWN_DIRS_PERMS= ${MLDONKEY_HOME} ${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
|
|
OWN_DIRS_PERMS+= ${VARBASE}/log/mldonkey \
|
|
${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
|
|
OWN_DIRS_PERMS+= ${VARBASE}/run/mldonkey \
|
|
${MLDONKEY_USER} ${MLDONKEY_GROUP} 0700
|
|
|
|
PKG_GROUPS= ${MLDONKEY_GROUP}
|
|
PKG_USERS= ${MLDONKEY_USER}:${MLDONKEY_GROUP}
|
|
|
|
PKG_GECOS.${MLDONKEY_USER}= Dedicated mldonkey server
|
|
PKG_HOME.${MLDONKEY_USER}= ${MLDONKEY_HOME}
|
|
PKG_SHELL.${MLDONKEY_USER}= ${SH}
|
|
|
|
FILES_SUBST+= MLDONKEY_GROUP=${MLDONKEY_GROUP:Q}
|
|
FILES_SUBST+= MLDONKEY_HOME=${MLDONKEY_HOME:Q}
|
|
FILES_SUBST+= MLDONKEY_USER=${MLDONKEY_USER:Q}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/mldonkey
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlnet ${PREFIX}/libexec/mldonkey
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|