mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-09 18:11:15 +02:00
xxx
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
*~
|
||||
work/
|
||||
work
|
||||
|
||||
46
Mk/Scripts/strip_RECORD.py
Normal file
46
Mk/Scripts/strip_RECORD.py
Normal file
@@ -0,0 +1,46 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
# Copyright 2023 Charlie Li <vishwin@FreeBSD.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
#
|
||||
# 3. Neither the name of the copyright holder nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# MAINTAINER= python@FreeBSD.org
|
||||
|
||||
import argparse
|
||||
import csv
|
||||
|
||||
argparser = argparse.ArgumentParser(description="Strip other columns from RECORD.")
|
||||
argparser.add_argument('file', type=open, help="path to RECORD file")
|
||||
args = argparser.parse_args()
|
||||
|
||||
csvreader = csv.reader(args.file)
|
||||
for row in csvreader:
|
||||
print(row[0])
|
||||
169
Mk/Uses/go.mk
169
Mk/Uses/go.mk
@@ -3,9 +3,10 @@
|
||||
#
|
||||
# Feature: go
|
||||
# Usage: USES=go
|
||||
# Valid ARGS: (none), modules, no_targets, run
|
||||
# Valid ARGS: (none), N.NN, N.NN-devel, modules, no_targets, run
|
||||
#
|
||||
# (none) Setup GOPATH and build in GOPATH mode.
|
||||
# (none) Setup GOPATH and build in GOPATH mode using default Go version.
|
||||
# N.NN[-devel] Specify Go version
|
||||
# modules If the upstream uses Go modules, this can be set to build
|
||||
# in modules-aware mode.
|
||||
# no_targets Indicates that Go is needed at build time as a part of
|
||||
@@ -19,7 +20,7 @@
|
||||
#
|
||||
# GO_MODULE
|
||||
# The name of the module as specified by "module" directive in go.mod.
|
||||
# In most cases, this is the only requred variable for ports that
|
||||
# In most cases, this is the only required variable for ports that
|
||||
# use Go modules.
|
||||
#
|
||||
# GO_PKGNAME
|
||||
@@ -52,102 +53,124 @@
|
||||
# GO_TESTFLAGS
|
||||
# Additional build arguments to be passed to the `go test` command
|
||||
#
|
||||
# GO_PORT
|
||||
# The Go port to use. By default this is lang/go but can be set
|
||||
# to lang/go-devel in make.conf for testing with future Go versions.
|
||||
#
|
||||
# This variable must not be set by individual ports!
|
||||
#
|
||||
# MAINTAINER: ports@FreeBSD.org
|
||||
# MAINTAINER: go@FreeBSD.org
|
||||
|
||||
.if !defined(_INCLUDE_USES_GO_MK)
|
||||
_INCLUDE_USES_GO_MK= yes
|
||||
|
||||
.if !empty(go_ARGS:Nmodules:Nno_targets:Nrun)
|
||||
IGNORE= USES=go has invalid arguments: ${go_ARGS:Nmodules:Nno_targets:Nrun}
|
||||
.endif
|
||||
# When adding a version, please keep the comment in
|
||||
# Mk/bsd.default-versions.mk in sync.
|
||||
GO_VALID_VERSIONS= 1.18 1.19 1.20 1.21-devel modules
|
||||
|
||||
# Check arguments sanity
|
||||
. if !empty(go_ARGS:N[1-9].[0-9][0-9]:N*-devel:Nmodules:Nno_targets:Nrun)
|
||||
IGNORE= USES=go has invalid arguments: ${go_ARGS:N[1-9].[0-9][0-9]:N*-devel:Nmodules:Nno_targets:Nrun}
|
||||
. endif
|
||||
|
||||
# Parse Go version
|
||||
GO_VERSION= ${go_ARGS:Nmodules:Nno_targets:Nrun:C/^$/${GO_DEFAULT}/}
|
||||
. if empty(GO_VALID_VERSIONS:M${GO_VERSION})
|
||||
IGNORE?= USES=go has invalid version number: ${GO_VERSION}
|
||||
. endif
|
||||
GO_SUFFIX= ${GO_VERSION:S/.//:C/.*-devel/-devel/}
|
||||
GO_PORT= lang/go${GO_SUFFIX}
|
||||
|
||||
# Settable variables
|
||||
|
||||
.if empty(GO_PKGNAME)
|
||||
. if !empty(GH_SUBDIR)
|
||||
. if empty(GO_PKGNAME)
|
||||
. if !empty(GH_SUBDIR)
|
||||
GO_PKGNAME= ${GH_SUBDIR:S|^src/||}
|
||||
. elif !empty(GL_SUBDIR)
|
||||
. elif !empty(GL_SUBDIR)
|
||||
GO_PKGNAME= ${GL_SUBDIR:S|^src/||}
|
||||
. else
|
||||
. else
|
||||
GO_PKGNAME= ${PORTNAME}
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
||||
GO_TARGET?= ${GO_PKGNAME}
|
||||
GO_TESTTARGET?= ./...
|
||||
|
||||
GO_BUILDFLAGS+= -v -buildmode=exe -trimpath
|
||||
.if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*)
|
||||
GO_BUILDFLAGS+= -ldflags=-s
|
||||
.if !defined(PIE_UNSAFE) && defined(WITH_PIE) && ${ARCH} == amd64
|
||||
GO_BUILDFLAGS+= -buildmode=pie
|
||||
.else
|
||||
GO_BUILDFLAGS+= -buildmode=exe
|
||||
.endif
|
||||
GO_BUILDFLAGS+= -v -trimpath
|
||||
. if !defined(WITH_DEBUG) && empty(GO_BUILDFLAGS:M-ldflags*)
|
||||
GO_BUILDFLAGS+= -ldflags=-s
|
||||
. endif
|
||||
GO_TESTFLAGS+= -v
|
||||
. if ${GO_VERSION} != 1.17
|
||||
GO_BUILDFLAGS+= -buildvcs=false
|
||||
GO_TESTFLAGS+= -buildvcs=false
|
||||
. endif
|
||||
|
||||
CGO_ENABLED?= 1
|
||||
CGO_CFLAGS+= -I${LOCALBASE}/include
|
||||
CGO_LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.if ${ARCH} == armv6 || ${ARCH} == armv7
|
||||
. if ${ARCH} == armv6 || ${ARCH} == armv7
|
||||
GOARM?= ${ARCH:C/armv//}
|
||||
.endif
|
||||
. endif
|
||||
|
||||
GO_GOPROXY?= https://proxy.golang.org
|
||||
GO_GOSUMDB?= sum.golang.org
|
||||
|
||||
# Read-only variables
|
||||
|
||||
GO_CMD= ${LOCALBASE}/bin/go
|
||||
GO_CMD= ${LOCALBASE}/bin/go${GO_SUFFIX}
|
||||
GO_WRKDIR_BIN= ${WRKDIR}/bin
|
||||
GO_ENV+= CGO_ENABLED=${CGO_ENABLED} \
|
||||
CGO_CFLAGS="${CGO_CFLAGS}" \
|
||||
CGO_LDFLAGS="${CGO_LDFLAGS}" \
|
||||
GOARM=${GOARM}
|
||||
GOAMD64=${GOAMD64} \
|
||||
GOARM=${GOARM} \
|
||||
GOTMPDIR="${WRKDIR}"
|
||||
|
||||
.if ${go_ARGS:Mmodules}
|
||||
. if ${go_ARGS:Mmodules}
|
||||
GO_BUILDFLAGS+= -mod=vendor
|
||||
GO_TESTFLAGS+= -mod=vendor
|
||||
GO_GOPATH= ${DISTDIR}/go/${PKGORIGIN:S,/,_,g}
|
||||
GO_MODCACHE= file://${GO_GOPATH}/pkg/mod/cache/download
|
||||
GO_WRKSRC= ${WRKSRC}
|
||||
GO_ENV+= GOPATH="${GO_GOPATH}" \
|
||||
GOBIN="${GO_WRKDIR_BIN}" \
|
||||
GO111MODULE=on \
|
||||
GOFLAGS=-modcacherw \
|
||||
GOSUMDB=${GO_GOSUMDB}
|
||||
. if defined(GO_MODULE)
|
||||
. if defined(GO_MODULE)
|
||||
GO_MODNAME= ${GO_MODULE:C/^([^@]*)(@([^@]*)?)/\1/}
|
||||
. if empty(DISTFILES:Mgo.mod\:*) && empty(DISTFILES:Mgo.mod)
|
||||
# Unless already setup for download by other means,
|
||||
# arrange to pull go.mod and distribution archive from GOPROXY.
|
||||
GO_MODVERSION= ${GO_MODULE:C/^([^@]*)(@([^@]*)?)/\2/:M@*:S/^@//:S/^$/${DISTVERSIONFULL}/}
|
||||
GO_MODFILE= ${GO_MODVERSION}.mod
|
||||
GO_DISTFILE= ${GO_MODVERSION}.zip
|
||||
DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME}
|
||||
MASTER_SITES+= ${GO_GOPROXY}/${GO_MODNAME:C/([A-Z])/!\1/g:tl}/@v/
|
||||
DISTFILES+= ${GO_MODFILE} ${GO_DISTFILE}
|
||||
EXTRACT_ONLY+= ${GO_DISTFILE}
|
||||
WRKSRC= ${WRKDIR}/${GO_MODNAME}@${GO_MODVERSION}
|
||||
FETCH_DEPENDS+= ${GO_CMD}:${GO_PORT}
|
||||
. endif
|
||||
EXTRACT_ONLY?= ${DISTFILES:N*.mod\:*:N*.mod:C/:.*//}
|
||||
DIST_SUBDIR= go/${PKGORIGIN:S,/,_,g}/${DISTNAME}
|
||||
FETCH_DEPENDS+= ${GO_CMD}:${GO_PORT}
|
||||
# ca_root_nss>0:security/ca_root_nss
|
||||
USES+= zip
|
||||
. else
|
||||
. else
|
||||
GO_ENV+= GO_NO_VENDOR_CHECKS=1
|
||||
. endif
|
||||
.else
|
||||
. endif
|
||||
. else
|
||||
GO_GOPATH= ${WRKDIR}
|
||||
GO_WRKSRC= ${WRKDIR}/src/${GO_PKGNAME}
|
||||
GO_ENV+= GOPATH="${GO_GOPATH}" \
|
||||
GOBIN="" \
|
||||
GO111MODULE=off
|
||||
.endif
|
||||
|
||||
GO_PORT?= lang/go
|
||||
. endif
|
||||
|
||||
BUILD_DEPENDS+= ${GO_CMD}:${GO_PORT}
|
||||
.if ${go_ARGS:Mrun}
|
||||
#BINARY_ALIAS+= go=go${GO_SUFFIX} gofmt=gofmt${GO_SUFFIX}
|
||||
. if ${go_ARGS:Mrun}
|
||||
RUN_DEPENDS+= ${GO_CMD}:${GO_PORT}
|
||||
.endif
|
||||
. endif
|
||||
|
||||
_USES_POST+= go
|
||||
.endif # !defined(_INCLUDE_USES_GO_MK)
|
||||
@@ -155,26 +178,40 @@ _USES_POST+= go
|
||||
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GO_POST_MK)
|
||||
_INCLUDE_USES_GO_POST_MK= yes
|
||||
|
||||
.if !target(post-fetch) && ${go_ARGS:Mmodules} && defined(GO_MODULE)
|
||||
post-fetch:
|
||||
. if ${go_ARGS:Mmodules} && defined(GO_MODULE)
|
||||
_USES_fetch+= 200:go-pre-fetch 800:go-post-fetch
|
||||
# Check that pkg can be installed or is already available,
|
||||
# otherwise it will be impossible to install go and fetch dependencies.
|
||||
go-pre-fetch:
|
||||
. if defined(CLEAN_FETCH_ENV) && !exists(${PKG_BIN})
|
||||
@${ECHO_MSG} "===> CLEAN_FETCH_ENV is defined, cannot download Go modules (pkg and go are required)"; \
|
||||
exit 1
|
||||
. endif
|
||||
# Download all required build dependencies to GOMODCACHE.
|
||||
go-post-fetch:
|
||||
@${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies";
|
||||
@(cd ${DISTDIR}/${DIST_SUBDIR}; \
|
||||
[ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \
|
||||
${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x)
|
||||
.endif
|
||||
${SETENV} ${GO_ENV} GOPROXY=${GO_GOPROXY} ${GO_CMD} mod download -x all)
|
||||
. endif
|
||||
|
||||
.if !target(post-extract)
|
||||
. if empty(go_ARGS)
|
||||
post-extract:
|
||||
_USES_extract+= 800:go-post-extract
|
||||
. if ${go_ARGS:Mmodules} && defined(GO_MODULE)
|
||||
# Module-aware build mode. Although not strictly necessary (all build dependencies should be
|
||||
# already in MODCACHE), vendor them so we can patch them if needed.
|
||||
go-post-extract:
|
||||
@${ECHO_MSG} "===> Tidying ${GO_MODNAME} dependencies";
|
||||
@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod tidy -e)
|
||||
@${ECHO_MSG} "===> Vendoring ${GO_MODNAME} dependencies";
|
||||
@(cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod vendor -e)
|
||||
. else
|
||||
# Legacy (GOPATH) build mode, setup directory structure expected by Go for the main module.
|
||||
go-post-extract:
|
||||
@${MKDIR} ${GO_WRKSRC:H}
|
||||
@${LN} -sf ${WRKSRC} ${GO_WRKSRC}
|
||||
. elif ${go_ARGS:Mmodules} && defined(GO_MODULE)
|
||||
post-extract:
|
||||
@(cd ${GO_WRKSRC}; ${SETENV} ${GO_ENV} GOPROXY=off ${GO_CMD} mod vendor)
|
||||
. endif
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if !target(do-build) && empty(go_ARGS:Mno_targets)
|
||||
. if !target(do-build) && empty(go_ARGS:Mno_targets)
|
||||
do-build:
|
||||
(cd ${GO_WRKSRC}; \
|
||||
for t in ${GO_TARGET}; do \
|
||||
@@ -183,13 +220,13 @@ do-build:
|
||||
pkg=$$(${ECHO_CMD} $${t} | \
|
||||
${SED} -Ee 's/^([^:]*).*$$/\1/' -e 's/^${PORTNAME}$$/./'); \
|
||||
${ECHO_MSG} "===> Building $${out} from $${pkg}"; \
|
||||
${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \
|
||||
${SETENV} ${MAKE_ENV} ${GO_ENV} GOMAXPROCS=${MAKE_JOBS_NUMBER} GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \
|
||||
-o ${GO_WRKDIR_BIN}/$${out} \
|
||||
$${pkg}; \
|
||||
done)
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if !target(do-install) && empty(go_ARGS:Mno_targets)
|
||||
. if !target(do-install) && empty(go_ARGS:Mno_targets)
|
||||
do-install:
|
||||
for t in ${GO_TARGET}; do \
|
||||
dst=$$(${ECHO_CMD} $${t} | \
|
||||
@@ -202,36 +239,36 @@ do-install:
|
||||
${ECHO_MSG} "===> Installing $${src} as $${dst}"; \
|
||||
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/$${src} $${dst}; \
|
||||
done
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if !target(do-test) && empty(go_ARGS:Mno_targets)
|
||||
. if !target(do-test) && empty(go_ARGS:Mno_targets)
|
||||
do-test:
|
||||
(cd ${GO_WRKSRC}; \
|
||||
for t in ${GO_TESTTARGET}; do \
|
||||
${ECHO_MSG} "===> Testing $${t}"; \
|
||||
${SETENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=off ${GO_CMD} test ${GO_TESTFLAGS} $${t}; \
|
||||
done)
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.if ${go_ARGS:Mmodules} && defined(GO_MODULE)
|
||||
. if ${go_ARGS:Mmodules} && defined(GO_MODULE)
|
||||
gomod-clean:
|
||||
.if exists(${GO_CMD})
|
||||
. if exists(${GO_CMD})
|
||||
@${ECHO_MSG} "===> Cleaning Go module cache"
|
||||
@${SETENV} ${GO_ENV} ${GO_CMD} clean -modcache
|
||||
.else
|
||||
. else
|
||||
@${ECHO_MSG} "===> Skipping since ${GO_CMD} is not installed"
|
||||
.endif
|
||||
. endif
|
||||
|
||||
# Hook up to distclean
|
||||
.if !target(post-clean) && !make(clean)
|
||||
. if !target(post-clean) && !make(clean)
|
||||
post-clean: gomod-clean
|
||||
@${RM} -r ${GO_GOPATH}
|
||||
.endif
|
||||
.endif
|
||||
. endif
|
||||
. endif
|
||||
|
||||
# Helper targets for port maintainers
|
||||
|
||||
.if ${go_ARGS:Mmodules} && !defined(GO_MODULE)
|
||||
. if ${go_ARGS:Mmodules} && !defined(GO_MODULE)
|
||||
_MODULES2TUPLE_CMD= modules2tuple
|
||||
gomod-vendor-deps:
|
||||
@if ! type ${GO_CMD} > /dev/null 2>&1; then \
|
||||
@@ -250,6 +287,6 @@ gomod-vendor-diff: gomod-vendor-deps patch
|
||||
[ -r vendor/modules.txt ] && ${_MODULES2TUPLE_CMD} vendor/modules.txt | ${SED} 's|GH_TUPLE=| |; s| \\$$||' | ${GREP} -v ' \\' > ${WRKDIR}/GH_TUPLE-new.txt && \
|
||||
echo ${GH_TUPLE} | ${TR} -s " " "\n" | ${SED} "s|^| |" > ${WRKDIR}/GH_TUPLE-old.txt && \
|
||||
${DIFF} ${WRKDIR}/GH_TUPLE-old.txt ${WRKDIR}/GH_TUPLE-new.txt || exit 0
|
||||
.endif
|
||||
. endif
|
||||
|
||||
.endif # defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GO_POST_MK)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -29,6 +29,10 @@ _l= ${lang:C/=.*//g}
|
||||
${_l:tu}_DEFAULT= ${lang:C/.*=//g}
|
||||
.endfor
|
||||
|
||||
# Possible values: 1.19 1.20
|
||||
GO_DEFAULT?= 1.20
|
||||
|
||||
|
||||
# Possible values: 2.4
|
||||
APACHE_DEFAULT?= 2.4
|
||||
# Possible values: 48, 5, 6
|
||||
|
||||
954
Mk/uses
Normal file
954
Mk/uses
Normal file
@@ -0,0 +1,954 @@
|
||||
# Provide support for Python related ports. This includes detecting Python
|
||||
# interpreters, ports providing package and modules for python as well as
|
||||
# consumer ports requiring Python at build or run time.
|
||||
#
|
||||
# Feature: python
|
||||
# Usage: USES=python[:version-spec][,arg,...]
|
||||
# Valid ARGS: <version-spec>, patch, build, run, test, env
|
||||
#
|
||||
# version-spec Declarative specification for the Python version(s) the
|
||||
# port supports. Subsets and ranges can be specified:
|
||||
#
|
||||
# * <version>
|
||||
# * <minimum-version>-<maximum-version>
|
||||
# * <minimum-version>+
|
||||
# * -<maximum-version>
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# USES=python:2.7 # Supports Python 2.7 Only
|
||||
# USES=python:3.7+ # Supports Python 3.7 or later
|
||||
# USES=python:3.7-3.9 # Supports Python 3.7 to 3.9
|
||||
# USES=python:-3.8 # Supports Python up to 3.8
|
||||
# USES=python # Supports 3.7+
|
||||
#
|
||||
# NOTE: <version-spec> should be as specific as possible, matching the versions
|
||||
# upstream declares support for, without being incorrect. In particular,
|
||||
# USES=python *without* a <version-spec> means 3.7+,
|
||||
# including unreleased versions, which is probably incorrect.
|
||||
#
|
||||
# Not specifying a <version-spec> should only be used when a more specific
|
||||
# <version-spec> cannot be specified due to syntax limitations, for
|
||||
# example: 2.7,3.7-3.8, but even in this case, X.Y+ (2.7+), or -X.Y (-3.7)
|
||||
# is preferred and likely more correct.
|
||||
#
|
||||
# patch Python is needed at patch time. Adds dependency to PATCH_DEPENDS.
|
||||
# build Python is needed at build time. Adds dependency to BUILD_DEPENDS.
|
||||
# run Python is needed at run time. Adds dependency to RUN_DEPENDS.
|
||||
# test Python is needed at test time. Adds dependency to TEST_DEPENDS.
|
||||
# env Does not depend on Python but needs the environment set up. This
|
||||
# is mainly used when depending on flavored python ports, or when a
|
||||
# correct PYTHON_CMD is required. It has the same effect as setting
|
||||
# PYTHON_NO_DEPENDS.
|
||||
#
|
||||
# If build, run and test are omitted, Python will be added as BUILD_DEPENDS,
|
||||
# RUN_DEPENDS and TEST_DEPENDS.
|
||||
# patch is independant, it does not prevent the default build/run/test
|
||||
# dependency.
|
||||
# env or PYTHON_NO_DEPENDS can be set to not add any dependencies.
|
||||
#
|
||||
# Exported variables:
|
||||
#
|
||||
# PYTHON_VERSION - The chosen Python interpreter including the version,
|
||||
# e.g. python2.7, python3.5, etc.
|
||||
#
|
||||
# Variables, which can be set by the port:
|
||||
#
|
||||
# USE_PYTHON - A list of additional features and functionality to
|
||||
# enable. Supported features are:
|
||||
#
|
||||
# concurrent - Indicates that the port can be installed for
|
||||
# different python versions at the same time. The port
|
||||
# is supposed to use a unique prefix for certain
|
||||
# directories using USES=uniquefiles:dirs (see the
|
||||
# uniquefiles.mk Uses for details about the
|
||||
# directories), if set to yes. Binaries receive an
|
||||
# additional suffix, based on ${PYTHON_VER}.
|
||||
#
|
||||
# The values for the uniquefiles USES are set as
|
||||
# follows:
|
||||
#
|
||||
# UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
# UNIQUE_SUFFIX= -${PYTHON_VER}
|
||||
#
|
||||
# If the port is installed for the current default
|
||||
# python version, scripts and binaries in
|
||||
#
|
||||
# ${PREFIX}/bin
|
||||
# ${PREFIX}/sbin
|
||||
# ${PREFIX}/libexec
|
||||
#
|
||||
# are linked from the prefixed version to the
|
||||
# prefix-less original name, e.g.
|
||||
# bin/foo-2.7 --> bin/foo.
|
||||
#
|
||||
# cython - Depend on lang/cython at build-time.
|
||||
#
|
||||
# cython_run - Depend on lang/cython at run-time.
|
||||
#
|
||||
# cython_test - Depend on lang/cython for tests.
|
||||
#
|
||||
# flavors - Force creation of flavors for Python 2 and 3 default
|
||||
# versions, where applicable.
|
||||
#
|
||||
# noflavors - Disable automatic creation of flavors if they would
|
||||
# otherwise be created and they are not wanted.
|
||||
#
|
||||
# allflavors - Generate flavors for all possible versions and not
|
||||
# simply the default ones. Only to be used for py-*
|
||||
# ports that are part of the Python distribution, but
|
||||
# kept as separate ports.
|
||||
#
|
||||
# optsuffix - Set PKGNAMESUFFIX to PYTHON_PKGNAMESUFFIX if not the
|
||||
# default python version.
|
||||
#
|
||||
# distutils - Use distutils as do-configure, do-build and
|
||||
# do-install targets. implies flavors.
|
||||
#
|
||||
# pep517 - Follow the PEP-517 standard to build and install wheels
|
||||
# as do-build and do-install targets. implies flavors.
|
||||
#
|
||||
# autoplist - Automatically generates the packaging list for a
|
||||
# port that uses distutils when defined.
|
||||
# requires: distutils
|
||||
#
|
||||
# py3kplist - Automatically generates Python 3.x compatible
|
||||
# __pycache__ entries from a Python 2.x packaging list
|
||||
# when defined. Use this for ports that do *not* use
|
||||
# standard Python packaging mechanisms such as
|
||||
# distutils, and support *both* Python 2.x and 3.x.
|
||||
# Not needed, if USE_PYTHON=autoplist is set.
|
||||
#
|
||||
# pythonprefix - Says that the port installs in ${PYTHONBASE} instead
|
||||
# of ${PREFIX}.
|
||||
#
|
||||
# noegginfo - Skip an egg-info entry from plist, if defined.
|
||||
#
|
||||
# nose - Run tests with nose (devel/py-nose)
|
||||
#
|
||||
# nose2 - Run tests with nose2 (devel/py-nose2)
|
||||
#
|
||||
# pytest - Run tests with latest pytest (devel/py-pytest)
|
||||
#
|
||||
# pytest4 - Run tests with pytest 4.x (devel/py-pytest4)
|
||||
#
|
||||
# unittest - Run tests with unittest
|
||||
#
|
||||
# unittest2 - Run tests with unittest2 (devel/py-unittest2)
|
||||
#
|
||||
# PYTHON_CMD - Python's command line file name, including the
|
||||
# version number (used for dependencies).
|
||||
# default: ${PYTHONBASE}/bin/${PYTHON_VERSION}
|
||||
#
|
||||
# PEP517_BUILD_CMD - Command sequence for a PEP-517 build frontend that builds a wheel.
|
||||
# default: ${PYTHON_CMD} -m build -n -w ${PEP517_BUILD_CONFIG_SETTING}
|
||||
#
|
||||
# PEP517_BUILD_DEPEND - Port needed to execute ${PEP517_BUILD_CMD}.
|
||||
# default: ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR}
|
||||
#
|
||||
# PEP517_BUILD_CONFIG_SETTING
|
||||
# - Options for the build backend. Must include -C or --config-setting per option.
|
||||
# default: <empty>
|
||||
#
|
||||
# PEP517_INSTALL_CMD - Command sequence for a PEP-517 install frontend that installs a wheel.
|
||||
# default: ${PYTHON_CMD} -m installer -d ${STAGEDIR} -p ${PREFIX} --no-compile-bytecode ${BUILD_WRKSRC}/dist/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}-*.whl
|
||||
#
|
||||
# PEP517_INSTALL_DEPEND - Port needed to execute ${PEP517_INSTALL_CMD}.
|
||||
# default: ${PYTHON_PKGNAMEPREFIX}installer>0:devel/py-installer@${PY_FLAVOR}
|
||||
#
|
||||
# PYSETUP - Name of the setup script used by the distutils
|
||||
# package.
|
||||
# default: setup.py
|
||||
#
|
||||
# PYDISTUTILS_PKGNAME
|
||||
# - Internal name in the distutils for egg-info.
|
||||
# default: ${PORTNAME}
|
||||
#
|
||||
# PYDISTUTILS_PKGVERSION
|
||||
# - Internal version in the distutils for egg-info.
|
||||
# default: ${PORTVERSION}
|
||||
#
|
||||
# PYDISTUTILS_CONFIGURE_TARGET
|
||||
# - Pass this command to distutils on configure stage.
|
||||
# default: config
|
||||
#
|
||||
# PYDISTUTILS_BUILD_TARGET
|
||||
# - Pass this command to distutils on build stage.
|
||||
# default: build
|
||||
#
|
||||
# PYDISTUTILS_INSTALL_TARGET
|
||||
# - Pass this command to distutils on install stage.
|
||||
# default: install
|
||||
#
|
||||
# PYDISTUTILS_CONFIGUREARGS
|
||||
# - Arguments to config with distutils.
|
||||
# default: <empty>
|
||||
#
|
||||
# PYDISTUTILS_BUILDARGS
|
||||
# - Arguments to build with distutils.
|
||||
# default: <empty>
|
||||
#
|
||||
# PYDISTUTILS_INSTALLARGS
|
||||
# - Arguments to install with distutils.
|
||||
# default: -c -O1 --prefix=${PREFIX} --single-version-externally-managed --root=${STAGEDIR}
|
||||
#
|
||||
# PYDISTUTILS_EGGINFO
|
||||
# - Canonical name for egg-info.
|
||||
# default: ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}.egg-info
|
||||
#
|
||||
# PYTEST_BROKEN_TESTS - Lists of 'pytest -k' patterns to skip tests which
|
||||
# require fixing.
|
||||
# default: <empty>
|
||||
#
|
||||
# PYTEST_IGNORED_TESTS - Lists of 'pytest -k' patterns to skip tests which are
|
||||
# not expected to pass, e.g. requiring a database access.
|
||||
# default: <empty>
|
||||
#
|
||||
# The following variables can be read by ports and must not be modified:
|
||||
#
|
||||
# PYTHONBASE - The installation prefix of the chosen Python
|
||||
# interpreter, e.g. /usr/local
|
||||
#
|
||||
# PYTHON_DISTVERSION
|
||||
# - Version number suitable for ${DISTVERSION}.
|
||||
#
|
||||
# PYTHON_PORTSDIR - The port directory of the chosen Python interpreter
|
||||
#
|
||||
# PYTHON_REL - The release number of the chosen Python interpreter
|
||||
# without dots, e.g. 20706, 30401, ...
|
||||
#
|
||||
# PYTHON_SUFFIX - The major-minor release number of the chosen Python
|
||||
# interpreter without dots, e.g. 27, 36, ...
|
||||
# Used for prefixes and suffixes.
|
||||
#
|
||||
# PYTHON_MAJOR_VER - The major release version of the chosen Python
|
||||
# interpreter, e.g. 2, 3, ...
|
||||
#
|
||||
# PYTHON_VER - The major-minor release version of the chosen Python
|
||||
# interpreter, e.g. 2.7, 3.7, ...
|
||||
#
|
||||
# PYTHON_ABIVER - Additional ABI flags set by the chosen Python
|
||||
# interpreter, e.g. md
|
||||
#
|
||||
# PYTHON_INCLUDEDIR - Location of the Python include files.
|
||||
# default: ${PYTHONBASE}/include/${PYTHON_VERSION}
|
||||
#
|
||||
# PYTHON_LIBDIR - Base of the python library tree
|
||||
# default: ${PYTHONBASE}/lib/${PYTHON_VERSION}
|
||||
#
|
||||
# PYTHON_SITELIBDIR - Location of the site-packages tree. Don't change,
|
||||
# unless you know what you do.
|
||||
# default: ${PYTHON_LIBDIR}/site-packages
|
||||
#
|
||||
# There are PREFIX-clean variants of the PYTHON_*DIR variables above.
|
||||
# They are meant to be used by ports instead of the above variables, so the
|
||||
# ports respect ${PREFIX} (unless USE_PYTHON=pythonprefix is specified).
|
||||
#
|
||||
# PYTHONPREFIX_INCLUDEDIR default: ${PREFIX}/include/${PYTHON_VERSION}
|
||||
# PYTHONPREFIX_LIBDIR default: ${PREFIX}/lib/${PYTHON_VERSION}
|
||||
# PYTHONPREFIX_SITELIBDIR default: ${PYTHONPREFIX_LIBDIR}/site-packages
|
||||
#
|
||||
# PYTHON_PLATFORM - Python's idea of the OS release.
|
||||
# This is faked with ${OPSYS} and ${OSREL} until we
|
||||
# find out how to delay defining a variable until
|
||||
# after a certain target has been built.
|
||||
#
|
||||
# PYTHON_PKGNAMEPREFIX
|
||||
# - Use this as a ${PKGNAMEPREFIX} to distinguish
|
||||
# packages for different Python versions.
|
||||
# default: py${PYTHON_SUFFIX}-
|
||||
#
|
||||
# PYTHON_PKGNAMESUFFIX
|
||||
# - Use this as a ${PKGNAMESUFFIX} to distinguish
|
||||
# packages for different Python versions.
|
||||
# default: -py${PYTHON_SUFFIX}
|
||||
#
|
||||
# Using USES=python also will add some useful entries to SUB_LIST and PLIST_SUB:
|
||||
#
|
||||
# PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR}
|
||||
# PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR}
|
||||
# PYTHON_PLATFORM=${PYTHON_PLATFORM}
|
||||
# PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR}
|
||||
# PYTHON_SUFFIX=${PYTHON_SUFFIX}
|
||||
# PYTHON_VER=${PYTHON_VER}
|
||||
# PYTHON_VERSION=${PYTHON_VERSION}
|
||||
#
|
||||
# where PYTHON_INCLUDEDIR, PYTHON_LIBDIR and PYTHON_SITELIBDIR have their PREFIX
|
||||
# stripped for PLIST_SUB.
|
||||
#
|
||||
# PYTHON2 and PYTHON3 will also be set according to the Python version:
|
||||
#
|
||||
# PYTHON2="" PYTHON3="@comment " for Python 2.x
|
||||
# PYTHON2="@comment " PYTHON3="" for Python 3.x
|
||||
#
|
||||
# PYDISTUTILS_INSTALLNOSINGLE
|
||||
# - Deprecated without replacement
|
||||
#
|
||||
# Dependency lines of selected Python modules:
|
||||
#
|
||||
# PY_SETUPTOOLS - setuptools port based on USE_PYTHON=distutils
|
||||
# PYGAME - pygame port
|
||||
# PYNUMPY - NumPy port
|
||||
# PY_MERCURIAL - mercurial port, PKGNAME varies based on default
|
||||
# Python version
|
||||
# PY_BOOST - Boost Python libraries port
|
||||
#
|
||||
# The following variables may be set by the user:
|
||||
#
|
||||
# PYTEST_ENABLE_ALL_TESTS - Enable tests skipped by PYTEST_BROKEN_TESTS
|
||||
# and PYTEST_IGNORED_TESTS.
|
||||
# PYTEST_ENABLE_BROKEN_TESTS - Enable tests skipped by PYTEST_BROKEN_TESTS.
|
||||
# PYTEST_ENABLE_IGNORED_TESTS - Enable tests skipped by PYTEST_IGNORED_TESTS.
|
||||
#
|
||||
# MAINTAINER: python@FreeBSD.org
|
||||
|
||||
.if !defined(_INCLUDE_USES_PYTHON_MK)
|
||||
_INCLUDE_USES_PYTHON_MK= yes
|
||||
|
||||
# What Python version and what Python interpreters are currently supported?
|
||||
# When adding a version, please keep the comment in
|
||||
# Mk/bsd.default-versions.mk in sync.
|
||||
_PYTHON_VERSIONS= 3.9 3.8 3.7 3.10 3.11 2.7 # preferred first
|
||||
_PYTHON_PORTBRANCH= 3.9 # ${_PYTHON_VERSIONS:[1]}
|
||||
_PYTHON_BASECMD= ${LOCALBASE}/bin/python
|
||||
_PYTHON_RELPORTDIR= lang/python
|
||||
|
||||
# List all valid USE_PYTHON features here
|
||||
_VALID_PYTHON_FEATURES= allflavors autoplist concurrent cython cython_run cython_test \
|
||||
distutils flavors noegginfo noflavors nose nose2 \
|
||||
optsuffix pep517 py3kplist pytest pytest4 pythonprefix \
|
||||
unittest unittest2
|
||||
_INVALID_PYTHON_FEATURES=
|
||||
. for var in ${USE_PYTHON}
|
||||
. if empty(_VALID_PYTHON_FEATURES:M${var})
|
||||
_INVALID_PYTHON_FEATURES+= ${var}
|
||||
. endif
|
||||
. endfor
|
||||
. if !empty(_INVALID_PYTHON_FEATURES)
|
||||
IGNORE= uses unknown USE_PYTHON features: ${_INVALID_PYTHON_FEATURES}
|
||||
. endif
|
||||
|
||||
# Make each individual feature available as _PYTHON_FEATURE_<FEATURENAME>
|
||||
. for var in ${USE_PYTHON}
|
||||
_PYTHON_FEATURE_${var:C/=.*$//:tu}= ${var:C/.*=//:S/,/ /g}
|
||||
. endfor
|
||||
. if defined(_PYTHON_FEATURE_PYTEST) && defined(_PYTHON_FEATURE_PYTEST4)
|
||||
IGNORE= uses either USE_PYTHON=pytest or USE_PYTHON=pytest4, not both of them
|
||||
. endif
|
||||
|
||||
# distutils automatically generates flavors depending on the supported
|
||||
# versions.
|
||||
. if defined(_PYTHON_FEATURE_DISTUTILS)
|
||||
_PYTHON_FEATURE_FLAVORS= yes
|
||||
. endif
|
||||
|
||||
# pep517 automatically generates flavors depending on the supported
|
||||
# versions.
|
||||
. if defined(_PYTHON_FEATURE_PEP517)
|
||||
_PYTHON_FEATURE_FLAVORS= yes
|
||||
. endif
|
||||
|
||||
. if defined(_PYTHON_FEATURE_NOFLAVORS)
|
||||
.undef _PYTHON_FEATURE_FLAVORS
|
||||
. endif
|
||||
|
||||
# Make sure that no dependency or some other environment variable
|
||||
# pollutes the build/run dependency detection
|
||||
.undef _PYTHON_BUILD_DEP
|
||||
.undef _PYTHON_RUN_DEP
|
||||
.undef _PYTHON_TEST_DEP
|
||||
_PYTHON_ARGS= ${python_ARGS:S/,/ /g}
|
||||
. if ${_PYTHON_ARGS:Mpatch}
|
||||
_PYTHON_PATCH_DEP= yes
|
||||
_PYTHON_ARGS:= ${_PYTHON_ARGS:Npatch}
|
||||
. endif
|
||||
. if ${_PYTHON_ARGS:Mbuild}
|
||||
_PYTHON_BUILD_DEP= yes
|
||||
_PYTHON_ARGS:= ${_PYTHON_ARGS:Nbuild}
|
||||
. endif
|
||||
. if ${_PYTHON_ARGS:Mrun}
|
||||
_PYTHON_RUN_DEP= yes
|
||||
_PYTHON_ARGS:= ${_PYTHON_ARGS:Nrun}
|
||||
. endif
|
||||
. if ${_PYTHON_ARGS:Mtest}
|
||||
_PYTHON_TEST_DEP= yes
|
||||
_PYTHON_ARGS:= ${_PYTHON_ARGS:Ntest}
|
||||
. endif
|
||||
. if ${_PYTHON_ARGS:Menv}
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
_PYTHON_ARGS:= ${_PYTHON_ARGS:Nenv}
|
||||
. endif
|
||||
|
||||
# The port does not specify a build, run or test dependency, assume all are
|
||||
# required.
|
||||
. if !defined(_PYTHON_BUILD_DEP) && !defined(_PYTHON_RUN_DEP) && \
|
||||
!defined(_PYTHON_TEST_DEP) && !defined(PYTHON_NO_DEPENDS)
|
||||
_PYTHON_BUILD_DEP= yes
|
||||
_PYTHON_RUN_DEP= yes
|
||||
_PYTHON_TEST_DEP= yes
|
||||
. endif
|
||||
|
||||
. if ${PYTHON2_DEFAULT} != ${PYTHON_DEFAULT} && ${PYTHON3_DEFAULT} != ${PYTHON_DEFAULT}
|
||||
WARNING+= "PYTHON_DEFAULT must be a version present in PYTHON2_DEFAULT or PYTHON3_DEFAULT, if you want more Python flavors, set BUILD_ALL_PYTHON_FLAVORS in your make.conf"
|
||||
. endif
|
||||
|
||||
. if ${_PYTHON_ARGS} == 2.7
|
||||
DEV_WARNING+= "lang/python27 reached End of Life and will be removed somewhere in the future, please convert to a modern version of python"
|
||||
. elif ${_PYTHON_ARGS} == 2
|
||||
DEV_ERROR+= "USES=python:2 is no longer supported, use USES=python:2.7"
|
||||
. elif ${_PYTHON_ARGS} == 3
|
||||
DEV_ERROR+= "USES=python:3 is no longer supported, use USES=python:3.7+ or an appropriate version range"
|
||||
. endif # ${_PYTHON_ARGS} == 2.7
|
||||
|
||||
_PYTHON_VERSION:= ${PYTHON_DEFAULT}
|
||||
|
||||
. if empty(_PYTHON_ARGS)
|
||||
_PYTHON_ARGS= 3.7+
|
||||
. endif
|
||||
|
||||
# Validate Python version whether it meets the version restriction.
|
||||
_PYTHON_VERSION_CHECK:= ${_PYTHON_ARGS:C/^([1-9]\.[1-9]?[0-9])$/\1-\1/}
|
||||
_PYTHON_VERSION_MINIMUM_TMP:= ${_PYTHON_VERSION_CHECK:C/([1-9]\.[1-9]?[0-9])[-+].*/\1/}
|
||||
_PYTHON_VERSION_MINIMUM:= ${_PYTHON_VERSION_MINIMUM_TMP:M[1-9].[0-9]}${_PYTHON_VERSION_MINIMUM_TMP:M[1-9].[1-9][0-9]}
|
||||
_PYTHON_VERSION_MAXIMUM_TMP:= ${_PYTHON_VERSION_CHECK:C/.*-([1-9]\.[1-9]?[0-9])/\1/}
|
||||
_PYTHON_VERSION_MAXIMUM:= ${_PYTHON_VERSION_MAXIMUM_TMP:M[1-9].[0-9]}${_PYTHON_VERSION_MAXIMUM_TMP:M[1-9].[1-9][0-9]}
|
||||
|
||||
# At this point we should have no argument left in ${_PYTHON_ARGS}
|
||||
# except a version spec
|
||||
_V1= [1-9].[0-9]
|
||||
_V2= [1-9].[1-9][0-9]
|
||||
_PYTHON_ARGS:= ${_PYTHON_ARGS:N${_V1}-${_V1}:N${_V1}-${_V2}:N${_V2}-${_V2}:N${_V1}:N${_V2}:N${_V1}+:N${_V2}+:N-${_V1}:N-${_V2}}
|
||||
. if !empty(_PYTHON_ARGS)
|
||||
IGNORE= uses unknown USES=python arguments: ${_PYTHON_ARGS}
|
||||
. endif
|
||||
|
||||
# Pattern to convert python versions (X.Y or X.YY) to comparable format X.YY
|
||||
_VC= C/^([1-9]\.)([0-9])$$/\10\2/
|
||||
|
||||
.undef _PYTHON_VERSION_NONSUPPORTED
|
||||
. if !empty(_PYTHON_VERSION_MINIMUM) && (${_PYTHON_VERSION:${_VC}} < ${_PYTHON_VERSION_MINIMUM:${_VC}})
|
||||
_PYTHON_VERSION_NONSUPPORTED= ${_PYTHON_VERSION_MINIMUM} at least
|
||||
. elif !empty(_PYTHON_VERSION_MAXIMUM) && (${_PYTHON_VERSION:${_VC}} > ${_PYTHON_VERSION_MAXIMUM:${_VC}})
|
||||
_PYTHON_VERSION_NONSUPPORTED= ${_PYTHON_VERSION_MAXIMUM} at most
|
||||
. endif
|
||||
|
||||
# If we have an unsupported version of Python, try another.
|
||||
. if defined(_PYTHON_VERSION_NONSUPPORTED)
|
||||
.undef _PYTHON_VERSION
|
||||
. for ver in ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}
|
||||
__VER= ${ver}
|
||||
. if !defined(_PYTHON_VERSION) && \
|
||||
!(!empty(_PYTHON_VERSION_MINIMUM) && ( \
|
||||
${__VER:${_VC}} < ${_PYTHON_VERSION_MINIMUM:${_VC}})) && \
|
||||
!(!empty(_PYTHON_VERSION_MAXIMUM) && ( \
|
||||
${__VER:${_VC}} > ${_PYTHON_VERSION_MAXIMUM:${_VC}}))
|
||||
_PYTHON_VERSION= ${ver}
|
||||
. endif
|
||||
. endfor
|
||||
. if !defined(_PYTHON_VERSION)
|
||||
IGNORE= needs an unsupported version of Python
|
||||
. endif
|
||||
. endif # defined(_PYTHON_VERSION_NONSUPPORTED)
|
||||
|
||||
# Automatically generates FLAVORS if empty
|
||||
. if empty(FLAVORS) && defined(_PYTHON_FEATURE_FLAVORS)
|
||||
. undef _VALID_PYTHON_VERSIONS
|
||||
. for ver in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}
|
||||
__VER= ${ver}
|
||||
. if !(!empty(_PYTHON_VERSION_MINIMUM) && ( \
|
||||
${__VER:${_VC}} < ${_PYTHON_VERSION_MINIMUM:${_VC}})) && \
|
||||
!(!empty(_PYTHON_VERSION_MAXIMUM) && ( \
|
||||
${__VER:${_VC}} > ${_PYTHON_VERSION_MAXIMUM:${_VC}}))
|
||||
. if empty(_VALID_PYTHON_VERSIONS:M${ver})
|
||||
_VALID_PYTHON_VERSIONS+= ${ver}
|
||||
. endif
|
||||
. endif
|
||||
. endfor
|
||||
# Get all possible flavors depending on version requirements
|
||||
. if defined(_VALID_PYTHON_VERSIONS)
|
||||
_ALL_PYTHON_FLAVORS= ${_VALID_PYTHON_VERSIONS:S/.//:S/^/py/}
|
||||
. else
|
||||
_ALL_PYTHON_FLAVORS= ${_PYTHON_VERSIONS:S/.//:S/^/py/}
|
||||
. endif
|
||||
# Decide how many flavors we want. By default, only generate the default
|
||||
# versions.
|
||||
. if defined(BUILD_ALL_PYTHON_FLAVORS) || defined(_PYTHON_FEATURE_ALLFLAVORS)
|
||||
FLAVORS= ${_ALL_PYTHON_FLAVORS}
|
||||
. else
|
||||
. for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT}
|
||||
_f= py${_v:S/.//}
|
||||
. if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}}
|
||||
. if !empty(FLAVORS)
|
||||
FLAVORS:= ${FLAVORS} ${_f}
|
||||
. else
|
||||
FLAVORS:= ${_f}
|
||||
. endif
|
||||
. endif
|
||||
. endfor
|
||||
. endif
|
||||
. if !empty(FLAVORS) && empty(FLAVOR)
|
||||
FLAVOR= ${FLAVORS:[1]}
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if ${FLAVOR:Mpy[23][0-9]}${FLAVOR:Mpy[23][1-9][0-9]}
|
||||
_PYTHON_VERSION= ${FLAVOR:S/py//:C/(.)/\1./}
|
||||
. endif
|
||||
|
||||
. if !empty(FLAVOR) && ${_PYTHON_VERSION} != ${PYTHON_DEFAULT}
|
||||
. if defined(_PYTHON_FEATURE_OPTSUFFIX)
|
||||
DEV_WARNING+= "USE_PYTHON=optsuffix is deprecated, consider migrating to using unconditional PKGNAMESUFFIX or PKGNAMEPREFIX"
|
||||
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
|
||||
. endif
|
||||
. endif
|
||||
|
||||
# To avoid having dependencies with @ and empty flavor:
|
||||
# _PYTHON_VERSION is either set by (first that matches):
|
||||
# - If using Python flavors, from the current Python flavor
|
||||
# - If using a version restriction (USES=python:3.7+), from the first
|
||||
# acceptable default Python version.
|
||||
# - From PYTHON_DEFAULT
|
||||
PY_FLAVOR= py${_PYTHON_VERSION:S/.//}
|
||||
|
||||
PYTHON_VERSION= python${_PYTHON_VERSION}
|
||||
|
||||
# Got the correct python version, set some publicly accessible variables
|
||||
PYTHON_VER= ${_PYTHON_VERSION}
|
||||
PYTHON_SUFFIX= ${_PYTHON_VERSION:S/.//g}
|
||||
PYTHON_MAJOR_VER= ${PYTHON_VER:R}
|
||||
PYTHON_REL= # empty
|
||||
PYTHON_ABIVER= # empty
|
||||
PYTHON_PORTSDIR= ${_PYTHON_RELPORTDIR}${PYTHON_SUFFIX}
|
||||
|
||||
# Protect partial checkouts from Mk/Scripts/functions.sh:export_ports_env().
|
||||
. if !defined(_PORTS_ENV_CHECK) || exists(${PORTSDIR}/${PYTHON_PORTSDIR})
|
||||
.include "${PORTSDIR}/${PYTHON_PORTSDIR}/Makefile.version"
|
||||
. endif
|
||||
# Create a 5 integer version string, prefixing 0 to the minor and patch
|
||||
# tokens if it's a single character. Only use the the first 3 tokens of
|
||||
# PORTVERSION to support pre-release versions (rc3, alpha4, etc) of
|
||||
# any Python port (lang/pythonXY)
|
||||
PYTHON_REL= ${PYTHON_DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/:C/\.([0-9])$/.0\1/:C/\.([0-9]\.[0-9]+)/.0\1/:S/.//g}
|
||||
|
||||
# Might be overridden by calling ports
|
||||
PYTHON_CMD?= ${_PYTHON_BASECMD}${_PYTHON_VERSION}
|
||||
. if ${PYTHON_MAJOR_VER} > 2
|
||||
. if exists(${PYTHON_CMD}-config)
|
||||
PYTHON_ABIVER!= ${PYTHON_CMD}-config --abiflags
|
||||
. elif ${PYTHON_REL} < 30800
|
||||
# Default ABI flags for lang/python37 port
|
||||
PYTHON_ABIVER= m
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if ${PYTHON_REL} >= 30807
|
||||
PYTHON_EXT_SUFFIX= .cpython-${PYTHON_SUFFIX}
|
||||
. else
|
||||
PYTHON_EXT_SUFFIX= # empty
|
||||
. endif
|
||||
|
||||
. if ${PYTHON_MAJOR_VER} < 3
|
||||
DEPRECATED?= Uses Python 2.7 which is EOLed upstream
|
||||
. endif
|
||||
|
||||
. if !defined(PYTHONBASE)
|
||||
PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \
|
||||
2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1
|
||||
. endif
|
||||
_EXPORTED_VARS+= PYTHONBASE
|
||||
|
||||
PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/python${_PYTHON_VERSION}${PYTHON_ABIVER}
|
||||
PYTHON_LIBDIR= ${PYTHONBASE}/lib/python${_PYTHON_VERSION}
|
||||
PYTHON_PLATFORM= ${OPSYS:tl}${OSREL:C/\.[0-9.]*//}
|
||||
PYTHON_SITELIBDIR= ${PYTHON_LIBDIR}/site-packages
|
||||
PYTHON_PKGNAMEPREFIX= py${PYTHON_SUFFIX}-
|
||||
PYTHON_PKGNAMESUFFIX= -py${PYTHON_SUFFIX}
|
||||
|
||||
PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUDEDIR:S;${PYTHONBASE};${PREFIX};}
|
||||
PYTHONPREFIX_LIBDIR= ${PYTHON_LIBDIR:S;${PYTHONBASE};${PREFIX};}
|
||||
PYTHONPREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};}
|
||||
|
||||
# Used for recording the installed files.
|
||||
_PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp
|
||||
|
||||
# Ports bound to a certain python version SHOULD
|
||||
# - use the PYTHON_PKGNAMEPREFIX
|
||||
# - use directories using the PYTHON_PKGNAMEPREFIX
|
||||
# - install binaries using the required PYTHON_VER, with
|
||||
# the default python version creating a symlink to the original binary
|
||||
# name (for staging-aware ports).
|
||||
#
|
||||
# What makes a port 'bound' to a certain python version?
|
||||
# - it installs data into PYTHON_SITELIBDIR, PYTHON_INCLUDEDIR, ...
|
||||
# - it links against libpython*.so
|
||||
# - it uses USE_PYTHON=distutils
|
||||
#
|
||||
|
||||
. if defined(_PYTHON_FEATURE_CYTHON)
|
||||
BUILD_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
. if defined(_PYTHON_FEATURE_CYTHON_RUN)
|
||||
RUN_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
. if defined(_PYTHON_FEATURE_CYTHON_TEST)
|
||||
TEST_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
. if defined(_PYTHON_FEATURE_CONCURRENT)
|
||||
. if !defined(_PYTHON_FEATURE_FLAVORS) && (${_PYTHON_VERSION_MINIMUM:M3*} || ${_PYTHON_VERSION_MAXIMUM:M2*})
|
||||
DEV_WARNING+= "USE_PYTHON=concurrent when only one of Python 2 or 3 is supported AND not using flavors does not make any sense"
|
||||
. endif
|
||||
_USES_POST+= uniquefiles:dirs
|
||||
. if defined(_PYTHON_FEATURE_FLAVORS) && ${FLAVOR} == ${FLAVORS:[1]}
|
||||
UNIQUE_DEFAULT_LINKS= yes
|
||||
. elif !defined(_PYTHON_FEATURE_FLAVORS) && ${_PYTHON_VERSION} == ${PYTHON_DEFAULT}
|
||||
UNIQUE_DEFAULT_LINKS= yes
|
||||
. else
|
||||
UNIQUE_DEFAULT_LINKS= no
|
||||
. endif
|
||||
UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
UNIQUE_SUFFIX= -${PYTHON_VER}
|
||||
UNIQUE_SUFFIX_TYPES+= SUFFIX_MAN
|
||||
UNIQUE_SUFFIX_MAN_WITH_EXT= .[1-9ln]
|
||||
UNIQUE_SUFFIX_MAN_EXTRA_EXT= .gz
|
||||
|
||||
. if defined(_PYTHON_FEATURE_AUTOPLIST)
|
||||
_UNIQUE_FIND_SUFFIX_FILES= ${SED} -e 's|^${PREFIX}/||' ${_PYTHONPKGLIST} ${TMPPLIST}
|
||||
. else
|
||||
_UNIQUE_FIND_SUFFIX_FILES= ${SED} -e 's|^${PREFIX}/||' ${TMPPLIST} 2>/dev/null
|
||||
. endif
|
||||
UNIQUE_FIND_SUFFIX_FILES+= ${_UNIQUE_FIND_SUFFIX_FILES} | \
|
||||
${EGREP} -he '^bin/.*$$|^sbin/.*$$|^libexec/.*$$'
|
||||
UNIQUE_FIND_SUFFIX_MAN_FILES+= ${_UNIQUE_FIND_SUFFIX_FILES} | \
|
||||
${EGREP} -he '^man/man[1-9ln]/.*$$|^share/man/man[1-9ln]/.*$$'
|
||||
. endif # defined(_PYTHON_FEATURE_CONCURRENT)
|
||||
|
||||
_CURRENTPORT:= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
||||
. if defined(_PYTHON_FEATURE_DISTUTILS) && \
|
||||
${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools && \
|
||||
${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools58 && \
|
||||
${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools44
|
||||
. if ${PYTHON_VER} == 2.7
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR}
|
||||
. else
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
|
||||
. endif
|
||||
. endif
|
||||
|
||||
. if defined(_PYTHON_FEATURE_PEP517)
|
||||
. if ${PYTHON_MAJOR_VER} < 3
|
||||
DEV_ERROR+= "USES=python:2.7 is incompatible with USE_PYTHON=pep517"
|
||||
. endif
|
||||
. if defined(_PYTHON_FEATURE_DISTUTILS)
|
||||
DEV_ERROR+= "USE_PYTHON=distutils is incompatible with USE_PYTHON=pep517"
|
||||
. endif
|
||||
. if defined(_PYTHON_FEATURE_PY3KPLIST)
|
||||
DEV_ERROR+= "USE_PYTHON=py3kplist is incompatible with USE_PYTHON=pep517"
|
||||
. endif
|
||||
. if defined(_PYTHON_FEATURE_NOEGGINFO)
|
||||
DEV_ERROR+= "USE_PYTHON=noegginfo is incompatible with USE_PYTHON=pep517"
|
||||
. endif
|
||||
. endif
|
||||
|
||||
# distutils support
|
||||
PYSETUP?= setup.py
|
||||
PYDISTUTILS_SETUP?= -c \
|
||||
"import sys; import setuptools; \
|
||||
__file__='${PYSETUP}'; sys.argv[0]='${PYSETUP}'; \
|
||||
exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))"
|
||||
PYDISTUTILS_CONFIGUREARGS?= # empty
|
||||
PYDISTUTILS_BUILDARGS?= # empty
|
||||
PYDISTUTILS_INSTALLARGS?= -c -O1 --prefix=${PREFIX}
|
||||
. if defined(_PYTHON_FEATURE_DISTUTILS)
|
||||
. if !defined(PYDISTUTILS_INSTALLNOSINGLE)
|
||||
PYDISTUTILS_INSTALLARGS+= --single-version-externally-managed
|
||||
. endif
|
||||
PYDISTUTILS_INSTALLARGS+= --root=${STAGEDIR}
|
||||
. endif
|
||||
PYDISTUTILS_INSTALLARGS:= --record ${_PYTHONPKGLIST} \
|
||||
${PYDISTUTILS_INSTALLARGS}
|
||||
|
||||
PYDISTUTILS_PKGNAME?= ${PORTNAME}
|
||||
PYDISTUTILS_PKGVERSION?=${PORTVERSION}
|
||||
PYDISTUTILS_EGGINFO?= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}.egg-info
|
||||
PYDISTUTILS_EGGINFODIR?=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
# PEP-517 support
|
||||
PEP517_BUILD_CMD?= ${PYTHON_CMD} -m build -n -w ${PEP517_BUILD_CONFIG_SETTING}
|
||||
PEP517_BUILD_DEPEND?= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR}
|
||||
PEP517_INSTALL_CMD?= ${PYTHON_CMD} -m installer -d ${STAGEDIR} -p ${PREFIX} --no-compile-bytecode ${BUILD_WRKSRC}/dist/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}-*.whl
|
||||
PEP517_INSTALL_DEPEND?= ${PYTHON_PKGNAMEPREFIX}installer>0:devel/py-installer@${PY_FLAVOR}
|
||||
|
||||
# nose support
|
||||
. if defined(_PYTHON_FEATURE_NOSE)
|
||||
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
# nose2 support
|
||||
. if defined(_PYTHON_FEATURE_NOSE2)
|
||||
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose2>=0:devel/py-nose2@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
# pytest support
|
||||
. if defined(_PYTHON_FEATURE_PYTEST)
|
||||
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest>=7,1:devel/py-pytest@${PY_FLAVOR}
|
||||
. elif defined(_PYTHON_FEATURE_PYTEST4)
|
||||
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest4>=4.6,1:devel/py-pytest4@${PY_FLAVOR}
|
||||
. endif
|
||||
. if defined(_PYTHON_FEATURE_PYTEST) || defined(_PYTHON_FEATURE_PYTEST4)
|
||||
PYTEST_BROKEN_TESTS?= # empty
|
||||
PYTEST_IGNORED_TESTS?= # empty
|
||||
_PYTEST_SKIPPED_TESTS?= # empty
|
||||
. if !defined(PYTEST_ENABLE_ALL_TESTS)
|
||||
. if !defined(PYTEST_ENABLE_BROKEN_TESTS)
|
||||
_PYTEST_SKIPPED_TESTS+= ${PYTEST_BROKEN_TESTS}
|
||||
. endif
|
||||
. if !defined(PYTEST_ENABLE_IGNORED_TESTS)
|
||||
_PYTEST_SKIPPED_TESTS+= ${PYTEST_IGNORED_TESTS}
|
||||
. endif
|
||||
. endif # !defined(PYTEST_ENABLE_ALL_TESTS)
|
||||
_PYTEST_FILTER_EXPRESSION= ${_PYTEST_SKIPPED_TESTS:C/^(.)/and not \1/:tW:C/^and //}
|
||||
. endif # defined(_PYTHON_FEATURE_PYTEST) || defined(_PYTHON_FEATURE_PYTEST4)
|
||||
|
||||
# unittest2 support
|
||||
. if defined(_PYTHON_FEATURE_UNITTEST2)
|
||||
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
. if !defined(_PYTHON_FEATURE_NOEGGINFO) && \
|
||||
!defined(_PYTHON_FEATURE_AUTOPLIST) && \
|
||||
defined(_PYTHON_FEATURE_DISTUTILS) && \
|
||||
defined(PYTHON_REL)
|
||||
_USES_stage+= 933:add-plist-egginfo
|
||||
add-plist-egginfo:
|
||||
. for egginfo in ${PYDISTUTILS_EGGINFO}
|
||||
if [ -d "${PYDISTUTILS_EGGINFODIR}/${egginfo}" ]; then \
|
||||
${LS} ${PYDISTUTILS_EGGINFODIR}/${egginfo} | while read f; do \
|
||||
${ECHO_CMD} ${PYDISTUTILS_EGGINFODIR:S;^${STAGEDIR}${PREFIX}/;;}/${egginfo}/$${f} >> ${TMPPLIST}; \
|
||||
done; \
|
||||
fi;
|
||||
. endfor
|
||||
. endif
|
||||
|
||||
. if defined(_PYTHON_FEATURE_AUTOPLIST) && (defined(_PYTHON_FEATURE_DISTUTILS) || defined(_PYTHON_FEATURE_PEP517))
|
||||
_RELSITELIBDIR= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
|
||||
_RELLIBDIR= ${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;}
|
||||
|
||||
_USES_stage+= 934:add-plist-pymod
|
||||
add-plist-pymod:
|
||||
@${SED} -e 's|^"\(.*\)"$$|\1|' \
|
||||
-e 's|^${STAGEDIR}${PREFIX}/||' \
|
||||
-e 's|^${PREFIX}/||' \
|
||||
-e 's|^\(man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \
|
||||
-e 's|^\(share/man/.*man[0-9]\)/\(.*\.[0-9]\)$$|\1/\2.gz|' \
|
||||
-e 's|[[:alnum:]|[:space:]]*/\.\./*||g; s|/\./|/|g' \
|
||||
${_PYTHONPKGLIST} | ${SORT} >> ${TMPPLIST}
|
||||
|
||||
. else
|
||||
. if ${PYTHON_REL} >= 30200 && defined(_PYTHON_FEATURE_PY3KPLIST)
|
||||
# When Python version is 3.2+ we rewrite all the filenames
|
||||
# of TMPPLIST that end with .py[co], so that they conform
|
||||
# to PEP 3147 (see https://www.python.org/dev/peps/pep-3147/)
|
||||
PYMAGICTAG= ${PYTHON_CMD} -c 'import sys; print(sys.implementation.cache_tag)'
|
||||
_USES_stage+= 935:add-plist-python
|
||||
add-plist-python:
|
||||
@${AWK} '\
|
||||
/\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.pyc$$/, "." mt "&"); sub(/\.pyo$$/, "." mt "." pyo); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \
|
||||
/^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
|
||||
/^@dirrmtry / {d = substr($$0, 11); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
|
||||
{print} \
|
||||
' \
|
||||
pc="__pycache__" mt="$$(${PYMAGICTAG})" pyo="opt-1.pyc" \
|
||||
${TMPPLIST} > ${TMPPLIST}.pyc_tmp
|
||||
@${MV} ${TMPPLIST}.pyc_tmp ${TMPPLIST}
|
||||
. endif # ${PYTHON_REL} >= 30200 && defined(_PYTHON_FEATURE_PY3KPLIST)
|
||||
. endif # defined(_PYTHON_FEATURE_AUTOPLIST) && (defined(_PYTHON_FEATURE_DISTUTILS) || defined(_PYTHON_FEATURE_PEP517))
|
||||
|
||||
# Fix for programs that build python from a GNU auto* environment
|
||||
CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}"
|
||||
|
||||
# By default CMake picks up the highest available version of Python package.
|
||||
# Enforce the version required by the port or the default.
|
||||
CMAKE_ARGS+= -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER}
|
||||
|
||||
# Python 3rd-party modules
|
||||
PYGAME= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR}
|
||||
PYNUMPY= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1<1.25,1:math/py-numpy@${PY_FLAVOR}
|
||||
|
||||
. if defined(_PYTHON_FEATURE_DISTUTILS)
|
||||
. if ${PYTHON_MAJOR_VER} < 3
|
||||
PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools44>0:devel/py-setuptools44@${PY_FLAVOR}
|
||||
. else
|
||||
#PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools58>0:devel/py-setuptools58@${PY_FLAVOR}
|
||||
PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
|
||||
. endif
|
||||
. else
|
||||
PY_SETUPTOOLS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
# Common Python modules that can be needed but only for some versions of Python.
|
||||
. if ${PYTHON_REL} < 30500
|
||||
. else
|
||||
PY_PILLOW= ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
. if ${PYTHON_VER} != ${PYTHON_DEFAULT}
|
||||
PY_MERCURIAL= ${PYTHON_PKGNAMEPREFIX}mercurial>=5.9:devel/mercurial@${PY_FLAVOR}
|
||||
. else
|
||||
PY_MERCURIAL= mercurial>=5.9:devel/mercurial@${PY_FLAVOR}
|
||||
. endif
|
||||
|
||||
CMAKE_ARGS+= -DBOOST_PYTHON_SUFFIX:STRING=${PYTHON_SUFFIX}
|
||||
PY_BOOST_LIB= boost_python${PYTHON_SUFFIX}
|
||||
PY_BOOST= lib${PY_BOOST_LIB}.so:devel/boost-python-libs@${PY_FLAVOR}
|
||||
|
||||
# dependencies
|
||||
. for _stage in PATCH BUILD RUN TEST
|
||||
. if defined(_PYTHON_${_stage}_DEP)
|
||||
${_stage}_DEPENDS+= ${PYTHON_CMD}:${PYTHON_PORTSDIR}
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
# set $PREFIX as Python's one
|
||||
. if defined(_PYTHON_FEATURE_PYTHONPREFIX)
|
||||
PREFIX= ${PYTHONBASE}
|
||||
. endif
|
||||
|
||||
# Substitutions for SUB_FILES
|
||||
SUB_LIST+= PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR} \
|
||||
PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR} \
|
||||
PYTHON_PLATFORM=${PYTHON_PLATFORM} \
|
||||
PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} \
|
||||
PYTHON_SUFFIX=${PYTHON_SUFFIX} \
|
||||
PYTHON_EXT_SUFFIX=${PYTHON_EXT_SUFFIX} \
|
||||
PYTHON_VER=${PYTHON_VER} \
|
||||
PYTHON_VERSION=${PYTHON_VERSION}
|
||||
|
||||
# Substitutions for pkg-plist
|
||||
# Use a short form of the PYTHONPREFIX_*DIR variables; we don't need the
|
||||
# base directory in the plist file.
|
||||
PLIST_SUB+= PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR:S;${PREFIX}/;;} \
|
||||
PYTHON_LIBDIR=${PYTHONPREFIX_LIBDIR:S;${PREFIX}/;;} \
|
||||
PYTHON_PLATFORM=${PYTHON_PLATFORM} \
|
||||
PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} \
|
||||
PYTHON_SUFFIX=${PYTHON_SUFFIX} \
|
||||
PYTHON_EXT_SUFFIX=${PYTHON_EXT_SUFFIX} \
|
||||
PYTHON_VER=${PYTHON_VER} \
|
||||
PYTHON_VERSION=${PYTHON_VERSION}
|
||||
. if ${PYTHON_MAJOR_VER} < 3
|
||||
SUB_LIST+= PYTHON2="" PYTHON3="@comment "
|
||||
PLIST_SUB+= PYTHON2="" PYTHON3="@comment "
|
||||
. else
|
||||
SUB_LIST+= PYTHON2="@comment " PYTHON3=""
|
||||
PLIST_SUB+= PYTHON2="@comment " PYTHON3=""
|
||||
. endif
|
||||
|
||||
_USES_POST+= python
|
||||
.endif # _INCLUDE_USES_PYTHON_MK
|
||||
|
||||
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PYTHON_POST_MK)
|
||||
_INCLUDE_USES_PYTHON_POST_MK= yes
|
||||
|
||||
# py-distutils support
|
||||
PYDISTUTILS_CONFIGURE_TARGET?= config
|
||||
PYDISTUTILS_BUILD_TARGET?= build
|
||||
PYDISTUTILS_INSTALL_TARGET?= install
|
||||
|
||||
. if defined(_PYTHON_FEATURE_DISTUTILS)
|
||||
LDSHARED?= ${CC} -shared
|
||||
MAKE_ENV+= LDSHARED="${LDSHARED}" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE=
|
||||
|
||||
. if !target(do-configure) && !defined(HAS_CONFIGURE) && !defined(GNU_CONFIGURE)
|
||||
do-configure:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_CONFIGURE_TARGET} ${PYDISTUTILS_CONFIGUREARGS})
|
||||
. endif
|
||||
|
||||
. if !target(do-build)
|
||||
do-build:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS})
|
||||
. endif
|
||||
|
||||
. if !target(do-install)
|
||||
do-install:
|
||||
@(cd ${INSTALL_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS})
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_DISTUTILS)
|
||||
|
||||
. if defined(_PYTHON_FEATURE_PEP517)
|
||||
. if !empty(PEP517_BUILD_DEPEND)
|
||||
BUILD_DEPENDS+= ${PEP517_BUILD_DEPEND}
|
||||
. endif
|
||||
. if !empty(PEP517_INSTALL_DEPEND)
|
||||
BUILD_DEPENDS+= ${PEP517_INSTALL_DEPEND}
|
||||
. endif
|
||||
|
||||
. if !target(do-configure)
|
||||
do-configure:
|
||||
@${DO_NADA}
|
||||
. endif
|
||||
|
||||
. if !target(do-build)
|
||||
do-build:
|
||||
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PEP517_BUILD_CMD}
|
||||
. endif
|
||||
|
||||
. if !target(do-install)
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PEP517_INSTALL_CMD}
|
||||
@${PYTHON_CMD} -B ${PORTSDIR}/Mk/Scripts/strip_RECORD.py \
|
||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}.dist-info/RECORD >> ${_PYTHONPKGLIST}
|
||||
@${REINPLACE_CMD} -e 's|^|${PYTHONPREFIX_SITELIBDIR}/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../etc/|etc/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../bin/|bin/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../include/|include/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../lib/|lib/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libdata/|libdata/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../libexec/|libexec/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../man/|man/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../sbin/|sbin/|' \
|
||||
-e 's|^${PYTHONPREFIX_SITELIBDIR}/../../../share/|share/|' \
|
||||
${_PYTHONPKGLIST}
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_PEP517)
|
||||
|
||||
. if defined(_PYTHON_FEATURE_NOSE)
|
||||
. if !target(do-test)
|
||||
do-test:
|
||||
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose ${TEST_ARGS:NDESTDIR=*} -v
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_NOSE)
|
||||
|
||||
. if defined(_PYTHON_FEATURE_NOSE2)
|
||||
. if !target(do-test)
|
||||
do-test:
|
||||
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m nose2 ${TEST_ARGS:NDESTDIR=*} -v
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_NOSE2)
|
||||
|
||||
. if defined(_PYTHON_FEATURE_PYTEST) || defined(_PYTHON_FEATURE_PYTEST4)
|
||||
. if !target(do-test)
|
||||
do-test:
|
||||
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -k '${_PYTEST_FILTER_EXPRESSION}' -rs -v -o addopts= ${TEST_ARGS:NDESTDIR=*}
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_PYTEST) || defined(_PYTHON_FEATURE_PYTEST4)
|
||||
|
||||
. if defined(_PYTHON_FEATURE_UNITTEST)
|
||||
. if !target(do-test)
|
||||
do-test:
|
||||
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest ${TEST_ARGS:NDESTDIR=*} -v
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_UNITTEST)
|
||||
|
||||
. if defined(_PYTHON_FEATURE_UNITTEST2)
|
||||
. if !target(do-test)
|
||||
do-test:
|
||||
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest2 ${TEST_ARGS:NDESTDIR=*} -v
|
||||
. endif
|
||||
. endif # defined(_PYTHON_FEATURE_UNITTEST2)
|
||||
|
||||
.endif # defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_PYTHON_POST_MK)
|
||||
127
data/mongodb60/Makefile
Normal file
127
data/mongodb60/Makefile
Normal file
@@ -0,0 +1,127 @@
|
||||
PORTNAME= mongodb
|
||||
DISTVERSIONPREFIX= r
|
||||
DISTVERSION= 6.0.4
|
||||
CATEGORIES= databases net
|
||||
PKGNAMESUFFIX= ${DISTVERSION:R:S/.//}
|
||||
|
||||
PATCH_SITES= https://github.com/mongodb/mongo/commit/
|
||||
PATCHFILES= c419698b577f7924d2d6fc6bd3f7bd922f1d0dd7.patch:-p1
|
||||
|
||||
MAINTAINER= ronald@FreeBSD.org
|
||||
COMMENT= Distributed document-oriented "NoSQL" database (6.0.x Branch)
|
||||
WWW= https://docs.mongodb.com/v6.0/
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le
|
||||
ONLY_FOR_ARCHS_REASON= only ported to amd64, aarch64, and powerpc64le on FreeBSD; upstream supports arm64, ppc64le, s390x, and x86-64
|
||||
|
||||
#BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah3>0:devel/py-cheetah3@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR}
|
||||
# build depends used while running ${WRKSRC}/src/third_party/mozjs/gen-config.sh
|
||||
#BUILD_DEPENDS+= autoconf2.13:devel/autoconf2.13 \
|
||||
# gsed:textproc/gsed
|
||||
#LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
# libicuuc.so:devel/icu \
|
||||
# libpcre.so:devel/pcre \
|
||||
# libsnappy.so:archivers/snappy \
|
||||
# libstemmer.so:textproc/snowballstemmer \
|
||||
# libunwind.so:devel/libunwind \
|
||||
# libyaml-cpp.so:devel/yaml-cpp \
|
||||
# libzstd.so:archivers/zstd
|
||||
|
||||
USES= compiler:c++17-lang cpe python:build scons shebangfix
|
||||
# gmake is used while running ${WRKSRC}/src/third_party/mozjs/gen-config.sh
|
||||
USES+= gmake pkgconfig
|
||||
|
||||
# mozjs tag comes from ${WRKSRC}/src/third_party/mozjs/get-sources.sh
|
||||
MOZJS_TAG= 82aac6af18abcd5bf188afbc821779ccb0ca0902
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= mongodb mongodb-forks:mozjs
|
||||
GH_PROJECT= mongo spidermonkey:mozjs
|
||||
GH_TAGNAME= ${MOZJS_TAG}:mozjs
|
||||
USE_RC_SUBR= mongod
|
||||
|
||||
SHEBANG_FILES= buildscripts/scons.py
|
||||
python_OLD_CMD= @python_interpreter@
|
||||
|
||||
MAKE_ARGS= --cxx-std=17 \
|
||||
--disable-warnings-as-errors \
|
||||
--libc++ \
|
||||
--runtime-hardening=on \
|
||||
--use-system-icu \
|
||||
--use-system-libunwind \
|
||||
--use-system-pcre \
|
||||
--use-system-snappy \
|
||||
--use-system-stemmer \
|
||||
--use-system-yaml \
|
||||
--use-system-zlib \
|
||||
--use-system-zstd \
|
||||
-j${MAKE_JOBS_NUMBER} \
|
||||
AR=llvm-ar \
|
||||
MONGO_VERSION=${DISTVERSION} \
|
||||
VERBOSE=on
|
||||
|
||||
CONFLICTS_INSTALL= mongodb[0-9][0-9]
|
||||
|
||||
USERS= mongodb
|
||||
GROUPS= mongodb
|
||||
|
||||
MAKE_ARGS+= --lto=on
|
||||
MAKE_ARGS+= --ssl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSREL} == "12.3"
|
||||
IGNORE= does not compile on 12.3, libc++ too old
|
||||
.endif
|
||||
|
||||
ALL_TARGET= install-core
|
||||
|
||||
# This ports is only following the Major Release.
|
||||
# https://docs.mongodb.com/manual/reference/versioning/
|
||||
PORTSCOUT= limit:^6\.0\.
|
||||
|
||||
CPE_PRODUCT= mongodb
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
MOZJS_ARCH= x86_64
|
||||
.elif ${ARCH} == powerpc64le
|
||||
MOZJS_ARCH= ppc64le
|
||||
.elif ${ARCH} == aarch64
|
||||
MOZJS_ARCH= ${ARCH}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${RM} -rf ${WRKSRC}/src/third_party/icu4c-*
|
||||
${RM} -rf ${WRKSRC}/src/third_party/pcre-*
|
||||
${RM} -rf ${WRKSRC}/src/third_party/snappy-*
|
||||
${RM} -rf ${WRKSRC}/src/third_party/libstemmer_c
|
||||
${RM} -rf ${WRKSRC}/src/third_party/unwind
|
||||
${RM} -rf ${WRKSRC}/src/third_party/yaml-cpp
|
||||
${RM} -rf ${WRKSRC}/src/third_party/zlib-*
|
||||
${RM} -rf ${WRKSRC}/src/third_party/zstandard
|
||||
|
||||
do-configure:
|
||||
# Replacement of ${WRKSRC}/src/third_party/mozjs/get-sources.sh
|
||||
${LN} -sF ${WRKDIR}/spidermonkey-${MOZJS_TAG} ${WRKSRC}/src/third_party/mozjs/mozilla-release
|
||||
cd ${WRKSRC}/src/third_party/mozjs/mozilla-release/js/src && ${LOCALBASE}/bin/autoconf213
|
||||
cd ${WRKSRC}/src/third_party/mozjs && PYTHON3="${PYTHON_CMD}" ${SH} ./gen-config.sh ${MOZJS_ARCH} freebsd
|
||||
|
||||
do-build:
|
||||
${WRKSRC}/buildscripts/scons.py -C ${WRKSRC} ${MAKE_ARGS}
|
||||
|
||||
do-install:
|
||||
.for f in mongod mongos
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
|
||||
# ${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
#.for doc in LICENSE-Community.txt MPL-2 README THIRD-PARTY-NOTICES
|
||||
# ${MV} ${STAGEDIR}${PREFIX}/${doc} ${STAGEDIR}${DOCSDIR}/
|
||||
#.endfor
|
||||
${RM} ${STAGEDIR}${PREFIX}/bin/resmoke.py
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
7
data/mongodb60/distinfo
Normal file
7
data/mongodb60/distinfo
Normal file
@@ -0,0 +1,7 @@
|
||||
TIMESTAMP = 1676489889
|
||||
SHA256 (mongodb-mongo-r6.0.4_GH0.tar.gz) = 0fd0d08ed62ecaea0f40f0d382202a23f8d782c7b57837f1237f47be07b3b3d2
|
||||
SIZE (mongodb-mongo-r6.0.4_GH0.tar.gz) = 90579346
|
||||
SHA256 (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = a365bf54ef4e4fd6a136cf6afa9c620ba0c8982402473b9bfac38928a688a9e0
|
||||
SIZE (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = 141291901
|
||||
SHA256 (c419698b577f7924d2d6fc6bd3f7bd922f1d0dd7.patch) = b3cbdad3ec0cc251810a44da5bc89b055aae90d05075d695b7b3d440b063ade3
|
||||
SIZE (c419698b577f7924d2d6fc6bd3f7bd922f1d0dd7.patch) = 1122
|
||||
53
data/mongodb60/files/mongod.in
Normal file
53
data/mongodb60/files/mongod.in
Normal file
@@ -0,0 +1,53 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: mongod
|
||||
# REQUIRE: NETWORK ldconfig
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# mongod_enable (bool): Set to "NO" by default.
|
||||
# Set it to "YES" to enable mongod.
|
||||
# mongod_dbpath (str): Default to "/var/db/mongodb"
|
||||
# Base database directory.
|
||||
# mongod_flags (str): Custom additional arguments to be passed to mongod.
|
||||
# Default to "--logpath ${mongod_dbpath}/mongod.log --logappend".
|
||||
# mongod_config (str): Default to "%%PREFIX%%/etc/mongodb.conf"
|
||||
# Path to config file
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="mongod"
|
||||
rcvar=mongod_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mongod_enable="NO"}
|
||||
: ${mongod_dbpath="/var/db/mongodb"}
|
||||
: ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"}
|
||||
: ${mongod_user="mongodb"}
|
||||
: ${mongod_group="mongodb"}
|
||||
: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"}
|
||||
|
||||
pidfile="${mongod_dbpath}/mongod.lock"
|
||||
command=%%PREFIX%%/bin/${name}
|
||||
command_args="--config $mongod_config --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null"
|
||||
start_precmd="${name}_prestart"
|
||||
|
||||
mongod_create_dbpath()
|
||||
{
|
||||
mkdir ${mongod_dbpath} >/dev/null 2>/dev/null
|
||||
[ $? -eq 0 ] && chown -R ${mongod_user}:${mongod_group} ${mongod_dbpath}
|
||||
}
|
||||
|
||||
mongod_prestart()
|
||||
{
|
||||
if [ ! -d ${mongod_dbpath} ]; then
|
||||
mongod_create_dbpath || return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
44
data/mongodb60/files/patch-SConstruct
Normal file
44
data/mongodb60/files/patch-SConstruct
Normal file
@@ -0,0 +1,44 @@
|
||||
--- SConstruct.orig 2022-08-05 16:21:29 UTC
|
||||
+++ SConstruct
|
||||
@@ -1342,9 +1342,9 @@ if has_option('variables-help'):
|
||||
print(env_vars.GenerateHelpText(env))
|
||||
Exit(0)
|
||||
|
||||
-unknown_vars = env_vars.UnknownVariables()
|
||||
-if unknown_vars:
|
||||
- env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
|
||||
+#unknown_vars = env_vars.UnknownVariables()
|
||||
+#if unknown_vars:
|
||||
+# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
|
||||
|
||||
if get_option('install-action') != 'default' and get_option('ninja') != "disabled":
|
||||
env.FatalError("Cannot use non-default install actions when generating Ninja.")
|
||||
@@ -2427,13 +2427,12 @@ if env.TargetOSIs('posix'):
|
||||
# If runtime hardening is requested, then build anything
|
||||
# destined for an executable with the necessary flags for PIE.
|
||||
env.AppendUnique(
|
||||
- PROGCCFLAGS=['-fPIE'],
|
||||
+ PROGCCFLAGS=['-fpic'],
|
||||
PROGLINKFLAGS=['-pie'],
|
||||
)
|
||||
|
||||
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
|
||||
env.Append( CCFLAGS=["-fasynchronous-unwind-tables",
|
||||
- "-ggdb" if not env.TargetOSIs('emscripten') else "-g",
|
||||
"-Wall",
|
||||
"-Wsign-compare",
|
||||
"-Wno-unknown-pragmas",
|
||||
@@ -2600,8 +2599,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too
|
||||
# setting it for both C and C++ by setting both of CFLAGS and
|
||||
# CXXFLAGS.
|
||||
|
||||
+ arm_march_flag = "armv8-a"
|
||||
+ if get_option('use-hardware-crc32') == "on":
|
||||
+ arm_march_flag += "+crc"
|
||||
+
|
||||
default_targeting_flags_for_architecture = {
|
||||
- "aarch64" : { "-march=" : "armv8.2-a", "-mtune=" : "generic" },
|
||||
+ "aarch64" : { "-march=" : arm_march_flag, "-mtune=" : "generic" },
|
||||
"i386" : { "-march=" : "nocona", "-mtune=" : "generic" },
|
||||
"ppc64le" : { "-mcpu=" : "power8", "-mtune=" : "power8", "-mcmodel=" : "medium" },
|
||||
"s390x" : { "-march=" : "z196", "-mtune=" : "zEC12" },
|
||||
21
data/mongodb60/files/patch-boost179-link-fix
Normal file
21
data/mongodb60/files/patch-boost179-link-fix
Normal file
@@ -0,0 +1,21 @@
|
||||
--- SConstruct
|
||||
+++ SConstruct
|
||||
@@ -3511,17 +3511,11 @@ def doConfigure(myenv):
|
||||
"BOOST_LOG_NO_SHORTHAND_NAMES",
|
||||
"BOOST_LOG_USE_NATIVE_SYSLOG",
|
||||
"BOOST_LOG_WITHOUT_THREAD_ATTR",
|
||||
+ "BOOST_LOG_DYN_LINK",
|
||||
"ABSL_FORCE_ALIGNED_ACCESS",
|
||||
]
|
||||
)
|
||||
|
||||
- if link_model.startswith("dynamic") and not link_model == 'dynamic-sdk':
|
||||
- conf.env.AppendUnique(
|
||||
- CPPDEFINES=[
|
||||
- "BOOST_LOG_DYN_LINK",
|
||||
- ]
|
||||
- )
|
||||
-
|
||||
if use_system_version_of_library("boost"):
|
||||
if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ):
|
||||
myenv.ConfError("can't find boost headers")
|
||||
108
data/mongodb60/files/patch-boost179-system-compat-fix
Normal file
108
data/mongodb60/files/patch-boost179-system-compat-fix
Normal file
@@ -0,0 +1,108 @@
|
||||
diff --git a/src/mongo/db/auth/security_key_test.cpp b/src/mongo/db/auth/security_key_test.cpp
|
||||
index 96f95829..e64aded8 100644
|
||||
--- src/mongo/db/auth/security_key_test.cpp
|
||||
+++ src/mongo/db/auth/security_key_test.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "mongo/platform/basic.h"
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
|
||||
#include "mongo/base/string_data.h"
|
||||
#include "mongo/db/auth/authorization_manager.h"
|
||||
diff --git a/src/mongo/db/repl/tenant_migration_shard_merge_util.cpp b/src/mongo/db/repl/tenant_migration_shard_merge_util.cpp
|
||||
index 05779a48..011c49e7 100644
|
||||
--- src/mongo/db/repl/tenant_migration_shard_merge_util.cpp
|
||||
+++ src/mongo/db/repl/tenant_migration_shard_merge_util.cpp
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "mongo/db/repl/tenant_migration_shard_merge_util.h"
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <fmt/format.h>
|
||||
diff --git a/src/mongo/db/storage/storage_repair_observer.cpp b/src/mongo/db/storage/storage_repair_observer.cpp
|
||||
index 22b76a6a..ec5bcece 100644
|
||||
--- src/mongo/db/storage/storage_repair_observer.cpp
|
||||
+++ src/mongo/db/storage/storage_repair_observer.cpp
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
||||
#include "mongo/db/dbhelpers.h"
|
||||
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
|
||||
index 2c5a6ed5..6c98c384 100644
|
||||
--- src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
|
||||
+++ src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "mongo/db/storage/wiredtiger/wiredtiger_kv_engine.h"
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <boost/system/error_code.hpp>
|
||||
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
|
||||
index 9917d95e..c4073444 100644
|
||||
--- src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
|
||||
+++ src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "mongo/db/storage/kv/kv_engine_test_harness.h"
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <memory>
|
||||
|
||||
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
|
||||
index de31ec10..c29fbd33 100644
|
||||
--- src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
|
||||
+++ src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <limits>
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
|
||||
#include "mongo/base/simple_string_data_comparator.h"
|
||||
diff --git a/src/mongo/shell/shell_utils_extended.cpp b/src/mongo/shell/shell_utils_extended.cpp
|
||||
index 6cd6dc6e..318d6a8d 100644
|
||||
--- src/mongo/shell/shell_utils_extended.cpp
|
||||
+++ src/mongo/shell/shell_utils_extended.cpp
|
||||
@@ -37,6 +37,7 @@
|
||||
#endif
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <fmt/format.h>
|
||||
#include <fstream>
|
||||
|
||||
diff --git a/src/mongo/util/processinfo_linux.cpp b/src/mongo/util/processinfo_linux.cpp
|
||||
index 37e3d2ea..9027110d 100644
|
||||
--- src/mongo/util/processinfo_linux.cpp
|
||||
+++ src/mongo/util/processinfo_linux.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <iostream>
|
||||
#include <malloc.h>
|
||||
#include <pcrecpp.h>
|
||||
+#include <fstream>
|
||||
#include <sched.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/mman.h>
|
||||
diff --git a/src/mongo/util/stacktrace_threads.cpp b/src/mongo/util/stacktrace_threads.cpp
|
||||
index d7157d0e..3aca6357 100644
|
||||
--- src/mongo/util/stacktrace_threads.cpp
|
||||
+++ src/mongo/util/stacktrace_threads.cpp
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
#include <boost/filesystem.hpp>
|
||||
+#include <boost/filesystem/fstream.hpp>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <dirent.h>
|
||||
25
data/mongodb60/files/patch-buildscripts_scons.py
Normal file
25
data/mongodb60/files/patch-buildscripts_scons.py
Normal file
@@ -0,0 +1,25 @@
|
||||
--- buildscripts/scons.py.orig 2021-08-23 09:10:10 UTC
|
||||
+++ buildscripts/scons.py
|
||||
@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
|
||||
|
||||
sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
|
||||
|
||||
-# pylint: disable=C0413
|
||||
-from mongo.pip_requirements import verify_requirements, MissingRequirements
|
||||
-
|
||||
-try:
|
||||
- verify_requirements('etc/pip/compile-requirements.txt')
|
||||
-except MissingRequirements as ex:
|
||||
- print(ex)
|
||||
- sys.exit(1)
|
||||
+## pylint: disable=C0413
|
||||
+#from mongo.pip_requirements import verify_requirements, MissingRequirements
|
||||
+#
|
||||
+#try:
|
||||
+# verify_requirements('etc/pip/compile-requirements.txt')
|
||||
+#except MissingRequirements as ex:
|
||||
+# print(ex)
|
||||
+# sys.exit(1)
|
||||
|
||||
try:
|
||||
import SCons.Script
|
||||
25
data/mongodb60/files/patch-rpm_mongod.conf
Normal file
25
data/mongodb60/files/patch-rpm_mongod.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
--- rpm/mongod.conf.orig 2019-08-08 20:06:23 UTC
|
||||
+++ rpm/mongod.conf
|
||||
@@ -7,11 +7,11 @@
|
||||
systemLog:
|
||||
destination: file
|
||||
logAppend: true
|
||||
- path: /var/log/mongodb/mongod.log
|
||||
+ path: /var/db/mongodb/mongod.log
|
||||
|
||||
# Where and how to store data.
|
||||
storage:
|
||||
- dbPath: /var/lib/mongo
|
||||
+ dbPath: /var/db/mongodb
|
||||
journal:
|
||||
enabled: true
|
||||
# engine:
|
||||
@@ -20,7 +20,7 @@ storage:
|
||||
# how the process runs
|
||||
processManagement:
|
||||
fork: true # fork and run in background
|
||||
- pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
|
||||
+ pidFilePath: /var/db/mongodb/mongod.lock # location of pidfile
|
||||
timeZoneInfo: /usr/share/zoneinfo
|
||||
|
||||
# network interfaces
|
||||
11
data/mongodb60/files/patch-src_mongo_db_fts_stemmer.h
Normal file
11
data/mongodb60/files/patch-src_mongo_db_fts_stemmer.h
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/mongo/db/fts/stemmer.h.orig 2022-09-26 08:31:59 UTC
|
||||
+++ src/mongo/db/fts/stemmer.h
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "mongo/base/string_data.h"
|
||||
#include "mongo/db/fts/fts_language.h"
|
||||
-#include "third_party/libstemmer_c/include/libstemmer.h"
|
||||
+#include "libstemmer.h"
|
||||
|
||||
namespace mongo {
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
--- src/mongo/platform/process_id.cpp.orig 2021-03-26 23:29:14 UTC
|
||||
+++ src/mongo/platform/process_id.cpp
|
||||
@@ -35,6 +35,10 @@
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#include <pthread_np.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(__linux__)
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/types.h>
|
||||
@@ -72,6 +76,10 @@ inline NativeProcessId getCurrentNativeThreadId() {
|
||||
uint64_t tid;
|
||||
invariant(::pthread_threadid_np(NULL, &tid) == 0);
|
||||
return tid;
|
||||
+}
|
||||
+#elif __FreeBSD__
|
||||
+inline NativeProcessId getCurrentNativeThreadId() {
|
||||
+ return pthread_getthreadid_np();
|
||||
}
|
||||
#else
|
||||
inline NativeProcessId getCurrentNativeThreadId() {
|
||||
@@ -0,0 +1,30 @@
|
||||
--- src/third_party/mozjs/gen-config.sh.orig 2022-08-05 16:21:29 UTC
|
||||
+++ src/third_party/mozjs/gen-config.sh
|
||||
@@ -29,6 +29,9 @@ case "$_Path" in
|
||||
}
|
||||
|
||||
case "$_Path" in
|
||||
+ "platform/aarch64/freebsd")
|
||||
+ _CONFIG_OPTS="--host=aarch64-freebsd"
|
||||
+ ;;
|
||||
"platform/aarch64/linux")
|
||||
_CONFIG_OPTS="--host=aarch64-linux"
|
||||
;;
|
||||
@@ -108,7 +111,7 @@ CFLAGS="$CFLAGS -D__STDC_FORMAT_MACROS" \
|
||||
--disable-js-shell \
|
||||
--disable-tests "$_CONFIG_OPTS"
|
||||
|
||||
-make recurse_export
|
||||
+gmake recurse_export
|
||||
|
||||
cd ../../../..
|
||||
|
||||
@@ -159,7 +162,7 @@ find "$_Path/build" -name '*.cpp' |
|
||||
find "$_Path/build" -name '*.cpp' |
|
||||
while read unified_file ; do
|
||||
echo "Processing $unified_file"
|
||||
- sed $SEDOPTION \
|
||||
+ gsed $SEDOPTION \
|
||||
-e 's|#include ".*/js/src/|#include "|' \
|
||||
-e 's|#error ".*/js/src/|#error "|' \
|
||||
"$unified_file"
|
||||
@@ -0,0 +1,14 @@
|
||||
--- src/third_party/mozjs/get-sources.sh.orig 2022-09-08 09:53:27 UTC
|
||||
+++ src/third_party/mozjs/get-sources.sh
|
||||
@@ -12,9 +12,9 @@ LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey
|
||||
LIB_GIT_REVISION=82aac6af18abcd5bf188afbc821779ccb0ca0902
|
||||
LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey.git
|
||||
|
||||
-DEST_DIR=$(git rev-parse --show-toplevel)/src/third_party/mozjs
|
||||
+DEST_DIR=$(realpath .)
|
||||
|
||||
-LIB_GIT_DIR=$(mktemp -d /tmp/import-spidermonkey.XXXXXX)
|
||||
+LIB_GIT_DIR=$(mktemp -d /var/tmp/import-spidermonkey.XXXXXX)
|
||||
trap "rm -rf $LIB_GIT_DIR" EXIT
|
||||
|
||||
git clone $LIB_GIT_REPO $LIB_GIT_DIR
|
||||
3
data/mongodb60/pkg-descr
Normal file
3
data/mongodb60/pkg-descr
Normal file
@@ -0,0 +1,3 @@
|
||||
Mongo (from "humongous") is a high-performance, open source,
|
||||
schema-free, document-oriented database. A common name in the
|
||||
"NOSQL" community.
|
||||
3
data/mongodb60/pkg-plist
Normal file
3
data/mongodb60/pkg-plist
Normal file
@@ -0,0 +1,3 @@
|
||||
bin/mongod
|
||||
bin/mongos
|
||||
@sample etc/mongodb.conf.sample
|
||||
@@ -13,82 +13,6 @@ USES= go:modules
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= xo
|
||||
GO_BUILDFLAGS+= -tags 'postgres mysql vertica sqlite3 clickhouse'
|
||||
GH_TUPLE= \
|
||||
ClickHouse:clickhouse-go:v1.3.13:clickhouse_clickhouse_go/vendor/github.com/ClickHouse/clickhouse-go \
|
||||
Masterminds:semver:v1.5.0:masterminds_semver/vendor/github.com/Masterminds/semver \
|
||||
MichaelS11:go-cql-driver:cf3b3196aa43:michaels11_go_cql_driver/vendor/github.com/MichaelS11/go-cql-driver \
|
||||
SAP:go-hdb:v0.14.1:sap_go_hdb/vendor/github.com/SAP/go-hdb \
|
||||
VoltDB:voltdb-client-go:v1.0.1:voltdb_voltdb_client_go/vendor/github.com/VoltDB/voltdb-client-go \
|
||||
alecthomas:chroma:v0.7.1:alecthomas_chroma/vendor/github.com/alecthomas/chroma \
|
||||
alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/github.com/alecthomas/kingpin \
|
||||
alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \
|
||||
alecthomas:units:f65c72e2690d:alecthomas_units/vendor/github.com/alecthomas/units \
|
||||
alexbrainman:odbc:cf37ce290779:alexbrainman_odbc/vendor/github.com/alexbrainman/odbc \
|
||||
amsokol:ignite-go-client:v0.12.2:amsokol_ignite_go_client/vendor/github.com/amsokol/ignite-go-client \
|
||||
apache:calcite-avatica-go:v4.0.0:apache_calcite_avatica_go/vendor/github.com/apache/calcite-avatica-go/v4 \
|
||||
cloudflare:golz4:ef862a3cdc58:cloudflare_golz4/vendor/github.com/cloudflare/golz4 \
|
||||
couchbase:go-couchbase:b2754d72cc98:couchbase_go_couchbase/vendor/github.com/couchbase/go-couchbase \
|
||||
couchbase:go_n1ql:6cf4e348b127:couchbase_go_n1ql/vendor/github.com/couchbase/go_n1ql \
|
||||
couchbase:gomemcached:2b26ed9d054e:couchbase_gomemcached/vendor/github.com/couchbase/gomemcached \
|
||||
couchbase:goutils:b49639060d85:couchbase_goutils/vendor/github.com/couchbase/goutils \
|
||||
cznic:mathutil:297441e03548:cznic_mathutil/vendor/github.com/cznic/mathutil \
|
||||
danwakefield:fnmatch:cbb64ac3d964:danwakefield_fnmatch/vendor/github.com/danwakefield/fnmatch \
|
||||
denisenkom:go-mssqldb:1d7a30a10f73:denisenkom_go_mssqldb/vendor/github.com/denisenkom/go-mssqldb \
|
||||
dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
|
||||
dlclark:regexp2:v1.2.0:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \
|
||||
edsrzf:mmap-go:v1.0.0:edsrzf_mmap_go/vendor/github.com/edsrzf/mmap-go \
|
||||
go-inf:inf:v0.9.1:go_inf_inf/vendor/gopkg.in/inf.v0 \
|
||||
go-ole:go-ole:v1.2.4:go_ole_go_ole/vendor/github.com/go-ole/go-ole \
|
||||
go-sql-driver:mysql:v1.5.0:go_sql_driver_mysql/vendor/github.com/go-sql-driver/mysql \
|
||||
gocql:gocql:68f928edb90a:gocql_gocql/vendor/github.com/gocql/gocql \
|
||||
godror:godror:v0.10.3:godror_godror/vendor/github.com/godror/godror \
|
||||
gohxs:readline:a780388e6e7c:gohxs_readline/vendor/github.com/gohxs/readline \
|
||||
golang-sql:civil:cb61b32ac6fe:golang_sql_civil/vendor/github.com/golang-sql/civil \
|
||||
golang:crypto:61a87790db17:golang_crypto/vendor/golang.org/x/crypto \
|
||||
golang:glog:23def4e6c14b:golang_glog/vendor/github.com/golang/glog \
|
||||
golang:net:c0dbc17a3553:golang_net/vendor/golang.org/x/net \
|
||||
golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \
|
||||
golang:snappy:v0.0.1:golang_snappy/vendor/github.com/golang/snappy \
|
||||
golang:sys:548cf772de50:golang_sys/vendor/golang.org/x/sys \
|
||||
golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
|
||||
golang:xerrors:9bdfabe68543:golang_xerrors/vendor/golang.org/x/xerrors \
|
||||
google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \
|
||||
hailocab:go-hostpool:e80d13ce29ed:hailocab_go_hostpool/vendor/github.com/hailocab/go-hostpool \
|
||||
hashicorp:go-uuid:v1.0.2:hashicorp_go_uuid/vendor/github.com/hashicorp/go-uuid \
|
||||
jackc:pgx:v3.6.1:jackc_pgx/vendor/github.com/jackc/pgx \
|
||||
jcmturner:aescts:v1.0.1:jcmturner_aescts/vendor/gopkg.in/jcmturner/aescts.v1 \
|
||||
jcmturner:dnsutils:v1.0.1:jcmturner_dnsutils/vendor/gopkg.in/jcmturner/dnsutils.v1 \
|
||||
jcmturner:gofork:v1.0.0:jcmturner_gofork/vendor/github.com/jcmturner/gofork \
|
||||
jcmturner:goidentity:v3.0.0:jcmturner_goidentity/vendor/gopkg.in/jcmturner/goidentity.v3 \
|
||||
jcmturner:gokrb5:v6.1.1:jcmturner_gokrb5/vendor/gopkg.in/jcmturner/gokrb5.v6 \
|
||||
jcmturner:gokrb5:v7.3.0:jcmturner_gokrb5_1/vendor/gopkg.in/jcmturner/gokrb5.v7 \
|
||||
jcmturner:rpc:v1.1.0:jcmturner_rpc/vendor/gopkg.in/jcmturner/rpc.v1 \
|
||||
kardianos:osext:2bc1f35cddc0:kardianos_osext/vendor/github.com/kardianos/osext \
|
||||
lib:pq:v1.3.0:lib_pq/vendor/github.com/lib/pq \
|
||||
mattn:go-adodb:v0.0.1:mattn_go_adodb/vendor/github.com/mattn/go-adodb \
|
||||
mattn:go-isatty:v0.0.11:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
|
||||
mattn:go-runewidth:v0.0.7:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
|
||||
mattn:go-sqlite3:v2.0.2:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
|
||||
nakagami:firebirdsql:8048f7ca3088:nakagami_firebirdsql/vendor/github.com/nakagami/firebirdsql \
|
||||
pkg:browser:0a3d74bf9ce4:pkg_browser/vendor/github.com/pkg/browser \
|
||||
pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \
|
||||
prestodb:presto-go-client:4980913e2459:prestodb_presto_go_client/vendor/github.com/prestodb/presto-go-client \
|
||||
remyoudompheng:bigfft:6a916e37a237:remyoudompheng_bigfft/vendor/github.com/remyoudompheng/bigfft \
|
||||
shopspring:decimal:408a2507e114:shopspring_decimal/vendor/github.com/shopspring/decimal \
|
||||
snowflakedb:gosnowflake:v1.3.4:snowflakedb_gosnowflake/vendor/github.com/snowflakedb/gosnowflake \
|
||||
spaolacci:murmur3:v1.1.0:spaolacci_murmur3/vendor/github.com/spaolacci/murmur3 \
|
||||
thda:tds:v0.1.7:thda_tds/vendor/github.com/thda/tds \
|
||||
vertica:vertica-sql-go:v0.1.6:vertica_vertica_sql_go/vendor/github.com/vertica/vertica-sql-go \
|
||||
xinsnake:go-http-digest-auth-client:v0.4.0:xinsnake_go_http_digest_auth_client/vendor/github.com/xinsnake/go-http-digest-auth-client \
|
||||
xo:dburl:3cca8608d645:xo_dburl/vendor/github.com/xo/dburl \
|
||||
xo:tblfmt:4c686ae34009:xo_tblfmt/vendor/github.com/xo/tblfmt \
|
||||
xo:terminfo:1a4775eeeb62:xo_terminfo/vendor/github.com/xo/terminfo \
|
||||
xo:xoutil:46189f4026a5:xo_xoutil/vendor/github.com/xo/xoutil \
|
||||
zaf:temp:94e385923345:zaf_temp/vendor/github.com/zaf/temp \
|
||||
ziutek:mymysql:v1.5.4:ziutek_mymysql/vendor/github.com/ziutek/mymysql
|
||||
USE_GITLAB= nodefault
|
||||
GL_TUPLE= \
|
||||
nyarla:go-crypt:d9a5dc2b789bc330075d4b805d9b7c971f2865a1:nyarla_go_crypt/vendor/gitlab.com/nyarla/go-crypt
|
||||
|
||||
PLIST_FILES= bin/usql
|
||||
|
||||
|
||||
@@ -1,149 +1,3 @@
|
||||
TIMESTAMP = 1578809753
|
||||
TIMESTAMP = 1678617670
|
||||
SHA256 (xo-usql-v0.7.8_GH0.tar.gz) = d8d07324afe2478068f99b79e35ad5f5c06fa0e0051504cff5bce592ee75c6c2
|
||||
SIZE (xo-usql-v0.7.8_GH0.tar.gz) = 98725
|
||||
SHA256 (ClickHouse-clickhouse-go-v1.3.13_GH0.tar.gz) = 11fb4b25fb468ca0bf56d5295dbfd49a29c5d5ec733d98dcebb868b4e4319d1e
|
||||
SIZE (ClickHouse-clickhouse-go-v1.3.13_GH0.tar.gz) = 694738
|
||||
SHA256 (Masterminds-semver-v1.5.0_GH0.tar.gz) = c9140eddfb03dc862f826e7761561260b9a840afa7519cc0919e89a43b5be5ba
|
||||
SIZE (Masterminds-semver-v1.5.0_GH0.tar.gz) = 21188
|
||||
SHA256 (MichaelS11-go-cql-driver-cf3b3196aa43_GH0.tar.gz) = 62f739f595930fb7c3e0eacc5de1c921a210cb41e9cd3242d34ba13b64bacabb
|
||||
SIZE (MichaelS11-go-cql-driver-cf3b3196aa43_GH0.tar.gz) = 12320
|
||||
SHA256 (SAP-go-hdb-v0.14.1_GH0.tar.gz) = 658e2892acd241ffa8cb15bd20f39e12ab7577fbc45989753b7fbc428d10e099
|
||||
SIZE (SAP-go-hdb-v0.14.1_GH0.tar.gz) = 75239
|
||||
SHA256 (VoltDB-voltdb-client-go-v1.0.1_GH0.tar.gz) = 93033813ddbad8a81bc2ef750fe506d3edf5a15c24150839c43be0294c909335
|
||||
SIZE (VoltDB-voltdb-client-go-v1.0.1_GH0.tar.gz) = 8763312
|
||||
SHA256 (alecthomas-chroma-v0.7.1_GH0.tar.gz) = 962d3f29a445b07ad86bb596f447d9dd572da5073ac99c10eef4066580aa1d26
|
||||
SIZE (alecthomas-chroma-v0.7.1_GH0.tar.gz) = 597331
|
||||
SHA256 (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 4624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a
|
||||
SIZE (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 44383
|
||||
SHA256 (alecthomas-template-fb15b899a751_GH0.tar.gz) = 2e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e
|
||||
SIZE (alecthomas-template-fb15b899a751_GH0.tar.gz) = 55339
|
||||
SHA256 (alecthomas-units-f65c72e2690d_GH0.tar.gz) = ece06024b01821e013bd7158dfe8ec8cc697f586ce8d3cfaa22edde8c2f022c3
|
||||
SIZE (alecthomas-units-f65c72e2690d_GH0.tar.gz) = 4925
|
||||
SHA256 (alexbrainman-odbc-cf37ce290779_GH0.tar.gz) = 89228a2aa1d9a0cc82b56df378a9d31bf35d356303168f1943c41b245c1e9f79
|
||||
SIZE (alexbrainman-odbc-cf37ce290779_GH0.tar.gz) = 31020
|
||||
SHA256 (amsokol-ignite-go-client-v0.12.2_GH0.tar.gz) = 0a887d7ec94481bf1a65f83404a814760aad7e6d66dc4433963b7067a662384d
|
||||
SIZE (amsokol-ignite-go-client-v0.12.2_GH0.tar.gz) = 61607
|
||||
SHA256 (apache-calcite-avatica-go-v4.0.0_GH0.tar.gz) = 2338c0b38ba7da6836f62359cdef7ba2718b6d5e99af30cd824ab39d24a90f7a
|
||||
SIZE (apache-calcite-avatica-go-v4.0.0_GH0.tar.gz) = 146937
|
||||
SHA256 (cloudflare-golz4-ef862a3cdc58_GH0.tar.gz) = 324ef2685faede75c6ea0c8fde73d31bc411b0ac604e999d32de9bf7a8fb8147
|
||||
SIZE (cloudflare-golz4-ef862a3cdc58_GH0.tar.gz) = 28881
|
||||
SHA256 (couchbase-go-couchbase-b2754d72cc98_GH0.tar.gz) = d1a63f8d7f0497910b96868cd6469d92c26f9b02563cbd33e567ab4ad037c5cb
|
||||
SIZE (couchbase-go-couchbase-b2754d72cc98_GH0.tar.gz) = 87963
|
||||
SHA256 (couchbase-go_n1ql-6cf4e348b127_GH0.tar.gz) = f1f8d9aa53c6b8f1010d60438fab555831d29092040a75709576705710f170a3
|
||||
SIZE (couchbase-go_n1ql-6cf4e348b127_GH0.tar.gz) = 16698
|
||||
SHA256 (couchbase-gomemcached-2b26ed9d054e_GH0.tar.gz) = d0f7c07b56825cf1a146ba172536ba711c88edc06f278554386d0ad8b93533e9
|
||||
SIZE (couchbase-gomemcached-2b26ed9d054e_GH0.tar.gz) = 53055
|
||||
SHA256 (couchbase-goutils-b49639060d85_GH0.tar.gz) = ac3d918caefc6b678d1f0092d9254771a5a37a0ca9a9400a17a4f57662372962
|
||||
SIZE (couchbase-goutils-b49639060d85_GH0.tar.gz) = 14900
|
||||
SHA256 (cznic-mathutil-297441e03548_GH0.tar.gz) = 21e86f2a091ef45f38cb4b964e006702a140a96b3f48dd15725be2d14e01c682
|
||||
SIZE (cznic-mathutil-297441e03548_GH0.tar.gz) = 117969
|
||||
SHA256 (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 7ebff38d382142f9220d2cfcb4731d0ae90cdef71238c94a15c35f8aa746007f
|
||||
SIZE (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 4955
|
||||
SHA256 (denisenkom-go-mssqldb-1d7a30a10f73_GH0.tar.gz) = b7a627b0bdd269ab24e623ebe32996c75eb1ccac34c3b1d2638764666556f3cd
|
||||
SIZE (denisenkom-go-mssqldb-1d7a30a10f73_GH0.tar.gz) = 514724
|
||||
SHA256 (dgrijalva-jwt-go-v3.2.0_GH0.tar.gz) = 197465ef53219f3aeb1a6940b70e16d288fe4e4108d4831b91ea101118440e63
|
||||
SIZE (dgrijalva-jwt-go-v3.2.0_GH0.tar.gz) = 36960
|
||||
SHA256 (dlclark-regexp2-v1.2.0_GH0.tar.gz) = 9b4d25630d0ce86bcd518d79ce47365a84c7c75de2334b2708f1bddcc1df47fe
|
||||
SIZE (dlclark-regexp2-v1.2.0_GH0.tar.gz) = 204926
|
||||
SHA256 (edsrzf-mmap-go-v1.0.0_GH0.tar.gz) = 49c502c28de1e36f12005a70543ae62e15dcd85565572df4e973beb5812587bf
|
||||
SIZE (edsrzf-mmap-go-v1.0.0_GH0.tar.gz) = 5463
|
||||
SHA256 (go-inf-inf-v0.9.1_GH0.tar.gz) = 756e00e87207cb063d305b6e38bf56dba4d76586fbe40b7d6b657d22516d0f71
|
||||
SIZE (go-inf-inf-v0.9.1_GH0.tar.gz) = 13072
|
||||
SHA256 (go-ole-go-ole-v1.2.4_GH0.tar.gz) = 1f30df494ffc50c133c5f276f64c94820046b1a3a660c0cca49a5c3a8106db11
|
||||
SIZE (go-ole-go-ole-v1.2.4_GH0.tar.gz) = 51655
|
||||
SHA256 (go-sql-driver-mysql-v1.5.0_GH0.tar.gz) = 9d98b46623037447a26a51a203540bf605b6e6220d31f2efc7396242fcb660b5
|
||||
SIZE (go-sql-driver-mysql-v1.5.0_GH0.tar.gz) = 90474
|
||||
SHA256 (gocql-gocql-68f928edb90a_GH0.tar.gz) = 4139e480f134d2c0a77bcb3a9b35f7b6fd055bc932bfa47b1af05780b83de5b4
|
||||
SIZE (gocql-gocql-68f928edb90a_GH0.tar.gz) = 189196
|
||||
SHA256 (godror-godror-v0.10.3_GH0.tar.gz) = 755358cca0aff9226e8b393c297361fdaadc5d38d9366b59e2d54b50398c309a
|
||||
SIZE (godror-godror-v0.10.3_GH0.tar.gz) = 271501
|
||||
SHA256 (gohxs-readline-a780388e6e7c_GH0.tar.gz) = 7a73f99a8f408b7757fa52835bcd8d645d54e2482cf173803c3deff13c7619db
|
||||
SIZE (gohxs-readline-a780388e6e7c_GH0.tar.gz) = 942307
|
||||
SHA256 (golang-sql-civil-cb61b32ac6fe_GH0.tar.gz) = ebc100d46719b1374b59e59bc63baffaec6a2bface5b0d519024f43c097cdc3e
|
||||
SIZE (golang-sql-civil-cb61b32ac6fe_GH0.tar.gz) = 8359
|
||||
SHA256 (golang-crypto-61a87790db17_GH0.tar.gz) = b5694ca235d814b0af90dc373bda9e8c552f4e86a53280b9115769aaf231e323
|
||||
SIZE (golang-crypto-61a87790db17_GH0.tar.gz) = 1717558
|
||||
SHA256 (golang-glog-23def4e6c14b_GH0.tar.gz) = 528b6072aa1c5dc69325bd6f057940ba8908703542ec5689b64b98e72c48588b
|
||||
SIZE (golang-glog-23def4e6c14b_GH0.tar.gz) = 19660
|
||||
SHA256 (golang-net-c0dbc17a3553_GH0.tar.gz) = 67e59dfe55231f9a28b167c6b77d897ad503e599b60e0eec16a677a0c641bb93
|
||||
SIZE (golang-net-c0dbc17a3553_GH0.tar.gz) = 1172293
|
||||
SHA256 (golang-protobuf-v1.3.2_GH0.tar.gz) = c9cda622857a17cf0877c5ba76688a931883e505f40744c9495638b6e3da1f65
|
||||
SIZE (golang-protobuf-v1.3.2_GH0.tar.gz) = 312285
|
||||
SHA256 (golang-snappy-v0.0.1_GH0.tar.gz) = b1d97f47fcb61cb0cdd54bc424eda980c47838effb0ec9e322506514a50fee85
|
||||
SIZE (golang-snappy-v0.0.1_GH0.tar.gz) = 62605
|
||||
SHA256 (golang-sys-548cf772de50_GH0.tar.gz) = 30aaa857b02a94397ffc55bf3e8adbe6f4757f522634aa2982391f04392ed2a6
|
||||
SIZE (golang-sys-548cf772de50_GH0.tar.gz) = 1534384
|
||||
SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
|
||||
SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
|
||||
SHA256 (golang-xerrors-9bdfabe68543_GH0.tar.gz) = 54bb4d99e6cba2e3e5331d064f46640cc01a0e630ee6a684ae810bd94a7e4eb7
|
||||
SIZE (golang-xerrors-9bdfabe68543_GH0.tar.gz) = 13657
|
||||
SHA256 (google-uuid-v1.1.1_GH0.tar.gz) = bebd4b0b4ea152a9793615ef23c83f688876d8c284a2092264d20a4bf4ffc423
|
||||
SIZE (google-uuid-v1.1.1_GH0.tar.gz) = 13543
|
||||
SHA256 (hailocab-go-hostpool-e80d13ce29ed_GH0.tar.gz) = c757c20d1397898e890ed61eb5e5c0ae21a3e5f1f9b290c7ea45c68c2f34b7ac
|
||||
SIZE (hailocab-go-hostpool-e80d13ce29ed_GH0.tar.gz) = 7028
|
||||
SHA256 (hashicorp-go-uuid-v1.0.2_GH0.tar.gz) = 2dee0f810c3e3a2cd3d49a075d0a64a88806c90712a4b66013b20a1ff0562eae
|
||||
SIZE (hashicorp-go-uuid-v1.0.2_GH0.tar.gz) = 7058
|
||||
SHA256 (jackc-pgx-v3.6.1_GH0.tar.gz) = f448155e8d7d85fac1dd1e8f8103bb5e0ed83bdfac79999db98c7cb80bdd1cc3
|
||||
SIZE (jackc-pgx-v3.6.1_GH0.tar.gz) = 207379
|
||||
SHA256 (jcmturner-aescts-v1.0.1_GH0.tar.gz) = 89d8aa45b05c9cd5e66c40a5c4f3a5224dbf9632d1fd1e27d05f2ad26effae32
|
||||
SIZE (jcmturner-aescts-v1.0.1_GH0.tar.gz) = 7311
|
||||
SHA256 (jcmturner-dnsutils-v1.0.1_GH0.tar.gz) = 9781a79a5b46e6ad245d238d1be1b37d8eab9ca9e57edb575ef0af158adeeefb
|
||||
SIZE (jcmturner-dnsutils-v1.0.1_GH0.tar.gz) = 6346
|
||||
SHA256 (jcmturner-gofork-v1.0.0_GH0.tar.gz) = d85188110837abd563dca4d9013665f82348a541beb47ee08207e70a161c9755
|
||||
SIZE (jcmturner-gofork-v1.0.0_GH0.tar.gz) = 27036
|
||||
SHA256 (jcmturner-goidentity-v3.0.0_GH0.tar.gz) = 599b4fc0a2bba638d30c6fbf6748024080221f72d845aedfcfb207dd39ede948
|
||||
SIZE (jcmturner-goidentity-v3.0.0_GH0.tar.gz) = 5759
|
||||
SHA256 (jcmturner-gokrb5-v6.1.1_GH0.tar.gz) = 75203e65794638fc749e23f3d9063ea8b33b3cec60273b2f1006d676028e1b4f
|
||||
SIZE (jcmturner-gokrb5-v6.1.1_GH0.tar.gz) = 55011044
|
||||
SHA256 (jcmturner-gokrb5-v7.3.0_GH0.tar.gz) = 6b75c7c08c595780945813c25097fca435ee0714c7fbfbca8beec8796013a2cd
|
||||
SIZE (jcmturner-gokrb5-v7.3.0_GH0.tar.gz) = 55024800
|
||||
SHA256 (jcmturner-rpc-v1.1.0_GH0.tar.gz) = 4ec57839cacb49d87fe22d4ee4286daf4944808d9af09739d218c62255f364b7
|
||||
SIZE (jcmturner-rpc-v1.1.0_GH0.tar.gz) = 28845
|
||||
SHA256 (kardianos-osext-2bc1f35cddc0_GH0.tar.gz) = c032455620be4be434428bfe5b73679ccd7c01f402607c45204d233ce8923309
|
||||
SIZE (kardianos-osext-2bc1f35cddc0_GH0.tar.gz) = 4898
|
||||
SHA256 (lib-pq-v1.3.0_GH0.tar.gz) = 900b640ed6e740496769291763b2368b578d25d54fe027551392ceaa29bae8ca
|
||||
SIZE (lib-pq-v1.3.0_GH0.tar.gz) = 96255
|
||||
SHA256 (mattn-go-adodb-v0.0.1_GH0.tar.gz) = f80a4384e19fc6b5bc26c60392e7063bd03f5cc682694a3e75b587a80b65f544
|
||||
SIZE (mattn-go-adodb-v0.0.1_GH0.tar.gz) = 5623
|
||||
SHA256 (mattn-go-isatty-v0.0.11_GH0.tar.gz) = 631fab18253998a4e27e9d260c445e9852bd86cf5a42693623d305c3e59c415a
|
||||
SIZE (mattn-go-isatty-v0.0.11_GH0.tar.gz) = 4396
|
||||
SHA256 (mattn-go-runewidth-v0.0.7_GH0.tar.gz) = 09270ddb93b2d77d4b3903bbadacbb3a3d4f0cce93c373fb21503840829d8697
|
||||
SIZE (mattn-go-runewidth-v0.0.7_GH0.tar.gz) = 16089
|
||||
SHA256 (mattn-go-sqlite3-v2.0.2_GH0.tar.gz) = bc656e82df52f2cd9c8751dd3d45d8b1f9e0fbea8b2921e457548692f09b4e8a
|
||||
SIZE (mattn-go-sqlite3-v2.0.2_GH0.tar.gz) = 2298065
|
||||
SHA256 (nakagami-firebirdsql-8048f7ca3088_GH0.tar.gz) = d9938bd1fca0f42f3199107cfb5ece9a269a2b243f0deb485902a43fde69440b
|
||||
SIZE (nakagami-firebirdsql-8048f7ca3088_GH0.tar.gz) = 65969
|
||||
SHA256 (pkg-browser-0a3d74bf9ce4_GH0.tar.gz) = b4e4eb4a5ad18f4f8889a1deb067beaaf7a7f40becf36d437f0f9aab76547505
|
||||
SIZE (pkg-browser-0a3d74bf9ce4_GH0.tar.gz) = 3005
|
||||
SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356
|
||||
SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009
|
||||
SHA256 (prestodb-presto-go-client-4980913e2459_GH0.tar.gz) = 6e1af28e7548eac706d9514b496e6d44d43f036325cf3eff019429721c221c8b
|
||||
SIZE (prestodb-presto-go-client-4980913e2459_GH0.tar.gz) = 24928
|
||||
SHA256 (remyoudompheng-bigfft-6a916e37a237_GH0.tar.gz) = 0046007258a483b6c68d108d7f3321564a42e70a1f9525fce43a7bf59927cd4b
|
||||
SIZE (remyoudompheng-bigfft-6a916e37a237_GH0.tar.gz) = 14859
|
||||
SHA256 (shopspring-decimal-408a2507e114_GH0.tar.gz) = 3bdec75ed30e33df04ec3243ebd79d41ff4f8d4d85f34f510e6756dd43ddb935
|
||||
SIZE (shopspring-decimal-408a2507e114_GH0.tar.gz) = 37336
|
||||
SHA256 (snowflakedb-gosnowflake-v1.3.4_GH0.tar.gz) = d0eb496e5592c1aa06e9547f9b5ce381b0524f4b46af3ca75ebe338b69415e04
|
||||
SIZE (snowflakedb-gosnowflake-v1.3.4_GH0.tar.gz) = 298658
|
||||
SHA256 (spaolacci-murmur3-v1.1.0_GH0.tar.gz) = 73e99fdaadf177427cefb2aff93e4c35d8b1fcf20a4eac6feab73b5d55a9d243
|
||||
SIZE (spaolacci-murmur3-v1.1.0_GH0.tar.gz) = 7391
|
||||
SHA256 (thda-tds-v0.1.7_GH0.tar.gz) = 25d4cbff186d07cf6e5377f2974f20bc1194a5a2043e2003c3f2990ee300b5b0
|
||||
SIZE (thda-tds-v0.1.7_GH0.tar.gz) = 60420
|
||||
SHA256 (vertica-vertica-sql-go-v0.1.6_GH0.tar.gz) = cf8b483f93bc41ba04f3fd43ec7a1043d168fa86c9571466475f8d74884a9017
|
||||
SIZE (vertica-vertica-sql-go-v0.1.6_GH0.tar.gz) = 40620
|
||||
SHA256 (xinsnake-go-http-digest-auth-client-v0.4.0_GH0.tar.gz) = 02f8d2f0b085e6ccaf663f0172f21813b1d1abbc7a8099d34af455f1f2fc61c1
|
||||
SIZE (xinsnake-go-http-digest-auth-client-v0.4.0_GH0.tar.gz) = 11107
|
||||
SHA256 (xo-dburl-3cca8608d645_GH0.tar.gz) = ac7c382b2c502b96a8a80d320d174ff29eac8e02a870e82283e21fb4725d9934
|
||||
SIZE (xo-dburl-3cca8608d645_GH0.tar.gz) = 16127
|
||||
SHA256 (xo-tblfmt-4c686ae34009_GH0.tar.gz) = fb758c7726eda9771f80845bcc94bc96e82455b0769ce8dbc54b9ced94bf8b34
|
||||
SIZE (xo-tblfmt-4c686ae34009_GH0.tar.gz) = 17806
|
||||
SHA256 (xo-terminfo-1a4775eeeb62_GH0.tar.gz) = ccf6459f97ad1f24fe3171ee6793f9242a0cb7ca2ad99cb9806c929f01f692e9
|
||||
SIZE (xo-terminfo-1a4775eeeb62_GH0.tar.gz) = 35462
|
||||
SHA256 (xo-xoutil-46189f4026a5_GH0.tar.gz) = 7bea85380ff99985b770bf17527c4db3a6411701ccdb918df942ca76d7ffdae5
|
||||
SIZE (xo-xoutil-46189f4026a5_GH0.tar.gz) = 1601
|
||||
SHA256 (zaf-temp-94e385923345_GH0.tar.gz) = 7d01fce8f405c39eabfe091558be3f87547eeaba3ef72941dbc40a39056528ca
|
||||
SIZE (zaf-temp-94e385923345_GH0.tar.gz) = 3091
|
||||
SHA256 (ziutek-mymysql-v1.5.4_GH0.tar.gz) = 111b478d6190786ee098af3f365be0e33ed59e30ec4a2a9066b714515089f062
|
||||
SIZE (ziutek-mymysql-v1.5.4_GH0.tar.gz) = 61564
|
||||
SHA256 (nyarla-go-crypt-d9a5dc2b789bc330075d4b805d9b7c971f2865a1_GL0.tar.gz) = e889e09262081c53bdcd7ac598170c584beda879dd557f5e64837bbba6505d7f
|
||||
SIZE (nyarla-go-crypt-d9a5dc2b789bc330075d4b805d9b7c971f2865a1_GL0.tar.gz) = 4178
|
||||
|
||||
18
devel/swag/Makefile
Normal file
18
devel/swag/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
PORTNAME= swagger
|
||||
DISTNAME= goswagger
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.8.10
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= dmgk@FreeBSD.org
|
||||
COMMENT= Swagger 2.0 implementation for Go
|
||||
WWW= https://goswagger.io/
|
||||
|
||||
USES= go:modules
|
||||
|
||||
GO_MODULE= github.com/swaggo/swag
|
||||
GO_TARGET= ./cmd/swag
|
||||
|
||||
PLIST_FILES= bin/swag
|
||||
|
||||
.include <bsd.port.mk>
|
||||
5
devel/swag/distinfo
Normal file
5
devel/swag/distinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1678617551
|
||||
SHA256 (go/devel_swag/goswagger/v1.8.10.mod) = 6936cfc87d82b9de74ea72ca142cb915bbd40e2c04094166960b228373c10d6c
|
||||
SIZE (go/devel_swag/goswagger/v1.8.10.mod) = 1201
|
||||
SHA256 (go/devel_swag/goswagger/v1.8.10.zip) = ffb2a146d059637ac3edc8d7eeba12e38ee136575e757d20826a8d534162370f
|
||||
SIZE (go/devel_swag/goswagger/v1.8.10.zip) = 306339
|
||||
6
devel/swag/pkg-descr
Normal file
6
devel/swag/pkg-descr
Normal file
@@ -0,0 +1,6 @@
|
||||
Swagger is a simple yet powerful representation of your RESTful API and
|
||||
go-swagger brings to the Go community a complete suite of fully-featured,
|
||||
high-performance, API components to work with a Swagger API: server, client and
|
||||
data model.
|
||||
|
||||
This port provides a Go implementation of Swagger 2.0 (aka OpenAPI 2.0).
|
||||
18
devel/swagger/Makefile
Normal file
18
devel/swagger/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
PORTNAME= swagger
|
||||
DISTNAME= goswagger
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.30.4
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= dmgk@FreeBSD.org
|
||||
COMMENT= Swagger 2.0 implementation for Go
|
||||
WWW= https://goswagger.io/
|
||||
|
||||
USES= go:modules
|
||||
|
||||
GO_MODULE= github.com/go-swagger/go-swagger
|
||||
GO_TARGET= ./cmd/swagger
|
||||
|
||||
PLIST_FILES= bin/swagger
|
||||
|
||||
.include <bsd.port.mk>
|
||||
5
devel/swagger/distinfo
Normal file
5
devel/swagger/distinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1678617149
|
||||
SHA256 (go/devel_goswagger/goswagger/v0.30.4.mod) = 99a3df61af80b34da1647c730b8566e1a7af58bdc1ad5e1d8f1f43c224b903d2
|
||||
SIZE (go/devel_goswagger/goswagger/v0.30.4.mod) = 3368
|
||||
SHA256 (go/devel_goswagger/goswagger/v0.30.4.zip) = 38ed2006a74115aade31f8c0c7a2e3a947b22ee02ada6a9f50518aeb711d90a1
|
||||
SIZE (go/devel_goswagger/goswagger/v0.30.4.zip) = 4390249
|
||||
6
devel/swagger/pkg-descr
Normal file
6
devel/swagger/pkg-descr
Normal file
@@ -0,0 +1,6 @@
|
||||
Swagger is a simple yet powerful representation of your RESTful API and
|
||||
go-swagger brings to the Go community a complete suite of fully-featured,
|
||||
high-performance, API components to work with a Swagger API: server, client and
|
||||
data model.
|
||||
|
||||
This port provides a Go implementation of Swagger 2.0 (aka OpenAPI 2.0).
|
||||
@@ -9,6 +9,7 @@ MASTER_SITES+= https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRA
|
||||
MASTER_SITES+= LOCAL/dmgk:bootstrap
|
||||
DISTFILES= go${PORTVERSION}.src.tar.gz
|
||||
DISTFILES+= go-${OPSYS:tl}-${GOARCH}${GOARM}-${BOOTSTRAP_TAG}.tar.xz:bootstrap
|
||||
PKGNAMESUFFIX= 120
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
112
lang/php82/Makefile
Normal file
112
lang/php82/Makefile
Normal file
@@ -0,0 +1,112 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php
|
||||
PORTVERSION= 8.2.1
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
_APXS= ${LOCALBASE}/sbin/apxs
|
||||
BUILD_DEPENDS+= ${_APXS}:net/apache
|
||||
|
||||
LIB_DEPENDS+= libpcre.so:text/libpcre
|
||||
LIB_DEPENDS+= libxml2.so:text/libxml2
|
||||
LIB_DEPENDS+= libiconv.so:text/libiconv
|
||||
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS= -L${LOCALBASE}/lib -lz
|
||||
|
||||
#APACHE_LIBEXEC_DIR= ${LOCALBASE}/libexec/apache
|
||||
#PLIST_SUB+= APACHE_LIBEXEC_DIR="libexec/apache"
|
||||
#SUB_LIST+= APACHE_LIBEXEC_DIR="${APACHE_LIBEXEC_DIR}"
|
||||
#SUB_LIST+= APXS="${APXS}"
|
||||
|
||||
CONFIGURE_ARGS+= --enable-cli
|
||||
CONFIGURE_ARGS+= --with-readline
|
||||
CONFIGURE_ARGS+= --without-pear
|
||||
|
||||
#CONFIGURE_ARGS+= --with-apxs2=${_APXS}
|
||||
CONFIGURE_ARGS+= --with-zlib-dir=/usr
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
|
||||
CONFIGURE_ARGS+= --with-layout=GNU
|
||||
CONFIGURE_ARGS+= --with-config-file-scan-dir=${PREFIX}/etc/php
|
||||
CONFIGURE_ARGS+= --with-config-file-path=${PREFIX}/etc:${LOCALBASE}/etc/apache
|
||||
CONFIGURE_ARGS+= --with-config-file-scan-dir=${PREFIX}/etc/php
|
||||
CONFIGURE_ARGS+= --disable-all
|
||||
###CONFIGURE_ARGS+= --enable-xml
|
||||
CONFIGURE_ARGS+= --enable-mysqlnd
|
||||
CONFIGURE_ARGS+= --with-libxml
|
||||
#CONFIGURE_ARGS+= --with-libxml-dir=${LOCALBASE}
|
||||
#CONFIGURE_ARGS+= --with-pcre-regex=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --program-prefix=""
|
||||
|
||||
#CONFIGURE_ARGS+= --enable-maintainer-zts
|
||||
CONFIGURE_ENV+= pthreads_working="yes"
|
||||
CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no"
|
||||
CONFIGURE_ENV+= lt_cv_path_SED="sed"
|
||||
|
||||
|
||||
USE_RC_SUBR+= php-fpm
|
||||
|
||||
CONFIGURE_ARGS+= --enable-fpm
|
||||
CONFIGURE_ARGS+= --with-fpm-user=${WWWOWN}
|
||||
CONFIGURE_ARGS+= --with-fpm-group=${WWWGRP}
|
||||
|
||||
CONFIGURE_ARGS+= --enable-embed=shared
|
||||
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
|
||||
post-patch:
|
||||
${TOUCH} ${WRKSRC}/ext/php_config.h
|
||||
cd ${WRKSRC} && autoreconf
|
||||
|
||||
#pre-install:
|
||||
# ${MKDIR} ${STAGEDIR}${PREFIX}/etc/apache
|
||||
# echo "" >> ${STAGEDIR}${PREFIX}/etc/apache/apache.conf
|
||||
# echo "LoadModule some_module libexec/apache/mod_some.so" >> \
|
||||
# ${STAGEDIR}${PREFIX}/etc/apache/apache.conf
|
||||
# echo "" >> ${STAGEDIR}${PREFIX}/etc/apache/apache.conf
|
||||
|
||||
post-install:
|
||||
${MKDIR} -p ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/php.ini-development ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/php.ini-production ${EXAMPLESDIR}
|
||||
cd ${STAGEDIR}${PREFIX}/man/man1 && ${LN} -sf php.1 php-cgi.1
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/php_config.h ${STAGEDIR}${PREFIX}/include/php/ext/
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} > 1100000)
|
||||
LIB_DEPENDS+= libreadline.so:devel/libreadline
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
3
lang/php82/distinfo
Normal file
3
lang/php82/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1675583562
|
||||
SHA256 (php-8.2.1.tar.xz) = 650d3bd7a056cabf07f6a0f6f1dd8ba45cd369574bbeaa36de7d1ece212c17af
|
||||
SIZE (php-8.2.1.tar.xz) = 12031632
|
||||
19
lang/php82/files/patch-build_Makefile.global
Normal file
19
lang/php82/files/patch-build_Makefile.global
Normal file
@@ -0,0 +1,19 @@
|
||||
--- build/Makefile.global.orig 2022-08-02 13:57:03 UTC
|
||||
+++ build/Makefile.global
|
||||
@@ -92,14 +92,14 @@ test: all
|
||||
@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
|
||||
INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
|
||||
if test "$$INI_FILE"; then \
|
||||
- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
|
||||
+ $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini || :; \
|
||||
else \
|
||||
echo > $(top_builddir)/tmp-php.ini; \
|
||||
fi; \
|
||||
INI_SCANNED_PATH=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \
|
||||
if test "$$INI_SCANNED_PATH"; then \
|
||||
INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \
|
||||
- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \
|
||||
+ $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini || :; \
|
||||
fi; \
|
||||
TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
|
||||
TEST_PHP_SRCDIR=$(top_srcdir) \
|
||||
45
lang/php82/files/patch-configure.ac
Normal file
45
lang/php82/files/patch-configure.ac
Normal file
@@ -0,0 +1,45 @@
|
||||
--- configure.ac.orig 2022-08-02 13:57:03 UTC
|
||||
+++ configure.ac
|
||||
@@ -55,6 +55,7 @@ AH_BOTTOM([
|
||||
|
||||
#include <string.h>
|
||||
|
||||
+#include <ext/php_config.h>
|
||||
#endif /* PHP_CONFIG_H */
|
||||
])
|
||||
|
||||
@@ -279,7 +280,6 @@ dnl --------------------------------------------------
|
||||
|
||||
dnl ----------------------------------------------------------------------------
|
||||
|
||||
-PTHREADS_CHECK
|
||||
PHP_HELP_SEPARATOR([SAPI modules:])
|
||||
PHP_SHLIB_SUFFIX_NAMES
|
||||
PHP_BUILD_PROGRAM
|
||||
@@ -627,7 +627,7 @@ dnl Some systems (like OpenSolaris) do not have nanosl
|
||||
AX_FUNC_WHICH_GETHOSTBYNAME_R
|
||||
|
||||
dnl Some systems (like OpenSolaris) do not have nanosleep in libc.
|
||||
-PHP_CHECK_FUNC_LIB(nanosleep, rt)
|
||||
+PHP_CHECK_FUNC(nanosleep, rt)
|
||||
|
||||
dnl Haiku does not have network api in libc.
|
||||
PHP_CHECK_FUNC_LIB(setsockopt, network)
|
||||
@@ -1375,7 +1375,7 @@ EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CON
|
||||
EXPANDED_DATADIR=$datadir
|
||||
EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
|
||||
EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
|
||||
-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
|
||||
+INCLUDE_PATH=.:${prefix}/share/pear
|
||||
|
||||
exec_prefix=$old_exec_prefix
|
||||
libdir=$old_libdir
|
||||
@@ -1600,7 +1600,7 @@ PHP_SUBST(install_binary_targets)
|
||||
PHP_SUBST(install_targets)
|
||||
PHP_SUBST(install_binary_targets)
|
||||
|
||||
-PHP_INSTALL_HEADERS([Zend/ TSRM/ include/ main/ main/streams/])
|
||||
+PHP_INSTALL_HEADERS([Zend/ TSRM/ main/ main/streams/])
|
||||
PHP_INSTALL_HEADERS([Zend/Optimizer], [ \
|
||||
zend_call_graph.h \
|
||||
zend_cfg.h \
|
||||
46
lang/php82/files/patch-ext_hash_xxhash_xxhash.h
Normal file
46
lang/php82/files/patch-ext_hash_xxhash_xxhash.h
Normal file
@@ -0,0 +1,46 @@
|
||||
--- ext/hash/xxhash/xxhash.h.orig 2022-08-02 13:57:03 UTC
|
||||
+++ ext/hash/xxhash/xxhash.h
|
||||
@@ -3048,22 +3048,32 @@ enum XXH_VECTOR_TYPE /* fake enum */ {
|
||||
* inconsistent intrinsics, spotty coverage, and multiple endiannesses.
|
||||
*/
|
||||
#if XXH_VECTOR == XXH_VSX
|
||||
+/* Annoyingly, these headers _may_ define three macros: `bool`, `vector`,
|
||||
+ * and `pixel`. This is a problem for obvious reasons.
|
||||
+ *
|
||||
+ * These keywords are unnecessary; the spec literally says they are
|
||||
+ * equivalent to `__bool`, `__vector`, and `__pixel` and may be undef'd
|
||||
+ * after including the header.
|
||||
+ *
|
||||
+ * We use pragma push_macro/pop_macro to keep the namespace clean. */
|
||||
+# pragma push_macro("bool")
|
||||
+# pragma push_macro("vector")
|
||||
+# pragma push_macro("pixel")
|
||||
+/* silence potential macro redefined warnings */
|
||||
+# undef bool
|
||||
+# undef vector
|
||||
+# undef pixel
|
||||
+
|
||||
# if defined(__s390x__)
|
||||
# include <s390intrin.h>
|
||||
# else
|
||||
-/* gcc's altivec.h can have the unwanted consequence to unconditionally
|
||||
- * #define bool, vector, and pixel keywords,
|
||||
- * with bad consequences for programs already using these keywords for other purposes.
|
||||
- * The paragraph defining these macros is skipped when __APPLE_ALTIVEC__ is defined.
|
||||
- * __APPLE_ALTIVEC__ is _generally_ defined automatically by the compiler,
|
||||
- * but it seems that, in some cases, it isn't.
|
||||
- * Force the build macro to be defined, so that keywords are not altered.
|
||||
- */
|
||||
-# if defined(__GNUC__) && !defined(__APPLE_ALTIVEC__)
|
||||
-# define __APPLE_ALTIVEC__
|
||||
-# endif
|
||||
# include <altivec.h>
|
||||
# endif
|
||||
+
|
||||
+/* Restore the original macro values, if applicable. */
|
||||
+# pragma pop_macro("pixel")
|
||||
+# pragma pop_macro("vector")
|
||||
+# pragma pop_macro("bool")
|
||||
|
||||
typedef __vector unsigned long long xxh_u64x2;
|
||||
typedef __vector unsigned char xxh_u8x16;
|
||||
12
lang/php82/files/patch-ext_mysqli_mysqli__api.c
Normal file
12
lang/php82/files/patch-ext_mysqli_mysqli__api.c
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ext/mysqli/mysqli_api.c.orig 2020-09-29 22:36:51 UTC
|
||||
+++ ext/mysqli/mysqli_api.c
|
||||
@@ -29,7 +29,9 @@
|
||||
#include "zend_smart_str.h"
|
||||
#include "php_mysqli_structs.h"
|
||||
#include "mysqli_priv.h"
|
||||
+#if defined(MYSQLI_USE_MYSQLND)
|
||||
#include "ext/mysqlnd/mysql_float_to_double.h"
|
||||
+#endif
|
||||
|
||||
#define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
|
||||
|
||||
12
lang/php82/files/patch-ext_mysqli_mysqli__nonapi.c
Normal file
12
lang/php82/files/patch-ext_mysqli_mysqli__nonapi.c
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ext/mysqli/mysqli_nonapi.c.orig 2022-08-02 13:57:03 UTC
|
||||
+++ ext/mysqli/mysqli_nonapi.c
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "php_ini.h"
|
||||
#include "ext/standard/info.h"
|
||||
#include "zend_smart_str.h"
|
||||
+#if defined(MYSQLI_USE_MYSQLND)
|
||||
#include "php_mysqli_structs.h"
|
||||
+#endif
|
||||
#include "mysqli_priv.h"
|
||||
#define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
|
||||
|
||||
12
lang/php82/files/patch-ext_mysqli_mysqli__prop.c
Normal file
12
lang/php82/files/patch-ext_mysqli_mysqli__prop.c
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ext/mysqli/mysqli_prop.c.orig 2022-08-02 13:57:03 UTC
|
||||
+++ ext/mysqli/mysqli_prop.c
|
||||
@@ -24,7 +24,9 @@
|
||||
#include "php.h"
|
||||
#include "php_ini.h"
|
||||
#include "ext/standard/info.h"
|
||||
+#if defined(MYSQLI_USE_MYSQLND)
|
||||
#include "php_mysqli_structs.h"
|
||||
+#endif
|
||||
#include "mysqli_priv.h"
|
||||
|
||||
#define CHECK_STATUS(value, quiet) \
|
||||
@@ -0,0 +1,20 @@
|
||||
--- ext/pcre/pcre2lib/sljit/sljitConfigInternal.h.orig 2022-08-02 13:57:03 UTC
|
||||
+++ ext/pcre/pcre2lib/sljit/sljitConfigInternal.h
|
||||
@@ -303,7 +303,7 @@ extern "C" {
|
||||
/* Type of public API functions. */
|
||||
/*********************************/
|
||||
|
||||
-#ifndef SLJIT_API_FUNC_ATTRIBUTE
|
||||
+#ifndef SLJIT_API_FUNC_ATTRIBUTE
|
||||
#if (defined SLJIT_CONFIG_STATIC && SLJIT_CONFIG_STATIC)
|
||||
/* Static ABI functions. For all-in-one programs. */
|
||||
|
||||
@@ -333,7 +333,7 @@ extern "C" {
|
||||
* beware APPLE is known to have removed the code in iOS so
|
||||
* it will need to be excempted or result in broken builds
|
||||
*/
|
||||
-#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin)
|
||||
+#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin && !defined SLJIT_CONFIG_PPC_32)
|
||||
#if __has_builtin(__builtin___clear_cache) && !defined(__clang__)
|
||||
|
||||
/*
|
||||
11
lang/php82/files/patch-sapi_apache2handler_config.m4
Normal file
11
lang/php82/files/patch-sapi_apache2handler_config.m4
Normal file
@@ -0,0 +1,11 @@
|
||||
--- sapi/apache2handler/config.m4.orig 2018-08-14 11:39:14 UTC
|
||||
+++ sapi/apache2handler/config.m4
|
||||
@@ -65,7 +65,7 @@ if test "$PHP_APXS2" != "no"; then
|
||||
fi
|
||||
|
||||
APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
|
||||
- if test -z `$APXS -q SYSCONFDIR`; then
|
||||
+ if true; then
|
||||
INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
|
||||
$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
|
||||
-i -n php7"
|
||||
11
lang/php82/files/patch-sapi_fpm_config.m4
Normal file
11
lang/php82/files/patch-sapi_fpm_config.m4
Normal file
@@ -0,0 +1,11 @@
|
||||
--- sapi/fpm/config.m4.orig 2018-08-14 11:39:14 UTC
|
||||
+++ sapi/fpm/config.m4
|
||||
@@ -319,7 +319,7 @@ AC_DEFUN([AC_FPM_LQ],
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
- if test "$have_lq" = "tcp_info"; then
|
||||
+ if test "$have_lq" = "so_listenq"; then
|
||||
AC_DEFINE([HAVE_LQ_TCP_INFO], 1, [do we have TCP_INFO?])
|
||||
fi
|
||||
|
||||
17
lang/php82/files/patch-sapi_fpm_www.conf.in
Normal file
17
lang/php82/files/patch-sapi_fpm_www.conf.in
Normal file
@@ -0,0 +1,17 @@
|
||||
--- sapi/fpm/www.conf.in.orig 2019-01-26 15:54:27 UTC
|
||||
+++ sapi/fpm/www.conf.in
|
||||
@@ -27,10 +27,14 @@ group = @php_fpm_group@
|
||||
; Valid syntaxes are:
|
||||
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
|
||||
; a specific port;
|
||||
+; '0.0.0.0:port' - to listen on a TCP socket to all IPv4 addresses on
|
||||
+; a specific port;
|
||||
; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
|
||||
; a specific port;
|
||||
; 'port' - to listen on a TCP socket to all addresses
|
||||
; (IPv6 and IPv4-mapped) on a specific port;
|
||||
+; Note: IPv4-mapped addresses are disabled by-default in
|
||||
+; FreeBSD for security reasons;
|
||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||
; Note: This value is mandatory.
|
||||
listen = 127.0.0.1:9000
|
||||
66
lang/php82/files/php-fpm.in
Normal file
66
lang/php82/files/php-fpm.in
Normal file
@@ -0,0 +1,66 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: php-fpm
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable php-fpm:
|
||||
# php_fpm_enable="YES"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="php_fpm"
|
||||
rcvar=php_fpm_enable
|
||||
|
||||
start_precmd="php_fpm_prestart"
|
||||
restart_precmd="php_fpm_checkconfig"
|
||||
reload_precmd="php_fpm_checkconfig"
|
||||
configtest_cmd="php_fpm_checkconfig"
|
||||
|
||||
load_rc_config "$name"
|
||||
|
||||
: ${php_fpm_enable="NO"}
|
||||
: ${php_fpm_umask=""}
|
||||
|
||||
extra_commands="reload configtest logrotate"
|
||||
|
||||
command="%%PREFIX%%/sbin/php-fpm"
|
||||
pidfile="/var/run/php-fpm.pid"
|
||||
sig_stop="QUIT"
|
||||
sig_reload="USR2"
|
||||
logrotate_cmd="php_fpm_logrotate"
|
||||
|
||||
required_files="%%PREFIX%%/etc/php-fpm.conf"
|
||||
|
||||
php_fpm_logrotate() {
|
||||
if [ -z "$rc_pid" ]; then
|
||||
_run_rc_notrunning
|
||||
return 1
|
||||
fi
|
||||
echo "Rotating logs $name."
|
||||
kill -USR1 $rc_pid
|
||||
}
|
||||
|
||||
php_fpm_checkconfig()
|
||||
{
|
||||
echo "Performing sanity check on php-fpm configuration:"
|
||||
eval ${command} -t
|
||||
}
|
||||
|
||||
php_fpm_prestart()
|
||||
{
|
||||
php_fpm_checkconfig
|
||||
checkconfig=$?
|
||||
if [ $checkconfig -ne 0 ]; then
|
||||
return $checkconfig
|
||||
fi
|
||||
|
||||
if [ ! -z "$php_fpm_umask" ]; then
|
||||
echo "Setting umask to: ${php_fpm_umask}"
|
||||
umask $php_fpm_umask
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
9
lang/php82/files/pkg-deinstall.in
Normal file
9
lang/php82/files/pkg-deinstall.in
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
;;
|
||||
esac
|
||||
#EOF
|
||||
10
lang/php82/files/pkg-install.in
Normal file
10
lang/php82/files/pkg-install.in
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
POST-INSTALL)
|
||||
;;
|
||||
esac
|
||||
#EOF
|
||||
|
||||
10
lang/php82/files/pkg-message.in
Normal file
10
lang/php82/files/pkg-message.in
Normal file
@@ -0,0 +1,10 @@
|
||||
***************************************************************
|
||||
|
||||
Make sure index.php is part of your DirectoryIndex.
|
||||
|
||||
You should add the following to your Apache configuration file:
|
||||
|
||||
AddType application/x-httpd-php .php
|
||||
AddType application/x-httpd-php-source .phps
|
||||
|
||||
***************************************************************
|
||||
9
lang/php82/pkg-descr
Normal file
9
lang/php82/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
325
lang/php82/pkg-plist
Normal file
325
lang/php82/pkg-plist
Normal file
@@ -0,0 +1,325 @@
|
||||
bin/php
|
||||
bin/php-cgi
|
||||
bin/php-config
|
||||
bin/phpdbg
|
||||
bin/phpize
|
||||
include/php/ext/date/lib/timelib_config.h
|
||||
include/php/ext/date/lib/timelib.h
|
||||
include/php/ext/date/php_date.h
|
||||
include/php/ext/hash/php_hash_adler32.h
|
||||
include/php/ext/hash/php_hash_crc32.h
|
||||
include/php/ext/hash/php_hash_fnv.h
|
||||
include/php/ext/hash/php_hash_gost.h
|
||||
include/php/ext/hash/php_hash_haval.h
|
||||
include/php/ext/hash/php_hash_joaat.h
|
||||
include/php/ext/hash/php_hash_md.h
|
||||
include/php/ext/hash/php_hash_murmur.h
|
||||
include/php/ext/hash/php_hash_ripemd.h
|
||||
include/php/ext/hash/php_hash_sha.h
|
||||
include/php/ext/hash/php_hash_sha3.h
|
||||
include/php/ext/hash/php_hash_snefru.h
|
||||
include/php/ext/hash/php_hash_tiger.h
|
||||
include/php/ext/hash/php_hash_whirlpool.h
|
||||
include/php/ext/hash/php_hash_xxhash.h
|
||||
include/php/ext/hash/php_hash.h
|
||||
include/php/ext/json/php_json_parser.h
|
||||
include/php/ext/json/php_json_scanner.h
|
||||
include/php/ext/json/php_json.h
|
||||
include/php/ext/libxml/php_libxml.h
|
||||
include/php/ext/mysqlnd/config-win.h
|
||||
include/php/ext/mysqlnd/mysql_float_to_double.h
|
||||
include/php/ext/mysqlnd/mysqlnd_alloc.h
|
||||
include/php/ext/mysqlnd/mysqlnd_auth.h
|
||||
include/php/ext/mysqlnd/mysqlnd_block_alloc.h
|
||||
include/php/ext/mysqlnd/mysqlnd_charset.h
|
||||
include/php/ext/mysqlnd/mysqlnd_commands.h
|
||||
include/php/ext/mysqlnd/mysqlnd_connection.h
|
||||
include/php/ext/mysqlnd/mysqlnd_debug.h
|
||||
include/php/ext/mysqlnd/mysqlnd_enum_n_def.h
|
||||
include/php/ext/mysqlnd/mysqlnd_ext_plugin.h
|
||||
include/php/ext/mysqlnd/mysqlnd_libmysql_compat.h
|
||||
include/php/ext/mysqlnd/mysqlnd_plugin.h
|
||||
include/php/ext/mysqlnd/mysqlnd_portability.h
|
||||
include/php/ext/mysqlnd/mysqlnd_priv.h
|
||||
include/php/ext/mysqlnd/mysqlnd_protocol_frame_codec.h
|
||||
include/php/ext/mysqlnd/mysqlnd_ps.h
|
||||
include/php/ext/mysqlnd/mysqlnd_read_buffer.h
|
||||
include/php/ext/mysqlnd/mysqlnd_result_meta.h
|
||||
include/php/ext/mysqlnd/mysqlnd_result.h
|
||||
include/php/ext/mysqlnd/mysqlnd_reverse_api.h
|
||||
include/php/ext/mysqlnd/mysqlnd_statistics.h
|
||||
include/php/ext/mysqlnd/mysqlnd_structs.h
|
||||
include/php/ext/mysqlnd/mysqlnd_vio.h
|
||||
include/php/ext/mysqlnd/mysqlnd_wireprotocol.h
|
||||
include/php/ext/mysqlnd/mysqlnd.h
|
||||
include/php/ext/mysqlnd/php_mysqlnd.h
|
||||
include/php/ext/pcre/pcre2lib/config.h
|
||||
include/php/ext/pcre/pcre2lib/pcre2_internal.h
|
||||
include/php/ext/pcre/pcre2lib/pcre2_intmodedep.h
|
||||
include/php/ext/pcre/pcre2lib/pcre2_jit_neon_inc.h
|
||||
include/php/ext/pcre/pcre2lib/pcre2_jit_simd_inc.h
|
||||
include/php/ext/pcre/pcre2lib/pcre2_ucp.h
|
||||
include/php/ext/pcre/pcre2lib/pcre2.h
|
||||
include/php/ext/pcre/php_pcre.h
|
||||
include/php/ext/php_config.h
|
||||
include/php/ext/spl/php_spl.h
|
||||
include/php/ext/spl/spl_array.h
|
||||
include/php/ext/spl/spl_directory.h
|
||||
include/php/ext/spl/spl_dllist.h
|
||||
include/php/ext/spl/spl_engine.h
|
||||
include/php/ext/spl/spl_exceptions.h
|
||||
include/php/ext/spl/spl_fixedarray.h
|
||||
include/php/ext/spl/spl_functions.h
|
||||
include/php/ext/spl/spl_heap.h
|
||||
include/php/ext/spl/spl_iterators.h
|
||||
include/php/ext/spl/spl_observer.h
|
||||
include/php/ext/standard/base64.h
|
||||
include/php/ext/standard/basic_functions_arginfo.h
|
||||
include/php/ext/standard/basic_functions.h
|
||||
include/php/ext/standard/crc32_x86.h
|
||||
include/php/ext/standard/crc32.h
|
||||
include/php/ext/standard/credits_ext.h
|
||||
include/php/ext/standard/credits_sapi.h
|
||||
include/php/ext/standard/credits.h
|
||||
include/php/ext/standard/crypt_blowfish.h
|
||||
include/php/ext/standard/crypt_freesec.h
|
||||
include/php/ext/standard/css.h
|
||||
include/php/ext/standard/datetime.h
|
||||
include/php/ext/standard/dir_arginfo.h
|
||||
include/php/ext/standard/dl_arginfo.h
|
||||
include/php/ext/standard/dl.h
|
||||
include/php/ext/standard/exec.h
|
||||
include/php/ext/standard/file.h
|
||||
include/php/ext/standard/flock_compat.h
|
||||
include/php/ext/standard/fsock.h
|
||||
include/php/ext/standard/head.h
|
||||
include/php/ext/standard/hrtime.h
|
||||
include/php/ext/standard/html_tables.h
|
||||
include/php/ext/standard/html.h
|
||||
include/php/ext/standard/info.h
|
||||
include/php/ext/standard/md5.h
|
||||
include/php/ext/standard/pack.h
|
||||
include/php/ext/standard/pageinfo.h
|
||||
include/php/ext/standard/php_array.h
|
||||
include/php/ext/standard/php_assert.h
|
||||
include/php/ext/standard/php_browscap.h
|
||||
include/php/ext/standard/php_crypt_r.h
|
||||
include/php/ext/standard/php_crypt.h
|
||||
include/php/ext/standard/php_dir.h
|
||||
include/php/ext/standard/php_dns.h
|
||||
include/php/ext/standard/php_ext_syslog.h
|
||||
include/php/ext/standard/php_filestat.h
|
||||
include/php/ext/standard/php_fopen_wrappers.h
|
||||
include/php/ext/standard/php_http.h
|
||||
include/php/ext/standard/php_image.h
|
||||
include/php/ext/standard/php_incomplete_class.h
|
||||
include/php/ext/standard/php_lcg.h
|
||||
include/php/ext/standard/php_mail.h
|
||||
include/php/ext/standard/php_math.h
|
||||
include/php/ext/standard/php_mt_rand.h
|
||||
include/php/ext/standard/php_net.h
|
||||
include/php/ext/standard/php_password.h
|
||||
include/php/ext/standard/php_rand.h
|
||||
include/php/ext/standard/php_random.h
|
||||
include/php/ext/standard/php_smart_string_public.h
|
||||
include/php/ext/standard/php_smart_string.h
|
||||
include/php/ext/standard/php_standard.h
|
||||
include/php/ext/standard/php_string.h
|
||||
include/php/ext/standard/php_uuencode.h
|
||||
include/php/ext/standard/php_var.h
|
||||
include/php/ext/standard/php_versioning.h
|
||||
include/php/ext/standard/proc_open.h
|
||||
include/php/ext/standard/quot_print.h
|
||||
include/php/ext/standard/scanf.h
|
||||
include/php/ext/standard/sha1.h
|
||||
include/php/ext/standard/streamsfuncs.h
|
||||
include/php/ext/standard/url_scanner_ex.h
|
||||
include/php/ext/standard/url.h
|
||||
include/php/ext/standard/user_filters_arginfo.h
|
||||
include/php/ext/standard/winver.h
|
||||
include/php/main/build-defs.h
|
||||
include/php/main/fastcgi.h
|
||||
include/php/main/fopen_wrappers.h
|
||||
include/php/main/http_status_codes.h
|
||||
include/php/main/php_compat.h
|
||||
include/php/main/php_config.h
|
||||
include/php/main/php_content_types.h
|
||||
include/php/main/php_getopt.h
|
||||
include/php/main/php_globals.h
|
||||
include/php/main/php_ini.h
|
||||
include/php/main/php_main.h
|
||||
include/php/main/php_memory_streams.h
|
||||
include/php/main/php_network.h
|
||||
include/php/main/php_open_temporary_file.h
|
||||
include/php/main/php_output.h
|
||||
include/php/main/php_reentrancy.h
|
||||
include/php/main/php_scandir.h
|
||||
include/php/main/php_stdint.h
|
||||
include/php/main/php_streams.h
|
||||
include/php/main/php_syslog.h
|
||||
include/php/main/php_ticks.h
|
||||
include/php/main/php_variables.h
|
||||
include/php/main/php_version.h
|
||||
include/php/main/php.h
|
||||
include/php/main/rfc1867.h
|
||||
include/php/main/SAPI.h
|
||||
include/php/main/snprintf.h
|
||||
include/php/main/spprintf.h
|
||||
include/php/main/streams/php_stream_context.h
|
||||
include/php/main/streams/php_stream_filter_api.h
|
||||
include/php/main/streams/php_stream_glob_wrapper.h
|
||||
include/php/main/streams/php_stream_mmap.h
|
||||
include/php/main/streams/php_stream_plain_wrapper.h
|
||||
include/php/main/streams/php_stream_transport.h
|
||||
include/php/main/streams/php_stream_userspace.h
|
||||
include/php/main/streams/php_streams_int.h
|
||||
include/php/sapi/cli/cli.h
|
||||
include/php/sapi/embed/php_embed.h
|
||||
include/php/TSRM/tsrm_win32.h
|
||||
include/php/TSRM/TSRM.h
|
||||
include/php/Zend/Optimizer/zend_call_graph.h
|
||||
include/php/Zend/Optimizer/zend_cfg.h
|
||||
include/php/Zend/Optimizer/zend_dfg.h
|
||||
include/php/Zend/Optimizer/zend_dump.h
|
||||
include/php/Zend/Optimizer/zend_func_info.h
|
||||
include/php/Zend/Optimizer/zend_inference.h
|
||||
include/php/Zend/Optimizer/zend_optimizer.h
|
||||
include/php/Zend/Optimizer/zend_ssa.h
|
||||
include/php/Zend/zend_alloc_sizes.h
|
||||
include/php/Zend/zend_alloc.h
|
||||
include/php/Zend/zend_API.h
|
||||
include/php/Zend/zend_arena.h
|
||||
include/php/Zend/zend_ast.h
|
||||
include/php/Zend/zend_attributes_arginfo.h
|
||||
include/php/Zend/zend_attributes.h
|
||||
include/php/Zend/zend_bitset.h
|
||||
include/php/Zend/zend_build.h
|
||||
include/php/Zend/zend_builtin_functions_arginfo.h
|
||||
include/php/Zend/zend_builtin_functions.h
|
||||
include/php/Zend/zend_closures_arginfo.h
|
||||
include/php/Zend/zend_closures.h
|
||||
include/php/Zend/zend_compile.h
|
||||
include/php/Zend/zend_config.h
|
||||
include/php/Zend/zend_config.w32.h
|
||||
include/php/Zend/zend_constants.h
|
||||
include/php/Zend/zend_cpuinfo.h
|
||||
include/php/Zend/zend_dtrace.h
|
||||
include/php/Zend/zend_enum_arginfo.h
|
||||
include/php/Zend/zend_enum.h
|
||||
include/php/Zend/zend_errors.h
|
||||
include/php/Zend/zend_exceptions_arginfo.h
|
||||
include/php/Zend/zend_exceptions.h
|
||||
include/php/Zend/zend_execute.h
|
||||
include/php/Zend/zend_extensions.h
|
||||
include/php/Zend/zend_fibers_arginfo.h
|
||||
include/php/Zend/zend_fibers.h
|
||||
include/php/Zend/zend_float.h
|
||||
include/php/Zend/zend_gc.h
|
||||
include/php/Zend/zend_gdb.h
|
||||
include/php/Zend/zend_generators_arginfo.h
|
||||
include/php/Zend/zend_generators.h
|
||||
include/php/Zend/zend_globals_macros.h
|
||||
include/php/Zend/zend_globals.h
|
||||
include/php/Zend/zend_hash.h
|
||||
include/php/Zend/zend_highlight.h
|
||||
include/php/Zend/zend_inheritance.h
|
||||
include/php/Zend/zend_ini_parser.h
|
||||
include/php/Zend/zend_ini_scanner_defs.h
|
||||
include/php/Zend/zend_ini_scanner.h
|
||||
include/php/Zend/zend_ini.h
|
||||
include/php/Zend/zend_interfaces_arginfo.h
|
||||
include/php/Zend/zend_interfaces.h
|
||||
include/php/Zend/zend_istdiostream.h
|
||||
include/php/Zend/zend_iterators.h
|
||||
include/php/Zend/zend_language_parser.h
|
||||
include/php/Zend/zend_language_scanner_defs.h
|
||||
include/php/Zend/zend_language_scanner.h
|
||||
include/php/Zend/zend_list.h
|
||||
include/php/Zend/zend_llist.h
|
||||
include/php/Zend/zend_long.h
|
||||
include/php/Zend/zend_map_ptr.h
|
||||
include/php/Zend/zend_modules.h
|
||||
include/php/Zend/zend_multibyte.h
|
||||
include/php/Zend/zend_multiply.h
|
||||
include/php/Zend/zend_object_handlers.h
|
||||
include/php/Zend/zend_objects_API.h
|
||||
include/php/Zend/zend_objects.h
|
||||
include/php/Zend/zend_observer.h
|
||||
include/php/Zend/zend_operators.h
|
||||
include/php/Zend/zend_portability.h
|
||||
include/php/Zend/zend_ptr_stack.h
|
||||
include/php/Zend/zend_range_check.h
|
||||
include/php/Zend/zend_signal.h
|
||||
include/php/Zend/zend_smart_str_public.h
|
||||
include/php/Zend/zend_smart_str.h
|
||||
include/php/Zend/zend_smart_string_public.h
|
||||
include/php/Zend/zend_smart_string.h
|
||||
include/php/Zend/zend_sort.h
|
||||
include/php/Zend/zend_stack.h
|
||||
include/php/Zend/zend_stream.h
|
||||
include/php/Zend/zend_string.h
|
||||
include/php/Zend/zend_strtod_int.h
|
||||
include/php/Zend/zend_strtod.h
|
||||
include/php/Zend/zend_system_id.h
|
||||
include/php/Zend/zend_type_info.h
|
||||
include/php/Zend/zend_types.h
|
||||
include/php/Zend/zend_variables.h
|
||||
include/php/Zend/zend_virtual_cwd.h
|
||||
include/php/Zend/zend_vm_def.h
|
||||
include/php/Zend/zend_vm_execute.h
|
||||
include/php/Zend/zend_vm_handlers.h
|
||||
include/php/Zend/zend_vm_opcodes.h
|
||||
include/php/Zend/zend_vm_trace_handlers.h
|
||||
include/php/Zend/zend_vm_trace_lines.h
|
||||
include/php/Zend/zend_vm_trace_map.h
|
||||
include/php/Zend/zend_vm.h
|
||||
include/php/Zend/zend_weakrefs_arginfo.h
|
||||
include/php/Zend/zend_weakrefs.h
|
||||
include/php/Zend/zend.h
|
||||
lib/libphp.so
|
||||
lib/php/build/ax_check_compile_flag.m4
|
||||
lib/php/build/ax_gcc_func_attribute.m4
|
||||
lib/php/build/config.guess
|
||||
lib/php/build/config.sub
|
||||
lib/php/build/gen_stub.php
|
||||
lib/php/build/libtool.m4
|
||||
lib/php/build/ltmain.sh
|
||||
lib/php/build/Makefile.global
|
||||
lib/php/build/php_cxx_compile_stdcxx.m4
|
||||
lib/php/build/php.m4
|
||||
lib/php/build/phpize.m4
|
||||
lib/php/build/pkg.m4
|
||||
lib/php/build/run-tests.php
|
||||
lib/php/build/shtool
|
||||
man/man1/php-cgi.1.gz
|
||||
man/man1/php-config.1.gz
|
||||
man/man1/php.1.gz
|
||||
man/man1/phpdbg.1.gz
|
||||
man/man1/phpize.1.gz
|
||||
man/man8/php-fpm.8.gz
|
||||
sbin/php-fpm
|
||||
share/php/fpm/status.html
|
||||
@dir include/php/ext/date/lib
|
||||
@dir include/php/ext/date
|
||||
@dir include/php/ext/hash
|
||||
@dir include/php/ext/json
|
||||
@dir include/php/ext/libxml
|
||||
@dir include/php/ext/mysqlnd
|
||||
@dir include/php/ext/pcre/pcre2lib
|
||||
@dir include/php/ext/pcre
|
||||
@dir include/php/ext/spl
|
||||
@dir include/php/ext/standard
|
||||
@dir include/php/ext
|
||||
@dir include/php/main/streams
|
||||
@dir include/php/main
|
||||
@dir include/php/sapi/cli
|
||||
@dir include/php/sapi/embed
|
||||
@dir include/php/sapi
|
||||
@dir include/php/TSRM
|
||||
@dir include/php/Zend/Optimizer
|
||||
@dir include/php/Zend
|
||||
@dir include/php
|
||||
@dir lib/php/build
|
||||
@dir lib/php
|
||||
@dir share/php/fpm
|
||||
@dir share/php
|
||||
62
php82/php-mod-bcmath/Makefile
Normal file
62
php82/php-mod-bcmath/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= bcmath
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-bcmath/distinfo
Normal file
3
php82/php-mod-bcmath/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433148
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-bcmath/pkg-descr
Normal file
9
php82/php-mod-bcmath/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-bz2/Makefile
Normal file
62
php82/php-mod-bz2/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= bz2
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-bz2/distinfo
Normal file
3
php82/php-mod-bz2/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433148
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-bz2/pkg-descr
Normal file
9
php82/php-mod-bz2/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-calendar/Makefile
Normal file
62
php82/php-mod-calendar/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= calendar
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-calendar/distinfo
Normal file
3
php82/php-mod-calendar/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433149
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-calendar/pkg-descr
Normal file
9
php82/php-mod-calendar/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-ctype/Makefile
Normal file
62
php82/php-mod-ctype/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= ctype
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-ctype/distinfo
Normal file
3
php82/php-mod-ctype/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433149
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-ctype/pkg-descr
Normal file
9
php82/php-mod-ctype/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
63
php82/php-mod-curl/Makefile
Normal file
63
php82/php-mod-curl/Makefile
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS+= libcurl.so:net/libcurl
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= curl
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-curl/distinfo
Normal file
3
php82/php-mod-curl/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433149
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-curl/pkg-descr
Normal file
9
php82/php-mod-curl/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-dba/Makefile
Normal file
62
php82/php-mod-dba/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= dba
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-dba/distinfo
Normal file
3
php82/php-mod-dba/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433149
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-dba/pkg-descr
Normal file
9
php82/php-mod-dba/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
63
php82/php-mod-dom/Makefile
Normal file
63
php82/php-mod-dom/Makefile
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS+= libxml2.so:text/libxml2
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= dom
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-dom/distinfo
Normal file
3
php82/php-mod-dom/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433149
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-dom/pkg-descr
Normal file
9
php82/php-mod-dom/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
63
php82/php-mod-enchant/Makefile
Normal file
63
php82/php-mod-enchant/Makefile
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS+= libenchant.so:text/libenchant
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= enchant
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-enchant/distinfo
Normal file
3
php82/php-mod-enchant/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433149
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
11
php82/php-mod-enchant/files/patch-enchant.c
Normal file
11
php82/php-mod-enchant/files/patch-enchant.c
Normal file
@@ -0,0 +1,11 @@
|
||||
--- enchant.c.orig 2020-10-18 21:29:39 UTC
|
||||
+++ enchant.c
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "ext/standard/info.h"
|
||||
#include "Zend/zend_interfaces.h"
|
||||
#include "Zend/zend_exceptions.h"
|
||||
-#include "../spl/spl_exceptions.h"
|
||||
+#include "ext/spl/spl_exceptions.h"
|
||||
#include <enchant.h>
|
||||
#include "php_enchant.h"
|
||||
#include "enchant_arginfo.h"
|
||||
9
php82/php-mod-enchant/pkg-descr
Normal file
9
php82/php-mod-enchant/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
63
php82/php-mod-exif/Makefile
Normal file
63
php82/php-mod-exif/Makefile
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS+= libexif.so:graph/libexif
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= exif
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-exif/distinfo
Normal file
3
php82/php-mod-exif/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-exif/pkg-descr
Normal file
9
php82/php-mod-exif/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-fileinfo/Makefile
Normal file
62
php82/php-mod-fileinfo/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= fileinfo
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-fileinfo/distinfo
Normal file
3
php82/php-mod-fileinfo/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-fileinfo/pkg-descr
Normal file
9
php82/php-mod-fileinfo/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-filter/Makefile
Normal file
62
php82/php-mod-filter/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= filter
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-filter/distinfo
Normal file
3
php82/php-mod-filter/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-filter/pkg-descr
Normal file
9
php82/php-mod-filter/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-ftp/Makefile
Normal file
62
php82/php-mod-ftp/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= ftp
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-ftp/distinfo
Normal file
3
php82/php-mod-ftp/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-ftp/pkg-descr
Normal file
9
php82/php-mod-ftp/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
81
php82/php-mod-gd/Makefile
Normal file
81
php82/php-mod-gd/Makefile
Normal file
@@ -0,0 +1,81 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
BUILD_DEPENDS+= libgd>=2.1.1:graph/libgd
|
||||
RUN_DEPENDS+= libgd>=2.1.1:graph/libgd
|
||||
|
||||
LIB_DEPENDS+= libXpm.so:x11/libXpm
|
||||
LIB_DEPENDS+= libjpeg.so:graph/libjpeg
|
||||
LIB_DEPENDS+= libpng.so:graph/libpng
|
||||
LIB_DEPENDS+= libvpx.so:media/libvpx
|
||||
LIB_DEPENDS+= libfreetype.so:graph/libfreetype2
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
#CONFIGURE_ENV+= ac_cv_lib_Xpm_XpmFreeXpmImage=no
|
||||
#CONFIGURE_ENV+= ac_cv_lib_gd_gdImageCreateFromXpm=no
|
||||
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
CONFIGURE_ARGS+= --with-gd=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-vpx-dir=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-jpeg-dir=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-png-dir=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-zlib-dir=/usr
|
||||
CONFIGURE_ARGS+= --with-xpm-dir=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-freetype-dir=${LOCALBASE}
|
||||
|
||||
MODULE_NAME= gd
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-gd/distinfo
Normal file
3
php82/php-mod-gd/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-gd/pkg-descr
Normal file
9
php82/php-mod-gd/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
62
php82/php-mod-gettext/Makefile
Normal file
62
php82/php-mod-gettext/Makefile
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= gettext
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-gettext/distinfo
Normal file
3
php82/php-mod-gettext/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-gettext/pkg-descr
Normal file
9
php82/php-mod-gettext/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
63
php82/php-mod-gmp/Makefile
Normal file
63
php82/php-mod-gmp/Makefile
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS+= libgmp.so:math/libgmp
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= gmp
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
php82/php-mod-gmp/distinfo
Normal file
3
php82/php-mod-gmp/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1651433150
|
||||
SHA256 (php-8.1.5.tar.xz) = 7647734b4dcecd56b7e4bd0bc55e54322fa3518299abcdc68eb557a7464a2e8a
|
||||
SIZE (php-8.1.5.tar.xz) = 11752684
|
||||
9
php82/php-mod-gmp/pkg-descr
Normal file
9
php82/php-mod-gmp/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
|
||||
Source general-purpose scripting language that is especially suited for
|
||||
Web development and can be embedded into HTML. Its syntax draws upon C,
|
||||
Java, and Perl, and is easy to learn. The main goal of the language is to
|
||||
allow web developers to write dynamically generated webpages quickly, but
|
||||
you can do much more with PHP.
|
||||
|
||||
WWW: http://www.php.net/
|
||||
|
||||
63
php82/php-mod-iconv/Makefile
Normal file
63
php82/php-mod-iconv/Makefile
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
|
||||
#
|
||||
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
|
||||
PORTVERSION= 8.1.5
|
||||
CATEGORIES= lang devel www
|
||||
MASTER_SITES= ${MASTER_SITE_PHP}
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
DISTNAME= php-${PORTVERSION}
|
||||
|
||||
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://de.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://es.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://it.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://se.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://br.php.net/%SUBDIR%/
|
||||
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
|
||||
|
||||
MASTER_SITE_SUBDIR= distributions
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= PHP Scripting Language (Apache Module and CLI)
|
||||
|
||||
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
|
||||
#RUN_DEPENDS
|
||||
#BUILD_DEPENDS+= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS+= libiconv.so:text/libiconv
|
||||
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
|
||||
|
||||
USES+= tar:xz gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
MODULE_NAME= iconv
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
#EXTDIR
|
||||
#INCLUDEDIR
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
|
||||
|
||||
post-install:
|
||||
${RM} -f ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dir ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user