Bug 76786 - [PATCH] mail/maildrop: Update to 1.8.0
Summary: [PATCH] mail/maildrop: Update to 1.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergei Kolobov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-28 09:10 UTC by Yasuhiro Kimura
Modified: 2005-02-22 08:10 UTC (History)
0 users

See Also:


Attachments
patch-maildrop (10.72 KB, text/plain)
2005-01-28 09:10 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2005-01-28 09:10:15 UTC
	Update to latest version 1.8.0, which include following change:

	+ According to the Changelog, maildir quota is now enabled
	  by default. So following options are deleted:
		- WITH_MAILDIRQUOTA
		- WITH_TRASHQUOTA
	+ New option WITH_AUTHLIB is added, which provides optional
	  support for Courier Auth Library(mail/courier-authlig).
	+ Userdb authentication, LDAP support and MySQL support are
	  provided through Courier Auth Library now. So following options
	  are deleted:
		- WITH_USERDB
		- WITH_LDAP
		- WITH_MYSQL

	and which also has following known issues:

	+ By default, man page and html document of deliverquota
	  is installed but delverquota command itself is not installed.
	  I worked it around by adding --enable-maildirquota
	  to CONFIGURE_ARGS, but it should be reported and fixed by
	  original author side.
	+ When WITH_AUTHLIB options is specified,maildrop is linked
	  with libcourierauth.so.0 which is intalled
	  by mail/courier-authlib port. But installed maildrop binary
	  doesn't find it.

	  yasu@sugar[21]% ls -l /usr/local/lib/courier-authlib/libcourierauth.so.0
	  -rwxr-xr-x  1 root  wheel  22608  1 23 02:13 /usr/local/lib/courier-authlib/libcourierauth.so.0*
	  yasu@sugar[22]% ldd /usr/local/bin/maildrop 
	  /usr/local/bin/maildrop:
	          libcourierauth.so.0 => not found (0x0)
        	  libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x2808e000)
        	  libm.so.2 => /usr/lib/libm.so.2 (0x280d3000)
        	  libc.so.4 => /usr/lib/libc.so.4 (0x280ee000)
	  yasu@sugar[23]% 

	  I know that this is because libcourierauth.so.0 is not installed
	  in the standard library path of dynamic linker and that
	  solutions is to add '-rpath /usr/local/lib/courier-authlib'
	  to command line options when maildrop is linked. Since I am not
	  familiar with autoconf, automake and libtool, however, I don't
	  know where and how to patch extracted source tree to get
	  'configure' script to create Makefile which uses option above
	  when maildrop is linked.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-01-28 23:40:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sergei

Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76786 

Adding to audit trail:

an earlier PR from a different submitter contains an update to 1.7.0
but seems to add more features to the port:
Comment 2 Sergei Kolobov freebsd_committer freebsd_triage 2005-02-21 11:32:25 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2005-02-22 08:02:22 UTC
Hi.

'USE_GMAKE=yes' in Makefile is necessary for RELENG_4. If not
specified, make fails as following.

creating libnumlib.la
(cd .libs && rm -f libnumlib.la && ln -s ../libnumlib.la libnumlib.la)
/bin/sh ./libtool --mode=link cc  -O -pipe  -Wall   -L/usr/local/lib -o libnumlibs.la   atotimet.lo atouidt.lo changeuidgid.lo strdevt.lo  strgidt.lo strhdevt.lo strhinot.lo strhpidt.lo strhtimet.lo  strinot.lo strofft.lo strpidt.lo strsize.lo strsizet.lo  strtimet.lo struidt.lo  
ar cru .libs/libnumlibs.a .libs/atotimet.o .libs/atouidt.o .libs/changeuidgid.o .libs/strdevt.o .libs/strgidt.o .libs/strhdevt.o .libs/strhinot.o .libs/strhpidt.o .libs/strhtimet.o .libs/strinot.o .libs/strofft.o .libs/strpidt.o .libs/strsize.o .libs/strsizet.o .libs/strtimet.o .libs/struidt.o
ranlib .libs/libnumlibs.a
creating libnumlibs.la
(cd .libs && rm -f libnumlibs.la && ln -s ../libnumlibs.la libnumlibs.la)
rm -f libshnumlib.a
cd .libs && ar rl ../libshnumlib.a atotimet.$(OBJEXT) atouidt.$(OBJEXT) changeuidgid.$(OBJEXT) strdevt.$(OBJEXT) strgidt.$(OBJEXT) strhdevt.$(OBJEXT) strhinot.$(OBJEXT) strhpidt.$(OBJEXT) strhtimet.$(OBJEXT) strinot.$(OBJEXT) strofft.$(OBJEXT) strpidt.$(OBJEXT) strsize.$(OBJEXT) strsizet.$(OBJEXT) strtimet.$(OBJEXT) struidt.$(OBJEXT)
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
OBJEXT: not found
/usr/libexec/elf/ar: atotimet.: No such file or directory
*** Error code 1

Stop in /usr/ports/mail/maildrop/work/maildrop-1.8.0/numlib.
*** Error code 1

Stop in /usr/ports/mail/maildrop/work/maildrop-1.8.0/numlib.
*** Error code 1

Stop in /usr/ports/mail/maildrop/work/maildrop-1.8.0.
*** Error code 1

Stop in /usr/ports/mail/maildrop.