Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Feb 2005 10:22:36 -0600 (CST)
From:      Paul Schmehl <pauls@utdallas.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77103: Corrections to the Makefile, pkg-plist and pkg-message files
Message-ID:  <20050204162236.6BBC83C80B2@buttercup2.utdallas.edu>
Resent-Message-ID: <200502041630.j14GUHCR093967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77103
>Category:       ports
>Synopsis:       Corrections to the Makefile, pkg-plist and pkg-message files
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 04 16:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Paul Schmhel
>Release:        FreeBSD 4.9-SECURITY i386
>Organization:
>Environment:
System: FreeBSD unknown.utdallas.edu 4.9-SECURITY FreeBSD 4.9-SECURITY #0: Mon Jun 7 18:02:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Makefile failed to install the base_conf.php.dist file
        pkg-plist was missing the base_conf.php.dist file so deinstall failed
        pkg-message pointed to the incorrect directory for the README file
>How-To-Repeat:
	
>Fix:

	

--- Makefile begins here ---
# New ports collection makefile for:	base
# Date created:		21 Jan 2005
# Whom:			pauls
#
# $FreeBSD$
#

PORTNAME=	base
PORTVERSION=	1.0.1
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	secureideas

MAINTAINER=	pauls@utdallas.edu
COMMENT=	Basic Analysis and Security Engine (BASE)

RUN_DEPENDS=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
		${LOCALBASE}/share/adodb/adodb.inc.php:${PORTSDIR}/databases/adodb

WRKSRC=		${WRKDIR}/base

USE_PHP=	yes
NO_BUILD=	yes

INSTALL_WRKSRC=	${WRKSRC}/\
		${WRKSRC}/admin \
		${WRKSRC}/docs \
		${WRKSRC}/help \
		${WRKSRC}/images \
		${WRKSRC}/includes \
		${WRKSRC}/includes/template \
		${WRKSRC}/includes/template/default \
		${WRKSRC}/languages \
		${WRKSRC}/setup \
		${WRKSRC}/sql \
		${WRKSRC}/styles

do-install:
	@${MKDIR} ${PREFIX}/www/base
	@${MKDIR} ${PREFIX}/www/base/admin
	@${MKDIR} ${PREFIX}/www/base/docs
	@${MKDIR} ${PREFIX}/www/base/help
	@${MKDIR} ${PREFIX}/www/base/images
	@${MKDIR} ${PREFIX}/www/base/includes
	@${MKDIR} ${PREFIX}/www/base/includes/template
	@${MKDIR} ${PREFIX}/www/base/includes/template/default
	@${MKDIR} ${PREFIX}/www/base/languages
	@${MKDIR} ${PREFIX}/www/base/setup
	@${MKDIR} ${PREFIX}/www/base/sql
	@${MKDIR} ${PREFIX}/www/base/styles
