diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-03-22 20:29:44 +0000 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-03-22 20:29:44 +0000 |
commit | 61c6a700b050ae7325b02a6ed50b46e28d6b0df0 (patch) | |
tree | 490785b213a906dc5610a5a180d9f5ed2da8bb0f /security | |
parent | dcaa324c6094914729575fad9179040e193155ea (diff) | |
download | FreeBSD-ports-61c6a700b050ae7325b02a6ed50b46e28d6b0df0.zip FreeBSD-ports-61c6a700b050ae7325b02a6ed50b46e28d6b0df0.tar.gz |
- Mark it BROKEN on ${OSVERSION} >= 700000
- Add a note to files/pkg-message.in about a possible bug
- Bump PORTREVISION
Notified by: pointyhat via kris
Submitted by: Jose Alonso Cardenas Marquez (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/dazuko/Makefile | 5 | ||||
-rw-r--r-- | security/dazuko/files/pkg-message.in | 18 | ||||
-rw-r--r-- | security/dazuko/pkg-install | 7 |
3 files changed, 23 insertions, 7 deletions
diff --git a/security/dazuko/Makefile b/security/dazuko/Makefile index 8a1db221..b1376b6 100644 --- a/security/dazuko/Makefile +++ b/security/dazuko/Makefile @@ -6,6 +6,7 @@ PORTNAME= dazuko PORTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://dazuko.org/files/ @@ -19,6 +20,10 @@ OPTIONS= EXAMPLEC "Install C example programs" on .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 700000 +BROKEN= Currently does not support -CURRENT +.endif + .if defined(WITH_EXAMPLEC) PLIST_FILES= %%EXAMPLESDIR%%/example %%EXAMPLESDIR%%/example_mt PLIST_DIRS= %%EXAMPLESDIR%% diff --git a/security/dazuko/files/pkg-message.in b/security/dazuko/files/pkg-message.in index 2137c33..319bce6 100644 --- a/security/dazuko/files/pkg-message.in +++ b/security/dazuko/files/pkg-message.in @@ -1,4 +1,4 @@ -######################################################################################### +################################################################################ 1) Create device /dev/dazuko @@ -10,7 +10,17 @@ It's not neccesary on modern FreeBSD systems -2) If you selected WITH_EXAMPLEC, you can test module using example and example_mt files - from %%EXAMPLESDIR%% directory. +2) If you selected WITH_EXAMPLEC, you can test the module using files from: -######################################################################################### + %%EXAMPLESDIR%%/example + %%EXAMPLESDIR%%/example_mt + +3) Do not load the module using /boot/loader.conf. It generates a page fault due + to a possible dazuko bug. + + You could use /etc/rc.local for loading the module. For example, add the + following line to /etc/rc.local: + + /sbin/kldload dazuko + +################################################################################ diff --git a/security/dazuko/pkg-install b/security/dazuko/pkg-install index 135a584..df2c776 100644 --- a/security/dazuko/pkg-install +++ b/security/dazuko/pkg-install @@ -21,11 +21,12 @@ read BOOTMOD echo if [ x"${BOOTMOD}" = x"y" ]; then - cat /boot/loader.conf | grep ${MODULENAME} > /dev/null 2>&1; RESULT=$? + cat /etc/rc.local | grep ${MODULENAME} > /dev/null 2>&1; RESULT=$? if [ ${RESULT} -eq 0 ]; then - sed -i '' -e 's/^${MODULENAME}_load.*/${MODULENAME}_load="YES"/g' /boot/loader.conf + sed -i '' -e '/kldload ${MODULENAME}.*/d' /etc/rc.local + echo `which kldload` ${MODULENAME} >> /etc/rc.local else - echo "${MODULENAME}_load=\"YES\"" >> /boot/loader.conf + echo `which kldload` ${MODULENAME} >> /etc/rc.local fi fi fi |