ensure that paths in the manpages are not hardcoded to /usr/local
This commit is contained in:
parent
90d98d6193
commit
8b1dfbc7a1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2000/12/25 06:37:18 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2000/12/25 06:52:22 brad Exp $
|
||||
|
||||
DISTNAME= cucipop-1.31
|
||||
CATEGORIES= mail
|
||||
@ -16,7 +16,13 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= "no fee"
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS}" LDFLAGS=""
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS} -DINET6" LDFLAGS=""
|
||||
|
||||
post-patch:
|
||||
.for f in cucipop.8 makevpopdb.8
|
||||
@cd ${WRKSRC} && sed -e s#!!PREFIX!!#${PREFIX}#g ${f} > ${f}.new && \
|
||||
mv ${f}.new ${f}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} cucipop makevpopdb ${PREFIX}/libexec
|
||||
|
@ -1,17 +1,17 @@
|
||||
--- cucipop.8.orig Mon May 11 12:35:19 1998
|
||||
+++ cucipop.8 Mon Mar 27 15:12:54 2000
|
||||
+++ cucipop.8 Mon Dec 25 01:41:59 2000
|
||||
@@ -48,12 +48,12 @@
|
||||
.SH NAME
|
||||
cucipop \- Cubic Circle POP3 daemon
|
||||
.SH SYNOPSIS
|
||||
-.B /usr/sbin/cucipop
|
||||
+.B /usr/local/libexec/cucipop
|
||||
+.B !!PREFIX!!/libexec/cucipop
|
||||
.RB [ \-qaYdPUSDAT ]
|
||||
.RB [ "\-E \fIage\fP" ]
|
||||
.RB [ "\-p \fIport\fP" ]
|
||||
.br
|
||||
-.B /usr/sbin/cucipop
|
||||
+.B /usr/local/libexec/cucipop
|
||||
+.B !!PREFIX!!/libexec/cucipop
|
||||
.B \-v
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
@ -35,18 +35,18 @@
|
||||
would be suitable:
|
||||
.Sx 1
|
||||
-pop-3 stream tcp nowait root /usr/sbin/cucipop cucipop -Y
|
||||
+pop3 stream tcp nowait root /usr/local/libexec/cucipop cucipop -Y
|
||||
+pop3 stream tcp nowait root !!PREFIX!!/libexec/cucipop cucipop -Y
|
||||
.Ex
|
||||
If your site gets many hits from popclients, it would be preferable
|
||||
to start cucipop standalone as in:
|
||||
.Sx 1
|
||||
-/usr/sbin/cucipop -Y
|
||||
+/usr/local/libexec/cucipop -Y
|
||||
+!!PREFIX!!/libexec/cucipop -Y
|
||||
.Ex
|
||||
Your typical BOFH setting would be:
|
||||
.Sx 1
|
||||
-/usr/sbin/cucipop -YaSE 6w
|
||||
+/usr/local/libexec/cucipop -YaSE 6w
|
||||
+!!PREFIX!!/libexec/cucipop -YaSE 6w
|
||||
.Ex
|
||||
.SH FILES
|
||||
.TP 2.3i
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- makevpopdb.8.orig Sun May 10 08:57:40 1998
|
||||
+++ makevpopdb.8 Mon Mar 27 15:12:54 2000
|
||||
+++ makevpopdb.8 Mon Dec 25 01:40:23 2000
|
||||
@@ -48,7 +48,7 @@
|
||||
.SH NAME
|
||||
makevpopdb \- Creates the vpop database for cucipop
|
||||
.SH SYNOPSIS
|
||||
-.B /usr/sbin/makevpopdb
|
||||
+.B /usr/local/libexec/makevpopdb
|
||||
+.B !!PREFIX!!/libexec/makevpopdb
|
||||
.I dbasefile
|
||||
.ad
|
||||
.SH DESCRIPTION
|
||||
|
Loading…
Reference in New Issue
Block a user