Re: [DNG] Quick start guide to uprading to Devuan and, configuring minimalism

2015-12-20 Thread aitor_czr


Hi Emiliano and dev1fanboy,

On 16/12/15 22:04, Emiliano Marini  wrote

>Thanks, let me know if it needs corrections or has misspellings. 


I uploaded my translation to the following link:

http://gnuinos.org/index.php/es/2015-12-20-23-42-21/guia-de-actualizacion-a-devuan-desde-debian

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


Re: [DNG] Our friendly community

2015-12-20 Thread Dragan FOSS

On 12/20/2015 08:56 PM, Hendrik Boom wrote:

systemd-shim does not depend on systemd, and it conflicts with
systemd.  You cannot install both, as claimed by John Hughes.


apt-cache rdepends systemd-shim
systemd-shim
Reverse Depends:
  systemd-shim:i386
  systemd:i386
 |xfce4-session
  systemd
 |libpam-systemd
  init-select

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


Re: [DNG] Dng Digest, Vol 15, Issue 77

2015-12-20 Thread aitor_czr

Hi Rainer,

On 12/20/2015 07:01 PM, Rainer Weikusat  
wrote:



Using copy'n'paste to save the content of the not-reformatted mail to a
text file is sufficient to create a 'working' patch-file for me.

Here is is the patch:

http://gnuinos.org/netman/

Cheers,

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


Re: [DNG] Not getting your emails

2015-12-20 Thread Mitt Green
I reckon it's because we use Yahoo! Mail. I remember 
some sites that prevent you from registration if you
use it, notable being gnome-look.org, saying that
they receive a lot of spam from @yahoo.com.

Btw, maybe someone knows good webmail clients, apart
from Google's and Yahoo?

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


Re: [DNG] Not getting your emails

2015-12-20 Thread Jim Murphy
On Fri, Dec 18, 2015 at 4:41 PM, Teodoro Santoni  wrote:
> 2015-12-18 17:21 GMT+01:00, Mitt Green :
>> Go Linux  wrote:
>>
>>>Just a heads up.  None of your emails are coming through. Not even in spam.
>>>  I >only know that you've posted when I see quotes in the responses.  I
>>> have a >yahoo address for this list and it has been a problem for me too.
>>
>> The same thing about you: once you wrote to "Our friendly communinty" I
>> didn't
>> get your email. You are not in my spam folder either. Mine is yahoo too
>> as you see.
>>
>>
>> Mitt
>
> I have got both of you in spam since ages. Gmail filters do nothing to
> help that.

Same here.  More in spam then get to my inbox.  I keep marking them,
not spam, but gmail keeps putting them there.  Your guess is good as
mine on how many just go missing.  I don't see anything in the headers
that set off any flags.

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


Re: [DNG] Life's too short to reply to trolls

2015-12-20 Thread Ozi Traveller
+1


How soon can we expect to see a beta/final release?

Everything else is irrelevant, surely.

On Sun, Dec 20, 2015 at 5:33 AM, Steve Litt 
wrote:

> Hi all,
>
> Here's a partial list of things I just don't do:
>
> * I don't go into a Catholic church saying "Abortion isn't that bad."
>
> * I don't go into an abortion rights group meeting saying "Bans on
>   abortion aren't that bad."
>
> * I don't go into Linux venues saying "Linux is primitive compared to
>   the superior OS/x and Windows.
>
> * I don't go into Mac or Windows venues extolling the virtues of Linux.
>
> * I don't go onto the dng mailing lists saying "systemd-component isn't
>   that bad."
>
> Because I have a life.
>
> Those who have a life don't move into a group or venue and challenge
> the group or venue's foundational principle, because it's much easier
> to join a more fitting group or venue, or else make your own group or
> venue. Those with a life have better things to do than try to start
> conflict.
>
> Those who don't have a life send 31 posts, all contradictory to the
> group's foundational principle, in 1.5 days. I can't begin to speculate
> what satisfaction such people derive from their activities, and the
> arguments their activities spawn, but the result is all too clear: They
> use up valuable energy that should be used to further the group's
> mission. And with the help of those who reply to them, they create anger
> that drives away the not-yet-committed.
>
> They damage the group. Don't assist them by responding. Don't turn a
> mole-hill into a mountain. Instead, do what I just did:
>
> :0:
> * From.*thetr...@whatever.com
> * ^(To|Cc).*dng@lists.dyne.org
> /dev/null
>
> Naturally, you can also use your email client's native
> filters, if you prefer.
>
> Let me ask you a couple questions:
>
> * If a tree falls in a remote forest where no creature can hear, did it
>   really make a sound?
>
> * If a troll trolls on dng, but everyone's filtered him out, did he
>   really troll at all? Or perhaps more to the point, did he cause any
>   damage?
>
> In the past 1.5 days, a single troll and those who responded accounted
> for 60 messages. All but the troll had the same opinion: We'd prefer
> not to have any libsystemd dependencies. Only the troll disagreed. Do
> we really owe the troll an explanation, once it becomes obvious he's
> not looking for one: He's looking only to create conflict?
>
> With trolls unheard, we can better get down to the not inconsiderable
> business of bringing the Devuan sans-systemd OS to beta and then to
> production status.
>
> When it comes to trolls, my policy is this:
>
> Killfile and move on!
>
> SteveT
>
> Steve Litt
> November 2015 featured book: Troubleshooting Techniques
>  of the Successful Technologist
> http://www.troubleshooters.com/techniques
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Our friendly community

