Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr

I will rectify this issue in my libpqxx++ project.

https://gitlab.com/aitor_czr/libpqxx/tree/master

Thanks.

Aitor.

On 14/09/15 11:00, aitor_czr wrote:

On 14/09/15 10:39, KatolaZ wrote:

I think you guys must rather specify an appropriate "-I" flag to gcc
in the Makefile.  I have never ever seen "../something" in an
#include

My2Cents

KatolaZ


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr

Hi,

I'm adding:

lazbuild -B netman.lpr

to the debian/rules. Is it enough to build the frontend? I've never used 
Lazarus.


Thanks in advance,

Aitor.

On 14/09/15 10:52, Edward Bartolo wrote:

Hi,

My experience using gcc directly corroborates what KatolaZ said. This
command works on my computer without the need to edit the .c files as
you suggested.

The gcc command:
gcc -lm -I../include core_functions.c file_functions.c backend.c
essid_encoder.c automated_scanner.c -o backend

Edward


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr

Hi Edward,

I thick you must change all the headers like:

#include "paths.h"
#include "automated_scanner.h"
#include "core_functions.h"
#include "caller.h"

etc... in the *.c files of the backend of netman by:

#include "../include/paths.h"
#include "../include/automated_scanner.h"
#include "../include/core_functions.h"
#include "../include/caller.h"

because they are not found by the compiler.

Cheers,

Aitor.


On 14/09/15 09:24, Edward Bartolo wrote:

Hi,

I tested my installation, Devuan 64 bit, for unwanted behaviour when
/etc/network/interfaces contains lines as follows but which point to
inexistent physical devices:

iface wlan1 inet dhcp

The OS didn't complain and I was able to use netman as usual without
the least of issues. Needless to state, I kept the original "iface
wlan0 inet dhcp".

This is with "iface wlan1 inet dhcp" present in /etc/network/interfaces:
# ifup wlan1
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "wlan1"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up wlan1.


And this is with "iface wlan1 inet dhcp" removed from /etc/network/interfaces:
root@edbarx-pc:/dev# ifup wlan1
Ignoring unknown interface wlan1=wlan1.

Both instances fail to connect but with different error messages.


Edward.


On 14/09/2015, Edward Bartolo <edb...@gmail.com> wrote:

Hi all,

The additional ability to recognize wlan1, wlan2, wlan3, etc, in
something I will do as soon as I can.

Regarding the use of "iface wlan0 inet dhcp" in
/etc/network/interfaces, I have no other option unless someone really
versed in network configuration provides an alternative that works and
that doesn't disrupt the already working code.

I have already a germinating idea of how to implement support for
wlanN. This is by naming the essid files as wlanX_essid. This way only
the essid saving function and the frontend essid listing functions
would need to be changed. The connecting functions of the backend
would simply parse the filename to extract the device name, and it
would be done.

However, at this time of the year, I am very busy doing other work
besides programming for Devuan. At the moment, I am busy planting my
vegetables which cannot wait as that depends on the season, and a
couple of weeks makes a whole difference.

Edward

On 13/09/2015, aitor_czr <aitor_...@gnuinos.org> wrote:

Ok, I like XFCE4 of course.

Aitor.

El 13/09/15 a las 20:13, Edward Bartolo escribió:

Hi aitor, I forgot to write that the final step is to let netman be
automatically run as soon as a user boots into XFCE4 or desktop or
window manager. Edward On 13/09/2015, Edward Bartolo <edb...@gmail.com>
wrote:

Hi aitor,

I think, the time has come to start thinking about producing a .deb
package for netman. However, we will have to use a post installation
script to add the line:

"iface wlan0 inet dhcp"

to /etc/network/interfaces. The script has also to create a new
directory under /usr/bin with the name netman ie  /usr/bin/netman will
hold both the frontend and the backend.

The SUID for backend must be changed to that belonging to root. I do
this as follows:
chown root:root backend
chmod u+s backend

A new directory under /etc/network with the name wifi must be created
i.e. /etc/network/wifi must be an existing directory.

Then, the final steps would be to create a launcher for netman, the
frontend. To enable automatic attempts at connecting basing on
installed essid files under /etc/network/wifi, the parameter
--auto-conn must be passed to netman upon invocation. --auto-conn need
not be used and netman would not attempt to connect without user
intervention. This feature is for those who want to control what
happens on their machine.

Edward






___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr

Hi Katolaz,

I tried it but it doesn't work:

aitor@gnuinos:~/netman/backend_src/src$ gcc -g -I../include 
core_functions.c file_functions.c backend.c essid_encoder.c -o backend
core_functions.c:29:36: fatal error: include/core_functions.h: No existe 
el fichero o el directorio

 #include "include/core_functions.h"
^
compilation terminated.
file_functions.c:26:27: fatal error: include/paths.h: No existe el 
fichero o el directorio

 #include "include/paths.h"
   ^
compilation terminated.
backend.c:28:36: fatal error: include/core_functions.h: No existe el 
fichero o el directorio

 #include "include/core_functions.h"
^
compilation terminated.
essid_encoder.c:50:35: fatal error: include/essid_encoder.h: No existe 
el fichero o el directorio

 #include "include/essid_encoder.h"
   ^
compilation terminated.

Aitor.

On 14/09/15 10:39, KatolaZ wrote:

I think you guys must rather specify an appropriate "-I" flag to gcc
in the Makefile.  I have never ever seen "../something" in an
#include

My2Cents

KatolaZ


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr

Sorry, sorry !!

I didn't undo some changes. How foolish failure :-(

Now it works.

Aitor.

On 14/09/15 10:54, aitor_czr wrote:

Hi Katolaz,

I tried it but it doesn't work:

aitor@gnuinos:~/netman/backend_src/src$ gcc -g -I../include 
core_functions.c file_functions.c backend.c essid_encoder.c -o backend
core_functions.c:29:36: fatal error: include/core_functions.h: No 
existe el fichero o el directorio

 #include "include/core_functions.h"
^
compilation terminated.
file_functions.c:26:27: fatal error: include/paths.h: No existe el 
fichero o el directorio

 #include "include/paths.h"
   ^
compilation terminated.
backend.c:28:36: fatal error: include/core_functions.h: No existe el 
fichero o el directorio

 #include "include/core_functions.h"
^
compilation terminated.
essid_encoder.c:50:35: fatal error: include/essid_encoder.h: No existe 
el fichero o el directorio

 #include "include/essid_encoder.h"
   ^
compilation terminated.

Aitor.

On 14/09/15 10:39, KatolaZ wrote:

I think you guys must rather specify an appropriate "-I" flag to gcc
in the Makefile.  I have never ever seen "../something" in an
#include

My2Cents

KatolaZ


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr

The content of the resulting /lib/netman.compiled with Lazarus is:



  
  



It will track us for the needed parameters :-)

Aitor.

On 14/09/15 11:57, Edward Bartolo wrote:

Hi Aitor,

I tried "lazbuild -B netman.lpr" in the netman directory and it
worked. There were some complaints but the executable was produced.

By the way, thanks for teaching me something new about Lazarus.


Edward.

On 14/09/2015, aitor_czr<aitor_...@gnuinos.org>  wrote:

>Hi,
>
>I'm adding:
>
>lazbuild -B netman.lpr
>
>to the debian/rules. Is it enough to build the frontend? I've never used
>Lazarus.
>
>Thanks in advance,
>
>Aitor.
>
>On 14/09/15 10:52, Edward Bartolo wrote:

