Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 18:47:56 +0400 (MSD)
From:      Denis Barov <dindin@dindin.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134994: [Maintainer update] sysutils/scprotect fix cleaning module after pkg_delete
Message-ID:  <200905271447.n4RElu2v071964@sepulca.yandex.ru>
Resent-Message-ID: <200905271520.n4RFK2oZ018566@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134994
>Category:       ports
>Synopsis:       [Maintainer update] sysutils/scprotect fix cleaning module after pkg_delete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 27 15:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Denis Barov
>Release:        FreeBSD 7.1-RELEASE-p1 i386
>Organization:
Yandex
>Environment:
System: FreeBSD sepulca.yandex.ru 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #0: Thu Apr 16 14:52:47 MSD 2009 root@ysbackup2.yandex.ru:/opt/tmp/mk_pkg.LHmjdqQB/obj/i386/opt/usr/RELENG_7_1/src/sys/SEPULCA i386


>Description:
sysutils/scprotect doesn't delete scprotect.ko kernel module after
pkg_delete
>How-To-Repeat:
make -C /usr/ports/sysutils/scprotect clean install; pkg_delete
scprotect\*; test -f /boot/modules/scprotect.ko && echo "Bad
cleaning"
>Fix:
diff -urN scprotect/Makefile.orig scprotect/Makefile
--- scprotect/Makefile.orig	2009-05-27 18:39:30.000000000 +0400
+++ scprotect/Makefile	2009-02-11 02:15:03.000000000 +0300
@@ -18,7 +18,7 @@
 KMODDIR?=	/boot/modules
 SRC_BASE?=	/usr/src
 
-PLIST_SUB+= KMODDIR=${KMODDIR:S!^/!!}
+PLIST_SUB=	KMODDIR=${KMODDIR}
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 MAKE_ENV+=	KMODDIR=${KMODDIR}
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905271447.n4RElu2v071964>