2015-12-20 Thread Adam Borowski
On Sun, Dec 20, 2015 at 02:56:48PM -0500, Hendrik Boom wrote:
> > Please reread what I pasted again.  There's a hard dependency on systemd.
> > And libpam-systemd is the only real user of systemd-shim.
> 
> To achieve some clarity I performed a few experiments using 
> user-mode aptitude on my alpha-two Jessie devuan system.
> 
>  Yes, libpam-systemd does depend on systemd, as claimed by Adam 
> Borowski.
>  No, systemd-shim does not depend on systemd, and it conflicts with 
> systemd.  You cannot install both, as claimed by John Hughes.

Package: systemd-shim
Version: 9-1
Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.39.4), cgmanager (>= 0.32)
Suggests: pm-utils
Breaks: systemd (<< 209)

Package: systemd
Version: 228-2
Depends: libacl1 (>= 2.2.51-8), libapparmor1 (>= 2.9.0-3+exp2),
 libaudit1 (>= 1:2.2.1), libblkid1 (>= 2.19.1), libcap2 (>= 1:2.10),
 libcryptsetup4 (>= 2:1.4.3), libkmod2 (>= 5~), libmount1 (>= 2.26.2),
 libpam0g (>= 0.99.7.1), libseccomp2 (>= 2.1.0), libselinux1 (>= 2.1.9),
 libsystemd0 (= 228-2), util-linux (>= 2.27.1), mount (>= 2.26), sysv-rc,
 adduser, libcap2-bin
Pre-Depends: libc6 (>= 2.17), libgcrypt20 (>= 1.6.1),
 liblzma5 (>= 5.1.1alpha+20120614), libselinux1 (>= 1.32)
Recommends: libpam-systemd, dbus
Suggests: systemd-ui, systemd-container
Conflicts: klogd
Breaks: apparmor (<< 2.9.2-1), lsb-base (<< 4.1+Debian4), lvm2 (<< 2.02.104-1),
 systemd-shim (<< 8-2)

They don't conflict, the versioned breaks are on pre-jessie versions.

> Are there other users of libpam-systemd?  If so, are  some of them 
> unreal?

libpam-systemd has quite a bunch of users, especially if you include
recursive ones.  But we're talking about systemd-shim here, and that has no
real ones other than libpam-systemd (there's also a metapackagish
recommendation from xfce4-session, and init-select that's a small broken
hack).

> What is the top-level package for installing gnome?

"gnome" for the whole hog, "gnome-core" for a core subset.

-- 
A tit a day keeps the vet away.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Our friendly community

