78b1720bcc
* Fix buffer overflow. (Obtained from Debian) * Strip leading "../" when creating new files. (Obtained from Debian) Clean-up by yours truly: * Parameter parsing fix. (Obtained from Debian) * Prefer native getopt() and MD5 functions over the included ones. * Make munpack synopsis agree with actual parameters. * Respect CC.
33 lines
797 B
Makefile
33 lines
797 B
Makefile
# $OpenBSD: Makefile,v 1.15 2002/08/09 01:15:19 naddy Exp $
|
|
|
|
COMMENT= "external MIME packer/unpacker"
|
|
|
|
V= 1.5
|
|
DISTNAME= mpack-${V}-src
|
|
PKGNAME= mpack-${V}p1
|
|
CATEGORIES= converters mail news
|
|
|
|
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
|
|
|
# License: BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/mpack/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
WRKDIST= ${WRKDIR}/mpack
|
|
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mpack ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/munpack ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/unixpk.man ${PREFIX}/man/man1/mpack.1
|
|
${INSTALL_MAN} ${WRKSRC}/unixunpk.man ${PREFIX}/man/man1/munpack.1
|
|
|
|
.include <bsd.port.mk>
|