freebsd-ports/mail/youbin/Makefile
Steve Price 8bc37f5ace There's been a PR (6180) out since March that describes an exploitable
security hole in this port.  At Marc Slemko's <marcs@znep.com> request
I'm going to mark this broken until this port's maintainer has a chance
to look into it further.
1998-12-10 03:09:13 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: youbin
# http://www.agusa.nuie.nagoya-u.ac.jp/software/youbin/youbin-e.html
# Version required: 2.13
# Date created: 09 Aug 1996
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
#
# $Id: Makefile,v 1.15 1998/10/20 01:43:12 steve Exp $
#
DISTNAME= youbin-2.13
CATEGORIES= mail
MASTER_SITES= ftp://nuis.nuie.nagoya-u.ac.jp/info/nagoya-u/ \
ftp://ftp.kyoto.wide.ad.jp/pub/net/
MAINTAINER= max@FreeBSD.ORG
BROKEN= see PR# 6180 about exploitable security hole
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_IMAKE= yes
PREFIX= ${LOCALBASE}
MTREE_FILE= /etc/mtree/BSD.local.dist
MAN1= youbin.1
MAN3= youbin_sub.3
MAN8= youbind.8
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/youbind.sh.sample
post-install:
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
echo "Creating startup script '${STARTUP_SCRIPT}'" ; \
echo "#!/bin/sh" > ${STARTUP_SCRIPT} ; \
echo "if [ -f ${PREFIX}/sbin/youbind ]; then" \
>> ${STARTUP_SCRIPT} ; \
echo " ${PREFIX}/sbin/youbind ; echo -n ' youbind'" \
>> ${STARTUP_SCRIPT} ; \
echo "fi" >> ${STARTUP_SCRIPT} ; \
chmod 755 ${STARTUP_SCRIPT} ; \
fi
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>