2015-12-20 Thread Hendrik Boom
On Sun, Dec 20, 2015 at 01:20:58PM +0100, Adam Borowski wrote:
> On Sun, Dec 20, 2015 at 12:21:11PM +0100, John Hughes wrote:
> > On 20/12/15 11:18, Adam Borowski wrote:
> > >On Sun, Dec 20, 2015 at 10:12:05AM +0100, John Hughes wrote:
> > >>
> > >>Huh?  systemd-shim is a tool for using libbpam-systemd (which Gnome 
> > >>depends
> > >>on) without systemd being *installed*
> > >>
> > >>In fact it *breaks* systemd, you can't have them both installed.
> > >Package: libpam-systemd
> > >[...]
> > >Depends: libc6 (>= 2.17), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32),
> > >  systemd (= 228-2), libpam-runtime (>= 1.0.1-6), dbus,
> > >  systemd-shim (>= 8-2) | systemd-sysv
> > >
> > Yes, like I said, libpam-systemd depends on systemd-shim *or* systemd-sysv.
> > 
> > You don't need or want systemd installed if you have systemd-shim installed.
> 
> Please reread what I pasted again.  There's a hard dependency on systemd.
> And libpam-systemd is the only real user of systemd-shim.

To achieve some clarity I performed a few experiments using 
user-mode aptitude on my alpha-two Jessie devuan system.

 Yes, libpam-systemd does depend on systemd, as claimed by Adam 
Borowski.
 No, systemd-shim does not depend on systemd, and it conflicts with 
systemd.  You cannot install both, as claimed by John Hughes.

Are there other users of libpam-systemd?  If so, are  some of them 
unreal?

What is the top-level package for installing gnome?

-- hendrik

> 
> -- 
> A tit a day keeps the vet away.
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread aitor_czr

Hi,

On 12/20/2015 07:02 PM, aitor_czr wrote:

There were spaces instead of tab keys in the Makefile. Fixed it:


Now we can also replace:

  dh $@ --with quilt,python2

by:

  dh $@

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


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread Rainer Weikusat
aitor_czr  writes:

[...]

> There were spaces instead of tab keys in the Makefile. Fixed it:

I both determined this and fixed it and meanwhile sent
two mails explaining this and two more with the fixed patch.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread aitor_czr



On 12/20/2015 02:11 PM, aitor_czr wrote:

By the way. This is the result of the proccess:

$ git-buildpackage -j4 -tc -k465D41B1 --git-export-dir="../build-area" 
--git-pristine-tar --git-tag --git-ignore-branch
pristine-tar: successfully generated 
/home/aitor/NETMAN_5/build-area/netman_0.1.1-85ee69e.orig.tar.bz2

gbp:info: Exporting 'HEAD' to '/home/aitor/NETMAN_5/build-area/netman-tmp'
gbp:info: Moving '/home/aitor/NETMAN_5/build-area/netman-tmp' to 
'/home/aitor/NETMAN_5/build-area/netman-0.1.1-85ee69e'

 dpkg-buildpackage -rfakeroot -D -us -uc -i -I -j4 -tc
dpkg-buildpackage: source package netman
dpkg-buildpackage: source version 0.1.1-85ee69e-jessie3
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Aitor Cuadrado Zubizarreta 


 dpkg-source -i -I --before-build netman-0.1.1-85ee69e
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with quilt,python2
   dh_testdir
   dh_auto_clean
make[1]: Entering directory 
'/home/aitor/NETMAN_5/build-area/netman-0.1.1-85ee69e'
Makefile:23: *** missing separator (did you mean TAB instead of 8 
spaces?).  Stop.
make[1]: Leaving directory 
'/home/aitor/NETMAN_5/build-area/netman-0.1.1-85ee69e'

dh_auto_clean: make -j1 distclean returned exit code 2
debian/rules:4: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit 
status 2

debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I -j4 -tc *failed*
gbp:error: 'debuild -i -I -j4 -tc -k465D41B1' failed: it exited with 29


There were spaces instead of tab keys in the Makefile. Fixed it:

