1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
Commit Graph

281 Commits

Author SHA1 Message Date
Dmitry Marakasov
e868ce4730 - Fix depends: always require python since fetchmailconf.py is always installed
Approved by:	portmgr blanket
2017-10-24 09:23:32 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Mathieu Arnold
8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Kevin Lo
5c1bdd2acf Fix pkg-plist when X11 option is on.
PR:	210757
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2016-07-31 14:16:55 +00:00
Bernard Spil
0917233fb0 mail/fetchmail: Fix build without SSLv3
- Fix build with OpenSSL 1.1 and LibreSSL
  - Stop using pkg-install/pkg-deinstall scripts
  - Use pkg-plist keywords
  - Use GSSAPI ports framework
  - Change X11, POP2 options to use options framework

PR:             210130
Submitted by:	freebsd-ports@charlieroot.de
Reviewed by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2016-06-21 06:14:41 +00:00
Matthias Andree
9f0bacf50c Disable SSLv2, to fix new/from-ports OpenSSL builds.
Newer and ports-based builds define the SSLv2_client_method() in the
headers unless OPENSSL_NO_SSL2, or, depending on version,
OPENSSL_NO_SSL2_METHOD is defined, however newer OpenSSL versions in
FreeBSD no longer provide the implementation in the library.

Preload the autoconf (configure) cache to pretend SSLv2_client_method()
were universally _un_available, effectively disabling SSLv2 altogether.

PR:		209596
Submitted by:	peter@ [first proposal], mandree@ [committed proposal]
Reported by:	peter@
Approved by:	chalpin@cs.wisc.edu (maintainer)
2016-05-24 20:32:55 +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
Dmitry Marakasov
67971bd0fb Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
2015-10-19 14:50:52 +00:00
Dmitry Marakasov
d69a343aec - Switch to options helpers
- Switch to @sample

Approved by:	portmgr blanket
2015-09-04 21:33:19 +00:00
Dmitry Marakasov
b3be5eadcc - Correct python dependency to fix build with X11 enabled
PR:		201131
Submitted by:	lantw44@gmail.com
Approved by:	chalpin@cs.wisc.edu (maintainer)
2015-06-30 16:28:56 +00:00
Dmitry Marakasov
21c66239b2 - Add CPE info
Approved by:	portmgr blanket
2015-04-05 00:53:36 +00:00
Matthias Andree
fb9ba05e24 Update URLs that pointed to the defunct berlios.de site. 2014-11-04 00:24:44 +00:00
Marcus von Appen
306e66af5d - Convert ports of mail/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 17:10:06 +00:00
John Marino
b2cc91b7be mail/fetchmail: Fix on F10 when system is built without Kerberos
PR:		191978
Submitted by:	Jeremy Chadwick
Approved by:	maintainer (Corey Halpin)
2014-08-12 11:22:02 +00:00
Adam Weinberger
99afccd1ce Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:14:15 +00:00
Mathieu Arnold
cf28d260c6 Remove the last @comment $FreeBSD$ from plists.
With hat:	portmgr
Sponsored by:	Absolight
2014-04-24 16:26:48 +00:00
Rene Ladan
cf9f93a285 Fix typo in pkg-install.in and bump PORTREVISION
Submitted by:	Takefu <takefu@airport.fm>
2014-04-23 11:09:09 +00:00
Rene Ladan
0a060a4471 - Add license information [1]
- Fix shebang for fetchmailconf.py [1]
- Convert POP2 knob into an option [1]
- Use option helpers [1]
- Fix staging of documentation and X11 files [1]
- Simplify post-install target and pkg-plist
- Replace USE_GMAKE and USE_XZ by their USES equivalents
- Do not display pkg-message in post-install
- Do not create /var/run/fetchmail in pkg-plist

PR:		ports/185572 [1]
Submitted by:	Takefu <takefu@airport.fm>
Approved by:	maintainer timeout (<chalpin@cs.wisc.edu>)
2014-04-22 16:10:50 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Matthias Andree
92d82be9be Upgrade to new version 6.3.26.
This fixes one data loss bug that causes the last line of a message to
be lost if it is unterminated (i. e. no LF character) and if the
"mimedecode" option is enabled (which defaults to "off").

