From owner-svn-ports-head@FreeBSD.ORG Sun Aug 31 13:35:17 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 623F657D; Sun, 31 Aug 2014 13:35:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 35E5B183C; Sun, 31 Aug 2014 13:35:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7VDZHHn043693; Sun, 31 Aug 2014 13:35:17 GMT (envelope-from wg@FreeBSD.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7VDZGBD043691; Sun, 31 Aug 2014 13:35:16 GMT (envelope-from wg@FreeBSD.org) Message-Id: <201408311335.s7VDZGBD043691@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wg set sender to wg@FreeBSD.org using -f From: William Grzybowski Date: Sun, 31 Aug 2014 13:35:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366760 - head/security/orthrus X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 13:35:17 -0000 Author: wg Date: Sun Aug 31 13:35:16 2014 New Revision: 366760 URL: http://svnweb.freebsd.org/changeset/ports/366760 QAT: https://qat.redports.org/buildarchive/r366760/ Log: security/orthrus: support stage - Allow package as a regular user PR: 193164 Submitted by: Ports Fury Modified: head/security/orthrus/Makefile head/security/orthrus/pkg-plist Modified: head/security/orthrus/Makefile ============================================================================== --- head/security/orthrus/Makefile Sun Aug 31 13:34:18 2014 (r366759) +++ head/security/orthrus/Makefile Sun Aug 31 13:35:16 2014 (r366760) @@ -3,38 +3,37 @@ PORTNAME= orthrus PORTVERSION= 0.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= GOOGLE_CODE \ http://16degrees.com.au/${PORTNAME}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= One-Time Password System (OTP) alternative to OPIE or S/Key LICENSE= APACHE20 LIB_DEPENDS= libapr-1.so:${PORTSDIR}/devel/apr1 -USE_LDCONFIG= yes USES= iconv scons tar:bzip2 -PORTDOCS= * - -NO_STAGE= yes +MAKE_ARGS= DEBUG=False --install-sandbox=${STAGEDIR} +USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS -.include +post-patch: + @${REINPLACE_CMD} -e \ + 's|-O[0-9]|| ; \ + /chmod/d' ${WRKSRC}/SConstruct post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && \ - ${INSTALL_DATA} NOTICE README TODO ${DOCSDIR}) -.endif - ${TOUCH} ${PREFIX}/etc/orthruskeys - - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} NOTICE README TODO \ + ${STAGEDIR}${DOCSDIR}) + @${ECHO_CMD} -n > ${STAGEDIR}${PREFIX}/etc/orthruskeys +.for i in bin/ortcalc bin/ortpasswd lib/liborthrus-0.so \ + lib/security/pam_orthrus.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${i} +.endfor .include Modified: head/security/orthrus/pkg-plist ============================================================================== --- head/security/orthrus/pkg-plist Sun Aug 31 13:34:18 2014 (r366759) +++ head/security/orthrus/pkg-plist Sun Aug 31 13:35:16 2014 (r366760) @@ -1,11 +1,17 @@ bin/ortcalc +@mode 4555 bin/ortpasswd +@mode etc/orthruskeys -lib/liborthrus-0.so -lib/security/pam_orthrus.so include/orthrus-0/context.h include/orthrus-0/orthrus.h include/orthrus-0/orthrus_error.h include/orthrus-0/orthrus_version.h -@dirrm include/orthrus-0 +lib/liborthrus-0.so +lib/security/pam_orthrus.so +%%PORTDOCS%%%%DOCSDIR%%/NOTICE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/security +@dirrm include/orthrus-0