diff --git a/Makefile b/Makefile
index 55df54f..e045055 100644
--- a/Makefile
+++ b/Makefile
@@ -13,5 +13,13 @@ clean:
 rm -f lib/*/*.*
 rm -f backend netman

-.PHONY: all clean
+INST := install -o root -g root
+INST_X := $(INST) -m 0755
+INST_D := $(INST) -m 0644

+install: all
+$(INST_X) -d $(DESTDIR)
+$(INST_X) netman backend_src/bin/backend $(DESTDIR)
+$(INST_D) netman.ico netman.desktop $(DESTDIR)
+
+.PHONY: all clean install
diff --git a/debian/netman-backend.install b/debian/netman-backend.install
index 5028afe..f7832d3 100644
--- a/debian/netman-backend.install
+++ b/debian/netman-backend.install
@@ -1 +1 @@
-backend_src/src/backend /usr/lib/netman/bin
\ No newline at end of file
+backend /usr/lib/netman/bin
diff --git a/debian/rules b/debian/rules
index 0e6d2ad..01b984c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,3 @@
 %:
 dh $@ --with quilt,python2

-override_dh_auto_clean:
-dh_auto_clean
-
-override_dh_auto_configure:
-#fpc  -MObjFPC -Scghi -Tlinux -vewn -Filib/x86_64-linux 
-Fl/opt/gnome/lib -Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux/gtk2 
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux 
-Fu/usr/lib/lazarus/1.2.4/components/lazutils/lib/x86_64-linux 
-Fu/usr/lib/lazarus/1.2.4/packager/units/x86_64-linux -Fu. 
-FUlib/x86_64-linux -l -dLCL -dLCLgtk2 netman.lpr && cd backend_src/src 
&& gcc -g -I../include core_functions.c file_functions.c backend.c 
essid_encoder.c -o backend
-lazbuild -B netman.lpr && cd backend_src/src && gcc -lm 
-I../include core_functions.c file_functions.c backend.c essid_encoder.c 
automated_scanner.c -o backend

-
-override_dh_auto_build:


Cheers,

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


Re: [DNG] Devuan's goal: was Our friendly community

2015-12-20 Thread Rainer Weikusat
John Hughes  writes:
> On 19/12/15 11:58, dev1fanboy wrote:
>> Gnome
>>
>> If you need more: apt-cache rdepends libsystemd0 | wc -l
>
> We're going round in circles.  *I* posted that command:
>
> https://lists.dyne.org/lurker/message/20151218.143549.77d859b4.en.html
>
> But you still haven't said *why* you want to remove libsystemd0.

This is entirely the wrong question. There's presently no 'libsystemd0'
on my system. Why should it be added?
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread Arnt Karlsen
On Sun, 20 Dec 2015 17:52:49 +0100, Arnt wrote in message 
<20151220175249.6d049...@nb6.lan>:

> On Sun, 20 Dec 2015 16:42:47 +0100, aitor_czr wrote in message 
> <5676cc77.9030...@gnuinos.org>:
> 
> > 
> > Hi Arnt,
> > 
> > 
> > On 12/20/2015 02:21 PM, Arnt Karlsen  wrote:
> > > On Sun, 20 Dec 2015 13:02:28 +0100, aitor_czr wrote in message
> > > <567698d4.1080...@gnuinos.org>:
> > >
> > >> >You can generate a patch in the parent directory by the
> > >> >following way:
> > >> >
> > >> >$ git diff --relative > ../aitor_czr-20.2.2015.patch
> > > ...or $ git diff --relative > ../aitor_czr-$(date +%FT%T-%Z).patch
> > > oor ;o)  $ git diff --relative > \
> > > ../aitor_czr-$(git log |head -n1 |cut -d" " -f2)-$(date
> > > +%FT%T-%Z).patch
> > 
> > 
> > This generates a patch named:
> > 
> > aitor_czr-2015-12-20T16:34:19-CET.patch
> > 
> > or ;o)
> > 
> > aitor_czr-f1b0bdff4e61d3425ccdd425d2452c8b3c346df4-2015-12-20T16:12:25-CET.patch
> > 
> > Here, $(git log |head -n1 |cut -d" " -f2) is the bizarre hash of 40 
> > digits content in:
> > 
> >   .git/refs/heads/master [*]
> > 
> > Thanks,
> > 
> > Aitor.
> > 
> > [*] This is being in the master branch.
> > 
> > 
> 
> ..and if you reaaally wanna spell it out ;o) $ git diff \
> --relative > ../aitor_czr-$(git log |head |tr [:space:] _ ).patch
> 
..erm, make that:  $ git diff --relative > \
../aitor_czr-$(git log |head |tr \<\>[:space:] \(\)_ ).patch


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread Arnt Karlsen
On Sun, 20 Dec 2015 16:42:47 +0100, aitor_czr wrote in message 
<5676cc77.9030...@gnuinos.org>:

> 
> Hi Arnt,
> 
> 
> On 12/20/2015 02:21 PM, Arnt Karlsen  wrote:
> > On Sun, 20 Dec 2015 13:02:28 +0100, aitor_czr wrote in message
> > <567698d4.1080...@gnuinos.org>:
> >
> >> >You can generate a patch in the parent directory by the following
> >> >way:
> >> >
> >> >$ git diff --relative > ../aitor_czr-20.2.2015.patch
> > ...or $ git diff --relative > ../aitor_czr-$(date +%FT%T-%Z).patch
> > oor ;o)  $ git diff --relative > \
> > ../aitor_czr-$(git log |head -n1 |cut -d" " -f2)-$(date
> > +%FT%T-%Z).patch
> 
> 
> This generates a patch named:
> 
> aitor_czr-2015-12-20T16:34:19-CET.patch
> 
> or ;o)
> 
> aitor_czr-f1b0bdff4e61d3425ccdd425d2452c8b3c346df4-2015-12-20T16:12:25-CET.patch
> 
> Here, $(git log |head -n1 |cut -d" " -f2) is the bizarre hash of 40 
> digits content in:
> 
>   .git/refs/heads/master [*]
> 
> Thanks,
> 
> Aitor.
> 
> [*] This is being in the master branch.
> 
> 

..and if you reaaally wanna spell it out ;o) $ git diff \
--relative > ../aitor_czr-$(git log |head |tr [:space:] _ ).patch

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread aitor_czr


Hi Arnt,


On 12/20/2015 02:21 PM, Arnt Karlsen  wrote:

On Sun, 20 Dec 2015 13:02:28 +0100, aitor_czr wrote in message
<567698d4.1080...@gnuinos.org>:


>You can generate a patch in the parent directory by the following way:
>
>$ git diff --relative > ../aitor_czr-20.2.2015.patch

...or $ git diff --relative > ../aitor_czr-$(date +%FT%T-%Z).patch
oor ;o)  $ git diff --relative > \
../aitor_czr-$(git log |head -n1 |cut -d" " -f2)-$(date +%FT%T-%Z).patch



This generates a patch named:

aitor_czr-2015-12-20T16:34:19-CET.patch

or ;o)

aitor_czr-f1b0bdff4e61d3425ccdd425d2452c8b3c346df4-2015-12-20T16:12:25-CET.patch

Here, $(git log |head -n1 |cut -d" " -f2) is the bizarre hash of 40 
digits content in:


 .git/refs/heads/master [*]

Thanks,

   Aitor.

[*] This is being in the master branch.


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


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread Rainer Weikusat
aitor_czr  writes:
> On 12/20/2015 01:02 PM, aitor_czr wrote:
 On 12/19/2015 05:52 PM, Edward Bartolo  wrote:
>> >> >The command:
>> >> >edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$   git patch
>> >> >../rainer_dng-15.12.2015.patch
 >
 >The right command is this other one:
 >
 >$ git apply --stat ../rainer_dng-15.12.2015.patch
>>> Hi Aitor,
>>>
>>> Thanks for your reply. Git is reporting that the patch is corrupted. I
>>> informed Rainer about that.
>>>
>>> Edward
>>
>> Rainer's patch is not corrupted:
>>
>> $ git apply --stat ../rainer_dng-15.12.2015.patch
>>  Makefile  |   10 +-
>>  debian/netman-backend.install |2 +-
>>  debian/rules  |9 -
>>  3 files changed, 10 insertions(+), 11 deletions(-)
>
> My bad :)
>
> The above command doen't change nothing. I aplplied the patch by the
> following way (in the parent directory):
>
> $ patch < rainer_dng-15.12.2015.patch
> can't find file to patch at input line 5
> Perhaps you should have used the -p or --strip option?

Patches are (as I already wrote in the past) commonly generated
such that the top-level directory has to be stripped away by patch (as
this means people can use different names for 'top-level directories',
ie,

patch -p1 <../patch

assuming the patch file resides above the top-level directory.

Further, as I also already wrote, the text in the first mail I sent had
the tabs in the Makefile changes expanded to spaces. This means while
the patch itself isn't corrupted (as a patch), it will end up corrupting
the Makefiles by replacing the leading tabs with spaces.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread Rainer Weikusat
Edward Bartolo  writes:
>> On 19/12/2015, aitor_czr  wrote:
>> Hi Edward,
>>
>>
>> On 12/19/2015 05:52 PM, Edward Bartolo  wrote:
>
>>> >The command:
>>> >edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$  git patch
>>> >../rainer_dng-15.12.2015.patch
>>
>> The right command is this other one:
>>
>> $ git apply --stat ../rainer_dng-15.12.2015.patch
>
> Hi Aitor,
>
> Thanks for your reply. Git is reporting that the patch is corrupted.

Using copy'n'paste to save the content of the not-reformatted mail to a
text file is sufficient to create a 'working' patch-file for me.

Same as text attachment.
diff --git a/Makefile b/Makefile
index 55df54f..4a747ef 100644
--- a/Makefile
+++ b/Makefile
@@ -13,5 +13,13 @@ clean:
 	rm -f lib/*/*.*
 	rm -f backend netman
 
