Commit graph

156 commits

Author SHA1 Message Date
Dirk Meyer
b1026e3cb4 - update to miniupnpc 2.1
PR:		228050
Submitted by:	Hung-Yi Chen

- fix python build
- add LICENSE for slave port
- make portlint happier

- bump PORTREVISION on ports using the shared lib
2018-05-09 05:37:54 +00:00
Rene Ladan
2a5c72ab87 Drop support for expired security/polarssl13 2018-05-01 19:03:18 +00:00
Bernard Spil
f88b0bf408 net-p2p/transmission-cli: Fix build with LibreSSL 2.7
- LibreSSL 2.7 adds OpenSSL 1.1 API

PR:		226953
Approved by:	crees (maintainer)
2018-04-08 17:21:02 +00:00
Chris Rees
93bf29dca6 Fix build if libressl is used instead of openssl
Submitted by:	Walter Schwarzenfeld
2018-03-01 18:56:40 +00:00
Chris Rees
dd08d68db4 net-p2p/transmission-cli: Update to 2.93
- Includes DNS rebinding fix
 - Fixes OpenSSL 1.1 compat

Note that the previous version was no longer vulnerable as FreeBSD had
patches, but this reports the correct version to trackers as some were
banned.

PR:		ports/225917
PR:		ports/225915
2018-02-28 21:09:36 +00:00
Ben Woods
0599327fb9 net-p2p/transmission-daemon: Mitigate DNS rebinding attack
Incorporate upstream pull request 468, proposed by Tavis Ormandy from
Google Project Zero, which mitigates this attack by requiring a host
whitelist for requests that cannot be proven to be secure, but it can
be disabled if a user does not want security.

PR:		225150
Submitted by:	Tavis Ormandy
Approved by:	crees (maintainer)
Obtained from:	https://github.com/transmission/transmission/pull/468#issuecomment-357098126
MFH:		2018Q1
Security:	https://www.vuxml.org/freebsd/3e5b8bd3-0c32-452f-a60e-beab7b762351.html
2018-01-14 22:35:00 +00:00
Mathieu Arnold
e51bbb58a4 Remove all _USE=openssl occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:54 +00:00
Jan Beich
a9425224f1 devel/libevent2: drop historical suffix after r362796
PR:		216777
Approved by:	mm (maintainer)
2017-02-20 02:57:04 +00:00
Jan Beich
21a7215c9a devel/libevent2: update to 2.1.8 and cleanup
- DEFAULT_VERSIONS += ssl=openssl-devel is now supported
- devel/py-event and devel/p5-Event-Lib are marked BROKEN

Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/whatsnew-2.1.txt
Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/ChangeLog
PR:		216527
Exp-run by:	antoine
Approved by:	mm (maintainer)
2017-02-04 07:56:59 +00:00
Jan Beich
32d56ae68a Assume "pkg-config zlib" works after 9.x reached EOL
Many ports passed ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-L/usr/lib -lz"
which is unsafe at least with lang/gcc* that override some system headers
and have newer libgcc_s.so that our old version in base may not be
forward-compatible with.
2017-01-03 17:06:49 +00:00
Dirk Meyer
7a97406f03 - update miniupnpc to 2.0.20161216
- bump API change
2016-12-25 23:11:36 +00:00
Tijl Coosemans
1ee4da6dd1 Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-30 19:24:30 +00:00
Jan Beich
f9348f7cf3 net-p2p/transmission-cli: update mirrors 2016-09-28 10:37:35 +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
Jan Beich
dcafa23582 net-p2p/transmission-*: update to 2.92
Changes:	https://trac.transmissionbt.com/wiki/Changes#version-2.92
PR:		207772
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
2016-03-08 00:20:03 +00:00
Jan Beich
ab03a81b56 net-p2p/transmission-*: update to 2.90
- Add POLARSSL and WOLFSSL support (like ftp/curl)
- Hide LITE (unused) and DOCS (redundant) options from -web slave
- Simplify r398996 and move to CONFIGURE_ENV
- Drop r369657 hacks after upstream integration [1]
- As implied by r378806 transfer maintainership back to crees

Changes:	https://trac.transmissionbt.com/wiki/Changes#version-2.90
PR:		194029 [1]
2016-03-02 22:50:29 +00:00
Jan Beich
b969f7964b Clarify LICENSE 2016-02-07 16:25:33 +00:00
Jan Beich
0111b42b16 net-p2p/transmission-cli: chase r399209
1da63faa4f

