[packages/dietlibc] - rel 5; seems that disabling vsyscall is possible, so try it after all

2018-02-08 Thread arekm
commit 015bcd3c51fefccde329ebbeba0f5dd7294e5ecd
Author: Arkadiusz Miśkiewicz 
Date:   Thu Feb 8 18:23:24 2018 +0100

- rel 5; seems that disabling vsyscall is possible, so try it after all

 dietlibc-no-vsyscall.patch | 14 ++
 dietlibc.spec  |  9 +++--
 2 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/dietlibc.spec b/dietlibc.spec
index 0f26b95..56d6509 100644
--- a/dietlibc.spec
+++ b/dietlibc.spec
@@ -1,8 +1,3 @@
-# NOTE: recent PLD kernels no longer support vsyscalls and dietlibc
-# uses vsyscall heavily, so your apps can stop working segfaulting with:
-# "vsyscall attempted with vsyscall=none "
-# in dmesg.
-
 # Conditional build:
 %bcond_without ssp # stack-smashing protector
 %bcond_withdynamic # dynamic lib support
@@ -16,7 +11,7 @@ Summary(pl.UTF-8):Biblioteka standardowa C 
zoptymalizowana na rozmiar
 Summary(pt_BR.UTF-8):  libc pequena otimizada para tamanho
 Name:  dietlibc
 Version:   0.33
-Release:   4
+Release:   5
 Epoch: 2
 License:   GPL v2
 Group: Development/Libraries
@@ -36,6 +31,7 @@ Patch10:  %{name}-getsubopt.patch
 Patch11:   %{name}-devmacros.patch
 Patch12:   %{name}-notify.patch
 Patch13:   x32-fixes.patch
+Patch14:   %{name}-no-vsyscall.patch
 Patch100:  git.patch
 URL:   http://www.fefe.de/dietlibc/
 BuildRequires: rpmbuild(macros) >= 1.566
@@ -120,6 +116,7 @@ statyczne.
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %if "%{cc_version}" < "3.4"
 %{__sed} -i -e '/CFLAGS/ s/-Wextra//' Makefile
diff --git a/dietlibc-no-vsyscall.patch b/dietlibc-no-vsyscall.patch
new file mode 100644
index 000..1b80f26
--- /dev/null
+++ b/dietlibc-no-vsyscall.patch
@@ -0,0 +1,14 @@
+--- dietlibc-0.33/dietfeatures.h~  2018-02-08 18:18:17.0 +0100
 dietlibc-0.33/dietfeatures.h   2018-02-08 18:21:02.388516769 +0100
