From owner-svn-ports-head@FreeBSD.ORG Tue Feb 25 12:15:51 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A8C1138D; Tue, 25 Feb 2014 12:15:51 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A2011238; Tue, 25 Feb 2014 12:15:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1PCFpv5092032; Tue, 25 Feb 2014 12:15:51 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1PCFpes092030; Tue, 25 Feb 2014 12:15:51 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402251215.s1PCFpes092030@svn.freebsd.org> From: Emanuel Haupt Date: Tue, 25 Feb 2014 12:15:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345975 - head/security/radiusniff 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.17 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: Tue, 25 Feb 2014 12:15:51 -0000 Author: ehaupt Date: Tue Feb 25 12:15:50 2014 New Revision: 345975 URL: http://svnweb.freebsd.org/changeset/ports/345975 QAT: https://qat.redports.org/buildarchive/r345975/ Log: Support staging Modified: head/security/radiusniff/Makefile head/security/radiusniff/pkg-plist Modified: head/security/radiusniff/Makefile ============================================================================== --- head/security/radiusniff/Makefile Tue Feb 25 11:58:50 2014 (r345974) +++ head/security/radiusniff/Makefile Tue Feb 25 12:15:50 2014 (r345975) @@ -12,15 +12,17 @@ COMMENT= Sniffer for RADIUS traffic WRKSRC= ${WRKDIR}/radiusniff-0.2 -NO_STAGE= yes +CFLAGS+= -DOPENBSD -DCLIENTS_FILENAME=\"${DATADIR}/clients\" \ + -DDICTIONARY_FILENAME=\"${DATADIR}/dictionary\" + do-build: - cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -DOPENBSD -DCLIENTS_FILENAME=\"${PREFIX}/share/radiusniff/clients\" -DDICTIONARY_FILENAME=\"${PREFIX}/share/radiusniff/dictionary\" -o radiusniff radiusniff.c md5.c -lpcap + ${CC} ${CFLAGS} -o ${WRKSRC}/radiusniff ${WRKSRC}/radiusniff.c \ + ${WRKSRC}/md5.c -lpcap do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${PREFIX}/bin - ${MKDIR} ${PREFIX}/share/radiusniff/ - ${INSTALL_DATA} ${WRKSRC}/dictionary ${PREFIX}/share/radiusniff/ - ${INSTALL_DATA} ${WRKSRC}/clients ${PREFIX}/share/radiusniff/ + ${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dictionary ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/clients ${STAGEDIR}${DATADIR} .include Modified: head/security/radiusniff/pkg-plist ============================================================================== --- head/security/radiusniff/pkg-plist Tue Feb 25 11:58:50 2014 (r345974) +++ head/security/radiusniff/pkg-plist Tue Feb 25 12:15:50 2014 (r345975) @@ -1,4 +1,4 @@ bin/radiusniff -share/radiusniff/clients -share/radiusniff/dictionary -@dirrm share/radiusniff/ +%%DATADIR%%/clients +%%DATADIR%%/dictionary +@dirrm %%DATADIR%%