*/*: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2024-09-23 09:02:17 +02:00
parent 7477ca8a28
commit fd3bf1794a
2039 changed files with 59588 additions and 7938 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= gpsprune
PORTVERSION= 24.3
PORTVERSION= 24.4
CATEGORIES= astro java
MASTER_SITES= https://activityworkshop.net/software/${PORTNAME}/
DISTNAME= ${PORTNAME}_${PORTVERSION}.jar

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1726062340
SHA256 (gpsprune_24.3.jar) = eb09be484e3902bd9c9fbb82c8c4a95f72f9797e32906d779f924182535c4987
SIZE (gpsprune_24.3.jar) = 1455362
TIMESTAMP = 1726775981
SHA256 (gpsprune_24.4.jar) = 1fc5094bde90e56046d3365dd947c6601c09e43121a7ef442bf79f2965d9bb3c
SIZE (gpsprune_24.4.jar) = 1455105

View file

@ -1,6 +1,6 @@
PORTNAME= audacity
DISTVERSIONPREFIX= Audacity-
DISTVERSION= 3.6.3
DISTVERSION= 3.6.4
CATEGORIES= audio
MASTER_SITES+= https://github.com/${PORTNAME}/${PORTNAME}-manual/releases/download/v${DISTVERSION}/:manual
DISTFILES+= ${PORTNAME}-manual-${DISTVERSION}.tar.gz:manual

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1725947311
SHA256 (audacity-manual-3.6.3.tar.gz) = 2e7a3dd9f75cea8e9b4aa3ceb9577acd01644a358d03be43154dbeffed795327
SIZE (audacity-manual-3.6.3.tar.gz) = 26237185
SHA256 (audacity-audacity-Audacity-3.6.3_GH0.tar.gz) = aaf0d2581a5f4855f0ddd1e1fd128a6f3182857e77c0884e874bc0a0df493393
SIZE (audacity-audacity-Audacity-3.6.3_GH0.tar.gz) = 61317542
TIMESTAMP = 1726810916
SHA256 (audacity-manual-3.6.4.tar.gz) = cea3f236057bf798dd7ad9fa49c3da3e8a328163d4984ca81458afe6bcee6a83
SIZE (audacity-manual-3.6.4.tar.gz) = 26238332
SHA256 (audacity-audacity-Audacity-3.6.4_GH0.tar.gz) = e7d82eaae65081a1118a899751ff50ddf76a1cc0f056882eeaffcedb86c12aec
SIZE (audacity-audacity-Audacity-3.6.4_GH0.tar.gz) = 61319349

View file

@ -1,5 +1,5 @@
PORTNAME= drumkv1
DISTVERSION= 1.1.0
DISTVERSION= 1.1.1
CATEGORIES= audio
MASTER_SITES= SF
PKGNAMESUFFIX= -lv2

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1724898416
SHA256 (drumkv1-1.1.0.tar.gz) = 3ff6b790289edf7f3889cda55a748f6072da941e972d0b62fe36998e8220327c
SIZE (drumkv1-1.1.0.tar.gz) = 276436
TIMESTAMP = 1726877518
SHA256 (drumkv1-1.1.1.tar.gz) = b3f5b9b24ad27cedb733d901e275e9099596487d4e023df0346fb48a91f38f3a
SIZE (drumkv1-1.1.1.tar.gz) = 276039

View file

@ -1,5 +1,5 @@
PORTNAME= faust
DISTVERSION= 2.74.6
DISTVERSION= 2.75.7
CATEGORIES= audio devel
MAINTAINER= yuri@FreeBSD.org
@ -11,19 +11,25 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
BROKEN_armv7= compilation broken: the faust executable SEGVs while compiling examples during build: faust -a lv2.cpp -cn amp -I examples examples/amp.dsp -o examples/amp.cpp
LIB_DEPENDS= libLLVM-${LLVM_VERSION}.so:devel/llvm${LLVM_VERSION}
LIB_DEPENDS= libLLVM-${LLVM_VERSION}.so:devel/llvm${LLVM_VERSION} \
libzstd.so:archivers/zstd
RUN_DEPENDS= bash:shells/bash
USES= compiler:c++14-lang cmake llvm:min=15,lib ncurses python pkgconfig shebangfix # llvm: versions <11 lacked dump() function(s) that cause unresolved symbols in libfaust.so
USES= compiler:c++14-lang cmake localbase:ldflags llvm:min=15,lib ncurses python pkgconfig shebangfix # llvm: versions <11 lacked dump() function(s) that cause unresolved symbols in libfaust.so
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= grame-cncm
GH_TUPLE= \
grame-cncm:faustlibraries:58f6796:grame_cncm_faustlibraries/libraries \
ccrma:faust2ck:db879cb:faust2ck/tools/faust2ck
grame-cncm:faustlibraries:3e74c39:grame_cncm_faustlibraries/libraries \
ccrma:faust2ck:db879cb:faust2ck/tools/faust2ck \
shakfu:py2max:3aaa8ca:py2max/architecture/max-msp/py2max \
yixuan:spectra:8c7242e:spectra/tools/physicalModeling/mesh2faust/spectra
SHEBANG_FILES= tools/faust2appls/* tools/benchmark/faustbench tools/sound2faust/sound2reader
SHEBANG_FILES= tools/faust-config \
tools/faust2appls/* \
tools/benchmark/faustbench \
tools/sound2faust/sound2reader
CMAKE_SOURCE_PATH= ${WRKSRC}/build
CMAKE_ON= INCLUDE_DYNAMIC # only installs headers and not libs without INCLUDE_DYNAMIC or INCLUDE_STATIC: https://github.com/grame-cncm/faust/issues/553

View file

@ -1,7 +1,11 @@
TIMESTAMP = 1719128380
SHA256 (grame-cncm-faust-2.74.6_GH0.tar.gz) = eab18951046c4be232c66f35fe0a41fa339d5fe9e048e376545e427a0a02efc9
SIZE (grame-cncm-faust-2.74.6_GH0.tar.gz) = 68613832
SHA256 (grame-cncm-faustlibraries-58f6796_GH0.tar.gz) = 35c105bef3629f27a9dd5c7cbc9ba81170728d32c5d4ba7fe8291fff9ab00ee5
SIZE (grame-cncm-faustlibraries-58f6796_GH0.tar.gz) = 7892176
TIMESTAMP = 1726895188
SHA256 (grame-cncm-faust-2.75.7_GH0.tar.gz) = 7ef21d3e5af0113a7a872efd5886294dbd0085b2dc7c6f0b42e417dbf4490193
SIZE (grame-cncm-faust-2.75.7_GH0.tar.gz) = 70182927
SHA256 (grame-cncm-faustlibraries-3e74c39_GH0.tar.gz) = 1dd8b9ad189e1d4d892c4c5d8df7a4ba8636c175e5d732f2d7aa8221744bf618
SIZE (grame-cncm-faustlibraries-3e74c39_GH0.tar.gz) = 7893902
SHA256 (ccrma-faust2ck-db879cb_GH0.tar.gz) = 78a4ca3deef0940122c68cb4872b9423778177ddf02d113f8f01d0e37351f816
SIZE (ccrma-faust2ck-db879cb_GH0.tar.gz) = 328939
SHA256 (shakfu-py2max-3aaa8ca_GH0.tar.gz) = cfa77756965481a65baa265bef850b2dd0d557622ead2d895d557187d7e78bf7
SIZE (shakfu-py2max-3aaa8ca_GH0.tar.gz) = 1805609
SHA256 (yixuan-spectra-8c7242e_GH0.tar.gz) = 9007e20117a29a55ba63a79648970240a318b4d863d1a3a2141110f24c932ed7
SIZE (yixuan-spectra-8c7242e_GH0.tar.gz) = 259968

View file

@ -98,9 +98,6 @@ bin/faust2w32vst
bin/faust2w64max6
bin/faust2w64puredata
bin/faust2w64vst
bin/faust2wasm
bin/faust2webaudiowasm
bin/faust2webaudiowast
bin/faust2winunity
bin/faustoptflags
bin/faustpath
@ -274,7 +271,7 @@ lib/ios-libsndfile.a
lib/libOSCFaust.a
lib/libfaust.so
lib/libfaust.so.2
lib/libfaust.so.2.74.6
lib/libfaust.so.2.75.7
%%HIGHLIGHT%%share/apps/katepart/syntax/faust.xml
%%DATADIR%%/AU/AUPublic/AUBase/AUBase.cpp
%%DATADIR%%/AU/AUPublic/AUBase/AUBase.h
@ -695,6 +692,111 @@ lib/libfaust.so.2.74.6
%%DATADIR%%/max-msp/faustgen-wrapper.maxpat
%%DATADIR%%/max-msp/max-msp.cpp
%%DATADIR%%/max-msp/max-msp64.cpp
%%DATADIR%%/max-msp/py2max/.gitignore
%%DATADIR%%/max-msp/py2max/CHANGELOG.md
%%DATADIR%%/max-msp/py2max/LICENSE
%%DATADIR%%/max-msp/py2max/MANIFEST.in
%%DATADIR%%/max-msp/py2max/README.md
%%DATADIR%%/max-msp/py2max/TODO.md
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/circular.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/default_h.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/default_v.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/dot.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/fdp.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/hola.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/kamada_kawai_layout.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/neato.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/orthogonal.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/planar.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/pyhola.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/sfdp.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/shell.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/spectral.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/spring-layout.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/tsmp0-uselp.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/tsmp1-uselp.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/tsmp1.png
%%DATADIR%%/max-msp/py2max/docs/assets/imgs/twopi.png
%%DATADIR%%/max-msp/py2max/docs/auto-layouts.md
%%DATADIR%%/max-msp/py2max/docs/notes/alternatives.md
%%DATADIR%%/max-msp/py2max/docs/notes/graph-drawing.md
%%DATADIR%%/max-msp/py2max/docs/notes/hola-options.md
%%DATADIR%%/max-msp/py2max/docs/notes/storage.md
%%DATADIR%%/max-msp/py2max/py2max/__init__.py
%%DATADIR%%/max-msp/py2max/py2max/common.py
%%DATADIR%%/max-msp/py2max/py2max/core.py
%%DATADIR%%/max-msp/py2max/py2max/maxclassdb.py
%%DATADIR%%/max-msp/py2max/py2max/utils.py
%%DATADIR%%/max-msp/py2max/pyproject.toml
%%DATADIR%%/max-msp/py2max/scripts/clean.sh
%%DATADIR%%/max-msp/py2max/scripts/compare.py
%%DATADIR%%/max-msp/py2max/scripts/convert.py
%%DATADIR%%/max-msp/py2max/scripts/coverage.sh
%%DATADIR%%/max-msp/py2max/scripts/create_wheel.sh
%%DATADIR%%/max-msp/py2max/scripts/dump_registry.py
%%DATADIR%%/max-msp/py2max/scripts/gen_defaults.py
%%DATADIR%%/max-msp/py2max/scripts/gen_test.py
%%DATADIR%%/max-msp/py2max/scripts/parse_refs.py
%%DATADIR%%/max-msp/py2max/scripts/parse_thesaurus.py
%%DATADIR%%/max-msp/py2max/scripts/test.sh
%%DATADIR%%/max-msp/py2max/tests/__init__.py
%%DATADIR%%/max-msp/py2max/tests/data/complex.maxpat
%%DATADIR%%/max-msp/py2max/tests/data/desc.maxpat
%%DATADIR%%/max-msp/py2max/tests/data/empty.maxpat
%%DATADIR%%/max-msp/py2max/tests/data/nested.maxpat
%%DATADIR%%/max-msp/py2max/tests/data/simple.maxpat
%%DATADIR%%/max-msp/py2max/tests/data/tabular.maxpat
%%DATADIR%%/max-msp/py2max/tests/graphs/random/v30e33.tglf
%%DATADIR%%/max-msp/py2max/tests/registry.py
%%DATADIR%%/max-msp/py2max/tests/scratch.py
%%DATADIR%%/max-msp/py2max/tests/test_abstraction.py
%%DATADIR%%/max-msp/py2max/tests/test_add.py
%%DATADIR%%/max-msp/py2max/tests/test_attrui.py
%%DATADIR%%/max-msp/py2max/tests/test_basic.py
%%DATADIR%%/max-msp/py2max/tests/test_beap.py
%%DATADIR%%/max-msp/py2max/tests/test_bpatcher.py
%%DATADIR%%/max-msp/py2max/tests/test_coll.py
%%DATADIR%%/max-msp/py2max/tests/test_colors.py
%%DATADIR%%/max-msp/py2max/tests/test_comment.py
%%DATADIR%%/max-msp/py2max/tests/test_defaults.py
%%DATADIR%%/max-msp/py2max/tests/test_dict.py
%%DATADIR%%/max-msp/py2max/tests/test_ezdac.py
%%DATADIR%%/max-msp/py2max/tests/test_gen.py
%%DATADIR%%/max-msp/py2max/tests/test_itable.py
%%DATADIR%%/max-msp/py2max/tests/test_js.py
%%DATADIR%%/max-msp/py2max/tests/test_kwds_filter.py
%%DATADIR%%/max-msp/py2max/tests/test_layout.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_hola1.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_hola2.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_hola3.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_networkx1.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_networkx2.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_nx_graphviz.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_nx_orthogonal.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_nx_tsmpy.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_pyhola.py
%%DATADIR%%/max-msp/py2max/tests/test_layout_vertical.py
%%DATADIR%%/max-msp/py2max/tests/test_linking.py
%%DATADIR%%/max-msp/py2max/tests/test_mc_cycle.py
%%DATADIR%%/max-msp/py2max/tests/test_message.py
%%DATADIR%%/max-msp/py2max/tests/test_mypatch.py
%%DATADIR%%/max-msp/py2max/tests/test_nested.py
%%DATADIR%%/max-msp/py2max/tests/test_number_tilde.py
%%DATADIR%%/max-msp/py2max/tests/test_numbers.py
%%DATADIR%%/max-msp/py2max/tests/test_param.py
%%DATADIR%%/max-msp/py2max/tests/test_patcher.py
%%DATADIR%%/max-msp/py2max/tests/test_pitched_osc.py
%%DATADIR%%/max-msp/py2max/tests/test_rnbo.py
%%DATADIR%%/max-msp/py2max/tests/test_rnbo_subpatcher.py
%%DATADIR%%/max-msp/py2max/tests/test_scripting_name.py
%%DATADIR%%/max-msp/py2max/tests/test_subpatch.py
%%DATADIR%%/max-msp/py2max/tests/test_table.py
%%DATADIR%%/max-msp/py2max/tests/test_tree.py
%%DATADIR%%/max-msp/py2max/tests/test_tree_builder.py
%%DATADIR%%/max-msp/py2max/tests/test_two_sines.py
%%DATADIR%%/max-msp/py2max/tests/test_umenu.py
%%DATADIR%%/max-msp/py2max/tests/test_varname.py
%%DATADIR%%/max-msp/py2max/tests/test_zl_group.py
%%DATADIR%%/max-msp/rnbo.py
%%DATADIR%%/max-msp/sndfile/arm/libsndfile.a
%%DATADIR%%/max-msp/sndfile/intel/libsndfile.a
@ -924,4 +1026,3 @@ share/gtksourceview-3.0/language-specs/faust.lang
share/highlight/langDefs/dsp.lang
share/man/man1/faust.1.gz
%%HIGHLIGHT%%share/vim/vimfiles/syntax/faust.vim
@dir %%DATADIR%%/max-msp/py2max

View file

@ -1,13 +1,8 @@
PORTNAME= fooyin
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.2
PORTREVISION= 2
DISTVERSION= 0.7.1
CATEGORIES= audio multimedia
PATCH_SITES= https://github.com/fooyin/fooyin/commit/
PATCHFILES= a7388331090465ae9c22600bee4769d4c00bbc53.patch:-p1 \
318f2e00952f37e1d237789d7b2605f05639c687.patch:-p1
MAINTAINER= diizzy@FreeBSD.org
COMMENT= foobar2000 inspired audio player
WWW= https://github.com/fooyin/fooyin

View file

@ -1,7 +1,3 @@
TIMESTAMP = 1725468089
SHA256 (fooyin-fooyin-v0.6.2_GH0.tar.gz) = ea1e128820becb70c9c2b1c648cd6c9c8816818709284cfebbdf99cce232af4f
SIZE (fooyin-fooyin-v0.6.2_GH0.tar.gz) = 4598582
SHA256 (a7388331090465ae9c22600bee4769d4c00bbc53.patch) = f9b47961914b69d3b4ede077712f868aa7801ff6da5476b1ab7a7e2f3bacf848
SIZE (a7388331090465ae9c22600bee4769d4c00bbc53.patch) = 715
SHA256 (318f2e00952f37e1d237789d7b2605f05639c687.patch) = 1e79bb05c43ce9234d4104695ce7a95eb76061ca13c1f8a07b1a06bb8011ecc3
SIZE (318f2e00952f37e1d237789d7b2605f05639c687.patch) = 602
TIMESTAMP = 1726999211
SHA256 (fooyin-fooyin-v0.7.1_GH0.tar.gz) = 8e7472198c42237f1ab1b07e7c61873509580642e7ca63575b7bd83370273721
SIZE (fooyin-fooyin-v0.7.1_GH0.tar.gz) = 1584531

View file

@ -8,6 +8,7 @@ lib/fooyin/plugins/fyplugin_gmeinput.so
lib/fooyin/plugins/fyplugin_libarchive.so
lib/fooyin/plugins/fyplugin_mpris.so
lib/fooyin/plugins/fyplugin_rawaudio.so
lib/fooyin/plugins/fyplugin_scrobbler.so
lib/fooyin/plugins/fyplugin_sdl.so
lib/fooyin/plugins/fyplugin_tageditor.so
lib/fooyin/plugins/fyplugin_vgminput.so
@ -17,6 +18,7 @@ share/applications/org.fooyin.fooyin.desktop
%%DATADIR%%/translations/fooyin_de.qm
%%DATADIR%%/translations/fooyin_en_US.qm
%%DATADIR%%/translations/fooyin_es.qm
%%DATADIR%%/translations/fooyin_fi.qm
%%DATADIR%%/translations/fooyin_fr.qm
%%DATADIR%%/translations/fooyin_id.qm
%%DATADIR%%/translations/fooyin_ie.qm

View file

@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer ATSC A/52 stream aka AC-3 (dvd audio) plugin
GST_PLUGIN= a52dec
LIB_DEPENDS= liba52.so:audio/liba52
MESON_ARGS+= -Dgpl=enabled
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= ugly
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
MESON_ARGS+= -Dgpl=enabled
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= liba52.so:audio/liba52
GST_PLUGIN= a52dec
.include "${MASTERDIR}/Makefile"

View file

@ -3,15 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer OpenCore based Adaptive Multi-Rate Narrow-Band plugin
LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
GST_PLUGIN= amrnb
DIST= ugly
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
MESON_ARGS+= -Dgpl=enabled
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr
.include "${MASTERDIR}/Makefile"

View file

@ -1,18 +1,15 @@
PORTREVISION= 0
CATEGORIES= audio
PKGNAMESUFFIX= 1-plugins-amrwbdec
COMMENT= GStreamer OpenCore based Adaptive Multi-Rate Wide-Band Decoder plugin
LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
GST_PLUGIN= amrwbdec
DIST= ugly
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
MESON_ARGS+= -Dgpl=enabled
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr
.include "${MASTERDIR}/Makefile"

View file

@ -3,14 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer Bauer Stereophonic to Banaural BSP (bs2b) plugin
GST_PLUGIN= bs2b
LIB_DEPENDS= libbs2b.so:audio/libbs2b
MESON_ARGS+= -Dgpl=enabled
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libbs2b.so:audio/libbs2b
MESON_ARGS+= -Dgpl=enabled
GST_PLUGIN= bs2b
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer CDDA extraction (aka audio ripping) plugin
GST_PLUGIN= cdparanoia
LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= base
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia
GST_PLUGIN= cdparanoia
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer audio fingerprint extracting plugin
GST_PLUGIN= chromaprint
LIB_DEPENDS= libchromaprint.so:audio/chromaprint
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libchromaprint.so:audio/chromaprint
GST_PLUGIN= chromaprint
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer MPEG-2 and MPEG-4 AAC encoder plugin
GST_PLUGIN= faac
LIB_DEPENDS= libfaac.so:audio/faac
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libfaac.so:audio/faac
GST_PLUGIN= faac
.include "${MASTERDIR}/Makefile"

View file

@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer MPEG-2 and MPEG-4 AAC decoder plugin
GST_PLUGIN= faad
LIB_DEPENDS= libfaad.so:audio/faad
MESON_ARGS+= -Dgpl=enabled
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libfaad.so:audio/faad
MESON_ARGS+= -Dgpl=enabled
GST_PLUGIN= faad
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer free lossless audio encoder/decoder plugin
GST_PLUGIN= flac
LIB_DEPENDS= libFLAC.so:audio/flac
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libFLAC.so:audio/flac
GST_PLUGIN= flac
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer flite run-time speech synthesis engine plugin
GST_PLUGIN= flite
LIB_DEPENDS= libflite.so:audio/flite
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libflite.so:audio/flite
GST_PLUGIN= flite
.include "${MASTERDIR}/Makefile"

View file

@ -1,15 +1,15 @@
PORTREVISION= 1
PORTREVISION= 0
CATEGORIES= audio
COMMENT= GStreamer emulate gaming console sound processors plugin
GST_PLUGIN= gme
LIB_DEPENDS= libgme.so:audio/libgme
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libgme.so:audio/libgme
GST_PLUGIN= gme
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer gsm encoding/decoding plugin
GST_PLUGIN= gsm
LIB_DEPENDS= libgsm.so:audio/gsm
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libgsm.so:audio/gsm
GST_PLUGIN= gsm
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer low-latency audio server plugin
GST_PLUGIN= jack
LIB_DEPENDS= libjack.so:audio/jack
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libjack.so:audio/jack
GST_PLUGIN= jack
.include "${MASTERDIR}/Makefile"

View file

@ -3,15 +3,14 @@ CATEGORIES= audio
COMMENT= Gstreamer ladspa (Linux Audio Developer's Simple Plugin API) plugin
GST_PLUGIN= ladspa
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LIB_DEPENDS= liblrdf.so:textproc/liblrdf
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LIB_DEPENDS= liblrdf.so:textproc/liblrdf
GST_PLUGIN= ladspa
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer High-quality free mp3 encode plugin
GST_PLUGIN= lame
LIB_DEPENDS= libmp3lame.so:audio/lame
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libmp3lame.so:audio/lame
GST_PLUGIN= lame
.include "${MASTERDIR}/Makefile"

View file

@ -3,19 +3,17 @@ CATEGORIES= audio
COMMENT= Gstreamer lv2 wrapper plugin
GST_PLUGIN= lv2
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
LIB_DEPENDS= libsord-0.so:devel/sord \
BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
LIB_DEPENDS= liblilv-0.so:audio/lilv \
libserd-0.so:devel/serd \
libsratom-0.so:audio/sratom \
liblilv-0.so:audio/lilv
libsord-0.so:devel/sord \
libsratom-0.so:audio/sratom
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
GST_PLUGIN= lv2
.include "${MASTERDIR}/Makefile"
USES+= pkgconfig

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer module decoder based on modplug egine plugin
GST_PLUGIN= modplug
LIB_DEPENDS= libmodplug.so:audio/libmodplug
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libmodplug.so:audio/libmodplug
GST_PLUGIN= modplug
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer MPEG Layer 1, 2, and 3 plugin
GST_PLUGIN= mpg123
LIB_DEPENDS= libmpg123.so:audio/mpg123
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libmpg123.so:audio/mpg123
GST_PLUGIN= mpg123
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer Ogg bitstream plugin
GST_PLUGIN= ogg
LIB_DEPENDS= libogg.so:audio/libogg
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= base
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libogg.so:audio/libogg
GST_PLUGIN= ogg
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer OpenMPT audio decoder plugin
GST_PLUGIN= openmpt
LIB_DEPENDS= libopenmpt.so:audio/libopenmpt
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libopenmpt.so:audio/libopenmpt
GST_PLUGIN= openmpt
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer Opus audio encoder/decoder plugin
GST_PLUGIN= opus
LIB_DEPENDS= libopus.so:audio/opus
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= base
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libopus.so:audio/opus
GST_PLUGIN= opus
.include "${MASTERDIR}/Makefile"

View file

@ -1,15 +1,15 @@
PORTREVISION= 1
PORTREVISION= 0
CATEGORIES= audio
COMMENT= GStreamer pulseaudio plugin
GST_PLUGIN= pulse
LIB_DEPENDS= libpulse.so:audio/pulseaudio
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libpulse.so:audio/pulseaudio
GST_PLUGIN= pulse
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer icecast output plugin
GST_PLUGIN= shout2
LIB_DEPENDS= libshout.so:audio/libshout
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libshout.so:audio/libshout
GST_PLUGIN= shout2
.include "${MASTERDIR}/Makefile"

View file

@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer Commodore SID audio decoder plugin
GST_PLUGIN= sidplay
LIB_DEPENDS= libsidplay.so:audio/libsidplay
MESON_ARGS+= -Dgpl=enabled
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= ugly
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libsidplay.so:audio/libsidplay
MESON_ARGS+= -Dgpl=enabled
GST_PLUGIN= sidplay
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= Gstreamer sndfile plugin
GST_PLUGIN= sndfile
LIB_DEPENDS= libsndfile.so:audio/libsndfile
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libsndfile.so:audio/libsndfile
GST_PLUGIN= sndfile
.include "${MASTERDIR}/Makefile"

View file

@ -3,12 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer soundtouch plugin
GST_PLUGIN= soundtouch
LIB_DEPENDS= libSoundTouch.so:audio/soundtouch
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libSoundTouch.so:audio/soundtouch
GST_PLUGIN= soundtouch
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer speex voice encode/decode plugin
GST_PLUGIN= speex
LIB_DEPENDS= libspeex.so:audio/speex
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libspeex.so:audio/speex
GST_PLUGIN= speex
.include "${MASTERDIR}/Makefile"

View file

@ -1,18 +1,18 @@
PORTREVISION= 1
PORTREVISION= 0
CATEGORIES= audio
COMMENT= GStreamer taglib plugin for adding APEv2 and ID3v2 headers
BROKEN_armv6= fails to compile: textidentificationframe.h file not found
BROKEN_armv7= fails to compile: textidentificationframe.h file not found
BROKEN_armv6= fails to compile: textidentificationframe.h file not found
BROKEN_armv7= fails to compile: textidentificationframe.h file not found
LIB_DEPENDS= libtag.so:audio/taglib
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
GST_PLUGIN= taglib
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libtag.so:audio/taglib
GST_PLUGIN= taglib
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer High-quality free MP2 encoder plugin
GST_PLUGIN= twolame
LIB_DEPENDS= libtwolame.so:audio/twolame
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libtwolame.so:audio/twolame
GST_PLUGIN= twolame
.include "${MASTERDIR}/Makefile"

View file

@ -3,14 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer vorbis encoder/decoder plugin
GST_PLUGIN= vorbis
LIB_DEPENDS= libvorbis.so:audio/libvorbis
USE_GSTREAMER= ogg
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= base
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
USE_GSTREAMER= ogg
LIB_DEPENDS= libvorbis.so:audio/libvorbis
GST_PLUGIN= vorbis
.include "${MASTERDIR}/Makefile"

View file

@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer wavpack encode/decode plugin
GST_PLUGIN= wavpack
LIB_DEPENDS= libwavpack.so:audio/wavpack
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libwavpack.so:audio/wavpack
GST_PLUGIN= wavpack
.include "${MASTERDIR}/Makefile"

View file

@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer WebRTC Audio Processing plugin
GST_PLUGIN= webrtcdsp
DIST= bad
LIB_DEPENDS= libwebrtc-audio-processing-1.so:audio/webrtc-audio-processing
USES+= compiler:c++11-lang
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libwebrtc_audio_processing.so:audio/webrtc-audio-processing0
DIST= bad
GST_PLUGIN= webrtcdsp
.include "${MASTERDIR}/Makefile"

View file

@ -1,5 +1,5 @@
PORTNAME= padthv1
DISTVERSION= 1.1.0
DISTVERSION= 1.1.1
CATEGORIES= audio
MASTER_SITES= SF
PKGNAMESUFFIX= -lv2

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1724898418
SHA256 (padthv1-1.1.0.tar.gz) = a81f8f9bb8d2193f4df08b76eef7c6a08fae16ee2c1a237e2562a6e756305d9e
SIZE (padthv1-1.1.0.tar.gz) = 243485
TIMESTAMP = 1726877520
SHA256 (padthv1-1.1.1.tar.gz) = 55bbfbe9f28082e5eaf32c722ec6321de3b4784e25801c2606018dcd4b41de12
SIZE (padthv1-1.1.1.tar.gz) = 243656

View file

@ -1,5 +1,5 @@
PORTNAME= samplv1
DISTVERSION= 1.1.0
DISTVERSION= 1.1.1
CATEGORIES= audio
MASTER_SITES= SF
PKGNAMESUFFIX= -lv2

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1724898420
SHA256 (samplv1-1.1.0.tar.gz) = 2d3b810a51c1a54626d93e5a963317c40973519b78bbc3c9a8e6cb59114ecad1
SIZE (samplv1-1.1.0.tar.gz) = 274893
TIMESTAMP = 1726877522
SHA256 (samplv1-1.1.1.tar.gz) = 2851a4ad1a6992645e0dd61a1c42dfdc44f9b41cbf6abbef98ae705df5c655c2
SIZE (samplv1-1.1.1.tar.gz) = 275251

View file

@ -1,5 +1,5 @@
PORTNAME= synthv1
DISTVERSION= 1.1.0
DISTVERSION= 1.1.1
CATEGORIES= audio
MASTER_SITES= SF
PKGNAMESUFFIX= -lv2

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1724898422
SHA256 (synthv1-1.1.0.tar.gz) = e3ae0b32624d6d782a0bf30b8cf70b1a6b92a79ed99f72966cecf8c7d31df46b
SIZE (synthv1-1.1.0.tar.gz) = 233637
TIMESTAMP = 1726877524
SHA256 (synthv1-1.1.1.tar.gz) = 721840c1430411dd435cdb4c015336e32a565a4d22703bc008edc3e008457904
SIZE (synthv1-1.1.1.tar.gz) = 233062

View file

@ -54,6 +54,7 @@
SUBDIR += fasta
SUBDIR += fasta3
SUBDIR += fastahack
SUBDIR += fastani
SUBDIR += fastdnaml
SUBDIR += fastool
SUBDIR += fastp

27
biology/fastani/Makefile Normal file
View file

@ -0,0 +1,27 @@
PORTNAME= fastani
DISTVERSIONPREFIX= v
DISTVERSION= 1.34
CATEGORIES= biology
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast Whole-Genome Similarity (ANI) Estimation
WWW= https://github.com/shenwei356/unikmer/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgsl.so:math/gsl
USES= cmake:testing
USE_GITHUB= yes
GH_ACCOUNT= ParBLiSS
GH_PROJECT= FastANI
GH_TUPLE= catchorg:Catch2:359542d:catch/ext/Catch2
CMAKE_OFF= BUILD_TESTING
CMAKE_TESTING_ON= BUILD_TESTING # 6 tests fail, see https://github.com/ParBLiSS/FastANI/issues/138
PLIST_FILES= bin/fastANI
.include <bsd.port.mk>

5
biology/fastani/distinfo Normal file
View file

@ -0,0 +1,5 @@
TIMESTAMP = 1726871246
SHA256 (ParBLiSS-FastANI-v1.34_GH0.tar.gz) = dc185cf29b9fa40cdcc2c83bb48150db46835e49b9b64a3dbff8bc4d0f631cb1
SIZE (ParBLiSS-FastANI-v1.34_GH0.tar.gz) = 3899028
SHA256 (catchorg-Catch2-359542d_GH0.tar.gz) = 607bf5322291859a136b2580151f41897335e91c51fe0c4dd3950093ff96244b
SIZE (catchorg-Catch2-359542d_GH0.tar.gz) = 1031988

View file

@ -0,0 +1,12 @@
--- CMakeLists.txt.orig 2023-07-28 20:41:45 UTC
+++ CMakeLists.txt
@@ -68,7 +68,8 @@ if(${BUILD_TESTING})
Catch2::Catch2 Catch2::Catch2WithMain
ZLIB::ZLIB GSL::gsl GSL::gslcblas
${OpenMP_CXX_LIBRARIES}
- gcov)
+ --coverage -g -O0 -fprofile-arcs -ftest-coverage
+ )
catch_discover_tests(fastANITest)
file(COPY tests/data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
add_custom_target(lcov lcov -c -d .. -o fastANITest.out

View file

@ -0,0 +1,11 @@
--- src/cgi/core_genome_identity.cpp.orig 2024-09-20 22:30:43 UTC
+++ src/cgi/core_genome_identity.cpp
@@ -10,6 +10,8 @@
#include <functional>
#include <omp.h>
+#include <unistd.h>
+
//Own includes
#include "map/include/map_parameters.hpp"
#include "map/include/base_types.hpp"

View file

@ -0,0 +1,4 @@
FastANI is developed for fast alignment-free computation of whole-genome Average
Nucleotide Identity (ANI). ANI is defined as mean nucleotide identity of
orthologous gene pairs shared between two microbial genomes. FastANI supports
pairwise comparison of both complete and draft genome assemblies.

View file

@ -1,6 +1,5 @@
PORTNAME= FreeCAD
DISTVERSION= 0.21.2
PORTREVISION= 6
DISTVERSION= 1.0rc1
CATEGORIES= cad
MAINTAINER= cmt@FreeBSD.org
@ -12,17 +11,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= doxygen:devel/doxygen \
pybind11-config:devel/py-pybind11@${PY_FLAVOR} \
pyside_tool.py:devel/pyside2-tools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyside6-tools>0:devel/pyside6-tools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_INCLUDEDIR}/CXX/Config.hxx:devel/py-cxx \
microsoft-gsl>0:devel/microsoft-gsl \
googletest>0:devel/googletest \
swig:devel/swig
# the ffmpeg4 dependency is inherited via cad/opencascade
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libyaml-cpp.so:devel/yaml-cpp \
libfreetype.so:print/freetype2 \
libtbb.so:devel/onetbb \
${PY_BOOST} \
libpyside2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/pyside2@${PY_FLAVOR} \
libpyside6.abi3.so:devel/pyside6@${PY_FLAVOR} \
libCoin.so:graphics/Coin \
libfmt.so:devel/libfmt \
libpng.so:graphics/png \
@ -33,24 +35,23 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libboost_thread.so:devel/boost-libs \
libfontconfig.so:x11-fonts/fontconfig \
libfreeimage.so:graphics/freeimage \
libavutil.so:multimedia/ffmpeg4 \
libavutil.so.58:multimedia/ffmpeg \
libavformat.so.58:multimedia/ffmpeg4 \
libmed.so:french/med \
libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} \
libshiboken6.abi3.so:devel/shiboken6@${PY_FLAVOR} \
libhdf5.so:science/hdf5
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR}
USES= dos2unix compiler:c++17-lang cmake cpe gl eigen:3 fortran gmake jpeg \
localbase:ldflags mpi:openmpi pkgconfig python localbase qt:5 xorg \
localbase:ldflags mpi:openmpi pkgconfig python localbase qt:6 xorg \
desktop-file-utils shared-mime-info shebangfix
USE_GITHUB= yes
GH_TAGNAME= 8abd09398a010337c3b294e687e0666b60bceacf # PR #11909 Add support for OCCT 7.8.0
GH_TAGNAME= ${DISTVERSION}
USE_XORG= ice sm x11 xext xt
USE_GL= gl glu
USE_QT= buildtools concurrent core declarative designer gui \
linguisttools location network opengl printsupport \
qmake:build svg webchannel widgets xml xmlpatterns
USE_QT= base declarative location svg tools webchannel
USE_LDCONFIG= yes
CPE_VENDOR= freecad_project
@ -63,7 +64,7 @@ SHEBANG_FILES= src/Tools/freecad-thumbnailer
# our HDF5/CMake integration is messy, so workarounds are required below
CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \
-DOPENMPI_INCLUDE_DIRS="${LOCALBASE}/mpi/openmpi/include" \
-DBUILD_QT5="ON" \
-DFREECAD_QT_VERSION="6" \
-DPYTHON_LIBRARY="${PYTHONBASE}/lib/libpython${PYTHON_VER}${PYTHON_ABIVER}.so" \
-DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \
-DPYTHON_PACKAGES_PATH="${PYTHON_SITELIBDIR}" \
@ -72,7 +73,10 @@ CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \
-DBUILD_ASSEMBLY="OFF" \
-DBUILD_DESIGNER_PLUGIN="ON" \
-DBUILD_FLAT_MESH="ON" \
-DBUILD_TEST="OFF" \
-DENABLE_DEVELOPER_TESTS="OFF" \
-DBUILD_VR="OFF" \
-DFREECAD_LIBPACK_USE="OFF" \
-DFREECAD_USE_EXTERNAL_FMT="ON" \
-DFREECAD_CREATE_MAC_APP="OFF" \
-DFREECAD_FREECAD_LIBPACK_USE="OFF" \
@ -80,6 +84,8 @@ CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \
-DFREECAD_USE_EXTERNAL_SMESH="OFF" \
-DFREECAD_USE_FREETYPE="ON" \
-DFREECAD_USE_PYBIND11="ON" \
-DUSE_CUDA="OFF" \
-DUSE_OPENCV="OFF" \
-Dpybind11_DIR="${PYTHON_SITELIBDIR}/pybind11/share/cmake/pybind11" \
-DHDF5_CFLAGS="-I${LOCALBASE}/include" \
-DHDF5_FOUND=TRUE \
@ -87,14 +93,10 @@ CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \
-DHDF5_INCLUDE_DIRS="${LOCALBASE}/include/hdf5" \
-DHDF5_LIBRARIES="-L${LOCALBASE}/lib -lhdf5" \
-DHDF5_LIBRARY_DIRS="${LOCALBASE}/lib" \
-DPYSIDE2RCCBINARY="${RCC}" \
-DPYSIDE2UICBINARY="${UIC}" \
-DBUILD_ENABLE_CXX_STD=C++17
-DBUILD_ENABLE_CXX_STD=C++17 \
-DXDG_DATADIR="${PREFIX}/share"
CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME}
# Install XDG icons and files to the standard path
CMAKE_ARGS+= -DXDG_DATADIR="${PREFIX}/share"
OPTIONS_DEFINE= COLLADA

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1710958473
SHA256 (FreeCAD-FreeCAD-0.21.2-8abd09398a010337c3b294e687e0666b60bceacf_GH0.tar.gz) = 05023d52a60b01d5c108a71279d21eb1c1b50db169016b0510ef39c7bbb2361d
SIZE (FreeCAD-FreeCAD-0.21.2-8abd09398a010337c3b294e687e0666b60bceacf_GH0.tar.gz) = 67392556
TIMESTAMP = 1726945270
SHA256 (FreeCAD-FreeCAD-1.0rc1_GH0.tar.gz) = 33ad59dcd268557cab14053987aefafb22c70b47e43c0d19a955762b0f4d7c03
SIZE (FreeCAD-FreeCAD-1.0rc1_GH0.tar.gz) = 88552055

View file

@ -1,11 +0,0 @@
--- cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake.orig 2024-01-10 01:47:25 UTC
+++ cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake
@@ -26,7 +26,7 @@ macro(SetupSalomeSMESH)
# check which modules are available
if(UNIX OR WIN32)
- find_package(VTK COMPONENTS vtkCommonCore REQUIRED NO_MODULE)
+ find_package(VTK COMPONENTS CommonCore REQUIRED NO_MODULE)
if(${VTK_MAJOR_VERSION} LESS 9)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5 vtkFiltersParallelDIY2 vtkRenderingCore vtkInteractionStyle vtkRenderingFreeType vtkRenderingOpenGL2)
foreach(_module ${VTK_COMPONENTS})

View file

@ -1,31 +0,0 @@
--- src/Gui/SoFCCSysDragger.cpp.orig 2024-03-20 18:17:18 UTC
+++ src/Gui/SoFCCSysDragger.cpp
@@ -94,7 +94,7 @@ TDragger::TDragger()
{
SO_KIT_CONSTRUCTOR(TDragger);
-#if defined(Q_OS_MAC)
+#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD)
this->ref();
#endif
@@ -696,7 +696,7 @@ RDragger::RDragger()
RDragger::RDragger()
{
SO_KIT_CONSTRUCTOR(RDragger);
-#if defined(Q_OS_MAC)
+#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD)
this->ref();
#endif
@@ -1005,6 +1005,10 @@ SoFCCSysDragger::SoFCCSysDragger()
: axisScale(1.0f, 1.0f, 1.0f)
{
SO_KIT_CONSTRUCTOR(SoFCCSysDragger);
+
+#if defined(Q_OS_MAC) || defined(Q_OS_FREEBSD)
+ this->ref();
+#endif
SO_KIT_ADD_CATALOG_ENTRY(annotation, SoAnnotation, TRUE, geomSeparator, "", TRUE);
SO_KIT_ADD_CATALOG_ENTRY(scaleNode, SoScale, TRUE, annotation, "", TRUE);

View file

@ -0,0 +1,25 @@
commit 0946c6880def66bc0c611dad37140da3f126a6c3
Author: wmayer <wmayer@freecad.org>
Date: Wed Sep 11 16:53:08 2024 +0200
StartPage: Make sure to pass a container widget to the QScrollArea
Fixes #16047: FreeBSD: Segfault in StartView::firstStartWidgetDismissed
diff --git src/Mod/Start/Gui/StartView.cpp src/Mod/Start/Gui/StartView.cpp
index 4667c8db72..086cec7c35 100644
--- src/Mod/Start/Gui/StartView.cpp
+++ src/Mod/Start/Gui/StartView.cpp
@@ -117,7 +117,11 @@ StartView::StartView(QWidget* parent)
// First start page
auto firstStartScrollArea = gsl::owner<QScrollArea*>(new QScrollArea());
- auto firstStartRegion = gsl::owner<QHBoxLayout*>(new QHBoxLayout(firstStartScrollArea));
+ auto firstStartScrollWidget = gsl::owner<QWidget*>(new QWidget(firstStartScrollArea));
+ firstStartScrollArea->setWidget(firstStartScrollWidget);
+ firstStartScrollArea->setWidgetResizable(true);
+
+ auto firstStartRegion = gsl::owner<QHBoxLayout*>(new QHBoxLayout(firstStartScrollWidget));
firstStartRegion->addStretch();
auto firstStartWidget = gsl::owner<FirstStartWidget*>(new FirstStartWidget(this));
connect(firstStartWidget,

View file

@ -0,0 +1,22 @@
commit 448306c93760c0304ab1f74ff1fc4173c542fd60
Author: Christoph Moench-Tegeder <cmt@burggraben.net>
Date: Sun Sep 22 01:40:21 2024 +0200
fix installation path
diff --git src/Mod/Material/Gui/CMakeLists.txt src/Mod/Material/Gui/CMakeLists.txt
index a33c503e90..e9804543d1 100644
--- src/Mod/Material/Gui/CMakeLists.txt
+++ src/Mod/Material/Gui/CMakeLists.txt
@@ -169,9 +169,9 @@ SET_PYTHON_PREFIX_SUFFIX(MatGui)
fc_copy_sources(MatGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Material" ${MatGuiIcon_SVG})
fc_copy_sources(MatGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Material" ${MatGuiImages})
-fc_copy_sources(MatGui "${CMAKE_BINARY_DIR}/Mod/Material" ${Material_Ui_Files})
+fc_copy_sources(MatGui "${CMAKE_BINARY_DIR}/Mod/Material" ${Material_Ui_Files})
INSTALL(TARGETS MatGui DESTINATION ${CMAKE_INSTALL_LIBDIR})
INSTALL(FILES ${MatGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Material/Resources/icons")
INSTALL(FILES ${MatGuiImages} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Material/Resources/images")
-INSTALL(FILES ${Material_Ui_Files} DESTINATION "${CMAKE_BINARY_DIR}/Mod/Material/Resources/ui")
+INSTALL(FILES ${Material_Ui_Files} DESTINATION "Mod/Material/Resources/ui")

View file

@ -1,12 +1,12 @@
diff --git src/Mod/MeshPart/App/CMakeLists.txt src/Mod/MeshPart/App/CMakeLists.txt
index 6ee9deb4eb..6fb25015e3 100644
index 11a84e1a13..d78fc8a197 100644
--- src/Mod/MeshPart/App/CMakeLists.txt
+++ src/Mod/MeshPart/App/CMakeLists.txt
@@ -21,6 +21,7 @@ include_directories(
${PYTHON_INCLUDE_DIRS}
@@ -19,6 +19,7 @@ include_directories(
${SMESH_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
+ ${pybind11_INCLUDE_DIR}
${EIGEN3_INCLUDE_DIR}
+ ${pybind11_INCLUDE_DIR}
)

View file

@ -1,101 +0,0 @@
--- src/Mod/Part/App/Geometry2d.cpp.orig 2019-10-04 10:33:33 UTC
+++ src/Mod/Part/App/Geometry2d.cpp
@@ -183,7 +183,7 @@ void Geom2dPoint::Save(Base::Writer &writer) const
<< "<Geom2dPoint "
<< "X=\"" << Point.x << "\" "
<< "Y=\"" << Point.y << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dPoint::Restore(Base::XMLReader &reader)
@@ -875,7 +875,7 @@ void Geom2dCircle::Save(Base::Writer& writer) const
SaveAxis(writer, axis);
writer.Stream()
<< "Radius=\"" << c.Radius() << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dCircle::Restore(Base::XMLReader& reader)
@@ -990,7 +990,7 @@ void Geom2dArcOfCircle::Save(Base::Writer &writer) con
SaveAxis(writer, axis, u, v);
writer.Stream()
<< "Radius=\"" << c.Radius() << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dArcOfCircle::Restore(Base::XMLReader &reader)
@@ -1152,7 +1152,7 @@ void Geom2dEllipse::Save(Base::Writer& writer) const
writer.Stream()
<< "MajorRadius=\"" << e.MajorRadius() << "\" "
<< "MinorRadius=\"" << e.MinorRadius() << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dEllipse::Restore(Base::XMLReader& reader)
@@ -1329,7 +1329,7 @@ void Geom2dArcOfEllipse::Save(Base::Writer &writer) co
writer.Stream()
<< "MajorRadius=\"" << e.MajorRadius() << "\" "
<< "MinorRadius=\"" << e.MinorRadius() << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dArcOfEllipse::Restore(Base::XMLReader &reader)
@@ -1458,7 +1458,7 @@ void Geom2dHyperbola::Save(Base::Writer& writer) const
writer.Stream()
<< "MajorRadius=\"" << h.MajorRadius() << "\" "
<< "MinorRadius=\"" << h.MinorRadius() << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dHyperbola::Restore(Base::XMLReader& reader)
@@ -1591,7 +1591,7 @@ void Geom2dArcOfHyperbola::Save(Base::Writer &writer)
writer.Stream()
<< "MajorRadius=\"" << h.MajorRadius() << "\" "
<< "MinorRadius=\"" << h.MinorRadius() << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dArcOfHyperbola::Restore(Base::XMLReader &reader)
@@ -1702,7 +1702,7 @@ void Geom2dParabola::Save(Base::Writer& writer) const
SaveAxis(writer, axis);
writer.Stream()
<< "Focal=\"" << focal << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dParabola::Restore(Base::XMLReader& reader)
@@ -1815,7 +1815,7 @@ void Geom2dArcOfParabola::Save(Base::Writer &writer) c
SaveAxis(writer, axis, u, v);
writer.Stream()
<< "Focal=\"" << focal << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dArcOfParabola::Restore(Base::XMLReader &reader)
@@ -1930,7 +1930,7 @@ void Geom2dLine::Save(Base::Writer &writer) const
<< "PosY=\"" << Pos.y << "\" "
<< "DirX=\"" << Dir.x << "\" "
<< "DirY=\"" << Dir.y << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dLine::Restore(Base::XMLReader &reader)
@@ -2064,7 +2064,7 @@ void Geom2dLineSegment::Save(Base::Writer &writer) con
<< "StartY=\"" << Start.y << "\" "
<< "EndX=\"" << End.x << "\" "
<< "EndY=\"" << End.y << "\" "
- << "/>" << endl;
+ << "/>" << std::endl;
}
void Geom2dLineSegment::Restore(Base::XMLReader &reader)

View file

@ -0,0 +1,21 @@
commit 22eb8cc0f4ffcc6e1e283d2d325b043f0f9fb625
Author: Christoph Moench-Tegeder <cmt@burggraben.net>
Date: Sat Sep 21 21:58:31 2024 +0200
fix CMAKE CMP0153
use execute_process() instead of exec_program()
diff --git src/Tools/plugins/widget/CMakeLists.txt src/Tools/plugins/widget/CMakeLists.txt
index d909c156a1..9052694f28 100644
--- src/Tools/plugins/widget/CMakeLists.txt
+++ src/Tools/plugins/widget/CMakeLists.txt
@@ -57,7 +57,7 @@ target_compile_options(FreeCAD_widgets PRIVATE ${COMPILE_OPTIONS})
# Get the install location of a plugin to determine the path to designer plguins
get_target_property(QMAKE_EXECUTABLE Qt${FREECAD_QT_MAJOR_VERSION}::qmake LOCATION)
-exec_program(${QMAKE_EXECUTABLE} ARGS "-query QT_INSTALL_PLUGINS" RETURN_VALUE return_code OUTPUT_VARIABLE DEFAULT_QT_PLUGINS_DIR )
+execute_process(COMMAND ${QMAKE_EXECUTABLE} "-query" "QT_INSTALL_PLUGINS" RESULT_VARIABLE return_code OUTPUT_VARIABLE DEFAULT_QT_PLUGINS_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
set(DESIGNER_PLUGIN_LOCATION ${DEFAULT_QT_PLUGINS_DIR}/designer CACHE PATH "Path where the plugin will be installed to")
if (NOT IS_SUB_PROJECT)

File diff suppressed because it is too large Load diff

View file

@ -3,13 +3,13 @@ CATEGORIES= comms
COMMENT= GStreamer DSP library and software FAX machine plugin
GST_PLUGIN= spandsp
LIB_DEPENDS= libspandsp.so:comms/spandsp
MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
DIST= bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
LIB_DEPENDS= libspandsp.so:comms/spandsp
GST_PLUGIN= spandsp
.include "${MASTERDIR}/Makefile"

View file

@ -1,5 +1,5 @@
PORTNAME= jsonlite
DISTVERSION= 1.8.8
DISTVERSION= 1.8.9
CATEGORIES= converters
DISTNAME= ${PORTNAME}_${PORTVERSION}
@ -9,6 +9,14 @@ WWW= https://cran.r-project.org/web/packages/jsonlite/
LICENSE= MIT
# More TEST_DEPENDS: R.rsp
TEST_DEPENDS= R-cran-httr>0:www/R-cran-httr \
R-cran-knitr>0:print/R-cran-knitr \
R-cran-rmarkdown>0:textproc/R-cran-rmarkdown \
R-cran-sf>0:math/R-cran-sf \
R-cran-testthat>0:devel/R-cran-testthat \
R-cran-vctrs>0:devel/R-cran-vctrs
USES= cran:auto-plist,compiles
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1706613184
SHA256 (jsonlite_1.8.8.tar.gz) = 7de21316984c3ba3d7423d12f43d1c30c716007c5e39bf07e11885e0ceb0caa4
SIZE (jsonlite_1.8.8.tar.gz) = 1053028
TIMESTAMP = 1726980896
SHA256 (jsonlite_1.8.9.tar.gz) = 89f130e0e1163328c01decd54e7712b5ebf3d0a667da0052833722cb9a6e90b0
SIZE (jsonlite_1.8.9.tar.gz) = 1055633

View file

@ -1,5 +1,5 @@
PORTNAME= rjson
PORTVERSION= 0.2.22
PORTVERSION= 0.2.23
CATEGORIES= converters
DISTNAME= ${PORTNAME}_${PORTVERSION}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1724258857
SHA256 (rjson_0.2.22.tar.gz) = 06cdf67b72b6166a6ad399c8176b34f8a5a75fa5257ddbd46a2b99b2f39e1d27
SIZE (rjson_0.2.22.tar.gz) = 78807
TIMESTAMP = 1726987337
SHA256 (rjson_0.2.23.tar.gz) = 55034575c854ed657e6701da278c0fdea251479624d06a963b2e58461a5f0f48
SIZE (rjson_0.2.23.tar.gz) = 79159

View file

@ -119,8 +119,6 @@
SUBDIR += keydb
SUBDIR += kyotocabinet
SUBDIR += kyototycoon
SUBDIR += ldb20
SUBDIR += ldb21
SUBDIR += ldb22
SUBDIR += ldb25
SUBDIR += ldb28

View file

@ -1,5 +1,5 @@
PORTNAME= freetds
DISTVERSION= 1.4.246
DISTVERSION= 1.4.247
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= https://www.freetds.org/files/current/ \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1726569076
SHA256 (freetds-dev.1.4.246.tar.bz2) = 2fbaa307b0efd084a4ad581cdf82920de65940f4a3f4dd37bdc783bacfb65fca
SIZE (freetds-dev.1.4.246.tar.bz2) = 2432373
TIMESTAMP = 1726922735
SHA256 (freetds-dev.1.4.247.tar.bz2) = 63f7bb64594b4a204d5734004415ca53c5191bf9ba573d021e7487fc2c8dce34
SIZE (freetds-dev.1.4.247.tar.bz2) = 2432698

View file

@ -1,170 +0,0 @@
PORTNAME= ldb
PORTVERSION= 2.0.10
PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= databases
MASTER_SITES= SAMBA
PKGNAMESUFFIX?= 20
MAINTAINER= samba@FreeBSD.org
COMMENT= LDAP-like embedded database
WWW= https://ldb.samba.org/
LICENSE= GPLv3+
DEPRECATED= Outdated and not necessary for any supported version of Samba
EXPIRATION_DATE=2024-09-20
IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support
BUILD_DEPENDS= ${LDB_DEPENDS}
RUN_DEPENDS= ${LDB_DEPENDS}
LDB_DEPENDS= talloc>=2.2.0:devel/talloc \
tevent>=0.10.0:devel/tevent \
tdb>=1.4.0:databases/tdb \
lmdb>=0.9.23:databases/lmdb \
cmocka>=1.1.3:sysutils/cmocka \
popt>=0:devel/popt
CONFLICTS_INSTALL= ldb[0-9][0-9] # include/ldb.h
USES= compiler ldap pkgconfig waf
USE_LDCONFIG= yes
WAF_CMD= ${BUILD_WRKSRC}/buildtools/bin/waf
CONFIGURE_LOG= ${BUILD_WRKSRC}/bin/config.log
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
CONFIGURE_ARGS+= --bundled-libraries=!talloc,!tevent,!tdb,!popt,!cmocka \
--with-modulesdir=${PREFIX}/lib/shared-modules \
--with-privatelibdir=${PREFIX}/lib/ldb \
--with-openldap=${LOCALBASE} \
--disable-rpath \
--without-gettext
OPTIONS_DEFINE= MANPAGES DEBUG PYTHON3
MANPAGES_DESC= Build and install manpages (requires textproc/docbook-xsl)
DEBUG_CONFIGURE_ON= --verbose --enable-debug
DEBUG_MAKE_ARGS= --verbose
DEBUG_FLAGS= -g -ggdb3 -O0
.include <bsd.port.options.mk>
LDB_BINS= bin/ldbedit \
bin/ldbmodify \
bin/ldbadd \
bin/ldbdel \
bin/ldbsearch \
bin/ldbrename
LDB_LIBS= lib/libldb.so \
lib/libldb.so.2 \
lib/ldb/libldb-tdb-int.so \
lib/ldb/libldb-tdb-err-map.so \
lib/ldb/libldb-key-value.so \
lib/ldb/libldb-cmdline.so \
lib/shared-modules/ldb/skel.so \
lib/shared-modules/ldb/server_sort.so \
lib/shared-modules/ldb/sample.so \
lib/shared-modules/ldb/rdn_name.so \
lib/shared-modules/ldb/paged_searches.so \
lib/shared-modules/ldb/ldb.so \
lib/shared-modules/ldb/ldap.so \
lib/shared-modules/ldb/asq.so \
lib/shared-modules/ldb/tdb.so
# Only for 64-bit architectures
.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
LDB_LIBS+= lib/ldb/libldb-mdb-int.so \
lib/shared-modules/ldb/mdb.so
.endif
PLIST_FILES= include/ldb_version.h \
include/ldb_handlers.h \
include/ldb_errors.h \
include/ldb.h \
include/ldb_module.h \
${LDB_BINS} \
${LDB_LIBS} \
${PKGCONFIGDIR}/ldb.pc
.include <bsd.port.pre.mk>
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# Some symbols in ldb's linker version scripts are not defined, but since the
# scripts are generated dynamically, suppress errors with lld >= 17 due to these
# undefined symbols.
LDFLAGS+= -Wl,--undefined-version
.if ! ${PORT_OPTIONS:MMANPAGES}
CONFIGURE_ENV+= XSLTPROC="true"
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
xsltproc:textproc/libxslt
.endif
.if ! ${PORT_OPTIONS:MPYTHON3} || defined(NO_PYTHON)
USES+= python:build,test
CONFIGURE_ARGS+= --disable-python
.else
USES+= gettext-runtime python
PLIST_FILES+= include/pyldb.h \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so.2 \
${PYTHON_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so \
${PYTHON_SITELIBDIR}/_ldb_text.py \
${PKGCONFIGDIR}/pyldb-util${PYTHON_EXT_SUFFIX}.pc
.endif
# No fancy color error messages
.if ${COMPILER_TYPE} == "clang"
CFLAGS+= -fno-color-diagnostics
.endif
CONFIGURE_ENV+= NOCOLOR=yes
MAKE_ENV+= NOCOLOR=yes
LDB_MAN1= share/man/man1/ldbadd.1.gz \
share/man/man1/ldbdel.1.gz \
share/man/man1/ldbedit.1.gz \
share/man/man1/ldbmodify.1.gz \
share/man/man1/ldbrename.1.gz \
share/man/man1/ldbsearch.1.gz
LDB_MAN3= share/man/man3/ldb.3.gz
PLIST_FILES+= ${LDB_MAN1} ${LDB_MAN3}
post-patch:
@${REINPLACE_CMD} -e 's|%%PKGCONFIGDIR%%|${PKGCONFIGDIR}|g' \
${BUILD_WRKSRC}/wscript
# Use threading (or multiprocessing) but not thread (renamed in python 3+).
pre-configure:
@if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \
${ECHO_CMD}; \
${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \
${ECHO_CMD}; \
${FALSE}; \
fi
pre-build-MANPAGES-off:
-${MKDIR} ${BUILD_WRKSRC}/bin/default/man
.for man in ${LDB_MAN1} ${LDB_MAN3}
${INSTALL_MAN} ${FILESDIR}/`basename ${man} .gz` ${BUILD_WRKSRC}/bin/default/man
.endfor
post-install:
.for lib in ${LDB_BINS} ${LDB_LIBS}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${lib}
.endfor
.if ${PORT_OPTIONS:MPYTHON3} && !defined(NO_PYTHON)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1593905499
SHA256 (ldb-2.0.10.tar.gz) = 86492fdb8fecbc2af74d5e2b6623b37aab73b527d434687a8e279691b5c2b57b
SIZE (ldb-2.0.10.tar.gz) = 1676630

View file

@ -1,427 +0,0 @@
'\" t
.\" Title: ldb
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDB" "3" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldb \- A light\-weight database library
.SH "SYNOPSIS"
.sp
.nf
#include <ldb\&.h>
.fi
.SH "DESCRIPTION"
.PP
ldb is a light weight embedded database library and API\&. With a programming interface that is very similar to LDAP, ldb can store its data either in a tdb(3) database or in a real LDAP database\&.
.PP
When used with the tdb backend ldb does not require any database daemon\&. Instead, ldb function calls are processed immediately by the ldb library, which does IO directly on the database, while allowing multiple readers/writers using operating system byte range locks\&. This leads to an API with very low overheads, often resulting in speeds of more than 10x what can be achieved with a more traditional LDAP architecture\&.
.PP
In a taxonomy of databases ldb would sit half way between key/value pair databases (such as berkley db or tdb) and a full LDAP database\&. With a structured attribute oriented API like LDAP and good indexing capabilities, ldb can be used for quite sophisticated applications that need a light weight database, without the administrative overhead of a full LDAP installation\&.
.PP
Included with ldb are a number of useful command line tools for manipulating a ldb database\&. These tools are similar in style to the equivalent ldap command line tools\&.
.PP
In its default mode of operation with a tdb backend, ldb can also be seen as a "schema\-less LDAP"\&. By default ldb does not require a schema, which greatly reduces the complexity of getting started with ldb databases\&. As the complexity of you application grows you can take advantage of some of the optional schema\-like attributes that ldb offers, or you can migrate to using the full LDAP api while keeping your exiting ldb code\&.
.PP
If you are new to ldb, then I suggest starting with the manual pages for ldbsearch(1) and ldbedit(1), and experimenting with a local database\&. Then I suggest you look at the ldb_connect(3) and ldb_search(3) manual pages\&.
.SH "TOOLS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbsearch(1)
\- command line ldb search utility
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbedit(1)
\- edit all or part of a ldb database using your favourite editor
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbadd(1)
\- add records to a ldb database using LDIF formatted input
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbdel(1)
\- delete records from a ldb database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbmodify(1)
\- modify records in a ldb database using LDIF formatted input
.RE
.SH "FUNCTIONS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_connect(3)\fR
\- connect to a ldb backend
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_search(3)\fR
\- perform a database search
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_add(3)\fR
\- add a record to the database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_delete(3)\fR
\- delete a record from the database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_modify(3)\fR
\- modify a record in the database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_errstring(3)\fR
\- retrieve extended error information from the last operation
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_write(3)\fR
\- write a LDIF formatted message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_write_file(3)\fR
\- write a LDIF formatted message to a file
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read(3)\fR
\- read a LDIF formatted message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read_free(3)\fR
\- free the result of a ldb_ldif_read()
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read_file(3)\fR
\- read a LDIF message from a file
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read_string(3)\fR
\- read a LDIF message from a string
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_element(3)\fR
\- find an element in a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_val_equal_exact(3)\fR
\- compare two ldb_val structures
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_val(3)\fR
\- find an element by value
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_add_empty(3)\fR
\- add an empty message element to a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_add(3)\fR
\- add a non\-empty message element to a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_element_compare(3)\fR
\- compare two ldb_message_element structures
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_int(3)\fR
\- return an integer value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_uint(3)\fR
\- return an unsigned integer value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_double(3)\fR
\- return a double value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_string(3)\fR
\- return a string value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_set_alloc(3)\fR
\- set the memory allocation function to be used by ldb
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_set_debug(3)\fR
\- set a debug handler to be used by ldb
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_set_debug_stderr(3)\fR
\- set a debug handler for stderr output
.RE
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
ldb is released under the GNU Lesser General Public License version 2 or later\&. Please see the file COPYING for license details\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,78 +0,0 @@
'\" t
.\" Title: ldbadd
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBADD" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbadd \- Command\-line utility for adding records to an LDB
.SH "SYNOPSIS"
.HP \w'\fBldbadd\fR\ 'u
\fBldbadd\fR [\-h] [\-H\ LDB\-URL] [ldif\-file1] [ldif\-file2] [\&.\&.\&.]
.SH "DESCRIPTION"
.PP
ldbadd adds records to an ldb(3) database\&. It reads the ldif(5) files specified on the command line and adds the records from these files to the LDB database, which is specified by the \-H option or the LDB_URL environment variable\&.
.PP
If \- is specified as a ldb file, the ldif input is read from standard input\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify, ldbdel, ldif(5)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,80 +0,0 @@
'\" t
.\" Title: ldbdel
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBDEL" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbdel \- Command\-line program for deleting LDB records
.SH "SYNOPSIS"
.HP \w'\fBldbdel\fR\ 'u
\fBldbdel\fR [\-h] [\-H\ LDB\-URL] [dn] [\&.\&.\&.]
.SH "DESCRIPTION"
.PP
ldbdel deletes records from an ldb(3) database\&. It deletes the records identified by the dn\*(Aqs specified on the command\-line\&.
.PP
ldbdel uses either the database that is specified with the \-H option or the database specified by the LDB_URL environment variable\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify, ldbadd, ldif(5)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
ldbdel was written by Andrew Tridgell\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,111 +0,0 @@
'\" t
.\" Title: ldbedit
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBEDIT" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbedit \- Edit LDB databases using your preferred editor
.SH "SYNOPSIS"
.HP \w'\fBldbedit\fR\ 'u
\fBldbedit\fR [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...]
.SH "DESCRIPTION"
.PP
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor\&. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend\&.
.SH "OPTIONS"
.PP
\-?, \-\-help
.RS 4
Show list of available options, and a phrase describing what that option does\&.
.RE
.PP
\-\-usage
.RS 4
Show list of available options\&. This is similar to the help option, however it does not provide any description, and is hence shorter\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. For a tdb database, this will be of the form tdb://\fIfilename\fR\&. For a LDAP connection over unix domain sockets, this will be of the form ldapi://\fIsocket\fR\&. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://\fIhostname\fR\&. For an SQLite database, this will be of the form sqlite://\fIfilename\fR\&.
.RE
.PP
\-s one|sub|base
.RS 4
Search scope to use\&. One\-level, subtree or base\&.
.RE
.PP
\-a, \-all
.RS 4
Edit all records\&. This allows you to apply the same change to a number of records at once\&. You probably want to combine this with an expression of the form "objectclass=*"\&.
.RE
.PP
\-e editor, \-\-editor editor
.RS 4
Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables)\&. If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used\&.
.RE
.PP
\-b basedn
.RS 4
Specify Base Distinguished Name to use\&.
.RE
.PP
\-v, \-\-verbose
.RS 4
Make ldbedit more verbose about the operations that are being performed\&. Without this option, ldbedit will only provide a summary change line\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to\&. This can be overridden by using the \-H command\-line option\&.)
.RE
.PP
VISUAL and EDITOR
.RS 4
Environment variables used to determine what editor to use\&. VISUAL takes precedence over EDITOR, and both are overridden by the \-e command\-line option\&.
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij and updated by Brad Hards\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,73 +0,0 @@
'\" t
.\" Title: ldbmodify
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBMODIFY" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbmodify \- Modify records in a LDB database
.SH "SYNOPSIS"
.HP \w'\fBldbmodify\fR\ 'u
\fBldbmodify\fR [\-H\ LDB\-URL] [ldif\-file]
.SH "DESCRIPTION"
.PP
ldbmodify changes, adds and deletes records in a LDB database\&. The changes that should be made to the LDB database are read from the specified LDIF\-file\&. If \- is specified as the filename, input is read from stdin\&.
.PP
For now, see ldapmodify(1) for details on the LDIF file format\&.
.SH "OPTIONS"
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbedit
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,81 +0,0 @@
'\" t
.\" Title: ldbrename
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBRENAME" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbrename \- Edit LDB databases using your favorite editor
.SH "SYNOPSIS"
.HP \w'\fBldbrename\fR\ 'u
\fBldbrename\fR [\-h] [\-o\ options] {olddn} {newdn}
.SH "DESCRIPTION"
.PP
ldbrename is a utility that allows you to rename trees in an LDB database based by DN\&. This utility takes two arguments: the original DN name of the top element and the DN to change it to\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.PP
\-o options
.RS 4
Extra ldb options, such as modules\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify, ldbdel, ldif(5)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,91 +0,0 @@
'\" t
.\" Title: ldbsearch
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBSEARCH" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbsearch \- Search for records in a LDB database
.SH "SYNOPSIS"
.HP \w'\fBldbsearch\fR\ 'u
\fBldbsearch\fR [\-h] [\-s\ base|one|sub] [\-b\ basedn] [\-i] [\-H\ LDB\-URL] [expression] [attributes]
.SH "DESCRIPTION"
.PP
ldbsearch searches a LDB database for records matching the specified expression (see the ldapsearch(1) manpage for a description of the expression format)\&. For each record, the specified attributes are printed\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.PP
\-s one|sub|base
.RS 4
Search scope to use\&. One\-level, subtree or base\&.
.RE
.PP
\-i
.RS 4
Read search expressions from stdin\&.
.RE
.PP
\-b basedn
.RS 4
Specify Base DN to use\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbedit(1)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,50 +0,0 @@
--- buildtools/wafsamba/samba_autoconf.py.orig 2019-09-04 10:53:16 UTC
+++ buildtools/wafsamba/samba_autoconf.py
@@ -573,7 +573,7 @@ def library_flags(self, libs):
@conf
-def CHECK_LIB(conf, libs, mandatory=False, empty_decl=True, set_target=True, shlib=False):
+def CHECK_LIB(conf, libs, mandatory=False, empty_decl=True, set_target=True, shlib=False, msg=None):
'''check if a set of libraries exist as system libraries
returns the sublist of libs that do exist as a syslib or []
@@ -593,11 +593,29 @@ int foo()
ret.append(lib)
continue
+ if msg is None:
+ msg = 'Checking for library %s' % lib
+
(ccflags, ldflags, cpppath) = library_flags(conf, lib)
+
if shlib:
- res = conf.check(features='c cshlib', fragment=fragment, lib=lib, uselib_store=lib, cflags=ccflags, ldflags=ldflags, uselib=lib.upper(), mandatory=False)
+ res = conf.check(features='c cshlib',
+ fragment=fragment,
+ lib=lib,
+ uselib_store=lib,
+ cflags=ccflags,
+ ldflags=ldflags,
+ uselib=lib.upper(),
+ mandatory=False,
+ msg=msg)
else:
- res = conf.check(lib=lib, uselib_store=lib, cflags=ccflags, ldflags=ldflags, uselib=lib.upper(), mandatory=False)
+ res = conf.check(lib=lib,
+ uselib_store=lib,
+ cflags=ccflags,
+ ldflags=ldflags,
+ uselib=lib.upper(),
+ mandatory=False,
+ msg=msg)
if not res:
if mandatory:
@@ -944,5 +962,5 @@ def SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS(c
conf.env.undefined_ldflags = conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
if (conf.env.undefined_ignore_ldflags == [] and
- conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'])):
+ conf.CHECK_LDFLAGS(['-undefined', 'dynamic_lookup'] + conf.env.WERROR_CFLAGS)):
conf.env.undefined_ignore_ldflags = ['-undefined', 'dynamic_lookup']

View file

@ -1,11 +0,0 @@
--- buildtools/wafsamba/samba_install.py.orig 2019-03-21 10:12:32 UTC
+++ buildtools/wafsamba/samba_install.py
@@ -115,7 +115,7 @@ def install_library(self):
inst_name = bld.make_libname(t.target)
elif self.vnum:
vnum_base = self.vnum.split('.')[0]
- install_name = bld.make_libname(target_name, version=self.vnum)
+ install_name = bld.make_libname(target_name, version=vnum_base)
install_link = bld.make_libname(target_name, version=vnum_base)
inst_name = bld.make_libname(t.target)
if not self.private_library or not t.env.SONAME_ST:

View file

@ -1,22 +0,0 @@
--- buildtools/wafsamba/wscript.orig 2017-04-28 11:57:26 UTC
+++ buildtools/wafsamba/wscript
@@ -74,12 +74,17 @@ def set_options(opt):
help=("private library directory [PREFIX/lib/%s]" % Utils.g_module.APPNAME),
action="store", dest='PRIVATELIBDIR', default=None)
+ opt.add_option('--with-openldap',
+ help='additional directory to search for OpenLDAP libs',
+ action='store', dest='ldap_open', default=None,
+ match = ['Checking for library lber', 'Checking for library ldap'])
+
opt.add_option('--with-libiconv',
help='additional directory to search for libiconv',
- action='store', dest='iconv_open', default='/usr/local',
+ action='store', dest='iconv_open', default=None,
match = ['Checking for library iconv', 'Checking for iconv_open', 'Checking for header iconv.h'])
opt.add_option('--without-gettext',
- help=("Disable use of gettext"),
+ help=("disable use of gettext"),
action="store_true", dest='disable_gettext', default=False)
gr = opt.option_group('developer options')

View file

@ -1,11 +0,0 @@
--- ldb_mdb/ldb_mdb.c.orig 2019-06-13 03:07:34 UTC
+++ ldb_mdb/ldb_mdb.c
@@ -183,7 +183,7 @@ static int lmdb_store(struct ldb_kv_priv
if (flags == TDB_INSERT) {
mdb_flags = MDB_NOOVERWRITE;
- } else if ((flags == TDB_MODIFY)) {
+ } else if (flags == TDB_MODIFY) {
/*
* Modifying a record, ensure that it exists.
* This mimics the TDB semantics

View file

@ -1,13 +0,0 @@
--- ldb_key_value/ldb_kv_cache.c.orig 2019-01-14 23:24:45 UTC
+++ ldb_key_value/ldb_kv_cache.c
@@ -90,7 +90,9 @@ static int ldb_schema_attribute_compare(
{
const struct ldb_schema_attribute *sa1 = (const struct ldb_schema_attribute *)p1;
const struct ldb_schema_attribute *sa2 = (const struct ldb_schema_attribute *)p2;
- return ldb_attr_cmp(sa1->name, sa2->name);
+ int res = ldb_attr_cmp(sa1->name, sa2->name);
+
+ return (res) ? res : (sa1->flags > sa2->flags) ? 1 : (sa1->flags < sa2->flags) ? -1 : 0;
}
/*

View file

@ -1,11 +0,0 @@
--- lib/replace/wscript.orig 2019-03-21 10:12:32 UTC
+++ lib/replace/wscript
@@ -119,7 +119,7 @@ def configure(conf):
conf.CHECK_HEADERS('sys/atomic.h stdatomic.h')
conf.CHECK_HEADERS('libgen.h')
- if conf.CHECK_CFLAGS('-Wno-format-truncation'):
+ if conf.CHECK_CFLAGS(['-Wno-format-truncation'] + conf.env.WERROR_CFLAGS):
conf.define('HAVE_WNO_FORMAT_TRUNCATION', '1')
if conf.CHECK_CFLAGS('-Wno-unused-function'):

View file

@ -1,31 +0,0 @@
--- wscript.orig 2019-09-04 10:53:16 UTC
+++ wscript
@@ -207,7 +207,7 @@ def build(bld):
if bld.env.standalone_ldb:
if not 'PACKAGE_VERSION' in bld.env:
bld.env.PACKAGE_VERSION = VERSION
- bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
+ bld.env.PKGCONFIGDIR = '%%PKGCONFIGDIR%%'
private_library = False
else:
private_library = True
@@ -497,11 +497,6 @@ def build(bld):
deps='cmocka ldb',
install=False)
- bld.SAMBA_BINARY('ldb_match_test',
- source='tests/ldb_match_test.c',
- deps='cmocka ldb',
- install=False)
-
bld.SAMBA_BINARY('ldb_key_value_test',
source='tests/ldb_key_value_test.c',
deps='cmocka ldb ldb_tdb_err_map',
@@ -614,7 +609,6 @@ def test(ctx):
'ldb_msg_test',
'ldb_tdb_kv_ops_test',
'ldb_tdb_test',
- 'ldb_match_test',
'ldb_key_value_test',
# we currently don't run ldb_key_value_sub_txn_tdb_test as it
# tests the nested/sub transaction handling

View file

@ -1,7 +0,0 @@
ldb is a LDAP-like embedded database.
ldb provides a fast database with an LDAP-like API designed to be used
within an application.
In some ways it can be seen as a intermediate solution between key-value
pair databases and a real LDAP database.

View file

@ -1,170 +0,0 @@
PORTNAME= ldb
PORTVERSION= 2.1.5
PORTREVISION= 2
PORTEPOCH= 0
CATEGORIES= databases
MASTER_SITES= SAMBA
PKGNAMESUFFIX?= 21
MAINTAINER= samba@FreeBSD.org
COMMENT= LDAP-like embedded database
WWW= https://ldb.samba.org/
LICENSE= GPLv3+
DEPRECATED= Outdated and not necessary for any supported version of Samba
EXPIRATION_DATE=2024-09-20
IGNORE_NONTHREAD_PYTHON=needs port lang/python${PYTHON_SUFFIX} to be build with THREADS support
BUILD_DEPENDS= ${LDB_DEPENDS}
RUN_DEPENDS= ${LDB_DEPENDS}
LDB_DEPENDS= talloc>=2.2.0:devel/talloc \
tevent>=0.10.0:devel/tevent \
tdb>=1.4.0:databases/tdb \
lmdb>=0.9.23:databases/lmdb \
cmocka>=1.1.3:sysutils/cmocka \
popt>=0:devel/popt
USES= compiler ldap pkgconfig waf
CONFLICTS_INSTALL= ldb[0-9][0-9] # include/ldb.h
USE_LDCONFIG= yes
WAF_CMD= ${BUILD_WRKSRC}/buildtools/bin/waf
CONFIGURE_LOG= ${BUILD_WRKSRC}/bin/config.log
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
CONFIGURE_ARGS+= --bundled-libraries=!talloc,!tevent,!tdb,!popt,!cmocka \
--with-modulesdir=${PREFIX}/lib/shared-modules \
--with-privatelibdir=${PREFIX}/lib/ldb \
--with-openldap=${LOCALBASE} \
--disable-rpath \
--without-gettext
OPTIONS_DEFINE= MANPAGES DEBUG PYTHON3
MANPAGES_DESC= Build and install manpages (requires textproc/docbook-xsl)
DEBUG_CONFIGURE_ON= --verbose --enable-debug
DEBUG_MAKE_ARGS= --verbose
DEBUG_FLAGS= -g -ggdb3 -O0
.include <bsd.port.options.mk>
LDB_BINS= bin/ldbedit \
bin/ldbmodify \
bin/ldbadd \
bin/ldbdel \
bin/ldbsearch \
bin/ldbrename
LDB_LIBS= lib/libldb.so \
lib/libldb.so.2 \
lib/ldb/libldb-tdb-int.so \
lib/ldb/libldb-tdb-err-map.so \
lib/ldb/libldb-key-value.so \
lib/ldb/libldb-cmdline.so \
lib/shared-modules/ldb/skel.so \
lib/shared-modules/ldb/server_sort.so \
lib/shared-modules/ldb/sample.so \
lib/shared-modules/ldb/rdn_name.so \
lib/shared-modules/ldb/paged_searches.so \
lib/shared-modules/ldb/ldb.so \
lib/shared-modules/ldb/ldap.so \
lib/shared-modules/ldb/asq.so \
lib/shared-modules/ldb/tdb.so
# Only for 64-bit architectures
.if ${ARCH} != armv6 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != powerpc && ${ARCH} != powerpcspe
LDB_LIBS+= lib/ldb/libldb-mdb-int.so \
lib/shared-modules/ldb/mdb.so
.endif
PLIST_FILES= include/ldb_version.h \
include/ldb_handlers.h \
include/ldb_errors.h \
include/ldb.h \
include/ldb_module.h \
${LDB_BINS} \
${LDB_LIBS} \
${PKGCONFIGDIR}/ldb.pc
.include <bsd.port.pre.mk>
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# Some symbols in ldb's linker version scripts are not defined, but since the
# scripts are generated dynamically, suppress errors with lld >= 17 due to these
# undefined symbols.
LDFLAGS+= -Wl,--undefined-version
.if ! ${PORT_OPTIONS:MMANPAGES}
CONFIGURE_ENV+= XSLTPROC="true"
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
xsltproc:textproc/libxslt
.endif
.if ! ${PORT_OPTIONS:MPYTHON3} || defined(NO_PYTHON)
USES+= python:build,test
CONFIGURE_ARGS+= --disable-python
.else
USES+= gettext-runtime python
PLIST_FILES+= include/pyldb.h \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so \
lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so.2 \
${PYTHON_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so \
${PYTHON_SITELIBDIR}/_ldb_text.py \
${PKGCONFIGDIR}/pyldb-util${PYTHON_EXT_SUFFIX}.pc
.endif
# No fancy color error messages
.if ${COMPILER_TYPE} == "clang"
CFLAGS+= -fno-color-diagnostics
.endif
CONFIGURE_ENV+= NOCOLOR=yes
MAKE_ENV+= NOCOLOR=yes
LDB_MAN1= share/man/man1/ldbadd.1.gz \
share/man/man1/ldbdel.1.gz \
share/man/man1/ldbedit.1.gz \
share/man/man1/ldbmodify.1.gz \
share/man/man1/ldbrename.1.gz \
share/man/man1/ldbsearch.1.gz
LDB_MAN3= share/man/man3/ldb.3.gz
PLIST_FILES+= ${LDB_MAN1} ${LDB_MAN3}
post-patch:
@${REINPLACE_CMD} -e 's|%%PKGCONFIGDIR%%|${PKGCONFIGDIR}|g' \
${BUILD_WRKSRC}/wscript
# Use threading (or multiprocessing) but not thread (renamed in python 3+).
pre-configure:
@if ! ${PYTHON_CMD} -c "import multiprocessing;" 2>/dev/null; then \
${ECHO_CMD}; \
${ECHO_MSG} "===> ${PKGNAME} "${IGNORE_NONTHREAD_PYTHON:Q}.; \
${ECHO_CMD}; \
${FALSE}; \
fi
pre-build-MANPAGES-off:
-${MKDIR} ${BUILD_WRKSRC}/bin/default/man
.for man in ${LDB_MAN1} ${LDB_MAN3}
${INSTALL_MAN} ${FILESDIR}/man/`basename ${man} .gz` ${BUILD_WRKSRC}/bin/default/man
.endfor
post-install:
.for lib in ${LDB_BINS} ${LDB_LIBS}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${lib}
.endfor
.if ${PORT_OPTIONS:MPYTHON3} && !defined(NO_PYTHON)
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyldb-util${PYTHON_EXT_SUFFIX}.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ldb${PYTHON_EXT_SUFFIX}.so
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1616901772
SHA256 (ldb-2.1.5.tar.gz) = 7caccce63c720cd662d9ac43b522f3f0e5927dfcf68f494cd8c65644c6bf067e
SIZE (ldb-2.1.5.tar.gz) = 1675898

View file

@ -1,427 +0,0 @@
'\" t
.\" Title: ldb
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDB" "3" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldb \- A light\-weight database library
.SH "SYNOPSIS"
.sp
.nf
#include <ldb\&.h>
.fi
.SH "DESCRIPTION"
.PP
ldb is a light weight embedded database library and API\&. With a programming interface that is very similar to LDAP, ldb can store its data either in a tdb(3) database or in a real LDAP database\&.
.PP
When used with the tdb backend ldb does not require any database daemon\&. Instead, ldb function calls are processed immediately by the ldb library, which does IO directly on the database, while allowing multiple readers/writers using operating system byte range locks\&. This leads to an API with very low overheads, often resulting in speeds of more than 10x what can be achieved with a more traditional LDAP architecture\&.
.PP
In a taxonomy of databases ldb would sit half way between key/value pair databases (such as berkley db or tdb) and a full LDAP database\&. With a structured attribute oriented API like LDAP and good indexing capabilities, ldb can be used for quite sophisticated applications that need a light weight database, without the administrative overhead of a full LDAP installation\&.
.PP
Included with ldb are a number of useful command line tools for manipulating a ldb database\&. These tools are similar in style to the equivalent ldap command line tools\&.
.PP
In its default mode of operation with a tdb backend, ldb can also be seen as a "schema\-less LDAP"\&. By default ldb does not require a schema, which greatly reduces the complexity of getting started with ldb databases\&. As the complexity of you application grows you can take advantage of some of the optional schema\-like attributes that ldb offers, or you can migrate to using the full LDAP api while keeping your exiting ldb code\&.
.PP
If you are new to ldb, then I suggest starting with the manual pages for ldbsearch(1) and ldbedit(1), and experimenting with a local database\&. Then I suggest you look at the ldb_connect(3) and ldb_search(3) manual pages\&.
.SH "TOOLS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbsearch(1)
\- command line ldb search utility
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbedit(1)
\- edit all or part of a ldb database using your favourite editor
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbadd(1)
\- add records to a ldb database using LDIF formatted input
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbdel(1)
\- delete records from a ldb database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
ldbmodify(1)
\- modify records in a ldb database using LDIF formatted input
.RE
.SH "FUNCTIONS"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_connect(3)\fR
\- connect to a ldb backend
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_search(3)\fR
\- perform a database search
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_add(3)\fR
\- add a record to the database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_delete(3)\fR
\- delete a record from the database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_modify(3)\fR
\- modify a record in the database
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_errstring(3)\fR
\- retrieve extended error information from the last operation
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_write(3)\fR
\- write a LDIF formatted message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_write_file(3)\fR
\- write a LDIF formatted message to a file
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read(3)\fR
\- read a LDIF formatted message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read_free(3)\fR
\- free the result of a ldb_ldif_read()
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read_file(3)\fR
\- read a LDIF message from a file
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_ldif_read_string(3)\fR
\- read a LDIF message from a string
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_element(3)\fR
\- find an element in a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_val_equal_exact(3)\fR
\- compare two ldb_val structures
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_val(3)\fR
\- find an element by value
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_add_empty(3)\fR
\- add an empty message element to a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_add(3)\fR
\- add a non\-empty message element to a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_element_compare(3)\fR
\- compare two ldb_message_element structures
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_int(3)\fR
\- return an integer value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_uint(3)\fR
\- return an unsigned integer value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_double(3)\fR
\- return a double value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_msg_find_string(3)\fR
\- return a string value from a ldb_message
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_set_alloc(3)\fR
\- set the memory allocation function to be used by ldb
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_set_debug(3)\fR
\- set a debug handler to be used by ldb
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
\fBldb_set_debug_stderr(3)\fR
\- set a debug handler for stderr output
.RE
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
ldb is released under the GNU Lesser General Public License version 2 or later\&. Please see the file COPYING for license details\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,78 +0,0 @@
'\" t
.\" Title: ldbadd
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBADD" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbadd \- Command\-line utility for adding records to an LDB
.SH "SYNOPSIS"
.HP \w'\fBldbadd\fR\ 'u
\fBldbadd\fR [\-h] [\-H\ LDB\-URL] [ldif\-file1] [ldif\-file2] [\&.\&.\&.]
.SH "DESCRIPTION"
.PP
ldbadd adds records to an ldb(3) database\&. It reads the ldif(5) files specified on the command line and adds the records from these files to the LDB database, which is specified by the \-H option or the LDB_URL environment variable\&.
.PP
If \- is specified as a ldb file, the ldif input is read from standard input\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify, ldbdel, ldif(5)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,80 +0,0 @@
'\" t
.\" Title: ldbdel
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBDEL" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbdel \- Command\-line program for deleting LDB records
.SH "SYNOPSIS"
.HP \w'\fBldbdel\fR\ 'u
\fBldbdel\fR [\-h] [\-H\ LDB\-URL] [dn] [\&.\&.\&.]
.SH "DESCRIPTION"
.PP
ldbdel deletes records from an ldb(3) database\&. It deletes the records identified by the dn\*(Aqs specified on the command\-line\&.
.PP
ldbdel uses either the database that is specified with the \-H option or the database specified by the LDB_URL environment variable\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify, ldbadd, ldif(5)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
ldbdel was written by Andrew Tridgell\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,111 +0,0 @@
'\" t
.\" Title: ldbedit
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBEDIT" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbedit \- Edit LDB databases using your preferred editor
.SH "SYNOPSIS"
.HP \w'\fBldbedit\fR\ 'u
\fBldbedit\fR [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...]
.SH "DESCRIPTION"
.PP
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor\&. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend\&.
.SH "OPTIONS"
.PP
\-?, \-\-help
.RS 4
Show list of available options, and a phrase describing what that option does\&.
.RE
.PP
\-\-usage
.RS 4
Show list of available options\&. This is similar to the help option, however it does not provide any description, and is hence shorter\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. For a tdb database, this will be of the form tdb://\fIfilename\fR\&. For a LDAP connection over unix domain sockets, this will be of the form ldapi://\fIsocket\fR\&. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://\fIhostname\fR\&. For an SQLite database, this will be of the form sqlite://\fIfilename\fR\&.
.RE
.PP
\-s one|sub|base
.RS 4
Search scope to use\&. One\-level, subtree or base\&.
.RE
.PP
\-a, \-all
.RS 4
Edit all records\&. This allows you to apply the same change to a number of records at once\&. You probably want to combine this with an expression of the form "objectclass=*"\&.
.RE
.PP
\-e editor, \-\-editor editor
.RS 4
Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables)\&. If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used\&.
.RE
.PP
\-b basedn
.RS 4
Specify Base Distinguished Name to use\&.
.RE
.PP
\-v, \-\-verbose
.RS 4
Make ldbedit more verbose about the operations that are being performed\&. Without this option, ldbedit will only provide a summary change line\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to\&. This can be overridden by using the \-H command\-line option\&.)
.RE
.PP
VISUAL and EDITOR
.RS 4
Environment variables used to determine what editor to use\&. VISUAL takes precedence over EDITOR, and both are overridden by the \-e command\-line option\&.
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij and updated by Brad Hards\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,73 +0,0 @@
'\" t
.\" Title: ldbmodify
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBMODIFY" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbmodify \- Modify records in a LDB database
.SH "SYNOPSIS"
.HP \w'\fBldbmodify\fR\ 'u
\fBldbmodify\fR [\-H\ LDB\-URL] [ldif\-file]
.SH "DESCRIPTION"
.PP
ldbmodify changes, adds and deletes records in a LDB database\&. The changes that should be made to the LDB database are read from the specified LDIF\-file\&. If \- is specified as the filename, input is read from stdin\&.
.PP
For now, see ldapmodify(1) for details on the LDIF file format\&.
.SH "OPTIONS"
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbedit
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,81 +0,0 @@
'\" t
.\" Title: ldbrename
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBRENAME" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbrename \- Edit LDB databases using your favorite editor
.SH "SYNOPSIS"
.HP \w'\fBldbrename\fR\ 'u
\fBldbrename\fR [\-h] [\-o\ options] {olddn} {newdn}
.SH "DESCRIPTION"
.PP
ldbrename is a utility that allows you to rename trees in an LDB database based by DN\&. This utility takes two arguments: the original DN name of the top element and the DN to change it to\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.PP
\-o options
.RS 4
Extra ldb options, such as modules\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbmodify, ldbdel, ldif(5)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

View file

@ -1,91 +0,0 @@
'\" t
.\" Title: ldbsearch
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 12/11/2018
.\" Manual: System Administration tools
.\" Source: LDB 1.1
.\" Language: English
.\"
.TH "LDBSEARCH" "1" "12/11/2018" "LDB 1\&.1" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ldbsearch \- Search for records in a LDB database
.SH "SYNOPSIS"
.HP \w'\fBldbsearch\fR\ 'u
\fBldbsearch\fR [\-h] [\-s\ base|one|sub] [\-b\ basedn] [\-i] [\-H\ LDB\-URL] [expression] [attributes]
.SH "DESCRIPTION"
.PP
ldbsearch searches a LDB database for records matching the specified expression (see the ldapsearch(1) manpage for a description of the expression format)\&. For each record, the specified attributes are printed\&.
.SH "OPTIONS"
.PP
\-h
.RS 4
Show list of available options\&.
.RE
.PP
\-H <ldb\-url>
.RS 4
LDB URL to connect to\&. See ldb(3) for details\&.
.RE
.PP
\-s one|sub|base
.RS 4
Search scope to use\&. One\-level, subtree or base\&.
.RE
.PP
\-i
.RS 4
Read search expressions from stdin\&.
.RE
.PP
\-b basedn
.RS 4
Specify Base DN to use\&.
.RE
.SH "ENVIRONMENT"
.PP
LDB_URL
.RS 4
LDB URL to connect to (can be overrided by using the \-H command\-line option\&.)
.RE
.SH "VERSION"
.PP
This man page is correct for version 1\&.1 of LDB\&.
.SH "SEE ALSO"
.PP
ldb(3), ldbedit(1)
.SH "AUTHOR"
.PP
ldb was written by
\m[blue]\fBAndrew Tridgell\fR\m[]\&\s-2\u[1]\d\s+2\&.
.PP
If you wish to report a problem or make a suggestion then please see the
\m[blue]\fB\%http://ldb.samba.org/\fR\m[]
web site for current contact and maintainer information\&.
.PP
This manpage was written by Jelmer Vernooij\&.
.SH "NOTES"
.IP " 1." 4
Andrew Tridgell
.RS 4
\%https://www.samba.org/~tridge/
.RE

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