Commit graph

35 commits

Author SHA1 Message Date
Eugene Grosbein
8f0080b950 Fix mail/qpopper:
- remove MASTER_SITE ftp.qualcomm.com that is no more
  and add a couple of living distfile sources;

- describe custom BSD-style Quallcom license for the distfile;

- fix building with openssl-1.1.1 that no longer has SSLv2 support
  plus made struct ssl_st (SSL) completely opaque, so better use
  public interface SSL_session_reused() instead of direct access
  to now hidden "hit" part of struct; this works for previous
  openssl versions too.

No PORTREVISION bump as this fixed package building for FreeBSD 12+
and has no visible package changes for other supported branches.

PR:		232383
Reported by:	sbruno
Approved by:	bc979@lafn.org (maintainer timeout, 4 weeks)
2018-11-14 18:14:53 +00:00
Tijl Coosemans
1f5e6583f2 Patch configure instead of configure.in so USE_AUTOTOOLS can be removed. 2018-01-14 20:22:37 +00:00
Mathieu Arnold
7b46a49633 Don't echo in post-install, use pkg-message. Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST.

Sponsored by:	Absolight
2016-07-18 16:41:19 +00:00
Mathieu Arnold
6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00
Tijl Coosemans
97eb943648 Fix build when OpenSSL doesn't support SSL2/SSL3
PR:		195796
2015-01-09 18:28:29 +00:00
Adam Weinberger
8e7fd48a29 Rename mail/ patch-xy patches to reflect the files they modify. 2014-07-28 23:20:38 +00:00
Rene Ladan
31d208c0bd - Stage support (hackish...)
- Rename :: patchfiles [1]
- Merge pkg-req and scripts/pre-install into pkg-install [1]
- Replace tab by space in WWW: line [1]
- Clean up rc script [1]
- Add USE_GCC because clang does not like -freg-struct-return (yet)
- Use USERS and GROUPS [1]
- Drop empty QPOPAUTH_SETUID option
- Fix USE_OPENSSL usage [1]
- Replace knobs by options [1]
- Merge install-conf-file target into post-install target

PR:		ports/185285 [1]
Submitted by:	Takefu <takefu@airport.fm>
Approved by:	portmgr (mostly infastructure fixes)
2014-04-04 23:45:06 +00:00
Alex Kozlov
05a9235c98 - Fix all cases of 'No newline at end of file' in ports tree
Approved by: portmgr (bapt)
2013-02-01 15:04:00 +00:00
Chris Rees
f411d52623 Qpopper's configure script tries to detect sendmail in a number of common
paths, but the first guess will always fail, because sbindir contains an
embedded shell variable.

As a result, systems without base sendmail (more specifically, without
/usr/sbin/sendmail) will fail configure step.

Additional info:
http://lists.freebsd.org/pipermail/freebsd-ports/2012-March/073828.html

PR:		ports/166108
Submitted by:	Mel Flynn <rflynn@acsalaska.net>
Approved by:	maintainer timeout (14+ days)
2012-04-18 08:56:02 +00:00
Doug Barton
f48a045cf9 Move version 1.4 of this file to files/ where it belongs. 2012-02-14 21:35:43 +00:00
Steve Wills
e85592807b - Update to 4.1.0
PR:		ports/158780
Submitted by:	Doug Hardie <bc979@lafn.org> (maintainer)
2011-07-16 23:20:11 +00:00
Philip M. Gollucci
12bddd24fd - use $SUB_FILES to dynamically adjust pkg-message + other changes
PR:             ports/142804
Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
Approved by:    maintainer timeout (bc979@lafn.org; > 2 weeks)
2010-01-31 03:44:30 +00:00
Johan van Selst
dce18e1bf4 - Update to 4.0.9
- Assign submitter of PR as maintainer
- Remove IPv6 patch

PR:		97641
Submitted by:	Doug Hardie
Approved by:	flz (mentor)
2006-06-25 19:58:41 +00:00
Jean-Yves Lefort
0920941c32 - Update to 4.0.7
- Use OPTIONS

