Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269443 Details for
Bug 260823
www-apps/otrs-2.4.7 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
otrs-3.0.3.ebuild
otrs-3.0.3.ebuild (text/plain), 4.33 KB, created by
Andreis Vinogradovs ( slepnoga )
on 2011-04-11 05:02:22 UTC
(
hide
)
Description:
otrs-3.0.3.ebuild
Filename:
MIME Type:
Creator:
Andreis Vinogradovs ( slepnoga )
Created:
2011-04-11 05:02:22 UTC
Size:
4.33 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >inherit eutils confutils > >DESCRIPTION="OTRS is an Open source Ticket Request System" >HOMEPAGE="http://otrs.org/" >SRC_URI="http://ftp.otrs.org/pub/${PN}/${P}.tar.bz2" > >LICENSE="AGPL-3" >KEYWORDS="~amd64 ~x86" >IUSE="apache2 cjk fastcgi +gd ldap mod_perl +mysql pdf postgres soap" >SLOT="0" >#WEBAPP_MANUAL_SLOT="yes" > ># FIXME add oracle/mssql/DB2 DB support >DEPEND="" >RDEPEND="${DEPEND} > dev-perl/Authen-SASL > dev-perl/Crypt-PasswdMD5 > dev-perl/CSS-Minifier > dev-perl/Date-Pcalc > mysql? ( dev-perl/DBD-mysql ) > postgres? ( dev-perl/DBD-Pg ) > dev-perl/DBI > cjk? ( >=dev-perl/Encode-HanExtra-0.23 ) > gd? ( dev-perl/GD > dev-perl/GDTextUtil > dev-perl/GDGraph ) > dev-perl/IO-Socket-SSL > >=dev-perl/JavaScript-Minifier-1.05 > >=dev-perl/JSON-2.21 > dev-perl/JSON-XS > dev-perl/LWP-UserAgent-Determined > dev-perl/Mail-POP3Client > dev-perl/MailTools > >=dev-perl/MIME-tools-5.427 > dev-perl/NetxAP > dev-perl/Net-IMAP-Simple-SSL > >dev-perl/Net-DNS-0.60 > dev-perl/Net-SMTP-SSL > dev-perl/Net-SMTP-TLS > dev-perl/IO-stringy > pdf? ( >=dev-perl/PDF-API2-0.73 > virtual/perl-Compress-Raw-Zlib ) > ldap? ( dev-perl/perl-ldap ) > soap? ( > dev-perl/SOAP-Lite > !=dev-perl/SOAP-Lite-0.711 > !=dev-perl/SOAP-Lite-0.712 ) > dev-perl/Text-CSV > dev-perl/Text-CSV_XS > dev-perl/TimeDate > dev-perl/XML-Parser > > virtual/perl-MIME-Base64 > >=virtual/perl-CGI-3.33 > virtual/perl-libnet > virtual/perl-Digest-MD5 > >=virtual/perl-Digest-SHA-5.48 > > virtual/mta > > apache2? ( mod_perl? ( www-servers/apache:2 > =www-apache/libapreq2-2* www-apache/mod_perl ) > fastcgi? ( || ( www-apache/mod_fcgid www-apache/mod_fastcgi ) > www-servers/apache:2[suexec] ) > !fastcgi? ( > !mod_perl? ( www-servers/apache:2[suexec] ) ) > ) > fastcgi? ( dev-perl/FCGI virtual/httpd-fastcgi ) > !fastcgi? ( > !apache2? ( virtual/httpd-cgi ) )" > ># dev-perl/libwww-perl > >OTRS_HOME="/var/lib/otrs" > >pkg_setup() { > enewuser otrs -1 -1 ${OTRS_HOME} apache -c "OTRS User" > confutils_require_any mysql postgres ># confutils_use_depend_all mod_perl apache2 >} > >src_prepare() { > rm -fr "${S}/scripts"/{auto_*,redhat*,suse*,*.spec} || die > cp Kernel/Config.pm{.dist,} || die > # procmail/fetchmail/mailfilter ># local mailrc=".fetchmailrc .mailfilter .procmailrc" ># for i in ${mailrc}; do ># mv ${i}{.dist,} || die ># done ># fperms 600 ${mailrc} || die ># fowners otrs ${mailrc} || die > > sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" "${S}"/Kernel/Config.pm \ > || die "sed failed" > > grep -lR "/opt" "${S}"/scripts | \ > xargs sed -i -e "s:/opt/otrs:${OTRS_HOME}:g" \ > || die "sed failed" > > cd Kernel/Config/ || die > for i in *.dist; do > cp ${i} $(basename ${i} .dist) || die > done > > perl "${S}"/bin/otrs.SetPermissions.pl \ > --otrs-user=otrs \ > --web-user=apache \ > --otrs-group=apache \ > --web-group=apache "${S}" \ > || die "Could not set permissions" > > echo "CONFIG_PROTECT=\"${OTRS_HOME}/Kernel/Config.pm \ > ${OTRS_HOME}/Kernel/Config/GenericAgent.pm\"" > "${T}/50${PN}" > ># if use fastcgi; then ># cd "${S}" || die ># epatch "${FILESDIR}"/apache2-3.0.patch ># sed -e "s|cgi-bin|fcgi-bin|" \ ># -i scripts/apache2-httpd.include.conf || die ># fi >} > >src_install() { > dodoc CHANGES CREDITS INSTALL README* TODO UPGRADING \ > doc/otrs-database.dia doc/X-OTRS-Headers.txt || die > > dodoc doc/manual/en/otrs_admin_book.pdf > > insinto "${OTRS_HOME}" > doins -r .fetchmailrc.dist .mailfilter.dist .procmailrc.dist RELEASE \ > Custom Kernel bin scripts var || die "doins failed" > > cat "${S}"/var/cron/*.dist > crontab > insinto /usr/share/doc/${PF}/ > doins crontab > > for a in article log pics/images pics/stats pics sessions spool tmp tmp/CacheFileStorable; do > keepdir "${OTRS_HOME}/var/${a}" > done > doenvd "${T}/50${PN}" || die >} > >pkg_config() { > einfo "Installing cronjobs" > crontab -u otrs /usr/share/doc/${PF}/crontab >} > >pkg_postinst() { > elog "Add cronjobs from with following command:" > elog "crontab -u otrs crontab" ># ewarn "webapp-config will not be run automatically" ># ewarn "That messes up Apache configs" ># ewarn "Don't run webapp-config with -d otrs. Instead, try" ># ewarn "webapp-config -I -h <host> -d ot ${PN} ${PVR}" ># ewarn > ># if ! use apache2; then ># ewarn "You did not activate the USE-flag apache2 which means you" ># ewarn "will need to create the otrs user yourself. Make this user" ># ewarn "a member of your webserver group." ># fi ># webapp_pkg_postinst >}
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 260823
:
203514
|
205510
|
223937
|
223939
|
223941
|
224393
|
234701
|
246055
|
247952
|
251975
|
251977
| 269443