-.PHONY: all clean
+.PHONY: all clean install
 
+INST :=		install -o root -g root
+INST_X :=	$(INST) -m 0755
+INST_D :=	$(INST) -m 0644
+
+install: all
+	$(INST_X) -d $(DESTDIR)
+	$(INST_X) netman backend_src/bin/backend $(DESTDIR)
+	$(INST_D) netman.ico netman.desktop $(DESTDIR)
diff --git a/debian/netman-backend.install b/debian/netman-backend.install
index 5028afe..f7832d3 100644
--- a/debian/netman-backend.install
+++ b/debian/netman-backend.install
@@ -1 +1 @@
-backend_src/src/backend /usr/lib/netman/bin
\ No newline at end of file
+backend /usr/lib/netman/bin
diff --git a/debian/rules b/debian/rules
index 0e6d2ad..bf3a311 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,3 @@
 
 %:
 	dh $@ --with quilt,python2
-
-override_dh_auto_clean:
-	dh_auto_clean
-
-override_dh_auto_configure:
-	#fpc  -MObjFPC -Scghi -Tlinux -vewn -Filib/x86_64-linux -Fl/opt/gnome/lib -Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux/gtk2 -Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux -Fu/usr/lib/lazarus/1.2.4/components/lazutils/lib/x86_64-linux -Fu/usr/lib/lazarus/1.2.4/packager/units/x86_64-linux -Fu. -FUlib/x86_64-linux -l -dLCL -dLCLgtk2 netman.lpr && cd backend_src/src && gcc -g -I../include core_functions.c file_functions.c backend.c essid_encoder.c -o backend
-	lazbuild -B netman.lpr && cd backend_src/src && gcc -lm -I../include core_functions.c file_functions.c backend.c essid_encoder.c automated_scanner.c -o backend
-	
-override_dh_auto_build:
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread Arnt Karlsen
On Sun, 20 Dec 2015 13:02:28 +0100, aitor_czr wrote in message 
<567698d4.1080...@gnuinos.org>:

