ports/85191: [PATCH] misc/linux-opengroupware

Serge Gagnon serge.gagnon at b2b2c.ca
Sun Aug 21 17:40:11 UTC 2005


>Number:         85191
>Category:       ports
>Synopsis:       [PATCH] misc/linux-opengroupware
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 21 17:40:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix1.dyndns.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Aug 6 12:15:25 EDT 2005 root at quenix1.dyndns.org:/usr/obj/usr/src/sys/OCEAN i386


>Description:

	- Fix MASTER_SITES (Makefile)
	- Add two missing symlink in ${LINUXBASE}/lib/ (Makefile)
	- Now load graphic with apache (scripts/patch_apache_version.pl)
	- Administrator must change/comment out a line in ${LOCALBASE}/etc/rc.d/ogo.sh in order to
	start OpenGroupware without an error message

>How-To-Repeat:
>Fix:


--- patch-linux-opengroupware begins here ---
diff -urN misc/linux-opengroupware.orig/Makefile misc/linux-opengroupware/Makefile
--- misc/linux-opengroupware.orig/Makefile	Mon Aug 22 12:43:20 2005
+++ misc/linux-opengroupware/Makefile	Mon Aug 22 13:14:18 2005
@@ -8,8 +8,8 @@
 PORTVERSION=	1.0
 PORTREVISION=	4
 CATEGORIES=	misc www linux
-MASTER_SITES=	http://download.opengroupware.org/packages/freebsd/linux-opengroupware/RPMS/:ogo \
-		http://download.opengroupware.org/packages/freebsd/linux-opengroupware/NGOBJWEB/:ngo \
+MASTER_SITES=	http://download.opengroupware.org/nightly/packages/freebsd/linux-opengroupware/RPMS/:ogo \
+		http://download.opengroupware.org/nightly/packages/freebsd/linux-opengroupware/NGOBJWEB/:ngo \
 		${MASTER_SITE_REDHAT_LINUX}
 MASTER_SITE_SUBDIR= updates/8.0/en/os/${MACHINE_ARCH}
 PKGNAMEPREFIX=	linux-
@@ -204,6 +204,8 @@
 	@${ECHO} '/opt/opengroupware.org/Libraries/ix86/linux-gnu/gnu-fd-nil' >>${LINUXBASE}/etc/ld.so.conf
 	@${ECHO} '/usr/kerberos/lib' >>${LINUXBASE}/etc/ld.so.conf
 	@${LN} -sf ${LINUXBASE}/usr/lib/libpq.so.2 ${LINUXBASE}/usr/lib/libpq.so.3
+	@${LN} -sf ${LINUXBASE}/lib/libssl.so.0.9.6b ${LINUXBASE}/lib/libssl.so.9.6
+	@${LN} -sf ${LINUXBASE}/lib/ibcrypto.so.0.9.6b ${LINUXBASE}/lib/libcrypto.so.2
 	@${PREFIX}/sbin/ldconfig
 	@${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
 	@${CHOWN} -Rh ogo:skyrix ${LINUXBASE}/opt/skyrix
diff -urN misc/linux-opengroupware.orig/files/ogo.sh.sample misc/linux-opengroupware/files/ogo.sh.sample
--- misc/linux-opengroupware.orig/files/ogo.sh.sample	Mon Aug 22 13:18:48 2005
+++ misc/linux-opengroupware/files/ogo.sh.sample	Mon Aug 22 13:22:42 2005
@@ -25,7 +25,8 @@
 
 	[ -x ${OGO_BIN} ] && {
 		su -l ${OGO_USER} -c \
-			"./WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware >>${LOG} 2>&1 &"
+# the next line must be comment out and modified to reflect your configuration in order to start OpenGroupware
+#			"./WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware -WOHttpAllowHost '(localhost, you.yourdomain.org)' >>${LOG} 2>&1 &"
 		echo 'OpenGroupware started.'
 		echo "**** RECEIVED 'start' from STARTSCRIPT at `date` ****" >>${LOG}
 	}
diff -urN misc/linux-opengroupware.orig/scripts/patch_apache_version.pl misc/linux-opengroupware/scripts/patch_apache_version.pl
--- misc/linux-opengroupware.orig/scripts/patch_apache_version.pl	Mon Aug 22 12:47:57 2005
+++ misc/linux-opengroupware/scripts/patch_apache_version.pl	Mon Aug 22 13:01:55 2005
@@ -38,6 +38,12 @@
 	print AI "</LocationMatch>\n";
 	print AI "\n";
 	print AI "Alias /OpenGroupware.woa/WebServerResources/ \"/compat/linux/opt/opengroupware.org/WebServerResources/\"\n";
+	print AI "<Directory \"/compat/linux/opt/opengroupware.org/WebServerRessources/\">\n";
+	print AI "\tOptions Indexes Multiviews\n";
+	print AI "\tAllowOverride None\n";
+	print AI "\tOrder allow,deny\n";
+	print AI "\tAllow from all\n";
+	print AI "</Directory>\n";
 		print AI "Alias /ArticleImages \"/compat/linux/opt/opengroupware.org/news\"\n";
 	close(AI);
 } else {
--- patch-linux-opengroupware ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list