[gentoo-user] Fwd: [gentoo-dev] Package up for grabs: sys-boot/gummiboot

2016-05-22 Thread Dale


 Forwarded Message 
Subject:[gentoo-dev] Package up for grabs: sys-boot/gummiboot
Date:   Wed, 18 May 2016 13:45:55 +0200
From:   Michał Górny 
Reply-To:   gentoo-...@lists.gentoo.org
Organization:   Gentoo
To: gentoo-...@lists.gentoo.org



I'm no longer willing to maintain sys-boot/gummiboot and this makes it
maintainer-needed. The package is no longer maintained upstream,
and has been merged into systemd. It seems that there are still people
using it without systemd though, so I'm not going to lastrite it
myself, and prefer getting a new maintainer for it.

-- 
Best regards,
Michał Górny



This was posted on -dev a few days ago.  I'm pretty sure there are some users 
here that use this and so far, no one has stepped up to take it.  If one of the 
users who uses this wants to keep it available, may want to see if you, and 
maybe some other helpers, can help maintain it.  

Just thought I would pass this on in case no one was aware.  

Dale

:-)  :-)  

P. S.  I'm not sure how this is going to be formatted.  It looks odd at the 
moment.  :/  



Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Neil Bothwick  wrote:

> On Sun, 22 May 2016 07:40:28 -0400, cov...@ccs.covici.com wrote:
> 
> > > There is no mention of azure in the ebuild, but the postinst message
> > > says you should install any necessary backends separately. I only use
> > > it with SFTP and S3 so have no idea what you need to install (if
> > > anything) for azure support.  
> > 
> > I was concerned that my azure backend would disappear because of the
> > (-azure)* in the use flags, but maybe not.
> > Thanks for the hint.
> 
> If the overlay ebuild includes the azure backend, maybe you should stick
> with that. Just give the overlay a higher priority
> in /etc/portage/repos.conf

Well, they took app-backup/duplicity out of the overlay after my last
sync.  The old ebuild refers to dev-python/azure which I cannot find
anywhere and it seems after emerging, I haven't lost anything, so I will
delete the overlay and repatch the azure-backend.py and see what
happens.

Thanks all for your help, gentoo is great.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread Neil Bothwick
On Sun, 22 May 2016 07:40:28 -0400, cov...@ccs.covici.com wrote:

> > There is no mention of azure in the ebuild, but the postinst message
> > says you should install any necessary backends separately. I only use
> > it with SFTP and S3 so have no idea what you need to install (if
> > anything) for azure support.  
> 
> I was concerned that my azure backend would disappear because of the
> (-azure)* in the use flags, but maybe not.
> Thanks for the hint.

If the overlay ebuild includes the azure backend, maybe you should stick
with that. Just give the overlay a higher priority
in /etc/portage/repos.conf


-- 
Neil Bothwick

Frog philosophy: Time's fun when you're having flies.


pgpKDirOrwqTj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] apache-2.4.20 update doesn't like includes directive

2016-05-22 Thread Michael Orlitzky
On 05/22/2016 04:50 AM, Mick wrote:
> 
> I tried setting APACHE2_MODULES="access_compat" in make.conf and I got this 
> conflict:

Oh, sorry, I meant that you have to add "access_compat" to the list of
modules already present in APACHE2_MODULES.

Those conflicts are saying that you need "unixd" for php itself, and
eselect-php wants "dir". This is a pretty minimal list:

  APACHE2_MODULES="alias auth_basic auth_digest authn_anon authn_core\
   authn_file authz_core authz_host authz_user dir\
   include log_config mime rewrite socache_shmcb unixd"

(Add access_compat if you want). You can narrow it down by looking
through each module's documentation:

  http://httpd.apache.org/docs/current/mod/

The directives that each one provides are listed over on the right. So
if, for example, you don't use "AuthUserFile" in your config, then it's
safe to turn off mod_authn_file.

The Drupal thing is highly annoying. Their stupid status report ignores
the fact that:

  1. You can achieve the same thing with an htaccess file that isn't
 byte-for-byte identical to the one they ship.

  2. If you run multiple sites, you can implement the restrictions in
 the vhosts and not in htaccess files.

  3. Not every web server uses htaccess files.

I've had to explain to a lot of customers that, yes, their site is
secure, that check was just written by idiots.




Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Alan McKinnon  wrote:

> On 22/05/2016 08:52, cov...@ccs.covici.com wrote:
> > Hi.  I  have been using (on advise from someone here),
> > app-backup/duplicity from the rinaldus overlay, but in the latest update
> > which I have postponed, gentoo has updated to the same version as the
> > overlay, but has chosen to have a mandatory use flag of -azure which
> > would cause my backups not to work, as I am updating to azure storage.
> > How can I prevent this from happening?  The versions are the same, so is
> > there a way to mask this off?
> > 
> > Note that I had to patch the back end for azure with something to fix a
> > typo, so I wonder if this has something to do with the  problem?
> > 
> > Thanks in advance for any suggestions.
> > 
> 
> 
> I think you want section "Repository Constraints" in man 5 portage

