ports/129462: [NEW PORT]misc/orangehrm:Open Source Human Resource Management

Wen Heping wenheping at gmail.com
Sat Dec 6 13:40:03 UTC 2008


>Number:         129462
>Category:       ports
>Synopsis:       [NEW PORT]misc/orangehrm:Open Source Human Resource Management
>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:   Sat Dec 06 13:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov  6 00:32:12 UTC 2008     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
OrangeHRM is an Open Source HRM information system that will
provide a vast range of features to manage the crucial
organization asset - people. It provides a perfect platform
for re-engineering and aligning your HR processes along with
the organizational goals.

WWW:    http://www.orangehrm.com
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	orangehrm
#	orangehrm/files
#	orangehrm/files/pkg-message.in
#	orangehrm/pkg-descr
#	orangehrm/distinfo
#	orangehrm/Makefile
#
echo c - orangehrm
mkdir -p orangehrm > /dev/null 2>&1
echo c - orangehrm/files
mkdir -p orangehrm/files > /dev/null 2>&1
echo x - orangehrm/files/pkg-message.in
sed 's/^X//' >orangehrm/files/pkg-message.in << '4251d5e515e9639d58b2f1464790043f'
XPOST-INSTALL CONFIGURATION FOR OrangeHRM
X=====================================
X
X1) Add the following to your Apache configuration, and
X   restart the server:
X
X   ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X   Alias /orangehrm %%PREFIX%%/www/orangehrm/
X   AcceptPathInfo On
X   <Directory %%PREFIX%%/www/orangehrm>
X      AllowOverride None
X      Order Allow,Deny
X      Allow from all 
X   </Directory>
X
X2) Visit your OrangeHRM site with a browser (i.e.,
X   http://your.server.com/orangehrm), and you should
X   be taken to the setup script, which will lead
X   you through creating a configuration file and then
X   setting up OrangeHRM, creating an admin account, etc.
X
XFor more information, see the INSTALL DOCUMENTATION:
X
X   http://www.orangehrm.com/installation-Linux.shtml
X
X================================================================
4251d5e515e9639d58b2f1464790043f
echo x - orangehrm/pkg-descr
sed 's/^X//' >orangehrm/pkg-descr << 'abc7faedb312c722b2b487ddd5f8c35f'
XOrangeHRM is an Open Source HRM information system that will
Xprovide a vast range of features to manage the crucial
Xorganization asset - people. It provides a perfect platform
Xfor re-engineering and aligning your HR processes along with
Xthe organizational goals.
X
XWWW:	http://www.orangehrm.com
abc7faedb312c722b2b487ddd5f8c35f
echo x - orangehrm/distinfo
sed 's/^X//' >orangehrm/distinfo << 'a55d2e977371600dbcd2a2d458eabd1c'
XMD5 (orangehrm-2.4.0.1.tar.gz) = d1b80ba5d1bfda0cfdbd8c34cc7c3e05
XSHA256 (orangehrm-2.4.0.1.tar.gz) = 265aff5cdb3997f2f471c6c337995e5809cd902206f174ee969abfe71d973166
XSIZE (orangehrm-2.4.0.1.tar.gz) = 1806975
a55d2e977371600dbcd2a2d458eabd1c
echo x - orangehrm/Makefile
sed 's/^X//' >orangehrm/Makefile << '9a584921132426a79181dee740885b5b'
X# New ports collection makefile for:	orangehrm
X# Date created:				06 Dec, 2008
X# Whom:					Wen Heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	orangehrm
XPORTVERSION=	2.4.0.1
XCATEGORIES=	www
XMASTER_SITES=	SF
X
XMAINTAINER=	wenheping at gmail.com
XCOMMENT=	Open Source Human Resource Management
X
X.include <bsd.port.pre.mk>
X
XUSE_PHP=	mysql
XNO_BUILD=	yes
XPLIST=		${WRKDIR}/plist
XSUB_FILES=	pkg-message
XHRMDIR=		www/orangehrm
X
Xpre-install:
X	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >${PLIST}
X	@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s#${WRKSRC}#@dirrm ${HRMDIR}#g" >> ${PLIST}
X
Xdo-install:
X	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${HRMDIR}
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${HRMDIR}
X	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${HRMDIR}' \
X		>> ${TMPPLIST}
X	${CHMOD} -R 755 ${PREFIX}/${HRMDIR}
X	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${HRMDIR}' >> ${TMPPLIST}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
9a584921132426a79181dee740885b5b
exit



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



More information about the freebsd-ports-bugs mailing list