From: Ivan Havlicek <ivan@modulix.org>
To: gentoo-user-fr@lists.gentoo.org
Subject: [gentoo-user-fr] Cherche aide pour création ebuild...
Date: Mon, 16 Apr 2012 16:37:53 +0200 [thread overview]
Message-ID: <CACha2HCbkM1TXbgCtTAYvn9jLBR_2igS5iReSA8fq9u9buEBpw@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 898 bytes --]
Bonjour,
J'essaye de créer un ebuild pour installer LemonLDAP::NG sur mon serveur.
Malheureusement, il provoque toujours des erreurs à l'installation du type
"SANDBOX ACCESS VIOLATION" quel que soit le répertoire d'installation que
j'essaye...
ACCESS DENIED mkdir: /usr/lemonldap-ng
install: impossible de créer le répertoire « //usr/lemonldap-ng »:
Permission non accordée
...
ACCESS DENIED open_wr:
/usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi/perllocal.pod
/bin/sh: /usr/lib64/perl5/5.12.4/x86_64-linux-thread-multi/perllocal.pod:
Permission non accordée
ACCESS DENIED mkdir: /usr/lib64/perl5/site_perl/5.12.4/Lemonldap
...
Je n'ai plus trop d'idées pour orienter mes recherches...
J'a mis l'ebuild en fichier joint, toute aide sera la bienvenue.
Merci d'avance.
--
Ivan
[-- Attachment #1.2: Type: text/html, Size: 1049 bytes --]
[-- Attachment #2: lemonldap-ng-1.1.2.ebuild --]
[-- Type: application/octet-stream, Size: 2396 bytes --]
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$
EAPI="2"
inherit eutils webapp
DESCRIPTION="Lemonldap is a reverse proxy based on Apache and mod_perl which manages the accesses of protected resources by informations hosted in LDAP."
HOMEPAGE="http://lemonldap-ng.org/"
SRC_URI="http://download.forge.objectweb.org/lemonldap/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="soap doc"
DEPEND="dev-lang/perl
app-admin/apache-tools
dev-perl/Apache-Session
perl-core/MIME-Base64
dev-perl/LWP-UserAgent-Determined
dev-perl/Cache-Cache
dev-perl/IO-String
perl-core/CGI
dev-perl/DBI
dev-perl/Config-IniFiles
dev-perl/regexp-common
dev-perl/convert-pem
dev-perl/Crypt-Rijndael
dev-perl/Crypt-OpenSSL-RSA
dev-perl/Crypt-OpenSSL-X509
dev-perl/HTML-Template
dev-perl/XML-LibXSLT
dev-perl/XML-Simple"
RDEPEND="${DEPEND}
www-apache/mod_perl
www-servers/apache
doc? ( app-text/htmltidy )
soap? ( dev-perl/SOAP-Lite )"
WEBAPP_MANUAL_SLOT="yes"
SLOT="0"
CONF_OPTS="PREFIX=/usr STORAGECONFFILE=/etc/lemonldap-ng.ini"
pkg_setup() {
webapp_pkg_setup
}
src_prepare() {
webapp_src_preinst
}
#src_test() {
# false
#}
src_configure() {
#econf --sysconfdir=$CONFDIR || die "econf problem"
emake configure $CONF_OPTS || die "emake configure problem"
}
src_install() {
ebegin "Installing lemonldap"
#mkdir "/etc/lemonldap-ng"
#mkdir "/usr/lemonldap-ng"
emake install $CONF_OPTS || die "emake install problem"
# Place the documentation in the correct location
dodoc "README INSTALL TODO COPYING changelog"
dodoc "doc/*"
#dodir ${CONFDIR}/pc
#keepdir ${CONFDIR}
#doman lemonldap.8
if [ -e /etc/init.d/apache2 ]; then
sed -i "s+__DIR__+/usr/share/${PF}+" "_example/apache2.conf"
newconfd "/etc/apache2/vhost.d/lemonldap-ng.conf" "_example/apache2.conf"
else
sed -i "s+__DIR__+/usr/share/${PF}+" "_example/apache.conf"
newconfd "/etc/apache/vhost.d/lemonldap-ng.conf" "_example/apache.conf"
fi
#newinitd /etc/init.d/apache2 apache2-lemonldap
#insopts -m 0644
#insinto ${CONFDIR}
#doins "${WORKDIR}/httpd.conf"
#eend $?
webapp_src_install || die "webapp_src_install"
# Make sure that the ownership is correct
#chown -R lemonldap:lemonldap "${D}${CONFDIR}"
eend 0
}
pkg_postinst() {
webapp_pkg_postinst
elog "Installation finished, now may now use lemonldap..."
}
next reply other threads:[~2012-04-16 15:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 14:37 Ivan Havlicek [this message]
2012-04-16 14:54 ` [gentoo-user-fr] Cherche aide pour création ebuild BARTHELERY Frédéric
2012-04-16 15:35 ` Ivan Havlicek
2012-09-09 20:40 ` [gentoo-user-fr] Mailing list Funtoo M. ROPA
2012-09-09 23:07 ` erdnaxeli
2012-09-10 3:31 ` Éric DUNAND
2012-09-10 6:39 ` M. ROPA
2012-09-10 7:04 ` alexis.vasic
[not found] ` <CAEzNzHFq6328WGtX6eXNTHmCbEk9qHu0Sqshv32SdA7U5+LAAg@mail.gmail.com>
2012-09-10 8:12 ` erdnaxeli
2012-09-10 17:36 ` Etienne Hilson
2012-09-10 21:02 ` Jacques Montier
2012-09-11 12:44 ` isAAAc
2012-09-12 17:19 ` Jaguenaud Anthony
2012-09-12 17:53 ` Éric DUNAND
2012-09-12 18:12 ` polytan
2012-09-21 16:43 ` René Bastian
2012-09-21 18:07 ` polytan
2012-09-24 8:16 ` isAAAc
2012-09-12 19:14 ` M. ROPA
2012-09-12 22:14 ` Jaguenaud Anthony
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACha2HCbkM1TXbgCtTAYvn9jLBR_2igS5iReSA8fq9u9buEBpw@mail.gmail.com \
--to=ivan@modulix.org \
--cc=gentoo-user-fr@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox