1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Larry Rosenman
39b1447eb4 [MAINTAINER] ports-mgmt/portfind: Update from 1.6.1 to 1.6.3
Update MAINTAINER email
minor modernizations.

PR:		202063
Submitted by:	Thorsten Geppert (Maintainer)
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D9194
2017-01-16 00:16:00 +00:00
Enji Cooper
b2eb1410b4 Fix ports-mgmt/portfind string management/searching issues
Makefile:

  Bump `PORT_REVISION` for the change.

portfind.c:

  get_release(..):

  The function was incorrectly modifying a pointer that wasn't the original
  calloc'ed pointer, tripping asserts when MALLOC_PRODUCTION wasn't enabled
  in jemalloc [*].

  - Use one temporary buffer (`release`) instead of two (`release` and
    `version`).
  - Improve temporary memory idiom for managing memory used with
    sysctlbyname(3) by first checking the length, mallocing the buffer,
    then filling it with a second call to sysctlbyname(3).
  - Use strchr(3) instead of handrolling it in a while-loop and to
    avoid the improper free(3) of the memory allocated for `release`.

  main(..):

  - Use asprintf instead of calloc + sprintf.
  - Use constant `pasting` with `INDEX_FILE` instead of passing it in to
    asprintf(3).
  - Fix error message when unable to open `INDEX_FILE`.

Approved by: brd
Differential Revision: https://reviews.freebsd.org/D7198
PR: 211032 [*]
Reported by: Michael Zhilin <mizhka@gmail.com>
Reviewed by: Michael Zhilin <mizhka@gmail.com>
Sponsored by: EMC / Isilon Storage Division
2016-07-14 15:46:41 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Muhammad Moinur Rahman
f3e3cfdc1d New Port: ports-mgmt/portfind
Use portfind to search in the ports tree.

WWW: http://www.dynsoft.com

PR:		196716
Submitted by:	thorsten@dynsoft.com
Approved by:	bapt marino (implicit)
2015-02-09 09:50:09 +00:00