>>Hi,
>>
>>My experience using gcc directly corroborates what KatolaZ said. This
>>command works on my computer without the need to edit the .c files as
>>you suggested.
>>
>>The gcc command:
>>gcc -lm -I../include core_functions.c file_functions.c backend.c
>>essid_encoder.c automated_scanner.c -o backend
>>
>>Edward

>
>


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-14 Thread aitor_czr
I've got the same resulting "/lib/i386-linux/netman.compiled" building 
*in the command line*. So, appearently, is enough with:


$ lazbuild -B netman.lpr

Aitor.

On 14/09/15 12:02, aitor_czr wrote:
The content of the resulting "/lib/i386-linux/netman.compiled" *with 
Lazarus* is:




  
  



It will track us for the needed parameters :-)

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan Mirror

2015-09-13 Thread aitor_czr


The issue with devuan's repositories has been solved. Thanks for your 
effort.


Aitor.

El 12/09/15 a las 14:00, Franco Lanza  escribió:

On Fri, Sep 11, 2015 at 04:34:00PM -0500, Rod Rodolico wrote:

>I sent an e-mail about a week ago to the list. I'm willing to mirror
>Devuan, I just do not have the information I need to do it.
>
>If anyone wants another mirror. It would be in Dallas, US. I just need
>to know how much space and bandwidth it will need, plus instructions on
>how to set up the mirror.

It's early to mirror devuan repositories, please
stand on and wait for when we will release the beta. After the beta,
we will start talking about mirroring repositories too.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-13 Thread aitor_czr

Vintage :-)

El 13/09/15 a las 20:10, Edward Bartolo escribió:

Edward Bartolo  wrote:


  Oooops, I have a new pair of spectacles that is playing tricks on me,
  especially, since it is the first near-sight spectacles. Before, I
  didn't use any.


  You just turned 40, didn't you?

  As I remember, 40's is a good decade.

  SteveT

  Steve Litt


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [DN Offlist G] netman GIT project

2015-09-13 Thread aitor_czr

Ok, I like XFCE4 of course.

Aitor.

El 13/09/15 a las 20:13, Edward Bartolo escribió:

Hi aitor, I forgot to write that the final step is to let netman be 
automatically run as soon as a user boots into XFCE4 or desktop or 
window manager. Edward On 13/09/2015, Edward Bartolo  
wrote:

>Hi aitor,
>
>I think, the time has come to start thinking about producing a .deb
>package for netman. However, we will have to use a post installation
>script to add the line:
>
>"iface wlan0 inet dhcp"
>
>to /etc/network/interfaces. The script has also to create a new
>directory under /usr/bin with the name netman ie  /usr/bin/netman will
>hold both the frontend and the backend.
>
>The SUID for backend must be changed to that belonging to root. I do
>this as follows:
>chown root:root backend
>chmod u+s backend
>
>A new directory under /etc/network with the name wifi must be created
>i.e. /etc/network/wifi must be an existing directory.
>
>Then, the final steps would be to create a launcher for netman, the
>frontend. To enable automatic attempts at connecting basing on
>installed essid files under /etc/network/wifi, the parameter
>--auto-conn must be passed to netman upon invocation. --auto-conn need
>not be used and netman would not attempt to connect without user
>intervention. This feature is for those who want to control what
>happens on their machine.
>
>Edward
>
>


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Debugging netman auto-connect.

2015-09-12 Thread aitor_czr

It was not Pascal the successor of Modula?

El 12/09/15 a las 22:38,  Hendrik Boom  escribió:


Modula 3 isn't dead.  Moribund, maybe, but not dead.  And it easily
beats a number of madly popular languages for systems programming.
Its one of the few languages I've used in which large programs often
(but certainly not always) run correctly the first time they get through
the compiler.

There is a .deb for Modula 3 available for download, but it's not part
of Debian as far as I know.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr

Hi Edward,

Consider a double pointer like a matrix (in algebra) witch one you don't 
know its dimension a priori.


An example: put the case that we are developing an application witch 
calculates the inverse of a matrix of dimensions NxM. The values of N 
and M will be determinated by the user and they are unknown a priori. If 
so, we declare a doble pointer:


float **ptr;

The application asks to the user the values of of the number of files 
(N) and columns (M), and according to them it reserves the "necessary 
and sufficient" memory:


ptr = (float**) malloc(files* sizeof(float*);

  for (i=0; i wrote:

Hi all,

Since yesterday I have been trying to understand why "char**
essid_list" is working inside getInstalledEssidList(,
essid_list) but failing as soon as I try to access essid_list[0]
outside the function.

Both the source and the gdb text output are attached.

Any helpful pointers are appreciated.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr

You are right Edward, i was thinking in the transposition matrix.


El 11/09/15 a las 19:32, Edward Bartolo escribió:


only square matrices can
have an inverse


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mirroring Devuan

2015-09-11 Thread aitor_czr

Hi,

I started mirroring Devuan:

http://188.165.204.61/repo/

I hope to have enought space in the hard disk: a dedicated server 
machine in SoYouStart (OVH).


Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr

A * (1/A) = 1 = (1/A) * A

So, it must be square :-)

On 11/09/15 20:57, Jonathan Wilkes wrote:

El 11/09/15 a las 19:32, Edward Bartolo escribió:


only square matrices can
have an inverse


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr

I recomend you to eat a pizza with Jaromil

El 12/09/15 a las 00:18, KatolaZ escribió:

  will become pedantic now, but if A is a matrix, the interpretation
of the equations above depends on what "1" and "/" actually mean for
you. In general, 1/A does not mean anything when you deal with
matrices. The symbol "A^{-1}" is normally used to denote the inverse
of A. And the inverse is defined only for square matrices. Hence your
"conclusion" is actually a fundamental hypothesys to make those
equations mean anything at all:)

HND


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr

Of course... and Maxwell.. and many others...

El 11/09/15 a las 23:18, Peter Olson escribió:

On September 11, 2015 at 2:24 PM aitor_czr<aitor_...@gnuinos.org>  wrote:
>
>No!
>
>Only square matrices can have a determinant.
>
>I am not Roger Penrose. I am a hooligan of*Richard Feynman*
>and*Lev Davidovick Landau*  (vintage).

Perhaps also with some variation*Joseph-Louis Lagrange*  :-)

Peter Olson


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr

No!

Only square matrices can have a determinant.

I am not Roger Penrose. I am a hooligan of *Richard Feynman* and *Lev 
Davidovick Landau* (vintage).


Yes, i know... There are many hooligans in this forum. There is a 
special black hole in the heaven for that guys.


Aitor.

El 11/09/15 a las 19:32, Edward Bartolo escribió:

only square matrices can
have an inverse


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mirroring Devuan

2015-09-08 Thread aitor_czr

Hi all,

Take the case two mirrors, a complete Debian mirror in DEBIAN folder, 
and the merged packages in DEVUAN folder, containing both their 
corresponding /dists/ and /pool/. The following scripts build the /dist/ 
and /pool/ from the content of them, giving priority to Devuan. The 
script1 calls to the script2:


** SCRIPT1:

#!/bin/sh

find ./DEBIAN -name "*.dsc" -exec ./script2 {} \;

exit 0

** END OF THE SCRIPT1

** SCRIPT2:
#!/bin/sh

