Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Sep 2000 12:13:32 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21082: Update port: print/ghostscript55
Message-ID:  <20000906191332.2B70C37B423@hub.freebsd.org>

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

>Number:         21082
>Category:       ports
>Synopsis:       Update port: print/ghostscript55
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 06 12:20:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Remove restriction of encrypted PDF support
- nonexistent -> NONEXISTENT

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/ghostscript55/Makefile print/ghostscript55/Makefile
--- /usr/ports/print/ghostscript55/Makefile	Fri Aug 25 19:24:20 2000
+++ print/ghostscript55/Makefile	Thu Sep  7 01:25:09 2000
@@ -11,15 +11,16 @@
 MASTER_SITES=	${MASTER_SITE_GNU} \
 		ftp://ftp.cs.wisc.edu/ghost/gnu/gs550/ \
 		ftp://ftp.cs.wisc.edu/ghost/gnu/fonts/ \
+		http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
 		http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/
 MASTER_SITE_SUBDIR=	${PORTNAME}
 DISTFILES=	${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
-		${HP850_DRV}
+		${DECRYPT_PDF} ${HP850_DRV}
 EXTRACT_ONLY=	${GS_SOURCES}
 
 MAINTAINER=	andreas@FreeBSD.org
 
-BUILD_DEPENDS=	/nonexistent:${PORTSDIR}/graphics/jpeg:extract \
+BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/graphics/jpeg:extract \
 		unzip:${PORTSDIR}/archivers/unzip
 LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png
 
@@ -41,6 +42,9 @@
 # Additional driver HP 850, see http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
 HP850_DRV=	hp8xxs13.zip
 
+# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
+DECRYPT_PDF=	pdf_sec.ps
+
 .if defined(A4)
 CFLAGS+=	-DA4
 .endif
@@ -76,19 +80,11 @@
 	strip ${PREFIX}/bin/gs
 	${INSTALL_SCRIPT} ${WRKSRC}/unix-lpr.sh ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/lprsetup.sh ${PREFIX}/bin
+	${INSTALL_DATA} ${DISTDIR}/pdf_sec.ps \
+		${PREFIX}/share/ghostscript/5.50
 	${INSTALL_DATA} ${WRKSRC}/license.hp8 \
 		${PREFIX}/share/ghostscript/5.50/doc
 	${INSTALL_DATA} ${WRKSRC}/readme.hp8 \
 		${PREFIX}/share/ghostscript/5.50/doc
-.if defined(PDFENCRYPT)
-	${INSTALL_DATA} ${DISTDIR}/pdf_sec.ps ${PREFIX}/share/ghostscript/5.50
-.endif
-
-# encrypted PDF support.  can't be packaged due to export control issues.
-.if defined(PDFENCRYPT)
-MASTER_SITES+=	http://www.ozemail.com.au/~geoffk/pdfencrypt/
-DISTFILES+=	pdf_sec.ps
-RESTRICTED=	"Crypto; export controlled, RC4 in PostScript code included"
-.endif
 
 .include <bsd.port.mk>


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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