<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php" colors="true">
    <testsuites>
        <testsuite name="commonmark-php Test Suite">
            <directory>tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory suffix=".php">src/</directory>
        </whitelist>
    </filter>
</phpunit>

Update phpunit config using latest changes from skeleton

<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
         backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         verbose="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="commonmark-php Test Suite">
            <directory>tests</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory suffix=".php">src/</directory>
        </whitelist>
    </filter>
    <logging>
        <log type="tap" target="build/report.tap"/>
        <log type="junit" target="build/report.junit.xml"/>
        <log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
        <log type="coverage-text" target="build/coverage.txt"/>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         bootstrap="vendor/autoload.php"
>
    <testsuites>
        <testsuite name="Doctrine Collections Test Suite">
            <directory>./tests/Doctrine/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./lib/Doctrine/</directory>
        </whitelist>
    </filter>

    <groups>
        <exclude>
            <group>performance</group>
        </exclude>
    </groups>

    <logging>
        <log type="coverage-html" target="build/coverage" title="Doctrine Collections"
             charset="UTF-8" yui="true" highlight="true" lowUpperBound="5"
             highLowerBound="70" />
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
</phpunit>

Remove "performance" group exclusion from PHPUnit config

<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         bootstrap="vendor/autoload.php"
>
    <testsuites>
        <testsuite name="Doctrine Collections Test Suite">
            <directory>./tests/Doctrine/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./lib/Doctrine/</directory>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html" target="build/coverage" title="Doctrine Collections"
             charset="UTF-8" yui="true" highlight="true" lowUpperBound="5"
             highLowerBound="70" />
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="vendor/autoload.php"
>
    <php>
        <ini name="error_reporting" value="-1" />
    </php>
    <testsuites>
        <testsuite name="Symfony HttpKernel Component Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./</directory>
            <exclude>
                <directory>./Tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>

Add version tag in phpunit wrapper to trigger cache-reset on demand

<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="vendor/autoload.php"
>
    <php>
        <ini name="error_reporting" value="-1" />
    </php>
    <testsuites>
        <testsuite name="Symfony HttpKernel Component Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./</directory>
            <exclude>
                <directory>./Tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>

    <listeners>
        <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
            <arguments>
                <array>
                    <element><string>Symfony\Component\HttpFoundation</string></element>
                </array>
            </arguments>
        </listener>
    </listeners>
</phpunit>


<phpunit bootstrap="tests/bootstrap.php">
    <testsuite>
        <directory suffix="Test.php">tests</directory>
    </testsuite>
</phpunit>

Allow test coverage to be generated

<phpunit bootstrap="tests/bootstrap.php">
    <testsuite>
        <directory suffix="Test.php">tests</directory>
    </testsuite>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="false"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         stopOnFailure="false"
         syntaxCheck="false"
         bootstrap="tests/bootstrap.php"
>
    <testsuites>
        <testsuite name="Doctrine ODM MongoDB Test Suite">
            <directory>./tests/Doctrine/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory suffix=".php">./lib/Doctrine/ODM/MongoDB</directory>
        </whitelist>
    </filter>

    <groups>
        <exclude>
            <group>performance</group>
        </exclude>
    </groups>

    <php>
        <const name="DOCTRINE_MONGODB_SERVER" value="mongodb://localhost:27017" />
        <const name="DOCTRINE_MONGODB_DATABASE" value="doctrine_odm_tests" />
    </php>
</phpunit>

Remove obsolete syntaxCheck option in PHPUnit config

<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="false"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         stopOnFailure="false"
         bootstrap="tests/bootstrap.php"
>
    <testsuites>
        <testsuite name="Doctrine ODM MongoDB Test Suite">
            <directory>./tests/Doctrine/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory suffix=".php">./lib/Doctrine/ODM/MongoDB</directory>
        </whitelist>
    </filter>

    <groups>
        <exclude>
            <group>performance</group>
        </exclude>
    </groups>

    <php>
        <const name="DOCTRINE_MONGODB_SERVER" value="mongodb://localhost:27017" />
        <const name="DOCTRINE_MONGODB_DATABASE" value="doctrine_odm_tests" />
    </php>
</phpunit>


<!-- replace "erb:contains('if can? :admin, Spree::Admin::ReportsController')"
     closing_selector "erb:contains('end')" -->
<%= tab(:integration, :endpoint_testing, :url => spree.admin_integration_path, :icon => 'icon-cogs') %>

Revert "Fix replace_reports deface override"

<!-- replace "code:contains('if can? :admin, Spree::Admin::ReportsController')"
     closing_selector "code:contains('end')" -->
<%= tab(:integration, :endpoint_testing, :url => spree.admin_integration_path, :icon => 'icon-cogs') %>


#!/bin/bash

PROG="@top_builddir@/test/test_thermally_driven_flow"

INPUT="@top_srcdir@/test/input_files/thermally_driven_2d_flow.in @top_srcdir@/test/test_data/thermally_driven_2d.xdr"

${LIBMESH_RUN:-} $PROG $INPUT

Use a better preconditioner when needed

#!/bin/bash

PROG="@top_builddir@/test/test_thermally_driven_flow"

INPUT="@top_srcdir@/test/input_files/thermally_driven_2d_flow.in @top_srcdir@/test/test_data/thermally_driven_2d.xdr"

PETSC_OPTIONS="-pc_factor_levels 4 -sub_pc_factor_levels 4"

${LIBMESH_RUN:-} $PROG $INPUT $PETSC_OPTIONS


<phpunit bootstrap="./vendor/autoload.php" colors="true">
    <testsuites>
        <testsuite name="WoohooLabs\\Harmony Tests">
            <directory>./tests</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>
</phpunit>

Migrate phpunit config to new format

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
    bootstrap="./vendor/autoload.php" colors="true" convertDeprecationsToExceptions="false">
    <coverage processUncoveredFiles="true">
        <include>
            <directory suffix=".php">src</directory>
        </include>
    </coverage>
    <testsuites>
        <testsuite name="WoohooLabs\\Zen Tests">
            <directory>./tests</directory>
        </testsuite>
    </testsuites>
</phpunit>


<phpunit
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.0/phpunit.xsd"
    forceCoversAnnotation="false"
    verbose="false" bootstrap="./tests/bootstrap.php">
    <testsuites>
        <testsuite name="All SwissPaymentSlip tests">
            <file>./tests/Exception/DisabledDataExceptionTest.php</file>
            <file>./tests/PaymentSlipDataTest.php</file>
            <file>./tests/OrangePaymentSlipDataTest.php</file>
            <file>./tests/PaymentSlipTest.php</file>
            <file>./tests/OrangePaymentSlipTest.php</file>
        </testsuite>
    </testsuites>
</phpunit>

Add whitelist to PHPUnit configuration

<phpunit
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.0/phpunit.xsd"
    forceCoversAnnotation="false"
    verbose="false" bootstrap="./tests/bootstrap.php">
    <testsuites>
        <testsuite name="All SwissPaymentSlip tests">
            <file>./tests/Exception/DisabledDataExceptionTest.php</file>
            <file>./tests/PaymentSlipDataTest.php</file>
            <file>./tests/OrangePaymentSlipDataTest.php</file>
            <file>./tests/PaymentSlipTest.php</file>
            <file>./tests/OrangePaymentSlipTest.php</file>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="false">
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>
</phpunit>


LIB=	install
SRCS=	file.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC=	yes

install:
	@echo -n

.include <bsd.lib.mk>

Add ftp.c to makefile - that might make it work better. Sheesh!

LIB=	install
SRCS=	file.c ftp.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC=	yes

install:
	@echo -n

.include <bsd.lib.mk>


MAN8=	spkrtest.8
NOOBJ=  yes

beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/spkrtest.pl ${DESTDIR}${BINDIR}/spkrtest

.include <bsd.prog.mk>

Delete the recently introduced NOOBJ. The obj directory will soon be used to hold gzipped man pages.

MAN8=	spkrtest.8

beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${.CURDIR}/spkrtest.pl ${DESTDIR}${BINDIR}/spkrtest

.include <bsd.prog.mk>


# $Id$

INFO = diff

.PATH: ${.CURDIR}/..

.include <bsd.info.mk>

Make this (hopefully) build now. There was no dir entry.

# $Id: Makefile,v 1.1 1995/10/29 09:08:35 peter Exp $

INFO = diff

INFOENTRY_diff= "* DIFF: (diff).                 DIFF/PATCH Reference Manual."

SRCDIR=${.CURDIR}/..

.include <bsd.info.mk>


# LibGCal CMake Configuration File
# Generated by CMake from cmake/LibGCalConfig.cmake.in

set(LIBGCAL_VERSION_MAJOR @GCAL_VERSION_MAJOR@)
set(LIBGCAL_VERSION_MINOR @GCAL_VERSION_MINOR@)
set(LIBGCAL_VERSION_PATCH @GCAL_VERSION_PATCH@)
set(LIBGCAL_VERSION_COUNT @GCAL_VERSION_COUNT@)
set(LIBGCAL_VERSION @GCAL_VERSION@)

