From owner-svn-ports-all@FreeBSD.ORG Sat Mar 1 02:16:44 2014 Return-Path: Delivered-To: svn-ports-all@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 D26FE515; Sat, 1 Mar 2014 02:16:44 +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 BF47012D6; Sat, 1 Mar 2014 02:16:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s212GiKL009942; Sat, 1 Mar 2014 02:16:44 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s212GiQg009940; Sat, 1 Mar 2014 02:16:44 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201403010216.s212GiQg009940@svn.freebsd.org> From: Dmitry Marakasov Date: Sat, 1 Mar 2014 02:16:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346591 - head/sysutils/scprotect 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.17 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: Sat, 01 Mar 2014 02:16:44 -0000 Author: amdmi3 Date: Sat Mar 1 02:16:44 2014 New Revision: 346591 URL: http://svnweb.freebsd.org/changeset/ports/346591 QAT: https://qat.redports.org/buildarchive/r346591/ Log: - Fix build - Support staging Modified: head/sysutils/scprotect/Makefile head/sysutils/scprotect/pkg-plist Modified: head/sysutils/scprotect/Makefile ============================================================================== --- head/sysutils/scprotect/Makefile Sat Mar 1 00:51:57 2014 (r346590) +++ head/sysutils/scprotect/Makefile Sat Mar 1 02:16:44 2014 (r346591) @@ -12,25 +12,19 @@ COMMENT= Protect process from killing wh NO_PACKAGE= Needs to be compiled for specific kernel SSP_UNSAFE= kernel module does not support ssp -KMODDIR?= /boot/modules +USES= kmod -PLIST_SUB= KMODDIR=${KMODDIR} WRKSRC= ${WRKDIR}/${PORTNAME} -MAKE_ENV+= KMODDIR=${KMODDIR} -CFLAGS+=-DWITH_SCPROTECT_LIST +CFLAGS+= -DWITH_SCPROTECT_LIST -#MAN4= scprotect.4 -#MANCOMPRESSED= yes - -NO_STAGE= yes .include .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel sources .endif -post-install: - @${CAT} ${PKGMESSAGE} +post-extract: + @cd ${WRKSRC}/kmod && ${RM} -f machine .include Modified: head/sysutils/scprotect/pkg-plist ============================================================================== --- head/sysutils/scprotect/pkg-plist Sat Mar 1 00:51:57 2014 (r346590) +++ head/sysutils/scprotect/pkg-plist Sat Mar 1 02:16:44 2014 (r346591) @@ -1,4 +1,3 @@ etc/rc.d/scprotect -@cwd %%KMODDIR%% -scprotect.ko -@unexec kldxref %%KMODDIR%% +@cwd / +%%KMODDIR%%/scprotect.ko