Commit graph

34 commits

Author SHA1 Message Date
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
taca
a8486e684a Update poppassd to 4.1.0.
Use the same distfile with qpopper 4.1.0.
2012-03-22 14:15:32 +00:00
obache
304b18ed33 some improvement and fixes for qpopper and poppassd.
qpopper:
* add user-destdir support
* add ${QPOPPER_USER}:${QPOPPER_GROUP} to PKG_USERS, fixes PR#28807.
* honor VARBASE.
common:
* update ipv6 patch to appropriate one for base version.
* some pkglint cleanup.

Bump PKGREVISION.
2009-12-27 14:17:37 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
joerg
da41e88a2a Fix INSTALLATION_DIRS. 2006-06-01 22:27:17 +00:00
taca
28bcf6e63b Update poppassd package to 4.0.9.
Nothing changes but use qpopper 4.0.9 distribution.
2006-05-05 02:52:33 +00:00
joerg
9076ff7152 Fix errno. 2006-01-08 17:22:29 +00:00
taca
9ffff00520 - Fix hangup when communicating with smbpasswd(8).
- Quiet pkglint; changing make macro in double quotation into :Q modifier.

Bump PKGREVISION.
2005-12-05 14:12:29 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
taca
623d394b2d Fix the problem on NetBSD 3.0BETA and later noted by Martti Kuparinen
on tech-pkg.

Bump PKGREVISION.
2005-06-15 05:26:20 +00:00
taca
bb130c5834 Explicitly disable use of PAM as before qpopper/Makefile.common
related changes.
2005-06-14 06:24:39 +00:00
taca
4db13197c4 - Update Makefile along with qpopper/Makefile.common.
- Introduce poppassd own options.mk.

No functional change to poppassd pkgsrc itself and this should fix
poppassd build problem reported by Martti Kuparinen on tech-pkg@.
2005-06-13 16:57:02 +00:00
adrianp
bc386bed51 - Update poppassd 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 21:00:39 +00:00
taca
c8cf4077f0 - Share MASTER_SITES and HOMEPAGE with qpopper package using
QPOPPER_MASTER_SITES and QPOPPER_HOMEPAGE defined in
  ../qpopper/Makefile.common.

No functional change.
2005-05-28 02:57:22 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
taca
ff4288762c - fix a problem that poppassd(8) would hang with smbpasswd(1).
- make it work on Solaris; tested on SunOS 5.8.

Bump package revision.
2004-10-20 14:18:42 +00:00
snj
c8b6949870 Convert to buildlink3. 2004-04-18 05:05:43 +00:00
taca
7d347a1911 Fix one error message to client. 2004-01-30 07:05:27 +00:00
taca
0c6fb4ba4c Update poppassd pacakge to 4.0.5nb2.
- Catch child process exit.
- Add "-o" option which provides compatibility with older poppassd,
  returning authentication error after "PASS" command not "NEWPASS"
  for some broken clients.
2004-01-29 15:45:00 +00:00
taca
0829f1a8aa Update poppassd package to 4.0.5nb1.
Fix security problem, local root exploit.  It is no need to install
poppassd as setuid.  Noted on bugtraq mailing list.

http://www.securityfocus.com/archive/1/319811/2003-04-26/2003-05-02/0
2003-04-29 14:22:45 +00:00
taca
c57da3b401 Catch up to qpopper 4.0.5
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 14:11:24 +00:00
grant
339acc0fb3 ${PKG_PREFIX} -> ${PREFIX} 2002-09-18 16:15:50 +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
taca
ad351a9bdd Make it work smbpassword update function.
It seems that there was some deadlock between pty and child exiting.

Bump PKGREVISION to 1.
2002-07-16 15:01:49 +00:00
taca
6e3cc19bff - replace using INSTALL with MESSAGE.
- Share version with ../qpopper/Makefile.common.
2002-05-03 15:11:05 +00:00
martti
0667cbf3f9 Updated poppassd to 4.0.4
* Fixed DOS attack seen on some systems.
* Fixed "noop has null function" log entry.
* Allow '-p' to be used when APOP not defined (noted by Daniel Senie).
* Enforce ClearTextPassword even without APOP (noted by Daniel Senie).
* Restrict clear-text-password=never to APOP.
* Restrict clear-text-password=tls to QPOP_SSL.
* Fixed qpopper hanging on I/O error on some platforms.
2002-05-02 16:16:55 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +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
cbea40733a Some style clean up as qpopper package. 2001-07-26 15:44:44 +00:00
taca
d3f52582d8 Importing poppassd included in qpopper 4.0.3 now. 2001-06-10 15:15:06 +00:00