Index: head/net/freebsd-uucp/Makefile =================================================================== --- head/net/freebsd-uucp/Makefile (revision 377947) +++ head/net/freebsd-uucp/Makefile (revision 377948) @@ -1,101 +1,101 @@ # Created by: Kris Kennaway # $FreeBSD$ PORTNAME= freebsd-uucp PORTVERSION= 1.07.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net comms ipv6 PKGNAMESUFFIX?= ${PAM_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= FreeBSD-modified Taylor UUCP (unix-to-unix copy program) NEED_ROOT= yes USE_GITHUB= yes GH_ACCOUNT= dinoex GH_TAGNAME= r1_07_3 GH_COMMIT= 6355e29 PKGMESSAGE= ${WRKDIR}/pkg-message INFO= uucp VARLOG= uucp/common_sources/policy.h uucp/uucico/uucico.8 \ uucp/uucp/uucp.1 uucp/uux/uux.1 uucp/uuxqt/uuxqt.8 FIXME= etc/periodic/daily/340.uucp etc/periodic/daily/410.status-uucp \ etc/periodic/weekly/300.uucp # fix errros for -std=iso9899:1999 in FreeBSD 5.1 MAKE_ENV+= CSTD=gnu99 OPTIONS_DEFINE=PAM ENCRYPTED_PASSWORDS VAR_LOG OPTIONS_DEFAULT= OPTIONS_SUB= yes NO_OPTIONS_SORT=yes ENCRYPTED_PASSWORDS_DESC= use encrypted passwords in etc/uucp/sys VAR_LOG_DESC= put logfiles into /var/log .include .if ${PORT_OPTIONS:MPAM} PAM_SUFFIX= -pam MAKE_ENV+= WITH_PAM=${WITH_PAM} CONFLICTS?= freebsd-uucp-1.* .else CONFLICTS?= freebsd-uucp-pam-1.* .endif .if ${PORT_OPTIONS:MENCRYPTED_PASSWORDS} MAKE_ENV+= WITH_ENCRYPTED_PASSWORDS=1 .endif post-extract: ${REINPLACE_CMD} -e 's|doc ||' ${WRKSRC}/uucp/Makefile ${REINPLACE_CMD} -e 's|VERSION=.*|VERSION=${PORTVERSION}|' \ ${WRKSRC}/uucp/common_sources/configure \ ${WRKSRC}/uucp/Makefile.inc ${REINPLACE_CMD} -e 's|(owner)|(uucpowner)|' \ ${WRKSRC}/uucp/uustat/Makefile ${REINPLACE_CMD} -e 's|0770|0750|' ${WRKSRC}/local.mtree do-configure: ${REINPLACE_CMD} -e "s=/usr/local/=${PREFIX}/=" \ ${FIXME:S,^,${WRKSRC}/,} .if ${PORT_OPTIONS:MVAR_LOG} ${REINPLACE_CMD} \ -e "s=/var/spool/uucp/Log=/var/log/uucp/Log=" \ -e "s=/var/spool/uucp/Debug=/var/log/uucp/Debug=" \ -e "s=/var/spool/uucp/Stats=/var/log/uucp/Stats=" \ ${VARLOG:S,^,${WRKSRC}/,} @${ECHO_CMD} " .." >> ${WRKSRC}/uucp.mtree @${ECHO_CMD} "/set uname=root gname=wheel mode=0755" \ >> ${WRKSRC}/uucp.mtree @${ECHO_CMD} " log" >> ${WRKSRC}/uucp.mtree @${ECHO_CMD} "/set uname=uucp gname=uucp mode=0775" \ >> ${WRKSRC}/uucp.mtree @${ECHO_CMD} " uucp" >> ${WRKSRC}/uucp.mtree @${ECHO_CMD} " .." >> ${WRKSRC}/uucp.mtree .endif .if ${PORT_OPTIONS:MENCRYPTED_PASSWORDS} ${REINPLACE_CMD} \ -e "s=HAVE_ENCRYPTED_PASSWORDS.*=HAVE_ENCRYPTED_PASSWORDS 1=" \ ${WRKSRC}/uucp/common_sources/policy.h .endif @${CAT} ${MASTERDIR}/pkg-message > ${WRKDIR}/pkg-message .if ${PORT_OPTIONS:MPAM} @${ECHO_MSG} "" >> ${WRKDIR}/pkg-message @${ECHO_MSG} "Add this lines to your pam.conf:" >> ${WRKDIR}/pkg-message @${CAT} ${FILESDIR}/uucp-pam.conf >> ${WRKDIR}/pkg-message .endif (cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} configure) pre-install: ${MKDIR} ${STAGEDIR}/var post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree ${STAGEDIR}${PREFIX}/info ${INSTALL_DATA} ${WRKSRC}/uucp.mtree ${STAGEDIR}${PREFIX}/etc/mtree/uucp-var.mtree ${INSTALL_DATA} ${WRKSRC}/local.mtree ${STAGEDIR}${PREFIX}/etc/mtree/uucp-local.mtree ${INSTALL_DATA} ${WRKSRC}/uucp/doc/uucp.info ${STAGEDIR}${PREFIX}/info/ .include Index: head/net/freebsd-uucp/pkg-plist =================================================================== --- head/net/freebsd-uucp/pkg-plist (revision 377947) +++ head/net/freebsd-uucp/pkg-plist (revision 377948) @@ -1,65 +1,65 @@ bin/uucp bin/uulog bin/uupick bin/uusched bin/uustat bin/uuto bin/uux etc/mtree/uucp-var.mtree etc/mtree/uucp-local.mtree etc/periodic/daily/340.uucp etc/periodic/daily/410.status-uucp etc/periodic/weekly/300.uucp etc/uucp/call.sample etc/uucp/config.sample etc/uucp/dial.sample etc/uucp/dialcode.sample etc/uucp/passwd.sample etc/uucp/port.sample etc/uucp/sys1.sample etc/uucp/sys2.sample man/man1/cu.1.gz man/man1/uuconv.1.gz man/man1/uucp.1.gz man/man1/uulog.1.gz man/man1/uuname.1.gz man/man1/uupick.1.gz man/man1/uustat.1.gz man/man1/uuto.1.gz man/man1/uux.1.gz man/man8/uuchk.8.gz man/man8/uucico.8.gz man/man8/uusched.8.gz man/man8/uuxqt.8.gz man/man8/uucpd.8.gz @exec chown uucp:uucp %D/etc/uucp @exec chmod 750 %D/etc/uucp libexec/uucpd @group dialer bin/cu bin/uuname libexec/uucp/uucico @group uucp libexec/uucp/uuxqt @group wheel sbin/uuchk sbin/uuconv @dirrmtry etc/mtree @dirrm etc/periodic/daily @dirrm etc/periodic/weekly @dirrm etc/periodic @dirrm etc/uucp @dirrm libexec/uucp @exec pw usermod uucp -s %D/libexec/uucp/uucico -@exec mtree -deU -f etc/mtree/uucp-var.mtree -p /var -@exec mtree -deU -f etc/mtree/uucp-local.mtree -p %D +@exec mtree -deU -f %D/etc/mtree/uucp-var.mtree -p /var +@exec mtree -deU -f %D/etc/mtree/uucp-local.mtree -p %D @unexec rm -d /var/spool/uucppublic 2>/dev/null || true @unexec rm -d /var/spool/uucp/.Preserve 2>/dev/null || true @unexec rm -d /var/spool/uucp/.Sequence 2>/dev/null || true @unexec rm -d /var/spool/uucp/.Status 2>/dev/null || true @unexec rm -d /var/spool/uucp/.Temp 2>/dev/null || true @unexec rm -d /var/spool/uucp/.Xqtdir 2>/dev/null || true @unexec rm -d /var/spool/uucp 2>/dev/null || true %%VAR_LOG%%@unexec rm -d /var/log/uucp 2>/dev/null || true @exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^suucp /etc/services.bak ; echo "suucp 4031/tcp #UUCP over SSL"; echo "suucp 4031/udp #UUCP over SSL") > /etc/services @unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^suucp /etc/services.bak ) > /etc/services