Date: Mon, 18 Mar 2002 06:36:00 +0300 (MSK) From: .@babolo.ru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36034: new port databases/pg-crypto Message-ID: <200203180336.GAA26704@aaz.links.ru>
next in thread | raw e-mail | index | archive | help
>Number: 36034 >Category: ports >Synopsis: new port databases/pg-crypto >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: Sun Mar 17 19:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Aleksandr A. Babaylov >Release: FreeBSD 4.X i386 >Organization: home >Environment: N/A >Description: new port databases/pg-crypto >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: # # pg-crypto # pg-crypto/files # pg-crypto/files/patch-Makefile # pg-crypto/Makefile # pg-crypto/pkg-plist # pg-crypto/pkg-comment # pg-crypto/pkg-descr # echo c - pg-crypto mkdir -p pg-crypto > /dev/null 2>&1 echo c - pg-crypto/files mkdir -p pg-crypto/files > /dev/null 2>&1 echo x - pg-crypto/files/patch-Makefile sed 's/^X//' >pg-crypto/files/patch-Makefile << 'END-of-pg-crypto/files/patch-Makefile' X--- Makefile Mon Oct 1 02:18:29 2001 X+++ Makefile Mon Mar 18 01:48:52 2002 X@@ -21,7 +21,7 @@ X # This works ofcouse only with cryptolib = openssl X # X # 'silly' - use libc random() - very weak X-random = silly X+random = dev X random_dev = \"/dev/urandom\" X X ########################## END-of-pg-crypto/files/patch-Makefile echo x - pg-crypto/Makefile sed 's/^X//' >pg-crypto/Makefile << 'END-of-pg-crypto/Makefile' X# New ports collection makefile for: PostgreSQL contrib/pgcrypto X# Date created: 2002-03-18 X# Whom: .@babolo.ru X# X# $FreeBSD$ X# X XPORTNAME= pg-crypto XPORTVERSION= 0.4 XCATEGORIES= databases security X X.include <bsd.port.pre.mk> XPOSTGRESPORT= ${PORTSDIR}/databases/postgresql7 XPOSTGRESVER!= cd ${POSTGRESPORT}; make -V PORTVERSION XPOSTGRESRC!= cd ${POSTGRESPORT}; make -V WRKSRC X XMASTER_SITES= ftp://ftp.postgresql.org/pub/%SUBDIR%/ \ X ftp://ftp.de.postgresql.org/mirror/postgresql/%SUBDIR%/ \ X ftp://ftp.chg.ru/pub/databases/postgresql/%SUBDIR%/ \ X ftp://ftp.sunet.se/pub/unix/databases/relational/postgresql/%SUBDIR%/ \ X ftp://ftp2.ch.postgresql.org/mirror/postgresql/%SUBDIR%/ \ X ftp://ftp4.jp.postgresql.org/mirror/postgresql/%SUBDIR%/ \ X ftp://ftp.us.postgresql.org/%SUBDIR%/ XMASTER_SITE_SUBDIR= source/v${POSTGRESVER} XDISTFILES= postgresql-base-${POSTGRESVER}${EXTRACT_SUFX} X XMAINTAINER= .@babolo.ru X XDIST_SUBDIR= postgresql XWRKSRC= ${POSTGRESRC}/contrib/pgcrypto X XUSE_GMAKE= YES XMD5_FILE= ${POSTGRESPORT}/distinfo X X# --enable-system-crypt absent, silly XLDFLAGS= -L${LOCALBASE}/lib XMAKE_ARGS= LDFLAGS=${LDFLAGS} X XBUILD_DEPENDS= ${POSTGRESRC}/src/Makefile.global:${POSTGRESPORT}:configure X X.include <bsd.port.post.mk> END-of-pg-crypto/Makefile echo x - pg-crypto/pkg-plist sed 's/^X//' >pg-crypto/pkg-plist << 'END-of-pg-crypto/pkg-plist' Xshare/postgresql/contrib/pgcrypto.sql X@unexec rmdir %D/share/postgresql/contrib 2>/dev/null || true Xshare/doc/postgresql/contrib/README.pgcrypto X@unexec rmdir %D/share/doc/postgresql/contrib 2>/dev/null || true Xlib/postgresql/pgcrypto.so END-of-pg-crypto/pkg-plist echo x - pg-crypto/pkg-comment sed 's/^X//' >pg-crypto/pkg-comment << 'END-of-pg-crypto/pkg-comment' Xcryptographic functions for PostgreSQL. END-of-pg-crypto/pkg-comment echo x - pg-crypto/pkg-descr sed 's/^X//' >pg-crypto/pkg-descr << 'END-of-pg-crypto/pkg-descr' Xcryptographic functions for PostgreSQL: X Xdigest(data::bytea, type::text)::bytea Xdigest_exists(type::text)::bool Xhmac(data::bytea, key::bytea, type::text)::bytea Xhmac_exists(type::text)::bool Xcrypt(password::text, salt::text)::text Xgen_salt(type::text)::text Xgen_salt(type::text, rounds::int4)::text Xencrypt(data::bytea, key::bytea, type::text)::bytea Xdecrypt(data::bytea, key::bytea, type::text)::bytea Xencrypt_iv(data::bytea, key::bytea, iv::bytea, type::text)::bytea Xdecrypt_iv(data::bytea, key::bytea, iv::bytea, type::text)::bytea END-of-pg-crypto/pkg-descr 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?200203180336.GAA26704>