+@@ -41,11 +41,6 @@
+  * string */
+ /* #define WANT_FULL_POSIX_COMPAT */
+ 
+-/* on i386, Linux has an alternate syscall method since 2002/12/16 */
+-/* on my Athlon XP, it is twice as fast, but it's only in kernel 2.5 */
+-/* 20040118: enabling this breaks User Mode Linux!  It's their fault. */
+-#define WANT_SYSENTER
+-
+ #define WANT_LINKER_WARNINGS
+ 
+ /* you need to define this if you want to run your programs with large


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dietlibc.git/commitdiff/015bcd3c51fefccde329ebbeba0f5dd7294e5ecd

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/kernel-tools] - updated to 4.15[.0] - updated binutils-2.29 patch

2018-02-08 Thread qboosh
commit c5a822e3e5689d41f9546e6ab3d359b75058ee7b
Author: Jakub Bogusz 
Date:   Thu Feb 8 19:26:10 2018 +0100

- updated to 4.15[.0]
- updated binutils-2.29 patch

 binutils-2.29.patch | 15 +--
 kernel-tools.spec   | 45 +
 2 files changed, 50 insertions(+), 10 deletions(-)
---
diff --git a/kernel-tools.spec b/kernel-tools.spec
index 255b656..5a241d2 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -20,8 +20,8 @@
 %undefine  with_multilib
 %endif
 
-%definebasever 4.14
-%definepostver .15
+%definebasever 4.15
+%definepostver .0
 Summary:   Assortment of tools for the Linux kernel
 Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa
 Name:  kernel-tools
@@ -30,7 +30,7 @@ Release:  1
 License:   GPL v2
 Group: Applications/System
 Source0:   
https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz
-# Source0-md5: bacdb9ffdcd922aa069a5e1520160e24
+# Source0-md5: 0d701ac1e2a67d47ce7127432df2c32b
 Source1:   cpupower.service
 Source2:   cpupower.config
 %if "%{postver}" != ".0"
@@ -48,7 +48,7 @@ BuildRequires:linux-libc-headers >= 7:4.12
 BuildRequires: ncurses-devel
 BuildRequires: pciutils-devel
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.647
+BuildRequires: rpmbuild(macros) >= 1.673
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 %if %{with perf}
@@ -255,7 +255,7 @@ Ten pakiet zawiera graficzny interfejs oparty na GTK+ 2.
 Summary:   Bash completion for perf command
 Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla polecenia perf
 Group: Applications/Shells
-Requires:  %{name}-perf
+Requires:  %{name}-perf = %{version}-%{release}
 Requires:  bash-completion
 %if "%{_rpmversion}" >= "5"
 BuildArch: noarch
@@ -267,6 +267,23 @@ Bash completion for perf command.
 %description -n bash-completion-perf -l pl.UTF-8
 Bashowe uzupełnianie parametrów dla polecenia perf.
 
+%package -n bash-completion-kernel-tools
+Summary:   Bash completion for kernel-tools commands
+Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla poleceń kernel-tools
+Group: Applications/Shells
+Requires:  %{name} = %{version}-%{release}
+Requires:  bash-completion >= 2.0
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description -n bash-completion-kernel-tools
+Bash completion for kernel-tools commands (currently bpftool).
+
+%description -n bash-completion-kernel-tools -l pl.UTF-8
+Bashowe uzupełnianie parametrów dla poleceń kernel-tools (obecnie
+bpftool).
+
 %package -n usbip
 Summary:   USB device sharing system over IP network
 Summary(pl.UTF-8): System współdzielenia urządzeń USB po sieci IP
@@ -361,7 +378,7 @@ cd linux-%{basever}
 
 %{__sed} -i -e '/^CFLAGS = /s/ -g / $(OPTFLAGS) /' tools/hv/Makefile
 %{__sed} -i -e '/^CFLAGS+=/s/ -O1 / $(OPTFLAGS) /' tools/thermal/tmon/Makefile
-%{__sed} -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' 
tools/perf/Makefile.config
+%{__sed} -i -e 's#libexec/perf-core#share/perf-core#g' 
tools/perf/Makefile.config
 
 %build
 cd linux-%{basever}
@@ -397,7 +414,7 @@ CFLAGS="%{rpmcflags}" \
CFLAGS="%{rpmcflags}"
 
 CFLAGS="%{rpmcflags}" \
-%{__make} -C tools/net \
+%{__make} -C tools/bpf \
CC="%{__cc}"
 
 # perf
@@ -553,7 +570,11 @@ install -p 
tools/iio/{iio_event_monitor,iio_generic_buffer,lsiio} $RPM_BUILD_ROO
 
 install -p tools/laptop/freefall/freefall $RPM_BUILD_ROOT%{_sbindir}
 
-install -p tools/net/{bpf_asm,bpf_dbg,bpf_jit_disasm} $RPM_BUILD_ROOT%{_bindir}
+%{__make} -C tools/bpf install \
+   prefix=$RPM_BUILD_ROOT%{_prefix} \
+   bash_compdir=$RPM_BUILD_ROOT%{bash_compdir}
+%{__make} -C tools/bpf/bpftool doc-install \
+   prefix=$RPM_BUILD_ROOT%{_prefix}
 
 install -p tools/thermal/tmon/tmon $RPM_BUILD_ROOT%{_bindir}
 cp -p tools/thermal/tmon/tmon.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -603,9 +624,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/lsiio
 %attr(755,root,root) %{_bindir}/slabinfo
 %attr(755,root,root) %{_bindir}/tmon
+%attr(755,root,root) %{_sbindir}/bpftool
 %attr(755,root,root) %{_sbindir}/dslm
 %attr(755,root,root) %{_sbindir}/freefall
 %attr(755,root,root) %{_sbindir}/page-types
+%{_mandir}/man8/bpftool*.8*
 %{_mandir}/man8/tmon.8*
 %ifarch %{ix86} %{x8664} x32
 %attr(755,root,root) %{_bindir}/centrino-decode
@@ -653,9 +676,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/perf
 %attr(755,root,root) %{_bindir}/trace
 %{_mandir}/man1/perf*.1*
+%{_docdir}/perf-tip
 %dir %{_datadir}/perf-core
 %attr(755,root,root) %{_datadir}/perf-core/perf-archive
 %attr(755,root,root) %{_datadir}/perf-core/perf-with-kcore
+%{_datadir}/perf-core/strace
 
 %dir %{_datadir}/perf-core/scripts
 
@@ -704,6 +729,10 @@ rm -rf $RPM_BUILD_ROOT
 /etc/bash_completion.d/perf
 %endif
 
+%files -n 

DISTFILES: kernel-tools: ERRORS: linux-4.15.tar.xz patch-4.15.0.xz

2018-02-08 Thread qboosh
Request by: qboosh

wget -nv --no-iri --no-check-certificate --user-agent=PLD/distfiles -O 
./tmp/84835178-e638-420b-9688-326b4a16dcaa/de16c219ce4548d63ff7d6c670340a9e/patch-4.15.0.xz
 https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.0.xz:
https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.0.xz:
2018-02-08 19:24:06 ERROR 404: Not Found.


wget -nv --no-iri --no-check-certificate --user-agent=PLD/distfiles -O 
./tmp/84835178-e638-420b-9688-326b4a16dcaa/de16c219ce4548d63ff7d6c670340a9e/patch-4.15.0.xz
 https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.0.xz:
exited with code 8 (0x00)

FATAL: https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.0.xz 
(de16c219ce4548d63ff7d6c670340a9e) was not fetched correctly (wget -nv --no-iri 
--no-check-certificate --user-agent=PLD/distfiles -O 
./tmp/84835178-e638-420b-9688-326b4a16dcaa/de16c219ce4548d63ff7d6c670340a9e/patch-4.15.0.xz
 https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.0.xz: 
https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.0.xz:
2018-02-08 19:24:06 ERROR 404: Not Found.
): file fetched but has 0 length

Files fetched: 0

ALREADY GOT: https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.15.tar.xz
0d701ac1e2a67d47ce7127432df2c32b  linux-4.15.tar.xz


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/golang] - up to 1.9.4 (CVE-2018-6574)

2018-02-08 Thread mis
commit cd8e0a377851ad3e485ff8ad1b952e3168e3641c
Author: mis 
Date:   Thu Feb 8 23:21:00 2018 +0100

- up to 1.9.4 (CVE-2018-6574)

 golang.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index 4e5d239..aba4e77 100644
--- a/golang.spec
+++ b/golang.spec
@@ -25,14 +25,14 @@
 Summary:   Go compiler and tools
 Summary(pl.UTF-8): Kompilator języka Go i narzędzia
 Name:  golang
-Version:   1.9.3
+Version:   1.9.4
 Release:   1
 # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under 
Public Domain
 License:   BSD and Public Domain
 Group: Development/Languages
 # Source0Download: https://golang.org/dl/
 Source0:   https://storage.googleapis.com/golang/go%{version}.src.tar.gz
-# Source0-md5: dcb87e20c314ff08205afcb4ee048d71
+# Source0-md5: 6816441fd6680c63865cdd5cb8bc1960
 Patch0:ca-certs.patch
 Patch2:%{name}-1.2-verbose-build.patch
 Patch5:go1.5-zoneinfo_testing_only.patch


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/cd8e0a377851ad3e485ff8ad1b952e3168e3641c

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: golang: go1.9.4.src.tar.gz

2018-02-08 Thread mis
Request by: mis


Files fetched: 1

STORED: https://storage.googleapis.com/golang/go1.9.4.src.tar.gz
6816441fd6680c63865cdd5cb8bc1960  go1.9.4.src.tar.gz
Size: 16392325 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/lxd] - up to 2.21

2018-02-08 Thread mis
commit 5ac4f52bc55641b4458f82fa60a622cc8c1feae4
Author: mis 
Date:   Thu Feb 8 23:13:24 2018 +0100

- up to 2.21

 lxd.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lxd.spec b/lxd.spec
index 5d7463d..58039f7 100644
--- a/lxd.spec
+++ b/lxd.spec
@@ -3,12 +3,12 @@
 
 Summary:   Fast, dense and secure container management
 Name:  lxd
-Version:   2.20
+Version:   2.21
 Release:   1   
 License:   Apache v2.0
 Group: Applications/System
 Source0:   
https://linuxcontainers.org/downloads/lxd/%{name}-%{version}.tar.gz
-# Source0-md5: ff2e4305b17e9d7b4f46d896d824fa92
+# Source0-md5: 72a5fdfac995db0bc0bf2bb741e6611c
 Source1:   %{name}.service
 Source2:   %{name}.init
 Source3:   %{name}.sysconfig


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lxd.git/commitdiff/5ac4f52bc55641b4458f82fa60a622cc8c1feae4

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: lxd: lxd-2.21.tar.gz

2018-02-08 Thread mis
Request by: mis


Files fetched: 1

STORED: https://linuxcontainers.org/downloads/lxd/lxd-2.21.tar.gz
72a5fdfac995db0bc0bf2bb741e6611c  lxd-2.21.tar.gz
Size: 7989624 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/ImageMagick] - up to 7.0.7.22

2018-02-08 Thread arekm
commit 11ebfea8096e379da4ee92ace866e780b4a38983
Author: Arkadiusz Miśkiewicz 
Date:   Thu Feb 8 11:10:28 2018 +0100

- up to 7.0.7.22

 ImageMagick.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ImageMagick.spec b/ImageMagick.spec
index e5446bd..6005648 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -21,7 +21,7 @@
 %bcond_without autotrace   # Autotrace support in SVG module
 
 %definever 7.0.7
-%definepver16
+%definepver22
 %include   /usr/lib/rpm/macros.perl
 Summary:   Image display, conversion, and manipulation under X
 Summary(de.UTF-8): Darstellen, Konvertieren und Bearbeiten von Grafiken 
unter X
@@ -34,12 +34,12 @@ Summary(tr.UTF-8):  X altında resim gösterme, çevirme ve 
değişiklik yapma
 Summary(uk.UTF-8): Перегляд, конвертування та обробка зображень під X 
Window
 Name:  ImageMagick
 Version:   %{ver}%{?pver:.%{pver}}
-Release:   2
+Release:   1
 Epoch: 1
 License:   Apache-like
 Group: X11/Applications/Graphics
 Source0:   
ftp://ftp.imagemagick.org/pub/ImageMagick/%{name}-%{ver}-%{pver}.tar.xz
-# Source0-md5: 1d4eeca1902141423404b0e5070e7bcd
+# Source0-md5: 980c249173d0e97cb62c21e15c89e52a
 Patch0:config.patch
 
 Patch2:%{name}-libpath.patch


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ImageMagick.git/commitdiff/11ebfea8096e379da4ee92ace866e780b4a38983

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


DISTFILES: ImageMagick: ImageMagick-7.0.7-22.tar.xz

2018-02-08 Thread arekm
Request by: arekm


Files fetched: 1

STORED: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-7.0.7-22.tar.xz
980c249173d0e97cb62c21e15c89e52a  ImageMagick-7.0.7-22.tar.xz
Size: 8605016 bytes


-- 
Virtually Yours: distfiles.
___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/sg3_utils] - fix missed variable init

2018-02-08 Thread adwol
commit 7cbb11c67de476c768c8c5836468f73eb7491631
Author: Adam Osuchowski 
Date:   Thu Feb 8 12:20:29 2018 +0100

- fix missed variable init

  /usr/bin/rescan-scsi-bus.sh: line 257: test: !=: unary operator expected

 sg3_utils-rescan-scsi-bus.sh.patch | 11 +++
 sg3_utils.spec |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/sg3_utils.spec b/sg3_utils.spec
index 4a86084..2cb237d 100644
--- a/sg3_utils.spec
+++ b/sg3_utils.spec
@@ -2,11 +2,12 @@ Summary:  Utilities and test programs for the Linux sg 
version 3 device driver
 Summary(pl.UTF-8): Programy narzędziowe i testowe dla linuksowego 
sterownika sg w wersji 3
 Name:  sg3_utils
 Version:   1.42
-Release:   1
+Release:   2
 License:   GPL v2 (utilities), BSD (library)
 Group: Applications/System
 Source0:   http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
 # Source0-md5: 913ac2c9069d2ba44e05565a445810ab
+Patch0:%{name}-rescan-scsi-bus.sh.patch
 URL:   http://sg.danny.cz/sg/sg3_utils.html
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
diff --git a/sg3_utils-rescan-scsi-bus.sh.patch 
b/sg3_utils-rescan-scsi-bus.sh.patch
new file mode 100644
index 000..1a0da7f
--- /dev/null
+++ b/sg3_utils-rescan-scsi-bus.sh.patch
@@ -0,0 +1,11 @@
+diff -ruNp sg3_utils-1.42.orig/scripts/rescan-scsi-bus.sh 
sg3_utils-1.42/scripts/rescan-scsi-bus.sh
+--- sg3_utils-1.42.orig/scripts/rescan-scsi-bus.sh 2016-02-02 
05:21:27.0 +0100
 sg3_utils-1.42/scripts/rescan-scsi-bus.sh  2018-02-08 12:17:16.792117671 
+0100
+@@ -241,6 +241,7 @@ testonline ()
+   sg_turs /dev/$SGDEV >/dev/null 2>&1
+   RC=$?
+ 
++  ctr=0
+   # Handle in progress of becoming ready and unit attention
+   while test $RC = 2 -o $RC = 6 && test $ctr -le 30; do
+ if test $RC = 2 -a "$RMB" != "1"; then echo -n "."; let LN+=1; sleep 1


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sg3_utils.git/commitdiff/7cbb11c67de476c768c8c5836468f73eb7491631

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit