>Number: 30849
news/nntpcache fails compiling authinfo_pam.c, add radius & ldap auth mechanisms.
The fix is to place a #ifndef __FreeBSD__ .. #endif arround
<security/pam_misc.h> in authinfo_pam.c.
The attached patch corrects this problem, and adds additional authentication
functionality to the nntpcache port (RADIUS, LDAP[v1,v2]).
files/patch-src-authinfo_pam.ext removed due to a post-configure target is
added to the Makefile that recreates the authinfo_[pam,radius,ldap].ext files.
PR: 30849
Submitted by: hetzels@westbend.net
PR: 30758
- remove commented out pgp depend
- add automake depend to automake14 (there should have been a USE_AUTOMAKE
in the first place, but this doesn't play nice with automake 1.5)
- Remove a verifiably bad site from MASTER_SITES.
- Remove duplicate entry (DNS entry points to same IP) from MASTER_SITES.
- Add new mirror to MASTER_SITES.
- Change MAINTAINER to -ports, as the previous maintainer (and author) has
expressed a lack of interest in continued maintenance of this port.
- Deploy DOCSDIR.
- General clean-up and reorganisation of Makefile.
- Remove PKGMESSAGE completely, since this port requires no user action which
is out of the ordinary (I do not consider editing configuration files to be
out of the ordinary), and it contains no information which is not also
contained elsewhere in a more standardised location.
- Add NO_CDROM, as this software is not free and never has been.
- Bring the startup script installed in ${PREFIX}/etc/rc.d up to current
standards (I hope).
- Install a fully functional startup script in ${PREFIX}/etc/rc.d (as most
ports now do), instead of an inactive .sample startup script.
- Install HTML documentation.
- Deploy %%PORTDOCS%% pragma in pkg-plist.
- Make SPOOLDIR a user-tweakable option (default: /var/spool). NNTPCache
will cache news articles in ${SPOOLDIR}/nntpcache.
- Remove the non-standard "hardlink-pgp-files" target from Makefile.
- Comment out the run-time dependency on security/pgp for now. The only
NNTPCache functionality which depends on PGP is very optional indeed and
furthermore, there is now a plethora of PGPish ports for the user to choose
from. (This may need to be tweaked further, since NNTPCache builds without
PGP support if PGP is not detected during the configurations stage.)
Approved by: Julian Assange <nntpcache@nntpcache.org>, previous maintainer
Remove *.bak config files.
Closes-PR: ports/1813
Forgotten by: peter
Please don't forget to close PR's. Duplicated effort is effort that could
be used elsewhere. ;-)
(1) Don't use += for CATEGORIES.
(2) Add MAN8 to compress nntpcache.8.
(3) Remove port name from front of pkg/COMMENT.
(4) List config files in pkg/PLIST.
(5) Name of manpage is nntpcache.8, not nntpcached.8.