line1=${1%/*}
line2=${line1#*/}
line3=${line2#*/}

### The above lines converts
###./DEBIAN/pool/main/main/l/linux/linux_3.16.7-ckt11-1+deb8u3.dsc
### in /pool/main/main/l/linux
### The relationship betwen paths and sources is biyective


if [ -d ./DEVUAN/$line3 ];

then
 find ./DEVUAN -name "*.deb" -exec reprepro --ask-passphrase -b . -V -C 
main includedeb jessie {} \;
 find ./DEVUAN -name "*.udeb" -exec reprepro --ask-passphrase -b . -V 
-C main includeudeb jessie {} \;
 find ./DEVUAN -name "*.dsc" -exec reprepro --ask-passphrase -b . -V -C 
main includedsc jessie {} \;

 exit 0
fi

find ./DEBIAN -name "*.deb" -exec reprepro --ask-passphrase -b . -V -C 
main includedeb jessie {} \;
find ./DEBIAN -name "*.udeb" -exec reprepro --ask-passphrase -b . -V -C 
main includeudeb jessie {} \;
find ./DEBIAN -name "*.dsc" -exec reprepro --ask-passphrase -b . -V -C 
main includedsc jessie {} \;


exit 0

** END OF THE SCRIPT2

For each description file *.dsc found in the frist script, the second 
script searches in the corresponding path in ./DEVUAN. If it exits, 
DEBIAN packages are ignored.


There are some stuffs to add: debian must be changed by devuan in the 
path (debian-keyring by devuan-keyring, etc), a black list for debian, 
extra packages nonexistent in debian...


Aitor

Jaromil:

we haven't yet worked on the mirroring mechanism, but we will

once done, there will be a script and it will be easy
I guess it will be a sort of amprolla satellite process
so that the mirror redirection will be handled by nextime's software


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] netman GIT project

2015-09-08 Thread aitor_czr

Hi Edward,

Don't change the name of the main funtion. In order to distinguish 
between ifup and ifdown, you can use one of the arguments, for example 
argv[1] (the first one *int argc* is the number of arguments in the 
command line (+1) included itself) .


Aitor.

El 08/09/15 a las 21:40, Edward Bartolo escribió:

Hi all,

I think, a simple way to avoid the backend having to call external
programs like ifup and ifdown, is to use code belonging to these
programs as it they were functions. This means, their code would be
used like this:

Suppose int main(int argc, char * argv[]) is the main function for
ifup. The main function's name would be changed like this, and the
other code belonging to ifup would be used.

int ifup_main(int argc, char * argv[]);

If I am correct, this should allow the backend to avoid having to use
execl to call ifup or ifdown or whatever other external program.

Edward


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Problem with the repository of Devuan

2015-09-06 Thread aitor_czr

Most packages disappeared from:

deb http://packages.devuan.org/merged jessie main
deb-src http://packages.devuan.org/merged jessie main

There is no live-build, no kernel, no grub...

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] netman GIT project

2015-09-05 Thread aitor_czr

Pushed libpqxx++ to GitLab:

https://gitlab.com/aitor_czr/libpqxx/tree/master

It uses command line parameters :)

Aitor.

El 04/09/15 a las 20:44, Edward Bartolo escribió:

I will use command line parameters for the GUI frontend so that it may
be started to automatically scan for available wifis and connections
and to automatically select the best connection if that is configured.
So, there is no need of using /etc for further configuration.

netman auto-connect
Will connect automatically on startup using the algorithm described above.

Edward

On 02/09/2015, Edward Bartolo<edb...@gmail.com>  wrote:

>Hi,
>
>This is a link to a post by keithpeter on forums.debian.net which
>looks encouraging notwithstanding the hard-to-workaround bugs that I
>am facing now.
>
>http://forums.debian.net/viewtopic.php?f=3=124343=591309#p591124
>
>
>Thanks, keithpeter and all who boost my motivation to finish this project.
>
>
>
>Edward.
>
>
>On 01/09/2015, aitor_czr<aitor_...@gnuinos.org>  wrote:

>>Ok.
>>
>>On 01/09/15 12:33, Edward Bartolo wrote:

>>>Hi Aitor,
>>>
>>>As soon as I have time I will have a look at the code.
>>>
>>>Regarding learning to use git, I learnt to push my commits and do git
>>>pulls to synchronize my sources with those of the repository.
>>>
>>>I took note of all the git commands used together with the sequence in
>>>which they were issued.
>>>
>>>
>>>Edward
>>>
>>>On 01/09/2015, aitor_czr<aitor_...@gnuinos.org>  wrote:

>>>>Hi Edward,
>>>>
>>>>Here is the code of my libpqxx++ project:
>>>>
>>>>http://gnuinos.org/libpqxx++/
>>>>
>>>>(Now i can't access to any git repository in my gitlab account;
>>>>apparently it's in maintenance).
>>>>It is a small project, and you can analyze the debian branch
>>>>(debian/rules, etc...). The separation:
>>>>
>>>>libpqxx
>>>>libpqxx-dev
>>>>
>>>>is not done yet.
>>>>
>>>>On the other hand, if you are interested in git, i recommend you Pro
>>>>Git
>>>>Book:
>>>>
>>>>https://git-scm.com/book/en/v1
>>>>
>>>>Cheers,
>>>>
>>>>Aitor.
>>>>
>>>>On 31/08/15 14:00, Edward Bartolo<edb...@gmail.com>  wrote:

>>>>>On 31/08/15 09:43, Edward Bartolo<edb...@gmail.com>   wrote:

>>>>>>>I am attaching my updated code to this email as I couldn't commit my
>>>>>>>changes. GIT is blocking me.
>>>>>>>
>>>>>>>
>>>>>>>Edward

>>>>

>>


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng Digest, Vol 12, Issue 17

2015-09-05 Thread aitor_czr

.pc files are quilt patches applied.

Aaitor.

El 05/09/15 a las 21:52, dng-requ...@lists.dyne.org escribió:

@Jack Frost
I do not understand the use of .pc files although I have seen them
around. I am using your systemd-dummy package though to avoid pulling
in real systemd, Thanks for that.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Subject: Re: xf86-input-evdev

2015-09-05 Thread aitor_czr


Hi shraptor,

.pc file includes theapplied quilt patches.

Aitor.

El 05/09/15 a las 21:52, shraptor  escribió:

@Jack Frost
I do not understand the use of .pc files although I have seen them
around. I am using your systemd-dummy package though to avoid pulling
in real systemd, Thanks for that.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] netman GIT project

2015-09-01 Thread aitor_czr

Hi Edward,

Here is the code of my libpqxx++ project:

http://gnuinos.org/libpqxx++/

