1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 2.6.5

PR:		ports/138677
Submitted by:	Denis Shaposhnikov <dsh@wizard.volgograd.ru> (maintainer)
Feature safe:	yes
This commit is contained in:
Pav Lucistnik 2009-09-15 13:26:32 +00:00
parent 3a99cc0cb9
commit c36ffb7b50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241460
4 changed files with 4905 additions and 2282 deletions

View File

@ -5,6 +5,18 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20090915:
AFFECTS: users of sysutils/gosa
AUTHOR: Denis Shaposhnikov <dsh@wizard.volgograd.ru>
Read
https://oss.gonicus.de/labs/gosa/wiki/DocumentationInstallingUpdatingGOsa
before upgrading this port. And don't forget to check your slapd.conf
because gosa scheme files was changed. If you'll have any troubles during
LDAP migration step try to restart your PHP process.
20090913:
AFFECTS: users of www/ikiwiki
AUTHOR: Henrik Brix Andersen <brix@FreeBSD.org>

View File

@ -6,8 +6,8 @@
#
PORTNAME= gosa
PORTVERSION= 2.5.15
PORTREVISION= 2
PORTVERSION= 2.6.5
DISTVERSIONPREFIX= complete-
CATEGORIES= sysutils www
MASTER_SITES= http://oss.gonicus.de/pub/gosa/ \
http://oss.gonicus.de/pub/gosa/archive/
@ -15,10 +15,12 @@ MASTER_SITES= http://oss.gonicus.de/pub/gosa/ \
MAINTAINER= dsh@wizard.volgograd.ru
COMMENT= Web Based LDAP Administration Program
RUN_DEPENDS= p5-Crypt-SmbHash>=0.12:${PORTSDIR}/security/p5-Crypt-SmbHash
RUN_DEPENDS= p5-Crypt-SmbHash>=0.12:${PORTSDIR}/security/p5-Crypt-SmbHash \
pecl-imagick>=2.2.2:${PORTSDIR}/graphics/pecl-imagick
USE_BZIP2= yes
USE_PHP= gettext iconv imap ldap mhash posix
USE_PHP= gettext iconv imap ldap mbstring mhash mysql pcre posix \
session spl xml zlib
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
@ -26,25 +28,35 @@ REINPLACE_ARGS= -i ""
SUB_FILES= pkg-message
SUB_LIST+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
MAN1= update-gosa.1
MAN5= gosa.conf.5
post-patch:
${REINPLACE_CMD} \
-e 's!"/etc/gosa"!"${ETCDIR}"!g' \
-e 's!"../contrib/"!"${EXAMPLESDIR}/contrib/"!g' \
-e 's!"../contrib"!"${EXAMPLESDIR}/contrib"!g' \
-e 's!"/var/cache/gosa/tmp"!"/tmp"!g' \
${WRKSRC}/include/functions.inc
.for i in admin devel
${RM} -rf ${WRKSRC}/doc/guide/$i
.endfor
${RM} -rf ${WRKSRC}/doc/guide/user/*/lyx-source
${FIND} ${WRKSRC}/doc -name WARNINGS -exec ${RM} -f -- {} +
.for i in doc/guide.xml html/helpviewer.php include/functions_helpviewer.inc
${REINPLACE_CMD} \
-e 's!/usr/bin/php!${PREFIX}/bin/php!g' \
-e 's!("GOSA_HOME", dirname(__FILE__));!("GOSA_HOME", "${WWWDIR}");!g' \
${WRKSRC}/update-gosa
.for i in doc/core/guide.xml html/helpviewer.php include/functions_helpviewer.inc
${REINPLACE_CMD} -e 's!"../doc/!"${DOCSDIR}/!g' ${WRKSRC}/$i
.endfor
${MV} -f ${WRKSRC}/contrib/gosa.conf.5 ${WRKSRC}
do-install:
${MKDIR} ${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"ihtml plugins html include setup locale" ${WWWDIR})
"html ihtml include locale plugins setup" ${WWWDIR})
${INSTALL_SCRIPT} ${WRKSRC}/update-gosa ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/update-gosa.1 ${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/gosa.conf.5 ${MANPREFIX}/man/man5/
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "contrib" ${EXAMPLESDIR})
@ -55,11 +67,12 @@ do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "*" ${DOCSDIR})
. for i in AUTHORS COPYING Changelog FAQ INSTALL README
. for i in AUTHORS COPYING Changelog FAQ INSTALL README README.safemode
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
. endfor
.endif
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (gosa-2.5.15.tar.bz2) = 1f913f736f3eed90e989a26d2067b98e
SHA256 (gosa-2.5.15.tar.bz2) = 198792d314175b4a7801a1b83218b62a42a020a0064ef657785a426c4f54f5b5
SIZE (gosa-2.5.15.tar.bz2) = 3832672
MD5 (gosa-complete-2.6.5.tar.bz2) = 61d96af1ebed7dc0ffb599f3c2967822
SHA256 (gosa-complete-2.6.5.tar.bz2) = 2333b496a866abb9937378398e6df03e1bfe613c6b7f6cb37c46910db4f9fd6e
SIZE (gosa-complete-2.6.5.tar.bz2) = 4133723

File diff suppressed because it is too large Load Diff