Mon 20 Nov 2006 01:23:16 AM UTC, comment #15:
I have a test site running FreeBSD Savane up at http://www.oldtimegarage.com/
For testers, please post bugs or notes here as otg.com is a volatile space. Database may be destroyed and reinitialized during install remove reinstall testing.
|
Mon 13 Nov 2006 03:09:36 PM UTC, comment #14:
"admin" is specific here at gna.org
about adm, I have no clue, I dont remember.
|
Mon 13 Nov 2006 03:08:05 PM UTC, comment #13:
these groups need to be created pre install ? adm and admin are not found in my systems (default install), my references are SuSE 10.1 and FreeBSD 6.1, I don't recall mention in the savane docs, maybe I missed it.
|
Mon 13 Nov 2006 02:01:36 PM UTC, comment #12:
>'adm' not in /etc/group , is it cvs specific ?
Err, I could not tell. I now we have this group at cvs.gna.org and that differs from the admin group (which is the name of the siteadmin group at gna) but I dont know how standard it is. So far, no one complained about it.
>line 603 in backend/download/sv_gpgcheckfiles.pl
> system("chown", "root:".$project_gid{$project}, "$directory/maybe-corrupted");
>
> not positive on perl syntax, but, the above looks odd to me
No, that's perfectly fine.
|
Mon 13 Nov 2006 01:54:03 PM UTC, comment #11:
line 135 in lib/Savane/Cvs.pm
system("chown", "root.adm", "$dir_cvs/CVSROOT", "-R");
'adm' not in /etc/group , is it cvs specific ?
line 603 in backend/download/sv_gpgcheckfiles.pl
system("chown", "root:".$project_gid{$project}, "$directory/maybe-corrupted");
not positive on perl syntax, but, the above looks odd to me
if "$var/string" is valid in double quotes for concat so too should "string$var[$var]"
so
system("chown", "root:$project_gid{$project}", "$directory/maybe-corrupted");
should be ok, less confusing ?
|
Mon 13 Nov 2006 01:15:10 PM UTC, comment #10:
I think it is really adm (!= admin) that is meant.
|
Mon 13 Nov 2006 12:26:37 PM UTC, comment #9:
Also noted a bit I wasn't sure about
"$user:".$group
is this concat string ? or typo and group "adm" = "admin" ?
|
Mon 13 Nov 2006 12:14:43 PM UTC, comment #8:
Suggest a test of some envvar or uname -a to determine OS and use 'hostname' or 'hostname -f' when required,
changing to 'group:user' and adding the /usr/local/ locations for mailman, perl, bash and others to the search path lists
should allow smooth installation on FreeBSD obsoleting my posted How-To, well, except for the required pkgs list perhaps and the automake/conf links.
can the configure script take a --prefix option ?
|
Mon 13 Nov 2006 10:29:32 AM UTC, comment #7:
Ok, I'll try to see what the best way to include this howto in the next release (in the package or in recipe on our cookbook).
The part related to chown, I'll fill a bug because actually GNU/linux supports both user:group and user.group, so if user:group is more portable, why would we bother with user.group.
|
Fri 03 Nov 2006 04:09:19 AM UTC, comment #6:
Ok so everyone has to be a noob at everything once, the diff is pointless because the changes are trivial.
Attaching a doc that describes the changes I made to files and locations and the pkgs needed to run Savane-2.0 on FreeBSD 6.1
I have started the base of a FreeBSD pkg,
cd /usr/local/ and extract this archive...
http://www.digilanti.org/FreeBSD-6.1-R_Savane-2.0.tar.bz2
grab the FreeBSD-Savane-HOW-TO below and read it first.
|
Wed 01 Nov 2006 02:52:05 PM UTC, comment #5:
bsd-savane-2.0.diff looks better, yes, deffinately, oops
|
Wed 01 Nov 2006 02:48:35 PM UTC, comment #4:
uhm that doesn't look right, sorry I'm not terribly familiar with making a diff patch
|
Wed 01 Nov 2006 02:42:43 PM UTC, comment #3:
uploaded the uncomp text vers, seems ok, must be something up with gzip on amd64 ?
|
Wed 01 Nov 2006 02:34:19 PM UTC, comment #2:
hm, gzipped it on amd64, its small , 66 lines, I'll just post/paste it here, if i can
-----------------------cut---------------------
diff -rEwBn bsd-savane/backend/darwin/useradd savane-2.0/backend/darwin/useradd
d133 1
a133 1
/usr/sbin/chown "$UserID.$GroupID" "$home"
d137 1
a137 1
/usr/sbin/chown "$UserID.$GroupID" "$home"
diff -rEwBn bsd-savane/backend/download/sv_gpgcheckfiles.pl savane-2.0/backend/download/sv_gpgcheckfiles.pl
d686 1
a686 1
system("chown", "root.root", "-R", $cachedir);
diff -rEwBn bsd-savane/backend/install/sv_update_conf.pl savane-2.0/backend/install/sv_update_conf.pl
d129 1
a129 1
$sys_default_domain = `hostname -f`; chomp($sys_default_domain);
d792 1
a792 1
`chown root.$http_user $conffile_phpcopy $conffile` if $http_user;
Only in savane-2.0: bsd-savane.diff
diff -rEwBn bsd-savane/configure savane-2.0/configure
d81 1
a81 1
MM_PATH="/usr/lib/cgi-bin/mailman/listinfo /usr/local/lib/cgi-bin/mailman/listinfo /var/mailman/cgi-bin/listinfo /usr/var/mailman/cgi-bin/listinfo"
d118 3
d139 1
a139 1
if [ "$SV_CONF_INTERACTIVE" = "" ]; then SV_CONF_INTERACTIVE=yes ; fi
diff -rEwBn bsd-savane/debian/savane-backend-config.postinst savane-2.0/debian/savane-backend-config.postinst
d16 1
a16 1
chomp(my $hostname = `hostname -f`);
diff -rEwBn bsd-savane/debian/savane-backend-export.postinst savane-2.0/debian/savane-backend-export.postinst
d6 1
a6 1
system("chown", "root.root", $xmldir);
diff -rEwBn bsd-savane/debian/savane-lib.postinst savane-2.0/debian/savane-lib.postinst
d6 1
a6 1
system("chown", "root.root", $locksdir);
diff -rEwBn bsd-savane/frontend/php/include/account.php savane-2.0/frontend/php/include/account.php
d67 1
a67 1
# to things like `chown user.group`)
diff -rEwBn bsd-savane/lib/Savane/Cvs.pm savane-2.0/lib/Savane/Cvs.pm
d135 2
a136 1
system("chown", "root.adm", "$dir_cvs/CVSROOT", "-R");
diff -rEwBn bsd-savane/lib/Savane/Download.pm savane-2.0/lib/Savane/Download.pm
d77 1
a77 1
system('/bin/chown', "gatekpr.$name", $dir_public);
d87 1
a87 1
system ('/bin/chown', 'upload.gatekpr', $dir_upload);
d100 2
a101 2
system ('/bin/chown', 'gatekpr.gatekpr', $dir_ftpin);
system ('/bin/chown', 'gatekpr.gatekpr', $dir_ftpout);
diff -rEwBn bsd-savane/Makefile.in savane-2.0/Makefile.in
d1 1
a1 1
BASE_CONF_COMMAND=backend/install/sv_update_conf.pl --recreate --http-user=$(WWW_SERVER_USER) --confdir=$(SV_CONF) --default-domain=`hostname -f` --www-topdir=`pwd`/frontend/php --url-topdir=$(SV_URLROOT) --incdir=\$$sys_www_topdir/../../etc/site-specific-content
diff -rEwBn bsd-savane/www/include/account.php savane-2.0/www/include/account.php
d67 1
a67 1
# to things like `chown user.group`)
-----------------------cut---------------------
yep
|
Wed 01 Nov 2006 02:27:51 PM UTC, comment #1:
Hello,
For some reason, patch returns
"patch: **** Only garbage was found in the patch input."
Any idea?
|
Wed 01 Nov 2006 02:18:33 PM UTC, original submission:
This just gets it to compile and install/run provided all the required pkgs are installed and available (still needs some manual tweaking).
I haven't done any further testing than getting to the initial admin login "create first account" page.
|