From owner-svn-ports-all@FreeBSD.ORG Thu Oct 2 15:45:43 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D168506; Thu, 2 Oct 2014 15:45:43 +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 F394065E; Thu, 2 Oct 2014 15:45:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s92FjgAC047848; Thu, 2 Oct 2014 15:45:42 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s92FjgmN047846; Thu, 2 Oct 2014 15:45:42 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201410021545.s92FjgmN047846@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 2 Oct 2014 15:45:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369832 - head/net/aoe 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.18-1 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: Thu, 02 Oct 2014 15:45:43 -0000 Author: bapt Date: Thu Oct 2 15:45:42 2014 New Revision: 369832 URL: https://svnweb.freebsd.org/changeset/ports/369832 QAT: https://qat.redports.org/buildarchive/r369832/ Log: Make sure the package respect SRC_BASE Use the kmod framework Cleanup the plist Reported by: glebius Modified: head/net/aoe/Makefile head/net/aoe/pkg-plist Modified: head/net/aoe/Makefile ============================================================================== --- head/net/aoe/Makefile Thu Oct 2 15:44:03 2014 (r369831) +++ head/net/aoe/Makefile Thu Oct 2 15:45:42 2014 (r369832) @@ -3,6 +3,7 @@ PORTNAME= aoe PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= net kld MASTER_SITES= http://www.son.org/download/ DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION} @@ -10,22 +11,17 @@ DISTNAME= ${PORTNAME}-freebsd-${PORTVERS MAINTAINER= fjoe@FreeBSD.org COMMENT= FreeBSD driver for ATA over Ethernet (AoE) -NO_PACKAGE= Should be in sync with the kernel to work correctly SSP_UNSAFE= kernel module does not support ssp +USES= kmod + WRKSRC= ${WRKDIR}/dev/aoe -USE_RC_SUBR= aoe +KMODDIR= ${PREFIX}/lib/aoe -pre-everything:: - @if [ ! -f /usr/src/sys/Makefile ]; then \ - ${ECHO_MSG} ">> The AoE port needs FreeBSD kernel source code to compile."; \ - ${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \ - ${FALSE}; \ - fi +USE_RC_SUBR= aoe do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/aoe ${INSTALL_KLD} ${WRKSRC}/aoe.ko ${STAGEDIR}${PREFIX}/lib/aoe - ${INSTALL_MAN} ${WRKDIR}/aoe.4 ${STAGEDIR}${PREFIX}/man/man4 + ${INSTALL_MAN} ${WRKDIR}/aoe.4 ${STAGEDIR}${PREFIX}/man/man4/ .include Modified: head/net/aoe/pkg-plist ============================================================================== --- head/net/aoe/pkg-plist Thu Oct 2 15:44:03 2014 (r369831) +++ head/net/aoe/pkg-plist Thu Oct 2 15:45:42 2014 (r369832) @@ -1,3 +1,2 @@ lib/aoe/aoe.ko man/man4/aoe.4.gz -@dirrm lib/aoe