(Now i can't access to any git repository in my gitlab account; 
apparently it's in maintenance).
It is a small project, and you can analyze the debian branch 
(debian/rules, etc...). The separation:


libpqxx
libpqxx-dev

is not done yet.

On the other hand, if you are interested in git, i recommend you Pro Git 
Book:


https://git-scm.com/book/en/v1

Cheers,

Aitor.

On 31/08/15 14:00, Edward Bartolo  wrote:

On 31/08/15 09:43, Edward Bartolo  wrote:

>I am attaching my updated code to this email as I couldn't commit my
>changes. GIT is blocking me.
>
>
>Edward


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Problem with debhelper

2015-09-01 Thread aitor_czr

It works, thanks !!

Aitor.


On 22/08/15 16:58, Rainer Weikusat  wrote:

"Use it as intended"? In case you want to create a package installing
something in /usr/local (eg, because it's a "local" package not intended
for standalone distribution), the dh_usrlocal step can be skipped:

binary:
dh binary --before dh_usrlocal
dh binary --after dh_usrlocal


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mirroring Devuan

2015-08-29 Thread aitor_czr
Hi Hendrik,

I just started working on that. But just started.

The following script generates the pool and dists folders:

find ./DEBIAN -name *.dsc -exec reprepro --ask-passphrase -b . -V -C
main includedsc jessie {} \;
find ./DEBIAN -name *.deb -exec reprepro --ask-passphrase -b . -V -C
main includedeb jessie {} \;
find ./DEBIAN -name *.udeb -exec reprepro --ask-passphrase -b . -V -C
main includeudeb jessie {} \;

from the content of ./DEBIAN folder, searching all the 'deb', 'udeb' and
'dsc' located in it.

One of the issues arising is how to automatize the signing proccess, if
it is possible.

Aitor.

El 27/08/15 a las 16:36, Hendrik Boom hend...@topoi.pooq.com escribió:
 On Tue, Aug 25, 2015 at 10:34:42PM +0200, k...@aspodata.se wrote:
  Jaromil:
   we haven't yet worked on the mirroring mechanism, but we will
   
   once done, there will be a script and it will be easy
   I guess it will be a sort of amprolla satellite process
   so that the mirror redirection will be handled by nextime's software
  ...
  
  I would be good if one could have a local mirror with just file:// 
  entries i sources.list.
  
  It would be a great overhead if I needed apache at.al. when accessing
  files on the local disk.
  
  ///
  
  According to amprolla/nginx/rewrites.conf:
  
  rewrite /merged/pool/DEVUAN/(.*) http://packages.devuan.org/devuan/pool/$1;
  rewrite /merged/pool/DEBIAN/(.*) http://http.debian.net/debian/pool/$1;
  rewrite /merged/pool/MARILLAT/(.*) http://www.deb-multimedia.org/pool/$1;
  rewrite /merged/dists/(.*)/main/(installer-.*)/(.*) 
  /devuan/dists/$1/main/$2/$3;
  
  I guess that this means that if the file is in devouan, use it,
  else use the debian one etc. That could be handled by using the
  right order in sources.list something in preferences.
   So if I have a copy of http://packages.devuan.org/devuan/ and
  a debian mirror, all I need is to prioritize them, am I right ?
 If you carefully order the sources.list entries,
 might there wtill be a problem if the debian package is slightly more 
 up-to-date than the devuan one?

 -- hendrik

  
  Regards,
  /Karl Hammar

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] strange characters when using 'examine' in aptitude

2015-08-28 Thread aitor_czr

Try with:

# dpkg-reconfigure console-data

Aitor.

On 28/08/15 13:21, Dave Turner 
dave_t_tur...@barradas.free-online.co.uk wrote:

I run devuan unstable 'ceres' on my Toshiba laptop and my iMac.
It all works with just a bit of weirdness.
I use apt-get update  apt-get upgrade and then use aptitude to fix those
upgrades that get held back for various reasons.
Whenever I highlight one of the held back packages and press 'e' to
examine the various possibilities the names of the packages to be
removed or installed are mangled with block characters and/or assorted
characters from other non-Latin1 character sets. Upside down question
marks etc.

Any ideas what is going on?

I am using the slim login manager and then depending on my mood fluxbox,
xfce, or lumina - the new desktop from pc-bsd.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] replacing kernel 3.16.0-4

2015-08-27 Thread aitor_czr
Replacing the kernel is very easy. The problem is in debian-installer. 
We need to add all the modules in it, and it is a titanic work 
(exaggerating :-).


But it is possible.

Mmmmh..., there must be a consensus about this issue in VUA's for 
official images.


Aitor.

On 26/08/15 17:55, Haines Brown hai...@histomat.net wrote:

I've already tried your patience with a query about why xrandr tells me
my display uses VGA 1024x768 when it shows my video card supports DVI
1920x1080. I hope you will bear with me if I pursue the matter.

I am told that because selection of optimal resolution is today done by
the kernel, my 3.16.0-4 kernel therefore has a bug. I find significant
that kernel.org skips this kernel for possible downloading. Is anyone
else experiencing this problem?

I'm loading fluxbox on devuan-jessie without a desktop environment. When
I edit the linux line in the GRUB menu by appending video=VGA-1:d, the
display comes up with the proper DVI 1920x1080 resolution. Does this not
show that the kernel is sick?

So I'd like to use a different kernel, but there are no alternatives in
the devuan repository. How then should I install an alternative kernel?

Some time ago I tried to install devuan testing and it failed right away
for reasons I forget. Is the testing installation option actually
working?

Haines Brown


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] netman GIT project

2015-08-26 Thread aitor_czr

Hi Steve,

Connman runs without sudo privilegies, and it doesn't require any 
session-manager like slim, lightdm, etc...


Aitor.

On 26/08/15 14:00, Steve Litt sl...@troubleshooters.com wrote:

On Wed, 26 Aug 2015 05:39:36 +0100
Edward Bartoloedb...@gmail.com  wrote:


I am being suggested to do away with sudo dependency to run the
backend with root privileges.

Wait a minute. Isn't the back end a daemon run at boot time? As such,
why not run it as root, given that wpa_supplicant requires root
privileges?


SteveT


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] remove systemd for the love of Yog-Sothoth already

2015-08-25 Thread aitor_czr

Hi again,

I recomend you to use pristine-tar in combination with git-buildpackage.

*** EXAMPLE 1: HOW TO GET THE SOURCES USING PRISTINE-TAR 

1) Download any git repository (for example, systemd):

   $ git clone https://gitlab.com/aitor_cz/bulmages.git

2) Enter into the project:

   $ cd bulmages

3) Extract the pristine-tar branch:

   $ git checkout pristine-tar

4) There are two delta binaries in this branch (one belonging to the 
master branch, and the other belonging to the release branch):


   $ ls -s
  total 405956
 405660 
bulmages-master_0.16.0.20150107.1241-73c2dd9d.orig.tar.bz2.delta

 288 bulmages-release_0.15.0-5b3c913b.orig.tar.bz2.delta
 4 bulmages-master_0.16.0.20150107.1241-73c2dd9d.orig.tar.bz2.id
 4 bulmages-release_0.15.0-5b3c913b.orig.tar.bz2.id

5) If you want to obtain the tarball (sources) of one of them (for 
example, the master branch) type the following:


   $ pristine-tar checkout 
../bulmages-master_0.16.0.20150107.1241-73c2dd9d.orig.tar.bz2
   pristine-tar: successfully generated 
../bulmages-master_0.16.0.20150107.1241-73c2dd9d.orig.tar.bz2


6) Now, go to the parent directory, and check the hash:

   $ md5sum bulmages-master_0.16.0.20150107.1241-73c2dd9d.orig.tar.bz2
   9359934456b86da8489d24a947828239 
bulmages-master_0.16.0.20150107.1241-73c2dd9d.orig.tar.bz2


   Your proccess will be physically equivalent !!
   This allows to check the purity of the sources, because the 
mantainer of a debian package must not do changes in it (the upstream 
branch is for developers).


 EXAMPLE 2: HOW TO BUILD WITH PRISTINE-TAR 
*


1) Download a concret branch:

   $ git clone --branch release15 --single-branch 
https://gitlab.com/aitor_cz/bulmages.git


2) Now we will use git-import-orig, so remove the metadatas in bulmages 
(the .git folder)


   $ rm -rf bulmages/.git
   $ mkdir release15
   $ cd release15
   $ git-import-orig --pristine-tar ../bulmages
 What will be the source package name? [] bulmages-release
 What is the upstream version? [] 0.15.0-5b3c913b
 gbp:info: Importing 
'../bulmages-release_0.15.0-5b3c913b.orig.tar.bz2' to branch 'master'...

 gbp:info: Source package is bulmages-release
 gbp:info: Upstream version is 0.15.0-5b3c913b
 pristine-tar: committed 
