diff options
author | sahil <sahil@FreeBSD.org> | 2010-04-15 06:11:45 +0800 |
---|---|---|
committer | sahil <sahil@FreeBSD.org> | 2010-04-15 06:11:45 +0800 |
commit | f32bbdcc4ed228647cb33e761bfcf68aad2568fa (patch) | |
tree | 2b3b1f91e82bd7478bd67113e9586449da6301a6 /net-mgmt | |
parent | be83cadea1890c4b39ff8ae5148af58f97ef1f90 (diff) | |
download | freebsd-ports-gnome-f32bbdcc4ed228647cb33e761bfcf68aad2568fa.tar.gz freebsd-ports-gnome-f32bbdcc4ed228647cb33e761bfcf68aad2568fa.tar.zst freebsd-ports-gnome-f32bbdcc4ed228647cb33e761bfcf68aad2568fa.zip |
- Define additional MASTER_SITES
- Fix install in case of non-default ${LOCALBASE}
- Fix whitespace/alignment in Makefile header
- Tweak pkg-message
PR: 145438
Submitted by: Eric F Crist (maintainer)
Approved by: itetcu (mentor)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/rackmonkey/Makefile | 14 | ||||
-rw-r--r-- | net-mgmt/rackmonkey/files/pkg-message.in | 5 |
2 files changed, 12 insertions, 7 deletions
diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile index 90d489c16478..dc061ae28b53 100644 --- a/net-mgmt/rackmonkey/Makefile +++ b/net-mgmt/rackmonkey/Makefile @@ -1,6 +1,6 @@ # Ports collection makefile for: RackMonkey -# Date created: February 10, 2010 -# Whom: Eric F Crist <ecrist@secure-computing.net> +# Date created: 2010-02-10 +# Whom: Eric F Crist <ecrist@secure-computing.net> # # $FreeBSD$ # @@ -9,7 +9,9 @@ PORTNAME= rackmonkey PORTVERSION= 1.2.5 PORTREVISION= 2 CATEGORIES= net-mgmt www -MASTER_SITES= SF +MASTER_SITES= SF \ + ftp://ftp.secure-computing.net/pub/FreeBSD/ports/${PORTNAME}/ \ + ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/${PORTNAME}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MAINTAINER= ecrist@secure-computing.net @@ -63,10 +65,10 @@ do-install: if [ -e "${WWWDIR}/rackmonkey.db" ]; then \ ${ECHO} "Database exists, skipping initalization..."; \ else \ - /usr/local/bin/sqlite3 ${WWWDIR}/rackmonkey.db < ${WRKSRC}/sql/schema/schema.sqlite.sql; \ - /usr/local/bin/sqlite3 ${WWWDIR}/rackmonkey.db < ${WRKSRC}/sql/data/default_data.sql; \ + ${LOCALBASE}/bin/sqlite3 ${WWWDIR}/rackmonkey.db < ${WRKSRC}/sql/schema/schema.sqlite.sql; \ + ${LOCALBASE}/bin/sqlite3 ${WWWDIR}/rackmonkey.db < ${WRKSRC}/sql/data/default_data.sql; \ if [ "${WITH_SAMPLE}" ]; then \ - /usr/local/bin/sqlite3 ${WWWDIR}/rackmonkey.db < ${WRKSRC}/sql/data/sample_data.sql; \ + ${LOCALBASE}/bin/sqlite3 ${WWWDIR}/rackmonkey.db < ${WRKSRC}/sql/data/sample_data.sql; \ fi \ fi \ fi \ diff --git a/net-mgmt/rackmonkey/files/pkg-message.in b/net-mgmt/rackmonkey/files/pkg-message.in index 8a887e2459b8..a23c06932911 100644 --- a/net-mgmt/rackmonkey/files/pkg-message.in +++ b/net-mgmt/rackmonkey/files/pkg-message.in @@ -17,12 +17,15 @@ WEBSERVER SETUP: If using the Apache web server, simply add the following to the appropriate place in your config files: +Alias /rackmonkey %%WWWDIR%% <Location /rackmonkey> + Order allow,deny + Allow from all Options ExecCGI FollowSymLinks Includes AddHandler cgi-script .pl AddType text/html .shtml AddHandler server-parsed .shtml DirectoryIndex rackmonkey.pl index.shtml index.html - SetEnv RACKMONKEY_CONF /usr/local/www/rackmonkey/rackmonkey.conf + SetEnv RACKMONKEY_CONF %%WWWDIR%%/rackmonkey.conf </Location> |