Bug 279149 - mail/vacation: Patch needed due to deprecation of databases/db5
Summary: mail/vacation: Patch needed due to deprecation of databases/db5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-19 06:23 UTC by Daniel Engberg
Modified: 2024-05-20 14:02 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-05-19 06:23:59 UTC
Hi,

This port is marked as incompatible with version 18, do you want to prepare a patch or should we sunset it?

Best regards,
Daniel
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2024-05-19 13:22:31 UTC
Here's what I get when I build it with USES=bdb:18.

bob# make
===>   vacation-3.3.3_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by vacation-3.3.3_2 for building
===>  Extracting for vacation-3.3.3_2
=> SHA256 Checksum OK for vacation_3.3.3.tar.gz.
===>  Patching for vacation-3.3.3_2
===>   vacation-3.3.3_2 depends on shared library: libdb-18.1.so - found (/usr/local/lib/libdb-18.1.so)
===>  Configuring for vacation-3.3.3_2
===>  Building for vacation-3.3.3_2
--- vacation ---
cc -O2 -pipe  -L/usr/local/lib -fstack-protector-strong -fno-strict-aliasing  -DHAVE_PATHS_H   vacation.c -o vacation -ldb-18.1
vacation.c:810:7: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion]
  810 |         if (!buf || *buf == '\n' || *buf == 'n' || *buf == 'N')
      |             ~^~~
1 warning generated.
===>  Staging for vacation-3.3.3_2
===>   Generating temporary packing list
install  -s -m 555 /export/wrkdir/amd64/usr/ports/mail/vacation/work/work/vacation /export/wrkdir/amd64/usr/ports/mail/vacation/work/stage/usr/local/bin
install  -m 444 /export/wrkdir/amd64/usr/ports/mail/vacation/work/work/vacation.1 /export/wrkdir/amd64/usr/ports/mail/vacation/work/stage/usr/local/share/man/man1
====> Compressing man pages (compress-man)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-19 13:25:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bf2de0ed24f5febb7f9e3887ddd83ab9e977102c

commit bf2de0ed24f5febb7f9e3887ddd83ab9e977102c
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-05-19 13:23:06 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-05-19 13:24:25 +0000

    mail/vacation: Switch to db18

    PR:             279149
    Reported by:    dizzy

 mail/vacation/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2024-05-20 14:02:53 UTC
^Triage: Assign to committer who resolved the issue