Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38907 Details for
Bug 62197
Ebuild request for open-xchange
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
open-xchange-0.7.1.ebuild
open-xchange-0.7.1.ebuild (text/plain), 3.91 KB, created by
Leonardo Di Lella
on 2004-09-04 07:29:54 UTC
(
hide
)
Description:
open-xchange-0.7.1.ebuild
Filename:
MIME Type:
Creator:
Leonardo Di Lella
Created:
2004-09-04 07:29:54 UTC
Size:
3.91 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit java-pkg eutils webapp > >DESCRIPTION="A groupware for sharing items with other users" >HOMEPAGE="http://www.open-xchange.org/" >SRC_URI="http://mirror.open-xchange.org/download/${P}.tar.gz" > >LICENSE="GPL-2" >KEYWORDS="~x86" >IUSE="ssl doc" > >S="${WORKDIR}/${PN}.${PV}" > >DEPEND=">=virtual/jdk-1.4 > >=dev-java/java-config-1.2 > dev-db/postgresql > >=www-servers/tomcat-5.0.0 > net-nds/openldap > dev-java/sun-javamail-bin > >=net-www/apache-2.0.0 > sys-apps/findutils > sys-apps/sed > net-www/webapp-config > dev-java/jdbc2-postgresql > dev-java/jdom > dev-java/jikes > dev-java/servletapi > dev-perl/Net-SSLeay > dev-perl/IO-Socket-SSL > dev-perl/XML-NamespaceSupport > dev-perl/XML-SAX-Base > dev-perl/Authen-SASL > dev-perl/Convert-ASN1 > dev-perl/perl-ldap > app-admin/sudo > app-text/ispell > ssl? ( dev-libs/openssl ) > dev-perl/mod_perl" > >pkg_setup() { > webapp_pkg_setup > > # > # Check if postgresql was configured > # > if [ ! -f /var/lib/postgresql/data/PG_VERSION ] ; then > ewarn "Please configure your database first with 'ebuild pkgname config'" > die > fi >} > >src_unpack() { > unpack ${A} ; cd ${S} > rm -rf ${S}/autom4te.cache > aclocal -I m4/ && autoconf || die "reconfigure failed" >} > >src_compile() { > > ./configure \ > --enable-webdav \ > --with-mailjar=${ROOT}/usr/share/sun-javamail-bin/lib/mail.jar \ > --with-activationjar=${ROOT}/usr/share/sun-jaf-bin/lib/activation.jar \ > --with-jsdkjar=${ROOT}/usr/share/servletapi-2.4/lib/servlet-api.jar \ > --with-jdbcjar=${ROOT}/usr/share/jdbc2-postgresql-5/lib/pg73jdbc2.jar \ > --with-jdomjar=${ROOT}/usr/share/jdom/lib/jdom.jar \ > --with-xercesjar=${ROOT}/usr/share/xerces-2/lib/xercesImpl.jar \ > --with-dbname=openexchange \ > --with-dbuser=openexchange \ > --with-runuid=apache \ > --prefix=${D}opt/${PN} || die "bad ./configure" > # --with-dbpass=secret > > # replace the string "jikes" with "modern". We dont want to see all jikes warnings > sed -i "s|jikes|modern|g" build.xml > > emake || die "make failed" > > if use doc ; then > emake javadoc || die "javadoc failed" > fi > > # Replace WORKDIR > find ${S}/lib/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" > find ${S}/bin/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" > find ${S}/sbin/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" > find ${S}/system/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" > find ${S}/webmail/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" > find ${S}/groupware/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" > find ${S}/src/misc/login/ -type f -name login.pm | xargs perl -pi -e "s|${D}|/|g" > find ${S}/conf/ -type f ! -name '*.in' | xargs perl -pi -e "s|${D}|/|g" >} > >src_install() { > # next step is to prepare webapp directory in /usr/share/webapp/open-xchange/ > webapp_src_preinst > > # DOC > dodoc AUTHORS ChangeLog INSTALL NEWS README > > # copy all images, css and javascript > > dodir ${MY_HTDOCSDIR}/cfintranet/ > dodir ${MY_HTDOCSDIR}/cfintranet/webmail > > cd system/www/groupware > cp -r css images javascript ${D}${MY_HTDOCSDIR}/cfintranet/. > cd ../webmail > cp -r css images javascript ${D}${MY_HTDOCSDIR}/cfintranet/webmail/. > > # Install this big thing > > cd ${S} > make \ > PREFIX=${D}opt/${PN} \ > install || die "Failed on make install" > > # create user mailadmin, needed for mailsupport > enewuser mailadmin -1 -1 /dev/null users > ># for file in ${D}${MY_HTDOCSDIR}/cfintranet; do ># echo "${file}" ># webapp_serverowned "${file}" ># done > > # Init script > > exeinto /etc/init.d > insopts -m0755 > newexe ${D}opt/${PN}/etc/init.d/openexchange openexchange > > # Copy rest of cgi scripts > > cd ${D} > insinto ${MY_CGIBINDIR} > insopts -m0755 > newins ${D}opt/${PN}/share/perl/login.pl login.pl > newins ${D}opt/${PN}/share/perl/login.pm login.pm > > # show config > > webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt > webapp_hook_script ${FILESDIR}/reconfig > > # Install webapp > > webapp_src_install >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 62197
:
38529
|
38692
|
38693
|
38705
|
38708
|
38710
|
38778
|
38779
|
38793
|
38831
|
38832
|
38907
|
38908
|
38909
|
38910
|
38911
|
38912
|
38950
|
39161
|
39638
|
40395
|
40677
|
43006
|
45598
|
51564
|
52969
|
57322
|
58355
|
58364
|
58367
|
59319
|
59327
|
61190
|
61191
|
61270
|
62568
|
66393
|
66394
|
66402
|
66592
|
66692
|
66817
|
66818
|
66890
|
66902
|
67034
|
67087
|
67399
|
67511
|
67595
|
67907
|
68648
|
68650
|
68695
|
68701
|
68702
|
68705
|
68706
|
68895
|
68946
|
68947
|
68959
|
68960
|
68961
|
68968
|
68973
|
68981
|
68991
|
68993
|
68994
|
69097
|
69101
|
69139
|
69140
|
69179
|
69205
|
70998
|
72090
|
72748
|
77974
|
77975
|
79765
|
79766
|
79767
|
79851
|
79943
|
79944
|
80431
|
80432
|
83756
|
83946
|
85610
|
87053
|
87995
|
87996
|
87997
|
87998
|
90889
|
94269
|
100851
|
100852
|
105319