Date: Tue, 07 Jan 2014 12:49:40 +0900 From: Takefu <takefu@airport.fm> To: freebsd-ports-bugs@freebsd.org Subject: Re: ports/185286: Re: ports/185285: [PATCH] mail/qpopper: fix StageDir Message-ID: <52CB7954.1050905@airport.fm> In-Reply-To: <201312310318.rBV3IE5E095111@freefall.freebsd.org> References: <201312310318.rBV3IE5E095111@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Having sent it last time was wrong. The following are correct patches. --- qpopper-4.1.0_1.patch begins here --- diff -ruN /usr/ports/mail/qpopper/GIDs ./GIDs --- /usr/ports/mail/qpopper/GIDs 1970-01-01 09:00:00.000000000 +0900 +++ ./GIDs 2013-10-01 09:54:17.000000000 +0900 @@ -0,0 +1 @@ +daemon:*:1: diff -ruN /usr/ports/mail/qpopper/Makefile ./Makefile --- /usr/ports/mail/qpopper/Makefile 2013-09-21 04:59:12.000000000 +0900 +++ ./Makefile 2014-01-07 12:34:24.000000000 +0900 @@ -12,8 +12,9 @@ MAINTAINER= bc979@lafn.org COMMENT= Berkeley POP 3 server (now maintained by Qualcomm) +#LICENSE_FILE= ${WRKSRC}/License.txt + USE_AUTOTOOLS= autoconf -USE_OPENSSL= yes CONFIGURE_ENV= LIBS="-lcrypt -lmd -lutil -L${LOCALBASE}/lib" \ OS_DEFS="-DSETPROCTITLE ${OS_DEFS}" CONFIGURE_ARGS= --enable-nonauth-file=${POPUSERS_FILE} \ @@ -21,55 +22,49 @@ --enable-keep-temp-drop PLIST_SUB= EPOPPASSD=${EPOPPASSD} \ - POP_USER=${POP_USER} \ - POP_GROUP=${POP_GROUP} \ + USERS=${USERS} \ + GROUPS=${GROUPS} \ POP_MODE_DIR=${POP_MODE_DIR} \ POP_MODE_CONF=${POP_MODE_CONF} \ QPOPAUTH=${QPOPAUTH} -MAN8= qpopper.8 - SUB_FILES= pkg-message # internal configuration -POP_USER= pop -POP_GROUP= daemon +USERS?= pop +GROUPS?= daemon +GID_FILES+= ../../GIDs ${.CURDIR}/GIDs POP_MODE_DIR= 0711 POP_MODE_CONF= 0444 POPUSERS_FILE= ${ETCDIR}/popusers SAMPLE_EXT= .sample -# + PKGDEINSTALL= ${PKGINSTALL} -OPTIONS_DEFINE= APOP_ONLY APOP DOCUMENTATION DRAC FULL_POPD_DEBUG PAM \ +OPTIONS_DEFINE= APOP_ONLY APOP DOCS DRAC FULL_POPD_DEBUG PAM \ POPPASSD QPOPAUTH_SETUID SAMPLE_POPUSERS SHY_ENABLED \ SSL STANDALONE_MODE U_OPTION APOP_ONLY_DESC= build with APOP authentication only APOP_DESC= build with APOP -DOCUMENTATION_DESC= install pdf documentation DRAC_DESC= build with Dynamic Relay Authorization FULL_POPD_DEBUG_DESC= build with more verbose debugging -PAM_DESC= build with PAM authentication POPPASSD_DESC= build the poppassd daemon QPOPAUTH_SETUID_DESC= install qpopauth setuid to pop user SAMPLE_POPUSERS_DESC= build a default reject file SHY_ENABLED_DESC= hide qpopper version in POP3 banner -SSL_DESC= build with SSL/TLS support STANDALONE_MODE_DESC= build qpopper to be run without inetd U_OPTION_DESC= include support for user .qpopper-options OPTIONS_DEFAULT= APOP QPOPAUTH_SETUID SSL U_OPTION -NO_STAGE= yes .include <bsd.port.options.mk> .if empty(PORT_OPTIONS:MAPOP) QPOPAUTH= "@comment " .else CONFIGURE_ARGS+= --enable-apop=${ETCDIR}/pop.auth \ - --with-apopuid=pop -MAN8+= qpopauth.8 + --with-popuid=${USERS} QPOPAUTH= "" # If WITH_APOP_ONLY variable present in the environment, qpopper builds # with APOP authentication only. @@ -78,12 +73,6 @@ .endif .endif -# Do not install documentation since it is in pdf format and normally -# not used unless user wants it. -.if empty(PORT_OPTIONS:MDOCUMENTATION) -NOPORTDOCS= yes -.endif - # If WITH_DRAC variable present in the environment, qpopper builds # with Dynamic Relay Authorization Control support. .if ${PORT_OPTIONS:MDRAC} @@ -106,8 +95,8 @@ # with poppassd support. .if ${PORT_OPTIONS:MPOPPASSD} CONFIGURE_ARGS+= --enable-poppassd -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-password::poppassd.c \ - ${FILESDIR}/extra-patch-password::auth_user.c +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-password__poppassd.c \ + ${FILESDIR}/extra-patch-password__auth_user.c EPOPPASSD= "" .else EPOPPASSD= "@comment " @@ -128,6 +117,7 @@ # The default is to build without SSL/TLS support. .if ${PORT_OPTIONS:MSSL} +USE_OPENSSL= yes CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .endif @@ -139,11 +129,11 @@ @${REINPLACE_CMD} -e \ 's|\$${sbindir}/sendmail|${LOCALBASE}/sbin/sendmail|g' \ ${WRKSRC}/configure.in -.if defined(WITH_POPPASSD) +.if ${PORT_OPTIONS:MPOPPASSD} @${REINPLACE_CMD} -e 's|/usr/bin/smbpasswd|${LOCALBASE}/bin/smbpasswd|' \ ${WRKSRC}/password/poppassd.c .endif -.if defined(WITHOUT_U_OPTION) +.if empty(PORT_OPTIONS:MU_OPTION) @${REINPLACE_CMD} -E -e 's|(getopt \(.+)u|\1|' \ ${WRKSRC}/popper/main.c .endif @@ -152,49 +142,56 @@ @(cd ${WRKSRC}; ${CHMOD} u+w configure*) do-install: -.if !defined(WITHOUT_APOP) - @${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${PREFIX}/bin/qpopauth +.if ${PORT_OPTIONS:MAPOP} + @${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${STAGEDIR}${PREFIX}/bin/qpopauth # If WITHOUT_QPOPAUTH_SETUID variable present in the environment, # qpopper does not install qpopauth setuid to pop user so that # anyone can access the pop.auth database. -.if !defined(WITHOUT_QPOPAUTH_SETUID) - @${CHOWN} pop ${PREFIX}/bin/qpopauth - @${CHMOD} u+s ${PREFIX}/bin/qpopauth -.endif - @${INSTALL_MAN} ${WRKSRC}/man/popauth.8 ${MANPREFIX}/man/man8/qpopauth.8 - @${LN} -sf ${PREFIX}/bin/qpopauth ${PREFIX}/bin/qapopauth -.endif - @${INSTALL_PROGRAM} ${WRKSRC}/popper/popper ${PREFIX}/libexec/qpopper - @${INSTALL_MAN} ${WRKSRC}/man/popper.8 ${MANPREFIX}/man/man8/qpopper.8 -.if defined(WITH_POPPASSD) - @${INSTALL_PROGRAM} ${WRKSRC}/password/poppassd ${PREFIX}/libexec/qpoppassd -.endif - @${INSTALL} -d -o ${POP_USER} -g ${POP_GROUP} -m ${POP_MODE_DIR} \ - ${ETCDIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/GUIDE.pdf ${DOCSDIR} +.if ${PORT_OPTIONS:MQPOPAUTH_SETUID} + @${CHOWN} ${USERS} ${STAGEDIR}${PREFIX}/bin/qpopauth + @${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/qpopauth +.endif + @${INSTALL_MAN} ${WRKSRC}/man/popauth.8 ${STAGEDIR}${MANPREFIX}/man/man8/qpopauth.8 + @${LN} -sf qpopauth ${STAGEDIR}${PREFIX}/bin/qapopauth +.endif + @${INSTALL_PROGRAM} ${WRKSRC}/popper/popper ${STAGEDIR}${PREFIX}/libexec/qpopper + @${INSTALL_MAN} ${WRKSRC}/man/popper.8 ${STAGEDIR}${MANPREFIX}/man/man8/qpopper.8 +.if ${PORT_OPTIONS:MPOPPASSD} + @${INSTALL_PROGRAM} ${WRKSRC}/password/poppassd ${STAGEDIR}${PREFIX}/libexec/qpoppassd +.endif + @${INSTALL} -d -o ${USERS} -g ${GROUPS} -m ${POP_MODE_DIR} \ + ${STAGEDIR}${ETCDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/GUIDE.pdf ${STAGEDIR}${DOCSDIR} .endif post-install: install-conf-file @${CAT} ${PKGMESSAGE} +.if ${PORT_OPTIONS:MPOPPASSD} + @${ECHO_MSG} "" + @${ECHO_MSG} "===============================================================================" + @${ECHO_MSG} "It adds for myself" + @${ECHO_MSG} "/etc/devfs.conf:" + @${ECHO_MSG} "link /dev/pts/0 pty0" + @${ECHO_MSG} "===============================================================================" + @${ECHO_MSG} "" +.endif # based on original from op port, written by Cyrille Lefevre # <clefevre@citeweb.net>. install-conf-file: @if [ ! -f ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} ]; then \ - if [ -f /etc/ftpusers ] && [ -n "${WITH_SAMPLE_POPUSERS}" ]; then \ - ${INSTALL} -c -o ${POP_USER} -g ${POP_GROUP} -m ${POP_MODE_CONF} \ - /etc/ftpusers ${POPUSERS_FILE}${SAMPLE_EXT} ; \ + if [ -f /etc/ftpusers ] && [ -n "${PORT_OPTIONS:MSAMPLE_POPUSERS}" ]; then \ + ${INSTALL} -c -o ${USERS} -g ${GROUPS} -m ${POP_MODE_CONF} \ + /etc/ftpusers ${STAGEDIR}${POPUSERS_FILE}${SAMPLE_EXT} ; \ else \ - ${CP} /dev/null ${POPUSERS_FILE}${SAMPLE_EXT} ; \ - ${CHOWN} ${POP_USER}:${POP_GROUP} ${POPUSERS_FILE}${SAMPLE_EXT} ; \ - ${CHMOD} ${POP_MODE_CONF} ${POPUSERS_FILE}${SAMPLE_EXT} ; \ + ${CP} /dev/null ${STAGEDIR}${POPUSERS_FILE}${SAMPLE_EXT} ; \ + ${CHOWN} ${USERS}:${GROUPS} ${STAGEDIR}${POPUSERS_FILE}${SAMPLE_EXT} ; \ + ${CHMOD} ${POP_MODE_CONF} ${STAGEDIR}${POPUSERS_FILE}${SAMPLE_EXT} ; \ fi ; \ fi - @${INSTALL} -c -m 0640 \ - ${WRKSRC}/samples/qpopper.config ${PREFIX}/etc/qpopper.config${SAMPLE_EXT} - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${INSTALL} -c -o ${USERS} -g ${GROUPS} -m 0640 \ + ${WRKSRC}/samples/qpopper.config ${STAGEDIR}${PREFIX}/etc/qpopper.config${SAMPLE_EXT} .include <bsd.port.post.mk> diff -ruN /usr/ports/mail/qpopper/files/extra-patch-password::auth_user.c ./files/extra-patch-password::auth_user.c --- /usr/ports/mail/qpopper/files/extra-patch-password::auth_user.c 2012-07-14 22:54:48.000000000 +0900 +++ ./files/extra-patch-password::auth_user.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,10 +0,0 @@ ---- password/auth_user.c.orig Fri Mar 14 00:39:42 2003 -+++ password/auth_user.c Fri Mar 14 00:40:02 2003 -@@ -41,6 +41,7 @@ - - - -+#undef SPEC_POP_AUTH - - - static const char *ERRMSG_PW = "Password mismatch for user \"%s\""; diff -ruN /usr/ports/mail/qpopper/files/extra-patch-password::poppassd.c ./files/extra-patch-password::poppassd.c --- /usr/ports/mail/qpopper/files/extra-patch-password::poppassd.c 2012-07-14 22:54:48.000000000 +0900 +++ ./files/extra-patch-password::poppassd.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,28 +0,0 @@ ---- password/poppassd.c.orig Sat May 5 18:50:05 2001 -+++ password/poppassd.c Sat May 5 18:52:59 2001 -@@ -284,6 +284,8 @@ - - static char *P1[] = - { -+ "changing local password for *\nold password: ", /* FreeBSD */ -+ "changing nis password for *\nold password: ", /* FreeBSD NIS */ - "changing password for *\nold password: ", /* shadow */ - "enter login password: ", /* Solaris */ - "old smb password: ", /* smb */ -@@ -301,6 +303,7 @@ - - static char *P3[] = - { -+ "retype new password: ", /* FreeBSD */ - "re-enter new password:*", /* shadow */ - "re-enter new password: ", - "retype new smb password: ", /* smb */ -@@ -309,6 +312,8 @@ - - static char *P4[] = - { -+ "passwd: updating the database...\npasswd: done ", /* FreeBSD */ -+ "nis password has been changed * ", /* FreeBSD NIS */ - "password changed. ", /* shadow */ - "password changed ", /* smb */ - "" diff -ruN /usr/ports/mail/qpopper/files/extra-patch-password__auth_user.c ./files/extra-patch-password__auth_user.c --- /usr/ports/mail/qpopper/files/extra-patch-password__auth_user.c 1970-01-01 09:00:00.000000000 +0900 +++ ./files/extra-patch-password__auth_user.c 2010-07-21 16:56:52.000000000 +0900 @@ -0,0 +1,10 @@ +--- password/auth_user.c.orig Fri Mar 14 00:39:42 2003 ++++ password/auth_user.c Fri Mar 14 00:40:02 2003 +@@ -41,6 +41,7 @@ + + + ++#undef SPEC_POP_AUTH + + + static const char *ERRMSG_PW = "Password mismatch for user \"%s\""; diff -ruN /usr/ports/mail/qpopper/files/extra-patch-password__poppassd.c ./files/extra-patch-password__poppassd.c --- /usr/ports/mail/qpopper/files/extra-patch-password__poppassd.c 1970-01-01 09:00:00.000000000 +0900 +++ ./files/extra-patch-password__poppassd.c 2012-07-14 22:54:48.000000000 +0900 @@ -0,0 +1,28 @@ +--- password/poppassd.c.orig Sat May 5 18:50:05 2001 ++++ password/poppassd.c Sat May 5 18:52:59 2001 +@@ -284,6 +284,8 @@ + + static char *P1[] = + { ++ "changing local password for *\nold password: ", /* FreeBSD */ ++ "changing nis password for *\nold password: ", /* FreeBSD NIS */ + "changing password for *\nold password: ", /* shadow */ + "enter login password: ", /* Solaris */ + "old smb password: ", /* smb */ +@@ -301,6 +303,7 @@ + + static char *P3[] = + { ++ "retype new password: ", /* FreeBSD */ + "re-enter new password:*", /* shadow */ + "re-enter new password: ", + "retype new smb password: ", /* smb */ +@@ -309,6 +312,8 @@ + + static char *P4[] = + { ++ "passwd: updating the database...\npasswd: done ", /* FreeBSD */ ++ "nis password has been changed * ", /* FreeBSD NIS */ + "password changed. ", /* shadow */ + "password changed ", /* smb */ + "" diff -ruN /usr/ports/mail/qpopper/files/patch-popper::pop_pass.c ./files/patch-popper::pop_pass.c --- /usr/ports/mail/qpopper/files/patch-popper::pop_pass.c 2012-07-14 22:54:48.000000000 +0900 +++ ./files/patch-popper::pop_pass.c 1970-01-01 09:00:00.000000000 +0900 @@ -1,21 +0,0 @@ ---- popper/pop_pass.c.orig Sat Jun 2 02:24:13 2001 -+++ popper/pop_pass.c Sat Sep 8 00:26:27 2001 -@@ -1226,6 +1226,18 @@ - return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_PW, p->user ) ); - } - -+# ifdef FREEBSD -+ -+ /* -+ * Nor from expired accounts -+ */ -+ if (pw->pw_expire != 0 && pw->pw_expire <= time(NULL)) { -+ sleep ( SLEEP_SECONDS ); -+ return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_ACEXP, p->user ) ); -+ } -+ -+# endif /* FreeBSD */ -+ - return ( POP_SUCCESS ); - } - diff -ruN /usr/ports/mail/qpopper/files/patch-popper__pop_pass.c ./files/patch-popper__pop_pass.c --- /usr/ports/mail/qpopper/files/patch-popper__pop_pass.c 1970-01-01 09:00:00.000000000 +0900 +++ ./files/patch-popper__pop_pass.c 2010-07-21 16:56:52.000000000 +0900 @@ -0,0 +1,21 @@ +--- popper/pop_pass.c.orig Sat Jun 2 02:24:13 2001 ++++ popper/pop_pass.c Sat Sep 8 00:26:27 2001 +@@ -1226,6 +1226,18 @@ + return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_PW, p->user ) ); + } + ++# ifdef FREEBSD ++ ++ /* ++ * Nor from expired accounts ++ */ ++ if (pw->pw_expire != 0 && pw->pw_expire <= time(NULL)) { ++ sleep ( SLEEP_SECONDS ); ++ return ( pop_msg ( p, POP_FAILURE, HERE, ERRMSG_ACEXP, p->user ) ); ++ } ++ ++# endif /* FreeBSD */ ++ + return ( POP_SUCCESS ); + } + diff -ruN /usr/ports/mail/qpopper/files/qpopper.in ./files/qpopper.in --- /usr/ports/mail/qpopper/files/qpopper.in 2012-07-14 22:54:48.000000000 +0900 +++ ./files/qpopper.in 2013-10-02 17:54:17.000000000 +0900 @@ -1,23 +1,21 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/qpopper/files/qpopper.in,v 1.1 2012-02-14 21:35:43 dougb Exp $ -# # PROVIDE: qpopper -# REQUIRE: SERVERS +# REQUIRE: DAEMON # KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable qpopper: -# qpopper_enable="YES" + +# qpopper_enable (bool): Set to NO by default. +# Set it to YES to enable qpopper. +# qpopper_flags (str): Set to "-f %%PREFIX%%/etc/qpopper.config" by default. . /etc/rc.subr name=qpopper rcvar=qpopper_enable -load_rc_config $name - -qpopper_enable=${qpopper_enable:-"NO"} - -command=%%PREFIX%%/libexec/qpopper +load_rc_config ${name} +: ${qpopper_enable:="NO"} +: ${qpopper_flags:="110 -S -f %%PREFIX%%/etc/${name}.config"} +command="%%PREFIX%%/libexec/${name}" run_rc_command "$1" diff -ruN /usr/ports/mail/qpopper/pkg-descr ./pkg-descr --- /usr/ports/mail/qpopper/pkg-descr 2012-07-14 22:54:48.000000000 +0900 +++ ./pkg-descr 2013-09-25 19:20:21.000000000 +0900 @@ -3,4 +3,4 @@ Don't forget to edit /etc/inetd.conf to enable the server after installation. -WWW: http://www.eudora.com/products/unsupported/qpopper/ +WWW: http://www.eudora.com/products/unsupported/qpopper/ diff -ruN /usr/ports/mail/qpopper/pkg-install ./pkg-install --- /usr/ports/mail/qpopper/pkg-install 2012-07-14 22:54:48.000000000 +0900 +++ ./pkg-install 1970-01-01 09:00:00.000000000 +0900 @@ -1,53 +0,0 @@ -#!/bin/sh -# $FreeBSD: mail/qpopper/pkg-install 300896 2012-07-14 13:54:48Z beat $ - -# based on original from op port, written by Cyrille Lefevre -# <clefevre@citeweb.net> - -[ $# != 2 ] && exit 1 -PKGNAME=$1 -ACTION=$2 - -CONF_DIR=${PKG_PREFIX}/etc/qpopper - -CONF_FILE=popusers -CONF_OWN=pop -CONF_GRP=daemon -CONF_MODE=444 - -SAMP_SUFX=.sample - -INSTALL=install -CMP=cmp -RM=rm - -case "$ACTION" in - -POST-INSTALL) - if [ -f ${CONF_DIR}/${CONF_FILE} ]; then - echo "$PKGNAME: Will not overwrite existing ${CONF_DIR}/${CONF_FILE} file." - else - ${INSTALL} -c -o ${CONF_OWN} -g ${CONF_GRP} -m ${CONF_MODE} \ - ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} \ - ${CONF_DIR}/${CONF_FILE} - fi - ;; - -DEINSTALL) - if ${CMP} -s ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} \ - ${CONF_DIR}/${CONF_FILE}; then - ${RM} -f ${CONF_DIR}/${CONF_FILE} - else - echo "$PKGNAME: Will not remove existing ${CONF_DIR}/${CONF_FILE} file." - fi - ;; - -PRE-INSTALL|POST-DEINSTALL) - ;; - -*) - exit 1 - ;; -esac - -exit diff -ruN /usr/ports/mail/qpopper/pkg-plist ./pkg-plist --- /usr/ports/mail/qpopper/pkg-plist 2012-07-14 22:54:48.000000000 +0900 +++ ./pkg-plist 2014-01-07 12:26:43.000000000 +0900 @@ -1,9 +1,9 @@ %%QPOPAUTH%%bin/qpopauth -%%QPOPAUTH%%@unexec rm -f %D/bin/qapopauth -%%QPOPAUTH%%@exec ln -sf %D/bin/qpopauth %D/bin/qapopauth +%%QPOPAUTH%%bin/qapopauth +man/man8/qpopper.8.gz +%%QPOPAUTH%%man/man8/qpopauth.8.gz libexec/qpopper %%EPOPPASSD%%libexec/qpoppassd -@exec mkdir -p %%ETCDIR%% && chown %%POP_USER%%:%%POP_GROUP%% %%ETCDIR%% && chmod %%POP_MODE_DIR%% %%ETCDIR%% %%ETCDIR%%/popusers.sample etc/qpopper.config.sample %%PORTDOCS%%%%DOCSDIR%%/GUIDE.pdf diff -ruN /usr/ports/mail/qpopper/pkg-req ./pkg-req --- /usr/ports/mail/qpopper/pkg-req 2012-07-14 22:54:48.000000000 +0900 +++ ./pkg-req 1970-01-01 09:00:00.000000000 +0900 @@ -1,13 +0,0 @@ -if [ "$2" != "INSTALL" ]; then - exit 0 -fi -if ! id -u pop > /dev/null 2>&1; then - echo "You need an account \"pop\" to install this package." - echo "Please add it by hand (try \"man vipw\") and try again." - echo "" - echo "An example passwd entry is:" - echo "pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent" - echo "" - exit 1 -fi -exit 0 diff -ruN /usr/ports/mail/qpopper/scripts/pre-install ./scripts/pre-install --- /usr/ports/mail/qpopper/scripts/pre-install 2012-07-14 22:54:48.000000000 +0900 +++ ./scripts/pre-install 1970-01-01 09:00:00.000000000 +0900 @@ -1,16 +0,0 @@ -#!/bin/sh -if ! id -u pop > /dev/null 2>&1; then - echo "You need an account \"pop\" to install this package." - echo "Please add it by hand (try \"man vipw\") and try again." - echo "" - echo "An example passwd entry is:" - echo "pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent" - echo "" - exit 1 -fi -usrdir=${PREFIX}/etc/qpopper -if [ ! -d $usrdir ]; then - mkdir -p $usrdir -fi -chown pop:daemon $usrdir -chmod 700 $usrdir --- qpopper-4.1.0_1.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52CB7954.1050905>