mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Use a "q"-prefix everywhere, to avoid conflicts with the popper
and popper3 ports. The manpages are patched accordingly. Pointed out by: sobomax
This commit is contained in:
parent
5db215a5bc
commit
84e177390e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30826
@ -14,7 +14,7 @@ DISTNAME= ${PORTNAME}3.1b5
|
||||
MAINTAINER= ports@freebsd.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/popper/pop.auth
|
||||
CONFIGURE_ARGS= --enable-apop=${PREFIX}/etc/qpopper/pop.auth
|
||||
|
||||
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
|
||||
-DBULLDB -DNONAUTHFILE='\"/etc/ftpusers\"'
|
||||
@ -27,15 +27,18 @@ CONFIGURE_ARGS+=--enable-debugging
|
||||
|
||||
CONFIGURE_ENV= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
|
||||
|
||||
MAN8= popauth.8 popper.8
|
||||
MAN8= qpopauth.8 qpopper.8
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && \
|
||||
${PERL} -pi.orig -e "s:/usr/local:${PREFIX}:g" man/popper.8
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec
|
||||
cd ${WRKSRC} && \
|
||||
${INSTALL_MAN} man/popauth.8 man/popper.8 ${PREFIX}/man/man8
|
||||
${INSTALL_PROGRAM} popper/popauth ${PREFIX}/bin/qpopauth && \
|
||||
${INSTALL_PROGRAM} popper/popper ${PREFIX}/libexec/qpopper && \
|
||||
${INSTALL_MAN} man/popauth.8 ${PREFIX}/man/man8/qpopauth.8 && \
|
||||
${INSTALL_MAN} man/popper.8 ${PREFIX}/man/man8/qpopper.8
|
||||
|
||||
post-install:
|
||||
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
****************************************************************************
|
||||
To enable the popper-daemon, add the following line to your /etc/inetd.conf:
|
||||
To enable the qpopper-daemon, add the following line to your /etc/inetd.conf:
|
||||
|
||||
pop3 stream tcp nowait root /usr/local/libexec/popper qpopper -s
|
||||
pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper -s
|
||||
****************************************************************************
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
bin/popauth
|
||||
libexec/popper
|
||||
@dirrm etc/popper
|
||||
@exec mkdir -p %D/etc/popper && chown pop.daemon %D/etc/popper && chmod 700 %D/etc/popper
|
||||
bin/qpopauth
|
||||
libexec/qpopper
|
||||
@dirrm etc/qpopper
|
||||
@exec mkdir -p %D/etc/qpopper && chown pop.daemon %D/etc/qpopper && chmod 700 %D/etc/qpopper
|
||||
|
@ -8,7 +8,7 @@ if ! id -u pop > /dev/null 2>&1; then
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
usrdir=${PREFIX}/etc/popper
|
||||
usrdir=${PREFIX}/etc/qpopper
|
||||
if [ ! -d $usrdir ]; then
|
||||
mkdir -p $usrdir
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user