From owner-svn-ports-all@freebsd.org Sun Sep 11 04:09:30 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D788CBD40A1; Sun, 11 Sep 2016 04:09:30 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7C81C53; Sun, 11 Sep 2016 04:09:30 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8B49TaN082247; Sun, 11 Sep 2016 04:09:29 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8B49TUB082246; Sun, 11 Sep 2016 04:09:29 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609110409.u8B49TUB082246@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 11 Sep 2016 04:09:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421787 - head/security/pad X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 04:09:30 -0000 Author: marino Date: Sun Sep 11 04:09:29 2016 New Revision: 421787 URL: https://svnweb.freebsd.org/changeset/ports/421787 Log: security/pad: Add SSL flags and honor them While here, convert to USES+=tar Approved by: SSL blanket Modified: head/security/pad/Makefile Modified: head/security/pad/Makefile ============================================================================== --- head/security/pad/Makefile Sun Sep 11 04:06:29 2016 (r421786) +++ head/security/pad/Makefile Sun Sep 11 04:09:29 2016 (r421787) @@ -7,17 +7,23 @@ PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= http://keyserver.kjsl.com/~jharris/distfiles/ -EXTRACT_SUFX= .tgz MAINTAINER= jharris@widomaker.com COMMENT= Command-line utility to encrypt files +USES= tar:tgz ssl GNU_CONFIGURE= yes -USE_OPENSSL= yes PLIST_FILES= bin/pad man/man1/pad.1.gz PORTDOCS= COPYING README ChangeLog +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} + +post-patch: + ${REINPLACE_CMD} -e "s|\(-lcrypto\)|${LDFLAGS} \1|g" \ + ${WRKSRC}/Makefile.in + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pad ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pad.1 ${STAGEDIR}${MANPREFIX}/man/man1