PR:		ports/178092
Approved by:	Corey Halpin (maintainer)
2013-04-23 22:37:59 +00:00
Matthias Andree
6876c1145f Update to new upstream release 6.3.25.
Adds Esperanto-language translation.

PR:		ports/177094
Approved by:	Corey Halpin (maintainer)
2013-03-26 08:56:28 +00:00
Beech Rintoul
b67e674ac6 - Update script for chasing _tkinter.so relocation
PR:		ports/176611
Submitted by:	Li-Wen Hsu <lwhsu@FreeBSD.org>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2013-03-03 08:13:07 +00:00
Matthias Andree
d98e2b7249 Fix up my patch error.
Not bumping PORTREVISION because there is no functional change,
the script has either replaced itself through exec, or exited.
2013-01-10 01:46:37 +00:00
Matthias Andree
8dfad65ec8 Changes by Po-Chien Lin:
- Update to 6.3.24
- Switch to OptionsNG
- Remove unused variables: PATCH_STRIP, MAKE_ENV
- Rearrange ordering of some sections
- Use PORTDOCS to handle document list instead of pkg-plist
- Alter pkg-plst to make portlint(1) happier
- Cleanup TABs
- Set USE_PYTHON_RUN only if X11 option is set.
- Rename files/fetchmailconf to files/fetchmailconf.in,
  add it into SUB_FILES, and make the corresponding change in
  pre-patch target.