bulmages-release_0.15.0-5b3c913b.orig.tar.bz2.delta to branch pristine-tar
 gbp:info: Successfully imported version 0.15.0-5b3c913b of 
../bulmages-release_0.15.0-5b3c913b.orig.tar.bz2


3) Extract the pristine-tar branch:

   $ git checkout pristine-tar
 Switched to branch 'pristine-tar'

   $ ls -l
 bulmages-release_0.15.0-5b3c913b.orig.tar.bz2.delta
 bulmages-release_0.15.0-5b3c913b.orig.tar.bz2.id

  The tarball bulmages-release_0.15.0-5b3c913b.orig.tar.bz2 is again in 
the parent directory.


4) If yout want to do some changes, commit them an build with 
git-buildpackage:


   $ git-buildpackage --git-export-dir=../build-area \
  --git-pristine-tar \
  --git-tag \
  --git-ignore-branch


** EXAMPLE 3: HOW TO GENERATE THE PRISTINE-TAR BRANCH 
**


As Joey Hess explains in his article:

http://joeyh.name/blog/entry/generating_pristine_tarballs_from_git_repositories/

the above examples are from the perspective of a maintainer of a Debian 
package. But this can also be used by the authors who generate the 
pristine tarballs in the first place. Check them into git using 
pristine-tar. Then you can regenerate any tarball you've ever released 
using just your project's git repository.


$ pristine-tar commit ../bulmages-release_0.15.0-5b3c913b.orig.tar.bz2 
tags/0.15.0-5b3c913b


Have a nice day :)

Aitor.

P.D.- There is another alternative for the second example:

  $ gbp buildpackage --git-upstream-tag=0.15.0-5b3c913b \
 --git-debian-branch=release15 \
 --git-no-pristine-tar \
 --git-pristine-tar-commit

On 25/08/15 16:24, Svante Signell svante.sign...@gmail.com wrote:

On Mon, 2015-08-24 at 17:09 +0200, aitor_czr wrote:

Hi Svante,

Pristine-tar branch guarantees a constant checksum in the sources
*.bz2. The packager should not make changes in the source (this is
only for the developer), all the changes must be done in the debian
branch using quilt. Shortly i will write a little guide explaining how
to create the pristine-tar branch (Joey Hess wrote something about
that), etc...

pristine-tar is needed to build the source package with
dpkg-buildpackage (dpkg-source -b builds the source file).
However I still have not found out how to build the source package from
the pristine-tar branch and the binary files with dpkg-buildpackage.


On 24/08/15 14:00, Svante Signellsvante.sign...@gmail.com  wrote:


 This issue is still hindering me from fully maintain packages, a clear
 TODO is needed, preferably somewhere on the Devuan website

Re: [DNG] Mirroring Devuan

2015-08-25 Thread aitor_czr

Hi, Jaromil,

I did something similar in January, but it took me so long... I have the 
script in another hard disk. I will reanalize it (whenever i have the 
time) and share with you. I suppose rsync woult be the best tool to 
mantain the repository. I don't know if it would be better than Amprolla.


Aitor.


Jaromil:

we haven't yet worked on the mirroring mechanism, but we will

once done, there will be a script and it will be easy
I guess it will be a sort of amprolla satellite process
so that the mirror redirection will be handled by nextime's software

...


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] xfce not shutting down on Devuan

2015-08-24 Thread aitor_czr

I still have not tested Xfce in Devuan, i will do it as soon as possible.

Aitor.

On 24/08/15 10:11, Edward Bartolo edb...@gmail.com wrote:

If that is the case, how do I get the 'suspend' and 'hibernate'
buttons? I have pm-utils installed and I am using Devuan 64 bit.

On 24/08/2015, igulederd...@dimakrasner.com  wrote:

apt-get update;apt-get -y upgrade

I've spent many nights debugging power/session management issues in Xfce on
Devuan - all confirmed disabled button issues are fixed.




Let me know if the problem persists.


 On Mon, 24 Aug 2015 01:26:16 +0300adamdmlt;ada...@trueleet.comgt;
wrote 

I can't shutdown Devuan from xfce, the button is just disabled...
Am I missing something?

Thanks


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] shutdown is there for one user, not for another

2015-08-24 Thread aitor_czr
Adding or removing an user in the system affects also to other files 
like /etc/group, /etc/gshadow, /etc/subuid and /etc/subgid.


Aitor.

El 24/08/15 a las 17:48, Hendrik Boom hend...@topoi.pooq.com escribió:

Then I copied /home/hendrik from my old Debian jessie installation,
put my login information from Debian into /etc/passwd and
/etc/shadow.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] xfce not shutting down on Devuan

2015-08-24 Thread aitor_czr

Perhaps oblogout coult be adapted to Xfce.

Aitor.

On 24/08/15 17:48, Steve Litt sl...@troubleshooters.com wrote:

On Mon, 24 Aug 2015 05:53:53 +0100
Edward Bartoloedb...@gmail.com  wrote:



On 24/08/2015, Steve Littsl...@troubleshooters.com  wrote:

 On Mon, 24 Aug 2015 00:26:16 +0200
 adamdmada...@trueleet.com  wrote:
 

 I can't shutdown Devuan from xfce, the button is just disabled...
 Am I missing something?

 
 I've intermittently had this problem on multiple versions of
 multiple distros. I think of it as being part of the plan --- just
 the way life is.
 
 If you're really concerned about it, you could put in a
 (complicated) hotkey combo to run a shellscript that runs poweroff,
 and make sure that poweroff is set in sudoers to run as root and
 require no password (assuming this is a personal computer, and not
 a multiuser).
 
 By the way, if you happen to be booting to the command prompt and
 then running startx, Xfce is functioning as designed when it grays
 out its shutdown and reboot buttons.
 
 SteveT
 
 Steve Litt
 August 2015 featured book: Troubleshooting: Just the Facts
 http://www.troubleshooters.com/tjust
 ___
 Dng mailing list
 Dng@lists.dyne.org
 https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
 

Could we create a simple application that displays a logout modal
window similar to the one displayed by xfce4, remove the default
logout menu item from xfce4 and create our own one. With GTK2 it
shouldn't be that difficult to create it? We would only need to setup
sudo to run the littel GTK2 app.

What do you think?

Personally, I think it's too small a problem to address at all. But if
we do address the problem, I guess as a distro we should fix the root
cause (whatever it is), not patch around it.

SteveT


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Bug in live-installer

2015-08-23 Thread aitor_czr

Hi all,

Installing live-images, the process becames unstable depending (i 
suppose) on the size of the filesystem.squashfs file. The following hack 
solves this issue:


https://gitlab.com/aitor_czr/live-installer/commit/cf89c8d49196cc92d183640bd1697599bdcaed99

I'm not the author of the hack. The author of the hack is Philip 
Newborough, aka Corenominal (CrunchBang). Honestly, i didn't analyze the 
code.


But it works.

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Problem with debhelper

2015-08-22 Thread aitor_czr
Recently i debianized the latest release of bulmages (acounting and 
invoicing program) in Qt5:


http://gnuinos.org/release16/?dir=devuan/pool/main/b/bulmages

And i had the following issue: the resulting packages were all empty! 
This was due to the fact that the latest release is located in 
/usr/local, so i had to comment with some lines in the dh_usrlocal 
script, written in perl by Joey Hess. For example:


## doit(rmdir $tmp/usr/local);

Is there any way avoid that? Is this a bug in dh?

Thanks in advance.

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Problem with debhelper

2015-08-22 Thread aitor_czr

Thaks, i will try it.

Aitor.

On 22/08/15 16:58, Rainer Weikusat rainerweiku...@virginmedia.com wrote:

