Bug 58733

Summary: new port: textproc/dbacl
Product: Ports & Packages Reporter: Cheng-Lung Sung <clsung>
Component: Individual Port(s)Assignee: Sergei Kolobov <sergei>
Status: Closed FIXED    
Severity: Affects Only Me CC: clsung
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Cheng-Lung Sung 2003-10-30 17:20:00 UTC
- new port: dbacl is a digramic Bayesian classifier. 
            It can distill text documents into categories, 
            and then compare other text documents to the learned categories.
Comment 1 Sergei Kolobov freebsd_committer freebsd_triage 2003-10-30 21:23:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

I'll take it.
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2003-10-30 21:42:43 UTC
Checksum mismatch:

sgk@elf% md5 /FreeBSD/distfiles/dbacl-1.4.tar.gz
MD5 (/FreeBSD/distfiles/dbacl-1.4.tar.gz) = 4505b6c1e16f3abf2613a5281240dab1
sgk@elf% cat distinfo
MD5 (dbacl-1.4.tar.gz) = 99d8b9107eba59c59a2649c3e00925fa

Please investigate.

Sergei
Comment 3 Sergei Kolobov freebsd_committer freebsd_triage 2003-10-30 22:15:04 UTC
State Changed
From-To: open->feedback

Waiting for feedback from the submitter.
Comment 4 Cheng-Lung Sung 2003-10-30 23:18:27 UTC
Sorry, 
distinfo should be "4505b6c1e16f3abf2613a5281240dab1"
It's my fault.
On Fri, Oct 31, 2003 at 12:42:43AM +0300, Sergei Kolobov wrote:
> Checksum mismatch:
> 
> sgk@elf% md5 /FreeBSD/distfiles/dbacl-1.4.tar.gz
> MD5 (/FreeBSD/distfiles/dbacl-1.4.tar.gz) = 4505b6c1e16f3abf2613a5281240dab1
> sgk@elf% cat distinfo
> MD5 (dbacl-1.4.tar.gz) = 99d8b9107eba59c59a2649c3e00925fa
> 
> Please investigate.
> 
> Sergei
Comment 5 Sergei Kolobov freebsd_committer freebsd_triage 2003-10-31 10:34:16 UTC
Cheng-Lung,

On 2003-10-31 at 07:18 +0800, Cheng-Lung Sung wrote:
> distinfo should be "4505b6c1e16f3abf2613a5281240dab1"

If the checksum was changed without a version bump, our usual procedure
is to manually inspect "diff -ruN" output between the two tarballs.
Do you have a copy of the old tarball around?
Do you know what has changed or why it now has a different checksum?
(think trojans)

Sergei
Comment 6 Cheng-Lung Sung 2003-10-31 12:08:12 UTC
Hi Sergei,
	
	It's strange that I copied tarball from test directory to ports dist,
	and two files (supposed to be equal) have different checksum.

	So I re-copy again, and everything goes well.

	I think we can exclude trojans..

clsung

On Fri, Oct 31, 2003 at 01:34:16PM +0300, Sergei Kolobov wrote:
> Cheng-Lung,
> 
> On 2003-10-31 at 07:18 +0800, Cheng-Lung Sung wrote:
> > distinfo should be "4505b6c1e16f3abf2613a5281240dab1"
> 
> If the checksum was changed without a version bump, our usual procedure
> is to manually inspect "diff -ruN" output between the two tarballs.
> Do you have a copy of the old tarball around?
> Do you know what has changed or why it now has a different checksum?
> (think trojans)
> 
> Sergei
Comment 7 Sergei Kolobov freebsd_committer freebsd_triage 2003-10-31 12:49:23 UTC
State Changed
From-To: feedback->closed

New port added, thanks! 

Summary of my changes: 
- SourceForge is a better MASTER_SITE since it's mirrored around the globe 
- There is a nice home page there, too 
- Make PREFIX-clean by using GNU_CONFIGURE instead of HAS_CONFIGURE: 
this passes --prefix=${PREFIX} in CONFIGURE_ARGS 
- Comply with hier(7): 
- install docs into ${PREFIX}/share/doc/dbacl 
- install examples into ${PREFIX}/share/examples/dbacl 
- instead of patching, do this via do-install target in port's Makefile 
- Install additional documentation, respect NOPORTDOCS 
- mailcross is bash(1) script - add RUN_DEPENDS 

Areas of improvement: 
- port should respect CFLAGS 
- port can detect and link against installed libslang - properly handle that 
- rewrite mailcross for /bin/sh?