- update to print-6.x-1.11

- adresses SA-CONTRIB-2010-082, details at http://drupal.org/node/880392
- anticipatory symlinking of tcpdf so the print_pdf module 'just works'.

ok espie@
This commit is contained in:
stephan 2010-08-20 14:42:56 +00:00
parent f14352730d
commit e72f43da35
4 changed files with 19 additions and 16 deletions

View File

@ -1,16 +1,13 @@
# $OpenBSD: Makefile,v 1.5 2010/04/15 14:29:17 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.6 2010/08/20 14:42:56 stephan Exp $
COMMENT = printer-friendly pages in drupal
DISTNAME = print-6.x-1.10
PKGNAME = drupal6-printer-friendly-1.10p0
#DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
# dompdf-0.5.1${EXTRACT_SUFX}:0
DISTNAME = print-6.x-1.11
PKGNAME = drupal6-printer-friendly-1.11
#MASTER_SITES0 = ${MASTER_SITE_SOURCEFORGE:=dompdf/}
#post-extract:
# mkdir ${WRKDIST}/dompdf
# cp -r ${WRKDIR}/dompdf-0.5.1/{include,lib,dompdf_config.inc.php,load_font.php} ${WRKDIST}/dompdf
# Anticipatory symlinking to tcpdf.
post-install:
@cd ${PREFIX}/${DRUPAL_MODS}print/lib &&\
ln -fs ../../../../../../../tcpdf
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (drupal6/print-6.x-1.10.tar.gz) = k+8rhR3yy0cIL9YFownN6w==
RMD160 (drupal6/print-6.x-1.10.tar.gz) = 3r+s645NCNkYTwjHK/6LB+GyGVs=
SHA1 (drupal6/print-6.x-1.10.tar.gz) = x+oohHlJKrq3jGGwC1BKkr+q8tw=
SHA256 (drupal6/print-6.x-1.10.tar.gz) = dPClSthVGdkZImxEISpJ9Wck295pbO6g1U8FOcP/1rg=
SIZE (drupal6/print-6.x-1.10.tar.gz) = 163040
MD5 (drupal6/print-6.x-1.11.tar.gz) = gs2tCmZZVFUMXR/qVr2GpA==
RMD160 (drupal6/print-6.x-1.11.tar.gz) = SUrbpkiu90iZXj6uN2ZxoutDhAk=
SHA1 (drupal6/print-6.x-1.11.tar.gz) = TH19sJXUKDhVI8IJD3baoaRDmio=
SHA256 (drupal6/print-6.x-1.11.tar.gz) = m3WIT6ieqVtu1TwbdMcT470VLDjRZSxTstKAXL8pXOA=
SIZE (drupal6/print-6.x-1.11.tar.gz) = 172352

View File

@ -5,3 +5,6 @@ node id of content to render.
A link is inserted in the each node (configurable in the content
type settings), that opens a version of the page with no sidebars,
search boxes, navigation pages, etc.
The print_pdf module requires the use of an external PDF generation
tool, like tcpdf. Install the tcpdf package to enable that feature.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2009/09/03 13:20:04 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2010/08/20 14:42:56 stephan Exp $
@owner ${DRUPAL_OWNER}
@group ${DRUPAL_GROUP}
${DRUPAL_MODS}print/
@ -19,6 +19,9 @@ ${DRUPAL_MODS}print/icons/pdf_icon.gif
${DRUPAL_MODS}print/icons/print_icon.gif
${DRUPAL_MODS}print/lib/
${DRUPAL_MODS}print/lib/README.txt
@owner
${DRUPAL_MODS}print/lib/tcpdf
@owner ${DRUPAL_OWNER}
${DRUPAL_MODS}print/print.admin.inc
${DRUPAL_MODS}print/print.info
${DRUPAL_MODS}print/print.install