Init, adding corrade,magnum,magnum-plugins,magnum-integration,magnum-extras, and magnum-examples 2025.47_1

This commit is contained in:
2025-11-19 13:35:26 +02:00
parent 6031ef978f
commit 17b687c5c1
346 changed files with 28087 additions and 12 deletions

28
common/environment/README Normal file
View File

@@ -0,0 +1,28 @@
ENVIRONMENT SHELL SNIPPETS
==========================
This directory contains shell files (must not be executable nor contain a shebang)
that are read by xbps-src when building source packages. The shell files
are read in lexical order (as ordered by shell rules).
These files shall set or unset environment variables while building packages.
Only files with the `.sh' extension are read, so this file will be simply ignored.
The following directories are used to set the order in which the shell snippets
should be read by xbps-src:
* build-style (to set vars for a specific build_style helper)
* setup (before reading template)
* setup-subpkg (before running the subpkg <pkgname>_package() function)
* fetch (before running fetch phase)
* extract (before running extract phase)
* configure (before running configure phase)
* build (before running build phase)
* check (before running check phase)
* install (before running install phase)
* pkg (before running pkg phase)
NOTES
~~~~~
* Symlinks can be created (relative) to make a shell snippet available in
multiple phases.

View File

View File

@@ -0,0 +1,13 @@
makedepends+=" R"
depends+=" R"
create_wrksrc=required
build_wrksrc="${pkgname#R-cran-}"
# default to cran
if [ -z "$distfiles" ]; then
distfiles=" https://cran.r-project.org/src/contrib/Archive/${pkgname#R-cran-}/${pkgname#R-cran-}_${version//r/-}.tar.gz"
case " $XBPS_DISTFILES_MIRROR " in
*" https://cran.r-project.org/src/contrib "*) ;;
*) XBPS_DISTFILES_MIRROR+=" https://cran.r-project.org/src/contrib" ;;
esac
fi

View File

@@ -0,0 +1,2 @@
hostmakedepends+=" cabal-install git"
build_helper+=" haskell"

View File

@@ -0,0 +1,11 @@
hostmakedepends+=" cargo"
if ! [[ "$pkgname" =~ ^cargo-auditable(-bootstrap)?$ ]]; then
hostmakedepends+=" cargo-auditable"
fi
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
build_helper+=" rust"

View File

@@ -0,0 +1,11 @@
if [ "$CHROOT_READY" ]; then
if [ "$pkgname" != cmake-bootstrap ]; then
hostmakedepends+=" cmake-bootstrap"
fi
if [ "${make_cmd:-ninja}" = ninja ]; then
hostmakedepends+=" ninja"
fi
fi
export CTEST_OUTPUT_ON_FAILURE=TRUE
PATH="$PATH:/usr/libexec/xbps-src/bin"

View File

@@ -0,0 +1,8 @@
lib32disabled=yes
hostmakedepends+=" ruby"
depends+=" ruby"
# default to rubygems
if [ -z "$distfiles" ]; then
distfiles="https://rubygems.org/downloads/${pkgname#ruby-}-${version}.gem"
fi

View File

@@ -0,0 +1,3 @@
lib32disabled=yes
hostmakedepends+=" ruby-devel"
makedepends+=" ruby-devel"

View File

@@ -0,0 +1,55 @@
if [ -z "$hostmakedepends" -o "${hostmakedepends##*gcc-go-tools*}" ]; then
# gc compiler
if [ -z "$archs" ]; then
archs="aarch64* armv[567]* i686* x86_64* ppc64le* riscv64*"
fi
hostmakedepends+=" go"
nopie=yes
else
# gccgo compiler
if [ -z "$archs" ]; then
# we have support for these in our gcc
archs="aarch64* armv[567]* i686* x86_64* ppc64* riscv64*"
fi
if [ "$CROSS_BUILD" ]; then
# target compiler to use; otherwise it'll just call gccgo
export GCCGO="${XBPS_CROSS_TRIPLET}-gccgo"
fi
fi
case "$XBPS_TARGET_MACHINE" in
aarch64*) export GOARCH=arm64;;
armv5*) export GOARCH=arm; export GOARM=5;;
armv6*) export GOARCH=arm; export GOARM=6;;
armv7*) export GOARCH=arm; export GOARM=7;;
i686*) export GOARCH=386;;
x86_64*) export GOARCH=amd64;;
ppc64le*) export GOARCH=ppc64le;;
ppc64*) export GOARCH=ppc64;;
ppc*) export GOARCH=ppc;;
mipsel*) export GOARCH=mipsle;;
mips*) export GOARCH=mips;;
riscv64*) export GOARCH=riscv64;;
esac
export GOPATH="${wrksrc}/_build-${pkgname}-xbps"
GOSRCPATH="${GOPATH}/src/${go_import_path}"
export CGO_CFLAGS="$CFLAGS"
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export CGO_LDFLAGS="$LDFLAGS"
export CGO_ENABLED="${CGO_ENABLED:-1}"
export GO111MODULE=auto
export GOTOOLCHAIN="${GOTOOLCHAIN:-local}"
export GOPROXY="https://proxy.golang.org,direct"
export GOSUMDB="sum.golang.org"
case "$XBPS_TARGET_MACHINE" in
*-musl) export GOCACHE="${XBPS_HOSTDIR}/gocache-muslc" ;;
*) export GOCACHE="${XBPS_HOSTDIR}/gocache-glibc" ;;
esac
case "$XBPS_TARGET_MACHINE" in
# https://go.dev/cl/421935
i686*) export CGO_CFLAGS="$CGO_CFLAGS -fno-stack-protector" ;;
esac

View File

@@ -0,0 +1,2 @@
hostmakedepends+=" ghc stack"
build_helper+=" haskell"

View File

@@ -0,0 +1,4 @@
hostmakedepends+=" meson"
build_helper+=" meson"
export PYTHONUNBUFFERED=1

View File

@@ -0,0 +1,3 @@
hostmakedepends+=" perl"
makedepends+=" perl"
lib32disabled=yes

View File

@@ -0,0 +1,4 @@
hostmakedepends+=" perl"
makedepends+=" perl"
depends+=" perl"
lib32disabled=yes

View File

@@ -0,0 +1,2 @@
lib32disabled=yes
makedepends+=" python"

View File

@@ -0,0 +1,6 @@
lib32disabled=yes
if [ -z "$nopyprovides" ] || [ -z "$noverifypydeps" ]; then
hostmakedepends+=" python3-packaging-bootstrap"
fi
makedepends+=" python3"
build_helper+=" python3"

View File

@@ -0,0 +1,6 @@
lib32disabled=yes
hostmakedepends+=" python3-build python3-installer"
if [ -z "$nopyprovides" ] || [ -z "$noverifypydeps" ]; then
hostmakedepends+=" python3-packaging-bootstrap"
fi
build_helper+=" python3"

View File

@@ -0,0 +1,3 @@
depends+=" rakudo"
checkdepends+=" perl"
hostmakedepends+=" rakudo"

View File

@@ -0,0 +1 @@
lib32disabled=yes

View File

@@ -0,0 +1 @@
hostmakedepends+=" scons"

View File

@@ -0,0 +1,2 @@
# python_version isn't needed for everything either
python_version=3

View File

@@ -0,0 +1,220 @@
dvipdfmx/dvipdfmx.cfg texlive
dvips/base/color.pro texlive
dvips/base/crop.pro texlive
dvips/base/finclude.pro texlive
dvips/base/hps.pro texlive
dvips/base/special.pro texlive
dvips/base/texc.pro texlive
dvips/base/tex.pro texlive
dvips/base/texps.pro texlive
dvips/gsftopk/render.ps texlive
dvips/xdvi/config.xdvi texlive
fonts/cmap/dvipdfmx/EUC-UCS2 texlive
fonts/enc/dvips/base/dvips-all.enc texlive
fonts/map/dvipdfmx/cid-x.map texlive
fonts/map/glyphlist/glyphlist.txt texlive
fonts/map/glyphlist/pdfglyphlist.txt texlive
psutils/paper.cfg texlive
scripts/a2ping/a2ping.pl texlive
scripts/accfonts/mkt1font texlive
scripts/accfonts/vpl2ovp texlive
scripts/accfonts/vpl2vpl texlive
scripts/adhocfilelist/adhocfilelist.sh texlive
scripts/albatross/albatross.sh texlive
scripts/arara/arara.sh texlive
scripts/attachfile2/pdfatfi.pl texlive
scripts/authorindex/authorindex texlive
scripts/bib2gls/bib2gls.sh texlive
scripts/bib2gls/convertgls2bib.sh texlive
scripts/bibcop/bibcop.pl texlive
scripts/bibexport/bibexport.sh texlive
scripts/bundledoc/arlatex texlive
scripts/bundledoc/bundledoc texlive
scripts/cachepic/cachepic.tlu texlive-pictures
scripts/checkcites/checkcites.lua texlive
scripts/checklistings/checklistings.sh texlive
scripts/chklref/chklref.pl texlive
scripts/citation-style-language/citeproc-lua.lua texlive
scripts/cjk-gs-integrate/cjk-gs-integrate.pl texlive
scripts/clojure-pamphlet/pamphletangler texlive
scripts/cluttex/cluttex.lua texlive
scripts/context/perl/mptopdf.pl texlive
scripts/convbkmk/convbkmk.rb texlive-langjapanese
scripts/crossrefware/bbl2bib.pl texlive
scripts/crossrefware/bibdoiadd.pl texlive
scripts/crossrefware/bibmradd.pl texlive
scripts/crossrefware/biburl2doi.pl texlive
scripts/crossrefware/bibzbladd.pl texlive
scripts/crossrefware/ltx2crossrefxml.pl texlive
scripts/ctanbib/ctanbib texlive
scripts/ctanify/ctanify texlive
scripts/ctan-o-mat/ctan-o-mat.pl texlive
scripts/ctanupload/ctanupload.pl texlive
scripts/de-macro/de-macro texlive
scripts/diadia/diadia.lua texlive-humanities
scripts/digestif/digestif.texlua texlive
scripts/dosepsbin/dosepsbin.pl texlive
scripts/dtxgen/dtxgen texlive
scripts/dviasm/dviasm.py texlive
scripts/dviinfox/dviinfox.pl texlive
scripts/epspdf/epspdftk.tcl texlive
scripts/epspdf/epspdf.tlu texlive
scripts/epstopdf/epstopdf.pl texlive
scripts/exceltex/exceltex texlive
scripts/fig4latex/fig4latex texlive-pictures
scripts/findhyph/findhyph texlive
scripts/fontools/afm2afm texlive
scripts/fontools/autoinst texlive
scripts/fontools/ot2kpx texlive
scripts/fragmaster/fragmaster.pl texlive
scripts/getmap/getmapdl.lua texlive
scripts/git-latexdiff/git-latexdiff texlive
scripts/glossaries/makeglossaries-lite.lua texlive
scripts/glossaries/makeglossaries texlive
scripts/hyperxmp/hyperxmp-add-bytecount.pl texlive
scripts/installfont/installfont-tl texlive
scripts/jfmutil/jfmutil.pl texlive
scripts/ketcindy/ketcindy.pl texlive
scripts/kotex-utils/jamo-normalize.pl texlive-langkorean
scripts/kotex-utils/komkindex.pl texlive-langkorean
scripts/kotex-utils/ttf2kotexfont.pl texlive-langkorean
scripts/l3build/l3build.lua texlive-latexextra
scripts/latex2man/latex2man texlive
scripts/latex2nemeth/latex2nemeth texlive
scripts/latexdiff/latexdiff.pl texlive
scripts/latexdiff/latexdiff-vc.pl texlive
scripts/latexdiff/latexrevise.pl texlive
scripts/latexfileversion/latexfileversion texlive
scripts/latex-git-log/latex-git-log texlive
scripts/latexindent/latexindent.pl texlive
scripts/latexmk/latexmk.pl texlive
scripts/latexpand/latexpand texlive
scripts/latex-papersize/latex-papersize.py texlive
scripts/light-latex-make/llmk.lua texlive
scripts/lilyglyphs/lily-glyph-commands.py texlive-music
scripts/lilyglyphs/lily-image-commands.py texlive-music
scripts/lilyglyphs/lily-rebuild-pdfs.py texlive-music
scripts/listbib/listbib texlive
scripts/listings-ext/listings-ext.sh texlive
scripts/ltxfileinfo/ltxfileinfo texlive
scripts/ltximg/ltximg.pl texlive
scripts/luafindfont/luafindfont.lua texlive
scripts/luaotfload/luaotfload-tool.lua texlive
scripts/lwarp/lwarpmk.lua texlive
scripts/make4ht/make4ht texlive
scripts/makedtx/makedtx.pl texlive
scripts/match_parens/match_parens texlive
scripts/mathspic/mathspic.pl texlive-pictures
scripts/mf2pt1/mf2pt1.pl texlive
scripts/mkgrkindex/mkgrkindex texlive-langgreek
scripts/mkjobtexmf/mkjobtexmf.pl texlive
scripts/mkpic/mkpic texlive-pictures
scripts/m-tx/m-tx.lua texlive-music
scripts/multibibliography/multibibliography.pl texlive
scripts/musixtex/musixflx.lua texlive-music
scripts/musixtex/musixtex.lua texlive-music
scripts/optexcount/optexcount texlive
scripts/pagelayout/pagelayoutapi texlive
scripts/pagelayout/textestvis texlive
scripts/pax/pdfannotextractor.pl texlive
scripts/pdfbook2/pdfbook2 texlive
scripts/pdfcrop/pdfcrop.pl texlive
scripts/pdfjam/pdfjam texlive
scripts/pdflatexpicscale/pdflatexpicscale.pl texlive
scripts/pdftex-quiet/pdftex-quiet texlive
scripts/pdfxup/pdfxup texlive
scripts/pedigree-perl/pedigree.pl texlive-pstricks
scripts/perltex/perltex.pl texlive
scripts/petri-nets/pn2pdf texlive
scripts/tikztosvg/tikztosvg texlive-pictures
scripts/pfarrei/a5toa4.tlu texlive
scripts/pfarrei/pfarrei.tlu texlive
scripts/pkfix-helper/pkfix-helper texlive
scripts/pkfix/pkfix.pl texlive
scripts/pmxchords/pmxchords.lua texlive-music
scripts/ps2eps/ps2eps.pl texlive
scripts/pst2pdf/pst2pdf.pl texlive-pstricks
scripts/pst-pdf/ps4pdf texlive-pstricks
scripts/psutils/extractres.pl texlive
scripts/psutils/includeres.pl texlive
scripts/psutils/psjoin.pl texlive
scripts/ptex2pdf/ptex2pdf.lua texlive
scripts/ptex-fontmaps/kanji-config-updmap.pl texlive-langjapanese
scripts/ptex-fontmaps/kanji-config-updmap-sys.sh texlive-langjapanese
scripts/ptex-fontmaps/kanji-config-updmap-user.sh texlive-langjapanese
scripts/ptex-fontmaps/kanji-fontmap-creator.pl texlive-langjapanese
scripts/purifyeps/purifyeps texlive
scripts/pygmentex/pygmentex.py texlive-latexextra
scripts/pythontex/depythontex.py texlive
scripts/pythontex/pythontex.py texlive
scripts/rubik/rubikrotation.pl texlive-games
scripts/simpdftex/simpdftex texlive
scripts/spix/spix.py texlive
scripts/splitindex/splitindex.pl texlive
scripts/srcredact/srcredact.pl texlive
scripts/sty2dtx/sty2dtx.pl texlive
scripts/svn-multi/svn-multi.pl texlive
scripts/tex4ebook/tex4ebook texlive
scripts/texaccents/texaccents.sno texlive
scripts/texcount/texcount.pl texlive
scripts/texdef/texdef.pl texlive
scripts/texdiff/texdiff texlive
scripts/texdirflatten/texdirflatten texlive
scripts/texdoc/texdoc.tlu texlive
scripts/texdoctk/texdoctk.pl texlive
scripts/texfot/texfot.pl texlive
scripts/texlive-extra/allcm.sh texlive
scripts/texlive-extra/allneeded.sh texlive
scripts/texlive-extra/dvi2fax.sh texlive
scripts/texlive-extra/dvired.sh texlive
scripts/texlive-extra/e2pall.pl texlive
scripts/texlive-extra/fontinst.sh texlive
scripts/texlive-extra/kpsetool.sh texlive
scripts/texlive-extra/kpsewhere.sh texlive
scripts/texlive-extra/ps2frag.sh texlive
scripts/texlive-extra/pslatex.sh texlive
scripts/texlive-extra/rubibtex.sh texlive-langcyrillic
scripts/texlive-extra/rumakeindex.sh texlive-langcyrillic
scripts/texlive-extra/texconfig-dialog.sh texlive
scripts/texlive-extra/texconfig.sh texlive
scripts/texlive-extra/texconfig-sys.sh texlive
scripts/texlive-extra/texlinks.sh texlive
scripts/texlive-extra/xelatex-unsafe.sh texlive
scripts/texlive-extra/xetex-unsafe.sh texlive
scripts/texlive/fmtutil.pl texlive
scripts/texlive/fmtutil-sys.sh texlive
scripts/texlive/fmtutil-user.sh texlive
scripts/texlive/mktexlsr texlive
scripts/texlive/mktexmf texlive
scripts/texlive/mktexpk texlive
scripts/texlive/mktextfm texlive
scripts/texlive/rungs.lua texlive
scripts/texliveonfly/texliveonfly.py texlive
scripts/texlive/tlmgr.pl texlive
scripts/texlive/updmap.pl texlive
scripts/texlive/updmap-sys.sh texlive
scripts/texlive/updmap-user.sh texlive
scripts/texloganalyser/texloganalyser texlive
scripts/texlogfilter/texlogfilter texlive
scripts/texlogsieve/texlogsieve texlive
scripts/texosquery/texosquery-jre5.sh texlive
scripts/texosquery/texosquery-jre8.sh texlive
scripts/texosquery/texosquery.sh texlive
scripts/texplate/texplate.sh texlive
scripts/thumbpdf/thumbpdf.pl texlive
scripts/tlshell/tlshell.tcl texlive
scripts/typeoutfileinfo/typeoutfileinfo.sh texlive
scripts/ulqda/ulqda.pl texlive-science
scripts/urlbst/urlbst texlive
scripts/vpe/vpe.pl texlive
scripts/webquiz/webquiz.py texlive
scripts/wordcount/wordcount.sh texlive
scripts/xindex/xindex.lua texlive
scripts/yplan/yplan texlive
texconfig/tcfmgr.map texlive
texconfig/tcfmgr texlive
web2c/fmtutil.cnf texlive
web2c/texmf.cnf texlive
xdvi/pixmap/toolbar2.xpm texlive
xdvi/pixmap/toolbar.xpm texlive
xdvi/XDvi texlive

View File

@@ -0,0 +1,11 @@
# Snapshot tarballs get removed after over a year, we can archive the ones we need in distfiles.
case "$XBPS_DISTFILES_FALLBACK" in
*"repo-default.voidlinux.org/distfiles"*) ;;
*) XBPS_DISTFILES_FALLBACK+=" https://repo-default.voidlinux.org/distfiles" ;;
esac
lib32disabled=yes
nopie=yes
nostrip_files+=" libcaf_single.a libgcc.a libgcov.a libgcc_eh.a
libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a libgmem.a"

View File

@@ -0,0 +1 @@
hostmakedepends+=" python"

View File

@@ -0,0 +1 @@
hostmakedepends+=" python3"

View File

@@ -0,0 +1 @@
hostmakedepends+=" zig"

View File

View File

@@ -0,0 +1 @@
../configure/bootstrap.sh

View File

@@ -0,0 +1 @@
../configure/ccache.sh

View File

@@ -0,0 +1 @@
../configure/cross.sh

View File

@@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@@ -0,0 +1 @@
../configure/hardening.sh

View File

@@ -0,0 +1 @@
../configure/pkg-config.sh

View File

@@ -0,0 +1 @@
../configure/bootstrap.sh

View File

@@ -0,0 +1 @@
../configure/ccache.sh

View File

@@ -0,0 +1 @@
../configure/cross.sh

View File

@@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@@ -0,0 +1 @@
../configure/hardening.sh

View File

@@ -0,0 +1 @@
export QT_QPA_PLATFORM=${QT_QPA_PLATFORM:-offscreen}

View File

@@ -0,0 +1 @@
../configure/pkg-config.sh

View File

View File

@@ -0,0 +1,147 @@
## # general
ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
## ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
## ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
## ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
## ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
## ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
## ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
## ac_cv_linux_vers=${ac_cv_linux_vers=2}
## ac_cv_need_trio=${ac_cv_need_trio=no}
ac_cv_sizeof___int64=0
ac_cv_sizeof_char=1
ac_cv_sizeof_int=4
ac_cv_sizeof_long=8
ac_cv_sizeof_long_long=8
ac_cv_sizeof_short=2
ac_cv_sizeof_size_t=8
ac_cv_sizeof_ssize_t=8
ac_cv_sizeof_void_p=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_bool=1
## ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
## ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
## ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
## ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8}
ac_cv_sizeof_unsigned_short=2
## ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
## ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=8}
## ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4}
## ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4}
## ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8}
## ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
## ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
## ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
## db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'}
## db_cv_align_t=${db_cv_align_t='unsigned long long'}
## db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
## db_cv_sprintf_count=${db_cv_sprintf_count=yes}
## ac_cv_sizeof_struct_iovec=16
# glib
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=8
ac_cv_alignof_unsigned_long=8
ac_cv_alignof_char=1
ac_cv_alignof_double=8
## nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no}
## samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes}
## utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
#gcc
ac_cv_lib_m_sin=${ac_cv_lib_m_sin=yes}
#orbit
libIDL_cv_long_long_format=ll
## # ORBit2
## ac_cv_alignof_CORBA_boolean=1
## ac_cv_alignof_CORBA_char=1
## ac_cv_alignof_CORBA_double=8
## ac_cv_alignof_CORBA_float=4
## ac_cv_alignof_CORBA_long=4
## ac_cv_alignof_CORBA_long_double=8
## ac_cv_alignof_CORBA_long_long=8
## ac_cv_alignof_CORBA_octet=1
## ac_cv_alignof_CORBA_pointer=8
## ac_cv_alignof_CORBA_short=2
## ac_cv_alignof_CORBA_struct=1
## ac_cv_alignof_CORBA_wchar=2
##
## lf_cv_sane_realloc=yes
as_cv_unaligned_access=${as_cv_unaligned_access=no}
##
## #unfs3
## nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
## nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
## nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
#apr
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# lftp
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
## # at-spi2-core
ac_cv_alignof_dbind_pointer=8
ac_cv_alignof_dbind_struct=1
ac_cv_alignof_dbus_bool_t=4
ac_cv_alignof_dbus_int16_t=2
ac_cv_alignof_dbus_int32_t=4
ac_cv_alignof_dbus_int64_t=8
## # socat
sc_cv_type_dev_basic='6 /* unsigned long */'
sc_cv_type_gidt_basic='4 /* unsigned int */'
sc_cv_type_longlong=yes
sc_cv_type_modet_basic='4 /* unsigned int */'
sc_cv_type_off64=yes
sc_cv_type_off64_basic='5 /* long */'
sc_cv_type_off_basic='5 /* long */'
sc_cv_type_pidt_basic='3 /* int */'
sc_cv_type_rlimit_rlimmax_basic='6 /* unsigned long */'
sc_cv_type_sa_family_t=yes
sc_cv_type_sighandler=yes
sc_cv_type_sizet_basic='6 /* unsigned long */'
sc_cv_type_socklen=yes
sc_cv_type_socklent_basic='4 /* unsigned int */'
sc_cv_type_stat64=yes
sc_cv_type_stat64_stblksize_basic='3 /* int */'
sc_cv_type_stat64_stblocks_basic='5 /* long */'
sc_cv_type_stat64_stdev_basic='6 /* unsigned long */'
sc_cv_type_stat64_stino_basic='6 /* unsigned long */'
sc_cv_type_stat64_stnlink_basic='4 /* unsigned int */'
sc_cv_type_stat64_stsize_basic='5 /* long */'
sc_cv_type_stat_stblksize_basic='3 /* int */'
sc_cv_type_stat_stblocks_basic='5 /* long */'
sc_cv_type_stat_stino_basic='6 /* unsigned long */'
sc_cv_type_stat_stnlink_basic='4 /* unsigned int */'
sc_cv_type_stat_stsize_basic='5 /* long */'
sc_cv_type_struct_timeval_tv_usec='5 /* long */'
sc_cv_type_timet_basic='5 /* long */'
sc_cv_type_uidt_basic='4 /* unsigned int */'
sc_cv_type_uint16=yes
sc_cv_type_uint32=yes
sc_cv_type_uint64=yes
sc_cv_type_uint8=yes
sc_cv_typeof_struct_cmsghdr_cmsg_len='6 /* unsigned long */'

View File

@@ -0,0 +1,232 @@
# general
ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no}
ac_cv_header_netinet_sctp_uio_h=${ac_cv_header_netinet_sctp_uio_h=no}
ac_cv_sctp=${ac_cv_sctp=no}
ac_cv_sizeof_struct_iovec=8
# apache
ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes}
apr_cv_process_shared_works=${apr_cv_process_shared_works=no}
ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# bash
ac_cv_c_long_double=${ac_cv_c_long_double=yes}
# coreutils
utils_cv_sys_open_max=${utils_cv_sys_open_max=1019}
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
# db (sleepycat)
db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
db_cv_sprintf_count=${db_cv_sprintf_count=yes}
db_cv_align_t=${db_cv_align_t='unsigned long long'}
db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
# D-BUS
ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
# edb
db_cv_spinlocks=${db_cv_spinlocks=no}
# ettercap
ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
# fget
compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
compat_cv_func_basename_works=${compat_cv_func_basename_works=no}
compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no}
# fnmatch
ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
# glib
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes}
glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes}
glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
# glib-2.0
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_sys_use_pid_niceness_surrogate=${glib_cv_sys_use_pid_niceness_surrogate=yes}
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=8
ac_cv_alignof_unsigned_long=4
#gstreamer
as_cv_unaligned_access=${as_cv_unaligned_access=no}
# httppc
ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
# jikes
ac_cv_sizeof_wchar_t=4
# lftp
ac_cv_need_trio=${ac_cv_need_trio=no}
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
# libesmtp
acx_working_snprintf=${acx_working_snprintf=yes}
# libidl
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
# libnet
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}
# libxfce4util
with_broken_putenv=${with_broken_putenv=no}
# links
ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes}
# mysql
mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=no}
mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no}
# nano
ac_cv_regexec_segfault_emptystr=${ac_cv_regexec_segfault_emptystr=no}
nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no}
# ORBit2
ac_cv_alignof_CORBA_boolean=1
ac_cv_alignof_CORBA_char=1
ac_cv_alignof_CORBA_double=8
ac_cv_alignof_CORBA_float=4
ac_cv_alignof_CORBA_long=4
ac_cv_alignof_CORBA_long_double=8
ac_cv_alignof_CORBA_long_long=8
ac_cv_alignof_CORBA_octet=1
ac_cv_alignof_CORBA_pointer=4
ac_cv_alignof_CORBA_short=2
ac_cv_alignof_CORBA_struct=1
ac_cv_alignof_CORBA_wchar=2
# php
ac_cv_pread=${ac_cv_pread=no}
ac_cv_pwrite=${ac_cv_pwrite=no}
php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes}
# rsync
rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no}
rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes}
rsync_cv_HAVE_LONGLONG=${rsync_cv_HAVE_LONGLONG=yes}
rsync_cv_HAVE_OFF64_T=${rsync_cv_HAVE_OFF64_T=no}
rsync_cv_HAVE_SHORT_INO_T=${rsync_cv_HAVE_SHORT_INO_T=no}
rsync_cv_HAVE_UNSIGNED_CHAR=${rsync_cv_HAVE_UNSIGNED_CHAR=no}
rsync_cv_HAVE_BROKEN_READDIR=${rsync_cv_HAVE_BROKEN_READDIR=no}
rsync_cv_HAVE_GETTIMEOFDAY_TZ=${rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes}
rsync_cv_HAVE_C99_VSNPRINTF=${rsync_cv_HAVE_C99_VSNPRINTF=yes}
rsync_cv_HAVE_SECURE_MKSTEMP=${rsync_cv_HAVE_SECURE_MKSTEMP=yes}
rsync_cv_REPLACE_INET_NTOA=${rsync_cv_REPLACE_INET_NTOA=no}
rsync_cv_REPLACE_INET_ATON=${rsync_cv_REPLACE_INET_ATON=no}
# screen
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
# socat
sc_cv_sys_crdly_shift=9
sc_cv_sys_csize_shift=4
sc_cv_sys_tabdly_shift=11
sc_cv_type_dev_basic='8 /* unsigned long long */'
sc_cv_type_gidt_basic='4 /* unsigned int */'
sc_cv_type_longlong=yes
sc_cv_type_modet_basic='4 /* unsigned int */'
sc_cv_type_off64=no
sc_cv_type_off64_basic='0 /* unknown */'
sc_cv_type_off_basic='3 /* int */'
sc_cv_type_pidt_basic='3 /* int */'
sc_cv_type_rlimit_rlimmax_basic='4 /* unsigned int */'
sc_cv_type_sa_family_t=yes
sc_cv_type_sighandler=no
sc_cv_type_sizet_basic='4 /* unsigned int */'
sc_cv_type_socklen=yes
sc_cv_type_socklent_basic='4 /* unsigned int */'
sc_cv_type_stat64=no
sc_cv_type_stat64_stblksize_basic='0 /* unknown */'
sc_cv_type_stat64_stblocks_basic='0 /* unknown */'
sc_cv_type_stat64_stdev_basic='0 /* unknown */'
sc_cv_type_stat64_stino_basic='0 /* unknown */'
sc_cv_type_stat64_stnlink_basic='0 /* unknown */'
sc_cv_type_stat64_stsize_basic='0 /* unknown */'
sc_cv_type_stat_stblksize_basic='3 /* int */'
sc_cv_type_stat_stblocks_basic='3 /* int */'
sc_cv_type_stat_stino_basic='4 /* unsigned int */'
sc_cv_type_stat_stnlink_basic='4 /* unsigned int */'
sc_cv_type_stat_stsize_basic='3 /* int */'
sc_cv_type_struct_timeval_tv_usec='3 /* int */'
sc_cv_type_timet_basic='3 /* int */'
sc_cv_type_uidt_basic='4 /* unsigned int */'
sc_cv_type_uint16=yes
sc_cv_type_uint32=yes
sc_cv_type_uint64=yes
sc_cv_type_uint8=yes
sc_cv_typeof_struct_cmsghdr_cmsg_len='4 /* unsigned int */'
# ssh
ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=yes}
# startup-notification
lf_cv_sane_realloc=yes
# xffm
jm_cv_func_working_readdir=yes
# evolution-data-server
ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
# at-spi2-core
ac_cv_alignof_char=1
ac_cv_alignof_dbind_pointer=4
ac_cv_alignof_dbind_struct=1
ac_cv_alignof_dbus_bool_t=4
ac_cv_alignof_dbus_int16_t=2
ac_cv_alignof_dbus_int32_t=4
ac_cv_alignof_dbus_int64_t=8
ac_cv_alignof_double=8

View File

@@ -0,0 +1,151 @@
ac_cv_func_setvbuf_reversed=no
ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=4}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
ac_cv_sizeof_bool=${ac_cv_sizeof_bool=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_int_p=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=4}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4}
ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4}
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}
ac_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
ac_cv_sizeof_unsigned=${ac_cv_sizeof_unsigned=4}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}
ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long=8}
ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1}
ac_cv_uchar=${ac_cv_uchar=no}
ac_cv_uint=${ac_cv_uint=yes}
ac_cv_ulong=${ac_cv_ulong=yes}
ac_cv_ushort=${ac_cv_ushort=yes}
ac_cv_time_r_type=${ac_cv_time_r_type=POSIX}
# samba
samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=${samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=yes}
samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=${samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=no}
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=${samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no}
samba_cv_HAVE_BROKEN_GETGROUPS=${samba_cv_HAVE_BROKEN_GETGROUPS=no}
samba_cv_HAVE_BROKEN_LINUX_SENDFILE=${samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes}
samba_cv_HAVE_BROKEN_READDIR=${samba_cv_HAVE_BROKEN_READDIR=yes}
samba_cv_HAVE_BROKEN_READDIR_NAME=${samba_cv_HAVE_BROKEN_READDIR_NAME=no}
samba_cv_HAVE_C99_VSNPRINTF=${samba_cv_HAVE_C99_VSNPRINTF=yes}
samba_cv_HAVE_DEV64_T=${samba_cv_HAVE_DEV64_T=no}
samba_cv_HAVE_DEVICE_MAJOR_FN=${samba_cv_HAVE_DEVICE_MAJOR_FN=yes}
samba_cv_HAVE_DEVICE_MINOR_FN=${samba_cv_HAVE_DEVICE_MINOR_FN=yes}
samba_cv_HAVE_DQB_FSOFTLIMIT=${samba_cv_HAVE_DQB_FSOFTLIMIT=no}
samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=${samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=yes}
samba_cv_HAVE_FAM_H=${samba_cv_HAVE_FAM_H=no}
samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes}
samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes}
samba_cv_HAVE_FUNCTION_MACRO=${samba_cv_HAVE_FUNCTION_MACRO=yes}
samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no}
samba_cv_HAVE_INT16_FROM_RPC_RPC_H=${samba_cv_HAVE_INT16_FROM_RPC_RPC_H=no}
samba_cv_HAVE_INT32_FROM_RPC_RPC_H=${samba_cv_HAVE_INT32_FROM_RPC_RPC_H=no}
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes}
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes}
samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes}
samba_cv_HAVE_MAKEDEV=${samba_cv_HAVE_MAKEDEV=yes}
samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes}
samba_cv_HAVE_NATIVE_ICONV=${samba_cv_HAVE_NATIVE_ICONV=yes}
samba_cv_HAVE_OFF64_T=${samba_cv_HAVE_OFF64_T=no}
samba_cv_HAVE_ROOT=${samba_cv_HAVE_ROOT=yes}
samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=${samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=no}
samba_cv_HAVE_SECURE_MKSTEMP=${samba_cv_HAVE_SECURE_MKSTEMP=yes}
samba_cv_HAVE_SENDFILE=${samba_cv_HAVE_SENDFILE=yes}
samba_cv_HAVE_SENDFILE64=${samba_cv_HAVE_SENDFILE64=yes}
samba_cv_HAVE_SOCK_SIN_LEN=${samba_cv_HAVE_SOCK_SIN_LEN=no}
samba_cv_HAVE_STAT_ST_BLKSIZE=${samba_cv_HAVE_STAT_ST_BLKSIZE=yes}
samba_cv_HAVE_STAT_ST_BLOCKS=${samba_cv_HAVE_STAT_ST_BLOCKS=yes}
samba_cv_HAVE_STRUCT_DIR64=${samba_cv_HAVE_STRUCT_DIR64=no}
samba_cv_HAVE_STRUCT_DIRENT64=${samba_cv_HAVE_STRUCT_DIRENT64=yes}
samba_cv_HAVE_STRUCT_FLOCK64=${samba_cv_HAVE_STRUCT_FLOCK64=yes}
samba_cv_HAVE_TRUNCATED_SALT=${samba_cv_HAVE_TRUNCATED_SALT=no}
samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=${samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=no}
samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=${samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=no}
samba_cv_HAVE_UNSIGNED_CHAR=${samba_cv_HAVE_UNSIGNED_CHAR=yes}
samba_cv_HAVE_UTIMBUF=${samba_cv_HAVE_UTIMBUF=yes}
samba_cv_HAVE_UT_UT_ADDR=${samba_cv_HAVE_UT_UT_ADDR=yes}
samba_cv_HAVE_UT_UT_EXIT=${samba_cv_HAVE_UT_UT_EXIT=yes}
samba_cv_HAVE_UT_UT_HOST=${samba_cv_HAVE_UT_UT_HOST=yes}
samba_cv_HAVE_UT_UT_ID=${samba_cv_HAVE_UT_UT_ID=yes}
samba_cv_HAVE_UT_UT_NAME=${samba_cv_HAVE_UT_UT_NAME=yes}
samba_cv_HAVE_UT_UT_PID=${samba_cv_HAVE_UT_UT_PID=yes}
samba_cv_HAVE_UT_UT_TIME=${samba_cv_HAVE_UT_UT_TIME=yes}
samba_cv_HAVE_UT_UT_TV=${samba_cv_HAVE_UT_UT_TV=yes}
samba_cv_HAVE_UT_UT_TYPE=${samba_cv_HAVE_UT_UT_TYPE=yes}
samba_cv_HAVE_UT_UT_USER=${samba_cv_HAVE_UT_UT_USER=yes}
samba_cv_HAVE_UX_UT_SYSLEN=${samba_cv_HAVE_UX_UT_SYSLEN=no}
samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes}
samba_cv_HAVE_WORKING_AF_LOCAL=${samba_cv_HAVE_WORKING_AF_LOCAL=yes}
samba_cv_HAVE_Werror=${samba_cv_HAVE_Werror=yes}
samba_cv_PUTUTLINE_RETURNS_UTMP=${samba_cv_PUTUTLINE_RETURNS_UTMP=yes}
samba_cv_QUOTA_WORKS=${samba_cv_QUOTA_WORKS=yes}
samba_cv_REALPATH_TAKES_NULL=${samba_cv_REALPATH_TAKES_NULL=yes}
samba_cv_REPLACE_GETPASS=${samba_cv_REPLACE_GETPASS=yes}
samba_cv_REPLACE_INET_NTOA=${samba_cv_REPLACE_INET_NTOA=no}
samba_cv_REPLACE_READDIR=${samba_cv_REPLACE_READDIR=no}
samba_cv_RUN_QUOTA_TESTS=${samba_cv_RUN_QUOTA_TESTS=yes}
samba_cv_SEEKDIR_RETURNS_VOID=${samba_cv_SEEKDIR_RETURNS_VOID=yes}
samba_cv_SIZEOF_DEV_T=${samba_cv_SIZEOF_DEV_T=yes}
samba_cv_SIZEOF_INO_T=${samba_cv_SIZEOF_INO_T=yes}
samba_cv_SIZEOF_OFF_T=${samba_cv_SIZEOF_OFF_T=yes}
samba_cv_SYSCONF_SC_NGROUPS_MAX=${samba_cv_SYSCONF_SC_NGROUPS_MAX=yes}
samba_cv_SYSCONF_SC_NPROCESSORS_ONLN=${samba_cv_SYSCONF_SC_NPROCESSORS_ONLN=yes}
samba_cv_SYSCONF_SC_NPROC_ONLN=${samba_cv_SYSCONF_SC_NPROC_ONLN=no}
samba_cv_SYSCONF_SC_PAGESIZE=${samba_cv_SYSCONF_SC_PAGESIZE=yes}
samba_cv_SYSQUOTA_FOUND=${samba_cv_SYSQUOTA_FOUND=yes}
samba_cv_SYSQUOTA_WORKS=${samba_cv_SYSQUOTA_WORKS=yes}
samba_cv_SYSQUOTA_WORKS_XFS=${samba_cv_SYSQUOTA_WORKS_XFS=yes}
samba_cv_TRY_QUOTAS=${samba_cv_TRY_QUOTAS=no}
samba_cv_TRY_SYS_QUOTAS=${samba_cv_TRY_SYS_QUOTAS=yes}
samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes}
samba_cv_WE_USE_SYS_QUOTAS=${samba_cv_WE_USE_SYS_QUOTAS=yes}
samba_cv_WITH_AFS=${samba_cv_WITH_AFS=no}
samba_cv_WITH_FAKE_KASERVER=${samba_cv_WITH_FAKE_KASERVER=no}
samba_cv_WITH_QUOTAS=${samba_cv_WITH_QUOTAS=auto}
samba_cv_WITH_SYS_QUOTAS=${samba_cv_WITH_SYS_QUOTAS=auto}
samba_cv_WITH_VFS_AFSACL=${samba_cv_WITH_VFS_AFSACL=no}
samba_cv_compiler_supports_ll=${samba_cv_compiler_supports_ll=yes}
samba_cv_found_xfs_header=${samba_cv_found_xfs_header=yes}
samba_cv_have_longlong=${samba_cv_have_longlong=yes}
samba_cv_have_setresgid=${samba_cv_have_setresgid=yes}
samba_cv_have_setresuid=${samba_cv_have_setresuid=yes}
samba_cv_immediate_structures=${samba_cv_immediate_structures=yes}
samba_cv_optimize_out_funcation_calls=${samba_cv_optimize_out_funcation_calls=yes}
samba_cv_sig_atomic_t=${samba_cv_sig_atomic_t=yes}
samba_cv_socklen_t=${samba_cv_socklen_t=yes}
samba_cv_struct_timespec=${samba_cv_struct_timespec=yes}
samba_cv_sysquotas_file=${samba_cv_sysquotas_file=lib/sysquotas_linux.c}
samba_cv_unixsocket=${samba_cv_unixsocket=yes}
samba_cv_volatile=${samba_cv_volatile=yes}
#older sambe defines
samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes}
samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
samba_cv_USE_SETUIDX=${samba_cv_USE_SETUIDX=yes}
samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
#dbus
ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
# guile
ac_cv_func_pthread_attr_getstack=${ac_cv_func_pthread_attr_getstack=yes}
# gnet
ac_cv_member_struct_sockaddr_sa_len=${ac_cv_member_struct_sockaddr_sa_len=no}
ac_cv_gnet_have_abstract_sockets=${ac_cv_gnet_have_abstract_sockets=no}
gnet_sockaddr_family_field_name=${gnet_sockaddr_family_field_name=ss_family}

View File

@@ -0,0 +1,65 @@
# coreutils
fu_cv_sys_stat_statfs2_bsize=${fu_cv_sys_stat_statfs2_bsize=yes}
# glib
glib_cv_strlcpy=${glib_cv_strlcpy=no}
ac_cv_func_printf_unix98=${ac_cv_func_printf_unix98=yes}
ac_cv_func_snprintf_c99=${ac_cv_func_snprintf_c99=yes}
ac_cv_func_vsnprintf_c99=${ac_cv_func_vsnprintf_c99=yes}
glib_cv_compliant_posix_memalign=${glib_cv_compliant_posix_memalign=1}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
# glib-1.x requires this and pkgconfig-native / pkgconfig-nativesdk use
# that to avoid a dependency loop.
glib_cv___va_copy=${glib_cv___va_copy=yes}
glib_cv_va_copy=${glib_cv_va_copy=yes}
glib_cv_have_qsort_r=${glib_cv_have_qsort_r=yes}
#dbus-glib
ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
# git
ac_cv_iconv_omits_bom=${ac_cv_iconv_omits_bom=no}
# gnucash
am_cv_scanf_lld=${am_cv_scanf_lld=yes}
# guile
ac_cv_func_pthread_attr_getstack=${ac_cv_func_pthread_attr_getstack=yes}
#gcc-zlib
ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes}
ac_cv_func_memcpy=${ac_cv_func_memcpy=yes}
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
# squid
ac_cv_af_unix_large_dgram=${ac_cv_af_unix_large_dgram=yes}
ac_cv_func_setresuid=${ac_cv_func_setresuid=yes}
ac_cv_func_va_copy=${ac_cv_func_va_copy=yes}
ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
ac_cv_epoll_works=${ac_cv_epoll_works=yes}
ac_cv_check_sjlj=ssjlj
# m4
gt_cv_locale_fr=${gt_cv_locale_fr=fr_FR}
gl_cv_func_btowc_eof=${gl_cv_func_btowc_eof=yes}
gl_cv_func_wcrtomb_retval=${gl_cv_func_wcrtomb_retval=yes}
gl_cv_func_wctob_works=${gl_cv_func_wctob_works=yes}
gl_cv_func_mbrtowc_incomplete_state=${gl_cv_func_mbrtowc_incomplete_state=yes}
gl_cv_func_mbrtowc_sanitycheck=${gl_cv_func_mbrtowc_sanitycheck=yes}
gl_cv_func_mbrtowc_null_arg=${gl_cv_func_mbrtowc_null_arg=yes}
gl_cv_func_mbrtowc_retval=${gl_cv_func_mbrtowc_retval=yes}
gl_cv_func_mbrtowc_nul_retval=${gl_cv_func_mbrtowc_nul_retval=yes}
# va_copy and _va_copy
ac_cv_va_copy=${ac_cv_va_copy=yes}
ac_cv___va_copy=${ac_cv___va_copy=yes}
ac_cv_func_va_copy=${ac_cv_func_va_copy=yes}
ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
# Xorg
xorg_cv_malloc0_returns_null=${xorg_cv_malloc0_returns_null=yes}
# socat
ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes}

View File

@@ -0,0 +1,175 @@
# general
ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes}
ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes}
ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes}
ac_cv_func_getpgrp_void=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setgrent_void=yes
ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes}
ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes}
ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
ac_cv_func_strdup=yes
ac_cv_func_strtod=yes
ac_cv_func_fork=yes
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_chown_works=yes
ac_cv_func_working_mktime=yes
ac_cv_func_getgroups=yes
ac_cv_func_getgroups_works=yes
ac_cv_func_pread=yes
ac_cv_func_pwrite=yes
ac_cv_file__dev_random=yes
ac_cv_file__dev_urandom=yes
# ruby
ac_cv_func_isnan=yes
ac_cv_func_isinf=yes
# apr
ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}
ac_cv_func_strcoll_works=yes
# samba
samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no}
samba_cv_HAVE_IFACE_IFCONF=${samba_cv_HAVE_IFACE_IFCONF=yes}
samba_cv_HAVE_IFACE_IFREQ=${samba_cv_HAVE_IFACE_IFREQ=yes}
samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=${samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no}
# db
db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar}
db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod}
db_cv_path_cp=${db_cv_path_cp=/bin/cp}
db_cv_path_ln=${db_cv_path_ln=/bin/ln}
db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir}
db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib}
db_cv_path_rm=${db_cv_path_rm=/bin/rm}
db_cv_path_sh=${db_cv_path_sh=/bin/sh}
db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip}
# bash
bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes}
bash_cv_must_reinstall_sighandlers=${bash_cv_must_reinstall_sighandlers=no}
bash_cv_func_strcoll_broken=${bash_cv_func_strcoll_broken=no}
bash_cv_dup2_broken=${bash_cv_dup2_broken=no}
bash_cv_opendir_not_robust=${bash_cv_opendir_not_robust=no}
bash_cv_type_rlimit=${bash_cv_type_rlimit=rlim_t}
bash_cv_getenv_redef=${bash_cv_getenv_redef=yes}
bash_cv_ulimit_maxfds=${bash_cv_ulimit_maxfds=yes}
bash_cv_getcwd_calls_popen=${bash_cv_getcwd_calls_popen=no}
bash_cv_printf_a_format=${bash_cv_printf_a_format=yes}
bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no}
bash_cv_job_control_missing=${bash_cv_job_control_missing=present}
bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present}
bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no}
bash_cv_func_snprintf=yes
bash_cv_func_vsnprintf=yes
bash_cv_func_sigsetjmp=present
bash_cv_getcwd_malloc=yes
bash_cv_void_sighandler=yes
bash_cv_func_ctype_nonascii=no
bash_cv_wcontinued_broken=no
bash_cv_wexitstatus_offset=8
bash_cv_wcwidth_broken=no
# cgdb
ac_cv_file__dev_ptmx=yes
ac_cv_file__dev_ptc=no
# git
ac_cv_snprintf_returns_bogus=no
ac_cv_fread_reads_directories=yes
# gnulib
gl_cv_func_fstatat_zero_flag=yes
gl_cv_func_memchr_works=yes
gl_cv_func_dup2_works=yes
gl_cv_func_utimensat_works=yes
gl_cv_func_readlink_works=yes
gl_cv_func_readlinkat_works=yes
gl_cv_func_symlinkat_works=yes
gl_cv_func_unsetenv_works=yes
gl_cv_func_rmdir_works=yes
gl_cv_func_chown_slash_works=yes
gl_cv_func_chown_ctime_works=yes
gl_cv_func_chown_follows_symlink=yes
gl_cv_func_lstat_dereferences_slashed_symlink=yes
gl_cv_func_getcwd_null=yes
gl_cv_func_select_detects_ebadf=yes
gl_cv_func_unlink_honors_slashes=yes
gl_cv_func_snprintf_retval_c99=yes
gl_cv_func_strerror_0_works=yes
gl_cv_func_printf_sizes_c99=yes
gl_cv_func_printf_infinite=yes
gl_cv_func_printf_infinite_long_double=yes
gl_cv_func_printf_directive_a=yes
gl_cv_func_printf_directive_f=yes
gl_cv_func_printf_flag_zero=yes
gl_cv_func_printf_enomem=yes
gl_cv_func_wcwidth_works=yes
gl_cv_func_ungetc_works=yes
gl_cv_func_fchownat_empty_filename_works=yes
gl_cv_func_fcntl_f_dupfd_works=yes
gl_cv_func_fdopendir_works=yes
gl_cv_func_fpurge_works=yes
gl_cv_func_futimens_works=yes
gl_cv_func_getgroups_works=yes
gl_cv_func_isnanl_works=yes
gl_cv_func_link_works=yes
gl_cv_func_linkat_slash=yes
gl_cv_func_mkdir_trailing_slash_works=yes
gl_cv_func_mkdir_trailing_dot_works=yes
gl_cv_func_mkfifo_works=yes
gl_cv_func_mknod_works=yes
gl_cv_func_rename_slash_dst_works=yes
gl_cv_func_rename_slash_src_works=yes
gl_cv_func_rename_link_works=yes
gl_cv_func_rename_dest_works=yes
gl_cv_func_setenv_works=yes
gl_cv_func_stat_file_slash=yes
gl_cv_func_strtod_works=yes
gl_cv_func_symlink_works=yes
gl_cv_func_unlink_honors_slashes=yes
gl_cv_func_perror_works=yes
gl_cv_func_stpncpy=yes
gl_cv_func_realpath_works=yes
gl_cv_func_remove_dir_works=yes
# mysql
ac_cv_sys_restartable_syscalls=${ac_cv_sys_restartable_syscalls=yes}
ac_cv_conv_longlong_to_float=${ac_cv_conv_longlong_to_float=yes}
# TCL
tcl_cv_api_serial=${tcl_cv_api_serial=termios}
# python
ac_cv_have_long_long_format=yes
# socat
ac_cv_have_c99_snprintf=yes
# apache
ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no}
# varnish
ac_cv_have_viz=yes
ac_cv_so_rcvtimeo_works=yes
ac_cv_so_sndtimeo_works=yes
# libtar
compat_cv_func_makedev_three_args=no
# exo
ac_cv_strftime_extensions=yes
# time
ac_cv_func_wait3=yes
# Y2038
gl_cv_type_time_t_y2038=${gl_cv_type_time_t_y2038=no}
ac_cv_type_time_t_bits_macro=${ac_cv_type_time_t_bits_macro=no}

View File

@@ -0,0 +1,8 @@
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
# libnet
ac_cv_libnet_endianess=${ac_cv_libnet_endianess=big}
# libmemcached
ac_cv_c_endian=big

View File

@@ -0,0 +1,8 @@
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
# libnet
ac_cv_libnet_endianess=${ac_cv_libnet_endianess=lil}
# libmemcached
ac_cv_c_endian=little

View File

@@ -0,0 +1,262 @@
# general
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
ac_cv_sizeof_unsigned_char_p=${ac_cv_sizeof_unsigned_char_p=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}
ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4}
ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4}
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=4}
ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4}
ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4}
ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=4}
ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes}
ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
ac_cv_sizeof_struct_iovec=8
ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no}
ac_cv_header_netinet_sctp_uio_h=${ac_cv_header_netinet_sctp_uio_h=no}
ac_cv_linux_vers=${ac_cv_linux_vers=2}
ac_cv_sctp=${ac_cv_sctp=no}
apr_cv_process_shared_works=${apr_cv_process_shared_works=no}
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
ac_cv_path_ESD_CONFIG=no
lf_cv_sane_realloc=yes
jm_cv_func_gettimeofday_clobber=no
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes
bf_lsbf=1
ac_cv_uchar=${ac_cv_uchar=no}
ac_cv_uint=${ac_cv_uint=yes}
ac_cv_ulong=${ac_cv_ulong=yes}
ac_cv_ushort=${ac_cv_ushort=yes}
# audacity
ac_cv_file_lib_src_libmad_frame_h=${ac_cv_file_lib_src_libmad_frame_h=no}
# bash
ac_cv_c_long_double=${ac_cv_c_long_double=yes}
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
# db
db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
db_cv_align_t=${db_cv_align_t='unsigned long long'}
db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
db_cv_sprintf_count=${db_cv_sprintf_count=yes}
# D-BUS
ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
# ettercap
ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
# glib
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes}
glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes}
# glib-2.0
glib_cv_stack_grows=${glib_cv_stack_grows=no}
utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=4
ac_cv_alignof_unsigned_long=4
# guile
ac_cv_uchar=${ac_cv_uchar=no}
ac_cv_uint=${ac_cv_uint=yes}
ac_cv_ulong=${ac_cv_ulong=yes}
ac_cv_ushort=${ac_cv_ushort=yes}
# intercom
ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
# jikes-native
ac_cv_sizeof_wchar_t=4
# lftp
ac_cv_need_trio=${ac_cv_need_trio=no}
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
# libidl
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
# libnet
ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
# libxfce4util
with_broken_putenv=${with_broken_putenv=no}
# mysql
mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=yes}
mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=yes}
# ORBit2
ac_cv_alignof_CORBA_boolean=1
ac_cv_alignof_CORBA_char=1
ac_cv_alignof_CORBA_double=4
ac_cv_alignof_CORBA_float=4
ac_cv_alignof_CORBA_long=4
ac_cv_alignof_CORBA_long_double=4
ac_cv_alignof_CORBA_long_long=4
ac_cv_alignof_CORBA_octet=1
ac_cv_alignof_CORBA_pointer=4
ac_cv_alignof_CORBA_short=2
ac_cv_alignof_CORBA_struct=4
ac_cv_alignof_CORBA_wchar=2
# php
ac_cv_pread=${ac_cv_pread=no}
ac_cv_pwrite=${ac_cv_pwrite=no}
php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes}
# rsync
rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no}
rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes}
rsync_cv_HAVE_LONGLONG=${rsync_cv_HAVE_LONGLONG=yes}
rsync_cv_HAVE_OFF64_T=${rsync_cv_HAVE_OFF64_T=no}
rsync_cv_HAVE_SHORT_INO_T=${rsync_cv_HAVE_SHORT_INO_T=no}
rsync_cv_HAVE_UNSIGNED_CHAR=${rsync_cv_HAVE_UNSIGNED_CHAR=no}
rsync_cv_HAVE_BROKEN_READDIR=${rsync_cv_HAVE_BROKEN_READDIR=no}
rsync_cv_HAVE_GETTIMEOFDAY_TZ=${rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes}
rsync_cv_HAVE_C99_VSNPRINTF=${rsync_cv_HAVE_C99_VSNPRINTF=yes}
rsync_cv_HAVE_SECURE_MKSTEMP=${rsync_cv_HAVE_SECURE_MKSTEMP=yes}
rsync_cv_REPLACE_INET_NTOA=${rsync_cv_REPLACE_INET_NTOA=no}
rsync_cv_REPLACE_INET_ATON=${rsync_cv_REPLACE_INET_ATON=no}
# samba
samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
# socat
sc_cv_type_dev_basic='8 /* unsigned long long */'
sc_cv_type_gidt_basic='4 /* unsigned int */'
sc_cv_type_longlong=yes
sc_cv_type_modet_basic='4 /* unsigned int */'
sc_cv_type_off64=no
sc_cv_type_off64_basic='0 /* unknown */'
sc_cv_type_off_basic='3 /* int */'
sc_cv_type_pidt_basic='3 /* int */'
sc_cv_type_rlimit_rlimmax_basic='4 /* unsigned int */'
sc_cv_type_sa_family_t=yes
sc_cv_type_sighandler=no
sc_cv_type_sizet_basic='4 /* unsigned int */'
sc_cv_type_socklen=yes
sc_cv_type_socklent_basic='4 /* unsigned int */'
sc_cv_type_stat64=no
sc_cv_type_stat64_stblksize_basic='0 /* unknown */'
sc_cv_type_stat64_stblocks_basic='0 /* unknown */'
sc_cv_type_stat64_stdev_basic='0 /* unknown */'
sc_cv_type_stat64_stino_basic='0 /* unknown */'
sc_cv_type_stat64_stnlink_basic='0 /* unknown */'
sc_cv_type_stat64_stsize_basic='0 /* unknown */'
sc_cv_type_stat_stblksize_basic='3 /* int */'
sc_cv_type_stat_stblocks_basic='3 /* int */'
sc_cv_type_stat_stino_basic='4 /* unsigned int */'
sc_cv_type_stat_stnlink_basic='4 /* unsigned int */'
sc_cv_type_stat_stsize_basic='3 /* int */'
sc_cv_type_struct_timeval_tv_usec='3 /* int */'
sc_cv_type_timet_basic='3 /* int */'
sc_cv_type_uidt_basic='4 /* unsigned int */'
sc_cv_type_uint16=yes
sc_cv_type_uint32=yes
sc_cv_type_uint64=yes
sc_cv_type_uint8=yes
sc_cv_typeof_struct_cmsghdr_cmsg_len='4 /* unsigned int */'
# screen
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
# ssh
ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
ac_cv_type_struct_timespec=${ac_cv_type_struct_timespec=yes}
ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=yes}
# startup-notification
lf_cv_sane_realloc=yes
# xffm
jm_cv_func_working_readdir=yes
# xorg X11R7
ac_cv_sys_linker_h=${ac_cv_sys_linker_h=no}
ac_cv_file__usr_share_X11_sgml_defs_ent=${ac_cv_file__usr_share_X11_sgml_defs_ent=no}
# evolution-data-server
ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
#dbus
ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
#libpciaccess
have_mtrr_h=yes
#mozilla
moz_cv_size_of_JS_BYTES_PER_WORD=4
moz_cv_align_of_JS_ALIGN_OF_POINTER=4
moz_cv_size_of_JS_BYTES_PER_DOUBLE=8
#ofono
ac_cv_lib_c_signalfd=${ac_cv_lib_c_signalfd=yes}
#unfs3
nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
# at-spi2-core
ac_cv_alignof_char=1
ac_cv_alignof_dbind_pointer=4
ac_cv_alignof_dbind_struct=1
ac_cv_alignof_dbus_bool_t=4
ac_cv_alignof_dbus_int16_t=2
ac_cv_alignof_dbus_int32_t=4
ac_cv_alignof_dbus_int64_t=4
ac_cv_alignof_double=4

View File

@@ -0,0 +1,93 @@
# general
ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
ac_cv_sizeof_struct_iovec=8
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
# screen
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
# socat
sc_cv_type_dev_basic='8 /* unsigned long long */'
sc_cv_type_gidt_basic='4 /* unsigned int */'
sc_cv_type_longlong=yes
sc_cv_type_modet_basic='4 /* unsigned int */'
sc_cv_type_off64=no
sc_cv_type_off64_basic='0 /* unknown */'
sc_cv_type_off_basic='3 /* int */'
sc_cv_type_pidt_basic='3 /* int */'
sc_cv_type_rlimit_rlimmax_basic='4 /* unsigned int */'
sc_cv_type_sa_family_t=yes
sc_cv_type_sighandler=no
sc_cv_type_sizet_basic='4 /* unsigned int */'
sc_cv_type_socklen=yes
sc_cv_type_socklent_basic='4 /* unsigned int */'
sc_cv_type_stat64=no
sc_cv_type_stat64_stblksize_basic='0 /* unknown */'
sc_cv_type_stat64_stblocks_basic='0 /* unknown */'
sc_cv_type_stat64_stdev_basic='0 /* unknown */'
sc_cv_type_stat64_stino_basic='0 /* unknown */'
sc_cv_type_stat64_stnlink_basic='0 /* unknown */'
sc_cv_type_stat64_stsize_basic='0 /* unknown */'
sc_cv_type_stat_stblksize_basic='3 /* int */'
sc_cv_type_stat_stblocks_basic='3 /* int */'
sc_cv_type_stat_stino_basic='4 /* unsigned int */'
sc_cv_type_stat_stnlink_basic='4 /* unsigned int */'
sc_cv_type_stat_stsize_basic='3 /* int */'
sc_cv_type_struct_timeval_tv_usec='3 /* int */'
sc_cv_type_timet_basic='3 /* int */'
sc_cv_type_uidt_basic='4 /* unsigned int */'
sc_cv_type_uint16=yes
sc_cv_type_uint32=yes
sc_cv_type_uint64=yes
sc_cv_type_uint8=yes
sc_cv_typeof_struct_cmsghdr_cmsg_len='4 /* unsigned int */'
# ORBit2
ac_cv_alignof_CORBA_octet=1
ac_cv_alignof_CORBA_boolean=1
ac_cv_alignof_CORBA_char=1
ac_cv_alignof_CORBA_wchar=2
ac_cv_alignof_CORBA_short=2
ac_cv_alignof_CORBA_long=4
ac_cv_alignof_CORBA_long_long=8
ac_cv_alignof_CORBA_float=4
ac_cv_alignof_CORBA_double=8
ac_cv_alignof_CORBA_long_double=8
ac_cv_alignof_CORBA_pointer=4
ac_cv_alignof_CORBA_struct=1
# apache
ac_cv_func_pthread_key_delete=${ac_cv_func_pthread_key_delete=yes}
apr_cv_process_shared_works=${apr_cv_process_shared_works=no}
ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# glib
glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=8
ac_cv_alignof_unsigned_long=4
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
# at-spi2-core
ac_cv_alignof_char=1
ac_cv_alignof_dbind_pointer=4
ac_cv_alignof_dbind_struct=1
ac_cv_alignof_dbus_bool_t=4
ac_cv_alignof_dbus_int16_t=2
ac_cv_alignof_dbus_int32_t=4
ac_cv_alignof_dbus_int64_t=8
ac_cv_alignof_double=8

View File

@@ -0,0 +1,78 @@
# general
ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
# bash
ac_cv_c_long_double=${ac_cv_c_long_double=no}
# openssh
ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=no}
ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent=yes}
# fget
compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
# glib
glib_cv___va_copy=${glib_cv___va_copy=yes}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_uscore=${glib_cv_uscore=no}
# glib-2.0
glib_cv_stack_grows=${glib_cv_stack_grows=no}
utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}
# startup-notification
lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
# libidl
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
# ncftp
wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long}
wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long}
# db
db_cv_align_t=${db_cv_align_t='unsigned long long'}
db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
db_cv_sprintf_count=${db_cv_sprintf_count=yes}
# rrdtool
rd_cv_ieee_works=${rd_cv_ieee_works=yes}
# ac_cv_path_PERL=${ac_cv_path_PERL=no}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
# samba
samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
# vim
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
# intercom
ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
# lmbench
ac_cv_uint=${ac_cv_unit=yes}
# D-BUS
ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
# evolution-data-server
ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}

View File

@@ -0,0 +1,78 @@
# general
ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
# bash
ac_cv_c_long_double=${ac_cv_c_long_double=no}
# openssh
ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=no}
ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent=yes}
# fget
compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
# glib
glib_cv___va_copy=${glib_cv___va_copy=yes}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_uscore=${glib_cv_uscore=no}
# glib-2.0
glib_cv_stack_grows=${glib_cv_stack_grows=no}
utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}
# startup-notification
lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
# libidl
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
# ncftp
wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long}
wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long}
wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes}
# db
db_cv_align_t=${db_cv_align_t='unsigned long long'}
db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
db_cv_sprintf_count=${db_cv_sprintf_count=yes}
# rrdtool
rd_cv_ieee_works=${rd_cv_ieee_works=yes}
# ac_cv_path_PERL=${ac_cv_path_PERL=no}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
# samba
samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
# vim
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
# intercom
ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
#lmbench
ac_cv_uint=${ac_cv_unit=yes}
# D-BUS
ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
# evolution-data-server
ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}

View File

@@ -0,0 +1,183 @@
# gnulib overrides
#
gl_cv_func_isnanl_works=yes
gl_cv_header_working_stdint_h=yes
gl_cv_func_fpurge_works=yes
gl_cv_func_fcntl_f_dupfd_cloexec=yes
gl_cv_func_getcwd_path_max=yes
gl_cv_func_fprintf_posix=yes
gl_cv_func_printf_sizes_c99=yes
gl_cv_func_printf_long_double=yes
gl_cv_func_printf_infinite=yes
gl_cv_func_printf_infinite_long_double=yes
gl_cv_func_printf_directive_a=yes
gl_cv_func_printf_directive_f=yes
gl_cv_func_printf_directive_n=yes
gl_cv_func_printf_directive_ls=yes
gl_cv_func_printf_positions=yes
gl_cv_func_printf_flag_grouping=yes
gl_cv_func_printf_flag_leftadjust=yes
gl_cv_func_printf_flag_zero=yes
gl_cv_func_printf_precision=yes
gl_cv_func_printf_enomem=yes
gl_cv_header_wchar_h_correct_inline=yes
gl_cv_decl_null_works=yes
gl_cv_func_malloc_posix=yes
gl_cv_func_memchr_works=yes
gl_cv_have_include_next=yes
gt_cv_inttypes_pri_broken=no
gl_cv_promoted_mode_t=mode_t
gl_cv_func_mbrtowc_sanitycheck=yes
gl_cv_sys_struct_timespec_in_time_h=yes
gl_cv_func_iswcntrl_works=yes
gl_cv_func_dup2_works=yes
gl_cv_func_fcntl_f_dupfd_works=yes
gl_cv_func_fseeko=yes
# the following flag, according to fseeko.m4, is needed to skip the fseeko replacement
gl_cv_func_fflush_stdin=yes
gl_cv_func_gettimeofday_clobber=no
gl_cv_func_gettimeofday_posix_signature=yes
gl_cv_func_lseek_pipe=yes
gl_cv_func_mbrtowc_retval=yes
gl_cv_func_posix_spawn_works=yes
gl_cv_func_sigprocmask=yes
gl_cv_func_spawnattr_setschedparam=yes
gl_cv_func_spawnattr_setschedpolicy=yes
gl_cv_func_stat_dir_slash=yes
gl_cv_func_strndup_works=yes
gl_cv_func_unsetenv_works=yes
gl_cv_func_working_strerror=yes
gl_cv_have_raw_decl_atoll=yes
gl_cv_have_raw_decl_btowc=yes
gl_cv_have_raw_decl_chown=yes
gl_cv_have_raw_decl_dprintf=yes
gl_cv_have_raw_decl_dup2=yes
gl_cv_have_raw_decl_dup3=yes
gl_cv_have_raw_decl_endusershell=yes
gl_cv_have_raw_decl_environ=yes
gl_cv_have_raw_decl_faccessat=yes
gl_cv_have_raw_decl_fchdir=yes
gl_cv_have_raw_decl_fchmodat=yes
gl_cv_have_raw_decl_fchownat=yes
gl_cv_have_raw_decl_fcntl=yes
gl_cv_have_raw_decl_fseeko=yes
gl_cv_have_raw_decl_fstatat=yes
gl_cv_have_raw_decl_fsync=yes
gl_cv_have_raw_decl_ftello=yes
gl_cv_have_raw_decl_ftruncate=yes
gl_cv_have_raw_decl_futimens=yes
gl_cv_have_raw_decl_getcwd=yes
gl_cv_have_raw_decl_getdelim=yes
gl_cv_have_raw_decl_getdomainname=yes
gl_cv_have_raw_decl_getdtablesize=yes
gl_cv_have_raw_decl_getgroups=yes
gl_cv_have_raw_decl_gethostname=yes
gl_cv_have_raw_decl_getline=yes
gl_cv_have_raw_decl_getlogin=yes
gl_cv_have_raw_decl_getlogin_r=yes
gl_cv_have_raw_decl_getpagesize=yes
gl_cv_have_raw_decl_getsubopt=yes
gl_cv_have_raw_decl_getusershell=yes
gl_cv_have_raw_decl_grantpt=yes
gl_cv_have_raw_decl_lchown=yes
gl_cv_have_raw_decl_link=yes
gl_cv_have_raw_decl_linkat=yes
gl_cv_have_raw_decl_lseek=yes
gl_cv_have_raw_decl_lstat=yes
gl_cv_have_raw_decl_mbsinit=yes
gl_cv_have_raw_decl_mbrlen=yes
gl_cv_have_raw_decl_mbrtowc=yes
gl_cv_have_raw_decl_memmem=yes
gl_cv_have_raw_decl_mempcpy=yes
gl_cv_have_raw_decl_memrchr=yes
gl_cv_have_raw_decl_mkdirat=yes
gl_cv_have_raw_decl_mkdtemp=yes
gl_cv_have_raw_decl_mkfifo=yes
gl_cv_have_raw_decl_mknod=yes
gl_cv_have_raw_decl_mknodat=yes
gl_cv_have_raw_decl_mkstemp=yes
gl_cv_have_raw_decl_openat=yes
gl_cv_have_raw_decl_pipe2=yes
gl_cv_have_raw_decl_posix_spawnattr_setpgroup=yes
gl_cv_have_raw_decl_popen=yes
gl_cv_have_raw_decl_pread=yes
gl_cv_have_raw_decl_ptsname=yes
gl_cv_have_raw_decl_rawmemchr=yes
gl_cv_have_raw_decl_readlink=yes
gl_cv_have_raw_decl_readlinkat=yes
gl_cv_have_raw_decl_realpath=yes
gl_cv_have_raw_decl_renameat=yes
gl_cv_have_raw_decl_rmdir=yes
gl_cv_have_raw_decl_setenv=yes
gl_cv_have_raw_decl_setusershell=yes
gl_cv_have_raw_decl_sigaction=yes
gl_cv_have_raw_decl_sigaddset=yes
gl_cv_have_raw_decl_sigdelset=yes
gl_cv_have_raw_decl_sigemptyset=yes
gl_cv_have_raw_decl_sigfillset=yes
gl_cv_have_raw_decl_sigismember=yes
gl_cv_have_raw_decl_sigpending=yes
gl_cv_have_raw_decl_sigprocmask=yes
gl_cv_have_raw_decl_sleep=yes
gl_cv_have_raw_decl_snprintf=yes
gl_cv_have_raw_decl_stat=yes
gl_cv_have_raw_decl_stpcpy=yes
gl_cv_have_raw_decl_stpncpy=yes
gl_cv_have_raw_decl_strcasestr=yes
gl_cv_have_raw_decl_strchrnul=yes
gl_cv_have_raw_decl_strncat=yes
gl_cv_have_raw_decl_strnlen=yes
gl_cv_have_raw_decl_strpbrk=yes
gl_cv_have_raw_decl_strsep=yes
gl_cv_have_raw_decl_strsignal=yes
gl_cv_have_raw_decl_strtod=yes
gl_cv_have_raw_decl_strtok_r=yes
gl_cv_have_raw_decl_strtoll=yes
gl_cv_have_raw_decl_strtoull=yes
gl_cv_have_raw_decl_strverscmp=yes
gl_cv_have_raw_decl_symlink=yes
gl_cv_have_raw_decl_symlinkat=yes
gl_cv_have_raw_decl_tmpfile=yes
gl_cv_have_raw_decl_ttyname_r=yes
gl_cv_have_raw_decl_unlinkat=yes
gl_cv_have_raw_decl_unlink=yes
gl_cv_have_raw_decl_unlockpt=yes
gl_cv_have_raw_decl_unsetenv=yes
gl_cv_have_raw_decl_usleep=yes
gl_cv_have_raw_decl_vdprintf=yes
gl_cv_have_raw_decl_vsnprintf=yes
gl_cv_have_raw_decl_wcsrtombs=yes
gl_cv_have_raw_decl_wcrtomb=yes
gl_cv_have_raw_decl_wcsnrtombs=yes
gl_cv_have_raw_decl_wctob=yes
gl_cv_have_raw_decl_wcwidth=yes
gl_cv_header_inttypes_h=yes
gl_cv_header_errno_h_complete=yes
gl_cv_header_working_fcntl_h=yes
gl_cv_header_stdint_h=yes
gl_cv_size_max=yes
gl_cv_sys_struct_timeval=yes
gl_cv_sys_struct_utimbuf=yes
# this gnulib test is especially stupid, it invokes UB and hangs for
# an entire minute
gl_cv_func_working_mktime=yes
# Force detection of musl's gettext
gt_func_gnugettext_libc=yes
gt_cv_func_gnugettext1_libc=yes
gt_cv_func_gnugettext2_libc=yes
gt_cv_func_gnugettext3_libc=yes
ac_cv_sys_file_offset_bits=64
ac_cv_sizeof_off_t=8
ac_cv_sizeof_ino_t=8
ac_cv_sizeof_blkcnt_t=8
# Force detection of musl's iconv
ac_cv_libiconv_utf8=yes
# musl omits BOM on UTF-16 and UTF-32
ac_cv_iconv_omits_bom=yes
# omit lchmod always returns ENOTSUP
ac_cv_func_lchmod=no

View File

@@ -0,0 +1,14 @@
# glib
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=8
ac_cv_alignof_unsigned_long=4
# at-spi2-core
ac_cv_alignof_char=1
ac_cv_alignof_dbind_pointer=4
ac_cv_alignof_dbind_struct=1
ac_cv_alignof_dbus_bool_t=4
ac_cv_alignof_dbus_int16_t=2
ac_cv_alignof_dbus_int32_t=4
ac_cv_alignof_dbus_int64_t=8
ac_cv_alignof_double=8

View File

@@ -0,0 +1,16 @@
# general
ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
# startup-notification
lf_cv_sane_realloc=yes
# glib
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
# lftp
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}

View File

@@ -0,0 +1,272 @@
ac_cv_func_setvbuf_reversed=no
ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=4}
ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_int_p=${ac_cv_sizeof_int_p=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
ac_cv_sizeof_long_p=${ac_cv_sizeof_long_p=4}
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_long_long_int=${ac_cv_sizeof_long_long_int=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1}
ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}
ac_cv_sizeof_unsigned_long_int=${ac_cv_sizeof_unsigned_long_int=4}
ac_cv_sizeof_unsigned_long_long_int=${ac_cv_sizeof_unsigned_long_long_int=8}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
ac_cv_sizeof_unsigned_short_int=${ac_cv_sizeof_unsigned_short_int=2}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=4}
ac_cv_sizeof_wchar_t=${ac_cv_sizeof_wchar_t=4}
ac_cv_type___int64=${ac_cv_type___int64=no}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
ac_cv_type_void_p=${ac_cv_type_void_p=yes}
ac_cv_uchar=${ac_cv_uchar=no}
ac_cv_uint=${ac_cv_uint=yes}
ac_cv_ulong=${ac_cv_ulong=yes}
ac_cv_ushort=${ac_cv_ushort=yes}
ac_cv_time_r_type=${ac_cv_time_r_type=POSIX}
cookie_io_functions_use_off64_t=${cookie_io_functions_use_off64_t=yes}
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}
else
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
# libc
libc_cv_ppc_machine=${libc_cv_ppc_machine=yes}
libc_cv_mlong_double_128ibm=${libc_cv_mlong_double_128ibm=yes}
libc_cv_mabi_ibmlongdouble=${libc_cv_mabi_ibmlongdouble=yes}
libc_cv_mlong_double_128=${libc_cv_mlong_double_128=yes}
fi
# apache
ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
# ssh
ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
ac_cv_type_struct_timespec=${ac_cv_type_struct_timespec=yes}
ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=yes}
# coreutils
utils_cv_sys_open_max=${utils_cv_sys_open_max=1019}
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}
# nano
ac_cv_regexec_segfault_emptystr=${ac_cv_regexec_segfault_emptystr=no}
nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no}
# libnet
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
# screen
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
# socat
ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes}
# links
ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes}
# db
db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
db_cv_sprintf_count=${db_cv_sprintf_count=yes}
db_cv_align_t=${db_cv_align_t='unsigned long long'}
db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
# php
ac_cv_pread=${ac_cv_pread=no}
ac_cv_pwrite=${ac_cv_pwrite=no}
php_cv_lib_cookie_io_functions_use_off64_t=${php_cv_lib_cookie_io_functions_use_off64_t=yes}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
# glib
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes}
glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes}
glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
# ettercap
ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
# libesmtp
acx_working_snprintf=${acx_working_snprintf=yes}
# D-BUS
ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
# glib 2.0
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}
glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=4}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
glib_cv_sys_use_pid_niceness_surrogate=${glib_cv_sys_use_pid_niceness_surrogate=yes}
glib_cv_strlcpy=${glib_cv_strlcpy=no}
# httppc
ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
# lftp
ac_cv_need_trio=${ac_cv_need_trio=no}
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
# edb
db_cv_spinlocks=${db_cv_spinlocks=no}
# fget
compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
compat_cv_func_basename_works=${compat_cv_func_basename_works=no}
compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
# libidl
libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
# ORBit2
ac_cv_alignof_CORBA_boolean=1
ac_cv_alignof_CORBA_char=1
ac_cv_alignof_CORBA_double=4
ac_cv_alignof_CORBA_float=4
ac_cv_alignof_CORBA_long=4
ac_cv_alignof_CORBA_long_double=4
ac_cv_alignof_CORBA_long_long=4
ac_cv_alignof_CORBA_octet=1
ac_cv_alignof_CORBA_pointer=4
ac_cv_alignof_CORBA_short=2
ac_cv_alignof_CORBA_struct=4
ac_cv_alignof_CORBA_wchar=2
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
# bash
ac_cv_c_long_double=${ac_cv_c_long_double=yes}
bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}
# openssh
ac_cv_have_broken_dirname=${ac_cv_have_broken_dirname='yes'}
ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent='no'}
ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf='no'}
ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug='yes'}
ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr='no'}
ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr='yes'}
# vim
ac_cv_sizeof_int=${ac_cv_sizeof_int='4'}
#modphp
if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then
ac_cv_c_bigendian_php=${ac_cv_c_bigendian_php=yes}
fi
ac_cv_sizeof_ptrdiff_t=${ac_cv_sizeof_ptrdiff_t=4}
# apache2 (note other apache stanza in this file)
ap_void_ptr_lt_long=${ap_void_ptr_lt_long=no}
apr_cv_use_lfs64=${apr_cv_use_lfs64=yes}
apr_cv_epoll=${apr_cv_epoll=yes}
apr_cv_pthreads_cflags=${apr_cv_pthreads_cflags=-pthread}
apr_cv_pthreads_lib=${apr_cv_pthreads_lib=-lpthread}
ac_cv_func_mmap=${ac_cv_func_mmap=yes}
ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}
ac_cv_socklen_t=${ac_cv_socklen_t=yes}
ac_cv_struct_rlimit=${ac_cv_struct_rlimit=yes}
ac_cv_negative_eai=${ac_cv_negative_eai=yes}
apr_cv_gai_addrconfig=${apr_cv_gai_addrconfig=no}
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# binutils (libiberty)
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_type_int=${ac_cv_type_int=yes}
ac_cv_type_uintptr_t=${ac_cv_type_uintptr_t=yes}
liberty_cv_uint64=${liberty_cv_uint64=uint64_t}
#samba
ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes}
fu_cv_sys_stat_statvfs64=${fu_cv_sys_stat_statvfs64=yes}
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=${samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no}
samba_cv_HAVE_BROKEN_GETGROUPS=${samba_cv_HAVE_BROKEN_GETGROUPS=no}
samba_cv_HAVE_BROKEN_READDIR=${samba_cv_HAVE_BROKEN_READDIR=yes}
samba_cv_HAVE_BROKEN_READDIR_NAME=${samba_cv_HAVE_BROKEN_READDIR_NAME=no}
samba_cv_HAVE_C99_VSNPRINTF=${samba_cv_HAVE_C99_VSNPRINTF=yes}
samba_cv_HAVE_DEV64_T=${samba_cv_HAVE_DEV64_T=no}
samba_cv_HAVE_DEVICE_MAJOR_FN=${samba_cv_HAVE_DEVICE_MAJOR_FN=yes}
samba_cv_HAVE_DEVICE_MINOR_FN=${samba_cv_HAVE_DEVICE_MINOR_FN=yes}
samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes}
samba_cv_HAVE_FTRUNCATE_EXTEND=${samba_cv_HAVE_FTRUNCATE_EXTEND=yes}
samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
samba_cv_HAVE_INO64_T=${samba_cv_HAVE_INO64_T=no}
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes}
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes}
samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=yes}
samba_cv_HAVE_MAKEDEV=${samba_cv_HAVE_MAKEDEV=yes}
samba_cv_HAVE_MMAP=${samba_cv_HAVE_MMAP=yes}
samba_cv_HAVE_OFF64_T=${samba_cv_HAVE_OFF64_T=no}
samba_cv_HAVE_SECURE_MKSTEMP=${samba_cv_HAVE_SECURE_MKSTEMP=yes}
samba_cv_HAVE_SENDFILE64=${samba_cv_HAVE_SENDFILE64=yes}
samba_cv_HAVE_SENDFILE=${samba_cv_HAVE_SENDFILE=yes}
samba_cv_HAVE_STRUCT_FLOCK64=${samba_cv_HAVE_STRUCT_FLOCK64=yes}
samba_cv_HAVE_TRUNCATED_SALT=${samba_cv_HAVE_TRUNCATED_SALT=no}
samba_cv_HAVE_UNSIGNED_CHAR=${samba_cv_HAVE_UNSIGNED_CHAR=yes}
samba_cv_HAVE_WORKING_AF_LOCAL=${samba_cv_HAVE_WORKING_AF_LOCAL=yes}
samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
samba_cv_REALPATH_TAKES_NULL=${samba_cv_REALPATH_TAKES_NULL=yes}
samba_cv_REPLACE_INET_NTOA=${samba_cv_REPLACE_INET_NTOA=no}
samba_cv_REPLACE_READDIR=${samba_cv_REPLACE_READDIR=no}
samba_cv_SIZEOF_DEV_T=${samba_cv_SIZEOF_DEV_T=yes}
samba_cv_SIZEOF_INO_T=${samba_cv_SIZEOF_INO_T=yes}
samba_cv_SIZEOF_OFF_T=${samba_cv_SIZEOF_OFF_T=yes}
samba_cv_STAT_STATVFS64=${samba_cv_STAT_STATVFS64=yes}
samba_cv_USE_SETEUID=${samba_cv_USE_SETEUID=yes}
samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes}
samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
samba_cv_USE_SETUIDX=${samba_cv_USE_SETUIDX=yes}
samba_cv_have_longlong=${samba_cv_have_longlong=yes}
samba_cv_have_setresgid=${samba_cv_have_setresgid=yes}
samba_cv_have_setresuid=${samba_cv_have_setresuid=yes}
# mysql
mysql_cv_func_atomic_sub=${mysql_cv_func_atomic_sub=no}
mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no}

View File

@@ -0,0 +1,46 @@
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_char_p=${ac_cv_sizeof_char_p=8}
ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=8}
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_long_long_int=${ac_cv_sizeof_long_long_int=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1}
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=8}
ac_cv_sizeof_unsigned_long_int=${ac_cv_sizeof_unsigned_long_int=8}
ac_cv_sizeof_unsigned_long_long_int=${ac_cv_sizeof_unsigned_long_long_int=8}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
ac_cv_sizeof_unsigned_short_int=${ac_cv_sizeof_unsigned_short_int=2}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}
else
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
fi
# screen
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}
# apr
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}

View File

@@ -0,0 +1,148 @@
## # general
#ac_cv_va_val_copy=${ac_cv_va_val_copy=yes}
#ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
## ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
## ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
## ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
## ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
## ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
## ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
## ac_cv_linux_vers=${ac_cv_linux_vers=2}
## ac_cv_need_trio=${ac_cv_need_trio=no}
#ac_cv_sizeof___int64=0
#ac_cv_sizeof_char=1
c_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=8}
ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8}
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
#ac_cv_sizeof_long_long=8
#ac_cv_sizeof_short=2
#ac_cv_sizeof_size_t=8
#ac_cv_sizeof_ssize_t=8
#ac_cv_sizeof_void_p=8
#ac_cv_sizeof_unsigned_int=4
#ac_cv_sizeof_unsigned_long=8
ac_cv_sizeof_bool=1
## ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
## ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
#ac_cv_sizeof_unsigned_short=2
## ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
## ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=8}
## ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4}
## ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4}
## ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8}
## ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
## ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
## ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
## db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'}
## db_cv_align_t=${db_cv_align_t='unsigned long long'}
## db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
## db_cv_sprintf_count=${db_cv_sprintf_count=yes}
## ac_cv_sizeof_struct_iovec=16
# glib
#glib_cv_hasinline=${glib_cv_hasinline=yes}
#glib_cv_has__inline=${glib_cv_has__inline=yes}
#glib_cv_has__inline__=${glib_cv_has__inline__=yes}
#glib_cv_long_long_format=${glib_cv_long_long_format=ll}
#glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_uscore=${glib_cv_uscore=no}
#glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
#ac_cv_alignof_guint32=4
#ac_cv_alignof_guint64=8
#ac_cv_alignof_unsigned_long=8
#ac_cv_alignof_char=1
#ac_cv_alignof_double=8
## nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no}
## samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes}
## utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
#gcc
#ac_cv_lib_m_sin=${ac_cv_lib_m_sin=yes}
#orbit
#libIDL_cv_long_long_format=ll
## # ORBit2
## ac_cv_alignof_CORBA_boolean=1
## ac_cv_alignof_CORBA_char=1
## ac_cv_alignof_CORBA_double=8
## ac_cv_alignof_CORBA_float=4
## ac_cv_alignof_CORBA_long=4
## ac_cv_alignof_CORBA_long_double=8
## ac_cv_alignof_CORBA_long_long=8
## ac_cv_alignof_CORBA_octet=1
## ac_cv_alignof_CORBA_pointer=8
## ac_cv_alignof_CORBA_short=2
## ac_cv_alignof_CORBA_struct=1
## ac_cv_alignof_CORBA_wchar=2
##
## lf_cv_sane_realloc=yes
as_cv_unaligned_access=${as_cv_unaligned_access=no}
##
## #unfs3
## nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
## nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
## nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
#apr
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# lftp
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=yes}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
## # at-spi2-core
#ac_cv_alignof_dbind_pointer=8
#ac_cv_alignof_dbind_struct=1
#ac_cv_alignof_dbus_bool_t=4
#ac_cv_alignof_dbus_int16_t=2
#ac_cv_alignof_dbus_int32_t=4
#ac_cv_alignof_dbus_int64_t=8
## # socat
#sc_cv_type_dev_basic='6 /* unsigned long */'
#sc_cv_type_gidt_basic='4 /* unsigned int */'
#sc_cv_type_longlong=yes
#sc_cv_type_modet_basic='4 /* unsigned int */'
#sc_cv_type_off64=yes
#sc_cv_type_off64_basic='5 /* long */'
#sc_cv_type_off_basic='5 /* long */'
#sc_cv_type_pidt_basic='3 /* int */'
#sc_cv_type_rlimit_rlimmax_basic='6 /* unsigned long */'
#sc_cv_type_sa_family_t=yes
#sc_cv_type_sighandler=yes
#sc_cv_type_sizet_basic='6 /* unsigned long */'
#sc_cv_type_socklen=yes
#sc_cv_type_socklent_basic='4 /* unsigned int */'
#sc_cv_type_stat64=yes
#sc_cv_type_stat64_stblksize_basic='3 /* int */'
#sc_cv_type_stat64_stblocks_basic='5 /* long */'
#sc_cv_type_stat64_stdev_basic='6 /* unsigned long */'
#sc_cv_type_stat64_stino_basic='6 /* unsigned long */'
#sc_cv_type_stat64_stnlink_basic='4 /* unsigned int */'
#sc_cv_type_stat64_stsize_basic='5 /* long */'
#sc_cv_type_stat_stblksize_basic='3 /* int */'
#sc_cv_type_stat_stblocks_basic='5 /* long */'
#sc_cv_type_stat_stino_basic='6 /* unsigned long */'
#sc_cv_type_stat_stnlink_basic='4 /* unsigned int */'
#sc_cv_type_stat_stsize_basic='5 /* long */'
#sc_cv_type_struct_timeval_tv_usec='5 /* long */'
#sc_cv_type_timet_basic='5 /* long */'
#sc_cv_type_uidt_basic='4 /* unsigned int */'
#sc_cv_type_uint16=yes
#sc_cv_type_uint32=yes
#sc_cv_type_uint64=yes
#sc_cv_type_uint8=yes
#sc_cv_typeof_struct_cmsghdr_cmsg_len='6 /* unsigned long */'

View File

@@ -0,0 +1,170 @@
# general
ac_cv_va_val_copy=${ac_cv_va_val_copy=no}
ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
ac_cv_linux_vers=${ac_cv_linux_vers=2}
ac_cv_need_trio=${ac_cv_need_trio=no}
ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int=4}
ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
ac_cv_sizeof_long=${ac_cv_sizeof_long=8}
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=8}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=16}
ac_cv_sizeof_long_int=${ac_cv_sizeof_long_int=8}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short=2}
ac_cv_sizeof_short_int=${ac_cv_sizeof_short_int=2}
ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=8}
ac_cv_sizeof_uid_t=${ac_cv_sizeof_uid_t=4}
ac_cv_sizeof_gid_t=${ac_cv_sizeof_gid_t=4}
ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8}
ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
ac_cv_sizeof_void_p=${ac_cv_sizeof_void_p=8}
ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
db_cv_alignp_t=${db_cv_alignp_t='unsigned long long'}
db_cv_align_t=${db_cv_align_t='unsigned long long'}
db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
db_cv_sprintf_count=${db_cv_sprintf_count=yes}
ac_cv_sizeof_struct_iovec=16
# glib
glib_cv_hasinline=${glib_cv_hasinline=yes}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes}
glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=40}
glib_cv_sizeof_intmax_t=${glib_cv_sizeof_intmax_t=8}
glib_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=8}
glib_cv_sizeof_size_t=${glib_cv_sizeof_size_t=8}
glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=8}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_sys_pthread_cond_timedwait_posix=${glib_cv_sys_pthread_cond_timedwait_posix=yes}
glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=yes}
glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_va_val_copy=${glib_cv_va_val_copy=no}
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=8
ac_cv_alignof_unsigned_long=8
nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no}
samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes}
screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
# gettext
am_cv_func_working_getline=${am_cv_func_working_getline=yes}
#gcc
ac_cv_lib_m_sin=${ac_cv_lib_m_sin=yes}
#orbit
libIDL_cv_long_long_format=ll
# ORBit2
ac_cv_alignof_CORBA_boolean=1
ac_cv_alignof_CORBA_char=1
ac_cv_alignof_CORBA_double=8
ac_cv_alignof_CORBA_float=4
ac_cv_alignof_CORBA_long=4
ac_cv_alignof_CORBA_long_double=8
ac_cv_alignof_CORBA_long_long=8
ac_cv_alignof_CORBA_octet=1
ac_cv_alignof_CORBA_pointer=8
ac_cv_alignof_CORBA_short=2
ac_cv_alignof_CORBA_struct=1
ac_cv_alignof_CORBA_wchar=2
lf_cv_sane_realloc=yes
as_cv_unaligned_access=${as_cv_unaligned_access=yes}
#unfs3
nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
#apr
apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
# lftp
lftp_cv_va_val_copy=${lftp_cv_va_val_copy=no}
# slrn
slrn_cv_va_val_copy=${slrn_cv_va_val_copy=no}
# grub
ac_cv_func___ashldi3=no
ac_cv_func___ashrdi3=no
ac_cv_func___bswapdi2=no
ac_cv_func___bswapsi2=no
ac_cv_func___lshrdi3=no
ac_cv_func___trampoline_setup=no
ac_cv_func___ucmpdi2=no
ac_cv_func__restgpr_14_x=no
# cvs
cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
# at-spi2-core
ac_cv_alignof_char=1
ac_cv_alignof_dbind_pointer=8
ac_cv_alignof_dbind_struct=1
ac_cv_alignof_dbus_bool_t=4
ac_cv_alignof_dbus_int16_t=2
ac_cv_alignof_dbus_int32_t=4
ac_cv_alignof_dbus_int64_t=8
ac_cv_alignof_double=8
# socat
sc_cv_type_dev_basic='6 /* unsigned long */'
sc_cv_type_gidt_basic='4 /* unsigned int */'
sc_cv_type_longlong=yes
sc_cv_type_modet_basic='4 /* unsigned int */'
sc_cv_type_off64=no
sc_cv_type_off64_basic='0 /* unknown */'
sc_cv_type_off_basic='5 /* long */'
sc_cv_type_pidt_basic='3 /* int */'
sc_cv_type_rlimit_rlimmax_basic='6 /* unsigned long */'
sc_cv_type_sa_family_t=yes
sc_cv_type_sighandler=no
sc_cv_type_sizet_basic='6 /* unsigned long */'
sc_cv_type_socklen=yes
sc_cv_type_socklent_basic='4 /* unsigned int */'
sc_cv_type_stat64=no
sc_cv_type_stat64_stblksize_basic='0 /* unknown */'
sc_cv_type_stat64_stblocks_basic='0 /* unknown */'
sc_cv_type_stat64_stdev_basic='0 /* unknown */'
sc_cv_type_stat64_stino_basic='0 /* unknown */'
sc_cv_type_stat64_stnlink_basic='0 /* unknown */'
sc_cv_type_stat64_stsize_basic='0 /* unknown */'
sc_cv_type_stat_stblksize_basic='5 /* long */'
sc_cv_type_stat_stblocks_basic='5 /* long */'
sc_cv_type_stat_stino_basic='6 /* unsigned long */'
sc_cv_type_stat_stnlink_basic='6 /* unsigned long */'
sc_cv_type_stat_stsize_basic='5 /* long */'
sc_cv_type_struct_timeval_tv_usec='5 /* long */'
sc_cv_type_timet_basic='5 /* long */'
sc_cv_type_uidt_basic='4 /* unsigned int */'
sc_cv_type_uint16=yes
sc_cv_type_uint32=yes
sc_cv_type_uint64=yes
sc_cv_type_uint8=yes
sc_cv_typeof_struct_cmsghdr_cmsg_len='6 /* unsigned long */'

File diff suppressed because it is too large Load Diff

1845
common/environment/configure/automake/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
if [ -z "$CHROOT_READY" ]; then
CFLAGS+=" -isystem ${XBPS_MASTERDIR}/usr/include"
LDFLAGS+=" -L${XBPS_MASTERDIR}/usr/lib -Wl,-rpath-link=${XBPS_MASTERDIR}/usr/lib"
fi

View File

@@ -0,0 +1 @@
export CCACHE_BASEDIR="$wrksrc/$build_wrksrc"

View File

@@ -0,0 +1,5 @@
if [ -n "$CROSS_BUILD" ]; then
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include"
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+=" -L${XBPS_CROSS_BASE}/usr/lib"
fi

View File

@@ -0,0 +1,16 @@
local _wrksrc="$wrksrc${build_wrksrc:+/$build_wrksrc}"
case "$build_style" in
cmake)
CFLAGS="${CFLAGS} -ffile-prefix-map=$_wrksrc/${cmake_builddir:-build}=."
CXXFLAGS="${CXXFLAGS} -ffile-prefix-map=$_wrksrc/${cmake_builddir:-build}=."
;;
meson)
CFLAGS="${CFLAGS} -ffile-prefix-map=$_wrksrc/${meson_builddir:-build}=."
CXXFLAGS="${CXXFLAGS} -ffile-prefix-map=$_wrksrc/${meson_builddir:-build}=."
;;
*)
CFLAGS="${CFLAGS} -ffile-prefix-map=$_wrksrc=."
CXXFLAGS="${CXXFLAGS} -ffile-prefix-map=$_wrksrc=."
esac
unset _wrksrc

View File

@@ -0,0 +1,5 @@
*cpp_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}
*cc1_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}

View File

@@ -0,0 +1,5 @@
*self_spec:
+ %{static|Bstatic|shared|Bshareable|i|r|pie|nopie:;:-pie}
*link:
+ %{!static:-z relro -z now}

View File

@@ -0,0 +1,8 @@
*cpp_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE -mshared}}}}}
*cc1_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE -mshared}}}}}
*asm_options:
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-mshared}}}}}

View File

@@ -0,0 +1,136 @@
# This file sets up configure_args with common settings.
if [ -n "$build_style" -a "$build_style" != "gnu-configure" ]; then
return 0
fi
# Store args from template so they can be included last and override
# our defaults
TEMPLATE_CONFIGURE_ARGS="${configure_args}"
export configure_args="--prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --bindir=/usr/bin
--mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var"
. ${XBPS_COMMONDIR}/build-profiles/${XBPS_MACHINE}.sh
export configure_args+=" --host=$XBPS_TRIPLET --build=$XBPS_TRIPLET"
# Always use wordsize-specific libdir even though the real path is lib
# This is to make sure 32-bit and 64-bit libs can coexist when looking
# up things (the opposite-libdir is always symlinked as libNN)
export configure_args+=" --libdir=\${exec_prefix}/lib${XBPS_TARGET_WORDSIZE}"
_AUTOCONFCACHEDIR=${XBPS_COMMONDIR}/environment/configure/autoconf_cache
# From now on all vars are exported to the environment
set -a
# Read autoconf cache variables for native target.
case "$XBPS_TARGET_MACHINE" in
# musl libc
*-musl) . ${_AUTOCONFCACHEDIR}/musl-linux
;;
esac
# Cross compilation vars
if [ -z "$CROSS_BUILD" ]; then
export configure_args+=" ${TEMPLATE_CONFIGURE_ARGS}"
unset TEMPLATE_CONFIGURE_ARGS
set +a
return 0
fi
export configure_args+=" --host=$XBPS_CROSS_TRIPLET --with-sysroot=$XBPS_CROSS_BASE --with-libtool-sysroot=$XBPS_CROSS_BASE "
export configure_args+=" ${TEMPLATE_CONFIGURE_ARGS}"
unset TEMPLATE_CONFIGURE_ARGS
# Read autoconf cache variables for cross target (taken from OE).
case "$XBPS_TARGET_MACHINE" in
# musl libc
*-musl) . ${_AUTOCONFCACHEDIR}/common-linux
. ${_AUTOCONFCACHEDIR}/musl-linux
;;
# gnu libc
*) . ${_AUTOCONFCACHEDIR}/common-linux
. ${_AUTOCONFCACHEDIR}/common-glibc
;;
esac
# Read apropiate autoconf cache files for target machine.
case "$XBPS_TARGET_MACHINE" in
armv5te*|armv?l*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/arm-common
. ${_AUTOCONFCACHEDIR}/arm-linux
;;
aarch64*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/aarch64-linux
;;
i686*) . ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/ix86-common
;;
mips) . ${_AUTOCONFCACHEDIR}/endian-big
. ${_AUTOCONFCACHEDIR}/mips-common
. ${_AUTOCONFCACHEDIR}/mips-linux
;;
mipshf*)
. ${_AUTOCONFCACHEDIR}/endian-big
. ${_AUTOCONFCACHEDIR}/mips-common
. ${_AUTOCONFCACHEDIR}/mips-linux
;;
mipsel*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/mips-common
. ${_AUTOCONFCACHEDIR}/mips-linux
;;
x86_64*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/x86_64-linux
;;
ppc64le*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/powerpc-common
. ${_AUTOCONFCACHEDIR}/powerpc-linux
. ${_AUTOCONFCACHEDIR}/powerpc64-linux
;;
ppc64*)
. ${_AUTOCONFCACHEDIR}/endian-big
. ${_AUTOCONFCACHEDIR}/powerpc-common
. ${_AUTOCONFCACHEDIR}/powerpc-linux
. ${_AUTOCONFCACHEDIR}/powerpc64-linux
;;
ppcle*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/powerpc-common
. ${_AUTOCONFCACHEDIR}/powerpc-linux
. ${_AUTOCONFCACHEDIR}/powerpc32-linux
;;
ppc*)
. ${_AUTOCONFCACHEDIR}/endian-big
. ${_AUTOCONFCACHEDIR}/powerpc-common
. ${_AUTOCONFCACHEDIR}/powerpc-linux
. ${_AUTOCONFCACHEDIR}/powerpc32-linux
;;
riscv*)
. ${_AUTOCONFCACHEDIR}/endian-little
. ${_AUTOCONFCACHEDIR}/riscv64-linux
;;
*) ;;
esac
unset _AUTOCONFCACHEDIR
set +a # vars are not exported to the environment anymore

View File

@@ -0,0 +1,30 @@
# Enable as-needed by default.
LDFLAGS="-Wl,--as-needed ${LDFLAGS}"
if [ -z "$nopie" ]; then
# Our compilers use --enable-default-pie and --enable-default-ssp,
# but the bootstrap host compiler may not, force them.
if [ -z "$CHROOT_READY" ]; then
CFLAGS="-fstack-protector-strong -D_FORTIFY_SOURCE=2 ${CFLAGS}"
CXXFLAGS="-fstack-protector-strong -D_FORTIFY_SOURCE=2 ${CXXFLAGS}"
_GCCSPECSDIR=${XBPS_COMMONDIR}/environment/configure/gccspecs
case "$XBPS_TARGET_MACHINE" in
mips*) _GCCSPECSFILE="${_GCCSPECSDIR}/hardened-mips-cc1" ;;
*) _GCCSPECSFILE="${_GCCSPECSDIR}/hardened-cc1" ;;
esac
CFLAGS="-specs=${_GCCSPECSFILE} ${CFLAGS}"
CXXFLAGS="-specs=${_GCCSPECSFILE} ${CXXFLAGS}"
LDFLAGS="-specs=${_GCCSPECSDIR}/hardened-ld -Wl,-z,relro -Wl,-z,now ${LDFLAGS}"
else
# Enable FORITFY_SOURCE=2
CFLAGS="-fstack-clash-protection -D_FORTIFY_SOURCE=2 ${CFLAGS}"
CXXFLAGS="-fstack-clash-protection -D_FORTIFY_SOURCE=2 ${CXXFLAGS}"
FFLAGS="-fstack-clash-protection ${FFLAGS}"
LDFLAGS="-Wl,-z,relro -Wl,-z,now ${LDFLAGS}"
fi
else
CFLAGS="-fno-PIE ${CFLAGS}"
CXXFLAGS="-fno-PIE ${CXXFLAGS}"
FFLAGS="-fno-PIE ${FFLAGS}"
LDFLAGS="-no-pie ${LDFLAGS}"
fi

View File

@@ -0,0 +1,5 @@
# This snippet setups pkg-config vars.
if [ -z "$CHROOT_READY" ]; then
export PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig"
fi

View File

View File

View File

@@ -0,0 +1,4 @@
#
# Sets the fetch_cmd variable used by hooks/do-fetch/00-distfiles.sh
#
: ${fetch_cmd:=$XBPS_FETCH_CMD}

View File

@@ -0,0 +1 @@
../setup/misc.sh

View File

View File

@@ -0,0 +1 @@
../configure/ccache.sh

View File

@@ -0,0 +1 @@
../configure/cross.sh

View File

@@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@@ -0,0 +1,18 @@
# This provides the extglob function to expand wildcards in the destdir
expand_destdir() {
local result= glob= file=
(
set -f
for glob in $@; do
files=$(echo "${PKGDESTDIR}/${glob}")
set +f
for file in $files; do
result+="${blank}${file#$PKGDESTDIR/}"
blank=" "
done
done
echo "$result"
)
}

View File

@@ -0,0 +1 @@
../configure/hardening.sh

View File

@@ -0,0 +1 @@
../configure/pkg-config.sh

View File

@@ -0,0 +1 @@
../configure/bootstrap.sh

View File

@@ -0,0 +1 @@
../configure/ccache.sh

View File

@@ -0,0 +1 @@
../configure/cross.sh

View File

@@ -0,0 +1 @@
../configure/debug-debug-prefix-map.sh

View File

@@ -0,0 +1 @@
../configure/gnu-configure-args.sh

View File

@@ -0,0 +1 @@
../configure/hardening.sh

View File

@@ -0,0 +1 @@
../configure/pkg-config.sh

View File

@@ -0,0 +1 @@
../install/extglob.sh

View File

View File

@@ -0,0 +1,54 @@
# This shell snippet unsets all variables/functions that can be used in
# a package template and can also be used in subpkgs.
## VARIABLES
unset -v conf_files mutable_files preserve triggers alternatives
unset -v depends run_depends replaces provides conflicts tags metapackage
# hooks/post-install/03-strip-and-debug-pkgs
unset -v nostrip nostrip_files
# hooks/post-install/14-fix-permissions
unset -v nocheckperms nofixperms
# hooks/pre-pkg/04-generate-provides
unset -v nopyprovides
# hooks/pre-pkg/04-generate-runtime-deps
unset -v noverifyrdeps skiprdeps allow_unknown_shlibs shlib_requires
# hooks/pre-pkg/06-prepare-32bit
unset -v lib32depends lib32disabled lib32files lib32mode lib32symlinks
# hooks/pre-pkg/06-shlib-provides
unset -v noshlibprovides shlib_provides
# hooks/pre-pkg/06-verify-python-deps
unset -v noverifypydeps python_extras
# xbps-triggers: system-accounts
unset -v system_accounts system_groups
# xbps-triggers: font-dirs
unset -v font_dirs
# xbps-triggers: xml-catalog
unset -v xml_entries sgml_entries xml_catalogs sgml_catalogs
# xbps-triggers: pycompile
unset -v pycompile_dirs pycompile_module
# xbps-triggers: dkms
unset -v dkms_modules
# xbps-triggers: kernel-hooks
unset -v kernel_hooks_version
# xbps-triggers: mkdirs
unset -v make_dirs
# xbps-triggers: binfmts
unset -v binfmts
# xbps-triggers: register-shell
unset -v register_shell

View File

View File

@@ -0,0 +1,184 @@
vextract() {
local sc=--strip-components=1
local dst=
while [ "$#" -ne 1 ]; do
case "$1" in
-C)
if [ -z "$2" ]; then
msg_error "$pkgver: vextract -C <directory>.\n"
fi
dst="$2"
mkdir -p "$dst"
shift 2
;;
--no-strip-components)
sc=
shift
;;
--strip-components=*)
sc="$1"
shift
;;
--)
shift; break ;;
*)
break ;;
esac
done
local TAR_CMD="${tar_cmd}"
local sfx
local archive="$1"
local ret=0
[ -z "$TAR_CMD" ] && TAR_CMD="$(command -v bsdtar)"
[ -z "$TAR_CMD" ] && TAR_CMD="$(command -v tar)"
[ -z "$TAR_CMD" ] && msg_error "xbps-src: no suitable tar cmd (bsdtar, tar)\n"
case "$archive" in
*.tar.lzma) sfx="txz";;
*.tar.lz) sfx="tlz";;
*.tlz) sfx="tlz";;
*.tar.xz) sfx="txz";;
*.txz) sfx="txz";;
*.tar.bz2) sfx="tbz";;
*.tbz) sfx="tbz";;
*.tar.gz) sfx="tgz";;
*.tgz) sfx="tgz";;
*.tar.zst) sfx="tzst";;
*.tzst) sfx="tzst";;
*.gz) sfx="gz";;
*.xz) sfx="xz";;
*.bz2) sfx="bz2";;
*.zst) sfx="zst";;
*.tar) sfx="tar";;
*.zip) sfx="zip";;
*.rpm) sfx="rpm";;
*.deb) sfx="deb";;
*.patch) sfx="txt";;
*.diff) sfx="txt";;
*.txt) sfx="txt";;
*.sh) sfx="txt";;
*.7z) sfx="7z";;
*.gem) sfx="gem";;
*.crate) sfx="crate";;
*) msg_error "$pkgver: unknown distfile suffix for $archive.\n";;
esac
case ${sfx} in
tar|txz|tbz|tlz|tgz|tzst|crate)
$TAR_CMD ${sc:+"$sc"} ${dst:+-C "$dst"} -x \
--no-same-permissions --no-same-owner \
-f $archive
;;
gz|bz2|xz|zst)
cp -f $archive "${dst:-.}"
(
if [ "$dst" ]; then cd "$dst"; fi
case ${sfx} in
gz)
gunzip -f ${archive##*/}
;;
bz2)
bunzip2 -f ${archive##*/}
;;
xz)
unxz -f ${archive##*/}
;;
zst)
unzstd ${archive##*/}
;;
esac
)
;;
zip)
if command -v unzip &>/dev/null; then
unzip -o -q $archive ${dst:+-d "$dst"}
elif command -v bsdtar &>/dev/null; then
bsdtar ${sc:+"$sc"} ${dst:+-C "$dst"} -xf $archive
else
msg_error "$pkgver: cannot find unzip or bsdtar bin for extraction.\n"
fi
;;
rpm)
if ! command -v bsdtar &>/dev/null; then
msg_error "$pkgver: cannot find bsdtar for extraction.\n"
fi
bsdtar ${sc:+"$sc"} ${dst:+-C "$dst"} -x \
--no-same-permissions --no-same-owner -f $archive
;;
deb)
if command -v bsdtar &>/dev/null; then
bsdtar -x -O -f "$archive" "data.tar.*" |
bsdtar ${sc:+"$sc"} ${dst:+-C "$dst"} -x \
--no-same-permissions --no-same-owner -f -
else
msg_error "$pkgver: cannot find bsdtar for extraction.\n"
fi
;;
txt)
cp -f $archive "$dst"
;;
7z)
if command -v 7z &>/dev/null; then
7z x $archive -o"$dst"
elif command -v bsdtar &>/dev/null; then
bsdtar ${sc:+"$sc"} ${dst:+-C "$dst"} -xf $archive
else
msg_error "$pkgver: cannot find 7z or bsdtar bin for extraction.\n"
fi
;;
gem)
$TAR_CMD -xOf $archive data.tar.gz |
$TAR_CMD ${sc:+"$sc"} ${dst:+-C "$dst"} -xz -f -
;;
*)
msg_error "$pkgver: cannot guess $archive extract suffix. ($sfx)\n"
;;
esac
if [ "$?" -ne 0 ]; then
msg_error "$pkgver: extracting $archive.\n"
fi
}
vsrcextract() {
local sc=--strip-components=1
local dst=
while [ "$#" -ge 1 ]; do
case "$1" in
-C)
if [ -z "$2" ]; then
msg_error "$pkgver: vsrcextract -C <directory>.\n"
fi
dst="$2"
shift 2
;;
--no-strip-components|--strip-components=*)
sc="$1"
shift
;;
*)
break ;;
esac
done
local archive="$1"
shift
vextract "$sc" ${dst:+-C "$dst"} \
"${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/$archive" "$@"
}
vtar() {
bsdtar "$@"
}
vsrccopy() {
local _tgt
if [ $# -lt 2 ]; then
msg_error "vsrccopy <file>... <target>"
fi
_tgt="${@: -1}"
mkdir -p "$_tgt"
while [ $# -gt 1 ]; do
cp -a "${XBPS_SRCDISTDIR}/${pkgname}-${version}/$1" "$_tgt"
shift
done
}

View File

@@ -0,0 +1,35 @@
# If XBPS_USE_BUILD_MTIME is enabled in conf file don't continue.
# only run this, if SOURCE_DATE_EPOCH isn't set.
if [ -z "$XBPS_GIT_CMD" ]; then
if [ -z "$XBPS_USE_BUILD_MTIME" ] || [ -n "$XBPS_USE_GIT_REVS" ]; then
msg_error "BUG: environment/setup: XBPS_GIT_CMD is not set\n"
fi
fi
if [ -n "$XBPS_USE_BUILD_MTIME" ]; then
unset SOURCE_DATE_EPOCH
elif [ -z "${SOURCE_DATE_EPOCH}" ]; then
if [ -n "$IN_CHROOT" ]; then
msg_error "xbps-src's BUG: SOURCE_DATE_EPOCH is undefined\n"
fi
# check if the template is under version control:
if [ -n "$basepkg" -a -z "$($XBPS_GIT_CMD -C ${XBPS_SRCPKGDIR}/${basepkg} ls-files template)" ]; then
export SOURCE_DATE_EPOCH="$(stat_mtime ${XBPS_SRCPKGDIR}/${basepkg}/template)"
else
export SOURCE_DATE_EPOCH=$($XBPS_GIT_CMD -C ${XBPS_DISTDIR} cat-file commit HEAD |
sed -n '/^committer /{s/.*> \([0-9][0-9]*\) [-+][0-9].*/\1/p;q;}')
fi
fi
# if XBPS_USE_GIT_REVS is enabled in conf file,
# compute XBPS_GIT_REVS to use in pkg hooks
if [ -z "$XBPS_USE_GIT_REVS" ]; then
unset XBPS_GIT_REVS
elif [ -z "$XBPS_GIT_REVS" ]; then
if [ -n "$IN_CHROOT" ]; then
msg_error "xbps-src's BUG: XBPS_GIT_REVS is undefined\n"
else
export XBPS_GIT_REVS="$($XBPS_GIT_CMD -C "${XBPS_DISTDIR}" rev-parse --verify --short HEAD)"
fi
fi

View File

@@ -0,0 +1,285 @@
# -*-* shell *-*-
# enable aliases
shopt -s expand_aliases
# clear all aliases
unalias -a
# disable wildcards helper
_noglob_helper() {
set +f
IFS= "$@"
}
# Apply _noglob to v* commands
for cmd in vinstall vcopy vcompletion vmove vmkdir vbin vman vdoc vconf vsconf vlicense vsv; do
# intentionally expanded when defined
# shellcheck disable=SC2139
alias ${cmd}="set -f; _noglob_helper _${cmd}"
done
_vsv() {
local service="$1"
local facility="${2:-daemon}"
local LN_OPTS="-s"
local svdir="${PKGDESTDIR}/etc/sv/${service}"
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
# pkgver is defined in common/xbps-src/shutils/commmon.sh
# shellcheck disable=SC2154
msg_red "$pkgver: vsv: up to 2 arguments expected: <service> [<log facility>]\n"
return 1
fi
if [ -n "$XBPS_BUILD_FORCEMODE" ]; then
LN_OPTS+="f"
fi
vmkdir etc/sv
vcopy "${FILESDIR}/$service" etc/sv
grep -Fq 'exec 2>&1' "$svdir/run" || msg_warn "$pkgver: vsv: service '$service' does not contain 'exec 2>&1' to log stderr\n"
for f in run finish check control/{a,c,d,h,i,k,p,q,t,u,x,1,2}; do
[ -e "$svdir/$f" ] && [ ! -L "$svdir/$f" ] && chmod 755 "$svdir/$f"
done
ln ${LN_OPTS} "/run/runit/supervise.${service}" "$svdir/supervise"
if [ -d "$svdir/log" ] || [ -L "$svdir/log" ]; then
msg_warn "$pkgver: vsv: overriding default log service\n"
else
mkdir "$svdir/log"
cat <<-EOF > "$svdir/log/run"
#!/bin/sh
exec vlogger -t $service -p $facility
EOF
fi
ln ${LN_OPTS} "/run/runit/supervise.${service}-log" "$svdir/log/supervise"
if [ -e "$svdir/log/run" ] && [ ! -L "$svdir/log/run" ]; then
chmod 755 "${PKGDESTDIR}/etc/sv/${service}/log/run"
fi
}
_vbin() {
local file="$1" targetfile="$2"
if [ $# -lt 1 ]; then
msg_red "$pkgver: vbin: 1 argument expected: <file>\n"
return 1
fi
vinstall "$file" 755 usr/bin "$targetfile"
}
_vman() {
local file="$1" target="${2:-${1##*/}}"
if [ $# -lt 1 ]; then
msg_red "$pkgver: vman: 1 argument expected: <file>\n"
return 1
fi
suffix=${target##*.}
if [[ $suffix == gz ]]
then
gunzip "$file"
file="${file:0:-3}"
target="${target:0:-3}"
suffix=${target##*.}
fi
if [[ $suffix == bz2 ]]
then
bunzip2 "$file"
file="${file:0:-4}"
target="${target:0:-4}"
suffix=${target##*.}
fi
if [[ $target =~ (.*)\.([a-z][a-z](_[A-Z][A-Z])?(\.[^.]+)?)\.(.*) ]]
then
name=${BASH_REMATCH[1]}.${BASH_REMATCH[5]}
mandir=${BASH_REMATCH[2]}/man${suffix:0:1}
else
name=$target
mandir=man${suffix:0:1}
fi
if [[ ${mandir} == *man[0-9n] ]] ; then
vinstall "$file" 644 "usr/share/man/${mandir}" "$name"
return 0
fi
msg_red "$pkgver: vman: Filename '${target}' does not look like a man page\n"
return 1
}
_vdoc() {
local file="$1" targetfile="$2"
if [ $# -lt 1 ]; then
msg_red "$pkgver: vdoc: 1 argument expected: <file>\n"
return 1
fi
# pkgname is defined in the package
# shellcheck disable=SC2154
vinstall "$file" 644 "usr/share/doc/${pkgname}" "$targetfile"
}
_vconf() {
local file="$1" targetfile="$2"
if [ $# -lt 1 ]; then
msg_red "$pkgver: vconf: 1 argument expected: <file>\n"
return 1
fi
vinstall "$file" 644 etc "$targetfile"
}
_vsconf() {
local file="$1" targetfile="$2"
if [ $# -lt 1 ]; then
msg_red "$pkgver: vsconf: 1 argument expected: <file>\n"
return 1
fi
vinstall "$file" 644 "usr/share/examples/${pkgname}" "$targetfile"
}
_vlicense() {
local file="$1" targetfile="$2"
if [ $# -lt 1 ]; then
msg_red "$pkgver: vlicense: 1 argument expected: <file>\n"
return 1
fi
vinstall "$file" 644 "usr/share/licenses/${pkgname}" "$targetfile"
}
_vinstall() {
local file="$1" mode="$2" targetdir="$3" targetfile="$4"
if [ -z "$PKGDESTDIR" ]; then
msg_red "$pkgver: vinstall: PKGDESTDIR unset, can't continue...\n"
return 1
fi
if [ $# -lt 3 ]; then
msg_red "$pkgver: vinstall: 3 arguments expected: <file> <mode> <target-directory>\n"
return 1
fi
if [ ! -r "${file}" ]; then
msg_red "$pkgver: vinstall: cannot find '$file'...\n"
return 1
fi
if [ -z "$targetfile" ]; then
install -Dm"${mode}" "${file}" "${PKGDESTDIR}/${targetdir}/${file##*/}"
else
install -Dm"${mode}" "${file}" "${PKGDESTDIR}/${targetdir}/${targetfile##*/}"
fi
}
_vcopy() {
local files="$1" targetdir="$2"
if [ -z "$PKGDESTDIR" ]; then
msg_red "$pkgver: vcopy: PKGDESTDIR unset, can't continue...\n"
return 1
fi
if [ $# -ne 2 ]; then
msg_red "$pkgver: vcopy: 2 arguments expected: <files> <target-directory>\n"
return 1
fi
# intentionally unquoted for globbing
# shellcheck disable=SC2086
cp -a $files "${PKGDESTDIR}/${targetdir}"
}
_vmove() {
local f files="$1" _targetdir
if [ -z "$DESTDIR" ]; then
msg_red "$pkgver: vmove: DESTDIR unset, can't continue...\n"
return 1
elif [ -z "$PKGDESTDIR" ]; then
msg_red "$pkgver: vmove: PKGDESTDIR unset, can't continue...\n"
return 1
elif [ "$DESTDIR" = "$PKGDESTDIR" ]; then
msg_red "$pkgver: vmove is intended to be used in pkg_install\n"
return 1
fi
if [ $# -ne 1 ]; then
msg_red "$pkgver: vmove: 1 argument expected: <files>\n"
return 1
fi
for f in ${files}; do
_targetdir=${f%/*}/
break
done
if [ -z "${_targetdir}" ]; then
[ ! -d "${PKGDESTDIR}" ] && install -d "${PKGDESTDIR}"
# intentionally unquoted for globbing
# shellcheck disable=SC2086
mv "${DESTDIR}"/$files "${PKGDESTDIR}"
else
if [ ! -d "${PKGDESTDIR}/${_targetdir}" ]; then
install -d "${PKGDESTDIR}/${_targetdir}"
fi
# intentionally unquoted for globbing
# shellcheck disable=SC2086
mv "${DESTDIR}"/$files "${PKGDESTDIR}/${_targetdir}"
fi
}
_vmkdir() {
local dir="$1" mode="$2"
if [ -z "$PKGDESTDIR" ]; then
msg_red "$pkgver: vmkdir: PKGDESTDIR unset, can't continue...\n"
return 1
fi
if [ -z "$dir" ]; then
msg_red "vmkdir: directory argument unset.\n"
return 1
fi
if [ -z "$mode" ]; then
install -d "${PKGDESTDIR}/${dir}"
else
install -dm"${mode}" "${PKGDESTDIR}/${dir}"
fi
}
_vcompletion() {
local file="$1" shell="$2" cmd="${3:-${pkgname}}"
local _bash_completion_dir=usr/share/bash-completion/completions/
local _fish_completion_dir=usr/share/fish/vendor_completions.d/
local _zsh_completion_dir=usr/share/zsh/site-functions/
if [ $# -lt 2 ]; then
msg_red "$pkgver: vcompletion: 2 arguments expected: <file> <shell>\n"
return 1
fi
if ! [ -f "$file" ]; then
msg_red "$pkgver: vcompletion: file $file doesn't exist\n"
fi
case "$shell" in
bash) vinstall "$file" 0644 $_bash_completion_dir "${cmd}" ;;
fish) vinstall "$file" 0644 $_fish_completion_dir "${cmd}.fish" ;;
zsh) vinstall "$file" 0644 $_zsh_completion_dir "_${cmd}" ;;
*)
msg_red "$pkgver: vcompletion: unknown shell ${shell}"
return 1
;;
esac
}

View File

@@ -0,0 +1,22 @@
#
# Common variables that can be used by xbps-src.
#
# SITE used for distfiles mirrors. For use in $distfiles.
set -a
SOURCEFORGE_SITE="https://downloads.sourceforge.net/sourceforge"
NONGNU_SITE="https://download.savannah.nongnu.org/releases"
UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
XORG_SITE="https://www.x.org/releases/individual"
DEBIAN_SITE="https://ftp.debian.org/debian/pool"
GNOME_SITE="https://download.gnome.org/sources"
KERNEL_SITE="https://www.kernel.org/pub/linux"
CPAN_SITE="https://www.cpan.org/modules/by-module"
PYPI_SITE="https://files.pythonhosted.org/packages/source"
MOZILLA_SITE="https://ftp.mozilla.org/pub"
GNU_SITE="https://ftp.gnu.org/gnu"
FREEDESKTOP_SITE="https://www.freedesktop.org/software"
KDE_SITE="https://download.kde.org/stable"
VIDEOLAN_SITE="https://download.videolan.org/pub/videolan"
set +a

View File

@@ -0,0 +1,46 @@
# vim: set ts=4 sw=4 et:
vopt_if() {
local name="build_option_$1" t="$2" f="$3"
if [ ${!name} ]; then
echo -n "$t"
else
echo -n "$f"
fi
}
vopt_with() {
local opt="$1" flag="${2:-$1}"
vopt_if "$opt" "--with-${flag}" "--without-${flag}"
}
vopt_enable() {
local opt="$1" flag="${2:-$1}"
if [ "$#" -gt "2" ]; then
msg_error "vopt_enable $opt: $(($# - 2)) excess parameter(s)\n"
fi
vopt_if "$1" "--enable-${flag}" "--disable-${flag}"
}
vopt_conflict() {
local opt1="$1" opt2="$2" n1="build_option_$1" n2="build_option_$2"
if [ "${!n1}" -a "${!n2}" ]; then
msg_error "options '${opt1}' and '${opt2}' conflict\n"
fi
}
vopt_bool() {
local opt="$1" prop="${2:-$1}"
if [ "$#" -gt "2" ]; then
msg_error "vopt_bool $opt: $(($# - 2)) excess parameter(s)\n"
fi
vopt_if "$1" "-D${prop}=true" "-D${prop}=false"
}
vopt_feature() {
local opt="$1" prop="${2:-$1}"
if [ "$#" -gt "2" ]; then
msg_error "vopt_feature $opt: $(($# - 2)) excess parameter(s)\n"
fi
vopt_if "$1" "-D${prop}=enabled" "-D${prop}=disabled"
}

View File

@@ -0,0 +1,14 @@
#
# Useful variables for determining Python version and paths.
#
py2_ver="2.7"
py2_lib="usr/lib/python${py2_ver}"
py2_sitelib="${py2_lib}/site-packages"
py2_inc="usr/include/python${py2_ver}"
py3_ver="3.13"
py3_abiver=""
py3_lib="usr/lib/python${py3_ver}"
py3_sitelib="${py3_lib}/site-packages"
py3_inc="usr/include/python${py3_ver}${py3_abiver}"

View File

@@ -0,0 +1,41 @@
# This helper replaces shebang paths pointing to the correct ones
# as used by xbps. Multiple languages are supported:
#
# - GNU Bash
# - Perl
# - Python
#
bash_regexp=".*sh"
perl_regexp=".*perl[^[:space:]]*"
python_regexp=".*python[^[:space:]]*"
replace_interpreter() {
local lang="$1" file="$2" trsb orsb
[ -z $lang -o -z $file ] && return 1
case $lang in
bash)
orsb=$bash_regexp
trpath="/bin/bash"
;;
perl)
orsb=$perl_regexp
trpath="/usr/bin/perl"
;;
python)
orsb=$python_regexp
trpath="/usr/bin/python"
;;
*)
;;
esac
if [ -f $file ]; then
sed -i -e "1s|^#![[:space:]]*${orsb}|#!${trpath}|" $file
msg_normal "Transformed $lang script: ${file##$wrksrc}.\n"
else
msg_warn "Ignoring nonexistent $lang script: ${file##$wrksrc}.\n"
fi
}

View File

@@ -0,0 +1,87 @@
# This shell snippet unsets all variables/functions that can be used in
# the package template (excluding subpackages).
# Exported variables
for var in $(awk 'BEGIN{for (i in ENVIRON) {print i}}' </dev/null); do
# Those variables in chroot.sh will be kept
case "$var" in
BASH_FUNC_*'%%')
# bash exported functions
var="${var%??}"
var="${var#BASH_FUNC_}"
unset -f "$var"
;;
XBPS_* | IN_CHROOT | CHROOT_READY | SOURCE_DATE_EPOCH | NOCOLORS)
# xbps-src specific
;;
SOURCEFORGE_SITE | NONGNU_SITE | XORG_SITE | DEBIAN_SITE | GNOME_SITE)
;;
KERNEL_SITE | CPAN_SITE | PYPI_SITE | MOZILLA_SITE | GNU_SITE)
;;
FREEDESKTOP_SITE | KDE_SITE | VIDEOLAN_SITE | UBUNTU_SITE)
;;
_ | PWD | SHLVL | USER | PATH | SHELL | HOME | LC_COLLATE | LANG | TERM | PS1)
# known variables for shell
;;
DISTCC_HOSTS | DISTCC_DIR)
;;
CCACHE_DIR | CCACHE_COMPRESS)
;;
HTTP_PROXY | HTTPS_PROXY | SOCKS_PROXY | NO_PROXY | HTTP_PROXY_AUTH)
;;
FTP_PROXY | FTP_RETRIES)
;;
http_proxy | https_proxy | ftp_proxy | all_proxy | no_proxy)
;;
*)
unset -v "$var"
;;
esac
done
unset -v var
## VARIABLES
unset -v pkgname version revision short_desc homepage license maintainer
unset -v archs distfiles checksum build_style build_helper nocross broken
unset -v configure_script configure_args wrksrc build_wrksrc create_wrksrc
unset -v make_build_args make_check_args make_install_args
unset -v make_build_target make_check_target make_install_target
unset -v make_cmd meson_cmd gem_cmd fetch_cmd make_check_pre
unset -v python_version stackage
unset -v cmake_builddir meson_builddir
unset -v meson_crossfile
unset -v qmake_default_version
unset -v gemspec
unset -v go_import_path go_package go_mod_mode
unset -v patch_args disable_parallel_build disable_parallel_check
unset -v keep_libtool_archives make_use_env
unset -v reverts subpackages makedepends hostmakedepends checkdepends depends restricted
unset -v nopie build_options build_options_default bootstrap repository reverts
unset -v CFLAGS CXXFLAGS FFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF PKG_CONFIG
unset -v CMAKE_GENERATOR
unset -v scons_use_destdir
# build-helper python3
unset -v PYPREFIX LDSHARED PYTHON_CONFIG PYTHONPATH _PYTHON_SYSCONFIGDATA_NAME
# unset all $build_option_ variables
unset -v "${!build_option_@}"
# hooks/do-extract/00-distfiles
unset -v skip_extraction
# hooks/post-install/03-strip-and-debug-pkgs
unset -v nodebug
# build-helpers/gir.sh for cross builds
unset -v GIR_EXTRA_LIBS_PATH GIR_EXTRA_OPTIONS
## FUNCTIONS
unset -f pre_fetch do_fetch post_fetch
unset -f pre_extract do_extract post_extract
unset -f pre_patch do_patch post_patch
unset -f pre_configure do_configure post_configure
unset -f pre_build do_build post_build
unset -f pre_check do_check post_check
unset -f pre_install do_install post_install
unset -f do_clean

Some files were not shown because too many files have changed in this diff Show More