Bug 68289 - Update ftp/pure-ftpd to 1.0.19 + rcNG'ify + OPTIONS
Summary: Update ftp/pure-ftpd to 1.0.19 + rcNG'ify + OPTIONS
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: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 20:50 UTC by Joerg Pulz
Modified: 2004-06-25 12:22 UTC (History)
0 users

See Also:


Attachments
pure-ftpd.diff (5.29 KB, patch)
2004-06-24 20:50 UTC, Joerg Pulz
no flags Details | Diff
pure-ftpd.diff (5.52 KB, patch)
2004-06-25 08:06 UTC, Joerg Pulz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Pulz 2004-06-24 20:50:27 UTC
	Update ftp/pure-ftpd to the current version 1.0.19.
	use OPTIONS to to enable/disable LDAP,MySQL,PostgreSQL support
	and priviledge separation.
	new rc script which utilizes the rcNG system.

	small patch to fix core-dumps on 4.x system (from Frank DENIS via ML)
Comment 1 Oliver Eikemeier 2004-06-24 23:05:32 UTC
Joerg Pulz wrote:

> +USE_RC_SUBR=	yes
> +RC_DIR?=	${LOCALBASE}/etc/rc.d

You should never install to LOCALBASE, only to PREFIX.

> +PLIST_SUB=	RC_DIR=${RC_DIR}
>

> +command=%%PREFIX%%/sbin/pure-config.pl

This looks like you need USE_PERL5_RUN. Did you check?


> +++ pure-ftpd/pkg-plist	Thu Jun 24 20:24:52 2004

Do you have an entry for rc.d/pure-ftpd.sh?

-Oliver
Comment 2 Joerg Pulz 2004-06-25 08:06:19 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 25 Jun 2004, Oliver Eikemeier wrote:

> Joerg Pulz wrote:
>
>> +USE_RC_SUBR=	yes
>> +RC_DIR?=	${LOCALBASE}/etc/rc.d
>
> You should never install to LOCALBASE, only to PREFIX.

true, but if PREFIX is for example /usr/local/pure-ftpd the rc script is 
installed as /usr/local/pure-ftpd/etc/rc.d/pure-ftpd.sh. as this place is 
not a default "startup script dir" one has to extend "local_startup" in 
/etc/rc.conf.
anyway, i've changed it to PREFIX, as it can be overridden during the 
build/install stage by the user.

>> +PLIST_SUB=	RC_DIR=${RC_DIR}
>> 
>
>> +command=%%PREFIX%%/sbin/pure-config.pl
>
> This looks like you need USE_PERL5_RUN. Did you check?

true, i missed that. the previous versions of the port missed that too!

>
>> +++ pure-ftpd/pkg-plist	Thu Jun 24 20:24:52 2004
>
> Do you have an entry for rc.d/pure-ftpd.sh?

you're right again. sorry for this.

attached is a new diff, whith fixes for the points you mentioned above.

thanks
Joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA287tSPOsGF+KA+MRAme6AJ9/1wu0S0deQEgAqPVTOE1+cw83WgCeJecI
3bkfqgpQysUQ8kwIxx/pHR4=
=Gab0
-----END PGP SIGNATURE-----
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-06-25 09:23:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Take.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-06-25 12:22:40 UTC
State Changed
From-To: open->closed

Committed, thanks!