Commit graph

20 commits

Author SHA1 Message Date
rillig
29436688ce Fixed pkglint warnings and made the package work for unprivileged users. 2006-10-23 08:14:02 +00:00
taca
cfa8dcdd05 Update qpopper package to 4.0.9.
Changes from 4.0.8 to 4.0.9:
-----------------------------
 1.  Fix crash if too many MDEF commands entered.
2006-05-05 02:51:35 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
taca
0446b0862f Move qpopper specific definition from Makefile.common to Makefile
to avoid accidently sharing options.mk between poppassd and qpopper.

No functional change to qpopper pkgsrc itself.
2005-06-13 16:53:47 +00:00
wiz
fe1537d17c Add drac, kerberos, and qpopper-servermode options.
Replace PAM with pam.
2005-06-01 21:12:28 +00:00
adrianp
04d80ba195 - Update qpopper to 4.0.8
- Thanks to taca@ and gavan@ for feedback and patch review
- This also enables experimental PAM support (on platforms that support it)
- Security fixes included
- From the ChangeLog:
> Changes from 4.0.7 to 4.0.8:
> ---------------------------
>  1.  Fix compilation error on HPUX.
>  2.  Fix some compilation warnings.
>  3.  Update man page with '-x' option.
>  4.  Fix problems with 'make install'
>
>
> Changes from 4.0.6 to 4.0.7:
> ---------------------------
>  1.  Fix '-V' for standalone.
>  2.  Include 'man' directory in tarball.
>
>
> Changes from 4.0.5 to 4.0.6:
> ----------------------------
>  1.  Minor fixes for true64.
>  2.  Patch from Uli Zappe to fix SCRAM compilation bugs.
>  3.  Minor fixes for true64.
>  4.  poppassd now runs smbpasswd as user, not root, to avoid exploit
>  5.  Remove -traditional-cpp from the compiler options for Darwin
>      builds (otherwise build fails)
>  6.  Open stdout and stderr as O_WRONLY instead of O_RDONLY so that
>      should anything actually be written to them it will show up
>  7.  When configured as --with-pam and required,
>      include <pam/pam_appl.h> instead of <security/pam_appl.h>
>      (otherwise build fails)
>  8.  strdup the pw.pw_name field from getpwnam so that it's still
>      valid by the time genpath is called; also added corresponding
>      free (without this fix when the bug manifests, clients are
>      erroneously told there are 0 messages in the mail drop
>      regardless of the actual number)
>  9.  Add a pam bug workaround at the beginning of main to do a
>      pam_start and pam_end immediately when the program starts up
>      in order to avoid bogus authentication failed messages from
>      pam_authenticate later (only when configured as --with-pam)
>      [ Thanks to Kyle McKay for changes 5-9 ]
> 10.  Fixed error in configure script for Mac OS / Darwin.
> 11.  Support chained certs for OpenSSL [from Daniel Senie].
> 12.  Fixes to compile better on Linux [from Daniel Senie].
> 13.  X-UIDL header no longer written when Update_status_hdrs is false
>      [thanks to Helge Oldach]
> 14.  Now calling SSL_shutdown() again if it fails the first time.
> 15.  Now logging TLS errors when compiled with debugging and debug is
>      enabled (instead of either) [thanks to Maks N. Polunin].
> 16.  Config file now always closed (not just on error).
> 17.  When using pam, Kerberos tickets are now destroyed.
>      Otherwise dead tickets accumulate in cache directory which runs
>      out of space quickly on busy server.  Problem noted by Rodney
>      McDuff ITS UQ.   (Directory permissions on ticket cache dir need
>      to be 1777).
> 18.  Always log "Servicing request" (instead of just when debugging is
>      on).   This allows start of pop sessions to be logged always which
>      is useful for diagnosis of problems.
> 19.  Worked around problem on some systems causing SIGALRM to be masked,
>      leaving hung pop processes which should have timed out waiting
>      for a command from the client.
>      [ Thanks to David Shrimpton for changes 16-19 ]
> 20.  Now defaulting to "EXPIRE NEVER" instead of "EXPIRE 0".
> 21.  Fix core dump on 64-bit Solaris 2.8 [thanks to Kenny Nguyen]
> 22.  Log facility set on command line now applies to daemon as well.
>      [Thanks to Helge Oldach]
> 23.  '-y' to set log facility on command line now works again.
> 24.  Allow '-V' as synonym for '-v' (to see version).
> 25.  Process user and spool config files as user, not as root (fix
>      security hole reported by Jens Steube)
> 26.  Added "xtnd_xmit" as a boolean option to permit/deny XTND XMIT
>      and 'x' as a command-line option to disable it.  You should
>      disable it unless you really need it, and even then it is better
>      to move to SMTP AUTH.
> 27.  popauth now opens trace file as user, not root (fix security
>      hole reported by Jens Steube); also umask now set.
> 28.  Fix race crash on FreeBSD (thanks to Martin Haller).
> 29.  Resolve some compiler warnings.
> 30.  Fix check for libcrypt on FreeBSD.
> 31.  Added sample pam configuration file (also installed by 'make
>      install')
> 32.  Use generic error msg and sleep in more auth failure cases.
> 33.  Added code to use mkstemp() instead of our perfectly safe usage
>      of tempnam() because some compilers issue overly broad warnings
>      implying that all uses of tempnam() are unsafe.  To bypass,
>      use '--enable-tempnam' with ./configure.
2005-06-01 20:55:16 +00:00
taca
a77cfbc700 - Update HOMEPAGE.
- Sort PLIST.
- Share MASTER_SITES and HOMEPAGE with poppassd package with introducing
  QPOPPER_MASTER_SITES and QPOPPER_HOMEPAGE in Makefile.common.
2005-05-28 02:55:43 +00:00
grant
b315996f64 move ssl and ipv6 options to new options.mk framework (no change to
existing defaults) and while here, add QPOPPER_SPOOL_DIR to define spool
directory (no change to existing default).
2004-12-18 03:59:30 +00:00
grant
94bab8fad6 include bsd.prefs.mk before ?= of various pkgsrc build options so they
are picked up from mk.conf.
2004-12-18 02:44:12 +00:00
taca
b5bc064ab8 Correct set PKG_USERS with QPOPPER_USER and newly QPOPPER_GROUP.
Should be fix pkg/28687.
2004-12-17 07:35:56 +00:00
markd
42a6ac4c16 s/with/enable/ to fix build when QPOPPER_USER != pop 2004-07-13 13:24:37 +00:00
xtraeme
b290be6cc2 Enable drac support in mail/qpopper package, patch was supplied
by John Nemeth in PR pkg/22925.

The new option to use is "QPOPPER_USE_DRAC" and by default is not
defined.

Bump PKGREVISION.
2004-06-22 23:53:52 +00:00
itojun
5464e92277 upgrade to 4.0.5. includes security fix.
Changes from 4.0.4 to 4.0.5:
----------------------------
 1.  Add debug trace call with OpenSSL library version.
 2.  Added 'tls-options' configuration file option.
 3.  Added 'tls-workarounds' boolean option.
 4.  STLS errors (except for timeout) no longer fatal.
 5.  Added sample xinetd configuration file.
 6.  Additional checks for networking libraries.
 7.  Pick up LDFLAGS from environment, if set.
 8.  Added '--enable-32-bit' and '--enable-64-bit'
 9.  Applied patch from Jeremy Chadwick to fix pathname trimming in
     standalone mode.
10.  Fixed (non-root) buffer overflow.
11.  Fixed '-no-mime' appended to user name (reported by Florian
     Heinz).
12.  Fixed response message when identical MDEFs defined multiple
     times (reported by Florian Heinz).
2003-03-13 07:23:25 +00:00
jlam
9b1b4a1493 * buildlink1 --> buildlink2.
* Pass the LDFLAGS through to the build process so that the final binaries
  are built with the appropriate -Wl,-R flags.  This should fix pkg/18054.
* Use ROOT_{USER,GROUP} instead of hardcoding "root" and "wheel" when
  installing poppassd.
2002-09-09 19:25:26 +00:00
cjep
64c9e8a407 Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"
which the basesrc USE_KERBEROS variable. Discussed on packages@

This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15 21:19:59 +00:00
taca
38b5c7d22e Qpoper package update. There is no functional change.
- Utilize bsd.pkg.install.mk.
- Honor PKG_SYSCONFDIR.
2002-05-03 15:09:49 +00:00
jlam
99c293f270 Move USE_BUILDLINK_ONLY definition out of Makefile.common and into the
individual package Makefiles.
2001-09-09 03:37:00 +00:00
taca
7f241b13f3 - Utilize bulidlink frame work for openssl dependency.
- Use INSTALL/DEINSTALL script rather than post-intall/pre-install work.
2001-07-26 15:43:28 +00:00
taca
441850213f Remove useless garbage.
Noted by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.  (Thanks!)
2001-07-26 12:25:55 +00:00
taca
2ec010adae Update qpopper to 4.0.3 from 3.1.2. Here is brief new feature from
Release note.

4.0
           Supports TLS/SSL security.
           '-p' option now has value '4' to permit plain-text passwords
        under TLS/SSL.
           Now uses a cache file to retain spool index across sessions.
        This dramatically speeds up session start when no new mail has
        arrived.

           '-l' option added to specify TLS/SSL support.
           Lots of TLS/SSL options added.  See the Administrator's Guide
        for details.
           '-v' option added to report current version and exit.
           'make install' added.
           Lots of compile-time options now available at run-time.  See
        the Administrator's Guide for details.
           Integrated poppassd into build.

And here is changes from 4.0.

Changes from 4.0.2 to 4.0.3:
----------------------------
 1.  Don't call SSL_shutdown unless we tried to negotiate an
     SSL session.  (As suggested by Kenneth Porter.)
 2.  Fix buffer overflow (reported by Gustavo Viscaino).
 3.  Fixed empty password treated as empty command (patch
     submitted by Michael Smith and others).
 4.  Added patch by Carles Xavier Munyoz to fix erroneous
     scanning for \n in getline().
 5.  Fix from Arvin Schnell for warnings on 64-bit systems.
 6.  Added patch by Clifton Royston to change error message
     for nonauthfile and authfile tests.
 7.  Added 'uw-kludge' as synonym for 'uw-kluge'.


Changes from 4.0.1 to 4.0.2:
----------------------------
 1.  Added fix for XTND XMIT (sent in by Jacques Distler and
     others).
 2.  Fixed makefile problems with poppassd compile and install
     (sent in by Steven Champeon).
 3.  Increased maximum spool path length from 64 to 256.
 4.  Added more debug code when genpath() runs out of room.
 5.  Changed C++ style comments to C style in poppassd.c
 6.  Changed poppassd's UID check to be the same as Qpopper's
     (which is that if BLOCK_UID is defined we use that value,
     otherwise it defaults to 10).
 7.  Added poppassd expect strings for DEC True 64 (sent in by
     Andres Henckens).


Changes from 4.0.1b1 to 4.0.1 (final):
--------------------------------------
 1.  Fixed typo in popper/pop_init.c if DONT_CHECK_HASH_SPOOL_DIR
     defined.


Changes from 4.0 to 4.0.1b1:
----------------------------
 1.  Messages with lines longer than 512 characters are no longer
     garbled when sent to the client.
 2.  Added patches from Michael C Tiernan to fix makefile problems.
2001-06-10 15:08:40 +00:00