Use it as intended? In case you want to create a package installing
something in /usr/local (eg, because it's a local package not intended
for standalone distribution), the dh_usrlocal step can be skipped:

binary:
dh binary --before dh_usrlocal
dh binary --after dh_usrlocal



aitor_czraitor_...@gnuinos.org  writes:


Recently i debianized the latest release of bulmages (acounting and
invoicing program) in Qt5:

http://gnuinos.org/release16/?dir=devuan/pool/main/b/bulmages

And i had the following issue: the resulting packages were all empty!
This was due to the fact that the latest release is located in
/usr/local, so i had to comment with some lines in the dh_usrlocal
script, written in perl by Joey Hess. For example:

## doit(rmdir $tmp/usr/local);

Is there any way avoid that? Is this a bug in dh?


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mirroring Devuan

2015-08-21 Thread aitor_czr

We must resort to Sherlock Holmes.

On 21/08/15 07:47, Ismael L. Donis Garcia sli...@citricos.co.cu wrote:

The directoryhttp://packages.devuan.org/merged/pool/  is empty

Regards

| ISMAEL |


- Original Message -
From: aitor_czr
To:dng@lists.dyne.org  
Sent: Wednesday, August 19, 2015 5:00 AM

Subject: Re: [DNG] Mirroring Devuan


Did you try with debmirror? An example:

debmirror --host=packages.devuan.org \
  --root=merged \
  --dist=jessie \
  --section=main \
  --arch=amd64 \
  --progress \
  --method=http \
  --nosource \
  --ignore-release-gpg \
  --ignore-missing-release \
  /home/user/devuan

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Mirroring Devuan

2015-08-19 Thread aitor_czr

Did you try with debmirror? An example:

debmirror --host=packages.devuan.org \
  --root=merged \
  --dist=jessie \
  --section=main \
  --arch=amd64 \
  --progress \
  --method=http \
  --nosource \
  --ignore-release-gpg \
  --ignore-missing-release \
  /home/user/devuan

Aitor.

On 19/08/15 04:19, k...@aspodata.se  wrote:

Wyatt:

Is there an up to date list of current mirrors,

Don't know.


and instructions on how to become a mirror anywhere?
There's a forum post about it, but the links lead to empty pages on the git 
wiki.

Mirroring debian was/is easy, in the old time you used the perl script
mirror, and later on, rsync via the shell script anonftpsync.

Mirroing devuan seems to be more complex, if you look below
Continuous Integration for Devuan at:

  https://devuan.org/

there is a program amprolla that handles the mix offtp.*.debian.org  
and the devuan packages. You can find amprolla here:


  https://git.devuan.org/devuan-infrastructure/amprolla

from the README.md:

  amprolla is a rude script that generates rewrite rules for nginx that then 
try to merge
  the Devuan repository files ( like InRelease, Packages, Sources and so on ) 
with
  other external repositories ( namely, the Debian one ) in order to provide a 
full
  repository where Devuan packages have precedence over other repos.

  This allows Devuan to have a fully meta distro where missing Devuan packages
  come from Debian and/or other repositories
  (like, for example, the deb-multimedia.org from Marillat) without the need
  to create a fully merged repository.

  It works by downloading and merging files to create the dists/ directory
  structure for Devuan and then creating a pool of HTTP 302 redirects to
  the external repositories hosts for packages download.

So setting up a devuan mirror involves amprolla (python), ngix, and I
assume apache. You can not just copy the files and point boa the the
directory.

I suggest you clone the amprolla repo and study the files there, and
look at packages.devuan.org with a ftp client to see the file structure:

$ lftp packages.devuan.org
lftp packages.devuan.org:~ ls
drwxr-xr-x2 004096 Jun 02 09:29 alpha-iso-cd
drwxr-sr-x5 107  112  4096 Jun 16 00:15 devuan
drwxr-xr-x2 004096 Mar 18 18:56 merged
lftp packages.devuan.org:/ ls merged/
lftp packages.devuan.org:/ ls devuan/
drwxr-sr-x   12 107  112  4096 Mar 03 13:52 dists
drwxr-sr-x2 107  112  4096 Jul 12 03:46 indices
drwxr-sr-x3 107  112  4096 Dec 05  2014 pool
lftp packages.devuan.org:/ ls alpha-iso-cd/
-rw-r--r--1 1004 0 276 Jun 02 09:29 README.txt
-rw-r--r--1 1004 028311552 Jun 01 13:04 
devuan-jessie-netboot-i386-alpha2.iso
-rw-r--r--1 1004 0  72 Jun 02 09:22 
devuan-jessie-netboot-i386-alpha2.iso.md5sum
-rw-r--r--1 1004 0  80 Jun 02 09:22 
devuan-jessie-netboot-i386-alpha2.iso.sha1sum
$

Mirroring packages.devuan.org through ftp seems easy enough, but one
would probably need help setting up amprolla.

///

On a related note, how do I get a local mirror of devuan (a local
mirror is good to have when you are usually in bad connected places
or you are doing lots of installations/testing) ?

Mirroringftp://packages.devuan.org/devuan/  and having a sources.conf
like:

debfile:/Net/debian  jessie main non-free contrib
debfile:/Net/ftp/packages.devuan.org/devuan/  stable main

doesn't seem to work. What am I missing ?

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] A place in the hell

2015-08-19 Thread aitor_czr

I did it again. Yes, i did it again!

Nobody reads posts containig disgest in the subject, but yesterday i did 
it again.


I hope there will be a very special place in the hell reserved for me.

Heaven is so bore... :-)

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng Digest, Vol 11, Issue 62

2015-08-18 Thread aitor_czr

Please, try the same process using:

http://mirrors.gnuinos.org 
http://mirrors.gnuinos.org/?dir=DEVUAN-BASED%20IMAGES


It is based on devuan, but the installers are different. Devuan installs 
all the *.deb packages in the target; while gnuinos mounts the 
filesystem.squashfs on it. Before compiling the content of the chroot 
jail with the final porpuse of getting the squashfs file, i always 
remove /etc/fstab from the jail. If i don't remove it, the personal home 
folder of the user doesn't be created (i don't know the reason why). I 
always do (/,/home/,sawp) manual partition with no issues. It would be 
interesting to compare both results.


Thanks,

Aitor.

On 17/08/15 20:48, hal vmli...@charter.net wrote:

I've booted the Alpha2 iso but it doesn't seem to be able to find any partitions. From the partition menu (LVM 
Guided or Manual) I select Manual but then get a dialog stating No root file system 
defined.  The installer seems to be jumping ahead from partitioning to installing without allowing me to setup partitions.

I have a 4G raw partition as /dev/sdb1 (formatted with ext4 and set 'active')  which I 
intend to use for / and then use LVM for /usr, /var, /home and /tmp. I have 
Ubuntu installed on some of the LVM partitions and thought if Devuan is not working for 
me, I can still boot back into the Ubuntu install so I don't want to re-partition the 
entire disk as it would hose my current desktop setup.

Any way to manually kick off the install from the CLI ?


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan 64 install: no root filesystem?

2015-08-18 Thread aitor_czr

Please, try the same process using:

http://mirrors.gnuinos.org 
http://mirrors.gnuinos.org/?dir=DEVUAN-BASED%20IMAGES


It is based on devuan, but the installers are different. Devuan installs 
all the *.deb packages in the target; while gnuinos mounts the 
filesystem.squashfs on it. Before compiling the content of the chroot 
jail with the final porpuse of getting the squashfs file, i always 
remove /etc/fstab from the jail. If i don't remove it, the personal home 
folder of the user doesn't be created (i don't know the reason why). I 
always do (/,/home/,sawp) manual partition with no issues. It would be 
interesting to compare both results.


