0829f1a8aa
Fix security problem, local root exploit. It is no need to install poppassd as setuid. Noted on bugtraq mailing list. http://www.securityfocus.com/archive/1/319811/2003-04-26/2003-05-02/0
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2003/04/29 14:22:45 taca Exp $
|
|
#
|
|
|
|
DISTNAME= qpopper${VERSION}
|
|
PKGNAME= poppassd-${VERSION}
|
|
PKGREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
|
|
|
|
PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/
|
|
PATCHFILES= qpopper-4.0.5-ipv6-20030313.diff.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= mellon@fugue.com
|
|
HOMEPAGE= http://www.eudora.com/qpopper/
|
|
COMMENT= Qualcomm's password change server mainly for Eudora
|
|
|
|
.include "../qpopper/Makefile.common"
|
|
|
|
USE_BUILDLINK2= # defined
|
|
CONFIGURE_ARGS+= --enable-poppassd
|
|
CONFIGURE_ENV+= CDEFS='-DSMBPASSWD_BINARY=\"${LOCALBASE}/bin/smbpasswd\"'
|
|
MAKE_ENV+= ROOT_USER=${ROOT_USER} ROOT_GROUP=${ROOT_GROUP}
|
|
|
|
do-build:
|
|
.for DIR in common password
|
|
cd ${WRKSRC}/${DIR}; ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
|
|
.endfor
|
|
|
|
# popper makefile doesn't have an install target...
|
|
do-install:
|
|
cd ${WRKSRC}/password; ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
|
|
${INSTALL_MAN} ${WRKSRC}/man/poppassd.8 ${PREFIX}/man/man8
|
|
${INSTALL_DATA} ${WRKSRC}/License.txt \
|
|
${PREFIX}/share/doc/poppassd.License;
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|