svn commit: r369832 - head/net/aoe
Baptiste Daroussin
bapt at FreeBSD.org
Thu Oct 2 15:45:43 UTC 2014
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 at 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 <bsd.port.mk>
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
- at dirrm lib/aoe
More information about the svn-ports-head
mailing list