.for ext in php dist
	@${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/www/base
.endfor
.for ext in php
	@${INSTALL_DATA} ${WRKSRC}/admin/*.${ext} ${PREFIX}/www/base/admin
	@${INSTALL_DATA} ${WRKSRC}/help/*.${ext} ${PREFIX}/www/base/help
	@${INSTALL_DATA} ${WRKSRC}/includes/*.${ext} ${PREFIX}/www/base/includes
	@${INSTALL_DATA} ${WRKSRC}/languages/*.${ext} ${PREFIX}/www/base/languages
	@${INSTALL_DATA} ${WRKSRC}/setup/*.${ext} ${PREFIX}/www/base/setup
.endfor
.for ext in png gif
	@${INSTALL_DATA} ${WRKSRC}/images/*.${ext} ${PREFIX}/www/base/images
.endfor
.for ext in sql
	@${INSTALL_DATA} ${WRKSRC}/sql/*.${ext} ${PREFIX}/www/base/sql
.endfor
.for ext in css
	@${INSTALL_DATA} ${WRKSRC}/styles/*.${ext} ${PREFIX}/www/base/styles
.endfor
.ifndef(NOPORTDOCS)
	@${INSTALL_DATA} ${WRKSRC}/docs/README ${PREFIX}/www/base/docs
	@${INSTALL_DATA} ${WRKSRC}/docs/README.mssql ${PREFIX}/www/base/docs
	@${INSTALL_DATA} ${WRKSRC}/docs/CREDITS ${PREFIX}/www/base/docs
	@${INSTALL_DATA} ${WRKSRC}/docs/TODO ${PREFIX}/www/base/docs
	@${INSTALL_DATA} ${WRKSRC}/docs/CHANGELOG ${PREFIX}/www/base/docs
	@${INSTALL_DATA} ${WRKSRC}/docs/UPGRADE ${PREFIX}/www/base/docs
	@${INSTALL_DATA} ${WRKSRC}/docs/GPL ${PREFIX}/www/base/docs
.endif

post-install:
	@${SED} 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE}

.include <bsd.port.mk>
--- Makefile ends here ---

--- pkg-message begins here ---
************************************************************
Please read the README file located at:

%%PREFIX%%/www/base/docs/README

for how to configure %%PREFIX%%/www/base/base_conf.php after
installation.
************************************************************
--- pkg-message ends here ---

--- pkg-plist begins here ---
www/base/admin/base_roleadmin.php
www/base/admin/base_useradmin.php
www/base/admin/index.php
www/base/base_ag_common.php
www/base/base_ag_main.php
www/base/base_common.php
www/base/base_conf.php.dist
www/base/base_db_common.php
www/base/base_db_setup.php
www/base/base_denied.php
www/base/base_footer.php
www/base/base_graph_common.php
www/base/base_graph_display.php
www/base/base_graph_form.php
www/base/base_graph_main.php
www/base/base_hdr1.php
www/base/base_hdr2.php
www/base/base_main.php
www/base/base_maintenance.php
www/base/base_qry_alert.php
www/base/base_qry_common.php
www/base/base_qry_form.php
www/base/base_qry_main.php
www/base/base_qry_sqlcalls.php
www/base/base_stat_alerts.php
www/base/base_stat_class.php
www/base/base_stat_common.php
www/base/base_stat_ipaddr.php
www/base/base_stat_iplink.php
www/base/base_stat_ports.php
www/base/base_stat_sensor.php
www/base/base_stat_time.php
www/base/base_stat_uaddr.php
www/base/base_user.php
www/base/docs/CHANGELOG
www/base/docs/CREDITS
www/base/docs/GPL
www/base/docs/README
www/base/docs/README.mssql
www/base/docs/TODO
www/base/docs/UPGRADE
www/base/help/base_app_faq.php
www/base/help/base_help.php
www/base/help/base_setup_help.php
www/base/images/button_delete.png
www/base/images/button_edit.png
www/base/images/button_exclamation.png
www/base/images/greencheck.gif
www/base/images/greencheck.png
www/base/images/redcheck.gif
www/base/includes/base_action.inc.php
www/base/includes/base_auth.inc.php
www/base/includes/base_cache.inc.php
www/base/includes/base_capabilities.php
www/base/includes/base_constants.inc.php
www/base/includes/base_db.inc.php
www/base/includes/base_include.inc.php
www/base/includes/base_log_error.inc.php
www/base/includes/base_log_timing.inc.php
www/base/includes/base_net.inc.php
www/base/includes/base_output_html.inc.php
www/base/includes/base_output_query.inc.php
www/base/includes/base_setup.inc.php
www/base/includes/base_signature.inc.php
www/base/includes/base_state_citems.inc.php
www/base/includes/base_state_common.inc.php
www/base/includes/base_state_criteria.inc.php
www/base/includes/base_state_query.inc.php
www/base/includes/base_template.php
www/base/includes/base_user.inc.php
www/base/includes/class.ezpdf.php
www/base/includes/class.pdf.php
www/base/index.php
www/base/languages/chinese.lang.php
www/base/languages/danish.lang.php
www/base/languages/english.lang.php
www/base/languages/finnish.lang.php
www/base/languages/french.lang.php
www/base/languages/german.lang.php
www/base/languages/index.php
www/base/languages/indonesian.lang.php
www/base/languages/italian.lang.php
www/base/languages/japanese.lang.php
www/base/languages/norwegian.lang.php
www/base/languages/portuguese.lang.php
www/base/languages/russian.lang.php
www/base/languages/spanish.lang.php
www/base/languages/swedish.lang.php
www/base/setup/base_conf_contents.php
www/base/setup/index.php
www/base/setup/setup1.php
www/base/setup/setup2.php
www/base/setup/setup3.php
www/base/setup/setup4.php
www/base/setup/setup5.php
www/base/sql/acid2base_tbls_mssql.sql
www/base/sql/acid2base_tbls_mysql.sql
www/base/sql/acid2base_tbls_pgsql.sql
www/base/sql/create_base_tbls_mssql.sql
www/base/sql/create_base_tbls_mssql_extra.sql
www/base/sql/create_base_tbls_mysql.sql
www/base/sql/create_base_tbls_pgsql.sql
www/base/sql/create_base_tbls_pgsql_extra.sql
www/base/sql/upgrade_0.9.x_to_1.0-mysql.sql
www/base/styles/base_style.css
@dirrm www/base/styles
@dirrm www/base/sql
@dirrm www/base/setup
@dirrm www/base/languages
@dirrm www/base/includes/template/default
@dirrm www/base/includes/template
@dirrm www/base/includes
@dirrm www/base/images
@dirrm www/base/help
@dirrm www/base/docs
@dirrm www/base/admin
@dirrm www/base
--- pkg-plist ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050204162236.6BBC83C80B2>