PR:		203768
Reported by:	many
Obtained from:	upstream
MFH:		2015Q4
X-MFH-With:	r399209
2015-10-14 14:56:59 +00:00
Tijl Coosemans
3a55a118dd Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.
These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
comms/hidapi: Use standard AM_ICONV configure macro to look for iconv.
deskutils/fbreader: Let ports framework deal with LIBICONV_PLUG.
deskutils/ljclive: Override configure test for iconv.
deskutils/owncloudclient: Add USES=iconv and patch test for iconv.
devel/aegis: Bump PORTREVISION because it no longer uses libiconv.
devel/libexplain: Add USES=iconv and override test for iconv.
devel/sdl20: Override configure test for iconv.
emulators/vmw: Replace OSVERSION checks with ICONV_LIB checks and include
<iconv.h> instead of <sys/iconv.h>.
irc/scrollz: Override configure test for iconv.
japanese/chasen-base: Override configure test for iconv and patch
configure so it no longer adds -liconv to linker flags just because it
happens to be installed.
japanses/eb: Patch configure test for iconv.
japanses/eblook: Override configure test for iconv.
java/jikes: Override configure test for iconv.
multimedia/transcode: Bump PORTREVISION because only one plugin links with
libiconv now.
net/c3270: Override configure test for iconv.
net/samba4*: Bump PORTREVISION because it no longer uses libiconv.  The
configure script will always add -liconv to the linker flags when it
happens to be installed which would be wrong but later on binaries are
linked with -Wl,--as-needed and the linker discards -liconv because it
finds iconv*() functions in libc now and no longer in libiconv.
net-mgmt/icinga-*: Remove dependency on iconv.
net-mgmt/netxms: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net/asterisk11: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net-p2p/transmission-*: Override configure test for iconv.
www/htmlcxx: Override configure test for iconv.
www/httrack: Override configure test for iconv.
www/xapian-omega: Override configure test for iconv.
x11/mrxvt(-devel): Add USES=iconv and override configure test for iconv.
x11/x3270: Override configure test for iconv.
x11-wm/jwm: Override configure test for iconv.

PR:		202838
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-10-10 14:03:00 +00:00
Jimmy Olgeni
eb8748beda Remove trailing whitespace from Makefiles, M-X. 2015-10-08 15:12:22 +00:00
Jan Beich
00d4634211 Convert my ports to USES=localbase 2015-09-26 20:26:21 +00:00
Jan Beich
773823b040 net-p2p/transmission-*: minor cleanup
o -cli slave still uses libtransmission under GPLv2
o Chase r313708 in COMMENT for -gtk slave
o Convert LITE to option helpers
o Drop duplicate USES=tar (r362505 vs. r362522)
2015-08-29 21:48:05 +00:00
Chris Rees
b15e867cfe Don't depend on base OpenSSL when using WITH_OPENSSL_PORT.
PR:		ports/186978
Submitted by:	Bernard Spil
2015-07-03 21:43:13 +00:00
Jan Beich
67088d05cb Improve style/consistency among the ports I maintain
- Convert to COPYTREE_SHARE
- Drop unnecessary MKDIR before COPYTREE_SHARE
- Drop bsd.port.options.mk if only DOCS requires it without dependencies
- Use separate backup if several REINPLACE_CMD against the same file
- audio/alsa-utils: convert to LIBS

Differential Revision:	https://reviews.freebsd.org/D1851
Approved by:	bapt (mentor)
2015-02-16 08:12:16 +00:00
Jan Beich
4779b33b84 - Add CPE information for Transmission ports [1]
- Take maintainership [2] as the next update may require partially
  reverting r369657 hacks in favor of upstream support
- Disable devel/libinotify:
  * used only by transmission-daemon's watch-dir
  * maybe less stable than readdir() fallback
  * disabled by other ports e.g., devel/glib20
  * completely different from devel/libnotify [3]
- Belatedly bump PORTREVISION

PR:		197065 [1]
Differential Revision:	https://reviews.freebsd.org/D1806
Suggested by:	crees [2]
Pointy hat:	crees (r287179) [3]
Approved by:	crees (maintainer) [1][2]
Approved by:	bapt (mentor)
2015-02-10 21:57:46 +00:00
Chris Rees
725b2295fc Allow use of reload rc command
PR:		ports/195341
Submitted by:	joshruehlig@gmail.com
2014-11-24 18:51:26 +00:00
Antoine Brodin
6affac3ade Cleanup plist 2014-11-12 21:31:27 +00:00
Chris Rees
8c562a9712 Unbundle libs.
PR:		ports/194029
Submitted by:	Jan Beich

Also, don't extract the third-party directory if we're not using it here.

Submitted by:	mi
2014-09-30 19:22:24 +00:00
Tijl Coosemans
cdb8256f1b Fix problems with missing libs when the linker enforces explicit linking
(ports that are dependencies of other ports)

net-p2p/transmission-cli: add USES=libtool and remove PTHREAD_LIBS
sysutils/deltup: simplify patch by using MAKE_ARGS
x11-fm/rox-filer: convert to USES=shared-mime-info
x11-wm/emerald: remove PTHREAD_LIBS

PR:		192062
2014-08-12 15:29:37 +00:00
John Marino
738eaeb39e Fix transmission-cli,-gtk on some platforms after openssl update
At least on some releases, transmission-cli and transmission-gtk now
need -lcypto in LDFLAGS to build.  Additionally transmission-gtk needed
an update of the inotify configure argument.  The latter requires a
revbump because it seems possible that it could have been built with
the bad argument somewhere.

PR:		192319
Submitted by:	Ivan Klymenko
Approved by:	"Just Fix It" blanket, but maintainer was in copy on PR
2014-08-03 16:06:58 +00:00
Baptiste Daroussin
b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00
Chris Rees
5d725b20c9 Fix clang build on 9.x
Apparently this version doesn't understand empty arguments in CFLAGS
using commas; i.e. ,-I/usr/local/include throws an error about nonexisting
file ,-

Reported by:	Kenta S (kentas@hush.com)
2014-07-23 11:02:56 +00:00
Chris Rees
6dc4a3c25c Fix transmission-web build
Submitted by:	gblach, rakuco
2014-07-22 07:44:21 +00:00
Antoine Brodin
fdb9b9b2ec Unbreak
Pointy hat:	crees
2014-07-21 22:07:57 +00:00
Chris Rees
514cf3f193 Update to 2.84
PR:		ports/191592
Submitted by:	Andrew Berg
2014-07-21 15:02:21 +00:00
Adam Weinberger
fa4bf2ee1d Add DOCS option for ports with PORTDOCS in plist. 2014-07-16 03:00:46 +00:00
Chris Rees
db90a7cae3 Add option to disable ownership and permissions checking in rc script. 2014-01-04 15:33:14 +00:00
Chris Rees
5d471a7555 Stage transmission ports and the rest maintained by me.
Various little obvious fixes, and a new rc script for stunnel-server
2013-12-29 17:08:28 +00:00
Chris Rees
454976ca10 Fix -qt4 build on 10.0-BETA3
PR:		ports/183935
Submitted by:	Matthieu Volat <mazhe@alkumuna.eu>
2013-11-13 19:45:57 +00:00
Baptiste Daroussin
bb4b86e043 Add NO_STAGE all over the place in preparation for the staging support (cat: net-p2p) 2013-09-20 22:28:25 +00:00
John Marino
08e12b0c25 net-p2p/transmission-cli: Fix USES and iconv support
This is a master port for transmission-qt and transmission-gtk.  To honor
any USES definition of the slave ports, the USES here has to be defined
with +=.  Additionally, it links with iconv so that support was added
while I'm here.

Approved by:	crees (maintainer)
2013-09-13 20:53:52 +00:00
Chris Rees
882fddcb55 Fix transmission-qt4 build.
PR:		ports/180292
Submitted by:	naddy
Obtained from:	OpenBSD
2013-08-30 12:11:48 +00:00
Chris Rees
708eebc884 Update to 2.82
PR:		ports/181254
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
2013-08-30 08:19:28 +00:00
Sunpoet Po-Chuan Hsieh
c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00
Chris Rees
77e098ee62 Update to 2.80
PR:		ports/180120
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
2013-07-01 18:40:19 +00:00
Chris Rees
d2e45aa8ac Correct the package naming, to stop upsetting people.
Trim ABI versions from LIB_DEPENDS to pacify portlint

PR:		ports/179798
Submitted by:	Kevin Zheng <kevinz5000@gmail.com>

Add LICENSE lines

Submitted by:	4721 (frogs, IRC)
2013-06-26 17:12:08 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Chris Rees
2b86680264 Fix chown for transmission home directory to silence complaints
from transmission-daemon

De-articulate COMMENT
2013-03-02 13:48:31 +00:00
Dmitry Sivachenko
9b289b2513 Require pkgconfig only for build stage.
Discussed with:	crees (maintainer)
2013-02-28 10:55:36 +00:00
Chris Rees
29d944b72f Update to 2.77 2013-02-19 16:17:36 +00:00