PR:		ports/80794
Submitted by:	Radim Kolar <hsn@netmag.cz>
2005-05-09 21:36:02 +00:00
Mario Sergio Fujikawa Ferreira
7b4558c9ea o update-status-headers configuration option should disable both
writing of "Status:" and "X-UIDL:" headers. However, that only
  happens with "Status:" header. Have qpopper honor it for "X-UIDL"
  one as well.
o Bump PORTREVISION

PR:		73336
Submitted by:	Helge Oldach <mail-qpopper-uidl@oldach.net>
2004-12-14 19:24:27 +00:00
Mario Sergio Fujikawa Ferreira
c82ea4a1a6 Really uphold the WITH_Y_OPTION '-y' command line parameter for the qpopper daemon
PR:		74813
Submitted by:	Helge Oldach <mail-qpopper-uidl@oldach.net>
2004-12-14 13:46:00 +00:00
Mark Linimon
cb2e598394 Add a knob WITHOUT_APOP for configurations where the apop-feature is in the way.
Update OpenSSL-support, include security/openssl/bsd.openssl.mk,
remove usage of deprecated librsaref/libRSAglue, add a knob WITHOUT_SSL.
Pacify portlint.
Terminate all sentences in comments with a period.
Replace spaces with tabs in pre-everything:: messages to print out
an aligned table.
PR:		ports/53401
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
(Committed on behalf of lioux@, who is having machine problems)
2003-12-04 23:46:57 +00:00
Mario Sergio Fujikawa Ferreira
c37f632458 o Prefer FreeBSD's strlcpy() function over qpopper's incorrect
implementation
o Bump PORTREVISION

Submitted by:	nectar
2003-04-29 23:05:40 +00:00
Mario Sergio Fujikawa Ferreira
1bf581dbd8 Update to 4.0.5
PR:		49988
Submitted by:	Mike Tancsa <mike@sentex.net>,
		Xin LI delphij@frontfree.net <delphij@hotmail.com>
Approved by:	portmgr (kris, self)
2003-03-15 02:03:12 +00:00
Mario Sergio Fujikawa Ferreira
54a08c9398 Add WITH_Y_OPTION knob which enables command line option -y allowing
the user to specify a different logging facility

Submitted by:	Christophe Labouisse <christophe@labouisse.org>
Reviewed by:	knu
Approved by:	portmgr (knu)
2002-12-17 14:15:11 +00:00
Mario Sergio Fujikawa Ferreira
7d6dc21e6e o Update to 4.0.4
o Add options:
	- WITH_PAM and WITH_STANDALONE_MODE [1]
	- WITHOUT_IPV6 [2]
	- WITHOUT_U_OPTION [3]
o Remove patch merged into distribution

Submitted by:	Sean Wal <sean0x77@yahoo.com> [1]
Prompted by:	too many [2],
		"Karsten W. Rohrbach" <karsten@rohrbach.de> [3]
2002-04-30 20:05:13 +00:00
Mario Sergio Fujikawa Ferreira
ab5f0a8e59 Fix following security issue: "If a string of longer than approximately
2048 characters is sent to the qpopper process, a denial of service
condition will occur"

Actually, this is caused by an incorrect assumption. qpopper uses
the same buffer over and over when communicating. However, it never
makes sure that the buffer has been updated if something goes wrong.
Therefore, one can try to add to this buffer over and over; thus,
consuming available resources.

Solution, do not follow unofficial patch available in bugtraq mailing
list since losing pointer references is not an option. Otherwise,
change the way both getline and tgetline functions work. Just so
that they resemble read(2) return codes as follows:

1) if < 0 problem
2) if >= 0 user typed something (enter without anything else is
   something)

First patch sent by Isao SEKI <iseki@gongon.com>

PR:		36326
Prompted by:	Alessandro de Manzano <ale@unixmania.net>,
		Isao SEKI <iseki@gongon.com>
Reviewed by:	eivind,
		Alessandro de Manzano <ale@unixmania.net>,
		David Rufino <dr@soniq.net>,
		Isao SEKI <iseki@gongon.com>
2002-03-31 08:20:28 +00:00
Mario Sergio Fujikawa Ferreira
666ab13296 qpopper does not properly check for an expired account, fix it with
strategy both from src/usr.bin/login/login.c as of rev 1.51.2.12
and submitter

Submitted by:	Alan Batie <alan@batie.org>
2001-09-10 00:04:28 +00:00
Mario Sergio Fujikawa Ferreira
19ff5d5228 - Update port to version 4.0.2:
o Several fixes
o Improvements to poppassd
o Remove extra-patch since it has been merged into the distribution

Prompted by:	Brett Jackson <brett@modlogic.com>, sudz@ns3g.com,
		Mars G Miro <mars@cannoncreek.com>
2001-05-11 00:31:33 +00:00
Mario Sergio Fujikawa Ferreira
d6bd121ed9 o replace patch-configure with patch-configure.in
o also, fix the gdbm issue, qpopper 4.0.1 breaks with installed
  gdbm port

PR:		27093
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>,
		K Karthik <kar_alerts@mglorysb.com>,
		Mikhail Teterin <mi@aldan.algebra.com>
2001-05-06 03:28:06 +00:00
Mario Sergio Fujikawa Ferreira
077b99d2fe Conditional extra patches if WITH_POPPASSD is defined.
Submitted by:	Hajimu Umemoto <ume@mahoroba.org>
2001-05-06 03:22:32 +00:00
Maxim Sobolev
202b5ccddb Fix build on a systems with crypto bits from the /usr/src.
PR:		26645
Submitted by:	Mike Buchanon <buchanon@mlss15.cl.msu.edu>
2001-04-17 14:12:33 +00:00
Maxim Sobolev
496f0ea974 Update to 4.0. Unfortunately I have not heard from the maintainer, while 4.3
freeze is coming today, so I decided to force things a little. Among other
things this release supports TLS/SSL, previously available in the Qualcomms's
commercial package "Qpopper LX".
2001-04-17 07:53:49 +00:00
Maxim Sobolev
4652feab5e Merge popper3 and qpopper into single qpopper and remove popper3.
Reminded by:		knu
Hall of shame entry:	alex
2000-11-01 10:20:38 +00:00
Akinori MUSHA
bd2ce5a5b9 Update to 3.1fc1.
Preserve popauth's name on installation, as it looks up argv[0] and
tries to change its default behavior according to it.

Reported in:	FreeBSD-users-jp@jp.FreeBSD.org mailing list

Cleanup Makefile & patches a bit.
2000-10-05 18:07:01 +00:00
Alexander Langer
d0b4efe6dc Split up the manpage-patch in order to preserve history of the old
manpage-patch-files.

However, due to an odd bug in patch(1), 2 of the 3 hunks for
popper.8 fails (somehow, diff(1) thinks it is a binary file and
patch cannot patch it correctly if diff is used with the -a option).

So patch-ac only changes /usr/local/lib/popper to .../libexec/qpopper
and doesn't neither corrects the location of sendmail nor adds the
/etc/ftpusers file to the SEE ALSO section.

In the Makefile, /usr/local is now replaced with PREFIX for both manpages.
2000-07-19 08:25:28 +00:00
Alexander Langer
94f21873c9 Update for official 3.1beta5 (repo-copy from popper3)
Renames port to qpopper, since this is the official name Qualcomm gives it.
Add pkg/MESSAGE for the inetd.conf line.
Create ${PREFIX}/etc/popper directory also for pkg's.

PR 18568 (Sent in by Jeff Palmer <jeff@isni.net>) gave me the idea for
this update.
2000-07-18 21:27:21 +00:00
Maxim Sobolev
9ee8cb268e Update to 3.0.2 (repo-copied from mail/popper).
Authors or any interesting parties are welcomed to merge functionality-extending
patches from the popper 2.53 (skey support, youbin support etc).

PR:		18745
Submitted by:	Jeff Palmer <jeff@isni.net>
2000-05-31 08:55:15 +00:00
SADA Kenji
96d4c405a7 Add a notation about user restriction.
PR:	ports/10114
Submitted by:	Issei Suzuki <issei@jp.FreeBSD.ORG>
1999-02-26 14:51:31 +00:00
Masafumi Max NAKANE
bbe4f17f7a New patch for man pages to make them correctly list the file locations. 1996-12-06 08:16:45 +00:00