Thanks,

Aitor.

On 17/08/15 20:48, hal vmli...@charter.net wrote:

I've booted the Alpha2 iso but it doesn't seem to be able to find any partitions. From the partition menu (LVM 
Guided or Manual) I select Manual but then get a dialog stating No root file system 
defined.  The installer seems to be jumping ahead from partitioning to installing without allowing me to setup partitions.

I have a 4G raw partition as /dev/sdb1 (formatted with ext4 and set 'active')  which I 
intend to use for / and then use LVM for /usr, /var, /home and /tmp. I have 
Ubuntu installed on some of the LVM partitions and thought if Devuan is not working for 
me, I can still boot back into the Ubuntu install so I don't want to re-partition the 
entire disk as it would hose my current desktop setup.

Any way to manually kick off the install from the CLI ?
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Bug in debian-installer

2015-08-18 Thread aitor_czr

Debian-installer creates in /etc/fstab lines like:

/dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0
/dev/sdb1   /media/usb0 autorw,user,noauto  0   0

depending on the used method (cd-rom or usb-stick). Those files are 
superfluous. The following postinstallation script removes them:


ARCHIVO=/etc/fstab
if grep ^/dev/sd ${ARCHIVO} | grep /media/ | grep auto
then
LINEA1=`grep ^/dev/sd ${ARCHIVO} | grep /media/ | grep auto`
LINEA2=## ${LINEA1}
rpl -q ${LINEA1} ${LINEA2} ${ARCHIVO}
fi
if grep ^/dev/sr ${ARCHIVO} | grep /media/cdrom
then
LINEA3=`grep ^/dev/ ${ARCHIVO} | grep /media/cdrom`
LINEA4=## ${LINEA3}
rpl -q ${LINEA3} ${LINEA4} ${ARCHIVO}
fi

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Systemd Shims

2015-08-18 Thread aitor_czr

Hi Edward,

I've never used Lazarus, origin in the missing Kylix C/C++ for 
GNU/Linux, at the same time origin in Borland C/C++and Delphi Pascal for 
MS Windows. I usually use QtCreator, and sometimes Anjuta. So, i can't 
help you.


Anyway, i think thatfor your purpose the relevance is not in the 
frontend, but rather in the backend. This is written in C, and you can 
always use a shell script via:


system(here_put_the_shell_script);

Perhaps it will be usefull for you...

Regards,

Aitor.

On 18/08/15 14:00, Edward Bartoloedb...@gmail.com  wrote:


If anyone from Devuan knows of a Lazarus function that I can use to
capture the output of an external program running with root
privileges, it will be much of an impulse for my coding exercise.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Issue 56 ??

2015-08-16 Thread aitor_czr
I haven't received any email belonging to Dng Digest,Vol11,Issue 56...
They jumped from 55 to 57.
Any incidence?

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] hostname set to (none)

2015-08-15 Thread aitor_czr
Hi,

I built the minimal chroot jailgenerated by live-build in devuan, and
the hostname is set to none:

$ hostname
(none)

There aren't underscores in the /etc/hostname file, and the /etc/hosts
is also correct.It happened to me the same some other time starting with
sysvinit, but not with systemd.

Any idea? Thankyou in advance.

Aitor.

Note: I installed live-config-sysvinit, etc... and removed systemd.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Alpha2 without desktop environment

2015-08-15 Thread aitor_czr
Hi again,

Grub-install failed in gnuinos server (Alpha2). Apparently libfuse2 and
os-prober are not included in it. I will solve this issue during the day.


Thanks,

Aitor.

On Fri, 14 Aug 2015 23:52:56 +0200 aitor_czr wrote:

 Hi all,

 I'm uploading a live image of gnuinos in amd64 architecture (and shortly
 in i386) without desktop environment, taking Devuan Alpha2 as a base
 (~390 MB). Network connection and quick installation. Download zone:

 http://mirrors.gnuinos.org/?dir=DEVUAN-BASED%20IMAGES

 The web site is not updated, but this distribution will be definitely
 based on Devuan.

 Regards,

 Aitor.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng Digest, Vol 11, Issue 46

2015-08-14 Thread aitor_czr
Hi all,

I'm uploading a live image of gnuinos in amd64 architecture (and shortly
in i386) without desktop environment, taking Devuan Alpha2 as a base
(~390 MB). Network connection and quick installation. Download zone:

http://mirrors.gnuinos.org/?dir=DEVUAN-BASED%20IMAGES

The web site is not updated, but this distribution will be definitely
based on Devuan.

Regards,

Aitor.

El 14/08/15 a las 22:16, dng-requ...@lists.dyne.org escribió:
 Message: 1
 Date: Fri, 14 Aug 2015 13:27:49 -0400
 From: Steve Litt sl...@troubleshooters.com
 To: dng@lists.dyne.org
 Subject: Re: [DNG] Alpha2 without desktop environment
 Message-ID: 20150814132749.5da7a...@mydesq2.domain.cxm
 Content-Type: text/plain; charset=US-ASCII

 On Fri, 14 Aug 2015 07:01:11 -0400
 Haines Brown hai...@histomat.net wrote:


   Rereading your original post: Do you want to not have a Display
   Manager such as lightdm, kdm, gdm etc, or do you want your computer
   not to have X at all? If the latter, just deinstall X. If the
   former, you need to find your display manager, based on ps axjf.
  
  The aim is to boot to a console prompt, log in as root, install xorg
  and fluxbox. That gives me X and a window manager but no desktop
  environment. 
 What you describe above is *precisely* how I want things to go. Your
 box and my desktop are the same except I use Openbox instead of
 fluxbox. I love startx so much my wife is getting jealous.

  At present I get a log in prompt and can log in as user
  in console, but for some reason root log in not working. I suppose
  that when I provided a password I mistyped. 
 :-) If this were Ubuntu, I'd tell you to do sudo su -

  
   Anyway, luckily for you, you're on Devuan with sysvinit, so I'm
   pretty sure almost any way that you could disable plymouth and
   lightdm would bring you to CLI, from which you could run startx
   which would work with a properly configured ~/.xinitrc.
  
  You describe a complicated scenario. I've never had to go through all
  that because I've always simply done expert install, avoided
  installing a desktop environment, and then in console install xorg and
  fluxbox. Over the years never had a problem.
 Yes, you're right, it's too complicated. I was thinking in Ubuntu-eze,
 where the entire distro is designed to never let you boot to command
 prompt. At least up to Wheezy (I haven't used Jessie), Debian was
 designed to allow booting to CLI via installation, in the manner you
 voiced earlier: Install base, install X, install fluxbox, done. In
 Debian (and therefore I assume Devuan), what I described should only be
 used for troubleshooting purposes.

 SteveT

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng Digest, Vol 11, Issue 39

2015-08-13 Thread aitor_czr
I have not been able to use UnetBootin with the latest versions. Like 
Daniel, i suspect these may be related to using UnetBootin. Try with dd 
command:


dd if=*.iso of=/dev/sdX   (without the number of the partition, for 
example, sdb instead of sdb1)


Type fdisk -l to get sdX. Just in case, first do it hybrid:

isohybrid devuan*.iso

You need to install syslinux and syslinux-utils.

Aitor.

El 13/08/15 a las 01:37, dng-requ...@lists.dyne.org escribió:

Message: 5
Date: Thu, 13 Aug 2015 09:37:57 +1200
From: Daniel Reurichdan...@centurion.net.nz
To: Haines Brownhai...@histomat.net,dng@lists.dyne.org
Subject: Re: [DNG] alpha 2 ISO missing parameter
Message-ID:55cbbcb5.7060...@centurion.net.nz
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Haines,

On 13/08/15 01:22, Haines Brown wrote:

I downloaded Alpha 2 and placed it on a USB key with unetbootin.


Why didn't you just use dd (or even cat) to just dump the iso onto the
usbstick.


When I boot a Thinkpad x250 with Alpha 2 iso, it comes up with Missing
parameter error. However, when I provide Install at the Boot: prompt,
it boots to the installer.

However, on a i386 desktop machine for which I would really like to
install devuan, booting the key comes up with Missing parameter in
configuration file: Keyword: path. In this case, there is no Boot:
prompt.

I don't understand these messages or if they are compatible.

I suspect these may be related to using unetbootin instead of just using
dd to write the image to your usb stick.  If doing this doesn't solve
the issue, then please file an issue here:

https://git.devuan.org/d-i/debian-installer/issues

Thanks,
Daniel



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Evince, gimp and okular in devuan

2015-08-13 Thread aitor_czr
I don't know, i'm in devuan jessie :)

