Bug 89178 - security/sancp update port
Summary: security/sancp update port
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: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 22:00 UTC by pauls
Modified: 2005-11-17 18:17 UTC (History)
0 users

See Also:


Attachments
Makefile.patch (893 bytes, patch)
2005-11-16 22:00 UTC, pauls
no flags Details | Diff
pkg-deinstall.patch (182 bytes, patch)
2005-11-16 22:00 UTC, pauls
no flags Details | Diff
file.diff (672 bytes, patch)
2005-11-16 22:00 UTC, pauls
no flags Details | Diff
pkg-plist.patch (431 bytes, patch)
2005-11-17 16:23 UTC, pauls
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pauls 2005-11-16 22:00:23 UTC
	updated port Makefile  to new location (sourceforge) 
	and added two patches, changed sample file to dist,
	corrected the pkg-plist and the pkg-deinstall files

Fix: --- distinfo.orig	Wed Nov 16 19:50:25 2005
+++ distinfo	Wed Nov 16 18:59:08 2005
@@ -1,2 +1,6 @@
 MD5 (sancp-1.6.1.tar.gz) = b83e2f4abb2bf7b10fd874aa58f6324c
 SIZE (sancp-1.6.1.tar.gz) = 69986
+MD5 (sancp-1.6.1.fix200511.a.patch) = 7b357ec3371fc399c7589261f0d8d11b
+SIZE (sancp-1.6.1.fix200511.a.patch) = 662
+MD5 (sancp-1.6.1.fix200511.b.patch) = 747aa31c477d726ce6a9b233e3e5f4ee
+SIZE (sancp-1.6.1.fix200511.b.patch) = 870
--- distinfo.patch ends here ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-16 22:03:21 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer)
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2005-11-17 13:09:22 UTC
===>  Building package for sancp-1.6.1
Creating package /tmp/packages/All/sancp-1.6.1.tbz
Registering depends:.
Creating bzip'd tar ball in '/tmp/packages/All/sancp-1.6.1.tbz'
Deleting sancp-1.6.1
pkg_delete: unable to completely remove directory 
'/usr/local/share/doc/sancp'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
================================================================

=== Checking filesystem state
list of extra files and directories in / (not present before this port 
was installed but present after it was deinstalled)
3203198       12 -r--r--r--    1 root             wheel 
4661 Nov 17 13:05 usr/local/etc/sancp.conf
================================================================

-- 
Sem.
Comment 3 pauls 2005-11-17 16:23:19 UTC
A patch to the pkg-plist is attached.  This corrects the error during 
deinstall that does not remove the conf file.

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-17 18:04:26 UTC
State Changed
From-To: open->closed

Committed with fixes. You haven't got the configuration file handling 
completely right, so I fixed that up. See 

http://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html 

for detailed discussion. I also changed pkg-message and rc script handling 
to use advanced infrastructure. 

PS you may want to review the pkg-message, it looks outdated to me.
Comment 5 Marcus Alves Grando freebsd_committer freebsd_triage 2005-11-17 18:17:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

I'll take it.