FreeBSD Bugzilla – Attachment 63601 Details for
Bug 94812
Update port: security/base to 1.2.4 and add hooks for MySQL/PGSQL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
base-1.2.4.diff
base-1.2.4.diff (text/plain), 3.50 KB, created by
Linh Pham
on 2006-03-21 22:00:33 UTC
(
hide
)
Description:
base-1.2.4.diff
Filename:
MIME Type:
Creator:
Linh Pham
Created:
2006-03-21 22:00:33 UTC
Size:
3.50 KB
patch
obsolete
>diff -ruN /usr/ports/security/base/Makefile base/Makefile >--- /usr/ports/security/base/Makefile Tue Jan 17 18:42:15 2006 >+++ base/Makefile Tue Mar 21 13:48:37 2006 >@@ -6,7 +6,7 @@ > # > > PORTNAME= base >-PORTVERSION= 1.2.2 >+PORTVERSION= 1.2.4 > CATEGORIES= security > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= secureideas >@@ -18,13 +18,49 @@ > ${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \ > ${LOCALBASE}/share/pear/Image/Graph.php:${PORTSDIR}/graphics/pear-Image_Graph > >-USE_PHP= yes >-USE_REINPLACE= yes >+USE_PHP= session gettext >+WANT_PHP_PEAR= yes > > ADODB_DIR= ${LOCALBASE}/share/adodb > > SUB_FILES= pkg-message > DOCS= docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE >+ >+.if defined(WITH_MYSQL) >+USE_PHP+= mysql >+.endif >+ >+.if defined(WITH_PGSQL) >+USE_PHP+= pgsql >+.endif >+ >+.if defined(WITH_PDF) >+USE_PHP+= zlib >+RUN_DEPENDS+= ${LOCALBASE}/share/fpdf/fpdf.php:${PORTSDIR}/print/fpdf >+.endif >+ >+pre-patch: >+.if !defined(WITH_MYSQL) >+ @${ECHO_MSG} "" >+ @${ECHO_MSG} " *********************************************" >+ @${ECHO_MSG} " To enable support for MySQL databases," >+ @${ECHO_MSG} " build this port with WITH_MYSQL=YES" >+ @${ECHO_MSG} " *********************************************" >+.endif >+.if !defined(WITH_PGSQL) >+ @${ECHO_MSG} "" >+ @${ECHO_MSG} " *********************************************" >+ @${ECHO_MSG} " To enable support for PostgreSQL databases," >+ @${ECHO_MSG} " build this port with WITH_PGSQL=YES" >+ @${ECHO_MSG} " *********************************************" >+.endif >+.if !defined(WITH_PDF) >+ @${ECHO_MSG} "" >+ @${ECHO_MSG} " *********************************************" >+ @${ECHO_MSG} " To enable support for PDF support," >+ @${ECHO_MSG} " build this port with WITH_PDF=YES" >+ @${ECHO_MSG} " *********************************************" >+.endif > > do-build: > @${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \ >diff -ruN /usr/ports/security/base/distinfo base/distinfo >--- /usr/ports/security/base/distinfo Tue Jan 17 18:42:15 2006 >+++ base/distinfo Tue Mar 21 13:19:10 2006 >@@ -1,3 +1,3 @@ >-MD5 (base-1.2.2.tar.gz) = b257240c6e554f0e3a78913ecd01baa3 >-SHA256 (base-1.2.2.tar.gz) = 63054beb2d615934ad492b239a89536e97c7fd89c4faeb67107d2b3929d80e53 >-SIZE (base-1.2.2.tar.gz) = 346518 >+MD5 (base-1.2.4.tar.gz) = 7f67a39b4213bdc6bce71a90444a9c58 >+SHA256 (base-1.2.4.tar.gz) = a9f578a421d687d66f150e1e32f37e6641fe1ad36b2837e8d2476481143f28c1 >+SIZE (base-1.2.4.tar.gz) = 327770 >diff -ruN /usr/ports/security/base/files/pkg-message.in base/files/pkg-message.in >--- /usr/ports/security/base/files/pkg-message.in Sat Jul 2 19:46:28 2005 >+++ base/files/pkg-message.in Tue Mar 21 13:40:38 2006 >@@ -18,4 +18,9 @@ > > include_path = ".:%%PREFIX%%/share/pear" > >+If you built BASE with PDF support, make sure you include the FPDF >+path in your %%LOCALBASE%%/etc/php.ini configuration file, like: >+ >+ include_path = ".:%%PREFIX%%/share/pear:%%PREFIX%%/share/fpdf" >+ > ======================================================================== >diff -ruN /usr/ports/security/base/pkg-plist base/pkg-plist >--- /usr/ports/security/base/pkg-plist Tue Jan 24 10:04:44 2006 >+++ base/pkg-plist Tue Mar 21 13:44:43 2006 >@@ -69,8 +69,8 @@ > 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/includes/fpdf_class.php >+www/base/includes/fpdf_fonts.php > www/base/index.php > www/base/languages/czech.lang.php > www/base/languages/chinese.lang.php
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 94812
: 63601