El 13/08/15 a las 19:01, Riccardo Boninsegna escribió:

 Il 13/ago/2015 06:55 PM, aitor_czr aitor_...@gnuinos.org
 mailto:aitor_...@gnuinos.org ha scritto:
  libcupsimage2 : Depende: libcups2 (= 1.7.5-11) pero 1.7.5-11+deb8u1
 va a ser instalado

 Does Debian have the same problem? Last time I used my computer about
 a week ago I fully updated Devuan Ascii with no issue, but the version
 numbers suggest that we haven't picked up an update for the main
 package yet... or that a Debian packager messed up!


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Evince, gimp and okular in devuan

2015-08-13 Thread aitor_czr
Recently i communicated that okular wasn't possible to be installed in
devuan (i can't remember the architecture). Trying to install evince and
gimp in amd64 (but not in i386!) i'm with the same problem:

Los siguientes paquetes tienen dependencias incumplidas:
libcupsimage2 : Depende: libcups2 (= 1.7.5-11) pero 1.7.5-11+deb8u1 va a
ser instalado

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng Digest, Vol 11, Issue 37

2015-08-12 Thread aitor_czr

Hey Aleskandro, awesome !

It could be a good idea to create a simbolic link to /devuan_version/ 
(named /debian_versio//n)/ in order to avoid any similar case in the 
future, simply adding:


rm -f /etc/debian_version
ln -s /etc/devuan_version /etc/debian_version

to the postinstall script in the debian branch of base-files 
https://git.devuan.org/packages-base/base-files/tree/jessie package.


Aitor.

El 12/08/15 a las 07:52, dng-requ...@lists.dyne.org escribió:
Message: 5 Date: Wed, 12 Aug 2015 00:37:42 +0200 From: Jaromil 
jaro...@dyne.org To: dng@lists.dyne.org Subject: Re: [DNG] [Ruby on 
rails - RVM] Patch for RVM and Devuan Message-ID: 
20150811223742.ga11...@mail.dyne.org Content-Type: text/plain; 
charset=utf-8 dear aleskandro, On Wed, 12 Aug 2015, aleskandro wrote:

The patch was merged. Now devuan is supported by rvm in the branch master.

many thanks for your contribution and good luck with your project!

ciao


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng Digest, Vol 11, Issue 36

2015-08-11 Thread aitor_czr
Are you talking about a minimal installation of Devuan (Standard or 
Server..., or whatever you want to call) containing a postinstallation 
script (style of Crunchbang) which acts like tasksel? It requires 
network connection !

Wicd-daemon? Network-manager depends on systemd.

Aitor.

El 11/08/15 a las 19:36, dng-requ...@lists.dyne.org escribió:

Message: 5
Date: Tue, 11 Aug 2015 09:52:08 -0700
From: Go Linuxgoli...@yahoo.com
To:dng@lists.dyne.org, Steve Littsl...@troubleshooters.com
Subject: Re: [DNG] Packaging (was  Systemd Shimss, Init scripts in
packages,   possibly Mission Creep)
Message-ID:
1439311928.3137.yahoomailba...@web163401.mail.gq1.yahoo.com
Content-Type: text/plain; charset=us-ascii

On Tue, 8/11/15, Steve Littsl...@troubleshooters.com  wrote:

  Subject: Re: [DNG] Packaging (was  Systemd Shimss, Init scripts in packages, 
possibly Mission Creep)
  To:dng@lists.dyne.org
  Date: Tuesday, August 11, 2015, 11:27 AM
  
On Tue, 11 Aug 2015 07:02:28 -0700

Go Linuxgoli...@yahoo.com  wrote:


On Mon, 8/10/15, Steve Littsl...@troubleshooters.com  wrote:

[snip]


 * base install
 * apt-get install xorg
 * apt-get install xterm (if not installed by xorg)
 * apt-get install Xfce (or whatever)
 * apt-get install lightdm

[snip]


Several years ago, I actually built up xfce (without the meta
package) from a base install.  Then I found refracta which simplified
my life as it was very close to what I wanted.  fsmithred has
promised to build a devuan iso for the likes of me.  But he's not
been seen around here in some time and the refracta forums haven't
had much traffic lately . . . maybe because it's summer.  Once the
beta appears I'm hoping he'll spin into action.  Doing this all from
scratch would be a bit of a challenge for me . . . the years are
beginning to take a toll . . .

Hi golinux,

I've known you for what, a year now? My impression is you're smart and
skilled enough to find it almost trivial to install base, then xorg,
then xterm, then a window manager, then lightdm. I've seen you do a
lot more challenging stuff than that, including making very inciteful
contributions to discussions on infrastructure. My impression of
you is that if you put your mind to it, you could install Arch or
Gentoo, and those really do take some concentration and resolution of
ambiguities. But anyway...

I'll admit I've met people who couldn't follow a five step apt-get
sequence, but you're about a million miles from that.

Well, anyway, you were speaking for those guys who can't follow a 5
step recipe, and that's legitimate.*If*  it's decided that the base
install should be minimal, it would be pretty easy to make a
shellscript to do all X installation in one command. If the base
install included nCurses and Dialog, it could even be a no-argument
script that queried for everything:

* Do you want a Graphical User Interface (GUI) (Y/n)

* Do you want to boot straight to Graphics mode? (y/N)

* If booting straight to Graphics mode, require password? (Y/n)

* Which window mgr? (Xfce/LXDE/Openbox/Whatever/Other)

* If Other, please enter the WM name here 

* Thank you. Press Enter to perform this work, press Ctrl+C to abort:


Of course, the prompts would need to be*much*  more tailored to the
uninitiated user, who for instance, doesn't know what a Graphical User
Interface, a window manager are, or why he would or wouldn't want a
password.

The benefit of doing it this way is it's being performed on an already
installed system that's almost guaranteed to boot just fine.

SteveT


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] live-build

2015-08-10 Thread aitor_czr

On 31/07/15 08:02, Ozi Traveller wrote:

Hi,

I've very interested to create to use Devuan as a base for my distro.

ISo I'm wonder whether live-build is also coming across from Debian?

Cheers
Ozi

Hi Ozi,

Live-build works fine in Devuan, but you must change the default mirrors 
in bootstrap and chroot config files. For example:


LB_MIRROR_BOOTSTRAP=http://ftp.es.mirror.devuan.org/merged/;

instead of http://ftp.debian.org/debian/;, etc...

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


<    4   5   6   7   8   9