Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 15:10:42 +0200
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68519: [PATCH] databases/slony1: update to 1.0.0.r1
Message-ID:  <E1BferJ-000Lwh-W8@sanatana.dharma>
Resent-Message-ID: <200406301620.i5UGKPJG057574@freefall.freebsd.org>

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

>Number:         68519
>Category:       ports
>Synopsis:       [PATCH] databases/slony1: update to 1.0.0.r1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 30 16:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #7: Mon May 10 17:15:51 CEST 2004
>Description:
- Update to 1.0.0.r1
- install html documentation for slonik
- this version is not compatible with beta3, you need to uninstall it
from database. 

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- slony1-1.0.0.r1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/slony1/Makefile /home/hsn/myports/slony1/Makefile
--- /usr/ports/databases/slony1/Makefile	Tue Jun 29 00:07:53 2004
+++ /home/hsn/myports/slony1/Makefile	Wed Jun 30 15:07:07 2004
@@ -6,15 +6,16 @@
 #
 
 PORTNAME=	slony1
-PORTVERSION=	1.0.0.b3
+PORTVERSION=	1.0.0.r1
 CATEGORIES=	databases
 MASTER_SITES=	http://developer.postgresql.org/~wieck/slony1/download/
-DISTNAME=	slony1-1.0.0.beta3
+DISTNAME=	slony1-1.0.0.rc1
 
 MAINTAINER=	hsn@netmag.cz
 COMMENT=	PostgreSQL master to multiple slaves replication system
 
-BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/databases/postgresql7:configure
+PGSQL_PORT=	${PORTSDIR}/databases/postgresql7
+BUILD_DEPENDS=	${NONEXISTENT}:${PGSQL_PORT}:configure
 .if ! defined(NOPORTDOCS)
 BUILD_DEPENDS+=	${LOCALBASE}/bin/pnmtops:${PORTSDIR}/graphics/netpbm \
 		${LOCALBASE}/bin/djpeg:${PORTSDIR}/graphics/jpeg \
@@ -22,12 +23,12 @@
 .else
 EXTRA_PATCHES=	${FILESDIR}/extra-GNUmakefile.in
 .endif
-RUN_DEPENDS=	${LOCALBASE}/bin/postmaster:${PORTSDIR}/databases/postgresql7
+RUN_DEPENDS=	${LOCALBASE}/bin/postmaster:${PGSQL_PORT}
 
 GNU_CONFIGURE=	yes
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
-PGSQL_SRC=	`cd ${PORTSDIR}/databases/postgresql7; make -V WRKSRC`
+PGSQL_SRC=	`cd ${PGSQL_PORT}; make -V WRKSRC`
 CONFIGURE_ARGS=	--with-pgsourcetree=${PGSQL_SRC}
 
 PLIST_FILES=	bin/slon bin/slonik bin/slony_setup.pl \
@@ -40,7 +41,7 @@
 		share/postgresql/slony1_funcs.v74.sql \
 		share/postgresql/xxid.v73.sql \
 		share/postgresql/xxid.v74.sql
-PORTDOCS=	*.pdf howto/*.txt COPYRIGHT README
+PORTDOCS=	*.pdf howto/*.txt COPYRIGHT README slonik_commands.html
 
 pre-configure:
 	cd ${PGSQL_SRC}/src/interfaces/libpq && ${GMAKE} all
@@ -56,6 +57,7 @@
 	${INSTALL_DATA} ${WRKSRC}/doc/implementation/Slony-I-implementation.pdf ${DOCSDIR}
 	${MKDIR} ${DOCSDIR}/howto
 	${INSTALL_DATA} ${WRKSRC}/doc/howto/*.txt ${DOCSDIR}/howto
+	${INSTALL_DATA} ${WRKSRC}/src/slonik/slonik_commands.html ${DOCSDIR}
 .endif
 	${CAT} ${PKGMESSAGE}
 
diff -ruN --exclude=CVS /usr/ports/databases/slony1/distinfo /home/hsn/myports/slony1/distinfo
--- /usr/ports/databases/slony1/distinfo	Tue Jun 29 00:07:53 2004
+++ /home/hsn/myports/slony1/distinfo	Wed Jun 30 14:23:43 2004
@@ -1,2 +1,2 @@
-MD5 (slony1-1.0.0.beta3.tar.gz) = ec82bf0a0374a232f87ff71ddfc7be7c
-SIZE (slony1-1.0.0.beta3.tar.gz) = 317494
+MD5 (slony1-1.0.0.rc1.tar.gz) = 210ee4c6786ec71de105e33f60408a68
+SIZE (slony1-1.0.0.rc1.tar.gz) = 318280
diff -ruN --exclude=CVS /usr/ports/databases/slony1/pkg-message /home/hsn/myports/slony1/pkg-message
--- /usr/ports/databases/slony1/pkg-message	Tue Jun 29 00:07:53 2004
+++ /home/hsn/myports/slony1/pkg-message	Wed Jun 30 14:52:24 2004
@@ -1,7 +1,7 @@
-For running slony you need:
-     slony system user
-     slony postgresql superuser
-     postgresql with TCP/IP communication enabled
+For running slony1 you need:
+     slony postgresql superuser with password set
+     slony system user (makes auth. of slony db user easier)
+     TCP/IP enabled in postgresql (for replication of non local db)
 
 There is a perl script slony_setup.pl which helps you to create initial
 configuration. Installing this package do not makes any needed system
--- slony1-1.0.0.r1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BferJ-000Lwh-W8>