LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 10-09-2017, 12:47 AM   #3001
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181

Quote:
Originally Posted by rworkman View Post
The perllocal.pod file should never have been there - it will be removed in a future upgrade.
The /usr/info/dir.new file is a bit more questionable. There are packages (maybe not any in Slackware, but certainly some installed from other places, perhaps including custom-built ones from SBo) that run install-info in the doinst.sh and thus update /usr/info/dir in the process. It's also plausible that Slackware itself may add something with a new info file and thus the default /usr/info/dir file would need to be updated. If both of those events occur, then there's a race condition, and there's no way to really "merge" them.
The *real* solution is to remove the almost completely useless info documentation completely, but I guess that's a non-starter for various reasons :-)
On my -current full install:

Code:
[zakame:~] % ack usr/info/dir /var/log/packages/      
/var/log/packages/emacs-25.3-x86_64-1
45:usr/info/dired-x.info.gz

/var/log/packages/texinfo-6.5-x86_64-2
44:usr/info/dir.new
[zakame:~] % ack -l install-info /var/log/scripts/       
/var/log/scripts/e2fsprogs-1.43.6-x86_64-1
/var/log/scripts/sbcl-1.3.21-x86_64-1_SBo
/var/log/scripts/libtool-2.4.6-x86_64-6
/var/log/scripts/automake-1.15.1-noarch-1
/var/log/scripts/autoconf-2.69-noarch-1
/var/log/scripts/diffutils-3.6-x86_64-1
With that handful in the main set, I suppose an approach would be to make install-info a no-op script shadowing the real install-info; the latter can then be called at a postinst function (or not.)

On SBo 14.2, there are a few others that call install-info too:

Code:
[zakame:~] % ack -l install-info /var/lib/sbopkg/SBo/14.2 | ack doinst.sh   
/var/lib/sbopkg/SBo/14.2/development/sbcl/doinst.sh
/var/lib/sbopkg/SBo/14.2/development/mit-scheme/doinst.sh
/var/lib/sbopkg/SBo/14.2/development/gcc-d/doinst.sh
/var/lib/sbopkg/SBo/14.2/network/quagga/doinst.sh
/var/lib/sbopkg/SBo/14.2/network/mew/doinst.sh
/var/lib/sbopkg/SBo/14.2/network/msmtp/doinst.sh
/var/lib/sbopkg/SBo/14.2/desktop/ratpoison/doinst.sh
/var/lib/sbopkg/SBo/14.2/desktop/sawfish/doinst.sh
/var/lib/sbopkg/SBo/14.2/system/isight-firmware-tools/doinst.sh
/var/lib/sbopkg/SBo/14.2/system/fileschanged/doinst.sh
/var/lib/sbopkg/SBo/14.2/libraries/librep/doinst.sh
/var/lib/sbopkg/SBo/14.2/libraries/cln/doinst.sh
/var/lib/sbopkg/SBo/14.2/libraries/mpir/doinst.sh
/var/lib/sbopkg/SBo/14.2/gis/foxtrotgps/doinst.sh
/var/lib/sbopkg/SBo/14.2/graphics/zgv/doinst.sh
/var/lib/sbopkg/SBo/14.2/graphics/barcode/doinst.sh
/var/lib/sbopkg/SBo/14.2/academic/octave/doinst.sh
/var/lib/sbopkg/SBo/14.2/academic/gtypist/doinst.sh
 
1 members found this post helpful.
Old 10-09-2017, 02:47 AM   #3002
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
meson-0.43.0:

http://mesonbuild.com/Release-notes-for-0-43-0.html
https://github.com/mesonbuild/meson/...-0.43.0.tar.gz
 
Old 10-09-2017, 04:05 AM   #3003
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by mid-kid View Post
RE slackpkg new-config:

I think a good idea for finding .new files would be the following:
- Read all of /var/log/packages, finding files ending with .new
It would be better to scan /var/log/scripts for '^config '
(less files to scan, smaller files to scan, no false positives)
 
1 members found this post helpful.
Old 10-09-2017, 04:07 AM   #3004
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by rworkman View Post
The *real* solution is to remove the almost completely useless info documentation completely, but I guess that's a non-starter for various reasons :-)
CRUX linux strips out info pages, and when I tried it I found that I missed having them available. I'd hate to see them removed completely just because maintaining the directory file is a PITA (which admittedly it is).


Perhaps generating info's dir file with a 'setup' script would be a better way of doing it?

Last edited by GazL; 10-09-2017 at 04:11 AM.
 
Old 10-09-2017, 02:34 PM   #3005
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 321

Rep: Reputation: Disabled
Quote:
Originally Posted by rworkman View Post
The only one of those .new files which should exist is the vimrc.new; the other two are packaging issues that will be fixed in a later rebuild of the package.

In the meantime, slackpkg-2.82.2 will add /usr/share/vim to the search path in looknew().
I believe /var/yp should added be to the search path as well, to handle changes in the yp package.

Last edited by alex14641; 10-09-2017 at 04:30 PM. Reason: added 'should be'.
 
Old 10-09-2017, 03:37 PM   #3006
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Original Poster
Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by alex14641 View Post
I believe /var/yp to the search path as will, to handle changes in the yp package.
Ah yes. I recalled them being "rm -f"'d in postinstall, but I see that's changed at some point.
 