> Hi Edward,
> 
> On 12/20/2015 06:14 AM, Edward Bartolo wrote:
> >> On 12/19/2015 05:52 PM, Edward Bartolo  wrote:
>  >> >The command:
>  >> >edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$   git patch
>  >> >../rainer_dng-15.12.2015.patch
> >> >
> >> >The right command is this other one:
> >> >
> >> >$ git apply --stat ../rainer_dng-15.12.2015.patch
> > Hi Aitor,
> >
> > Thanks for your reply. Git is reporting that the patch is
> > corrupted. I informed Rainer about that.
> >
> > Edward
> 
> Rainer's patch is not corrupted:
> 
> $ git apply --stat ../rainer_dng-15.12.2015.patch
>   Makefile  |   10 +-
>   debian/netman-backend.install |2 +-
>   debian/rules  |9 -
>   3 files changed, 10 insertions(+), 11 deletions(-)
> 
> You can generate a patch in the parent directory by the following way:
> 
> $ git diff --relative > ../aitor_czr-20.2.2015.patch

...or $ git diff --relative > ../aitor_czr-$(date +%FT%T-%Z).patch
oor ;o)  $ git diff --relative > \
../aitor_czr-$(git log |head -n1 |cut -d" " -f2)-$(date +%FT%T-%Z).patch


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread aitor_czr

Hi Edward,

On 12/20/2015 01:02 PM, aitor_czr wrote:

On 12/19/2015 05:52 PM, Edward Bartolo  wrote:

>> >The command:
>> >edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$   git patch
>> >../rainer_dng-15.12.2015.patch

>
>The right command is this other one:
>
>$ git apply --stat ../rainer_dng-15.12.2015.patch

Hi Aitor,

Thanks for your reply. Git is reporting that the patch is corrupted. I
informed Rainer about that.

Edward


Rainer's patch is not corrupted:

$ git apply --stat ../rainer_dng-15.12.2015.patch
 Makefile  |   10 +-
 debian/netman-backend.install |2 +-
 debian/rules  |9 -
 3 files changed, 10 insertions(+), 11 deletions(-)


My bad :)

The above command doen't change nothing. I aplplied the patch by the 
following way (in the parent directory):


$ patch < rainer_dng-15.12.2015.patch
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|diff --git a/Makefile b/Makefile
|index 55df54f..6b263d7 100644
|--- a/Makefile
|+++ b/Makefile
--
File to patch: netman/Makefile
patching file netman/Makefile
Hunk #1 succeeded at 13 with fuzz 2.
can't find file to patch at input line 25
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|diff --git a/debian/netman-backend.install
|b/debian/netman-backend.install
|index 5028afe..f7832d3 100644
|--- a/debian/netman-backend.install
|+++ b/debian/netman-backend.install
--
File to patch: netman/debian/netman-backend.install
patching file netman/debian/netman-backend.install
can't find file to patch at input line 32
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--
|diff --git a/debian/rules b/debian/rules
|index 0e6d2ad..01b984c 100755
|--- a/debian/rules
|+++ b/debian/rules
--
File to patch: netman/debian/rules
patching file netman/debian/rules


You can generate a patch in the parent directory by the following way:

$ git diff --relative > ../aitor_czr-20.2.2015.patch


By the way. This is the result of the proccess:

$ git-buildpackage -j4 -tc -k465D41B1 --git-export-dir="../build-area" 
--git-pristine-tar --git-tag --git-ignore-branch
pristine-tar: successfully generated 
/home/aitor/NETMAN_5/build-area/netman_0.1.1-85ee69e.orig.tar.bz2

gbp:info: Exporting 'HEAD' to '/home/aitor/NETMAN_5/build-area/netman-tmp'
gbp:info: Moving '/home/aitor/NETMAN_5/build-area/netman-tmp' to 
'/home/aitor/NETMAN_5/build-area/netman-0.1.1-85ee69e'

 dpkg-buildpackage -rfakeroot -D -us -uc -i -I -j4 -tc
dpkg-buildpackage: source package netman
dpkg-buildpackage: source version 0.1.1-85ee69e-jessie3
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Aitor Cuadrado Zubizarreta 


 dpkg-source -i -I --before-build netman-0.1.1-85ee69e
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with quilt,python2
   dh_testdir
   dh_auto_clean
make[1]: Entering directory 
'/home/aitor/NETMAN_5/build-area/netman-0.1.1-85ee69e'
Makefile:23: *** missing separator (did you mean TAB instead of 8 
spaces?).  Stop.
make[1]: Leaving directory 
'/home/aitor/NETMAN_5/build-area/netman-0.1.1-85ee69e'

dh_auto_clean: make -j1 distclean returned exit code 2
debian/rules:4: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit 
status 2

debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I -j4 -tc *failed*
gbp:error: 'debuild -i -I -j4 -tc -k465D41B1' failed: it exited with 29

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


Re: [DNG] Our friendly community

2015-12-20 Thread Adam Borowski
On Sun, Dec 20, 2015 at 12:21:11PM +0100, John Hughes wrote:
> On 20/12/15 11:18, Adam Borowski wrote:
> >On Sun, Dec 20, 2015 at 10:12:05AM +0100, John Hughes wrote:
> >>
> >>Huh?  systemd-shim is a tool for using libbpam-systemd (which Gnome depends
> >>on) without systemd being *installed*
> >>
> >>In fact it *breaks* systemd, you can't have them both installed.
> >Package: libpam-systemd
> >[...]
> >Depends: libc6 (>= 2.17), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32),
> >  systemd (= 228-2), libpam-runtime (>= 1.0.1-6), dbus,
> >  systemd-shim (>= 8-2) | systemd-sysv
> >
> Yes, like I said, libpam-systemd depends on systemd-shim *or* systemd-sysv.
> 
> You don't need or want systemd installed if you have systemd-shim installed.