OK, thanks, that was useful.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Neil Bothwick  wrote:

> On Sun, 22 May 2016 02:52:18 -0400, cov...@ccs.covici.com wrote:
> 
> > Hi.  I  have been using (on advise from someone here),
> > app-backup/duplicity from the rinaldus overlay, but in the latest update
> > which I have postponed, gentoo has updated to the same version as the
> > overlay, but has chosen to have a mandatory use flag of -azure which
> > would cause my backups not to work, as I am updating to azure storage.
> > How can I prevent this from happening?  The versions are the same, so is
> > there a way to mask this off?
> 
> There is no mention of azure in the ebuild, but the postinst message says
> you should install any necessary backends separately. I only use it with
> SFTP and S3 so have no idea what you need to install (if anything) for
> azure support.

I was concerned that my azure backend would disappear because of the
(-azure)* in the use flags, but maybe not.
Thanks for the hint.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Missing function, trying to emerge libreoffice-l10n.

2016-05-22 Thread Alan Mackenzie
Hello, Gentoo.

On Tue, May 10, 2016 at 01:00:25PM +, Alan Mackenzie wrote:
> Attempting to emerge app-office/libreoffice-l10n-5.1.2.2, I get the
> following failure:

>  * ERROR: app-office/libreoffice-l10n-5.1.2.2::gentoo failed (install
>  * phase):
>  *   eshopts_pop: unbalanced push
>  *
>  * Call stack:
>  * ebuild.sh, line  133:  Called src_install
>  *   environment, line 1905:  Called get_version_component_range '1-2'
>  *   environment, line 1061:  Called get_all_version_components  '5.1.2.2'
>  *   environment, line  939:  Called eshopts_pop
>  *   environment, line  615:  Called die
>  * The specific snippet of code:
>  *   estack_pop eshopts s || die "${FUNCNAME}: unbalanced push";
>  *

> And then, 

>  * QA Notice: command not found:
>  *
>  *  
> /var/tmp/portage/app-office/libreoffice-l10n-5.1.2.2/temp/environment: line 
> 626: estack_push: command not found
>  *  
> /var/tmp/portage/app-office/libreoffice-l10n-5.1.2.2/temp/environment: line 
> 626: estack_push: command not found
>  *  
> /var/tmp/portage/app-office/libreoffice-l10n-5.1.2.2/temp/environment: line 
> 615: estack_pop: command not found

> That file .../temp/environment is a shell script, and at lines 626 and
> 615, it does indeed call estack_p{ush,op}.  Those commands, indeed, have
> no definition in that file.  Can anybody tell me where they should be defined,
> and possibly, how I can fix my environment so that they are defined?

I eventually posted this on the Gentoo bugzilla, and got pointed at the
cause.  It was the file /etc/portage/bashrc, which I'd put there to
enable patches to be made to package sources on emerging.  This file
came from .

It turns out it did not work properly with EAPI=6, but there is now a
corrected version of /etc/portage/bashrc on that wiki page which does.

:-)

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] whats going on with duplicity?

2016-05-22 Thread Neil Bothwick
On Sun, 22 May 2016 03:58:51 -0400, cov...@ccs.covici.com wrote:

> Sorry for the duplicate messages, having some mail problems with my
> provider.

I assumed the second was a backup ;-)


-- 
Neil Bothwick

Sarchasm : The gulf between the author of sarcastic wit and the person
who doesn't get it.


pgppmjePB_sQ5.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread Neil Bothwick
On Sun, 22 May 2016 02:52:18 -0400, cov...@ccs.covici.com wrote:

> Hi.  I  have been using (on advise from someone here),
> app-backup/duplicity from the rinaldus overlay, but in the latest update
> which I have postponed, gentoo has updated to the same version as the
> overlay, but has chosen to have a mandatory use flag of -azure which
> would cause my backups not to work, as I am updating to azure storage.
> How can I prevent this from happening?  The versions are the same, so is
> there a way to mask this off?

There is no mention of azure in the ebuild, but the postinst message says
you should install any necessary backends separately. I only use it with
SFTP and S3 so have no idea what you need to install (if anything) for
azure support.


-- 
Neil Bothwick

Confucius say :
He who play in root, eventually kill tree!


pgpUaOhxqJpaX.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] what goes on with duplicity?

2016-05-22 Thread Alan McKinnon
On 22/05/2016 08:52, cov...@ccs.covici.com wrote:
> Hi.  I  have been using (on advise from someone here),
> app-backup/duplicity from the rinaldus overlay, but in the latest update
> which I have postponed, gentoo has updated to the same version as the
> overlay, but has chosen to have a mandatory use flag of -azure which
> would cause my backups not to work, as I am updating to azure storage.
> How can I prevent this from happening?  The versions are the same, so is
> there a way to mask this off?
> 
> Note that I had to patch the back end for azure with something to fix a
> typo, so I wonder if this has something to do with the  problem?
> 
> Thanks in advance for any suggestions.
> 


I think you want section "Repository Constraints" in man 5 portage

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] apache-2.4.20 update doesn't like includes directive

2016-05-22 Thread Mick
On Saturday 21 May 2016 14:10:53 Michael Orlitzky wrote:
> On 05/21/2016 01:11 PM, Mick wrote:

> I had to also replace in the config all vhosts "Order deny,allow"
> 
> > directives with the new syntax.
> 
> You can keep compatibility with the old syntax (if you need to) with
> APACHE2_MODULES="access_compat". If you're installing third-party web
> apps, many of them will ship with apache-2.2 htaccess files containing
> those "Order allow,deny" lines. Without the compatibility module (and if
> you don't fix them yourself), you'll get 500 errors.

Yes, I've already experienced this with some old(er) drupal 7 websites.  
Although I've edited their .htaccess files with the new syntax, there are 
umpteen hardcoded php files in there which had the old syntax and/or run 
checks for it.

I tried setting APACHE2_MODULES="access_compat" in make.conf and I got this 
conflict:
===
WARNING: One or more updates/rebuilds have been skipped due to a dependency 
conflict:

www-servers/apache:2

  (www-servers/apache-2.4.20:2/2::gentoo, ebuild scheduled for merge) 
conflicts with
>=www-servers/apache-2.4[apache2_modules_unixd,-threads] required by (dev-
lang/php-5.5.35:5.5/5.5::gentoo, installed)
 ^  
>=www-servers/apache-2.4[apache2_modules_unixd,-threads] required by (dev-
lang/php-5.6.21:5.6/5.6::gentoo, installed)
 ^  
www-servers/apache[apache2_modules_dir] required by (app-eselect/eselect-
php-0.9.1:0/0::gentoo, installed)
   ^^^ 

Nothing to merge; quitting.
===

eselect has USE=apache2 set, but I don't really understand the difference or 
why they clash.  :-/

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] whats going on with duplicity?

2016-05-22 Thread covici
Sorry for the duplicate messages, having some mail problems with my
provider.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Hi.  I  have been using (on advise from someone here),
app-backup/duplicity from the rinaldus overlay, but in the latest update
which I have postponed, gentoo has updated to the same version as the
overlay, but has chosen to have a mandatory use flag of -azure which
would cause my backups not to work, as I am updating to azure storage.
How can I prevent this from happening?  The versions are the same, so is
there a way to mask this off?

Note that I had to patch the back end for azure with something to fix a
typo, so I wonder if this has something to do with the  problem?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] what goes on with duplicity?

2016-05-22 Thread covici
Hi.  I  have been using (on advise from someone here),
app-backup/duplicity from the rinaldus overlay, but in the latest update
which I have postponed, gentoo has updated to the same version as the
overlay, but has chosen to have a mandatory use flag of -azure which
would cause my backups not to work, as I am updating to azure storage.
How can I prevent this from happening?  The versions are the same, so is
there a way to mask this off?

Note that I had to patch the back end for azure with something to fix a
typo, so I wonder if this has something to do with the  problem?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] postgresql 9.5.2 versus Gentoo wiki install instructions?

2016-05-22 Thread J. Roeleveld
Longer answer (as promised)

On Saturday, May 21, 2016 04:56:18 PM waltd...@waltdnes.org wrote:
> On Sat, May 21, 2016 at 08:55:39AM +0200, J. Roeleveld wrote

> > Did you run
> > emerge --config dev-db/postgresql:9.5
> 
>   Yes.
> 
> > succesfully?
> 
>   Obviously not.

:)

>   I think I've finally figured it out.  I edited
> /etc/conf.d/postgresql-9.5 to PG_INITDB_OPTS="--encoding=UTF8" and ran
> "emerge --config dev-db/postgresql:9.5".  I got an error message about
> the data directory not be empty (probably from my first attempt).  I ran
> 
> rm /var/lib/postgresql/9.5/data/*
> emerge --config dev-db/postgresql:9.5
> 
> and got a bit further.  I did get error messages as follows
> 
> 
> ###
> The database cluster will be initialized with locale "en_US.iso88591".
> initdb: encoding mismatch
> The encoding you selected (UTF8) and the encoding that the
> selected locale uses (LATIN1) do not match.  This would lead to
> misbehavior in various character string processing functions.
> Rerun initdb and either do not specify an encoding explicitly,
> or choose a matching combination.
> mv: cannot stat '/var/lib/postgresql/9.5/data/pg_hba.conf': No such file or
> directory mv: cannot stat '/var/lib/postgresql/9.5/data/pg_ident.conf': No
> such file or directory mv: cannot stat
> '/var/lib/postgresql/9.5/data/postgresql.conf': No such file or directory
> ###

If there is a mismatch, the config-script refuses to work correctly.

>   I fixed that.  In /etc/conf.d/postgresql-9.5 I set
> PG_INITDB_OPTS="--encoding=iso88591"  and ran
> 
> rm /var/lib/postgresql/9.5/data/*
> emerge --config dev-db/postgresql:9.5
> 
> and got the following.  Does it look OK?  Do I understand correctly...
> 
> config files are located in /etc/postgresql-9.5/
> the actual databases are located in /var/lib/postgresql/9.5/data
> 
> ###



> 
> WARNING: enabling "trust" authentication for local connections
> You can change this by editing pg_hba.conf or using the option -A, or
> --auth-local and --auth-host, the next time you run initdb.

This is nothing to worry about, as long as the database is not accessible from 
outside.
The "trust" part means it ignores passwords. By default, this is only for 
"localhost"

> Success. You can now start the database server using:
> 
> /usr/lib64/postgresql-9.5/bin/pg_ctl -D /var/lib/postgresql/9.5/data -l
> logfile start

Ignore this line.

>  * The autovacuum function, which was in contrib, has been moved to the main
> * PostgreSQL functions starting with 8.1, and starting with 8.4 is now
> enabled * by default. You can disable it in the cluster's:
>  * /etc/postgresql-9.5/postgresql.conf
>  *
>  * The PostgreSQL server, by default, will log events to:
>  * /var/lib/postgresql/9.5/data/postmaster.log
>  *
>  * You should use the '/etc/init.d/postgresql-9.5' script to run PostgreSQL
>  * instead of 'pg_ctl'.

Listen to this line :)
The init-script uses "pg_ctl" to start/stop postgresql.

> ###
> 
>   There's still one apparent internal contradiction in the output...
> 
> ###
> Success. You can now start the database server using:
> 
> /usr/lib64/postgresql-9.5/bin/pg_ctl -D /var/lib/postgresql/9.5/data -l
> logfile start
> ###
> 
> ...but it also says...
> 
> ###
>  * You should use the '/etc/init.d/postgresql-9.5' script to run PostgreSQL
>  * instead of 'pg_ctl'.
> ###

See above, use the init-script and you're fine.

If you change the configuration, you can tell Postgresql to reload the new 
config by issuing " /etc/init.d/postgresql-9.5 reload "

Most common config-changes to a running system: adding/removing users/access to 
/etc/postgresql-9.5/pg_hba.conf.

One additional piece of info, by default, it logs to
/var/lib/postgresql/9.5/data/postmaster.log

If you want it to log to a different location or to syslog, you can edit this 
in the file:
/etc/postgresql-9.5/postgresql.conf

Look for the section:
#--
# ERROR REPORTING AND LOGGING
#--

The comments in the file tell you which settings require a restart (of 
postgresql). The ones that don't should come into effect with just the 
"reload" command I mentioned above.

--
Joost



Re: [gentoo-user] postgresql 9.5.2 versus Gentoo wiki install instructions?

2016-05-22 Thread J. Roeleveld
On Sunday, May 22, 2016 01:30:32 AM waltd...@waltdnes.org wrote:
> On Sun, May 22, 2016 at 04:41:44AM +, J. Roeleveld wrote
> 
> > Quick reply (longer one later)
> > 2nd run looks better.
> > 
> > The output is from the supplied scripts. For Gentoo, use the
> > /etc/init.d script. That will call the other one where necessary.
> > 
> > About the codepage. What does "eselect locale list" show?
> > In other words, which locale do you actually use?
> 
>   en_US.iso88591
> 
> [i3][waltdnes][~] eselect locale list
> Available targets for the LANG variable:
>   [1]   C
>   [2]   POSIX
>   [3]   en_US
>   [4]   en_US.iso88591 *
>   [5]   en_US.utf8
>   [ ]   (free form)
> 
>   I expect to be storing a lot of numeric data in postgresql, but not
> much text data, let alone, non-English text data.  I live in Toronto,
> Canada.  ISO8859-1 can handle ASCII (English), and accented Latin-1
> characters that exist in Canadian French.

In order for the configuration to actually be able to configure the database to 
handle UTF8, you need to run at least UTF8 or a superset.
I always run my servers in UTF8.

If you will not require non-ISO8859-1 characters, you should be ok with your 
current setup.

--
Joost