Bug 89243 - New port: www/campsite - The free and open multilingual web publishing tool for news sites
Summary: New port: www/campsite - The free and open multilingual web publishing tool f...
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: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 17:20 UTC by koutek
Modified: 2005-11-19 20:48 UTC (History)
0 users

See Also:


Attachments
campsite.port (232.11 KB, text/plain)
2005-11-18 17:20 UTC, koutek
no flags Details
campsite (155.56 KB, text/plain)
2005-11-18 21:10 UTC, koutek
no flags Details
campsite.diff (8.00 KB, patch)
2005-11-19 01:18 UTC, koutek
no flags Details | Diff
campsite.diff (2.32 KB, patch)
2005-11-19 08:48 UTC, koutek
no flags Details | Diff
campsite.diff (668 bytes, patch)
2005-11-19 11:45 UTC, koutek
no flags Details | Diff
campsite (162.57 KB, text/plain)
2005-11-19 12:10 UTC, koutek
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description koutek 2005-11-18 17:20:27 UTC
	New port: www/campsite - The free and open multilingual web publishing tool for news sites

Fix: shar
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-18 17:42:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Dealing with submitter
Comment 2 Lupe Christoph 2005-11-18 18:55:22 UTC
Hi!

While I feel flattered that you borrowed some lines from my port, I
beileiev you should change this:

On Friday, 2005-11-18 at 18:10:26 +0100, Ondra Koutek wrote:

> X#
> X# Add the following lines to /etc/rc.conf to enable doorman:
                                                       ^^^^^^^
> X# campsite_enable (bool):      Set to "NO" by default.
> X#                             Set it to "YES" to enable doorman
                                                           ^^^^^^^

Lupe Christoph
-- 
| You know we're sitting on four million pounds of fuel, one nuclear     |
| weapon and a thing that has 270,000 moving parts built by the lowest   |
| bidder. Makes you feel good, doesn't it?                               |
| Rockhound in "Armageddon", 1998, about the Space Shuttle               |
Comment 3 koutek 2005-11-18 21:10:40 UTC
I fixed number of reported errors, so I do not add a diff, but whole
shar again. I hope you do not mind.
Ondra
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-18 22:56:24 UTC
This thing is trying to do some evil things in install target:


./install_mailnotify
crontab: no crontab for root
crontab: no crontab for root
crontab: no crontab for root
crontab: no crontab for root
No matching processes were found
ERROR: Unable to restart cron process. You MUST have cron installed and running.


Any ideas?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

You have acquired a scroll entitled 'irk gleknow mizk' (n).
This is an IBM Manual scroll.
You are permanently confused.
Comment 5 koutek 2005-11-18 23:03:40 UTC
Yes, this app requires 3 cron jobs to be installed.
It tries to install them automatically and in pkg-message I notify about
it.
For proper function you need them and I believe all servers have cron.

But if you wish, I can create a patch disabling this automatic install
and leave on user the adding records.

The jobs are:
1) Gather - this indexes the content of articles and users and these
indexes are used when searching in admin interface
2) Autopublish - this is cron job that takes care about delayed
publishing of articles
3) Mail notification - this sends report to subscriber of a newspaper
informing him, that his subscription is about to end in few days.

As the first two jobs are esential, i simply decided to leave install of
these jobs.

Ondra

On Fri, 2005-11-18 at 23:56 +0100, Pav Lucistnik wrote:
> This thing is trying to do some evil things in install target:
> 
> 
> ./install_mailnotify
> crontab: no crontab for root
> crontab: no crontab for root
> crontab: no crontab for root
> crontab: no crontab for root
> No matching processes were found
> ERROR: Unable to restart cron process. You MUST have cron installed and running.
> 
> 
> Any ideas?
>
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-18 23:06:28 UTC
> Yes, this app requires 3 cron jobs to be installed.
> It tries to install them automatically and in pkg-message I notify about
> it.
> For proper function you need them and I believe all servers have cron.
> 
> But if you wish, I can create a patch disabling this automatic install
> and leave on user the adding records.

> As the first two jobs are esential, i simply decided to leave install of
> these jobs.

Please patch it out, because it does not work properly; I mailed you the
output of failed compilation.

Also, it would not get into the package, right?

You can install them automatically but it would be better done by
pkg-install script in the package. Check mail/mailman port for
inspiration.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

How will you recognize experienced hacker from beginner?
Beginner thinks that kilobyte have 1000 bytes.
Experienced hacker thinks one kilometer have 1024 meters.
Comment 7 koutek 2005-11-19 01:18:55 UTC
So I fixed the cron thing.
adding the diff for port.
Ondra
Comment 8 koutek 2005-11-19 08:48:35 UTC
I talked to developers of campsite and campsite daemon needs to be
started after mysql, or to be restarted.
Therefore I renamed rc script from campsite.sh to zcampsite.sh which
should solve that.
Patch is appended.

Ondra
Comment 9 koutek 2005-11-19 11:45:20 UTC
I have one more patch to port that fixes autopublish feature and several
scrips connected to backup_instance reatures
acording to functionality of application, I believe this is last patch
to this issue.
Ondra
Comment 10 koutek 2005-11-19 12:10:34 UTC
OK, this is last version of shar, that seems to work on my system. I
hope I did not make additional bugs.
Ondra
Comment 11 Pav Lucistnik freebsd_committer freebsd_triage 2005-11-19 20:48:15 UTC
State Changed
From-To: open->closed

New port added, at last!