Date: Fri, 5 Oct 2001 19:08:05 +0200 (CEST) From: Cyrille Lefevre <clefevre@citeweb.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31061: New port: security/gnupg-devel Message-ID: <200110051708.f95H85E87259@gits.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 31061 >Category: ports >Synopsis: New port: security/gnupg-devel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Oct 05 10:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.4-RC i386 >Organization: ACME >Environment: System: FreeBSD gits 4.4-RC FreeBSD 4.4-RC #7: Thu Sep 20 12:40:17 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 >Description: well, I originaly made this port just to have access to the gpg-agent which isn't yet in the official distribution. gpg-agent allow you to cache your passphrase w/o need to enter it again and again. all elements are installed w/ -devel suffix to not clash w/ the official distribution. >How-To-Repeat: n/a >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gnupg-devel/Makefile # gnupg-devel/pkg-plist # gnupg-devel/pkg-descr # gnupg-devel/pkg-comment # gnupg-devel/distinfo # gnupg-devel/files/patch-agent::gpg-agent.c # echo x - gnupg-devel/Makefile sed 's/^X//' >gnupg-devel/Makefile << 'END-of-gnupg-devel/Makefile' X# New ports collection makefile for: gnupg-devel X# Date created: 5 Oct 2001 X# Whom: Cyrille Lefevre <clefevre@citeweb.net> X# X# $FreeBSD$ X# X XPORTNAME= gnupg$(DEVEL) XPORTVERSION= 1.1.1 XCATEGORIES= security XMASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/%SUBDIR%/ \ X ftp://pgp.iijlab.net/pub/%SUBDIR%/ \ X ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,} XMASTER_SITE_SUBDIR= devel XDISTNAME= ${PORTNAME:S/-devel//}-${PORTVERSION} X XMAINTAINER= clefevre@citeweb.net X X# Global variables X# X XBUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man XLIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv \ X gdbm.2:${PORTSDIR}/databases/gdbm \ X intl.1:${PORTSDIR}/devel/gettext X X#RESTRICTED= "Crypto; export-controlled" X X# for instance, install almost everything using -devel suffix X# to not clash w/ the official release. X# commenting this variable overrides the official stuffs. XDEVEL= -devel X XUSE_AUTOCONF= yes XUSE_LIBTOOL= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib -lintl" X.if defined(DEVEL) XCONFIGURE_ARGS= --program-suffix=-devel X.endif XWANT_GTK= yes X XMAN1= gpg$(DEVEL).1 X XPLIST_SUB= DEVEL="${DEVEL}" X X.include <bsd.port.pre.mk> X XCFLAGS:= ${CFLAGS:S/-pipe//g} X X.if defined(HAVE_GTK) XUSE_GTK= yes X.else XCONFIGURE_ARGS+= --disable-gtktest X.endif X X# Local variables X# X XDOC_FILES= ABOUT-NLS AUTHORS BUGS COPYING INSTALL \ X NEWS PROJECTS README THANKS TODO VERSION \ X doc/DETAILS doc/FAQ doc/HACKING doc/OpenPGP X X# Post-patch X# X Xpost-patch: patch-testapi patch-configure X Xpatch-testapi: X @${PERL} -pi.fbsd -e \ X 's|$$| ../jnlib/libjnlib.la| if (/testapi_LDADD/)' \ X ${WRKSRC}/gcrypt/Makefile.in X Xpatch-configure: X @${PERL} -pi.fbsd -e \ X 's|gnupg|gnupg${DEVEL}| if (/AM_INIT_AUTOMAKE/)' \ X ${WRKSRC}/configure.in X X# Post-install X# X Xpost-install: install-doc X Xinstall-doc: X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for file in ${DOC_FILES} X ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X# Yeah! All 23 tests passed. X# X Xcheck: X @cd ${WRKSRC} && ${MAKE} check X X.include <bsd.port.post.mk> END-of-gnupg-devel/Makefile echo x - gnupg-devel/pkg-plist sed 's/^X//' >gnupg-devel/pkg-plist << 'END-of-gnupg-devel/pkg-plist' X@comment $FreeBSD$ Xbin/gcrypt-config%%DEVEL%% Xbin/gpg-agent%%DEVEL%% Xbin/gpg%%DEVEL%% Xbin/kbxutil%%DEVEL%% Xinclude/gcrypt.h Xlib/gnupg%%DEVEL%%/rndegd%%DEVEL%% Xlib/gnupg%%DEVEL%%/rndunix%%DEVEL%% Xlib/gnupg%%DEVEL%%/tiger%%DEVEL%% Xlib/libgcrypt.so.0 X@exec ln -fs %f libgcrypt.so X@unexec rm -f libgcrypt.so Xshare/aclocal/gcrypt.m4 X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/ABOUT-NLS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/AUTHORS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/BUGS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/COPYING X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/DETAILS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/FAQ X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/HACKING X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/INSTALL X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/NEWS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/OpenPGP X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/PROJECTS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/README X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/THANKS X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/TODO X%%PORTDOCS%%share/doc/gnupg%%DEVEL%%/VERSION Xshare/gnupg%%DEVEL%%/gcryptref.html Xshare/gnupg%%DEVEL%%/gcryptref.ps Xshare/gnupg%%DEVEL%%/options.skel Xshare/locale/da/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/de/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/eo/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/es_ES/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/fr/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/id/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/it/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/ja/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/nl/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/pl/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/pt_BR/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/pt_PT/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/ru/LC_MESSAGES/gnupg%%DEVEL%%.mo Xshare/locale/sv/LC_MESSAGES/gnupg%%DEVEL%%.mo X@unexec rmdir %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/sv 2>/dev/null || true X@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/ru 2>/dev/null || true X@unexec rmdir %D/share/locale/pt_PT/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/pt_PT 2>/dev/null || true X@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true X@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/pl 2>/dev/null || true X@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/nl 2>/dev/null || true X@unexec rmdir %D/share/locale/ja/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/ja 2>/dev/null || true X@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/it 2>/dev/null || true X@unexec rmdir %D/share/locale/id/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/id 2>/dev/null || true X@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/fr 2>/dev/null || true X@unexec rmdir %D/share/locale/es_ES/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/es_ES 2>/dev/null || true X@unexec rmdir %D/share/locale/eo/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/eo 2>/dev/null || true X@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/de 2>/dev/null || true X@unexec rmdir %D/share/locale/da/LC_MESSAGES 2>/dev/null || true X@unexec rmdir %D/share/locale/da 2>/dev/null || true X@unexec rmdir %D/share/locale 2>/dev/null || true X@dirrm share/gnupg%%DEVEL%% X%%PORTDOCS%%@dirrm share/doc/gnupg%%DEVEL%% X@dirrm lib/gnupg%%DEVEL%% END-of-gnupg-devel/pkg-plist echo x - gnupg-devel/pkg-descr sed 's/^X//' >gnupg-devel/pkg-descr << 'END-of-gnupg-devel/pkg-descr' XGnuPG is a complete and free replacement for PGP. X XBecause it does not use the patented IDEA algorithm, it can be used Xwithout any restrictions. GnuPG is an RFC2440 (OpenPGP) compliant Xapplication. X XWWW: http://www.gnupg.org/ X Xkuriyama@FreeBSD.org END-of-gnupg-devel/pkg-descr echo x - gnupg-devel/pkg-comment sed 's/^X//' >gnupg-devel/pkg-comment << 'END-of-gnupg-devel/pkg-comment' XThe GNU Privacy Guard END-of-gnupg-devel/pkg-comment echo x - gnupg-devel/distinfo sed 's/^X//' >gnupg-devel/distinfo << 'END-of-gnupg-devel/distinfo' XMD5 (gnupg-1.1.1.tar.gz) = 6d437defa6877608c21b26e2097af60a END-of-gnupg-devel/distinfo echo x - gnupg-devel/files/patch-agent::gpg-agent.c sed 's/^X//' >gnupg-devel/files/patch-agent::gpg-agent.c << 'END-of-gnupg-devel/files/patch-agent::gpg-agent.c' X--- agent/gpg-agent.c.orig Mon Aug 21 16:25:07 2000 X+++ agent/gpg-agent.c Fri Oct 5 02:48:33 2001 X@@ -36,6 +36,7 @@ X #include <string.h> X #include <errno.h> X #include <assert.h> X+#include <sys/types.h> X #include <sys/socket.h> X #include <sys/un.h> X #include <time.h> END-of-gnupg-devel/files/patch-agent::gpg-agent.c exit >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?200110051708.f95H85E87259>