FreeBSD Bugzilla – Attachment 225019 Details for
Bug 255842
dns/powerdns-recursor: drop support for i386 (upstream no longer supports systems with 32-bits time_t)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add NOT_FOR_ARCHS=i386 (+reason) + fix rc.d with ${name}_flags + fix configure args
powerdns-recursor-4.5.1_1.diff (text/plain), 2.37 KB, created by
Ralf van der Enden
on 2021-05-17 09:34:13 UTC
(
hide
)
Description:
add NOT_FOR_ARCHS=i386 (+reason) + fix rc.d with ${name}_flags + fix configure args
Filename:
MIME Type:
Creator:
Ralf van der Enden
Created:
2021-05-17 09:34:13 UTC
Size:
2.37 KB
patch
obsolete
>diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile >index c756ef58ed..a4a84327a2 100644 >--- a/dns/powerdns-recursor/Makefile >+++ b/dns/powerdns-recursor/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= recursor > DISTVERSION= 4.5.1 >+PORTREVISION= 1 > CATEGORIES= dns > MASTER_SITES= http://downloads.powerdns.com/releases/ > PKGNAMEPREFIX= powerdns- >@@ -15,22 +16,21 @@ LICENSE_FILE= ${WRKSRC}/COPYING > > BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous > BROKEN_armv7= fails to compile: use of overloaded operator << is ambiguous >-BROKEN_i386= crashes on startup (SIGSEGV) > BROKEN_FreeBSD_12_powerpc64= fails to compile: Assembler messages: unaligned opcodes detected in executable segment >+NOT_FOR_ARCHS= i386 >+NOT_FOR_ARCHS_REASON= archs with 32-bits time_t are no longer supported by upstream > > BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs >-LIB_DEPENDS= libboost_context.so:devel/boost-libs \ >- libprotobuf.so:devel/protobuf >+LIB_DEPENDS= libboost_context.so:devel/boost-libs > >-USES= autoreconf compiler:c++11-lib cpe gmake libtool localbase:ldflags \ >- pkgconfig ssl tar:bzip2 >+USES= autoreconf compiler:c++11-lib cpe gmake libtool \ >+ localbase:ldflags pkgconfig ssl tar:bzip2 > > CPE_VENDOR= powerdns > USE_RC_SUBR= pdns-recursor > > GNU_CONFIGURE= YES > CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ >- --with-protobuf \ > --without-net-snmp \ > --without-systemd > >diff --git a/dns/powerdns-recursor/files/pdns-recursor.in b/dns/powerdns-recursor/files/pdns-recursor.in >index 4a63cb7fb0..75733410bb 100644 >--- a/dns/powerdns-recursor/files/pdns-recursor.in >+++ b/dns/powerdns-recursor/files/pdns-recursor.in >@@ -25,9 +25,14 @@ pdns_recursor_enable=${pdns_recursor_enable:-"NO"} > pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"} > required_files=${pdns_recursor_conf} > >+# run_rc_command would send ${name}_flags as parameters to $command (daemon) >+# This ensures they are actually passed to pdns_recursor instead. >+actual_pdns_recursor_flags="${pdns_recursor_flags}" >+pdns_recursor_flags="" >+ > pidfile="/var/run/${name}.pid" > actual_command="%%PREFIX%%/sbin/${name}" > command="/usr/sbin/daemon" >-command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no" >+command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no ${actual_pdns_recursor_flags}" > > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tremere
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 255842
:
224902
|
225014
| 225019