[SCRIPT] Convert a slacky package to Porteus module
Post tutorials, HOWTO's and other useful resources here.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
[SCRIPT] Convert a slacky package to Porteus module
Post#1 by brokenman » 20 Mar 2011, 03:22
This script will search the online slacky repo and convert the chosen module into a Porteus compliant module that contains a list of all required dependencies and is slackware compatible. You can also convert and existing 'SLACKY' package from your HD
This is the first release of this script (alpha) and later versions will include support for official slackware repo.
Usage:
1. Download script and save it as /usr/bin/slackonverter.sh
2. Make it executable: chmod +x /usr/bin/slackonverter.sh
3. Run it: slackonverter.sh
Download the script here
This is the first release of this script (alpha) and later versions will include support for official slackware repo.
Usage:
1. Download script and save it as /usr/bin/slackonverter.sh
2. Make it executable: chmod +x /usr/bin/slackonverter.sh
3. Run it: slackonverter.sh
Download the script here
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
brokenman
- francois
- Contributor
- Posts: 6514
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#2 by francois » 16 Apr 2011, 00:02
Hello brokenman. Very interested in your script.
I have downloaded it, installed it in the appropriate directory. Here is what I get as much on my standard installation with the save change folder as with the always fresh method:
root@slax:/usr/bin# slackonverter.sh
-bash: /usr/bin/slackonverter.sh: /bin/bash^M: bad interpreter: No such file or directory
root@slax:/usr/bin#
root@slax:/usr/bin# ls slackonverter.sh
slackonverter.sh*
root@slax:/usr/bin#
The file is executable as I can see in the permission of the files.
But maybe I need the developper package?
I have downloaded it, installed it in the appropriate directory. Here is what I get as much on my standard installation with the save change folder as with the always fresh method:
root@slax:/usr/bin# slackonverter.sh
-bash: /usr/bin/slackonverter.sh: /bin/bash^M: bad interpreter: No such file or directory
root@slax:/usr/bin#
root@slax:/usr/bin# ls slackonverter.sh
slackonverter.sh*
root@slax:/usr/bin#
The file is executable as I can see in the permission of the files.
But maybe I need the developper package?
Prendre son temps, profiter de celui qui passe.
francois
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#3 by brokenman » 16 Apr 2011, 06:33
Sorry Francois ... something about the IIS server was screwing up the script. I've fixed the link now, just copy the text into your own file while inside of slax and make it executable.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
brokenman
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#4 by fanthom » 16 Apr 2011, 08:23
@francois
"/bin/bash^M: bad interpreter: No such file or directory"
always mean windows text formatting, use 'formdos' utility (included in Porteus) to fix that.
@brokenman
will test your package manager with a pleasure
"/bin/bash^M: bad interpreter: No such file or directory"
always mean windows text formatting, use 'formdos' utility (included in Porteus) to fix that.
@brokenman
will test your package manager with a pleasure

Please add [Solved] to your thread title if the solution was found.
fanthom
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#5 by brokenman » 16 Apr 2011, 10:56
Yes, very good. I wrote it in notepad during lunch on a windows machine.always mean windows text formatting
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
brokenman
- francois
- Contributor
- Posts: 6514
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#6 by francois » 03 May 2011, 02:29
I have begun to test it. Works an looks quite interesting. I will report when I will have more results.
Maybe the problem will be to set the sources so that one could access as much a variety of package possible.
Maybe the problem will be to set the sources so that one could access as much a variety of package possible.
Prendre son temps, profiter de celui qui passe.
francois
retfar
francois
bour59
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#10 by Hamza » 24 Jul 2011, 11:27
This script has been removed from the server.
Brokenman has removed the content of the directory "upload" on the porteus.org. This script will not be available until Brokenman re-upload it on the server.
Sorry Again.
Brokenman has removed the content of the directory "upload" on the porteus.org. This script will not be available until Brokenman re-upload it on the server.
Sorry Again.
NjVFQzY2Rg==
Hamza
- francois
- Contributor
- Posts: 6514
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#11 by francois » 24 Jul 2011, 13:11
What are you trying to do exactly? Maybe there is another way around.retfar wrote:Download script here; I get :The system cannot find the file specified.
By the way, welcome to the Porteus forum.
Prendre son temps, profiter de celui qui passe.
francois
Re: [SCRIPT] Convert a slacky package to Porteus module
Post#12 by Hamza » 24 Jul 2011, 13:18
He is trying to download a script from the server, but this script has been removed by Brokenman. And, when retfar try to download it, he get an error like this The system cannot find the file specified.francois wrote:What are you trying to do exactly? Maybe there is another way around.retfar wrote:Download script here; I get :The system cannot find the file specified.
By the way, welcome to the Porteus forum.
NjVFQzY2Rg==
Hamza