Remove old mason

This commit is contained in:
Patrick Niklaus
2016-12-15 09:39:46 +00:00
parent 38b2ad298d
commit 708ac04562
733 changed files with 0 additions and 30715 deletions
-23
View File
@@ -1,23 +0,0 @@
language: cpp
sudo: false
matrix:
include:
- os: osx
compiler: clang
- os: linux
compiler: clang
env:
global:
- secure: "clCFM3prHnDocZ8lXlimPxAogvFirD1Zx8cMcFJ/XpkTA/0pCgnhpArM4y/NzLHR57pNZTSCr3p6XZI1c1iTG4Zm8x0sK2A4aTFRahypXNy/e+LzAbtd1y1+dEEDwlJvNNGxizQX4frhOgSNQFDFnWLtmF3stlft5YWyc2kI+FI="
- secure: "jKJErCng8Sk8YJ0IN2FX3lhv7G1LeudMfFBAXViZaXn8w/gWPs+SlfXQmIJ5SruU7U2GQKnAhzbjwXjVAgAh8OAblzny0DDm5Lh5WmwkgAP8JH1LpsBwCYx2S/v8qyR4DX1RVhHS8mQu298180ZDVgGccw+hd8xrE/S5TEQcNfQ="
before_install:
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
-11
View File
@@ -1,11 +0,0 @@
--- src/include/pg_config_manual.h 2013-10-07 20:17:38.000000000 -0700
+++ src/include/pg_config_manual.h 2014-03-08 21:29:48.000000000 -0800
@@ -144,7 +144,7 @@
* here's where to twiddle it. You can also override this at runtime
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
/*
* The random() function is expected to yield values between 0 and
-68
View File
@@ -1,68 +0,0 @@
#!/usr/bin/env bash
MASON_NAME=libpq
MASON_VERSION=9.4.0
MASON_LIB_FILE=lib/libpq.a
MASON_PKGCONFIG_FILE=lib/pkgconfig/libpq.pc
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
http://ftp.postgresql.org/pub/source/v9.4.0/postgresql-9.4.0.tar.bz2 \
d1cf3f96059532a99445e34a15cf0ef67f8da9c7
mason_extract_tar_bz2
export MASON_BUILD_PATH=${MASON_ROOT}/.build/postgresql-${MASON_VERSION}
}
function mason_compile {
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
mason_step "Loading patch 'https://github.com/mapbox/mason/blob/${MASON_SLUG}/patch.diff'..."
curl --retry 3 -s -f -# -L \
https://raw.githubusercontent.com/mapbox/mason/${MASON_SLUG}/patch.diff \
-O || (mason_error "Could not find patch for ${MASON_SLUG}" && exit 1)
patch src/include/pg_config_manual.h ./patch.diff
fi
./configure \
--prefix=${MASON_PREFIX} \
${MASON_HOST_ARG} \
--enable-thread-safety \
--enable-largefile \
--without-bonjour \
--without-openssl \
--without-pam \
--without-krb5 \
--without-gssapi \
--without-ossp-uuid \
--without-readline \
--without-ldap \
--without-zlib \
--without-libxml \
--without-libxslt \
--without-selinux \
--without-python \
--without-perl \
--without-tcl \
--disable-rpath \
--disable-debug \
--disable-profiling \
--disable-coverage \
--disable-dtrace \
--disable-depend \
--disable-cassert
make -j${MASON_CONCURRENCY} -C src/bin/pg_config install
make -j${MASON_CONCURRENCY} -C src/interfaces/libpq/ install
cp src/include/postgres_ext.h ${MASON_PREFIX}/include/
cp src/include/pg_config_ext.h ${MASON_PREFIX}/include/
rm -f ${MASON_PREFIX}/lib/libpq{*.so*,*.dylib}
}
function mason_clean {
make clean
}
mason_run "$@"
-27
View File
@@ -1,27 +0,0 @@
language: cpp
sudo: false
matrix:
include:
- os: osx
osx_image: xcode6
compiler: clang
- os: osx
osx_image: xcode7
compiler: clang
- os: linux
compiler: clang
env:
global:
- secure: "clCFM3prHnDocZ8lXlimPxAogvFirD1Zx8cMcFJ/XpkTA/0pCgnhpArM4y/NzLHR57pNZTSCr3p6XZI1c1iTG4Zm8x0sK2A4aTFRahypXNy/e+LzAbtd1y1+dEEDwlJvNNGxizQX4frhOgSNQFDFnWLtmF3stlft5YWyc2kI+FI="
- secure: "jKJErCng8Sk8YJ0IN2FX3lhv7G1LeudMfFBAXViZaXn8w/gWPs+SlfXQmIJ5SruU7U2GQKnAhzbjwXjVAgAh8OAblzny0DDm5Lh5WmwkgAP8JH1LpsBwCYx2S/v8qyR4DX1RVhHS8mQu298180ZDVgGccw+hd8xrE/S5TEQcNfQ="
before_install:
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
-11
View File
@@ -1,11 +0,0 @@
--- src/include/pg_config_manual.h 2013-10-07 20:17:38.000000000 -0700
+++ src/include/pg_config_manual.h 2014-03-08 21:29:48.000000000 -0800
@@ -144,7 +144,7 @@
* here's where to twiddle it. You can also override this at runtime
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
/*
* The random() function is expected to yield values between 0 and
-68
View File
@@ -1,68 +0,0 @@
#!/usr/bin/env bash
MASON_NAME=libpq
MASON_VERSION=9.4.1
MASON_LIB_FILE=lib/libpq.a
MASON_PKGCONFIG_FILE=lib/pkgconfig/libpq.pc
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
http://ftp.postgresql.org/pub/source/v${MASON_VERSION}/postgresql-${MASON_VERSION}.tar.bz2 \
1fcc75dccdb9ffd3f30e723828cbfce00c9b13fd
mason_extract_tar_bz2
export MASON_BUILD_PATH=${MASON_ROOT}/.build/postgresql-${MASON_VERSION}
}
function mason_compile {
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
mason_step "Loading patch 'https://github.com/mapbox/mason/blob/${MASON_SLUG}/patch.diff'..."
curl --retry 3 -s -f -# -L \
https://raw.githubusercontent.com/mapbox/mason/${MASON_SLUG}/patch.diff \
-O || (mason_error "Could not find patch for ${MASON_SLUG}" && exit 1)
patch src/include/pg_config_manual.h ./patch.diff
fi
./configure \
--prefix=${MASON_PREFIX} \
${MASON_HOST_ARG} \
--enable-thread-safety \
--enable-largefile \
--without-bonjour \
--without-openssl \
--without-pam \
--without-krb5 \
--without-gssapi \
--without-ossp-uuid \
--without-readline \
--without-ldap \
--without-zlib \
--without-libxml \
--without-libxslt \
--without-selinux \
--without-python \
--without-perl \
--without-tcl \
--disable-rpath \
--disable-debug \
--disable-profiling \
--disable-coverage \
--disable-dtrace \
--disable-depend \
--disable-cassert
make -j${MASON_CONCURRENCY} -C src/bin/pg_config install
make -j${MASON_CONCURRENCY} -C src/interfaces/libpq/ install
cp src/include/postgres_ext.h ${MASON_PREFIX}/include/
cp src/include/pg_config_ext.h ${MASON_PREFIX}/include/
rm -f ${MASON_PREFIX}/lib/libpq{*.so*,*.dylib}
}
function mason_clean {
make clean
}
mason_run "$@"
-24
View File
@@ -1,24 +0,0 @@
language: cpp
sudo: false
matrix:
include:
- os: linux
compiler: clang
- os: osx
osx_image: xcode7.3
compiler: clang
env:
global:
- secure: "clCFM3prHnDocZ8lXlimPxAogvFirD1Zx8cMcFJ/XpkTA/0pCgnhpArM4y/NzLHR57pNZTSCr3p6XZI1c1iTG4Zm8x0sK2A4aTFRahypXNy/e+LzAbtd1y1+dEEDwlJvNNGxizQX4frhOgSNQFDFnWLtmF3stlft5YWyc2kI+FI="
- secure: "jKJErCng8Sk8YJ0IN2FX3lhv7G1LeudMfFBAXViZaXn8w/gWPs+SlfXQmIJ5SruU7U2GQKnAhzbjwXjVAgAh8OAblzny0DDm5Lh5WmwkgAP8JH1LpsBwCYx2S/v8qyR4DX1RVhHS8mQu298180ZDVgGccw+hd8xrE/S5TEQcNfQ="
before_install:
script:
- ./mason build ${MASON_NAME} ${MASON_VERSION}
after_success:
- ./mason publish ${MASON_NAME} ${MASON_VERSION}
-11
View File
@@ -1,11 +0,0 @@
--- src/include/pg_config_manual.h 2013-10-07 20:17:38.000000000 -0700
+++ src/include/pg_config_manual.h 2014-03-08 21:29:48.000000000 -0800
@@ -144,7 +144,7 @@
* here's where to twiddle it. You can also override this at runtime
* with the postmaster's -k switch.
*/
-#define DEFAULT_PGSOCKET_DIR "/tmp"
+#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
/*
* The random() function is expected to yield values between 0 and
-65
View File
@@ -1,65 +0,0 @@
#!/usr/bin/env bash
MASON_NAME=libpq
MASON_VERSION=9.5.2
MASON_LIB_FILE=lib/libpq.a
MASON_PKGCONFIG_FILE=lib/pkgconfig/libpq.pc
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
http://ftp.postgresql.org/pub/source/v${MASON_VERSION}/postgresql-${MASON_VERSION}.tar.bz2 \
9c7bd5c1c601075ff6d5ea7615f9461d5b1f4c88
mason_extract_tar_bz2
export MASON_BUILD_PATH=${MASON_ROOT}/.build/postgresql-${MASON_VERSION}
}
function mason_compile {
if [[ ${MASON_PLATFORM} == 'linux' ]]; then
mason_step "Loading patch"
patch src/include/pg_config_manual.h ${MASON_DIR}/scripts/${MASON_NAME}/${MASON_VERSION}/patch.diff
fi
./configure \
--prefix=${MASON_PREFIX} \
${MASON_HOST_ARG} \
--enable-thread-safety \
--enable-largefile \
--without-bonjour \
--without-openssl \
--without-pam \
--without-krb5 \
--without-gssapi \
--without-ossp-uuid \
--without-readline \
--without-ldap \
--without-zlib \
--without-libxml \
--without-libxslt \
--without-selinux \
--without-python \
--without-perl \
--without-tcl \
--disable-rpath \
--disable-debug \
--disable-profiling \
--disable-coverage \
--disable-dtrace \
--disable-depend \
--disable-cassert
make -j${MASON_CONCURRENCY} -C src/bin/pg_config install
make -j${MASON_CONCURRENCY} -C src/interfaces/libpq/ install
cp src/include/postgres_ext.h ${MASON_PREFIX}/include/
cp src/include/pg_config_ext.h ${MASON_PREFIX}/include/
rm -f ${MASON_PREFIX}/lib/libpq{*.so*,*.dylib}
}
function mason_clean {
make clean
}
mason_run "$@"