Date: Wed, 11 Mar 2009 18:50:05 GMT From: "Vasiliy P. Melnik" <basil@vpm.net.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/132555: fix config.cfg overwriting; fix lamdaemon.pl permissions Message-ID: <200903111850.n2BIo51P023975@www.freebsd.org> Resent-Message-ID: <200903111900.n2BJ07hI078028@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132555 >Category: ports >Synopsis: fix config.cfg overwriting; fix lamdaemon.pl permissions >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Mar 11 19:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Vasiliy P. Melnik >Release: 7.1-RELEASE >Organization: NA >Environment: FreeBSD monkey.lan 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Tue Feb 17 12:04:59 EET 2009 root@monkey.lan:/usr/obj/usr/src/sys/monkey i386 >Description: - fix config.cfg overwriting - fix lamdaemon.pl permissions >How-To-Repeat: >Fix: ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/sysutils/ldap-account-manager/Makefile /root/ldap-account-manager/Makefile --- /usr/ports/sysutils/ldap-account-manager/Makefile 2009-02-10 21:27:52.000000000 +0200 +++ /root/ldap-account-manager/Makefile 2009-03-11 20:45:20.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= ldap-account-manager PORTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= sysutils www MASTER_SITES= SF/${PNAME} DISTNAME= ${PORTNAME:L}-${PORTVERSION} @@ -44,16 +45,16 @@ .endif post-install: - @if [ ! -f ${WWWDIR}/config/config.conf ]; then \ + @if [ ! -f ${WWWDIR}/config/config.cfg ]; then \ ${CP} -p ${WWWDIR}/config/config.cfg_sample ${WWWDIR}/config/config.cfg ; \ fi @if [ ! -f ${WWWDIR}/config/lam.conf ]; then \ ${CP} -p ${WWWDIR}/config/lam.conf_sample ${WWWDIR}/config/lam.conf ; \ fi - @${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 {} \; @${FIND} ${WWWDIR} -type d -exec ${CHMOD} 755 {} \; @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/config ${WWWDIR}/sess ${WWWDIR}/tmp + @${CHMOD} 755 ${WWWDIR}/lib/lamdaemon.pl @${LN} -sf /etc/shells ${WWWDIR}/config/shells @${CAT} ${PKGMESSAGE} ===> Done Patch attached with submission follows: ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/sysutils/ldap-account-manager/Makefile /root/ldap-account-manager/Makefile --- /usr/ports/sysutils/ldap-account-manager/Makefile 2009-02-10 21:27:52.000000000 +0200 +++ /root/ldap-account-manager/Makefile 2009-03-11 20:45:20.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= ldap-account-manager PORTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= sysutils www MASTER_SITES= SF/${PNAME} DISTNAME= ${PORTNAME:L}-${PORTVERSION} @@ -44,16 +45,16 @@ .endif post-install: - @if [ ! -f ${WWWDIR}/config/config.conf ]; then \ + @if [ ! -f ${WWWDIR}/config/config.cfg ]; then \ ${CP} -p ${WWWDIR}/config/config.cfg_sample ${WWWDIR}/config/config.cfg ; \ fi @if [ ! -f ${WWWDIR}/config/lam.conf ]; then \ ${CP} -p ${WWWDIR}/config/lam.conf_sample ${WWWDIR}/config/lam.conf ; \ fi - @${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 {} \; @${FIND} ${WWWDIR} -type d -exec ${CHMOD} 755 {} \; @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/config ${WWWDIR}/sess ${WWWDIR}/tmp + @${CHMOD} 755 ${WWWDIR}/lib/lamdaemon.pl @${LN} -sf /etc/shells ${WWWDIR}/config/shells @${CAT} ${PKGMESSAGE} ===> Done >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903111850.n2BIo51P023975>