Init services

2021-03-31 Thread Saleem Ceann Khan Marwat
Hello dear PLD development team,

What other init services other than systemd and sysvinit does PLD have
available ? Any chance of adding runit or S6/66 to PLD ?

Is it possible and how to install PLD without any trace of systemd on PLD
with sysvinit only ?

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


Musl availability

2021-03-31 Thread Saleem Ceann Khan Marwat
Hello dear PLD development team ,

I am wondering does pld provide musl support as well along with glibc ?
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


PLD/Linux Ac EOL

2021-03-31 Thread Elan Ruusamäe





 Forwarded Message 
Subject:[PLDWWW] page changed: start
Date:   Thu, 01 Apr 2021 00:21:30 +0200
From:   "Elan Ruusamäe (glen)" 


ThePLD/Linux Ac was released on 1st April 
2007, Now 14 years later, it has reachedEOL(End of Life). It will not be 
updated anymore.


If you are still running such system and want to upgrade, then 
recommended upgrade path is to upgrade to Th/2020 snapshot and then to 
Th current version.





Diff URL:
https://www.pld-linux.org/start?do=diff&r1=1615930517&r2=1617229290

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


Re: [packages/rpm-pld-macros] - fix typo in debugsource packages macro - rel 2

2021-03-31 Thread Jan Rękorajski
On Wed, 31 Mar 2021, Jakub Bogusz wrote:

> On Wed, Mar 31, 2021 at 09:33:00PM +0200, baggins wrote:
> > commit 45c4eb111b114539bab16bd567a4a794d75d6e16
> > Author: Jan Rękorajski 
> > Date:   Wed Mar 31 21:32:32 2021 +0200
> > 
> > - fix typo in debugsource packages macro
> > - rel 2
> > 
> >  macros.pld  | 2 +-
> >  rpm-pld-macros.spec | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> > ---
> [...]
> > @@ -138,7 +138,7 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
> >  %ifnarch noarch\
> >  %global __debug_package 1\
> >  %_debuginfo_template\
> > -%{?_debugsource_packages:%_debugsource_template}\
> > +%{?%_debugsource_packages:%_debugsource_template}\
> >  %endif\
> >  %{nil}
> >  
> 
> Uhm, is it really correct now?
> debug source files like these are unpackaged now:
> 
> /usr/src/debug/gjs-1.68.0-1.x32

It's not, Reverted.

-- 
Jan Rękorajski| PLD/Linux
SysAdm | bagginspld-linux.org | http://www.pld-linux.org/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm-pld-macros] - fix typo in debugsource packages macro - rel 2

2021-03-31 Thread Jakub Bogusz
On Wed, Mar 31, 2021 at 09:33:00PM +0200, baggins wrote:
> commit 45c4eb111b114539bab16bd567a4a794d75d6e16
> Author: Jan Rękorajski 
> Date:   Wed Mar 31 21:32:32 2021 +0200
> 
> - fix typo in debugsource packages macro
> - rel 2
> 
>  macros.pld  | 2 +-
>  rpm-pld-macros.spec | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> ---
[...]
> @@ -138,7 +138,7 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
>  %ifnarch noarch\
>  %global __debug_package 1\
>  %_debuginfo_template\
> -%{?_debugsource_packages:%_debugsource_template}\
> +%{?%_debugsource_packages:%_debugsource_template}\
>  %endif\
>  %{nil}
>  

Uhm, is it really correct now?
debug source files like these are unpackaged now:

/usr/src/debug/gjs-1.68.0-1.x32
...


-- 
Jakub Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: pull request for dhcp – fixed the init script

2021-03-31 Thread Elan Ruusamäe


On 31.03.2021 18:01, Paweł Zuzelski wrote:

Hi all,

Could someone please review and push https://github.com/pawelz/pld-dhcp
specifically that commit:
https://github.com/pawelz/pld-dhcp/commit/071ac6b61dedf115572076ad17bbbef53226b22c
?

This change fixes broken init for dhcp6.

It's been 10 years since I touched PLD, so I don't really feel comfortable
pushing without supervision even if I still have access to the repo.


you can push to a branch

you can also open a pull request in github



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


pull request for dhcp – fixed the init script

2021-03-31 Thread Paweł Zuzelski
Hi all,

Could someone please review and push https://github.com/pawelz/pld-dhcp
specifically that commit:
https://github.com/pawelz/pld-dhcp/commit/071ac6b61dedf115572076ad17bbbef53226b22c
?

This change fixes broken init for dhcp6.

It's been 10 years since I touched PLD, so I don't really feel comfortable
pushing without supervision even if I still have access to the repo.

Thanks in advance,
Paweł
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/conntrack-tools] borrow systemd unit from fedora; rel 2

