Bug 196927 - [PATCH] security/pam_mysql: Add OpenSSL for non crypt()ish MD5 support
Summary: [PATCH] security/pam_mysql: Add OpenSSL for non crypt()ish MD5 support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-20 11:08 UTC by klaus
Modified: 2015-04-05 12:44 UTC (History)
1 user (show)

See Also:


Attachments
diff file ... (430 bytes, patch)
2015-01-20 11:08 UTC, klaus
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description klaus 2015-01-20 11:08:54 UTC
Created attachment 151898 [details]
diff file ...

I use mail/dbmail with user passwords encrypted/hashed by MySql/PHP's md5() 
hash function. 

For SMTP Authentication i use mail/postfix-current and security/cyrus-sasl2-saslauthd with security/pam_mysqldand crypt=3 in pam.conf.

Whenever i upgrade the system i have to modify the Makefile in pam_mysql to add
OpenSSL (--with-openssl) to keep the system running.

I added an option to the Makefile (default: off) 

###########################################################################

+OPTIONS_DEFINE= SSL
+SSL_DESC= 	Build with OpenSSL support (non-crypt()ish MD5 hash)
+SSL_CONFIGURE_WITH= openssl

###########################################################################

See also:
http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/034386.html
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-04-05 12:41:30 UTC
A commit references this bug:

Author: robak
Date: Sun Apr  5 12:40:46 UTC 2015
New revision: 383291
URL: https://svnweb.freebsd.org/changeset/ports/383291

Log:
  security/pam-mysql: add OpenSSL port option for building non crypt() MD5 support

  PR:		196927
  Submitted by:	Klaus Mayr <klaus@mayr-software.net>

Changes:
  head/security/pam-mysql/Makefile
Comment 2 Bartek Rutkowski freebsd_committer freebsd_triage 2015-04-05 12:44:59 UTC
Committed, thanks for your work!