8ca9f0d689
PR: ports/136065 ports/127469 Submitted by: N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com> - Early identify port CONFLICTS PR: 137855 Submitted by: Piotr Smyrak <smyru@heron.pl> - Add --no-same-permissions to the EXTRACT_AFTER_ARGS command. Tijl Coosemans has been reported an issue that when root is extracting from the tarball, and the tarball contains world writable files (sysutils/policykit as an example), there is a chance that the files gets changed by malicious third parties right after the extraction, which makes it possible to inject code into the package thus compromise the system. Submitted by: Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@) - Fix some whitespaces Tested with: exp-run
43 lines
858 B
Makefile
43 lines
858 B
Makefile
# New ports collection makefile for: qident
|
|
# Date created: 30 August 2001
|
|
# Whom: dd
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qident
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.hairylemon.org/~ad/software/qident/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Query a remote IDENT (RFC 1413) server
|
|
|
|
LIB_DEPENDS= ident.0:${PORTSDIR}/security/libident
|
|
|
|
MANSECTS= 1
|
|
MAN1= qident.1
|
|
MANCOMPRESSED= maybe
|
|
|
|
# MAN page COMPression SUFFIX
|
|
.if !defined(NO_MANCOMPRESS)
|
|
MANCOMPSUFFIX= .gz
|
|
.else
|
|
MANCOMPSUFFIX=
|
|
.endif
|
|
|
|
PLIST_FILES= bin/qident
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/getopt[.]h/unistd.h/g' ${WRKSRC}/*
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/qident ${PREFIX}/bin/qident
|
|
.for __s in ${MANSECTS}
|
|
.for __m in ${MAN${__s}:S/$/${MANCOMPSUFFIX}/}
|
|
@${INSTALL_MAN} ${WRKSRC}/${__m} ${PREFIX}/man/man${__s}/${__m}
|
|
.endfor
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|