diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-06-02 09:17:18 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-06-02 09:17:18 +0000 |
commit | 66b46f185be41ae01d45af406e916de70b17851d (patch) | |
tree | b5a2ccf27007d6a3bdf8b218d2a33d6739c48bb1 | |
parent | - Move to new category x11-themes. (diff) |
- Update to 0.4.6
- symlink ${WWWROOT}/config/shells to /etc/shells
- Change installation method
- move post-install to pkg-message
-rw-r--r-- | sysutils/ldap-account-manager/Makefile | 33 | ||||
-rw-r--r-- | sysutils/ldap-account-manager/distinfo | 4 | ||||
-rw-r--r-- | sysutils/ldap-account-manager/pkg-message | 8 | ||||
-rw-r--r-- | sysutils/ldap-account-manager/pkg-plist | 1 |
4 files changed, 20 insertions, 26 deletions
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile index 8a7609da04c2..caafbe0e91a3 100644 --- a/sysutils/ldap-account-manager/Makefile +++ b/sysutils/ldap-account-manager/Makefile @@ -6,7 +6,7 @@ # PORTNAME= LDAP-Account-Manager -PORTVERSION= 0.4.5 +PORTVERSION= 0.4.6 CATEGORIES= sysutils www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lam @@ -26,24 +26,17 @@ WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION} WWW_ROOT?= www/lam PLIST_SUB+= WWWROOT=${WWW_ROOT} -WWW_DIR= config graphics help lib locale sess style templates tmp +WWW_DATA= index.html config graphics help lib locale sess style templates tmp MYPORTDOCS= HISTORY README TODO docs/* PORTDOCS= * -WWW_OWNED= sess tmp config config config/profiles config/profiles/groups \ - config/profiles/groups/default.prg config/profiles/hosts \ - config/profiles/hosts/default.prh config/profiles/users \ - config/profiles/users/default.pru config/language config/shells \ - config/config.cfg config/lam.conf - LAM_SCRIPTS= lib/createntlm.pl lib/lamdaemon.pl +do-configure: + @${RM} ${WRKSRC}/config/shells + do-install: @${MKDIR} ${PREFIX}/${WWW_ROOT} - @${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/${WWW_ROOT} -.for DIR in ${WWW_DIR} - @${MKDIR} ${PREFIX}/${WWW_ROOT}/${DIR} - @${CP} -Rf ${WRKSRC}/${DIR} ${PREFIX}/${WWW_ROOT} -.endfor + @cd ${WRKSRC} && ${TAR} cf - ${WWW_DATA} | ${TAR} xf - -C ${PREFIX}/${WWW_ROOT} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${MYPORTDOCS} @@ -58,19 +51,11 @@ do-install: @${ECHO_MSG} "===> Setting correct permissions" @${FIND} ${PREFIX}/${WWW_ROOT} -type f -exec ${CHMOD} 644 {} \; @${FIND} ${PREFIX}/${WWW_ROOT} -type d -exec ${CHMOD} 755 {} \; - @cd ${PREFIX}/${WWW_ROOT} ; ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWW_OWNED} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${WWW_ROOT}/* @cd ${PREFIX}/${WWW_ROOT} ; ${CHMOD} 755 ${LAM_SCRIPTS} + @${LN} -sf /etc/shells ${PREFIX}/${WWW_ROOT}/config/shells post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} " To use LDAP-account-manager, you have to install" - @${ECHO_MSG} " and set up Samba 2.x or 3.x schemas." - @${ECHO_MSG} " Like this :" - @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/core.schema" - @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/cosine.schema" - @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/inetorgperson.schema" - @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/nis.schema" - @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/samba.schema" - @${ECHO_MSG} "" + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/sysutils/ldap-account-manager/distinfo b/sysutils/ldap-account-manager/distinfo index 46bcc5041200..dec7e86cc7a1 100644 --- a/sysutils/ldap-account-manager/distinfo +++ b/sysutils/ldap-account-manager/distinfo @@ -1,2 +1,2 @@ -MD5 (ldap-account-manager_0.4.5.tar.gz) = 96c7da5589af0529507b77853057786a -SIZE (ldap-account-manager_0.4.5.tar.gz) = 419753 +MD5 (ldap-account-manager_0.4.6.tar.gz) = 1bea177bf0f93bee3741b977f2f8f80f +SIZE (ldap-account-manager_0.4.6.tar.gz) = 420566 diff --git a/sysutils/ldap-account-manager/pkg-message b/sysutils/ldap-account-manager/pkg-message new file mode 100644 index 000000000000..28f4f29f7c7a --- /dev/null +++ b/sysutils/ldap-account-manager/pkg-message @@ -0,0 +1,8 @@ + To use LDAP-account-manager, you have to install + and set up Samba 2.x or 3.x schemas. + Like this : + include /usr/local/etc/openldap/schema/core.schema + include /usr/local/etc/openldap/schema/cosine.schema + include /usr/local/etc/openldap/schema/inetorgperson.schema + include /usr/local/etc/openldap/schema/nis.schema + include /usr/local/etc/openldap/schema/samba.schema diff --git a/sysutils/ldap-account-manager/pkg-plist b/sysutils/ldap-account-manager/pkg-plist index 218296eca5a3..00bc83d9812d 100644 --- a/sysutils/ldap-account-manager/pkg-plist +++ b/sysutils/ldap-account-manager/pkg-plist @@ -101,6 +101,7 @@ @dirrm %%WWWROOT%%/graphics @dirrm %%WWWROOT%%/config @dirrm %%WWWROOT%%/help +@dirrm %%WWWROOT%%/lib/font/makefont @dirrm %%WWWROOT%%/lib/font @dirrm %%WWWROOT%%/lib @dirrm %%WWWROOT%%/locale/de_DE/LC_MESSAGES |