set(LIBGCAL_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")

set(LIBGCAL_INCLUDE_DIR "@GCAL_INCLUDE_INSTALL_DIR@")
set(LIBGCAL_INCLUDE_DIRS "${LIBGCAL_INCLUDE_DIR}")

set(LIBGCAL_LIBRARY "gcal")
set(LIBGCAL_LIBS "${LIBGCAL_LIBRARY}")

Change CMake configuration file library variable name to avoid breaking CMake source compatibility.

# LibGCal CMake Configuration File
# Generated by CMake from cmake/LibGCalConfig.cmake.in

set(LIBGCAL_VERSION_MAJOR @GCAL_VERSION_MAJOR@)
set(LIBGCAL_VERSION_MINOR @GCAL_VERSION_MINOR@)
set(LIBGCAL_VERSION_PATCH @GCAL_VERSION_PATCH@)
set(LIBGCAL_VERSION_COUNT @GCAL_VERSION_COUNT@)
set(LIBGCAL_VERSION @GCAL_VERSION@)

set(LIBGCAL_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")

set(LIBGCAL_INCLUDE_DIR "@GCAL_INCLUDE_INSTALL_DIR@")
set(LIBGCAL_INCLUDE_DIRS "${LIBGCAL_INCLUDE_DIR}")

set(LIBGCAL_LIBRARY "gcal")
set(LIBGCAL_LIBRARIES "${LIBGCAL_LIBRARY}")


FROM golang:1.12.0

RUN apt-get update && \
  apt-get -y upgrade && \
  apt-get install -y \
    curl \
    git \
    jq \
    openssh-client \
    python \
    python-yaml \
    ruby \
    zip \
    unzip && \
  apt-get clean && \
  rm -rf /var/lib/apt/lists/* && \
  unset GOPATH

Update gitpod to latest Go version

FROM golang:1.12.1

RUN apt-get update && \
  apt-get -y upgrade && \
  apt-get install -y \
    curl \
    git \
    jq \
    openssh-client \
    python \
    python-yaml \
    ruby \
    zip \
    unzip && \
  apt-get clean && \
  rm -rf /var/lib/apt/lists/* && \
  unset GOPATH


#
# $FreeBSD$
#

.include "../Makefile.inc0"

.PATH: ${SRCDIR}/gas

SUBDIR=		doc

PROG=		gasp
SRCS+=		gasp.c macro.c sb.c hash.c
CFLAGS+=	-I${SRCDIR}
CFLAGS+=	-I${SRCDIR}/gas
CFLAGS+=	-I${SRCDIR}/gas/config
CFLAGS+=	-I${.CURDIR}/../as/${TARGET_ARCH}-freebsd
CFLAGS+=	-DBFD_ASSEMBLER
LDADD+=		-L${RELTOP}/libiberty -liberty
DPADD+=		${RELTOP}/libiberty/libiberty.a
NOMAN=		1

.include <bsd.prog.mk>

Add a manpage for gasp.

#
# $FreeBSD$
#

.include "../Makefile.inc0"

.PATH: ${SRCDIR}/gas

SUBDIR=		doc

PROG=		gasp
SRCS+=		gasp.c macro.c sb.c hash.c
CFLAGS+=	-I${SRCDIR}
CFLAGS+=	-I${SRCDIR}/gas
CFLAGS+=	-I${SRCDIR}/gas/config
CFLAGS+=	-I${.CURDIR}/../as/${TARGET_ARCH}-freebsd
CFLAGS+=	-DBFD_ASSEMBLER
LDADD+=		-L${RELTOP}/libiberty -liberty
DPADD+=		${RELTOP}/libiberty/libiberty.a

.include <bsd.prog.mk>


#	@(#)Makefile	8.1 (Berkeley) 6/6/93
#	$Id$

PROG=	bdes
SRCS=	bdes.c

LDADD+=	-lcrypt
DPADD+=	/usr/lib/libcrypt.a

.include <bsd.prog.mk>

Add libcipher.a: libcrypt exports only crypt() but not des_setkey() which is in libcipher.a

#	@(#)Makefile	8.1 (Berkeley) 6/6/93
#	$Id: Makefile,v 1.2 1994/09/07 07:16:52 pst Exp $

PROG=	bdes
SRCS=	bdes.c

LDADD+= -lcrypt -lcipher
DPADD+= /usr/lib/libcrypt.a /usr/lib/libcipher.a

.include <bsd.prog.mk>


<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="./tests/Bootstrap.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         syntaxCheck="true"
         verbose="true">
>
    <testsuites>
        <testsuite name="Mockery Test Suite">
            <directory suffix="Test.php">./tests</directory>
            <exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude>
            <exclude>./tests/Mockery/MockingParameterAndReturnTypesTest.php</exclude>
            <exclude>./tests/Mockery/Generator/StringManipulation/Pass/MagicMethodTypeHintsPassTest.php</exclude>
            <file phpVersion="7.0.0-dev" phpVersionOperator=">=">./tests/Mockery/MockingParameterAndReturnTypesTest.php</file>
            <file phpVersion="7.0.0-dev" phpVersionOperator=">=">./tests/Mockery/Generator/StringManipulation/Pass/MagicMethodTypeHintsPassTest.php</file>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./library/</directory>
        </whitelist>
    </filter>
</phpunit>

Exclude TestListener from Code Coverage whitelist (otherwise class resolution errors under PHPUnit 6)

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="./tests/Bootstrap.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         syntaxCheck="true"
         verbose="true">
>
    <testsuites>
        <testsuite name="Mockery Test Suite">
            <directory suffix="Test.php">./tests</directory>
            <exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude>
            <exclude>./tests/Mockery/MockingParameterAndReturnTypesTest.php</exclude>
            <exclude>./tests/Mockery/Generator/StringManipulation/Pass/MagicMethodTypeHintsPassTest.php</exclude>
            <file phpVersion="7.0.0-dev" phpVersionOperator=">=">./tests/Mockery/MockingParameterAndReturnTypesTest.php</file>
            <file phpVersion="7.0.0-dev" phpVersionOperator=">=">./tests/Mockery/Generator/StringManipulation/Pass/MagicMethodTypeHintsPassTest.php</file>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./library/</directory>
            <exclude>
                <file>./library/Mockery/Adapter/Phpunit/TestListener.php</file>
            </exclude>
        </whitelist>
    </filter>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    backupGlobals="false"
    backupStaticAttributes="false"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    processIsolation="false"
    stopOnFailure="false"
    syntaxCheck="false"
    bootstrap="vendor/autoload.php"
>
    <testsuites>
        <testsuite name="Test Suite">
            <file>./tests/serialization.php</file>
            <file>./tests/Exception/SyntaxErrorFactory.php</file>
        </testsuite>
    </testsuites>
    <filter>
        <blacklist>
            <directory suffix=".php">vendor</directory>
        </blacklist>
    </filter>
</phpunit>

Change code coverage to whitelist

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    backupGlobals="false"
    backupStaticAttributes="false"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    processIsolation="false"
    stopOnFailure="false"
    syntaxCheck="false"
    bootstrap="vendor/autoload.php"
>
    <testsuites>
        <testsuite name="Test Suite">
            <file>./tests/serialization.php</file>
            <file>./tests/Exception/SyntaxErrorFactory.php</file>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>
</phpunit>


# $Id: Makefile,v 1.3 1995/04/21 10:23:23 jkh Exp $

PROG=   pkg_manage
SRCS=   pkg_main.c pkg_manage.c pkg_ui.c version.c
LDADD+= -ldialog -lncurses -lmytinfo
DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
CFLAGS+= -Wall -Wstrict-prototypes -DHELP_PATH=\"${HELPDIR}/\" \
	 -I${.CURDIR}/../../gnu/lib/libdialog \
	 -I${.CURDIR}/../../lib/libncurses

HELPDIR = /usr/share/misc/pkg_manage

HELPS=	pkg_del-inst.hlp        pkg_install.hlp         pkg_preview_fs.hlp \
	pkg_del_inst.hlp        pkg_main.hlp            pkg_view-inst.hlp  \
	pkg_ds_install.hlp      pkg_preview.hlp         pkg_view_inst.hlp

afterinstall:
	@if [ ! -d ${HELPDIR} ]; then rm -f ${HELPDIR}; mkdir -p ${HELPDIR}; fi
	@cd ${.CURDIR}; \
	for m in ${HELPS} ; do \
	  cmp -s $$m ${DESTDIR}${HELPDIR}/$$m || \
	  install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		$$m ${DESTDIR}${HELPDIR} ; \
	done

.include <bsd.prog.mk>

Delete a couple of now-extraneous files. Noticed by: ats

# $Id: Makefile,v 1.4 1995/04/24 13:00:49 jkh Exp $

PROG=   pkg_manage
SRCS=   pkg_main.c pkg_manage.c pkg_ui.c version.c
LDADD+= -ldialog -lncurses -lmytinfo
DPADD+= ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
CFLAGS+= -Wall -Wstrict-prototypes -DHELP_PATH=\"${HELPDIR}/\" \
	 -I${.CURDIR}/../../gnu/lib/libdialog \
	 -I${.CURDIR}/../../lib/libncurses

HELPDIR = /usr/share/misc/pkg_manage

HELPS=	pkg_install.hlp         pkg_preview_fs.hlp \
	pkg_del_inst.hlp        pkg_main.hlp       \
	pkg_ds_install.hlp      pkg_preview.hlp    \
	pkg_view_inst.hlp

afterinstall:
	@if [ ! -d ${HELPDIR} ]; then rm -f ${HELPDIR}; mkdir -p ${HELPDIR}; fi
	@cd ${.CURDIR}; \
	for m in ${HELPS} ; do \
	  cmp -s $$m ${DESTDIR}${HELPDIR}/$$m || \
	  install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		$$m ${DESTDIR}${HELPDIR} ; \
	done

.include <bsd.prog.mk>


FROM python:3.8-slim-buster

ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

RUN apt-get update \
    # dependencies for building Python packages
    && apt-get install -y build-essential \
    # psycopg2 dependencies
    && apt-get install -y libpq-dev \
    # Translations dependencies
    && apt-get install -y gettext \
    # Enable Sphinx output to latex and pdf
    && apt-get install -y texlive-latex-recommended \
    && apt-get install -y texlive-fonts-recommended \
    && apt-get install -y texlive-latex-extra \
    && apt-get install -y latexmk \
    # cleaning up unused files
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
    && rm -rf /var/lib/apt/lists/*

# Requirements are installed here to ensure they will be cached.
COPY ./requirements /requirements
# All imports needed for autodoc.
RUN pip install -r /requirements/local.txt
RUN pip install -r /requirements/production.txt

WORKDIR /docs

CMD make livehtml

Remove latex from sphinx docker build

FROM python:3.8-slim-buster

ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

RUN apt-get update \
    # dependencies for building Python packages
    && apt-get install -y build-essential \
    # psycopg2 dependencies
    && apt-get install -y libpq-dev \
    # Translations dependencies
    && apt-get install -y gettext \
    # Uncomment below to enable Sphinx output to latex and pdf
    # && apt-get install -y texlive-latex-recommended \
    && apt-get install -y texlive-fonts-recommended \
    && apt-get install -y texlive-latex-extra \
    && apt-get install -y latexmk \
    # cleaning up unused files
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
    && rm -rf /var/lib/apt/lists/*

# Requirements are installed here to ensure they will be cached.
COPY ./requirements /requirements
# All imports needed for autodoc.
RUN pip install -r /requirements/local.txt
RUN pip install -r /requirements/production.txt

WORKDIR /docs

CMD make livehtml


# $Id$

default: html

docs: html chunk-html pdf
install-docs: install-html install-chunk-html install-pdf

XSLT_TOOL=	Saxon

NAME=		perf.measure.guide

XML_FILES=	$(NAME).xml
HTML_FILES=	$(NAME).html
PDF_FILES=	$(NAME).pdf

# Fill these in!!  Together, they make up the installation prefix.
webroot=	$(HOME)/public_html/jugglerweb
instdir=	vrjuggler/$(PROJECT_NUMBER)/perf.measure.guide

prefix=		$(webroot)/$(instdir)
INSTALL_DIRS=	figures
INSTALL_FILES=	$(webroot)/base_style.css

$(NAME).html: $(NAME).xml
$(NAME).pdf: $(NAME).xml $(NAME).fo

include ../version.mk
include ../../../../doc/docbook.mk

Install the performance measurement guide for JCCL into the website's JCCL project directory.

# $Id$

default: html

docs: html chunk-html pdf
install-docs: install-html install-chunk-html install-pdf

XSLT_TOOL=	Saxon

NAME=		perf.measure.guide

XML_FILES=	$(NAME).xml
HTML_FILES=	$(NAME).html
PDF_FILES=	$(NAME).pdf

# Fill these in!!  Together, they make up the installation prefix.
webroot=	$(HOME)/public_html/jugglerweb
instdir=	jccl/$(PROJECT_NUMBER)/perf.measure.guide

prefix=		$(webroot)/$(instdir)
INSTALL_DIRS=	figures
INSTALL_FILES=	$(webroot)/base_style.css

$(NAME).html: $(NAME).xml
$(NAME).pdf: $(NAME).xml $(NAME).fo

include ../version.mk
include ../../../../doc/docbook.mk


COMPILER=
ARCHIVER=
CP=cp
COMPILER_FLAGS=
EXTRA_COMPILER_FLAGS=
LIB=libxil.a

RELEASEDIR=../../../lib
INCLUDEDIR=../../../include
INCLUDES=-I./. -I${INCLUDEDIR}

INCLUDEFILES=*.h
LIBSOURCES=*.c
OUTS = *.o

libs:
	echo "Compiling axi_ps2..."
	$(COMPILER) $(COMPILER_FLAGS) $(EXTRA_COMPILER_FLAGS) $(INCLUDES) $(LIBSOURCES)
	$(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OUTS}
	make clean

include:
	${CP} $(INCLUDEFILES) $(INCLUDEDIR)

clean:
	rm -rf ${OUTS}

Update AXI PS2 Driver Makefile

COMPILER=
ARCHIVER=
CP=cp
COMPILER_FLAGS=
EXTRA_COMPILER_FLAGS=
LIB=libxil.a

CC_FLAGS = $(COMPILER_FLAGS)
ECC_FLAGS = $(EXTRA_COMPILER_FLAGS)

RELEASEDIR=../../../lib
INCLUDEDIR=../../../include
INCLUDES=-I./. -I${INCLUDEDIR}

LIBSOURCES:=*.c
INCLUDEFILES:=*.h

OBJECTS =	$(addsuffix .o, $(basename $(wildcard *.c)))

IPNAME=axi_ps2_v1_0

libs: banner ${IPNAME}_libs clean

%.o: %.c
	${COMPILER} $(CC_FLAGS) $(ECC_FLAGS) $(INCLUDES) -o $@ $<

banner:
	echo "Compiling ${IPNAME}"

${IPNAME}_libs: ${OBJECTS}
	$(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OBJECTS}

.PHONY: include
include: ${IPNAME}_includes

${IPNAME}_includes:
	${CP} ${INCLUDEFILES} ${INCLUDEDIR}

clean:
	rm -rf ${OBJECTS}


#	@(#)Makefile	5.6 (Berkeley) 3/5/91
#

PROG=	key
SRCS=	skey.c
MAN1=   key.1

DPADD=	${LIBSKEY} ${LIBMD}
LDADD=	-lskey -lmd

.include <bsd.prog.mk>

Add -D_SKEY_INTERNAL to pick up non-API skey functions

#	@(#)Makefile	5.6 (Berkeley) 3/5/91
#

PROG=	key
SRCS=	skey.c
MAN1=   key.1

CFLAGS+= -D_SKEY_INTERNAL

DPADD=	${LIBSKEY} ${LIBMD}
LDADD=	-lskey -lmd

.include <bsd.prog.mk>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="vendor/autoload.php"
         failOnRisky="true"
         failOnWarning="true"
>
    <php>
        <ini name="error_reporting" value="-1" />
    </php>

    <testsuites>
        <testsuite name="Symfony Stopwatch Component Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./</directory>
            <exclude>
                <directory>./Tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>

Bump phpunit XSD version to 5.2

<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.2/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="vendor/autoload.php"
         failOnRisky="true"
         failOnWarning="true"
>
    <php>
        <ini name="error_reporting" value="-1" />
    </php>

    <testsuites>
        <testsuite name="Symfony Stopwatch Component Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./</directory>
            <exclude>
                <directory>./Tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>


FROM gitpod/workspace-full:latest

USER root

# Add here the instruction who needs root user

USER gitpod

# Install dotnet core
ENV PATH=$HOME/.dotnet:$PATH
RUN wget https://dotnetwebsite.azurewebsites.net/download/dotnet-core/scripts/v1/dotnet-install.sh && \
    bash dotnet-install.sh -v 3.1.201 && \
    rm -rf dotnet-install.sh;

Update dotnet version for Gitpod

FROM gitpod/workspace-full:latest

USER gitpod

# Install .NET Core 3.1 SDK binaries on Ubuntu 20.04
# Source: https://dev.to/carlos487/installing-dotnet-core-in-ubuntu-20-04-6jh
RUN mkdir -p /home/gitpod/dotnet && curl -fsSL https://download.visualstudio.microsoft.com/download/pr/0c795076-b679-457e-8267-f9dd20a8ca28/02446ea777b6f5a5478cd3244d8ed65b/dotnet-sdk-3.1.300-linux-x64.tar.gz | tar xz -C /home/gitpod/dotnet
ENV DOTNET_ROOT=/home/gitpod/dotnet
ENV PATH=$PATH:/home/gitpod/dotnet


# $FreeBSD$

SCRIPTS=	krb5-config
MAN=		krb5-config.1
CLEANFILES=	krb5-config

krb5-config: krb5-config.in
	sed	-e "s,@PACKAGE\@,FreeBSD heimdal,g" \
		-e "s,@VERSION\@,0.5,g" \
		-e "s,@prefix\@,/usr,g" \
		-e "s,@exec_prefix\@,/usr,g" \
		-e "s,@libdir\@,${LIBDIR},g" \
		-e "s,@includedir\@,${INCLUDEDIR},g" \
		-e "s,@LIB_crypt\@,-lcrypt,g" \
		-e "s,@LIB_dbopen\@,,g" \
		-e "s,@LIB_des_appl\@,-lcrypto,g" \
		-e "s,@LIBS\@,-lcom_err,g" \
		${.ALLSRC} > ${.TARGET}
	chmod +x ${.TARGET}

.include <bsd.prog.mk>

.PATH:	${KRB5DIR}/tools

Repair buglet introduced with the last import of Heimdal: `krb5-config --cflags' spewed an erroneous argument.

# $FreeBSD$

SCRIPTS=	krb5-config
MAN=		krb5-config.1
CLEANFILES=	krb5-config

krb5-config: krb5-config.in
	sed	-e "s,@PACKAGE\@,FreeBSD heimdal,g" \
		-e "s,@VERSION\@,0.5,g" \
		-e "s,@prefix\@,/usr,g" \
		-e "s,@exec_prefix\@,/usr,g" \
		-e "s,@libdir\@,${LIBDIR},g" \
		-e "s,@includedir\@,${INCLUDEDIR},g" \
		-e "s,@LIB_crypt\@,-lcrypt,g" \
		-e "s,@LIB_dbopen\@,,g" \
		-e "s,@LIB_des_appl\@,-lcrypto,g" \
		-e "s,@LIBS\@,-lcom_err,g" \
		-e "s,@INCLUDE_des@,,g" \
		${.ALLSRC} > ${.TARGET}
	chmod +x ${.TARGET}

.include <bsd.prog.mk>

.PATH:	${KRB5DIR}/tools


PROG=crunchgen
SRCS=crunchgen.c crunched_skel.c
CFLAGS+=-g -Wall

crunched_skel.c: crunched_main.c
	${.CURDIR}/mkskel.sh ${.CURDIR}/crunched_main.c >crunched_skel.c

.include <bsd.prog.mk>

Make sure mkskel.sh bails out if it finds trouble. Use "sh -e" to run it.

PROG=crunchgen
SRCS=crunchgen.c crunched_skel.c
CFLAGS+=-g -Wall

crunched_skel.c: crunched_main.c
	sh -e ${.CURDIR}/mkskel.sh ${.CURDIR}/crunched_main.c >crunched_skel.c

.include <bsd.prog.mk>


#	$Id$

PROG=		apm
# CFLAGS+=	-I/sys/i386/include
# BINGRP=		apm
# BINMODE=	550
LINKS=		${DESTDIR}/usr/sbin/apm ${DESTDIR}/usr/sbin/zzz
NOMAN=		1

.include <bsd.prog.mk>

Stop "make install" from falling over if DESTDIR is defined.

#	$Id: Makefile,v 1.1 1994/10/01 03:23:23 davidg Exp $

PROG=		apm
# CFLAGS+=	-I/sys/i386/include
# BINGRP=		apm
# BINMODE=	550
# LINKS=		${DESTDIR}/usr/sbin/apm ${DESTDIR}/usr/sbin/zzz
NOMAN=		1

.include <bsd.prog.mk>


CFLAGS += -I../..

LDFLAGS += -L../../framework -lmlt -lm

include ../../../config.mak

TARGET = ../libmltvidstab$(LIBSUF)

OBJS = factory.o \
	common.o

CPPOBJS = filter_deshake.o
CPPOBJS += filter_vidstab.o

CXXFLAGS += -Wno-deprecated $(CFLAGS)
CXXFLAGS += $(shell pkg-config --cflags vidstab)

LDFLAGS += -L../../mlt++ -lmlt++
LDFLAGS += $(shell pkg-config --libs vidstab)

SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cpp)

all: $(TARGET)

$(TARGET): $(OBJS) $(CPPOBJS)
		$(CXX) $(SHFLAGS) -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)

depend:	$(SRCS)
		$(CXX) -MM $(CXXFLAGS) $^ 1>.depend

distclean:	clean
		rm -f .depend config.h config.mak

clean:
		rm -f $(OBJS) $(TARGET) $(CPPOBJS)

install: all
	install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
	install -d "$(DESTDIR)$(mltdatadir)/vid.stab"
	install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/vid.stab"

ifneq ($(wildcard .depend),)
include .depend
endif

Use Vid.Stab CFLAGS even when building *.c files

CFLAGS += -I../..

LDFLAGS += -L../../framework -lmlt -lm

include ../../../config.mak

TARGET = ../libmltvidstab$(LIBSUF)

OBJS = factory.o \
	common.o

CPPOBJS = filter_deshake.o
CPPOBJS += filter_vidstab.o

CFLAGS += -Wno-deprecated
CFLAGS += $(shell pkg-config --cflags vidstab)
CXXFLAGS += $(CFLAGS)

LDFLAGS += -L../../mlt++ -lmlt++
LDFLAGS += $(shell pkg-config --libs vidstab)

SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cpp)

all: $(TARGET)

$(TARGET): $(OBJS) $(CPPOBJS)
		$(CXX) $(SHFLAGS) -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)

depend:	$(SRCS)
		$(CXX) -MM $(CXXFLAGS) $^ 1>.depend

distclean:	clean
		rm -f .depend config.h config.mak

clean:
		rm -f $(OBJS) $(TARGET) $(CPPOBJS)

install: all
	install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
	install -d "$(DESTDIR)$(mltdatadir)/vid.stab"
	install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/vid.stab"

ifneq ($(wildcard .depend),)
include .depend
endif


# $FreeBSD$
#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
#	from: @(#)Makefile	8.2 (Berkeley) 4/3/94

# Uncomment the following to provide defaults for gate-ftp operation
#
#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21

PROG=	ftp
SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
	util.c

CFLAGS+=-DINET6 -g
LDADD+=	-ledit -ltermcap
DPADD+=	${LIBEDIT} ${LIBTERMCAP}

LINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
	${BINDIR}/ftp ${BINDIR}/gate-ftp
MLINKS=	ftp.1 pftp.1 \
	ftp.1 gate-ftp.1

.include <bsd.prog.mk>

Remove addition of -g to CFLAGS

# $FreeBSD$
#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
#	from: @(#)Makefile	8.2 (Berkeley) 4/3/94

# Uncomment the following to provide defaults for gate-ftp operation
#
#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21

PROG=	ftp
SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
	util.c

CFLAGS+=-DINET6
LDADD+=	-ledit -ltermcap
DPADD+=	${LIBEDIT} ${LIBTERMCAP}

LINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
	${BINDIR}/ftp ${BINDIR}/gate-ftp
MLINKS=	ftp.1 pftp.1 \
	ftp.1 gate-ftp.1

.include <bsd.prog.mk>


libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@

Name: Sylvan
Description: @PROJECT_DESCRIPTION@
URL: @PROJECT_URL@
Version: @PROJECT_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lsylvan -lgmp -lpthread -lm
Requires: hwloc

Remove hwloc dependency from sylvan.pc.


# - Config file for the SofaGui package
# It defines the following variables
#  SofaGui_INCLUDE_DIRS - include directories for SofaGui
#  SofaGui_LIBRARIES    - libraries to link against

@PACKAGE_INIT@

set(SOFAGUI_INCLUDE_DIR "@PACKAGE_SOFAGUI_INCLUDE_DIR@")
set(SofaGUI_TARGETS @SOFAGUI_TARGETS@)

# required for transitive dependencies
find_package(SofaGeneral REQUIRED)
find_package(SofaMisc REQUIRED)
find_package(SofaAdvanced REQUIRED)

set(SOFA_HAVE_QT @SOFA_HAVE_QT@)

if(SOFA_HAVE_QT)
    set(QT_USE_IMPORTED_TARGETS TRUE)
    set(QT4_NO_LINK_QTMAIN TRUE)
    find_package(Qt4 COMPONENTS qtcore qtgui qtopengl qt3support qtxml REQUIRED)
endif()

if( NOT TARGET SofaGuiCommon )
	include("${CMAKE_CURRENT_LIST_DIR}/SofaGuiTargets.cmake")
endif()

check_required_components(${SofaGUI_TARGETS})

# For compatibility only
set(SofaGui_LIBRARIES SofaGuiCommon)
set(SofaGui_INCLUDE_DIRS ${SOFAGUI_INCLUDE_DIR} ${SofaGeneral_INCLUDE_DIRS} ${SofaMisc_INCLUDE_DIRS} ${SofaAdvanced_INCLUDE_DIRS})

BUILD FIX: SofaGuiConfig variable usage before looking up for qt4

# - Config file for the SofaGui package
# It defines the following variables
#  SofaGui_INCLUDE_DIRS - include directories for SofaGui
#  SofaGui_LIBRARIES    - libraries to link against

@PACKAGE_INIT@

set(SOFAGUI_INCLUDE_DIR "@PACKAGE_SOFAGUI_INCLUDE_DIR@")
set(SofaGUI_TARGETS @SOFAGUI_TARGETS@)

# required for transitive dependencies
find_package(SofaGeneral REQUIRED)
find_package(SofaMisc REQUIRED)
find_package(SofaAdvanced REQUIRED)

set(SOFA_HAVE_QT @SOFA_HAVE_QT@)

if(SOFA_HAVE_QT)
    set(QT_USE_IMPORTED_TARGETS 1)
    set(QT4_NO_LINK_QTMAIN      1)
    find_package(Qt4 COMPONENTS qtcore qtgui qtopengl qt3support qtxml REQUIRED)
endif()

if( NOT TARGET SofaGuiCommon )
	include("${CMAKE_CURRENT_LIST_DIR}/SofaGuiTargets.cmake")
endif()

check_required_components(${SofaGUI_TARGETS})

# For compatibility only
set(SofaGui_LIBRARIES SofaGuiCommon)
set(SofaGui_INCLUDE_DIRS ${SOFAGUI_INCLUDE_DIR} ${SofaGeneral_INCLUDE_DIRS} ${SofaMisc_INCLUDE_DIRS} ${SofaAdvanced_INCLUDE_DIRS})


<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="vendor/autoload.php"
>
    <testsuites>
        <testsuite name="Symfony BrowserKit Component Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./</directory>
            <exclude>
                <directory>./Resources</directory>
                <directory>./Tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>

Adjust error_reporting to allow deprecation messages for 3.0

<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="vendor/autoload.php"
>
    <php>
        <!-- Disable E_USER_DEPRECATED until 3.0 -->
        <!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
        <ini name="error_reporting" value="-16385"/>
    </php>

    <testsuites>
        <testsuite name="Symfony BrowserKit Component Test Suite">
            <directory>./Tests/</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./</directory>
            <exclude>
                <directory>./Resources</directory>
                <directory>./Tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>


#
# $FreeBSD$
#
.include "../Makefile.inc"

SRCS=	bc-emit.c bc-optab.c \
	c-common.c c-pragma.c \
	caller-save.c calls.c combine.c convert.c cse.c \
	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \
	final.c flow.c fold-const.c function.c getpwd.c global.c \
	insn-attrtab.c insn-emit.c insn-extract.c insn-opinit.c \
	insn-output.c insn-peep.c insn-recog.c \
	integrate.c jump.c local-alloc.c loop.c obstack.c optabs.c \
	print-rtl.c print-tree.c real.c recog.c reg-stack.c regclass.c \
	reload.c reload1.c reorg.c rtl.c rtlanal.c \
	sched.c sdbout.c stmt.c stor-layout.c stupid.c \
	toplev.c tree.c unroll.c varasm.c version.c xcoffout.c \
	${OUT_FILE}

LIB=		cc_int
NOPROFILE=	no thanks
NOPIC=		no thanks

install:
	@true

${OUT_OBJ}.o ${OUT_OBJ}.so:	${OUT_FILE}

.include <bsd.lib.mk>

Remove incorrect use of double-negative since it means the same thing to make but perhaps not to the human reading it.

#
# $FreeBSD$
#
.include "../Makefile.inc"

SRCS=	bc-emit.c bc-optab.c \
	c-common.c c-pragma.c \
	caller-save.c calls.c combine.c convert.c cse.c \
	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \
	final.c flow.c fold-const.c function.c getpwd.c global.c \
	insn-attrtab.c insn-emit.c insn-extract.c insn-opinit.c \
	insn-output.c insn-peep.c insn-recog.c \
	integrate.c jump.c local-alloc.c loop.c obstack.c optabs.c \
	print-rtl.c print-tree.c real.c recog.c reg-stack.c regclass.c \
	reload.c reload1.c reorg.c rtl.c rtlanal.c \
	sched.c sdbout.c stmt.c stor-layout.c stupid.c \
	toplev.c tree.c unroll.c varasm.c version.c xcoffout.c \
	${OUT_FILE}

LIB=		cc_int
NOPROFILE=	YES
NOPIC=		YES

install:
	@true

${OUT_OBJ}.o ${OUT_OBJ}.so:	${OUT_FILE}

.include <bsd.lib.mk>


[Desktop Entry]
Type=Application
Name=Window Effects
GenericName=Compton Configuration
Comment=Configure Compton window effects
TryExec=compton-conf
Exec=compton-conf
Icon=preferences-system-windows
Categories=Settings;DesktopSettings;Qt;LXQt;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;X-GNOME-PersonalSettings;

#TRANSLATIONS_DIR=translations

Use default icon of compton for compton-conf

[Desktop Entry]
Type=Application
Name=Window Effects
GenericName=Compton Configuration
Comment=Configure Compton window effects
TryExec=compton-conf
Exec=compton-conf
Icon=compton
Categories=Settings;DesktopSettings;Qt;LXQt;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;X-GNOME-PersonalSettings;

#TRANSLATIONS_DIR=translations


<?xml version="1.0"?>
<psalm
    totallyTyped="true"
    errorLevel="7"
    resolveFromConfigFile="true"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://getpsalm.org/schema/config"
    xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
    errorBaseline="psalm-baseline.xml"
>
    <projectFiles>
        <directory name="src" />
        <ignoreFiles>
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>

    <plugins>
        <pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
    </plugins>
</psalm>

Remove deprecated psalm option totallyTyped

<?xml version="1.0"?>
<psalm
    errorLevel="7"
    resolveFromConfigFile="true"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://getpsalm.org/schema/config"
    xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
    errorBaseline="psalm-baseline.xml"
>
    <projectFiles>
        <directory name="src" />
        <ignoreFiles>
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>

    <plugins>
        <pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
    </plugins>
</psalm>


<?xml version="1.0"?>
<ruleset name="Imbo rule set"
         xmlns="http://pmd.sf.net/ruleset/1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
         xsi:noNamespaceSchemaLocation=" http://pmd.sf.net/ruleset_xml_schema.xsd">
  <description>Ruleset for Imbo</description>
  <rule ref="rulesets/codesize.xml" />
  <rule ref="rulesets/design.xml" />
  <rule ref="rulesets/naming.xml">
    <exclude name="ShortVariable" />
  </rule>
  <rule ref="rulesets/unusedcode.xml" />
</ruleset>

Exclude a rule from PHPMD

<?xml version="1.0"?>
<ruleset name="Imbo rule set"
         xmlns="http://pmd.sf.net/ruleset/1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
         xsi:noNamespaceSchemaLocation=" http://pmd.sf.net/ruleset_xml_schema.xsd">
  <description>Ruleset for Imbo</description>
  <rule ref="rulesets/codesize.xml" />
  <rule ref="rulesets/design.xml" />
  <rule ref="rulesets/naming.xml">
    <exclude name="ShortVariable" />
  </rule>
  <rule ref="rulesets/unusedcode.xml">
    <exclude name="UnusedFormalParameter" />
  </rule>
</ruleset>


[Desktop Entry]
Type=Link
Name=Battery
Name[de]=
Name[es]=Batería
Name[fr]=
Name[it]=
Name[ja]=
Name[pt]=
Name[pt_BR]=
Name[zh_CN]=
Name[zh_TW]=
Icon=e-module-battery
Comment=<hilight>Battery Gadget</hilight>
A gadget to visualize your battery
status.
Comment[de]=
Comment[es]=<hilight>Dispositivo batería</hilight>
Un dispositivo para ver el estado de su
batería.
Comment[fr]=
Comment[it]=<hilight>Modulo Battery</hilight>
Un modulo per visualizzare lo
stato della batteria.
Comment[ja]=
Comment[pt]=
Comment[pt_BR]=
Comment[zh_CN]=
Comment[zh_TW]=
X-Enlightenment-ModuleType=system

Fix battery module description to fit width of new description box. There will be a bunch more of these commits coming.


ARG FROM_TAG=release-alpine
FROM ponylang/ponyc:${FROM_TAG}

RUN apk update \
  && apk upgrade \
  && apk add --update --no-cache \
  bash \
  git-fast-import \
  libffi \
  libffi-dev \
  libressl \
  libressl-dev \
  python3 \
  python3-dev \
  py3-pip \
  && pip3 install --upgrade pip \
  && pip3 install mkdocs \
  && pip3 install mkdocs-ponylang

Fix broken standard library documentation building

ARG FROM_TAG=release-alpine
FROM ponylang/ponyc:${FROM_TAG}

RUN apk update \
  && apk upgrade \
  && apk add --update --no-cache \
  bash \
  git-fast-import \
  libffi \
  libffi-dev \
  libressl \
  libressl-dev \
  python3 \
  python3-dev \
  py3-pip \
  && pip3 install --upgrade pip \
  && pip3 install mkdocs==1.3.1\
  && pip3 install mkdocs-ponylang


<!-- replace ".card_options" -->
<div class="card_options">
    <input id="use_existing_card_no" name="use_existing_card" type="radio" value="yes" style="display:none">
</div>

Remove card options from checkout.

  <%= radio_button_tag 'use_existing_card', 'yes', false %>
  Use an existing card on file

  <%= radio_button_tag 'use_existing_card', 'no', true %>
  Use a new card / payment method


<!-- insert_after 'meta'-->
<% content_for :head dp %>
  <script type='text/javascript'>
    $(document).ready(function () {
      $('#main-image').magnificPopup({
        delegate: 'a',
        type: 'image'
      });
    });
  </script>
<% end %>

Add magnific popup script to head.

<!-- insert_after 'meta'-->
<script type='text/javascript'>
  $(document).ready(function () {
    $('#main-image').magnificPopup({
      delegate: 'a',
      type: 'image'
    });
  });
</script>


FROM sosedoff/base
MAINTAINER Dan Sosedoff "dan.sosedoff@gmail.com"

# Setup database client libraries
RUN apt-get install -y mysql-client libmysqlclient-dev
RUN apt-get install -y postgresql-client-9.1 libpq-dev
RUN apt-get install -y sqlite3 libsqlite3-dev

# Install ruby
ADD http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz /tmp/
RUN tar -xzf /tmp/ruby-1.9.3-p484.tar.gz && (cd ruby-2.0.0-p353/ && ./configure --disable-install-doc && make && make install)
RUN rm -rf /tmp/ruby* && rm -rf /ruby

# Update rubygems
RUN gem update --system

# Install bundler
RUN gem install bundler --no-ri --no-rdoc

Fix error in 1.9.3 dir

FROM sosedoff/base
MAINTAINER Dan Sosedoff "dan.sosedoff@gmail.com"

# Setup database client libraries
RUN apt-get install -y mysql-client libmysqlclient-dev
RUN apt-get install -y postgresql-client-9.1 libpq-dev
RUN apt-get install -y sqlite3 libsqlite3-dev

# Install ruby
ADD http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz /tmp/
RUN tar -xzf /tmp/ruby-1.9.3-p484.tar.gz && (cd ruby-1.9.3-p484/ && ./configure --disable-install-doc && make && make install)
RUN rm -rf /tmp/ruby* && rm -rf /ruby

# Update rubygems
RUN gem update --system

# Install bundler
RUN gem install bundler --no-ri --no-rdoc


# Makefile for refer

PROG=		refer
SRCS=		command.cc ref.cc refer.cc token.cc
OBJS=		label.o
CFLAGS+=	-I. -I${.CURDIR}/../include
LDADD+=		${LIBBIB} ${LIBGROFF} -lm
DPADD+=		${LIBBIB} ${LIBGROFF} ${LIBM}

MANDEPEND=	refer.1
CLEANFILES+=	label.cc label.tab.h ${MANDEPEND}

.include "../Makefile.cfg"
.include <bsd.prog.mk>

Put generated source files in SRCS. This fixes races generating the source files. E.g., the stale version of locate.cc in the source directory was sometimes used. We didn't even use beforedepend.

#	$Id$

PROG=		refer
SRCS=		command.cc label.cc ref.cc refer.cc token.cc
CFLAGS+=	-I${.CURDIR}/../include
DPADD=		${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD=		${LIBBIB} ${LIBGROFF} -lm
CLEANFILES=	label.cc label.tab.h ${MAN1} y.tab.c y.tab.h

.include "../Makefile.cfg"
.include <bsd.prog.mk>


# $FreeBSD$

BINDIR= /usr/libexec/bsdinstall
PROG=	partedit
LINKS= ${BINDIR}/partedit ${BINDIR}/autopart ${BINDIR}/partedit /usr/sbin/sade
LDADD=	-lgeom -lncursesw -lutil -ldialog -lm

PARTEDIT_ARCH= ${MACHINE}
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
PARTEDIT_ARCH= x86
.endif
.if !exists(partedit_${PARTEDIT_ARCH}.c)
PARTEDIT_ARCH= generic
.endif

SRCS=	diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \
	part_wizard.c

WARNS?=	3
MAN= sade.8

.include <bsd.prog.mk>

Make sade actually be a symlink to partedit, as per the commit message in r244859, rather than a hardlink. This fixes installation if /usr/sbin is on a different filesystem than /usr/libexec.

# $FreeBSD$

BINDIR= /usr/libexec/bsdinstall
PROG=	partedit
LINKS= ${BINDIR}/partedit ${BINDIR}/autopart
SYMLINKS= ${BINDIR}/partedit /usr/sbin/sade
LDADD=	-lgeom -lncursesw -lutil -ldialog -lm

PARTEDIT_ARCH= ${MACHINE}
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
PARTEDIT_ARCH= x86
.endif
.if !exists(partedit_${PARTEDIT_ARCH}.c)
PARTEDIT_ARCH= generic
.endif

SRCS=	diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \
	part_wizard.c

WARNS?=	3
MAN= sade.8

.include <bsd.prog.mk>


FROM python:3.7-slim

WORKDIR /root

COPY ./requirements.txt /root/requirements.txt

# TODO: copy in permanent code run stuff?

ENV PYTHONIOENCODING=utf-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

RUN apt-get update &&\
  apt-get install -y build-essential &&\
  apt-get install -y nodejs &&\
  apt-get install -y julia &&\
  pip install -r requirements.txt &&\
  rm requirements.txt

# ENTRYPOINT ["bash"]

CMD ["tail", "-f", "/dev/null"]

Add julia requirements (JSON)) to Dockerfile

FROM python:3.7-slim

WORKDIR /root

COPY ./requirements.txt /root/requirements.txt

# TODO: copy in permanent code run stuff?

ENV PYTHONIOENCODING=utf-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'

# TODO: use REQUIRE file for julia?

RUN apt-get update &&\
  apt-get install -y curl &&\
  apt-get install -y build-essential &&\
  apt-get install -y nodejs &&\
  apt-get install -y julia &&\
  julia -e 'import Pkg; Pkg.add("JSON");' &&\
  pip install -r requirements.txt &&\
  rm requirements.txt

# ENTRYPOINT ["bash"]

CMD ["tail", "-f", "/dev/null"]


FROM alanz/debian-base-64

MAINTAINER alan.zimm@gmail.com

ENV DEBIAN_FRONTEND noninteractive

####### GHC 7.6.3 ######################

RUN wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-x86_64-unknown-linux.tar.bz2

RUN tar xvfj ghc-7.6.3-x86_64-unknown-linux.tar.bz2
RUN cd ghc-7.6.3 && ./configure
RUN cd ghc-7.6.3 && make install

Clean up after GHC 7.6.3 install

FROM alanz/debian-base-64

MAINTAINER alan.zimm@gmail.com

ENV DEBIAN_FRONTEND noninteractive

####### GHC 7.6.3 ######################

RUN wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-x86_64-unknown-linux.tar.bz2

RUN tar xvfj ghc-7.6.3-x86_64-unknown-linux.tar.bz2
RUN cd ghc-7.6.3 && ./configure
RUN cd ghc-7.6.3 && make install

# Clean up
RUN rm -fr ghc-7.6.3-x86_64-unknown-linux.tar.bz2 ghc-7.6.3


FROM alpine:3.5

ENV GOTPL_VER 0.1.5
ENV MARIADB_VER 10.1.22-r0

RUN apk add --no-cache \
        bash \
        ca-certificates \
        make \
        mariadb=${MARIADB_VER} \
        mariadb-client \
        pwgen \
        tzdata \
        wget && \

    wget -qO- https://github.com/wodby/gotpl/releases/download/${GOTPL_VER}/gotpl-alpine-linux-amd64-${GOTPL_VER}.tar.gz | tar xz -C /usr/local/bin

RUN mkdir -p /var/run/mysqld && mkdir -p /var/lib/mysql
RUN chown -R mysql:mysql /var/run/mysqld && chown -R mysql:mysql /var/lib/mysql

RUN mkdir /docker-entrypoint-initdb.d
COPY actions /usr/local/bin

RUN chown mysql:mysql /usr/local/bin/actions.mk /usr/local/bin/wait-for-mariadb.sh

COPY *.tpl /etc/gotpl/
COPY docker-entrypoint.sh /

WORKDIR /var/lib/mysql
VOLUME /var/lib/mysql

EXPOSE 3306

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["mysqld"]

Update alpine and mariadb version

FROM alpine:3.6

ENV GOTPL_VER 0.1.5
ENV MARIADB_VER 10.1.22-r1

RUN apk add --no-cache \
        bash \
        ca-certificates \
        make \
        mariadb=${MARIADB_VER} \
        mariadb-client \
        pwgen \
        tzdata \
        wget && \

    wget -qO- https://github.com/wodby/gotpl/releases/download/${GOTPL_VER}/gotpl-alpine-linux-amd64-${GOTPL_VER}.tar.gz | tar xz -C /usr/local/bin

RUN mkdir -p /var/run/mysqld && mkdir -p /var/lib/mysql
RUN chown -R mysql:mysql /var/run/mysqld && chown -R mysql:mysql /var/lib/mysql

RUN mkdir /docker-entrypoint-initdb.d
COPY actions /usr/local/bin

RUN chown mysql:mysql /usr/local/bin/actions.mk /usr/local/bin/wait-for-mariadb.sh

COPY *.tpl /etc/gotpl/
COPY docker-entrypoint.sh /

WORKDIR /var/lib/mysql
VOLUME /var/lib/mysql

EXPOSE 3306

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["mysqld"]


# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))

RPMTOPDIR := $(HOME)/rpmbuild
SOURCEDIR := $(RPMTOPDIR)/SOURCES
SPECDIR := $(RPMTOPDIR)/SPECS
SPECFILE := $(SPECDIR)/vespa-$(VESPA_VERSION).spec

srpm:
	dnf install -y git rpmdevtools
	$(TOP)/../dist.sh $$(git tag --points-at HEAD | grep -oP "\d+\.\d+\.\d+" | sort -V | tail -1)
	spectool -g -C $(SOURCEDIR) $(SPECFILE)
	rpmbuild -bs --define "_topdir $(RPMTOPDIR)" $(SPECFILE)
	cp -a $(RPMTOPDIR)/SRPMS/* $(outdir)
clean:
	-rm -rf $(RPMTOPDIR)

.PHONY: srpm clean

Use lazy eval when getting VESPA_VERSOION for srpm target.

# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST))))

RPMTOPDIR := $(HOME)/rpmbuild
SOURCEDIR := $(RPMTOPDIR)/SOURCES
SPECDIR := $(RPMTOPDIR)/SPECS
SPECFILE := $(SPECDIR)/vespa-$(VESPA_VERSION).spec

deps:
	dnf install -y git rpmdevtools

srpm: VESPA_VERSION = $$(git tag --points-at HEAD | grep -oP "\d+\.\d+\.\d+" | sort -V | tail -1)
srpm: deps
	$(TOP)/../dist.sh $(VESPA_VERSION)
	spectool -g -C $(SOURCEDIR) $(SPECDIR)/vespa-$(VESPA_VERSION).spec
	rpmbuild -bs --define "_topdir $(RPMTOPDIR)" $(SPECDIR)/vespa-$(VESPA_VERSION).spec
	cp -a $(RPMTOPDIR)/SRPMS/* $(outdir)

clean:
	-rm -rf $(RPMTOPDIR)

.PHONY: clean deps srpm


<phpunit bootstrap="./phpunit.php">
    <testsuites>
        <testsuite>
            <directory>./tests</directory>
        </testsuite>
    </testsuites>
</phpunit>

Add support for phpunit 5 code coverage

<phpunit bootstrap="./phpunit.php">
    <testsuites>
        <testsuite>
            <directory>./tests</directory>
        </testsuite>
    </testsuites>
    <filter>
      <whitelist processUncoveredFilesFromWhitelist="true">
        <directory suffix=".php">./src</directory>
      </whitelist>
    </filter>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
         colors="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true">
  <php>
    <ini name="memory_limit" value="128M"/>
  </php>

  <testsuites>
    <testsuite>
      <directory>./tests/</directory>
    </testsuite>
  </testsuites>

  <filter>
    <whitelist>
      <directory>./src/</directory>
    </whitelist>
  </filter>
</phpunit>

Set data.timezone when execute phunit

<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
         colors="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true">
  <php>
    <ini name="memory_limit" value="128M" />
    <ini name="date.timezone" value="UTC" />
  </php>

  <testsuites>
    <testsuite>
      <directory>./tests/</directory>
    </testsuite>
  </testsuites>

  <filter>
    <whitelist>
      <directory>./src/</directory>
    </whitelist>
  </filter>
</phpunit>


# $FreeBSD$

MAINTAINER=	peter@FreeBSD.org

.include "${.CURDIR}/../Makefile.inc"

.PATH:	${CVSDIR}/contrib
.PATH:	${CVSDIR}/man

#pvcs_to_rcs left out, it needs perl5

SCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
	 log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
	 easy-import

FILES=	 README cvscheck.man cvshelp.man descend.man intro.doc

EXAMPDIR=	/usr/share/examples/cvs
SCRIPTSDIR=	${EXAMPDIR}/contrib
PERLPATH=	/usr/bin/perl
CLEANFILES+=	$(SCRIPTS)

.SUFFIXES: .sh .csh .pl

.sh:
	cp $< $@

.csh:
	sed -e 's,xCSH_PATHx,/bin/csh,' $< > $@

.pl:
	sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@

beforeinstall:
.for file in ${FILES}
	cd ${.CURDIR} ; \
		${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
		${CVSDIR}/contrib/${file} ${DESTDIR}${EXAMPDIR}/contrib
.endfor

.include <bsd.prog.mk>

Update build rules for .in and tidy up.

# $FreeBSD$

MAINTAINER=	peter@FreeBSD.org

.include "${.CURDIR}/../Makefile.inc"

.PATH:	${CVSDIR}/contrib
.PATH:	${CVSDIR}/man

SCRIPTS= clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
	 log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs \
	 easy-import

FILES=	 README cvscheck.man cvshelp.man descend.man intro.doc

EXAMPDIR=	/usr/share/examples/cvs
SCRIPTSDIR=	${EXAMPDIR}/contrib
PERLPATH=	/usr/bin/perl
CLEANFILES+=	$(SCRIPTS)

.SUFFIXES: .sh .pl .in

.sh:
	cp $< $@

.pl:
	sed -e 's,xPERL_PATHx,$(PERLPATH),' $< > $@

.in:
	sed -e 's,@CSH@,/bin/csh,' -e 's,@PERL@,$(PERLPATH),' $< > $@

beforeinstall:
.for file in ${FILES}
	cd ${.CURDIR} ; \
		${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
		${CVSDIR}/contrib/${file} ${DESTDIR}${EXAMPDIR}/contrib
.endfor

.include <bsd.prog.mk>


# Makefile for eqn

PROG=		eqn
MAN1=		eqn.1 neqn.1
SRCS=		main.cc lex.cc  box.cc limit.cc list.cc over.cc text.cc\
		script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc
OBJS=		eqn.o
#CFLAGS+=	-I. -I${.CURDIR}/../include
LDADD+=		${LIBGROFF}
DPADD+=		${LIBGROFF}

MANDEPEND=	neqn.1 eqn.1
CLEANFILES+=	eqn.cc eqn.tab.h neqn ${MANDEPEND}

neqn:
	sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn

afterinstall:	neqn
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
		${DESTDIR}${BINDIR}

beforedepend: eqn.cc

.include "../Makefile.cfg"
.include <bsd.prog.mk>

Fix neqn building: 1) Move it after Makefile.inc included since it uses DIST_DIR from there 2) Add neqn.sh dependance

# Makefile for eqn

PROG=		eqn
MAN1=		eqn.1 neqn.1
SRCS=		main.cc lex.cc  box.cc limit.cc list.cc over.cc text.cc\
		script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc
OBJS=		eqn.o
#CFLAGS+=	-I. -I${.CURDIR}/../include
LDADD+=		${LIBGROFF}
DPADD+=		${LIBGROFF}

MANDEPEND=	neqn.1 eqn.1
CLEANFILES+=	eqn.cc eqn.tab.h neqn ${MANDEPEND}

afterinstall:	neqn
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
		${DESTDIR}${BINDIR}

beforedepend: eqn.cc

.include "../Makefile.cfg"
.include <bsd.prog.mk>

neqn:   ${DIST_DIR}/neqn.sh
	sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn


<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="vendor/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         syntaxCheck="true"
         strict="true"
         verbose="true"
>
    <testsuites>
        <testsuite name="NotifyMe Twilio Test Suite">
            <directory suffix="Test.php">./tests</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
</phpunit>

Fix deprecated strict warning in phpunit.

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         beStrictAboutTestsThatDoNotTestAnything="true"
         beStrictAboutOutputDuringTests="true"
         bootstrap="vendor/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnError="false"
         stopOnFailure="false"
         syntaxCheck="true"
         verbose="true"
>
    <testsuites>
        <testsuite name="NotifyMe Twilio Test Suite">
            <directory suffix="Test.php">./tests</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false">
  <php>
    <const name="PHPUNIT_TESTSUITE" value="true"/>
  </php>

  <testsuites>
    <testsuite name="PHPUnit Mock Objects">
      <directory suffix="Test.php">Tests</directory>
      <directory suffix=".phpt">Tests</directory>
    </testsuite>
  </testsuites>

  <logging>
    <log type="coverage-html" target="build/coverage" title="PHPUnit Mock Objects"
         charset="UTF-8" yui="true" highlight="true"
         lowUpperBound="35" highLowerBound="70"/>
    <log type="coverage-clover" target="build/logs/clover.xml"/>
    <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
  </logging>

  <filter>
    <whitelist addUncoveredFilesFromWhitelist="true">
      <directory suffix=".php">PHPUnit</directory>
    </whitelist>
  </filter>
</phpunit>

Exclude autoloader from code coverage report.

<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false">
  <php>
    <const name="PHPUNIT_TESTSUITE" value="true"/>
  </php>

  <testsuites>
    <testsuite name="PHPUnit Mock Objects">
      <directory suffix="Test.php">Tests</directory>
      <directory suffix=".phpt">Tests</directory>
    </testsuite>
  </testsuites>

  <logging>
    <log type="coverage-html" target="build/coverage" title="PHPUnit Mock Objects"
         charset="UTF-8" yui="true" highlight="true"
         lowUpperBound="35" highLowerBound="70"/>
    <log type="coverage-clover" target="build/logs/clover.xml"/>
    <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
  </logging>

  <filter>
    <whitelist addUncoveredFilesFromWhitelist="true">
      <directory suffix=".php">PHPUnit</directory>
      <exclude>
       <file>PHPUnit/Framework/MockObject/Autoload.php</file>
      </exclude>
    </whitelist>
  </filter>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         beStrictAboutTestsThatDoNotTestAnything="true"
         checkForUnintentionallyCoveredCode="false"
         beStrictAboutOutputDuringTests="true"
         beStrictAboutTestSize="true"
         bootstrap="./tests/bootstrap.php"
         colors="true"
         verbose="true">
    <testsuite name="Joind.in Test Suite">
        <directory>tests/</directory>
    </testsuite>
    <logging>
        <log type="coverage-html" target="build/coverage" title="joindin"
             charset="UTF-8" yui="true" highlight="true"
             lowUpperBound="35" highLowerBound="70"/>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
        <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
    </logging>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="false">
            <directory suffix=".php">src/controllers</directory>
            <directory suffix=".php">src/inc</directory>
            <directory suffix=".php">src/models</directory>
            <directory suffix=".php">src/services</directory>
            <directory suffix=".php">src/views</directory>
            <exclude>
                <!-- excluded because it both defines symbols and has side effects -->
                <file>inc/Autoloader.php</file>
            </exclude>
        </whitelist>
    </filter>
</phpunit>

Remove setting deprecated since PHPUnit 5.2

<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         beStrictAboutTestsThatDoNotTestAnything="true"
         beStrictAboutOutputDuringTests="true"
         beStrictAboutTestSize="true"
         bootstrap="./tests/bootstrap.php"
         colors="true"
         verbose="true">
    <testsuite name="Joind.in Test Suite">
        <directory>tests/</directory>
    </testsuite>
    <logging>
        <log type="coverage-html" target="build/coverage" title="joindin"
             charset="UTF-8" yui="true" highlight="true"
             lowUpperBound="35" highLowerBound="70"/>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
        <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
    </logging>

    <filter>
        <whitelist processUncoveredFilesFromWhitelist="false">
            <directory suffix=".php">src/controllers</directory>
            <directory suffix=".php">src/inc</directory>
            <directory suffix=".php">src/models</directory>
            <directory suffix=".php">src/services</directory>
            <directory suffix=".php">src/views</directory>
            <exclude>
                <!-- excluded because it both defines symbols and has side effects -->
                <file>inc/Autoloader.php</file>
            </exclude>
        </whitelist>
    </filter>
</phpunit>


<phpunit bootstrap="./tests/Bootstrap.php" colors="true">
    <logging>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
    <testsuites>
        <testsuite name="StrokerCache Module Tests">
            <directory>./tests/StrokerCacheTest</directory>
        </testsuite>
    </testsuites>
</phpunit>

Configure whitelist for code coverage

<phpunit bootstrap="./tests/Bootstrap.php" colors="true">
    <logging>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
    <testsuites>
        <testsuite name="StrokerCache Module Tests">
            <directory>./tests/StrokerCacheTest</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
</phpunit>


<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		 xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
		 backupGlobals="false"
		 colors="true"
		 bootstrap="vendor/autoload.php"
		>
	<php>
		<ini name="error_reporting" value="-1" />
		<ini name="intl.default_locale" value="en" />
		<ini name="intl.error_level" value="0" />
		<ini name="memory_limit" value="-1" />
	</php>

	<testsuites>
		<testsuite name="Zaaksysteem Test Suite">
			<directory>./tests/</directory>
		</testsuite>
	</testsuites>

</phpunit>

Exclude vendor from code coverage report

<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		 xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
		 backupGlobals="false"
		 colors="true"
		 bootstrap="vendor/autoload.php"
		>
	<php>
		<ini name="error_reporting" value="-1" />
		<ini name="intl.default_locale" value="en" />
		<ini name="intl.error_level" value="0" />
		<ini name="memory_limit" value="-1" />
	</php>

	<testsuites>
		<testsuite name="Zaaksysteem Test Suite">
			<directory>./tests/</directory>
		</testsuite>
	</testsuites>

	<filter>
		<blacklist>
			<directory suffix=".php">vendor</directory>
		</blacklist>
	</filter>

</phpunit>


<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false">
    <testsuites>
        <testsuite name="Application Test Suite">
            <directory>./tests/</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory suffix=".php">app/</directory>
        </whitelist>
    </filter>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="DB_CONNECTION" value="sqlite"/>
        <env name="DB_DATABASE" value=":memory:"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
        <server name="HTTP_HOST" value="localhost.dev"/>
        <server name="REMOTE_ADDR" value="127.0.0.1"/>
        <server name="SERVER_SOFTWARE" value="nginx/1.6.2"/>
    </php>
</phpunit>

Add report generation for unit tests Report generation will show how well covered our codebase is. The reports however do not need to be commited to VC.

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false">
    <testsuites>
        <testsuite name="Application Test Suite">
            <directory>./tests/</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory suffix=".php">app/</directory>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html" target="report" lowUpperBound="35" highLowerBound="70"/>
        <log type="testdox-html" target="report/testdox.html"/>
        <log type="testdox-text" target="report/testdox.txt"/>
    </logging>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="DB_CONNECTION" value="sqlite"/>
        <env name="DB_DATABASE" value=":memory:"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
        <server name="HTTP_HOST" value="localhost.dev"/>
        <server name="REMOTE_ADDR" value="127.0.0.1"/>
        <server name="SERVER_SOFTWARE" value="nginx/1.6.2"/>
    </php>
</phpunit>


# $FreeBSD$

.include "../Makefile.inc"
.include "../Makefile.fe"

.PATH: ${GCCDIR}

PROG=	cpp
SRCS=	gcc.c cppspec.c

CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"

DPADD=	${LIBCC_INT}
LDADD=	${LIBCC_INT}

CLEANFILES= cpp.1

cpp.1: cccp.1
	cat ${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>

Remove redundant defines alerady set by Makefile.fe

# $FreeBSD$

.include "../Makefile.inc"
.include "../Makefile.fe"

.PATH: ${GCCDIR}

PROG=	cpp
SRCS=	gcc.c cppspec.c

DPADD=	${LIBCC_INT}
LDADD=	${LIBCC_INT}

CLEANFILES= cpp.1

cpp.1: cccp.1
	cat ${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>


############################################################################
# Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and         #
# Martin Renou                                                             #
# Copyright (c) QuantStack                                                 #
#                                                                          #
# Distributed under the terms of the BSD 3-Clause License.                 #
#                                                                          #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################

# xsimd cmake module
# This module sets the following variables in your project::
#
#   xsimd_FOUND - true if xsimd found on the system
#   xsimd_INCLUDE_DIRS - the directory containing xsimd headers
#   xsimd_LIBRARY - empty

@PACKAGE_INIT@

if(NOT TARGET @PROJECT_NAME@)
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
    get_target_property(@PROJECT_NAME@_INCLUDE_DIRS @PROJECT_NAME@ INTERFACE_INCLUDE_DIRECTORIES)
endif()

Fix find_package(xsimd) for xtl enabled xsimd

############################################################################
# Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and         #
# Martin Renou                                                             #
# Copyright (c) QuantStack                                                 #
#                                                                          #
# Distributed under the terms of the BSD 3-Clause License.                 #
#                                                                          #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################

# xsimd cmake module
# This module sets the following variables in your project::
#
#   xsimd_FOUND - true if xsimd found on the system
#   xsimd_INCLUDE_DIRS - the directory containing xsimd headers
#   xsimd_LIBRARY - empty

@PACKAGE_INIT@

if(NOT TARGET @PROJECT_NAME@)
    set(@PROJECT_NAME@_ENABLE_XTL_COMPLEX @ENABLE_XTL_COMPLEX@)
    if(@PROJECT_NAME@_ENABLE_XTL_COMPLEX)
        include(CMakeFindDependencyMacro)
        find_dependency(xtl)
    endif()

    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
    get_target_property(@PROJECT_NAME@_INCLUDE_DIRS @PROJECT_NAME@ INTERFACE_INCLUDE_DIRECTORIES)
endif()


FROM profideo/debian-jessie
# COPY FROM https://github.com/nginxinc/docker-nginx/blob/11fc019b2be3ad51ba5d097b1857a099c4056213/stable/jessie/Dockerfile

ENV NGINX_VERSION 1.10.1-1~jessie

RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
	&& echo "deb http://nginx.org/packages/debian/ jessie nginx" >> /etc/apt/sources.list \
	&& apt-get update \
	&& apt-get install --no-install-recommends --no-install-suggests -y \
						ca-certificates \
						nginx=${NGINX_VERSION} \
						nginx-module-xslt \
						nginx-module-geoip \
						nginx-module-image-filter \
						nginx-module-perl \
						nginx-module-njs \
						gettext-base \
	&& rm -rf /var/lib/apt/lists/*

# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
	&& ln -sf /dev/stderr /var/log/nginx/error.log

EXPOSE 80 443

CMD ["nginx", "-g", "daemon off;"]

Fix 'held broken packages' error

FROM profideo/debian-jessie
# COPY FROM https://github.com/nginxinc/docker-nginx/blob/11fc019b2be3ad51ba5d097b1857a099c4056213/stable/jessie/Dockerfile

ENV NGINX_VERSION 1.10.1-1~jessie

RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 \
	&& echo "deb http://nginx.org/packages/debian/ jessie nginx" >> /etc/apt/sources.list \
	&& apt-get update \
	&& apt-get autoremove \
	&& apt-get install --no-install-recommends --no-install-suggests -y \
						ca-certificates \
						nginx=${NGINX_VERSION} \
						nginx-module-xslt \
						nginx-module-geoip \
						nginx-module-image-filter \
						nginx-module-perl \
						nginx-module-njs \
						gettext-base \
	&& rm -rf /var/lib/apt/lists/*

# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
	&& ln -sf /dev/stderr /var/log/nginx/error.log

EXPOSE 80 443

CMD ["nginx", "-g", "daemon off;"]


<phpunit bootstrap="vendor/autoload.php" colors="true">
    <testsuites>
        <testsuite name="dflydev FIG Cookies Tests">
            <directory>./tests</directory>
        </testsuite>
    </testsuites>
</phpunit>

Update phpunit configuration format and include filter for code coverage

<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
  <coverage>
    <include>
      <directory>./src</directory>
    </include>
  </coverage>
  <testsuites>
    <testsuite name="dflydev FIG Cookies Tests">
      <directory>./tests</directory>
    </testsuite>
  </testsuites>
</phpunit>


FROM socrata/base
MAINTAINER Socrata <sysadmin@socrata.com>

RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
  DEBIAN_FRONTEND=noninteractive apt-get --force-yes -fuy install software-properties-common && \
  DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:brightbox/ruby-ng && \
  DEBIAN_FRONTEND=noninteractive apt-get -y update && \
  DEBIAN_FRONTEND=noninteractive apt-get install -y ruby2.3 && \
  DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove software-properties-common && \
  rm -rf /var/lib/apt/lists/*

# skip installing gem documentation
RUN echo 'gem: --no-rdoc --no-ri --no-document' >> "/etc/gemrc" && \
  gem install bundler

# LABEL must be last for proper base image discoverability
LABEL repository.socrata/ruby2.3=""

Fix ruby 2.3-dev package name. CRd by Randy <randy.antler@socrata.com>

FROM socrata/base
MAINTAINER Socrata <sysadmin@socrata.com>

RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
  DEBIAN_FRONTEND=noninteractive apt-get --force-yes -fuy install software-properties-common && \
  DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:brightbox/ruby-ng && \
  DEBIAN_FRONTEND=noninteractive apt-get -y update && \
  DEBIAN_FRONTEND=noninteractive apt-get install -y ruby2.3-dev && \
  DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove software-properties-common && \
  rm -rf /var/lib/apt/lists/*

# skip installing gem documentation
RUN echo 'gem: --no-rdoc --no-ri --no-document' >> "/etc/gemrc" && \
  gem install bundler

# LABEL must be last for proper base image discoverability
LABEL repository.socrata/ruby2.3=""


FROM postgres:9.5

RUN apt-get update
RUN apt-get install --yes           \
    postgresql-9.5-python-multicorn \
    python                          \
    python-pip
RUN pip install elasticsearch

COPY . /pg-es-fdw
WORKDIR /pg-es-fdw
RUN python setup.py install

Correct issues with building 9.5 docker image

FROM postgres:9.5

RUN apt-get update
RUN apt-get install --yes --force-yes \
    build-essential                   \
    libffi-dev                        \
    libssl-dev                        \
    postgresql-9.5-python-multicorn   \
    python                            \
    python-dev                        \
    python-pip
RUN pip install elasticsearch

COPY . /pg-es-fdw
WORKDIR /pg-es-fdw
RUN python setup.py install


<?xml version="1.0" encoding="UTF-8"?>

<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
        backupGlobals="false"
        backupStaticAttributes="false"
        colors="true"
        convertErrorsToExceptions="true"
        convertNoticesToExceptions="true"
        convertWarningsToExceptions="true"
        processIsolation="false"
        stopOnFailure="true"
        bootstrap="./vendor/autoload.php">

    <testsuites>
        <testsuite name="Project Test Suite">
            <directory>tests</directory>
        </testsuite>
    </testsuites>
</phpunit>

Add filter so that code coverage displays correctly

<?xml version="1.0" encoding="UTF-8"?>

<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
        backupGlobals="false"
        backupStaticAttributes="false"
        colors="true"
        convertErrorsToExceptions="true"
        convertNoticesToExceptions="true"
        convertWarningsToExceptions="true"
        processIsolation="false"
        stopOnFailure="true"
        bootstrap="./vendor/autoload.php">

    <testsuites>
        <testsuite name="Project Test Suite">
            <directory>tests</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>./src</directory>
            <exclude>
                <directory>./tests</directory>
                <directory>./vendor</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>


<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
         bootstrap="tests/boot.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         stopOnFailure="false">
	<testsuites>
		<testsuite name="Unit">
			<directory>tests/src/Unit</directory>
		</testsuite>
		<testsuite name="Functional">
			<directory>tests/src/Functional</directory>
		</testsuite>
	</testsuites>
	<filter>
		<whitelist processUncoveredFilesFromWhitelist="true">
			<directory suffix=".php">./src</directory>
			<exclude>
				<directory>./assets</directory>
				<directory>./inc</directory>
				<directory>./tests</directory>
				<directory>./vendor</directory>
			</exclude>
		</whitelist>
	</filter>
	<logging>
		<log type="coverage-clover" target="./coverage.xml"/>
	</logging>
</phpunit>

Format and improve PHPUnit config file.

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
	backupGlobals="false"
	backupStaticAttributes="false"
	bootstrap="tests/boot.php"
	colors="true"
	convertErrorsToExceptions="true"
	convertNoticesToExceptions="true"
	convertWarningsToExceptions="true"
	processIsolation="false"
	stopOnFailure="false">
	<testsuites>
		<testsuite name="Unit">
			<directory suffix="Test.php">tests/src/Unit</directory>
		</testsuite>
		<testsuite name="Functional">
			<directory suffix="Test.php">tests/src/Functional</directory>
		</testsuite>
	</testsuites>
	<filter>
		<whitelist processUncoveredFilesFromWhitelist="true">
			<directory suffix=".php">src</directory>
			<exclude>
				<directory>assets</directory>
				<directory>docs</directory>
				<directory>inc</directory>
				<directory>tests</directory>
				<directory>vendor</directory>
			</exclude>
		</whitelist>
	</filter>
	<logging>
		<log type="coverage-clover" target="coverage.xml" />
	</logging>
</phpunit>


<phpunit colors="true" bootstrap="./vendor/autoload.php" strict="true">
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src/</directory>
        </whitelist>
        <blacklist>
            <directory suffix=".php">./vendor</directory>
        </blacklist>
    </filter>
    <testsuites>
        <testsuite name="Basic library tests">
            <directory>./tests/</directory>
        </testsuite>
    </testsuites>
</phpunit>

Exclude Client.php from testing (tests should be done on the interface)

<phpunit colors="true" bootstrap="./vendor/autoload.php" strict="true">
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src/</directory>
            <exclude>
                <file>./src/Client.php</file>
            </exclude>
        </whitelist>
        <blacklist>
            <directory suffix=".php">./vendor</directory>
        </blacklist>
    </filter>
    <testsuites>
        <testsuite name="Basic library tests">
            <directory>./tests/</directory>
        </testsuite>
    </testsuites>
</phpunit>


#
# Makefile for building a standalone send-pr.
#

MAN1=		send-pr.1
SUBMITTERS=	current-users
RELEASE!=	uname -rsm
CLEANFILES+=	send-pr send-pr.el

SUBDIR+= doc

LINKS=	${BINDIR}/send-pr ${BINDIR}/sendbug

all: send-pr _PROGSUBDIR

send-pr:	send-pr.sh Makefile
	sed -e 's,@DATADIR@,/etc,g' \
	    -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \
	    -e 's/^SUBMITTER=.*/SUBMITTER=$(SUBMITTERS)/' \
	    ${.ALLSRC:N*Makefile} > ${.TARGET}

send-pr.el:	send-pr-el.in Makefile
	sed -e 's,@DATADIR@,/etc,g' \
	    -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \
	    -e 's/"unknown"/"$(SUBMITTERS)"/g' \
	    ${.ALLSRC:N*Makefile} > ${.TARGET}

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		send-pr ${DESTDIR}${BINDIR}/send-pr
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 0644 \
		${.CURDIR}/categories  ${DESTDIR}/etc/gnats/freefall

.include <bsd.prog.mk>

Add MLINKS for sendbug manpage. Suggested by: paul

#
# Makefile for building a standalone send-pr.
#

MAN1=		send-pr.1
SUBMITTERS=	current-users
RELEASE!=	uname -rsm
CLEANFILES+=	send-pr send-pr.el

SUBDIR+= doc

LINKS=	${BINDIR}/send-pr ${BINDIR}/sendbug
MLINKS=	send-pr.1 sendbug.1

all: send-pr _PROGSUBDIR

send-pr:	send-pr.sh Makefile
	sed -e 's,@DATADIR@,/etc,g' \
	    -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \
	    -e 's/^SUBMITTER=.*/SUBMITTER=$(SUBMITTERS)/' \
	    ${.ALLSRC:N*Makefile} > ${.TARGET}

send-pr.el:	send-pr-el.in Makefile
	sed -e 's,@DATADIR@,/etc,g' \
	    -e 's/@DEFAULT_RELEASE@/$(RELEASE)/g' \
	    -e 's/"unknown"/"$(SUBMITTERS)"/g' \
	    ${.ALLSRC:N*Makefile} > ${.TARGET}

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		send-pr ${DESTDIR}${BINDIR}/send-pr
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 0644 \
		${.CURDIR}/categories  ${DESTDIR}/etc/gnats/freefall

.include <bsd.prog.mk>


# https://github.com/forexample/package-example

# See manual:
#     * http://www.cmake.org/cmake/help/v2.8.12/cmake.html#module:CMakePackageConfigHelpers

find_package(GTest CONFIG REQUIRED PATHS @GTest_DIR@ NO_DEFAULT_PATH)
find_package(
    CppNetlibUri CONFIG REQUIRED PATHS @CppNetlibUri_DIR@ NO_DEFAULT_PATH
)

@PACKAGE_INIT@

include("@PACKAGE_CONF_DEST@/SoberTargets.cmake")

function(_apply_release_imported_config_as_default tgt)
  get_target_property(location ${tgt} IMPORTED_LOCATION_RELEASE)
  get_target_property(link ${tgt} IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE)

  if(NOT location)
    message(FATAL_ERROR "Release target `${tgt}` not installed")
  endif()

  set_target_properties(
      ${tgt}
      PROPERTIES
      IMPORTED_LOCATION "${location}"
  )
  if(link)
    set_target_properties(
        ${tgt}
        PROPERTIES
        IMPORTED_LINK_INTERFACE_LIBRARIES "${link}"
    )
  endif()
endfunction()

_apply_release_imported_config_as_default(sober)

Add find_package(JsonSpirit ...) to config

# https://github.com/forexample/package-example

# See manual:
#     * http://www.cmake.org/cmake/help/v2.8.12/cmake.html#module:CMakePackageConfigHelpers

find_package(
    CppNetlibUri CONFIG REQUIRED PATHS @CppNetlibUri_DIR@ NO_DEFAULT_PATH
)
find_package(GTest CONFIG REQUIRED PATHS @GTest_DIR@ NO_DEFAULT_PATH)
find_package(JsonSpirit CONFIG REQUIRED PATHS @JsonSpirit_DIR@ NO_DEFAULT_PATH)

@PACKAGE_INIT@

include("@PACKAGE_CONF_DEST@/SoberTargets.cmake")

function(_apply_release_imported_config_as_default tgt)
  get_target_property(location ${tgt} IMPORTED_LOCATION_RELEASE)
  get_target_property(link ${tgt} IMPORTED_LINK_INTERFACE_LIBRARIES_RELEASE)

  if(NOT location)
    message(FATAL_ERROR "Release target `${tgt}` not installed")
  endif()

  set_target_properties(
      ${tgt}
      PROPERTIES
      IMPORTED_LOCATION "${location}"
  )
  if(link)
    set_target_properties(
        ${tgt}
        PROPERTIES
        IMPORTED_LINK_INTERFACE_LIBRARIES "${link}"
    )
  endif()
endfunction()

_apply_release_imported_config_as_default(sober)


[Desktop Entry]
Type=Application
Version=1.0
Name=Powermanagement
TryExec=lxqt-powermanagement
Exec=lxqt-powermanagement
OnlyShowIn=LXQt;
X-LXQt-Need-Tray=true
X-LXQt-Module=true

#TRANSLATIONS_DIR=translations

Rename Power Management module name again

[Desktop Entry]
Type=Application
Version=1.0
Name=Power Management
TryExec=lxqt-powermanagement
Exec=lxqt-powermanagement
OnlyShowIn=LXQt;
X-LXQt-Need-Tray=true
X-LXQt-Module=true

#TRANSLATIONS_DIR=translations


#	$Id$

PROG=		kauth
MAN1=		${KRB4DIR}/man/kauth.1
SRCS=		kauth.c rkinit.c encdata.c marshall.c
CFLAGS+=	-I${KRB4DIR}/include \
		-I${KRB4DIR}/lib/roken \
		-I${KRB4DIR}/lib/kafs \
		-I${KRB4DIR}/lib/krb \
		-I${KRB4DIR}/appl/kauth
LDADD=		-L${ROKENOBJDIR} -lroken -L${KAFSOBJDIR} -lkafs \
		-L${KRBOBJDIR} -lkrb -ldes
DPADD=		${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES}

.include <bsd.prog.mk>

.PATH:	${KRB4DIR}/appl/kauth

Add libcrypt. Elf was breaking.

#	$Id: Makefile,v 1.1.1.1 1997/09/24 20:37:13 markm Exp $

PROG=		kauth
MAN1=		${KRB4DIR}/man/kauth.1
SRCS=		kauth.c rkinit.c encdata.c marshall.c
CFLAGS+=	-I${KRB4DIR}/include \
		-I${KRB4DIR}/lib/roken \
		-I${KRB4DIR}/lib/kafs \
		-I${KRB4DIR}/lib/krb \
		-I${KRB4DIR}/appl/kauth
LDADD=		-L${ROKENOBJDIR} -lroken -L${KAFSOBJDIR} -lkafs \
		-L${KRBOBJDIR} -lkrb -ldes -lcrypt
DPADD=		${LIBROKEN} ${LIBKAFS} ${LIBKRB} ${LIBDES} ${LIBCRYPT}

.include <bsd.prog.mk>

.PATH:	${KRB4DIR}/appl/kauth


#	$Id$

PROG=	tcpdump
CFLAGS+=-DCSLIP -DPPP -DFDDI
MAN1=	tcpdump.1
SRCS=	version.c addrtoname.c bpf_dump.c parsenfsfh.c \
	print-arp.c print-atalk.c print-bootp.c print-decnet.c print-domain.c \
	print-egp.c print-ether.c print-fddi.c print-icmp.c print-ip.c \
	print-ipx.c print-isoclns.c print-llc.c print-krb.c \
	print-nfs.c print-ntp.c print-null.c print-ospf.c print-ppp.c \
	print-rip.c print-sl.c print-snmp.c print-sunrpc.c print-tcp.c \
	print-tftp.c print-udp.c print-wb.c tcpdump.c \
	util.c
CLEANFILES+=	version.c
DPADD+=	${LIBL} ${LIBPCAP}
LDADD+=	-ll -lpcap

version.c: VERSION
	rm -f version.c ; \
	sed 's/.*/char version[] = "&";/' $(.CURDIR)/VERSION > version.c

.include <bsd.prog.mk>

Define ETHERS_SERVICE, since our OS provides it. Otherwise, you can't do a "tcpdump 'gateway foo'" unless it's in /etc/ethers - it wasn't reading the NIS tables.

#	$Id: Makefile,v 1.10 1995/08/29 19:48:10 wollman Exp $

PROG=	tcpdump
CFLAGS+=-DCSLIP -DPPP -DFDDI -DETHER_SERVICE
MAN1=	tcpdump.1
SRCS=	version.c addrtoname.c bpf_dump.c parsenfsfh.c \
	print-arp.c print-atalk.c print-bootp.c print-decnet.c print-domain.c \
	print-egp.c print-ether.c print-fddi.c print-icmp.c print-ip.c \
	print-ipx.c print-isoclns.c print-llc.c print-krb.c \
	print-nfs.c print-ntp.c print-null.c print-ospf.c print-ppp.c \
	print-rip.c print-sl.c print-snmp.c print-sunrpc.c print-tcp.c \
	print-tftp.c print-udp.c print-wb.c tcpdump.c \
	util.c
CLEANFILES+=	version.c
DPADD+=	${LIBL} ${LIBPCAP}
LDADD+=	-ll -lpcap

version.c: VERSION
	rm -f version.c ; \
	sed 's/.*/char version[] = "&";/' $(.CURDIR)/VERSION > version.c

.include <bsd.prog.mk>


FROM lambci/lambda-base:build

ENV GOLANG_VERSION=1.9.2 \
    GOPATH=/go \
    PATH=/go/bin:/usr/local/go/bin:$PATH

WORKDIR /go/src/handler

RUN rm -rf /var/runtime /var/lang && \
  curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \
  curl https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz | tar -zx -C /usr/local && \
  go get github.com/golang/dep/cmd/dep && \
  go install github.com/golang/dep/cmd/dep

CMD ["dep", "ensure"]

Update Go version to 1.9.3 on build image

FROM lambci/lambda-base:build

ENV GOLANG_VERSION=1.9.3 \
    GOPATH=/go \
    PATH=/go/bin:/usr/local/go/bin:$PATH

WORKDIR /go/src/handler

RUN rm -rf /var/runtime /var/lang && \
  curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \
  curl https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz | tar -zx -C /usr/local && \
  go get github.com/golang/dep/cmd/dep && \
  go install github.com/golang/dep/cmd/dep

CMD ["dep", "ensure"]


# Build Image for Gitlab CI

FROM ubuntu:14.04

MAINTAINER Elliott Slaughter <slaughter@cs.stanford.edu>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -qq && \
    apt-get install -qq software-properties-common && \
    add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
    add-apt-repository ppa:pypy/ppa -y && \
    apt-get update -qq && \
    apt-get install -qq build-essential git time wget g++-4.9 clang-3.5 libclang-3.5-dev llvm-3.5-dev libncurses5-dev zlib1g-dev openmpi-bin libopenmpi-dev libblas-dev liblapack-dev pypy && \
    apt-get clean

Add Terra to Docker image.

# Build Image for Gitlab CI

FROM ubuntu:14.04

MAINTAINER Elliott Slaughter <slaughter@cs.stanford.edu>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -qq && \
    apt-get install -qq software-properties-common && \
    add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
    add-apt-repository ppa:pypy/ppa -y && \
    apt-get update -qq && \
    apt-get install -qq build-essential git time wget g++-4.9 clang-3.5 libclang-3.5-dev llvm-3.5-dev libncurses5-dev zlib1g-dev openmpi-bin libopenmpi-dev libblas-dev liblapack-dev pypy && \
    apt-get clean

RUN git clone https://github.com/zdevito/terra.git && cd terra && make
COPY . /usr/local/terra
ENV TERRA_DIR /usr/local/terra


FROM ubuntu:latest

RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

RUN apt-get update; apt-get -y upgrade; apt-get clean
RUN apt-get install -y git curl python; apt-get clean

RUN cd /tmp && \
    curl -O -L https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz && \
    tar -C /usr/local -xzf go*.tar.gz && \
    rm go*.tar.gz

ENV PATH /usr/local/go/bin:$PATH

RUN apt-get install -y python-dateutil python-magic; apt-get clean

RUN cd /tmp && \
    git clone https://github.com/sstephenson/bats.git && \
    cd bats && \
    ./install.sh /usr/local && \
    cd / && \
    rm -rf /tmp/bats

RUN cd /tmp && \
    curl -O -L https://github.com/s3tools/s3cmd/archive/v1.6.0.tar.gz && \
    tar xzf v1.6.0.tar.gz && \
    cd s3cmd-1.6.0 && \
    cp -R s3cmd S3 /usr/local/bin && \
    cd /tmp && \
    rm -rf s3cmd-1.6.0/ v1.6.0.tar.gz

Make `uuidgen` available in the Garden container.

FROM ubuntu:latest

RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

RUN apt-get update; apt-get -y upgrade; apt-get clean
RUN apt-get install -y git curl python uuid-runtime; apt-get clean

RUN cd /tmp && \
    curl -O -L https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz && \
    tar -C /usr/local -xzf go*.tar.gz && \
    rm go*.tar.gz

ENV PATH /usr/local/go/bin:$PATH

RUN apt-get install -y python-dateutil python-magic; apt-get clean

RUN cd /tmp && \
    git clone https://github.com/sstephenson/bats.git && \
    cd bats && \
    ./install.sh /usr/local && \
    cd / && \
    rm -rf /tmp/bats

RUN cd /tmp && \
    curl -O -L https://github.com/s3tools/s3cmd/archive/v1.6.0.tar.gz && \
    tar xzf v1.6.0.tar.gz && \
    cd s3cmd-1.6.0 && \
    cp -R s3cmd S3 /usr/local/bin && \
    cd /tmp && \
    rm -rf s3cmd-1.6.0/ v1.6.0.tar.gz


# CEPH DAEMON IMAGE
# CEPH VERSION: Jewel
# CEPH VERSION DETAIL: 10.2.x

FROM cdxvirt/ceph-base:base-10.2.9-3
MAINTAINER Sébastien Han "seb@redhat.com"

# Add bootstrap script, ceph defaults key/values for KV store
ADD *.sh ceph.defaults check_zombie_mons.py ./osd_scenarios/* entrypoint.sh.in /

# Add bootstrap script, ceph defaults key/values for KV store
ADD *.sh ceph.defaults check_zombie_mons.py ./osd_scenarios/* entrypoint.sh.in disabled_scenario /

# Modify the entrypoint
RUN bash "/generate_entrypoint.sh" && \
  rm -f /generate_entrypoint.sh && \
  bash -n /*.sh

# Add templates for confd
ADD ./confd/templates/* /etc/confd/templates/
ADD ./confd/conf.d/* /etc/confd/conf.d/

# Add cdxvirt scripts
ADD cdx /cdx
RUN mv /cdx/ceph-api /usr/local/bin/ceph-api

# Add volumes for Ceph config and data
VOLUME ["/etc/ceph","/var/lib/ceph", "/etc/ganesha"]

# Execute the entrypoint
WORKDIR /
ENTRYPOINT ["/entrypoint.sh"]

Upgrade to ubuntu 16.04 and 10.2.10

# CEPH DAEMON IMAGE
# CEPH VERSION: Jewel
# CEPH VERSION DETAIL: 10.2.x

FROM cdxvirt/ceph-base:base-10.2.10-1
MAINTAINER Sébastien Han "seb@redhat.com"

# Add bootstrap script, ceph defaults key/values for KV store
ADD *.sh ceph.defaults check_zombie_mons.py ./osd_scenarios/* entrypoint.sh.in /

# Add bootstrap script, ceph defaults key/values for KV store
ADD *.sh ceph.defaults check_zombie_mons.py ./osd_scenarios/* entrypoint.sh.in disabled_scenario /

# Modify the entrypoint
RUN bash "/generate_entrypoint.sh" && \
  rm -f /generate_entrypoint.sh && \
  bash -n /*.sh

# Add templates for confd
ADD ./confd/templates/* /etc/confd/templates/
ADD ./confd/conf.d/* /etc/confd/conf.d/

# Add cdxvirt scripts
ADD cdx /cdx
RUN mv /cdx/ceph-api /usr/local/bin/ceph-api

# Add volumes for Ceph config and data
VOLUME ["/etc/ceph","/var/lib/ceph", "/etc/ganesha"]

# Execute the entrypoint
WORKDIR /
ENTRYPOINT ["/entrypoint.sh"]


#!/bin/bash

# If not run from automake, fake it
if [ -z "$srcdir" ]; then
    srcdir="$(dirname "$0")"
fi

if [ @WITH_PYTHON2@ = 1 ]; then
    python2 ${srcdir}/libbytesize_unittest.py
fi

if [ @WITH_PYTHON3@ = 1 ]; then
    python3 ${srcdir}/libbytesize_unittest.py
fi

if [ @WITH_PYTHON2@ = 1 ]; then
    python2 ${srcdir}/libbytesize_unittest.py fr_FR.UTF8
fi

if [ @WITH_PYTHON3@ = 1 ]; then
    python3 ${srcdir}/libbytesize_unittest.py fr_FR.UTF8
fi

Make sure the test script fails if one of the test runs fail

#!/bin/bash

status=0

# If not run from automake, fake it
if [ -z "$srcdir" ]; then
    srcdir="$(dirname "$0")"
fi

if [ @WITH_PYTHON2@ = 1 ]; then
    python2 ${srcdir}/libbytesize_unittest.py || status=1
fi

if [ @WITH_PYTHON3@ = 1 ]; then
    python3 ${srcdir}/libbytesize_unittest.py || status=1
fi

if [ @WITH_PYTHON2@ = 1 ]; then
    python2 ${srcdir}/libbytesize_unittest.py fr_FR.UTF8 || status=1
fi

if [ @WITH_PYTHON3@ = 1 ]; then
    python3 ${srcdir}/libbytesize_unittest.py fr_FR.UTF8 || status=1
fi

exit $status


FROM java:8-jdk
ENV JRUBY_VERSION 1.7.19
RUN mkdir /opt/jruby \
  && curl -sSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \
  | tar -zxC /opt/jruby --strip-components=1 \
  && update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
ENV PATH /opt/jruby/bin:$PATH

RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc

# docker-library/java#19
RUN /var/lib/dpkg/info/ca-certificates-java.postinst configure

ENV GEM_HOME /usr/local/bundle
ENV PATH $GEM_HOME/bin:$PATH
RUN gem install bundler \
	&& bundle config --global path "$GEM_HOME" \
	&& bundle config --global bin "$GEM_HOME/bin"

# don't create ".bundle" in all our apps
ENV BUNDLE_APP_CONFIG $GEM_HOME

CMD [ "irb" ]

Remove java8 ca hack since fix is upstream

FROM java:8-jdk
ENV JRUBY_VERSION 1.7.19
RUN mkdir /opt/jruby \
  && curl -sSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \
  | tar -zxC /opt/jruby --strip-components=1 \
  && update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
ENV PATH /opt/jruby/bin:$PATH

RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc

ENV GEM_HOME /usr/local/bundle
ENV PATH $GEM_HOME/bin:$PATH
RUN gem install bundler \
	&& bundle config --global path "$GEM_HOME" \
	&& bundle config --global bin "$GEM_HOME/bin"

# don't create ".bundle" in all our apps
ENV BUNDLE_APP_CONFIG $GEM_HOME

CMD [ "irb" ]