databases/pglesslog: update to 1.4.2 to be compatible with PostgreSQL 9.0

The previous version of this port was compatible with PostgreSQL 8.4 which
expired on 2015-05-10.

While here, strip binaries.

PR:		200096
Submitted by:	myself
Approved by:	maintainer timeout (kuriyama, 14 days)
This commit is contained in:
Rene Ladan 2015-05-24 13:21:26 +00:00
parent 05793382a7
commit 27ff0e5582
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387263
2 changed files with 10 additions and 7 deletions

View file

@ -1,17 +1,17 @@
# $FreeBSD$
PORTNAME= pglesslog
PORTVERSION= 1.4.1
PORTVERSION= 1.4.2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/2684/
DISTNAME= pg_lesslogg_${PORTVERSION}_pg84
MASTER_SITES= http://pgfoundry.org/frs/download.php/2718/
DISTNAME= pg_lesslog_${PORTVERSION}_pg90_beta
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Reduce size of PostgreSQL archive log files by replacing backup blocks
USES= gmake pgsql:8.4
USES= gmake pgsql:9.0
WANT_PGSQL= server:build
WRKSRC= ${WRKDIR}/pg_lesslog_${PORTVERSION}_pg84
WRKSRC= ${WRKDIR}/pg_lesslog_${PORTVERSION}_pg90
PGSQL_PORT= databases/postgresql${PGSQL_VER:S,.,,}
PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
@ -19,4 +19,7 @@ PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
pre-build:
${REINPLACE_CMD} "s|top_builddir = ../..|top_builddir = ${PGSQL_SRCDIR}|" ${WRKSRC}/Makefile.*
post-build:
${STRIP_CMD} ${WRKSRC}/pg_compresslog ${WRKSRC}/pg_decompresslog
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (pg_lesslogg_1.4.1_pg84.tar.gz) = 12c0a9489219519ab5612ab94442ed891e4c02c01491c152911a71e98dd58c3f
SIZE (pg_lesslogg_1.4.1_pg84.tar.gz) = 43154
SHA256 (pg_lesslog_1.4.2_pg90_beta.tar.gz) = 6fa01dc73ad887964ccf1369713e0e300d3077f1a7273ee1d52e4c2351a184da
SIZE (pg_lesslog_1.4.2_pg90_beta.tar.gz) = 44509