Bug 134994 - [Maintainer update] sysutils/scprotect fix cleaning module after pkg_delete
Summary: [Maintainer update] sysutils/scprotect fix cleaning module after pkg_delete
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 16:20 UTC by Denis Barov
Modified: 2009-06-02 23:30 UTC (History)
0 users

See Also:


Attachments
file.diff (376 bytes, patch)
2009-05-27 16:20 UTC, Denis Barov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Barov 2009-05-27 16:20:01 UTC
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"
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2009-05-28 01:45:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Denis Barov 2009-06-02 18:42:39 UTC
nicer fix advised by amdmi3@freeBSD.org

diff -urN pkg-plist.orig pkg-plist
--- pkg-plist.orig 2009-06-02 21:34:44.000000000 +0400
+++ pkg-plist      2009-06-02 21:36:32.000000000 +0400
@@ -1,5 +1,5 @@
 bin/scprotect
 etc/rc.d/scprotect
-@cwd /
-%%KMODDIR%%/scprotect.ko
+@cwd %%KMODDIR%%
+scprotect.ko
 @unexec kldxref %%KMODDIR%%



-- 
Cheers
Denis Barov
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2009-06-02 23:22:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-06-02 23:22:18 UTC
amdmi3      2009-06-02 22:22:06 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/scprotect   Makefile pkg-plist 
  Log:
  - Fix removing kernel module on deinstall
  
  PR:             134994
  Submitted by:   Denis Barov <dindin@dindin.ru> (maintainer)
  
  Revision  Changes    Path
  1.2       +1 -0      ports/sysutils/scprotect/Makefile
  1.2       +2 -2      ports/sysutils/scprotect/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"