mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
[1]:
- Create the bogomilter user with /sbin/nologin as shell and /nonexistent as home directory - Update the maintainer's email address Moreover: - Unconditionally define PORTDOCS, as ${NOPORTDOCS} is now tested by bsd.port.mk - Install manual page in ${MAN8PREFIX} [1]: PR: ports/82583 Submitted by: maintainer
This commit is contained in:
parent
1c253d3f0b
commit
d6a7b027fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138142
@ -1,12 +1,13 @@
|
||||
# New ports collection makefile for: milter-bogom
|
||||
# Date created: 12 Feb 2005
|
||||
# Whom: Victor Balada Diaz <victor@alf.dyndns.ws>
|
||||
# Whom: Victor Balada Diaz <victor@bsdes.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= milter-bogom
|
||||
PORTVERSION= 1.7.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.usebox.net/jjm/bogom/ \
|
||||
http://blackshell.usebox.net/bogom/
|
||||
@ -28,9 +29,7 @@ USE_RC_SUBR= milter-bogom.sh
|
||||
PLIST_FILES= sbin/bogom \
|
||||
etc/bogom.conf-example
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= README CHANGELOG
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/bogom.8
|
||||
@ -42,7 +41,7 @@ post-patch:
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/bogom ${PREFIX}/sbin
|
||||
@${INSTALL_MAN} ${WRKSRC}/bogom.8 ${PREFIX}/man/man8
|
||||
@${INSTALL_MAN} ${WRKSRC}/bogom.8 ${MAN8PREFIX}/man/man8
|
||||
@${INSTALL_DATA} ${WRKSRC}/bogom.conf-example ${PREFIX}/etc
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
@ -11,7 +11,8 @@ pw user show bogomilter > /dev/null 2>&1
|
||||
if [ $? != 0 ]
|
||||
then
|
||||
echo "===> Adding user bogomilter"
|
||||
pw useradd bogomilter -u 174 -c "milter-bogom"
|
||||
pw useradd bogomilter -u 174 -c "milter-bogom" -s /sbin/nologin \
|
||||
-d /nonexistent
|
||||
else
|
||||
echo "===> Using existing user bogomilter"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user