Old 10-10-2017, 02:36 AM   #3007
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
libnl-3.4.0:

https://github.com/thom311/libnl/commits/master
https://github.com/thom311/libnl/rel...l-3.4.0.tar.gz

lftp-4.8.3:

https://lftp.yar.ru/news.html
http://lftp.yar.ru/ftp/lftp-4.8.3.tar.xz
 
Old 10-10-2017, 05:01 AM   #3008
mid-kid
LQ Newbie
 
Registered: Oct 2016
Distribution: Gentoo
Posts: 25

Rep: Reputation: Disabled
Quote:
Originally Posted by 55020 View Post
It would be better to scan /var/log/scripts for '^config '
(less files to scan, smaller files to scan, no false positives)
That's what I had in mind at first, but then I remembered there's no guarantee all doinst.sh use the same config() function and it's syntax (as a matter of fact, I exploit this in one of my personal packages).

The only case where my method would yield a false-positive is when the user manually creates a non-'.new' counterpart to a .new file, but in that case the user will be prompted and they would remember they edited that file manually.
The thing that's slow in the 2nd version is that grep has to process all the files in the package database for every iteration in the loop. I'm unsure if I could make that any faster.
I agree it's not perfect, but no method is in this case, really.

EDIT: I solved the bottleneck, now it's almost instant (0.41s on my machine)! http://chunk.io/midkid/a39abaf5a07b40a8981793d82eb6ac97
I'm still unsure how to fix the $TRIGGER to behave like removepkg without compromising speed. (Why does removepkg even behave like that?)

@rworkman:
There's also /usr/share/ghostscript/9.19/Resource/Init/cidfmap.new, and files in /var/log, /var/spool, /var/www, /var/run, /var/state and /var/lib. (At least on my 14.2 install)

Last edited by mid-kid; 10-10-2017 at 05:41 AM.
 
1 members found this post helpful.
Old 10-10-2017, 01:19 PM   #3009
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
gparted-0.30.0:

https://sourceforge.net/projects/gpa...tFreedomCookie
https://sourceforge.net/projects/gpa...ar.gz/download
 
Old 10-10-2017, 04:48 PM   #3010
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 321

Rep: Reputation: Disabled
httpd 2.4.8 is out: this one has a security fix.
source: http://mirrors.gigenet.com/apache//h...2.4.28.tar.bz2
Change log: http://mirrors.gigenet.com/apache//httpd/CHANGES_2.4.28
 
1 members found this post helpful.
Old 10-10-2017, 05:57 PM   #3011
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by alex14641 View Post
We patched that CVE three weeks ago.
 
3 members found this post helpful.
Old 10-11-2017, 03:16 PM   #3012
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
libsoup-2.60.1
http://ftp.gnome.org/pub/GNOME/sourc...-2.60.1.tar.xz

python-six-1.11.0
https://pypi.python.org/packages/16/...-1.11.0.tar.gz

Last edited by USUARIONUEVO; 10-11-2017 at 03:47 PM.
 
Old 10-11-2017, 05:52 PM   #3013
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Uh, did I mention FluidSynth (and both sdl and SD2_mixer built with FluidSynth support) several times? All the DOOM source ports either support playing MIDI through either SDL, or outright expect it. For that to work, you really need SDL built with FluidSynth support.
 
Old 10-11-2017, 06:29 PM   #3014
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by dugan View Post
Uh, did I mention FluidSynth (and both sdl and SD2_mixer built with FluidSynth support) several times? All the DOOM source ports either support playing MIDI through either SDL, or outright expect it. For that to work, you really need SDL built with FluidSynth support.
I think , probably good idea , library is autodetected at configure time, no need modify the slackbuild.

I install fluidsynth from SBo to test , and works well.

Quote:
checking fluidsynth.h usability... yes
checking fluidsynth.h presence... yes
checking for fluidsynth.h... yes
checking for fluid_player_add_mem in -lfluidsynth... yes
-- dynamic libfluidsyth -> libfluidsynth.so.1
Im not sure , but other multimedia apps present in stock slackware or libraries , can make enhanced features if fluidshynt go added... i try to find more benefit packages if add.

audacious-plugins , can get benefit
fluidsynth (optional) - MIDI FluidSynth backend input


I think , only this three packages go benefit

sdl_mixer
SDL2_mixer
audacious-plugins

seeying only , in stock slackware packages , but thinking as example , mixer packages from sdl 1-2 , are used by too many extra multimedia apps... and probably people, go to recompiled custom , cause no support of fluid built-in , i prefer ever , respect original packages , then work to make better as possible , in stock slackware to no recompile packages.

Size of packaged fluid is small 150-200 Kb

Thanks in some case !!!

Last edited by USUARIONUEVO; 10-11-2017 at 06:48 PM.
 
Old 10-12-2017, 04:09 AM   #3015
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
kdelibs-4.14.37:

(this new release support enchant2)
https://cgit.kde.org/kdelibs.git/log/?h=KDE/4.14
https://download.kde.org/stable/appl...4.14.37.tar.xz

enchant-2.1.2:

https://github.com/AbiWord/enchant/releases
https://github.com/AbiWord/enchant/r...t-2.1.2.tar.gz
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration