Bug 132555 - sysutils/ldap-account-manager: fix config.cfg overwriting; fix lamdaemon.pl permissions
Summary: sysutils/ldap-account-manager: fix config.cfg overwriting; fix lamdaemon.pl p...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 19:00 UTC by basil
Modified: 2009-03-13 01:10 UTC (History)
0 users

See Also:


Attachments
file.txt (1.16 KB, text/plain)
2009-03-11 19:00 UTC, basil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description basil 2009-03-11 19:00:07 UTC
- fix config.cfg overwriting
- fix lamdaemon.pl permissions

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:
Comment 1 Xin LI freebsd_committer freebsd_triage 2009-03-13 01:06:33 UTC
State Changed
From-To: open->closed

Committed, thanks! 


Comment 2 Xin LI freebsd_committer freebsd_triage 2009-03-13 01:06:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Take so I get follow-ups.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-03-13 01:06:36 UTC
delphij     2009-03-13 01:06:27 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/ldap-account-manager Makefile 
  Log:
   - fix config.cfg overwriting
   - fix lamdaemon.pl permissions
  
  Submitted by:   maintainer
  PR:             ports/132555
  
  Revision  Changes    Path
  1.36      +3 -2      ports/sysutils/ldap-account-manager/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"