summaryrefslogtreecommitdiff
path: root/databases/pgbuildfarm
diff options
context:
space:
mode:
authorwiz <wiz>2011-09-13 10:49:04 +0000
committerwiz <wiz>2011-09-13 10:49:04 +0000
commitedb9b12f0215bfa700b857969185630dbb87d3ee (patch)
tree7b74091c50d337a3f03d38409817ce55adc01d30 /databases/pgbuildfarm
parent9e5fc9816fcb74f775acc711d1a091cac9784b6e (diff)
downloadpkgsrc-edb9b12f0215bfa700b857969185630dbb87d3ee.tar.gz
Initial import of pgbuildfarm-4.5, packaged for wip by Nicolas Thauvin.
The PostgreSQL BuildFarm is a distributed build system designed to detect build failures of the source code of PostgreSQL on a large collection of platforms and configurations. This is the client software that enables to perform automated test builds and checks.
Diffstat (limited to 'databases/pgbuildfarm')
-rw-r--r--databases/pgbuildfarm/DESCR4
-rw-r--r--databases/pgbuildfarm/MESSAGE22
-rw-r--r--databases/pgbuildfarm/Makefile50
-rw-r--r--databases/pgbuildfarm/PLIST9
-rw-r--r--databases/pgbuildfarm/distinfo5
5 files changed, 90 insertions, 0 deletions
diff --git a/databases/pgbuildfarm/DESCR b/databases/pgbuildfarm/DESCR
new file mode 100644
index 00000000000..69122660f21
--- /dev/null
+++ b/databases/pgbuildfarm/DESCR
@@ -0,0 +1,4 @@
+The PostgreSQL BuildFarm is a distributed build system designed to
+detect build failures of the source code of PostgreSQL on a large
+collection of platforms and configurations. This is the client
+software that enables to perform automated test builds and checks.
diff --git a/databases/pgbuildfarm/MESSAGE b/databases/pgbuildfarm/MESSAGE
new file mode 100644
index 00000000000..a8c90f30398
--- /dev/null
+++ b/databases/pgbuildfarm/MESSAGE
@@ -0,0 +1,22 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2011/09/13 10:49:04 wiz Exp $
+
+Please follow http://wiki.postgresql.org/wiki/PostgreSQL_Buildfarm_Howto
+to setup your machine for the BuildFarm.
+
+You need to install the following packages to build PostgreSQL from GIT:
+
+devel/bison
+devel/flex
+
+You should consider installing the following packages to be able to compile
+PostgreSQL with all features:
+
+lang/python26 (with pkgtools/pkg_alternatives to create the python link)
+lang/perl5
+lang/tcl
+textproc/libxml2
+textproc/libxslt
+devel/readline
+
+===========================================================================
diff --git a/databases/pgbuildfarm/Makefile b/databases/pgbuildfarm/Makefile
new file mode 100644
index 00000000000..81b133f0068
--- /dev/null
+++ b/databases/pgbuildfarm/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/13 10:49:04 wiz Exp $
+#
+
+DISTNAME= build-farm-4_5
+PKGNAME= ${DISTNAME:S/build-farm/pgbuildfarm/}
+CATEGORIES= databases
+MASTER_SITES= http://pgfoundry.org/frs/download.php/3028/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nico@orgrim.net
+HOMEPAGE= http://www.pgbuildfarm.org/
+COMMENT= PostgreSQL Build Farm client
+LICENSE= postgresql-license
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= scmgit-base>=1.6:../../devel/scmgit-base
+DEPENDS+= p5-libwww>=5.0:../../www/p5-libwww
+DEPENDS+= p5-Digest-SHA1>=2.13:../../security/p5-Digest-SHA1
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_/./}
+NO_BUILD= yes
+USE_LANGUAGES= # none
+USE_TOOLS+= perl:run
+AUTO_MKDIRS= yes
+REPLACE_PERL+= ${WRKSRC}/*.pl
+
+EGDIR= ${PREFIX}/share/examples/pgbuildfarm
+PMDIR= ${PREFIX}/${PERL5_SUB_INSTALLVENDORLIB}/PGBuild
+CONF_FILES= ${EGDIR}/build-farm.conf \
+ ${PKG_SYSCONFDIR}/build-farm.conf
+PKG_SYSCONFSUBDIR= pgbuildfarm
+
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= post-patch
+SUBST_FILES.conf= setnotes.pl update_personality.pl PGBuild/Options.pm
+SUBST_SED.conf= -e 's,build-farm.conf,${PKG_SYSCONFDIR}/build-farm.conf,'
+SUBST_MESSAGE.conf= Fixing default value for build-farm.conf
+
+INSTALLATION_DIRS+= ${PMDIR}
+INSTALLATION_DIRS+= ${EGDIR}
+
+.include "../../lang/perl5/dirs.mk"
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/PGBuild/*.pm ${DESTDIR}${PMDIR}
+ ${INSTALL_DATA} ${WRKSRC}/build-farm.conf ${DESTDIR}${EGDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pgbuildfarm/PLIST b/databases/pgbuildfarm/PLIST
new file mode 100644
index 00000000000..ae2a7de28ad
--- /dev/null
+++ b/databases/pgbuildfarm/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/13 10:49:04 wiz Exp $
+bin/run_branches.pl
+bin/run_build.pl
+bin/run_web_txn.pl
+bin/setnotes.pl
+bin/update_personality.pl
+share/examples/pgbuildfarm/build-farm.conf
+${PERL5_SUB_INSTALLVENDORLIB}/PGBuild/Options.pm
+${PERL5_SUB_INSTALLVENDORLIB}/PGBuild/SCM.pm
diff --git a/databases/pgbuildfarm/distinfo b/databases/pgbuildfarm/distinfo
new file mode 100644
index 00000000000..6fb1c1e2ede
--- /dev/null
+++ b/databases/pgbuildfarm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/09/13 10:49:04 wiz Exp $
+
+SHA1 (build-farm-4_5.tgz) = 5063b651f9f9d2ab0bf848d84145969504094d4a
+RMD160 (build-farm-4_5.tgz) = cb37bdb58238e37945c60ea6fbf4ddc3a5c756d8
+Size (build-farm-4_5.tgz) = 24766 bytes