aboutsummaryrefslogtreecommitdiff
path: root/lib/libdpv
Commit message (Collapse)AuthorAgeFilesLines
* lib: Automated cleanup of cdefs and other formattingWarner Losh2023-11-272-2/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-166-12/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-167-14/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+2
|
* Indicate the port where the referenced man pages come from.Jens Schweikhardt2022-08-161-12/+12
|
* libdialog: Bump shared library version to 10.John Baldwin2021-10-271-1/+1
| | | | | | | | | | | The upgrade to libdialog 1.3 included changes to the ABI. Bump libdpv to 3 since it links against libdialog. Reported by: Mark Millard <marklmi@yahoo.com> Reviewed by: bapt Fixes: a96ef4501919 dialog: import dialog 1.3-20210117 Differential Revision: https://reviews.freebsd.org/D32675
* ncurses: chase dependency changes in the source treeBaptiste Daroussin2021-10-041-1/+1
| | | | Differential Revision: https://reviews.freebsd.org/D32098
* Bump shared library versions after ncurses bump in 13.John Baldwin2021-02-021-1/+1
| | | | | | | | | | | | | A few shared libraries in the base system link against ncurses. An upgrade from a 12.x host to 13 results in ABI breakage for existing binaries since the newer versions of these libraries link against the newer ncurses while the binary itself links against the older ncurses. For example, dialog4ports built on 12.x sometimes crashes on 13 since it depends on libdialog which links against ncurses internally. MFC after: 3 days Reviewed by: kib, delphij Differential Revision: https://reviews.freebsd.org/D28448
* Update Makefile.depend filesSimon J. Gerraty2019-12-111-1/+0
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* pkgbase: Add a FreeBSD-dpv packageEmmanuel Vadot2019-07-191-1/+1
| | | | | | | | | | | | Move the dpv related files from FreeBSD-runtime to a new package named FreeBSD-dpv The only consumer is bsdinstall which is already in it's own package. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20960 Notes: svn path=/head/; revision=350133
* Fix comparison between pointer and char literalDevin Teske2018-06-161-1/+1
| | | | | | | | | | PR: misc/204252 Reported by: David Binderman <dcb314@hotmail.com> MFC after: 3 days X-MFC-to: stable/11, stable/10 Notes: svn path=/head/; revision=335264
* Bump copyright following recent changesDevin Teske2018-03-141-1/+1
| | | | Notes: svn path=/head/; revision=330948
* Fix bad error messages from dpv(3)Devin Teske2018-03-142-6/+4
| | | | | | | | | | | | | | | Before = dpv: <__func__>: posix_spawnp(3): No such file or directory After = dpv: <path/cmd>: No such file or directory Most notably, show the 2nd argument being passed to posix_spawnp(3) so we know what path/cmd failed. Also, we don't need to have "posix_spawnp(3)" in the error message nor the function because that can [a] change and [b] traversed using a debugger if necessary. Notes: svn path=/head/; revision=330943
* Use full month in dpv(3), figpar(3), and bsdconfig(8) manualsDevin Teske2018-03-141-1/+1
| | | | | | | Reported by: maxim Notes: svn path=/head/; revision=330939
* Fix typo and lint/igor warningsDevin Teske2018-03-131-39/+59
| | | | Notes: svn path=/head/; revision=330878
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* MFHGlen Barber2016-03-021-2/+0
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * Remove WARNS inherited fine by ../Makefile.inc.Bryan Drewery2016-02-261-2/+0
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296129
* | First pass through library packaging.Glen Barber2016-02-041-0/+1
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* Fix fatal warn when compiling under GCC 5.2.0Devin Teske2016-01-271-2/+2
| | | | | | | | | | | | | | GCC 5.2.0 generates the following [fatal] warning: dialog_util.c:270:23: error: zero-length gnu_printf format string [-Werror=format-zero-length] sprintf(dargv[n++], ""); Fix malloc argument while here, removing sprintf. Reported by: Ruslan Bukin <ruslan.bukin at cl cam ac uk> Notes: svn path=/head/; revision=294922
* Fix a crash if `-D' is used without `-t title'Devin Teske2016-01-271-0/+7
| | | | | | | | | | | | | dialog(3)'s dlg_reallocate_gauge(), used both by dialog(3)'s dialog_gauge() and dialog(1)'s `--gauge', will segmentation fault in strlen(3) if no title is set for the widget. Reproducible with `dialog --gauge hi 6 20' (adding `--title ""' is enough to prevent segmentation fault). MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=294893
* Remove unused function prototypeDevin Teske2016-01-271-1/+0
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=294892
* Bump copyrightsDevin Teske2016-01-273-3/+3
| | | | Notes: svn path=/head/; revision=294862
* Add keep_tite configuration optionDevin Teske2016-01-264-3/+9
| | | | | | | | | Similar to dialog(3) keep_tite option used to prevent visually disturbing initialization or exit that could occur when run from a script using dpv(3) by way of dpv(1) in sequence with other dialog(1) invocations. Notes: svn path=/head/; revision=294860
* Default to en_US.ISO8859-1 if no localeDevin Teske2016-01-142-0/+9
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=293868
* Bump copyright (forgotten part of r293340)Devin Teske2016-01-071-1/+1
| | | | | | | | | MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r293340 Notes: svn path=/head/; revision=293379
* Increase maximum buffer size for `-x cmd' valueDevin Teske2016-01-071-1/+1
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=293340
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-251-1/+0
| | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* Make figpar(3) types/macros [more] unique (s/fp_/figpar_/gi)Devin Teske2015-11-022-56/+57
| | | | Notes: svn path=/head/; revision=290275
* Bump date/copyright after correcting HISTORYDevin Teske2015-10-231-2/+2
| | | | | | | | | MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r289790 Notes: svn path=/head/; revision=289793
* dpv(3) merged to stable/10 before release/10.2.0Devin Teske2015-10-231-1/+1
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=289790
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-273-5/+29
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
* | | Clean up unused variable and silence clang warnings.Marcelo Araujo2015-06-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2682 Reviewed by: rodrigc Notes: svn path=/head/; revision=283975
* | | Fix a debug statement. Only the callback function (performing theDevin Teske2015-06-011-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | incrementing of dpv_overall_oread) knows what its purpose is (and often times it was bytes, not lines). MFC after: 3 days X-MFC-to: stable/10 Notes: svn path=/head/; revision=283863
* | mdoc: improvements to SEE ALSO.Joel Dahl2014-12-271-2/+2
| | | | | | | | Notes: svn path=/head/; revision=276293
* | Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | | | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* | Misc mdoc fixes:Joel Dahl2014-11-231-1/+1
|/ | | | | | | | | | | - Remove superfluous paragraph macros. - Remove/fix empty or incorrect macros. - Sort sections into conventional order. - Terminate quoted strings properly. - Remove EOL whitespace. Notes: svn path=/head/; revision=274925
* Balance DPADD against LDADD for dpv(1,3).Devin Teske2014-11-051-2/+2
| | | | | | | | | | Thanks to: ngie MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 274121 274123 274144 Notes: svn path=/head/; revision=274146
* Fix buildworld by adding DPADD= to libdpv [dpv(3)] MakefileDevin Teske2014-11-051-2/+4
| | | | | | | | | | | | | | NB: Should also address `make -j' building Remove "+" from "+=" in assignments to DPADD/LDADD while here. NB: Also move CFLAGS for style measure. Reviewed by: shurd MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 274121 Notes: svn path=/head/; revision=274123
* Make libdpv [dpv(3)] WARNS=6 clean for clang on -CURRENT.Devin Teske2014-11-052-3/+3
| | | | | | | | | | | | NB: aka unbreak the build Reviewed by: shurd MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 274120 Notes: svn path=/head/; revision=274121
* Fix build-error (pointy hat; didn't merge full up-to-date code)Devin Teske2014-11-052-59/+59
| | | | | | | | | MFC after: 21 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274116 Notes: svn path=/head/; revision=274120
* Add new libraries/utilities for data throughput visualization.Devin Teske2014-11-0415-0/+3735
dpv(3): dialog progress view library dpv(1): stream data from stdin or multiple paths with dialog progress view figpar(3): configuration file parsing library Reviews: D714 Reviewed by: jelischer, shurd Discussed at: MeetBSD California 2014 Vendor/Dev Summit Discussed on: -current MFC after: 21 days X-MFC-to: stable/10 stable/9 Notes: svn path=/head/; revision=274116