Bug 98469 - [MAINTAINER] news/inn: fix package
Summary: [MAINTAINER] news/inn: fix package
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-04 00:40 UTC by Shaun Amott
Modified: 2006-06-09 21:35 UTC (History)
1 user (show)

See Also:


Attachments
inn.diff (3.45 KB, patch)
2006-06-04 00:40 UTC, Shaun Amott
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Amott 2006-06-04 00:40:17 UTC
inn fails to package in a clean environment.

The patch below fixes the PLIST.

Thanks again to thierry@ for pointing this out.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2006-06-04 11:25:57 UTC
State Changed
From-To: open->feedback


When installed on a clean machine from a newly created package, the 
$PREFIX/news/db is created, but not populated: 

ls -l /usr/local/news/db 
total 0 

ls -l /usr/local/news/db.dist 
total 6 
-rw-rw-r--  1 news  news  225  4 jui 12:21 active 
-rw-rw-r--  1 news  news    0  4 jui 12:21 active.times 
-rw-r--r--  1 news  news    0  4 jui 12:21 history 
-rw-r--r--  1 news  news   43  4 jui 12:21 history.dir 
-rw-rw-r--  1 news  news  333  4 jui 12:21 newsgroups 

I think that /usr/local/news/db.dist should contain this files too. 

Could you please check it? 

Regards, 
--  
Th. Thomas. 


Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2006-06-04 11:25:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it - it will fix ports/news/newsx.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2006-06-09 21:33:02 UTC
State Changed
From-To: feedback->closed


Committed, thanks! 

Remark: after a fresh installation, `inncheck -a -v -pedantic' reports: 

inncheck -a -v -pedantic 

Looking at /usr/local/news/etc/control.ctl... 
/usr/local/news/etc/control.ctl:0: mode 644, should be 640 

Looking at /usr/local/news/etc/nntpsend.ctl... 
/usr/local/news/etc/nntpsend.ctl:0: mode 644, should be 640 

Looking at /usr/local/news/etc/readers.conf... 
/usr/local/news/etc/readers.conf:0: mode 644, should be 640 

These permissions should be fixed too, but since this is less important, 
I have committed this PR as-is.