Date: Thu, 2 Oct 2014 18:55:11 +0200 From: =?UTF-8?Q?Ren=C3=A9_Ladan?= <rene@freebsd.org> To: Bapt <bapt@freebsd.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r369832 - head/net/aoe Message-ID: <CADL2u4hT9r05MW9bJK4XNR0N07g9MfQcQ-RKPT%2BLy5QnG_0q=A@mail.gmail.com> In-Reply-To: <201410021545.s92FjgmN047846@svn.freebsd.org> References: <201410021545.s92FjgmN047846@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Op 2 okt. 2014 17:45 schreef "Baptiste Daroussin" <bapt@freebsd.org>: > > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- 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=3D aoe > PORTVERSION=3D 1.2.0 > +PORTREVISION=3D 1 > CATEGORIES=3D net kld Kmod already adds the kld category. > MASTER_SITES=3D http://www.son.org/download/ > DISTNAME=3D ${PORTNAME}-freebsd-${PORTVERSION} > @@ -10,22 +11,17 @@ DISTNAME=3D ${PORTNAME}-freebsd-${PORTVERS > MAINTAINER=3D fjoe@FreeBSD.org > COMMENT=3D FreeBSD driver for ATA over Ethernet (AoE) > > -NO_PACKAGE=3D Should be in sync with the kernel to work correctly > SSP_UNSAFE=3D kernel module does not support ssp > Kmod also sets SSP_UNSAFE Regards, Ren=C3=A9 > +USES=3D kmod > + > WRKSRC=3D ${WRKDIR}/dev/aoe > -USE_RC_SUBR=3D aoe > +KMODDIR=3D ${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=3D 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 <bsd.port.mk> > > Modified: head/net/aoe/pkg-plist > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4hT9r05MW9bJK4XNR0N07g9MfQcQ-RKPT%2BLy5QnG_0q=A>