Re: macro for /usr/share/php

2008-06-16 Thread Elan Ruusamäe
On Tuesday 10 June 2008 23:13, Adam Gołębiowski wrote:
> On Tue, Jun 10, 2008 at 11:00:09PM +0300, Elan Ruusamäe wrote:
> > On Friday 23 May 2008 12:01:11 Elan Ruusamäe wrote:
> > > anyone can suggest macro name for /usr/share/php?
> > >
> > > %php_data_dir
> > > %php_apps_dir
> > > %php
> >
> > still nobody?
>
> I'd use %php_data_dir, as it contains more than just (web)apps -
> libraries, frameworks.

added in 1.461.

and what about this one?

# _phpdocdir / php_docdir / phpdoc_dir ?
%define _phpdocdir  %{_docdir}/phpdoc

if we look at java, then there's %_javadocdir from rpm itself with a comment:
#   Import packaging conventions from jpackage.org (prefixed with _
#   to avoid name collisions).
#
%_javadir  %{_datadir}/java
%_javadocdir   %{_datadir}/javadoc

some don't like the _underscore "madness", do we have any policy of the 
macros? from existing ones i can see that with two underscores are path to 
programs (or initially were), the rest do not seem to have any specific 
pattern.

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


pld-users - registration doesn't work

2008-06-16 Thread Witek Firlej
There is somethong wrong with pld-users.org
New user registration is off :/
-- 
Witek Firlej
http://grizz.pl/ || http://galeria.firlej.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


%browser_plugins_add_browser does not work

2008-06-16 Thread Marcin ‘Qrczak’ Kowalczyk
mozilla-firefox.spec -r DEVEL contains in %install:
%browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins

Definition of this macro from /usr/lib/rpm/rpm.build:
%browser_plugins_add_browser(p:b:a:) \
browser=%1.%{!-a:%{_target_base_arch}}%{-a*} \
install -d 
$RPM_BUILD_ROOT%{_browserpluginsconfdir}/{blacklist,browsers}.d \
ln -s %{-p*} 
$RPM_BUILD_ROOT%{_browserpluginsconfdir}/browsers.d/$browser \

blacklist_file=$RPM_BUILD_ROOT%{_browserpluginsconfdir}/blacklist.d/$browser.blacklist
\
echo '# This file format is shell globs at base dir of plugindir' >
$blacklist_file \
%{-b:cat >> $blacklist_file %{-b*}} \
%{nil}

'rpmbuild -bi --short-circuit mozilla-firefox.spec' tries to execute:
+ ln -s 
/tmp/mozilla-firefox-3.0-root-qrczak/etc/browser-plugins/browsers.d/mozilla-firefox.i386
ln: creating symbolic link `./mozilla-firefox.i386': File exists

One argument of ln is missing, the one corresponding to %{-p*}. Why?

rpm-5.1.0-0.1.athlon
rpm-build-macros-1.461-1.noarch

$ rpm --eval '%browser_plugins_add_browser mozilla-firefox -p
/usr/lib/mozilla-firefox/plugins'

browser=mozilla-firefox.i386
install -d $RPM_BUILD_ROOT/etc/browser-plugins/{blacklist,browsers}.d
ln -s  $RPM_BUILD_ROOT/etc/browser-plugins/browsers.d/$browser

blacklist_file=$RPM_BUILD_ROOT/etc/browser-plugins/blacklist.d/$browser.blacklist
echo '# This file format is shell globs at base dir of plugindir' >
$blacklist_file

-- 
Marcin Kowalczyk
[EMAIL PROTECTED]
http://qrnik.knm.org.pl/~qrczak/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Fwd: builder queue problem

2008-06-16 Thread Elan Ruusamäe
On Monday 16 June 2008 12:18:22 Adam Gołębiowski wrote:
> On Mon, Jun 16, 2008 at 12:06:49PM +0300, Elan Ruusamäe wrote:
> > to whomever has power over this. please fix!
>
> Hmm, [EMAIL PROTECTED] says the key is being blacklisted - can you regenerate 
> it?

i did that, but the new key is also "compromised". can smb upgrade openssl on 
forge?

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: PLD-specs-TODO

2008-06-16 Thread Witek Firlej
Dnia niedziela, 15 czerwca 2008, Witek Firlej napisał:
> Dnia niedziela, 15 czerwca 2008, Elan Ruusamäe napisał:
> > On Sunday 15 June 2008 20:36, Witek Firlej wrote:
> > > > so no progress in any side?
> > >
> > > Initial:
> > > http://pld-users.org/dokuwiki/specs-todo
> > >
> > > Any idea, how to shorten urls automaticlly?
> >
> > perhaps don't write out the links? and do sth like this:
> >
> > [[http://www.warsow.net/?page=home|warsow]]
>
> huh... so simple ;)
>
> ok, I'll change it tomorow.


Ok... now it's look better.

I'll give info on pld-users main page, and on forum.

If you want to have updated entry in CVS give me access to it :D or let 
somebody else take care about cvs ;)

-- 
Witek Firlej
http://grizz.pl/ || http://galeria.firlej.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Fwd: builder queue problem

2008-06-16 Thread Adam Gołębiowski
On Mon, Jun 16, 2008 at 12:06:49PM +0300, Elan Ruusamäe wrote:
> to whomever has power over this. please fix!

Hmm, [EMAIL PROTECTED] says the key is being blacklisted - can you regenerate 
it?

-- 
 http://www.mysza.eu.org/ | Everybody needs someone sure, someone true,
   PLD Linux developer| Everybody needs some solid rock, I know I do.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Fwd: builder queue problem

2008-06-16 Thread Arkadiusz Miskiewicz
On Monday 16 June 2008, Elan Ruusamäe wrote:
> to whomever has power over this. please fix!

Some debian generated keys are blacklisted. You need to replace these with 
newly generated one.

-- 
Arkadiusz MiśkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Fwd: builder queue problem

2008-06-16 Thread Elan Ruusamäe
to whomever has power over this. please fix!

-- 
glen
--- Begin Message ---
there were problems sending files from queue 
/home/users/builderac/pld-builder.new/spool/ftp/:
problem: Executing: program /usr/bin/ssh host ep09.pld-linux.org, user fpldac, 
command scp -v -p -t 
/home/ftp/pub/Linux/PLD/dists/ac/.stat/builder/ac//rpmqa-ppc.txt
OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to ep09.pld-linux.org [217.73.31.20] port 22.
debug1: Connection established.
debug1: identity file /home/users/builderac/.ssh/identity type -1
debug1: identity file /home/users/builderac/.ssh/id_rsa type -1
debug1: identity file /home/users/builderac/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.0
debug1: match: OpenSSH_5.0 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9
debug1: Miscellaneous failure
No credentials cache found

debug1: Miscellaneous failure
No credentials cache found

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'ep09.pld-linux.org' is known and matches the RSA host key.
debug1: Found key in /home/users/builderac/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password,keyboard-interactive
debug1: Next authentication method: gssapi-with-mic
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password,keyboard-interactive
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/users/builderac/.ssh/identity
debug1: Trying private key: /home/users/builderac/.ssh/id_rsa
debug1: Offering public key: /home/users/builderac/.ssh/id_dsa
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-with-mic,password,keyboard-interactive).
lost connection

--- End Message ---
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en