Commit Graph

87 Commits

Author SHA1 Message Date
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
1def4fc73d - Restore POLA previous to rev 1.35 of this file
* Install qpopauth setuid to pop user unless WITHOUT_QPOPAUTH_SETUID
  is set

- bump PORTREVISION

Prompted by:	obrien
2002-03-26 16:45:33 +00:00
Mario Sergio Fujikawa Ferreira
b4305b6d18 Add Dynamic Relay Authorization Control (DRAC) support. Can be enabled WITH_DRAC
PR:		32790
Submitted by:	Norikatsu Shigemura <nork@cityfujisawa.ne.jp>
2001-12-21 05:35:24 +00:00
Mario Sergio Fujikawa Ferreira
d494132719 1) instead of "stealthly" installing a file with a user list that
cannot log in the popper daemon, let the users decide for either
   a default file (use a copy of the system's /etc/ftpusers file)
   or an empty file
2) also, make the installation of this file prefix safe and name
   it popusers (PREFIX/etc/qpopper/popusers). This changes expected
   behavior of the port
3) add a PKGINSTALL script to handle this file install/deinstall
4) style changes: use variables to make the port easier to maintain

Prompted by:	Dan Langille <dan@langille.org>
Reviewed by:	freebsd-ports (silence), kris, sobomax
2001-10-05 03:48:34 +00:00
Mario Sergio Fujikawa Ferreira
219b928ecd Bump PORTREVISION due to addition of patch-popper::pop_pass.c (rev 1.1) 2001-09-10 00:06:05 +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
Dima Dorfman
7534fc311d user.group -> user:group in chown call(s). 2001-07-26 06:26:19 +00:00
Mario Sergio Fujikawa Ferreira
83df5f7777 Chase Makefile rev 1.58 update and update ipv6 patch in sync 2001-06-02 23:31:06 +00:00
Kris Kennaway
46bcb25de4 Jump back on the qpopper rollercoaster ride of doom and upgrade to 4.0.3,
fixing another buffer overflow.
2001-06-02 21:15:12 +00:00
Alexander Langer
c4d18b394b Mark forbidden until updated to 4.0.3 (Qualcomm announced buffer overflow).
Submitted by:	Brett Glass <brett@lariat.org>
2001-06-02 18:55:42 +00:00
Maxim Sobolev
a7ad4c10fa Update version number of ssl shared library from openssl port. 2001-05-28 12:39:02 +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
071e854336 Enable this port to be able to fetch even when Qualcomm releases
new versions.

Submitted by:	Brett Jackson <brett@modlogic.com>
2001-05-10 04:30:43 +00:00
Mario Sergio Fujikawa Ferreira
1a3a76b360 Fix typo: update distinfo due to Makefile rev 1.52
Submitted by:	Hajimu Umemoto <ume@FreeBSD.org>
2001-05-06 14:46:55 +00:00
Mario Sergio Fujikawa Ferreira
9fb769356f Add support for WITH_POPPASSD in sync with Makefile rev 1.52 2001-05-06 03:37:13 +00:00
Mario Sergio Fujikawa Ferreira
91eccf4df4 Bump PORTREVISION due to rev 1.52 2001-05-06 03:36:16 +00:00
Mario Sergio Fujikawa Ferreira
377cd4c64b o also, fix the gdbm issue, qpopper 4.0.1 breaks with installed
gdbm port (--without-gdbm)
o USE_AUTOCONF due to files/patch-configure.in rev 1.1
o update ipv6 patch to version 20010504
o move all options to WITH_* options, let the older
  options work for a while
o advertise all WITH_* options
o add WITH_POPPASSD support (Hajimu Umemoto contribution)

PR:		27093
Submitted by:	Hajimu Umemoto <ume@mahoroba.org>,
		K Karthik <kar_alerts@mglorysb.com>
2001-05-06 03:34:23 +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
Mario Sergio Fujikawa Ferreira
578470c87a - Update port to version 4.0.1 (bug fixes)
- Update ipv6 patch to snapshot 20010425

Submitted by:	bento (sort of)
2001-04-27 13:38:50 +00:00
Maxim Sobolev
7f0dc15017 Check that librsaref actually exists before trying to link it in.
PR:		26679
Submitted by:	Yoshisato YANAGISAWA <osho@pcc-software.org>
2001-04-18 19:12:11 +00:00
Maxim Sobolev
79ed67cbd3 Re-enable ipv6 support.
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2001-04-18 18:48:02 +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
Mario Sergio Fujikawa Ferreira
928ce8e4b5 Fix the qpopper path in pkg-message. It is now properly replaced
with PREFIX.

Submitted by:	Dan Langille <dan@langille.org> (with changes)
2001-03-30 13:15:38 +00:00
Mario Sergio Fujikawa Ferreira
0fabc4ff05 Sanitize MASTER_SITES. 2001-02-22 02:49:48 +00:00
Mario Sergio Fujikawa Ferreira
4ccf915049 Assume maintainership. Somebody should.
Please, do not abuse me because I did. :)
2001-02-20 18:15:21 +00:00
Mario Sergio Fujikawa Ferreira
406e2935c7 Add patch file missing distinfo information.
Submitted by:	Mars G. Miro <zeitgheist@rocketmail.com>,
		Bennett Hui <bhui@mail.com>
2001-02-20 18:11:49 +00:00
Kris Kennaway
e9972ae7df Add IPv6 support from KAME, bump PORTREVISION, add ipv6 to categories,
and reset maintainer to ports@FreeBSD.org because mail is bouncing.
2001-02-10 05:25:52 +00:00
Jimmy Olgeni
1be0301128 Spaces->tabs in the mail category.
(I know, I look boring and pedant :o)
2001-02-05 15:11:27 +00:00
Steve Price
e8d6f60511 Update to version 3.1.2.
PR:		23389
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-12-11 03:17:04 +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
Kevin Lo
efad80277b Update to version 3.1
PR: 21895
Submitted by: Ports Fury
2000-10-11 14:08:28 +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
84e177390e Use a "q"-prefix everywhere, to avoid conflicts with the popper
and popper3 ports.

The manpages are patched accordingly.

Pointed out by:		sobomax
2000-07-19 07:31:26 +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
5504b50b48 Add "@dirrm etc/popper" to make bento happy.
Submitted by:	bento
2000-06-05 09:47:59 +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
Kris Kennaway
a11b23934f unFORBID this port by closing the overflow 2000-05-25 07:50:10 +00:00
Kris Kennaway
e3d1e0fa36 Mark FORBIDDEN due to Yet Another Qpopper Overflow 2000-05-24 19:55:30 +00:00
Maxim Sobolev
e56f11fbf0 Add a WWW. 2000-05-23 08:56:48 +00:00
Maxim Sobolev
d1568d3028 Distfile has been moved into different directory, so update MASTER_SITES.
PR:		18746
Submitted by:	Jeff Palmer <jeff@isni.net>
2000-05-23 07:11:48 +00:00
Chris Piazza
28849e36e9 Update to use PORTNAME/PORTVERSION 2000-04-13 20:01:08 +00:00
David E. O'Brien
f3a9c6c81e Change Id->FreeBSD. 1999-08-25 06:51:17 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
1999-06-26 19:12:45 +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
Tim Vanderhoek
751f2992ec Remove more manpages, as part of the great manpage removal project. 1998-08-17 05:19:34 +00:00
Andrey A. Chernov
693741eef7 add optional youbin support 1998-08-04 22:45:21 +00:00
Andrey A. Chernov
68cdc2ff00 Make full pop debugging optional 1998-08-02 20:34:29 +00:00