public inbox for gentoo-user-fr@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-fr] Cherche aide pour création ebuild...
@ 2012-04-16 14:37 Ivan Havlicek
  2012-04-16 14:54 ` BARTHELERY Frédéric
  2012-09-09 20:40 ` [gentoo-user-fr] Mailing list Funtoo M. ROPA
  0 siblings, 2 replies; 20+ messages in thread
From: Ivan Havlicek @ 2012-04-16 14:37 UTC (permalink / raw
  To: gentoo-user-fr


[-- 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..."
}

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-09-24  9:02 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16 14:37 [gentoo-user-fr] Cherche aide pour création ebuild Ivan Havlicek
2012-04-16 14:54 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox