View previous topic :: View next topic |
Author |
Message |
battistis Apprentice
Joined: 20 Jul 2006 Posts: 249
|
Posted: Sat Sep 09, 2006 11:50 am Post subject: emergere prozilla-2.0.4 [Risolto] |
|
|
salve ho provato ad emerge prozilla segnato come masked
ma non capisco perchè emerge fallisca
questo è l'errore:
Code: |
battisti@rizla ~ $ ACCEPT_KEYWORDS="~x86" emerge -pv =www-client/prozilla-1.3.7.3
*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.
These are the packages that would be merged, in order:
Calculating dependencies
!!! All ebuilds that could satisfy "=www-client/prozilla-1.3.7.3" have been masked.
!!! One of the following masked packages is required to complete your request:
- www-client/prozilla-1.3.7.3 (masked by: package.mask)
# Tavis Ormandy <taviso@gentoo.org> (09 Feb 2005)
# Masked pending security audit.
|
ho provato anche ad aggiungere alternativamente una di queste due righe al file /etc/portage/package.keywords
Code: |
=www-client/prozilla-1.3.7.3
www-client/prozilla ~x86
|
e il risultato è sempre lo stesso
eppure emerge -s prozilla mi dice:
Code: | Searching...
[ Results for search key : prozilla ]
[ Applications found : 1 ]
* www-client/prozilla [ Masked ]
Latest version available: 1.3.7.3
Latest version installed: [ Not Installed ]
Size of files: 213 kB
Homepage: http://prozilla.genesys.ro/
Description: A download manager
License: GPL-2
|
_________________ \\ba7/
Last edited by battistis on Sun Sep 10, 2006 5:37 pm; edited 1 time in total |
|
Back to top |
|
|
makoomba Bodhisattva
Joined: 03 Jun 2004 Posts: 1856
|
Posted: Sat Sep 09, 2006 12:41 pm Post subject: |
|
|
Code: | www-client/prozilla-1.3.7.3 (masked by: package.mask) |
vuol dire che il pacchetto è hard-masked, per installarlo va inserito in package.unmask.
cosa che non funzionerà comunque, considerato che quell'ebuild è stato rimosso da portage.
edit:
o meglio, funziona solo se i distfiles sono ancora disponibili e non fai un sync _________________ When all else fails, read the instructions. |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sat Sep 09, 2006 1:54 pm Post subject: |
|
|
makoomba wrote: | Code: | www-client/prozilla-1.3.7.3 (masked by: package.mask) |
vuol dire che il pacchetto è hard-masked, per installarlo va inserito in package.unmask.
cosa che non funzionerà comunque, considerato che quell'ebuild è stato rimosso da portage.
edit:
o meglio, funziona solo se i distfiles sono ancora disponibili e non fai un sync |
E' stato buttato fuori per mancanza di supporto e per la marea di problemi di sicurezza (please search in bugs.gentoo.org).
Se vuoi, io ho fatto un ebuild per la 2.qualcosa.
Allora, nell'overlay, crea le directory www-client/prozilla e la cartella www-client/prozilla/files.
Copia nel file www-client/prozilla/files/prozilla-2.0.4-download_win.h.patch il seguente codice (patch che ho dovuto fare per... errore di programmazione!):
Code: |
--- src/download_win.h.orig 2006-09-03 13:08:38.945141750 +0200
+++ src/download_win.h 2006-09-03 13:08:55.062149000 +0200
@@ -52,7 +52,7 @@
void handle_joining_thread();
void handle_dl_fatal_error();
void cleanup(boolean erase_dlparts);
- void DL_Window::print_status(download_t * download, int quiet_mode);
+ void print_status(download_t * download, int quiet_mode);
connection_t *connection;
download_t *download;
|
copia nel file www-client/prozilla/prozilla-2.0.4.ebuild il seguente codice (ebuild):
Code: |
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/prozilla/prozilla-2.0.4.ebuild,v 1.0 2006/09/09 12:10:52 comio Exp $
inherit eutils
DESCRIPTION="A download manager"
HOMEPAGE="http://prozilla.genesys.ro/"
SRC_URI="http://prozilla.genesys.ro/downloads/prozilla/tarballs/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc ~ppc amd64"
IUSE=""
RDEPEND="virtual/libc
>=sys-libs/ncurses-5.2"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-download_win.h.patch
}
src_install () {
einstall || die "make install failed"
dodoc ABOUT-NLS AUTHORS CREDITS ChangeLog NEWS README TODO
}
|
Fai calcolare il digest ed happy emerge!
ciao _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
battistis Apprentice
Joined: 20 Jul 2006 Posts: 249
|
Posted: Sat Sep 09, 2006 6:24 pm Post subject: |
|
|
Quote: |
E' stato buttato fuori per mancanza di supporto e per la marea di problemi di sicurezza (please search in bugs.gentoo.org).
Se vuoi, io ho fatto un ebuild per la 2.qualcosa.
Allora, nell'overlay, crea le directory www-client/prozilla e la cartella www-client/prozilla/files.
Copia nel file www-client/prozilla/files/prozilla-2.0.4-download_win.h.patch il seguente codice (patch che ho dovuto fare per... errore di programmazione!):
|
peccato sia stato escluso perchè è comodissimo quando si ha fretta di scaricare un file "abbastanza grosso"
cmq. mi è tutto chiaro tranne questa cosa dell'overlay
sarebbe la cartella: /usr/portage/www-client/prozilla/ ?? _________________ \\ba7/ |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sat Sep 09, 2006 6:30 pm Post subject: |
|
|
battistis wrote: |
cmq. mi è tutto chiaro tranne questa cosa dell'overlay
sarebbe la cartella: /usr/portage/www-client/prozilla/ ?? |
Vedi il valore della variabile PORTDIR_OVERLAY in /etc/make.conf. Nel mio caso:
Code: |
PORTDIR_OVERLAY="/usr/local/portage"
|
Se non c'è impostala e crea una directory differente da quella del portage "normale" (io ho messo in /usr/local/portage). Poi dentro crei le varie cartelle. Usando l'overley eviti di perdere gli ebuild fatti in casa dopo un emerge --sync.
ciao _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
battistis Apprentice
Joined: 20 Jul 2006 Posts: 249
|
Posted: Sun Sep 10, 2006 5:35 pm Post subject: |
|
|
Code: | battisti@rizla ~ $ file /usr/bin/proz
/usr/bin/proz: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped |
Funge alla grande!!!
Ho seguito le tue istruzioni per creare l'overlay
dopodichè ho seguito l'howto sul wiki:
http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
Aggiunta la riga a /etc/portage/package.keywords
Code: | =www-client/prozilla-2.0.4 |
e in sequenza
Code: |
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild digest
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild unpack
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild compile
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild install
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild qmerge
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild clean
|
Ora provo ad emergere prozGui come masked, nel caso anche questo con l'overlay
http://packages.gentoo.org/search/?sstring=proz
Grazie a tutti dei consigli alla prossima ! _________________ \\ba7/ |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sun Sep 10, 2006 5:43 pm Post subject: |
|
|
battistis wrote: |
e in sequenza
Code: |
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild digest
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild unpack
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild compile
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild install
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild qmerge
ebuid /usr/local/portage/www-client/prozilla/prozilla-2.0.4.ebuild clean
|
|
bastava fare emerge prozilla Una volta che è in overlay è come se fosse un pacchetto ufficiale. Ti ricordo che è considerato hard-bacato... ma io lo continuo ad usare lo stesso.
ciao _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
battistis Apprentice
Joined: 20 Jul 2006 Posts: 249
|
Posted: Mon Sep 11, 2006 9:17 pm Post subject: |
|
|
comio wrote: |
bastava fare emerge prozilla Una volta che è in overlay è come se fosse un pacchetto ufficiale. Ti ricordo che è considerato hard-bacato... ma io lo continuo ad usare lo stesso.
ciao |
....e l'ho fatto ma forse sbagliavo qualcosa o non avevo fatto il digest prima...booo? _________________ \\ba7/
Last edited by battistis on Mon Sep 11, 2006 11:33 pm; edited 1 time in total |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Mon Sep 11, 2006 9:27 pm Post subject: |
|
|
[quote="battistis"] comio wrote: | battistis wrote: |
bastava fare emerge prozilla Una volta che è in overlay è come se fosse un pacchetto ufficiale. Ti ricordo che è considerato hard-bacato... ma io lo continuo ad usare lo stesso.
ciao |
....e l'ho fatto ma forse sbagliavo qualcosa o non avevo fatto il digest prima...booo? |
la seconda che hai detto.
ciao _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
battistis Apprentice
Joined: 20 Jul 2006 Posts: 249
|
Posted: Mon Sep 11, 2006 11:35 pm Post subject: |
|
|
ovvero un
Code: |
emerge --digest prozilla
emerge prozilla
|
? _________________ \\ba7/ |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
|
battistis Apprentice
Joined: 20 Jul 2006 Posts: 249
|
Posted: Tue Sep 12, 2006 6:28 am Post subject: |
|
|
sarò un tantino masochista allora _________________ \\ba7/ |
|
Back to top |
|
|
|