2021-03-31 Thread Elan Ruusamäe

On 31.03.2021 13:18, atler wrote:


commit 9aa04cde77a1d15594bb488c10e9deab63551e1b
Author: Jan Palus 
Date:   Wed Mar 31 12:16:37 2021 +0200

 borrow systemd unit from fedora; rel 2


borrow? you giving it back to them then? :)

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


Re: [projects/template-specs] use %cargo_* macros

2021-03-31 Thread Neal Gompa
On Wed, Mar 31, 2021 at 4:34 AM Elan Ruusamäe  wrote:
>
> On 30.03.2021 21:57, Jakub Bogusz wrote:
>
> > On Tue, Mar 30, 2021 at 06:46:46PM +0300, Elan Ruusamäe wrote:
> > [...]
> > When it comes to crates, It'd better to find some generic solution for
> > packaging creates system-wide instead of vendoring everything
> > everywhere. I'm aware Fedora has some, but I didn't have enough time to
> > do a research.
>
> their solution to create 120 packages for each of them.
>
> the same goes for npm and go packages.
>

As one of the developers of those macros, I can confidently say both
ways (per component packaging and vendored packages) are supported.
For Rust and Go, we're doing per-component packaging because having to
patch and fix the same thing hundreds of times is terrible for
security stuff. Fixing the code once and kicking off rebuilds of
reverse dependency chains is way easier. For Nodejs, we do vendored by
default now: 
https://fedoraproject.org/wiki/Changes/NodejsLibrariesBundleByDefault

> besides, if you diverge from versions present in vendor lock,
>
> you are bringing package support on your own shoulders. we do not have
> such resources!
>

While it's true you're diverging, this is no different than what you
do with C, C++, Ruby, Perl, and Python. In practice, this is where
distros sharing resources comes in handy because you can collaborate
on it.



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/rpm-pld-macros] initial basic rust/cargo macros (2.003)

2021-03-31 Thread Jan Palus
On 30.03.2021 18:44, Elan Ruusamäe wrote:
> On 30.03.2021 14:06, atler wrote:
> 
> > commit 593b448d587953c0aa5cfb8484485fda26499d3c
> > Author: Jan Palus 
> > Date:   Tue Mar 30 12:59:03 2021 +0200
> > 
> >  initial basic rust/cargo macros (2.003)
> > 
> >   macros.pld  | 17 +
> 
> perhaps place the rust/cargo macros to a separate file?

Moved to its own file in 2.004.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [projects/template-specs] use %cargo_* macros

2021-03-31 Thread Jan Palus
On 30.03.2021 20:57, Jakub Bogusz wrote:
> On Tue, Mar 30, 2021 at 06:46:46PM +0300, Elan Ruusamäe wrote:
> [...]
> > >@@ -40,19 +41,17 @@ EOF
> > >  %build
> > >  export CARGO_HOME="$(pwd)/.cargo"
> > >  
> > >-cargo -v build \
> > >+%cargo_build \
> > >  %ifarch x32
> > >   --target x86_64-unknown-linux-gnux32 \
> > >  %endif
> > >-  --release \
> > >   --frozen
> > >  
> > >  %install
> > >  rm -rf $RPM_BUILD_ROOT
> > >  export CARGO_HOME="$(pwd)/.cargo"
> > >  
> > >-cargo -vv \
> > >-  install \
> > >+%cargo_install \
> > >   --frozen \
> > >   --path . \
> > >   --root $RPM_BUILD_ROOT%{_prefix}
> > 
> > 
> > why not include the crate based build options also into common macros?
> > 
> > 
> > also, in template-specs/rust.spec, there's comment for source0, creating 
> > crate, maybe an universal script could be provided by macros package?
> 
> I'd enhance %cargo_build at least by adding x32 --target option.

Good point, thanks. I didn't realize rustc on x32 does not compile to
x32 by default. Added in 2.004.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [projects/template-specs] use %cargo_* macros

2021-03-31 Thread Elan Ruusamäe

On 30.03.2021 21:57, Jakub Bogusz wrote:


On Tue, Mar 30, 2021 at 06:46:46PM +0300, Elan Ruusamäe wrote:
[...]
When it comes to crates, It'd better to find some generic solution for
packaging creates system-wide instead of vendoring everything
everywhere. I'm aware Fedora has some, but I didn't have enough time to
do a research.


their solution to create 120 packages for each of them.

the same goes for npm and go packages.

besides, if you diverge from versions present in vendor lock,

you are bringing package support on your own shoulders. we do not have 
such resources!


as for the original topic:

the other place where to integrate crates fetch, could be aside 
`builder` script, maybe builder --update-create option.


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