Please reread what I pasted again.  There's a hard dependency on systemd.
And libpam-systemd is the only real user of systemd-shim.

-- 
A tit a day keeps the vet away.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread aitor_czr

Hi Edward,

On 12/19/2015 07:40 PM, aitor_czr wrote:

>I also read that the patch can be saved/archived into git, and I think
>it is the proper way it should be done.


Yes, you can use quilt for that.


Forget this last comment. I spoke too quick.

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


Re: [DNG] Apply Rainer's patch to netman.

2015-12-20 Thread aitor_czr

Hi Edward,

On 12/20/2015 06:14 AM, Edward Bartolo wrote:

On 12/19/2015 05:52 PM, Edward Bartolo  wrote:

>> >The command:
>> >edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$   git patch
>> >../rainer_dng-15.12.2015.patch

>
>The right command is this other one:
>
>$ git apply --stat ../rainer_dng-15.12.2015.patch

Hi Aitor,

Thanks for your reply. Git is reporting that the patch is corrupted. I
informed Rainer about that.

Edward


Rainer's patch is not corrupted:

$ git apply --stat ../rainer_dng-15.12.2015.patch
 Makefile  |   10 +-
 debian/netman-backend.install |2 +-
 debian/rules  |9 -
 3 files changed, 10 insertions(+), 11 deletions(-)

You can generate a patch in the parent directory by the following way:

$ git diff --relative > ../aitor_czr-20.2.2015.patch

Cheers,

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


[DNG] Quick start guide to uprading to Devuan and, configuring minimalism

2015-12-20 Thread dev1fanboy
I enabled the issue tracker on the wiki so if anyone has problems (or 
suggestions) with the docs they can add it there if they like.


https://git.devuan.org/dev1fanboy/Upgrade-Install-Devuan/wikis/home

 
--
Take back your privacy. Switch to www.StartMail.com
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Our friendly community

2015-12-20 Thread John Hughes

On 20/12/15 11:18, Adam Borowski wrote:

On Sun, Dec 20, 2015 at 10:12:05AM +0100, John Hughes wrote:


Huh?  systemd-shim is a tool for using libbpam-systemd (which Gnome depends
on) without systemd being *installed*

In fact it *breaks* systemd, you can't have them both installed.

Package: libpam-systemd
[...]
Depends: libc6 (>= 2.17), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32),
  systemd (= 228-2), libpam-runtime (>= 1.0.1-6), dbus,
  systemd-shim (>= 8-2) | systemd-sysv


Yes, like I said, libpam-systemd depends on systemd-shim *or* systemd-sysv.

You don't need or want systemd installed if you have systemd-shim installed.



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


Re: [DNG] Our friendly community

2015-12-20 Thread Adam Borowski
On Sun, Dec 20, 2015 at 10:12:05AM +0100, John Hughes wrote:
> On 19/12/15 17:28, Adam Borowski wrote:
> >
> >Systemd-shim is a tool for running _systemd_ without it being pid 1.
> >It's useless without systemd.
> >
> 
> Huh?  systemd-shim is a tool for using libbpam-systemd (which Gnome depends
> on) without systemd being *installed*
> 
> In fact it *breaks* systemd, you can't have them both installed.

Package: libpam-systemd
Source: systemd
Version: 228-2
Installed-Size: 337
Maintainer: Debian systemd Maintainers 

Architecture: amd64
Depends: libc6 (>= 2.17), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32),
 systemd (= 228-2), libpam-runtime (>= 1.0.1-6), dbus,
 systemd-shim (>= 8-2) | systemd-sysv

-- 
A tit a day keeps the vet away.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Our friendly community

2015-12-20 Thread John Hughes

On 19/12/15 17:28, Adam Borowski wrote:


Systemd-shim is a tool for running _systemd_ without it being pid 1.
It's useless without systemd.



Huh?  systemd-shim is a tool for using libbpam-systemd (which Gnome 
depends on) without systemd being *installed*


In fact it *breaks* systemd, you can't have them both installed.


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