net/isc-dhcp41-server: Update to 4.1-ESV-R12-P1
This fixes CVE-2015-8605.
Mark DEPRECATED and provide EXPIRES to coincide with 2016Q2 branch
creation.
The PORTVERSION scheme of this port is strange, but I am continuing the
current version scheme as this is probably the last release of the 4.1
branch. The ISC Software Support Policy states that 4.1 ESV is support
ends December 2015. [1]
[1] http://www.isc.org/downloads/software-support-policy/
MFH: 2016Q1
Security: CVE-2015-8605
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Change INSTALL_DATA to install with mode 644
Remove patches and hacks that were used to work around the previous
situation
This allows to stage more ports as a regular user
Differential Revision: https://reviews.freebsd.org/D703
Reviewed by and discussed with: bapt
With hat: portmgr
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream. Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.
Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix. Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS. This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.
PR: 190592
Exp-run by: antoine
Approved by: portmgr (antoine)
Remove the header for ports I created.
For dns/openresolv give proper attribution. This was a copy/paste
mistake the submitter made, which incorrectly gave me attribution
for that file. I did not create it.
- Resolve dhcrelay6 issue with rc script that prevented it from working
properly.
- Bump PORTREVISION of isc-dhcp4?-relay ports
Reported by: Glen Neff <glen.neff@emc.com>
Approved by: Douglas Thrift <douglas@douglasthrift.net>, zi@
- Apply an extra patch to fix the LDAP breakage that happened with the last
update. It should be noted that LDAP support is built in to 4.2, so people
are encouraged to move to that if you want LDAP support.
PR: ports/159830
Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
net/isc-dchp41-server port installs two RC_SUBR scripts: isc-dhcpd and
isc-dhcpd6 when it is built with IPv6 support. net/isc-dchp41-relay could be
built with IPv6 support, but it doesn't provide way to start two realys (for
IPv4 and IPv6) simultaneously. This patch changes RC_SUBR script isc-dhcrelay
to support such operations, and install link from isc-dhcrelay to isc-dhcrelay6
when port is built with IPv6 support.
PR: ports/157501
Submitted by: lev@
Approved by: Douglas Thrift <douglas@douglasthrift.net> (maintainer)
- Add OPTIONS: DHCP_IPV6 to make IPv6 support optional
- Use bsd.port.mk and bsd.port.options.mk
- Make portlint happier
PR: ports/156846
Submitted by: Alex Deiter <alex.deiter@gmail.com>
Approved by: Douglas Thrift <douglas@douglasthrift.net> (maintainer)
Update to the latest ESV release to address security vulnerability.
PR: ports/156246
Submitted by: Douglas Thrift <douglas@douglasthrift.net>
Security: 7e69f00d-632a-11e0-9f3a-001d092480a4
Pass maintainer to Douglas Thrift. He's able to give these
ports the tender loving care they deserve.
Submitted by: Douglas Thrift <douglas@douglasthrift.net> (private mail)
Use the provided script instead of the one provided by the port. The one
provided by the port infrastructure is outdated and doesn't support dhcpv6.
Noticed by: lstewart@
[1]: Don't remove /var/db/dhcpd on deinstall. This was breaking chroot setups
on upgrade.
[2]: Install more man pages.
[3]: Add LDAP configuration support. This was present in the other port.
PR: [1]: ports/147857
[2]: ports/147917
[3]: ports/147869
Submitted by: [1]: Henno Schooljan <henno@schooljan.nl>
[2]: Craig Leres <leres@ee.lbl.gov>
[3]: Alexander V. Ribchansky <triosoft@triosoft.com.ua>
Add the headers and libraries to net/isc-dhcp41-server. There will be no
net/isc-dhcp4-devel port as it would conflict with the server (installs some
of the same files). For this reason I decided to just make
net/isc-dhcp41-server install the development libraries and headers.
Based upon a patch from: Attila Nagy (private mail)
Welcome net/isc-dhcp41-server, net/isc-dhcp41-client and net/isc-dhcp41-relay
to the tree.
There's still a small bit of work to do including adding conflicts for the
existing DHCP ports (which should have been conflicting with each other
already) and add a 41-devel port so people can use the headers and libraries.