Initial import of bricolage 1.10.2
Bricolage is a full-featured, enterprise-class content management system. It offers a browser-based interface for ease-of use, full-fledged templating systems with complete programming language support for flexibility, and many other features. It operates in an Apache/mod_perl environment, and uses the PostgreSQL RDBMS for its repository. WWW: http://www.bricolage.cc/
This commit is contained in:
parent
7eff0c83cd
commit
12ebd1daaf
77
www/bricolage/Makefile
Normal file
77
www/bricolage/Makefile
Normal file
@ -0,0 +1,77 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
|
||||
COMMENT= "content management system"
|
||||
|
||||
DISTNAME= bricolage-1.10.2
|
||||
CATEGORIES= www perl5
|
||||
|
||||
HOMEPAGE= http://www.bricolage.cc/
|
||||
|
||||
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}downloads/
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= ::databases/p5-DBD-Pg \
|
||||
:postgresql-server->=7.3:databases/postgresql,-server \
|
||||
::devel/p5-Cache-Mmap \
|
||||
::devel/p5-Data-UUID \
|
||||
::devel/p5-DateTime \
|
||||
::devel/p5-Devel-Symdump \
|
||||
::devel/p5-List-MoreUtils \
|
||||
::devel/p5-MLDBM \
|
||||
::devel/p5-Term-ReadPassword \
|
||||
::devel/p5-Test-Class \
|
||||
::devel/p5-Test-File-Contents \
|
||||
::devel/p5-Test-MockModule \
|
||||
::net/p5-Net-SFTP \
|
||||
::graphics/p5-Image-Info \
|
||||
::sysutils/p5-Unix-Syslog \
|
||||
::textproc/p5-Template \
|
||||
::textproc/p5-Text-Diff-HTML \
|
||||
::textproc/p5-Text-LevenshteinXS \
|
||||
::textproc/p5-Text-WordDiff \
|
||||
::textproc/p5-XML-Simple \
|
||||
::textproc/p5-XML-Writer \
|
||||
::www/p5-Apache-Session \
|
||||
::www/p5-HTML-Template-Expr \
|
||||
::www/p5-MasonX-Interp-WithCallbacks \
|
||||
::www/p5-SOAP-Lite
|
||||
|
||||
# needed for other settings to take effect
|
||||
CONFIGURE_STYLE=perl
|
||||
|
||||
MAKE_FLAGS= INSTALL_VERBOSITY=QUIET
|
||||
ALL_TARGET= build
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
do-configure:
|
||||
@sed -e "s,%%PREFIX%%,${PREFIX}," ${FILESDIR}/openbsd > \
|
||||
${WRKSRC}/inst/defaults/standard
|
||||
@perl -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/inst/config.pl \
|
||||
${WRKSRC}/INSTALL ${WRKSRC}/bin/bric_*
|
||||
@cd ${WRKSRC} && make all
|
||||
|
||||
# bulk creation of man pages fails for these, perl bug?
|
||||
post-build:
|
||||
@rm ${WRKSRC}/lib/blib/man3/Bric::Dist::Action::DTDValidate.3p
|
||||
@rm ${WRKSRC}/lib/blib/man3/Bric::Util::Alerted.3p
|
||||
@cd ${WRKSRC}/lib && perl "-MExtUtils::Command::MM" -e pod2man "--" \
|
||||
--section=3 --perm_rw=644 \
|
||||
Bric/Dist/Action/DTDValidate.pm blib/man3/Bric::Dist::Action::DTDValidate.3p \
|
||||
Bric/Util/Alerted.pm blib/man3/Bric::Util::Alerted.3p
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/bricolage/sql/Pg
|
||||
${INSTALL_DATA} ${WRKSRC}/inst/Pg.sql ${PREFIX}/share/bricolage/sql/Pg
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bricolage
|
||||
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/bricolage
|
||||
|
||||
.include <bsd.port.mk>
|
4
www/bricolage/distinfo
Normal file
4
www/bricolage/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (bricolage-1.10.2.tar.gz) = 04e26c62c002c1bf3b20ebf069d53b9a
|
||||
RMD160 (bricolage-1.10.2.tar.gz) = 432d2a39411c0877f64b47bbf0b85e9fc8801881
|
||||
SHA1 (bricolage-1.10.2.tar.gz) = afa02a20d42041996b503c722092afbac308c589
|
||||
SIZE (bricolage-1.10.2.tar.gz) = 2791306
|
61
www/bricolage/files/openbsd
Normal file
61
www/bricolage/files/openbsd
Normal file
@ -0,0 +1,61 @@
|
||||
# $OpenBSD: openbsd,v 1.1.1.1 2006/11/10 17:04:54 sturm Exp $
|
||||
# Required programs. PG_CONFIG_PATH is the location of PostgreSQL's pg_config
|
||||
# script. APACHE_PATH is the path to the Apache 1.3 executable. APACHE_EXE is
|
||||
# the filename of the executable itself. EXPAT_PATH is the path to the Expat
|
||||
# library libexpat.so (also looks in library paths that Perl knows about), and
|
||||
# EXPAT_FILE is the filename of the library.
|
||||
|
||||
PG_CONFIG_PATH = /usr/local/bin
|
||||
APACHE_PATH = /usr/sbin
|
||||
APACHE_EXE = httpd
|
||||
EXPAT_PATH = /sw/lib
|
||||
EXPAT_FILE = libexpat.la, libexpat.a
|
||||
|
||||
# Apache settings. APACHE_USER and APACHE_GROUP are the user and group that
|
||||
# the Apache process will run as. APACHE_PORT is the port that Apache will
|
||||
# listen on. APACHE_SSL_PORT is the port that will listen for https requests.
|
||||
# APACHE_HOSTNAME is the server's hostname; only set this if you want to
|
||||
# override the value returned by the "hostname" command.
|
||||
|
||||
APACHE_USER = www
|
||||
APACHE_GROUP = www
|
||||
APACHE_PORT = 80
|
||||
APACHE_SSL_PORT = 443
|
||||
# APACHE_HOSTNAME = localhost
|
||||
|
||||
# PostgreSQL settings. POSTGRES_SUPERUSER is the username of the Postgres
|
||||
# superuser (typically "postgres"). POSTGRES_BRICUSER is the username that
|
||||
# Bricolage will use when connecting to the database. This can be anything
|
||||
# you want, but "bric" is typical. POSTGRES_DB is the name of the database
|
||||
# Bricolage will use.
|
||||
#
|
||||
# In most installations, Postgres allows local users to access the
|
||||
# server without a username. If your server requires a password, pass the
|
||||
# POSTGRES_SUPERPASS environment variable during "make," e.g.:
|
||||
#
|
||||
# make POSTGRES_SUPERPASS=abcdef
|
||||
#
|
||||
# The Bricolage Postgres Password (the password used by Bricolage to
|
||||
# connect to the database) is randomly generated during a silent install. If
|
||||
# you need it, it'll be in bricolage.conf after installation.
|
||||
#
|
||||
# If PostgreSQL is running on a separate box, you must pass a host name or
|
||||
# IP address to "make" through the POSTGRES_HOSTNAME environment variable.
|
||||
# If it's running on a port other than the default port (5432), pass the
|
||||
# appropriate port number with POSTGRES_HOSTPORT.
|
||||
|
||||
POSTGRES_SUPERUSER = postgres
|
||||
POSTGRES_BRICUSER = bric
|
||||
POSTGRES_DB = bric
|
||||
|
||||
# Installation locations.
|
||||
|
||||
BRICOLAGE_ROOT_DIR = %%PREFIX%%/share/bricolage # Bricolage Root Directory
|
||||
BRICOLAGE_TMP_DIR = /var/tmp # Temporary Directory
|
||||
BRICOLAGE_PERL_DIR = %%PREFIX%%/libdata/perl5/site_perl # Perl Module Directory
|
||||
BRICOLAGE_BIN_DIR = %%PREFIX%%/bin # Executable Directory
|
||||
BRICOLAGE_MAN_DIR = %%PREFIX%%/man # Man-Page Directory (! to skip)
|
||||
BRICOLAGE_LOG_DIR = /var/www/logs # Log Directory
|
||||
BRICOLAGE_PID = /var/www/logs/httpd.pid # PID File Location
|
||||
BRICOLAGE_COMP_DIR = %%PREFIX%%/share/bricolage/comp # Mason Component Directory
|
||||
BRICOLAGE_DATA_DIR = %%PREFIX%%/share/bricolage/data # Mason Data Directory
|
44
www/bricolage/patches/patch-INSTALL
Normal file
44
www/bricolage/patches/patch-INSTALL
Normal file
@ -0,0 +1,44 @@
|
||||
$OpenBSD: patch-INSTALL,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- INSTALL.orig Fri Nov 10 17:09:58 2006
|
||||
+++ INSTALL Fri Nov 10 17:25:23 2006
|
||||
@@ -660,10 +660,7 @@ INSTALLATION
|
||||
Bricolage (Manual Installation)
|
||||
Here's how to install Bricolage manually.
|
||||
|
||||
- * Download the latest Bricolage sources from <http://bricolage.cc/>.
|
||||
- Decompress them into /usr/local/bricolage.
|
||||
-
|
||||
- * Change directories into /usr/local/bricolage/bin and run
|
||||
+ * Change directories into %%PREFIX%%/bin and run
|
||||
bric_pgimport as follows:
|
||||
|
||||
./bric_pgimport -u postgres -p postgres -d dbname -c -m db_user:db_password
|
||||
@@ -677,14 +674,14 @@ INSTALLATION
|
||||
these permissions (the 'dbname' database will be owned by the user
|
||||
passed in via the -u argument), but will be granted full CREATE,
|
||||
DELETE, UPDATE, and SELECT permissions on all objects in the
|
||||
- Bricolage database.
|
||||
+ Bricolage database. Change conf/bricolage.conf accordingly.
|
||||
|
||||
See Bric::DBA for more information on database security. You may
|
||||
- want to alter the default security policy. Also, bric_import uses a
|
||||
- TCP/IP connection so you may need to run postmaster with the *-i*
|
||||
- option.
|
||||
+ want to alter the default security policy.
|
||||
|
||||
- * Configure Apache to use Bricolage. To have Bricolage run as the main
|
||||
+ * You can skip this item, if you use bric_apachectl.
|
||||
+
|
||||
+ Configure Apache to use Bricolage. To have Bricolage run as the main
|
||||
server process on your Apache server, simply add the following two
|
||||
lines to your httpd.conf file (an example is provided in
|
||||
conf/httpd.conf):
|
||||
@@ -720,7 +717,7 @@ INSTALLATION
|
||||
* Start Apache. Use one of the scripts in scripts/ if you like. You
|
||||
can manually start it via the following command:
|
||||
|
||||
- /usr/local/bricolage/bin/bric_apachectl start
|
||||
+ %%PREFIX%%/bin/bric_apachectl start
|
||||
|
||||
* Try to hit the web server. If you're prompted for a login, you're
|
||||
in! If not, check the Apache error log to figure out what might have
|
52
www/bricolage/patches/patch-Makefile
Normal file
52
www/bricolage/patches/patch-Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- Makefile.orig Sat Mar 18 01:26:34 2006
|
||||
+++ Makefile Sat Oct 21 16:14:11 2006
|
||||
@@ -22,7 +22,7 @@
|
||||
PERL = /usr/bin/perl
|
||||
|
||||
# Blank by default, but set to QUIET to ask essential questions only
|
||||
-INSTALL_VERBOSITY?= STANDARD
|
||||
+INSTALL_VERBOSITY?= QUIET
|
||||
|
||||
# can't load Bric since it loads Bric::Config which has dependencies
|
||||
# that won't be solved till make install.
|
||||
@@ -35,6 +35,12 @@ BRIC_VERSION = `$(PERL) -ne '/VERSION.*?
|
||||
all : required.db modules.db apache.db postgres.db config.db \
|
||||
bconf/bricolage.conf build_done
|
||||
|
||||
+build :
|
||||
+ rm -f lib/Makefile
|
||||
+ rm -f bin/Makefile
|
||||
+ cd lib; $(PERL) Makefile.PL PREFIX="${PREFIX}"; $(MAKE)
|
||||
+ cd bin; $(PERL) Makefile.PL PREFIX="${PREFIX}"; $(MAKE)
|
||||
+
|
||||
required.db : inst/required.pl
|
||||
$(PERL) inst/required.pl $(INSTALL_VERBOSITY)
|
||||
|
||||
@@ -170,9 +176,9 @@ clone_tar :
|
||||
# installation rules #
|
||||
##########################
|
||||
|
||||
-install : install_files install_db done
|
||||
+install : install_files
|
||||
|
||||
-install_files : all is_root cpan lib bin files
|
||||
+install_files : all is_root lib bin files
|
||||
|
||||
install_db : db db_grant
|
||||
|
||||
@@ -183,12 +189,10 @@ cpan : modules.db postgres.db inst/cpa
|
||||
$(PERL) inst/cpan.pl
|
||||
|
||||
lib :
|
||||
- -rm -f lib/Makefile
|
||||
- cd lib; $(PERL) Makefile.PL; $(MAKE) install
|
||||
+ cd lib; $(MAKE) install
|
||||
|
||||
bin :
|
||||
- -rm -f bin/Makefile
|
||||
- cd bin; $(PERL) Makefile.PL; $(MAKE) install
|
||||
+ cd bin; $(MAKE) install
|
||||
|
||||
files : config.db bconf/bricolage.conf
|
||||
$(PERL) inst/files.pl
|
23
www/bricolage/patches/patch-bin_bric_apachectl
Normal file
23
www/bricolage/patches/patch-bin_bric_apachectl
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-bin_bric_apachectl,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_apachectl.orig Sun Oct 22 10:30:02 2006
|
||||
+++ bin/bric_apachectl Sun Oct 22 10:32:06 2006
|
||||
@@ -43,8 +43,8 @@ $|++;
|
||||
use File::Spec::Functions qw(catdir);
|
||||
|
||||
BEGIN {
|
||||
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
|
||||
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
|
||||
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
|
||||
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
|
||||
|
||||
# use $BRICOLAGE_ROOT/lib if exists
|
||||
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
|
||||
@@ -75,7 +75,7 @@ END
|
||||
use Bric::Config qw(:apachectl);
|
||||
|
||||
# the httpd command
|
||||
-my $httpd = APACHE_BIN . ' -f ' . APACHE_CONF;
|
||||
+my $httpd = APACHE_BIN . ' -f ' . APACHE_CONF . ' -u ';
|
||||
|
||||
# the pid file
|
||||
my $pid_file = PID_FILE;
|
23
www/bricolage/patches/patch-bin_bric_clean_tmp
Normal file
23
www/bricolage/patches/patch-bin_bric_clean_tmp
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-bin_bric_clean_tmp,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_clean_tmp.orig Sun Oct 22 10:32:13 2006
|
||||
+++ bin/bric_clean_tmp Sun Oct 22 10:33:02 2006
|
||||
@@ -12,7 +12,7 @@ bric_clean_tmp - Bricolage temp director
|
||||
This script is designed to be run from cron. To run it nightly at 2am put a like
|
||||
like this in the crontab for the web server user (often "nobody"):
|
||||
|
||||
- 0 2 * * * /usr/local/bricolage/bin/bric_clean_tmp
|
||||
+ 0 2 * * * %%PREFIX%%/bin/bric_clean_tmp
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
@@ -29,8 +29,8 @@ Sam Tregar <stregar@about-inc.com>
|
||||
use File::Spec::Functions qw(catdir);
|
||||
|
||||
BEGIN {
|
||||
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
|
||||
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
|
||||
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
|
||||
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
|
||||
|
||||
# use $BRICOLAGE_ROOT/lib if exists
|
||||
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
|
14
www/bricolage/patches/patch-bin_bric_dist_mon
Normal file
14
www/bricolage/patches/patch-bin_bric_dist_mon
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-bin_bric_dist_mon,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_dist_mon.orig Sun Oct 22 10:33:08 2006
|
||||
+++ bin/bric_dist_mon Sun Oct 22 10:33:35 2006
|
||||
@@ -120,8 +120,8 @@ use strict;
|
||||
use File::Spec::Functions qw(catdir);
|
||||
|
||||
BEGIN {
|
||||
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
|
||||
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
|
||||
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
|
||||
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
|
||||
|
||||
# use $BRICOLAGE_ROOT/lib if exists
|
||||
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
|
14
www/bricolage/patches/patch-bin_bric_ftpd
Normal file
14
www/bricolage/patches/patch-bin_bric_ftpd
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-bin_bric_ftpd,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_ftpd.orig Sun Oct 22 10:33:43 2006
|
||||
+++ bin/bric_ftpd Sun Oct 22 10:34:03 2006
|
||||
@@ -102,8 +102,8 @@ use strict;
|
||||
use File::Spec::Functions qw(catdir);
|
||||
|
||||
BEGIN {
|
||||
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
|
||||
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
|
||||
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
|
||||
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
|
||||
|
||||
# use $BRICOLAGE_ROOT/lib if exists
|
||||
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
|
30
www/bricolage/patches/patch-bin_bric_pgimport
Normal file
30
www/bricolage/patches/patch-bin_bric_pgimport
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-bin_bric_pgimport,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_pgimport.orig Sun Oct 22 10:34:10 2006
|
||||
+++ bin/bric_pgimport Sun Oct 22 10:34:45 2006
|
||||
@@ -35,7 +35,7 @@ should work if psql is in your path.
|
||||
|
||||
The directory with the Subversion SQL files. Defaults to lib subdirectory of
|
||||
BRICOLAGE_ROOT environment variable, which itself defaults to
|
||||
-F</usr/local/bricolage>.
|
||||
+F<%%PREFIX%%/share/bricolage>.
|
||||
|
||||
=item -u
|
||||
|
||||
@@ -186,7 +186,7 @@ sub initialize {
|
||||
# Add on the location of the SQL.
|
||||
$opt_w = catdir($opt_w, 'sql', DBD);
|
||||
} else {
|
||||
- $ENV{BRICOLAGE_ROOT} ||= '/usr/local/bricolage';
|
||||
+ $ENV{BRICOLAGE_ROOT} ||= '%%PREFIX%%/share/bricolage';
|
||||
$opt_w = catdir($ENV{BRICOLAGE_ROOT}, 'sql', DBD);
|
||||
}
|
||||
|
||||
@@ -246,7 +246,7 @@ Supported Options:
|
||||
This should work if psql is in your path.
|
||||
-w The directory with the Subversion SQL files. Defaults to lib subdirectory
|
||||
of BRICOLAGE_ROOT environment variable, which itself defaults to
|
||||
- /usr/local/bricolage.
|
||||
+ %%PREFIX%%/share/bricolage.
|
||||
-u Database user login. Defaults to PGUSER environment variable.
|
||||
-p Database user password. Defaults to PGPASSWORD environment variable.
|
||||
-d Database name. Defaults to PGDATABASE environment variable.
|
14
www/bricolage/patches/patch-bin_bric_queued
Normal file
14
www/bricolage/patches/patch-bin_bric_queued
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-bin_bric_queued,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_queued.orig Sun Oct 22 10:34:50 2006
|
||||
+++ bin/bric_queued Sun Oct 22 10:35:06 2006
|
||||
@@ -96,8 +96,8 @@ use Term::ReadPassword;
|
||||
|
||||
BEGIN {
|
||||
$ENV{BRIC_QUEUED} = 1;
|
||||
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
|
||||
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
|
||||
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
|
||||
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
|
||||
# use $BRICOLAGE_ROOT/lib if exists
|
||||
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
|
||||
if (-e $lib) {
|
30
www/bricolage/patches/patch-bin_bric_republish
Normal file
30
www/bricolage/patches/patch-bin_bric_republish
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-bin_bric_republish,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- bin/bric_republish.orig Sun Oct 22 10:35:12 2006
|
||||
+++ bin/bric_republish Sun Oct 22 10:36:05 2006
|
||||
@@ -62,7 +62,7 @@ crontab like this to republish all stori
|
||||
|
||||
BRICOLAGE_USERNAME=admin
|
||||
BRICOLAGE_PASSWORD=admin_pass
|
||||
- PATH=/usr/local/bricolage/bin:$PATH
|
||||
+ PATH=%%PREFIX%%/bin:$PATH
|
||||
MAILTO=your-email@your-domain.com
|
||||
0 * * * * bric_republish
|
||||
|
||||
@@ -70,7 +70,7 @@ Or to republish Covers hourly and everyt
|
||||
|
||||
BRICOLAGE_USERNAME=admin
|
||||
BRICOLAGE_PASSWORD=admin_pass
|
||||
- PATH=/usr/local/bricolage/bin:$PATH
|
||||
+ PATH=%%PREFIX%%/bin:$PATH
|
||||
MAILTO=your-email@your-domain.com
|
||||
0 * * * * bric_republish --element Cover
|
||||
30 11 * * * bric_republish
|
||||
@@ -79,7 +79,7 @@ Or to republish all stories every other
|
||||
|
||||
BRICOLAGE_USERNAME=admin
|
||||
BRICOLAGE_PASSWORD=admin_pass
|
||||
- PATH=/usr/local/bricolage/bin:$PATH
|
||||
+ PATH=%%PREFIX%%/bin:$PATH
|
||||
MAILTO=your-email@your-domain.com
|
||||
0 */2 * * * bric_republish --no-media
|
||||
|
17
www/bricolage/patches/patch-conf_httpd_conf
Normal file
17
www/bricolage/patches/patch-conf_httpd_conf
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-conf_httpd_conf,v 1.1.1.1 2006/11/10 17:04:39 sturm Exp $
|
||||
--- conf/httpd.conf.orig Sun Oct 22 16:12:27 2006
|
||||
+++ conf/httpd.conf Sun Oct 22 16:13:30 2006
|
||||
@@ -46,10 +46,10 @@ Timeout 30
|
||||
# Enabled on a per virtual host basis
|
||||
SSLEngine off
|
||||
SSLPassPhraseDialog builtin
|
||||
- SSLSessionCache dbm:/usr/local/apache/logs/ssl_scache
|
||||
+ SSLSessionCache dbm:/var/www/logs/ssl_scache
|
||||
SSLSessionCacheTimeout 300
|
||||
- SSLMutex file:/usr/local/apache/logs/ssl_mutex
|
||||
- SSLLog /usr/local/apache/logs/ssl_engine_log
|
||||
+ SSLMutex file:/var/www/logs/ssl_mutex
|
||||
+ SSLLog /var/www/logs/ssl_engine_log
|
||||
SSLLogLevel info
|
||||
SSLRandomSeed startup builtin
|
||||
SSLRandomSeed connect builtin
|
20
www/bricolage/patches/patch-inst_apache_pl
Normal file
20
www/bricolage/patches/patch-inst_apache_pl
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-inst_apache_pl,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- inst/apache.pl.orig Fri Oct 20 17:14:27 2006
|
||||
+++ inst/apache.pl Fri Oct 20 17:18:48 2006
|
||||
@@ -240,12 +240,10 @@ sub check_modules {
|
||||
|
||||
# perl uses libfoo.so format filenames
|
||||
if ($mod eq 'perl') {
|
||||
- if (-e ($_ = catfile($path, "lib${mod}.so"))) {
|
||||
- $AP{add_modules}{"mod_$mod"} = 1;
|
||||
- $AP{load_modules}{"${mod}_module"} = $_;
|
||||
- $AP{$mod} = 1 if $mod =~ /ssl$/;
|
||||
- next MOD;
|
||||
- }
|
||||
+ $AP{add_modules}{"mod_$mod"} = 1;
|
||||
+ $AP{load_modules}{"${mod}_module"} = "/usr/lib/apache/modules/mod_perl.so";
|
||||
+ $AP{$mod} = 1 if $mod =~ /ssl$/;
|
||||
+ next MOD;
|
||||
}
|
||||
|
||||
# everything else is mod_foo.so. Not an elsif in case
|
18
www/bricolage/patches/patch-inst_config_pl
Normal file
18
www/bricolage/patches/patch-inst_config_pl
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-inst_config_pl,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- inst/config.pl.orig Sun Oct 22 10:57:22 2006
|
||||
+++ inst/config.pl Sun Oct 22 10:57:53 2006
|
||||
@@ -155,14 +155,6 @@ sub confirm_settings {
|
||||
}
|
||||
|
||||
|
||||
- # make sure this directory doesn't already house a Bricolage install
|
||||
- if (-e $CONFIG{BRICOLAGE_ROOT} and
|
||||
- -e catfile($CONFIG{BRICOLAGE_ROOT}, "conf", "bricolage.conf")) {
|
||||
- print "That directory already contains a Bricolage installation.\n";
|
||||
- print "Consider running `make upgrade`, instead.\n";
|
||||
- exit 1 unless ask_yesno("Continue and overwrite existing installation?", 0);
|
||||
- }
|
||||
-
|
||||
# some prefs are based on BRICOLAGE_ROOT, need to eval them now
|
||||
foreach (qw(TEMP_DIR MODULE_DIR BIN_DIR MAN_DIR LOG_DIR PID_FILE
|
||||
MASON_COMP_ROOT MASON_DATA_ROOT)) {
|
17
www/bricolage/patches/patch-inst_files_pl
Normal file
17
www/bricolage/patches/patch-inst_files_pl
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-inst_files_pl,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- inst/files.pl.orig Tue Jun 28 05:21:52 2005
|
||||
+++ inst/files.pl Sat Oct 21 16:02:03 2006
|
||||
@@ -55,6 +55,13 @@ do "./apache.db" or die "Failed to read
|
||||
our $UPGRADE;
|
||||
$UPGRADE = 1 if $ARGV[0] and $ARGV[0] eq 'UPGRADE';
|
||||
|
||||
+# fix pathes
|
||||
+our $DESTDIR = $ENV{DESTDIR} || '';
|
||||
+$CONFIG->{BRICOLAGE_ROOT} = "$DESTDIR" . "$CONFIG->{BRICOLAGE_ROOT}";
|
||||
+$CONFIG->{MASON_COMP_ROOT} = "$DESTDIR" . "$CONFIG->{MASON_COMP_ROOT}";
|
||||
+$CONFIG->{MASON_DATA_ROOT} = "$DESTDIR" . "$CONFIG->{MASON_DATA_ROOT}";
|
||||
+$CONFIG->{LOG_DIR} = "$DESTDIR" . "$CONFIG->{LOG_DIR}";
|
||||
+
|
||||
create_paths();
|
||||
|
||||
# Remove old object files if this is an upgrade.
|
12
www/bricolage/patches/patch-lib_Makefile_PL
Normal file
12
www/bricolage/patches/patch-lib_Makefile_PL
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_Makefile_PL,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
||||
--- lib/Makefile.PL.orig Sat Oct 21 16:34:16 2006
|
||||
+++ lib/Makefile.PL Sat Oct 21 16:34:37 2006
|
||||
@@ -41,6 +41,6 @@ WriteMakefile(NAME => 'Bric',
|
||||
( INSTALLSITELIB => $CONFIG->{MODULE_DIR} ) :
|
||||
()),
|
||||
( exists $CONFIG->{MAN_DIR} ?
|
||||
- ( INSTALLMAN3DIR => "$CONFIG->{MAN_DIR}/man3",
|
||||
- INSTALLSITEMAN3DIR => "$CONFIG->{MAN_DIR}/man3") :
|
||||
+ ( INSTALLMAN3DIR => "$CONFIG->{MAN_DIR}/man3p",
|
||||
+ INSTALLSITEMAN3DIR => "$CONFIG->{MAN_DIR}/man3p") :
|
||||
()));
|
5
www/bricolage/pkg/DESCR
Normal file
5
www/bricolage/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Bricolage is a full-featured, enterprise-class content management system.
|
||||
It offers a browser-based interface for ease-of use, full-fledged
|
||||
templating systems with complete programming language support for
|
||||
flexibility, and many other features. It operates in an Apache/mod_perl
|
||||
environment, and uses the PostgreSQL RDBMS for its repository.
|
6
www/bricolage/pkg/MESSAGE
Normal file
6
www/bricolage/pkg/MESSAGE
Normal file
@ -0,0 +1,6 @@
|
||||
For instructions on how to complete the installation or upgrade from an
|
||||
older version of bricolage, see ${PREFIX}/share/doc/bricolage/INSTALL.
|
||||
|
||||
The section "Bricolage (Manual Installation)" describes the steps
|
||||
necessary for initial setup. "UPGRADING" describes how to upgrade from an
|
||||
older version of bricolage.
|
3534
www/bricolage/pkg/PLIST
Normal file
3534
www/bricolage/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user