- The `fetchmailconf' wrapper will only be installed when X11
  option is unset, otherwise we use the native wrapper which will
  directly call the script under PYTHON_SITELIBDIR.
- Add %%X11%% and %%NOX11%% prefix to PLIST_SUB.

Changes by Corey Halpin (maintainer):
- Update MASTER_SITES

PR:		174873
Submitted by:	Po-Chien Lin <linpc@cs.nctu.edu.tw>
Approved by:	Corey Halpin (maintainer)
2013-01-10 01:36:21 +00:00
Matthias Andree
3a45d04f92 Update to upstream release fetchmail 6.3.22.
Fixes CVE-2011-3389 (reenabling a countermeasure against
chosen-plaintext attacks against block cipher initialization)

Fixes CVE-2012-3482 (vulnerabilities in NTLM authentication; already
fixed in FreeBSD's port 6.3.21_1)

Assorted other fixes and workarounds.

Adds a Swedish translation.

Release Notes:	http://developer.berlios.de/project/shownotes.php?release_id=19117

PR:		171177
Approved by:	Corey Halpin (maintainer)
Security:	CVE-2012-3482
Security:	http://www.vuxml.org/freebsd/83f9e943-e664-11e1-a66d-080027ef73ec.html
Security:	CVE-2011-3389
Security:	http://www.vuxml.org/freebsd/18ce9a90-f269-11e1-be53-080027ef73ec.html
2012-08-30 06:24:48 +00:00
Adam Weinberger
f54ca71c25 Typo nit. 2012-08-27 22:06:19 +00:00
Matthias Andree
6b9d75c6d6 Update fetchmail to 6.3.21_1, fixing CVE-2012-3482.
Adjust VuXML database entry from < 6.3.22 to < 6.3.21_1.

PR:		ports/170613
Approved by:	maintainer timeout (14 days)
Security:	http://www.vuxml.org/freebsd/83f9e943-e664-11e1-a66d-080027ef73ec.html
Security:	CVE-2012-3482
2012-08-27 17:44:23 +00:00
Cy Schubert
9dd8c627df Update 6.3.20 --> 6.3.21
PR:		165459
Approved by:	Maintainer (Corey Halpin <chalpin@cs.wisc.edu>)
2012-02-24 23:56:18 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Matthias Andree
cb650d8b1d Fix critical fetchmail-embeds-NULs bug found by Antoine Levitt. 2011-08-21 14:03:18 +00:00
Matthias Andree
f12c178ff0 Assorted minor fixes and touch-ups:
- Fix:     rcfile: export FETCHMAILUSER=$fetchmail_user [1]

- Fix:     when installing from source, make /var/run/fetchmail directory
           so that a global fetchmail installation won't break after port
           upgrades

- Change:  compile GSSAPI support by default (it's in base)

- Cleanup: rcfile: drop support for fetchmail.sh script name

- Cleanup: rcfile: don't mix backtick with apostrophe in comments, they don't
           match

Reported by:  thierry, Victor Balada Diaz <victor@bsdes.net> [1]
Suggested by: Victor Balada Diaz <victor@bsdes.net> [1]
PR:           ports/151783
Approved by:  maintainer timeout [1]
2011-08-15 20:13:21 +00:00
Chris Rees
0d9a711a4e Use USERS and GROUPS
PR:		ports/157613
Submitted by:	crees (me)
Approved by:	rene (mentor, implicit), Corey Halpin (maintainer)
2011-07-09 10:07:49 +00:00
Matthias Andree
2ef6e5665b Security update to new upstream release 6.3.20.
Changes:     http://developer.berlios.de/project/shownotes.php?group_id=1824&release_id=18583
Security:    CVE-2011-1947
             http://www.vuxml.org/freebsd/f7d838f2-9039-11e0-a051-080027ef73ec.html
Approved by: Corey Halpin (maintainer)
PR:          ports/157661
2011-06-06 14:54:42 +00:00
Matthias Andree
d626429de1 Update to new upstream release 6.3.19.
Approved by:  Corey Halpin (maintainer)
Submitted by: mandree
PR:           ports/152999
2010-12-11 22:27:06 +00:00
Rene Ladan
ddbb0b2377 Fix build by skipping the validation of the XHTML 1.1 document
Mailbox-Names-UTF7.html

PR:		ports/152067
Submitted by:	Matthias Andree [matthias.andree gmx.de]
Approved by:	maintainer
2010-11-14 15:44:43 +00:00
Matthias Andree
37ee1acaa5 Update to new upstream release 6.3.18.
Approved by: Corey Halpin (maintainer)
PR: ports/151686
2010-10-25 07:15:38 +00:00
Sunpoet Po-Chuan Hsieh
d1354ee8fe - Correct previous commit
- Bump PORTREVISION

Reported by:	Alexander Milanov <a@amilanov.com>
Approved by:	pgollucci (mentor, implicit)
2010-10-20 14:39:41 +00:00
Sunpoet Po-Chuan Hsieh
b24252f906 - Change PREFIX/etc/fetchmailrc.sample permission from 644 to 600
- Bump PORTREVISION

PR:		ports/151515
Submitted by:	Alexander Milanov <a@amilanov.com>
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer), pgollucci (mentor, implicit)
2010-10-19 08:07:39 +00:00
Ade Lovett
8d837132c7 Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. 2010-05-31 02:01:56 +00:00
Sylvio Cesar Teixeira
a72c1fdbf5 - Fix when run fetchmail with apop access.
PR:		ports/146002
Submitted by:	mkgt00@gmail.com
Approved by:	maintainer (timeout > 14days)
2010-05-23 14:40:19 +00:00
Martin Wilke
6e49083cdb - Update to 6.3.17
PR:		146589
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2010-05-22 04:36:31 +00:00
Matthias Andree
3e7180ed8c Security fix for CVE-2010-1167.
This unbreaks the build, since this vulnerability is listed
at http://www.vuxml.org/freebsd/09910d76-4c82-11df-83fb-0015587e2cc1.html.

Add the recommended upstream patch.

Bump PORTREVISION.

PR: ports/145857
Approved by: Corey Halpin (maintainer)
Approved by: garga (mentor)
2010-04-22 19:13:24 +00:00
Matthias Andree
459a4fe196 Update to new upstream version.
Approved by: Corey Halpin (maintainer)
Approved by: garga@ (mentor)
2010-04-07 18:20:20 +00:00
Martin Wilke
8843e9971d - Update to 6.3.14
PR:		145298
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2010-04-02 18:49:00 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00