aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FAQ29
-rw-r--r--FAQ.html245
2 files changed, 166 insertions, 108 deletions
diff --git a/FAQ b/FAQ
index 7d9aea7..9da09b7 100644
--- a/FAQ
+++ b/FAQ
@@ -49,6 +49,7 @@ Frequently Asked Questions:
46. What is a meta package and how can I take advantage of it?
47. How can I downgrade a package?
48. How can I search the contents of a package for a file or library?
+49. Will slapt-get support a --compile like option for slackbuilds?
@@ -1028,3 +1029,31 @@ Frequently Asked Questions:
}
+49. Will slapt-get support a --compile like option for slackbuilds?
+
+ Not directly. Piotr Simon, however, has contributed a script along the same
+ lines:
+
+ # added to .bashrc)
+ alias slapt-get-compile="compile_slaptget"
+
+ compile_slaptget() {
+ grep "^WORKINGDIR" /etc/slapt-get/slapt-getrc > /tmp/slapt-get.compile || exit
+ echo "SOURCE=http://www1.linuxpackages.net/packages/SlackBuilds/" >> /tmp/slapt-get.compile
+ slapt-get --config /tmp/slapt-get.compile --update
+ if [ "$1" = "" ];then
+ slapt-get --list
+ echo ""
+ echo "#################################################################################"
+ echo "slapt-get-compile: install/upgrade/compile src-pkgs from Build Script Archive on linuxpackages.net"
+ echo "Use: slapt-get-compile <string>"
+ echo "#################################################################################"
+ echo ""
+ else
+ PROG=`echo $1 | sed 's/-src//'`
+ slapt-get --install $1
+ ( cd /usr/src/slackbuilds/$PROG
+ ./$PROG.[sS]lack[bB]uild )
+ fi
+
+
diff --git a/FAQ.html b/FAQ.html
index ed5d648..41cdf96 100644
--- a/FAQ.html
+++ b/FAQ.html
@@ -4,69 +4,70 @@
<head>
<title>FAQ</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <STYLE type="text/css">
+ <style type="text/css">
a{
text-decoration:none;
}
- </STYLE>
+ </style>
</head>
<body font="Verdana">
-<B><h1>Frequently Asked Questions:</h1></B>
+<b><h1>Frequently Asked Questions:</h1></b>
-<PRE>
+<pre>
*Contents
-<A href="FAQ.html#slgFAQ1">1. What is slapt-get ?</A>
-<A href="#slgFAQ2">2. Why yet another package management tool for Slackware?</A>
-<A href="#slgFAQ3">3. How do I build/install slapt-get? How do I remove slapt-get?</A>
-<A href="#slgFAQ4">4. How do I find a package I want to install?</A>
-<A href="#slgFAQ5">5. Can I upgrade all my installed packages?</A>
-<A href="#slgFAQ6">6. How can I see what will be upgraded without upgrading?</A>
-<A href="#slgFAQ7">7. What if I only want to download the updates?</A>
-<A href="#slgFAQ8">8. How can I re-install an existing package?</A>
-<A href="#slgFAQ9">9. Can I "dist-upgrade" to a newer Slackware release?</A>
-<A href="#slgFAQ10">10. What about package dependencies?</A>
-<A href="#slgFAQ11">11. What about multiple package sources, ala linuxpackages.net?</A>
-<A href="#slgFAQ12">12. How can I get more detailed statistics for downloads?</A>
-<A href="#slgFAQ13">13. How can I install every available package?</A>
-<A href="#slgFAQ14">14. What if I only want to upgrade one package?</A>
-<A href="#slgFAQ15">15. What about Dropline support?</A>
-<A href="#slgFAQ16">16. How can I generate an exclude list for an entire disk set?</A>
-<A href="#slgFAQ17">17. How do I use a local file source?</A>
-<A href="#slgFAQ18">18. How can I download every package in a disk set?</A>
-<A href="#slgFAQ19">19. How can I add dependency information to my packages?</A>
-<A href="#slgFAQ20">20. How do I get the newest development version of slapt-get?</A>
-<A href="#slgFAQ21">21. How can I contribute my ideas or code?</A>
-<A href="#slgFAQ22">22. How can I get slapt-get to speak in my native tongue?</A>
-<A href="#slgFAQ23">23. How do I set the output language?</A>
-<A href="#slgFAQ24">24. How do I specify proxy settings?</A>
-<A href="#slgFAQ25">25. How can I exclude all *pre*, *beta*, and *686* packages safely?</A>
-<A href="#slgFAQ26">26. How does the transaction engine work?</A>
-<A href="#slgFAQ27">27. How does the package version comparison algorithm work?</A>
-<A href="#slgFAQ28">28. I am tracking current, how do I keep the base disk set up to date?</A>
-<A href="#slgFAQ29">29. How would I script an ldd dependency hack with slapt-get?</A>
-<A href="#slgFAQ30">30. Does EXCLUDE work for install as well as upgrade and dist-upgrade?</A>
-<A href="#slgFAQ31">31. What about package conflicts? How can I specify a conflict for my package?</A>
-<A href="#slgFAQ32">32. Is the ROOT environment variable honored for install and upgrading?</A>
-<A href="#slgFAQ33">33. How do I specify the exact version of a package to install?</A>
-<A href="#slgFAQ34">34. Why is upgradepkg complaining it cannot find installpkg or removepkg, with sudo?</A>
-<A href="#slgFAQ35">35. How can I specify a username/password for the connection to the package source?</A>
-<A href="#slgFAQ36">36. /var/slapt-get is growing large, how can I safely free up space?</A>
-<A href="#slgFAQ37">37. What about extra, testing, or pasture packages?</A>
-<A href="#slgFAQ38">38. Can I use slapt-get to mirror packages?</A>
-<A href="#slgFAQ39">39. Is there a way to use tab completion for the package names in Bash?</A>
-<A href="#slgFAQ40">40. How do I remove obsoleted packages?</A>
-<A href="#slgFAQ41">41. What provisions have you made for dialup users?</A>
-<A href="#slgFAQ42">42. Is there a way to get a report with the pending updates emailed to me?</A>
-<A href="#slgFAQ43">43. What if I don't trust third party sources for upgrades?</A>
-<A href="#slgFAQ44">44. How do I specify an addon thats not a dependency of my package?</A>
-<A href="#slgFAQ45">45. Will slapt-get break my system?</A>
-<A href="#slgFAQ46">46. What is a meta package and how can I take advantage of it?</A>
-<A href="#slgFAQ47">47. How can I downgrade a package?</A>
-<A href="#slgFAQ48">48. How can I search the contents of a package for a file or library?</A>
-
-
-
-<A NAME="slgFAQ1"><B>1. What is slapt-get ?</B></A>
+<a href="FAQ.html#slgFAQ1">1. What is slapt-get ?</a>
+<a href="#slgFAQ2">2. Why yet another package management tool for Slackware?</a>
+<a href="#slgFAQ3">3. How do I build/install slapt-get? How do I remove slapt-get?</a>
+<a href="#slgFAQ4">4. How do I find a package I want to install?</a>
+<a href="#slgFAQ5">5. Can I upgrade all my installed packages?</a>
+<a href="#slgFAQ6">6. How can I see what will be upgraded without upgrading?</a>
+<a href="#slgFAQ7">7. What if I only want to download the updates?</a>
+<a href="#slgFAQ8">8. How can I re-install an existing package?</a>
+<a href="#slgFAQ9">9. Can I "dist-upgrade" to a newer Slackware release?</a>
+<a href="#slgFAQ10">10. What about package dependencies?</a>
+<a href="#slgFAQ11">11. What about multiple package sources, ala linuxpackages.net?</a>
+<a href="#slgFAQ12">12. How can I get more detailed statistics for downloads?</a>
+<a href="#slgFAQ13">13. How can I install every available package?</a>
+<a href="#slgFAQ14">14. What if I only want to upgrade one package?</a>
+<a href="#slgFAQ15">15. What about Dropline support?</a>
+<a href="#slgFAQ16">16. How can I generate an exclude list for an entire disk set?</a>
+<a href="#slgFAQ17">17. How do I use a local file source?</a>
+<a href="#slgFAQ18">18. How can I download every package in a disk set?</a>
+<a href="#slgFAQ19">19. How can I add dependency information to my packages?</a>
+<a href="#slgFAQ20">20. How do I get the newest development version of slapt-get?</a>
+<a href="#slgFAQ21">21. How can I contribute my ideas or code?</a>
+<a href="#slgFAQ22">22. How can I get slapt-get to speak in my native tongue?</a>
+<a href="#slgFAQ23">23. How do I set the output language?</a>
+<a href="#slgFAQ24">24. How do I specify proxy settings?</a>
+<a href="#slgFAQ25">25. How can I exclude all *pre*, *beta*, and *686* packages safely?</a>
+<a href="#slgFAQ26">26. How does the transaction engine work?</a>
+<a href="#slgFAQ27">27. How does the package version comparison algorithm work?</a>
+<a href="#slgFAQ28">28. I am tracking current, how do I keep the base disk set up to date?</a>
+<a href="#slgFAQ29">29. How would I script an ldd dependency hack with slapt-get?</a>
+<a href="#slgFAQ30">30. Does EXCLUDE work for install as well as upgrade and dist-upgrade?</a>
+<a href="#slgFAQ31">31. What about package conflicts? How can I specify a conflict for my package?</a>
+<a href="#slgFAQ32">32. Is the ROOT environment variable honored for install and upgrading?</a>
+<a href="#slgFAQ33">33. How do I specify the exact version of a package to install?</a>
+<a href="#slgFAQ34">34. Why is upgradepkg complaining it cannot find installpkg or removepkg, with sudo?</a>
+<a href="#slgFAQ35">35. How can I specify a username/password for the connection to the package source?</a>
+<a href="#slgFAQ36">36. /var/slapt-get is growing large, how can I safely free up space?</a>
+<a href="#slgFAQ37">37. What about extra, testing, or pasture packages?</a>
+<a href="#slgFAQ38">38. Can I use slapt-get to mirror packages?</a>
+<a href="#slgFAQ39">39. Is there a way to use tab completion for the package names in Bash?</a>
+<a href="#slgFAQ40">40. How do I remove obsoleted packages?</a>
+<a href="#slgFAQ41">41. What provisions have you made for dialup users?</a>
+<a href="#slgFAQ42">42. Is there a way to get a report with the pending updates emailed to me?</a>
+<a href="#slgFAQ43">43. What if I don't trust third party sources for upgrades?</a>
+<a href="#slgFAQ44">44. How do I specify an addon thats not a dependency of my package?</a>
+<a href="#slgFAQ45">45. Will slapt-get break my system?</a>
+<a href="#slgFAQ46">46. What is a meta package and how can I take advantage of it?</a>
+<a href="#slgFAQ47">47. How can I downgrade a package?</a>
+<a href="#slgFAQ48">48. How can I search the contents of a package for a file or library?</a>
+<a href="#slgFAQ49">49. Will slapt-get support a --compile like option for slackbuilds?</a>
+
+
+
+<a name="slgFAQ1"><b>1. What is slapt-get ?</b></a>
slapt-get is an APT like system for Slackware package management. It allows
one to search slackware.com and mirrors for packages, compare them with
@@ -76,7 +77,7 @@
slapt-get is not affiliated or endorsed by Patrick Volkerding / slackware.com.
-<A NAME="slgFAQ2"><B>2. Why yet another package management tool for Slackware?</B></A>
+<a name="slgFAQ2"><b>2. Why yet another package management tool for Slackware?</b></a>
Various reasons came together which inspired me to create slapt-get. I was
trying to explain to a good friend of mine the functionality provided by
@@ -85,7 +86,7 @@
using for development. Thus slapt-get was born.
-<A NAME="slgFAQ3"><B>3. How do I build/install slapt-get? How do I remove slapt-get?</B></A>
+<a name="slgFAQ3"><b>3. How do I build/install slapt-get? How do I remove slapt-get?</b></a>
Two ways to install:
@@ -102,14 +103,14 @@
See the INSTALL file included with slapt-get.
-<A NAME="slgFAQ4"><B>4. How do I find a package I want to install?</B></A>
+<a name="slgFAQ4"><b>4. How do I find a package I want to install?</b></a>
You can use the --search feature, supplying an expression. POSIX
and extended regular expressions are supported. This searches the name,
location, or description of packages.
-<A NAME="slgFAQ5"><B>5. Can I upgrade all my installed packages?</B></A>
+<a name="slgFAQ5"><b>5. Can I upgrade all my installed packages?</b></a>
Yes, use the --upgrade option. slapt-get will check for newer versions of all
packages already installed.
@@ -118,25 +119,25 @@
running. This is especially important for -current.
-<A NAME="slgFAQ6"><B>6. How can I see what will be upgraded without upgrading?</B></A>
+<a name="slgFAQ6"><b>6. How can I see what will be upgraded without upgrading?</b></a>
If the transaction report is not enough, use the --simulate option before
--upgrade. See slapt-get --help
-<A NAME="slgFAQ7"><B>7. What if I only want to download the updates?</B></A>
+<a name="slgFAQ7"><b>7. What if I only want to download the updates?</b></a>
Use the --download-only option with --upgrade.
See slapt-get --help
-<A NAME="slgFAQ8"><B>8. How can I re-install an existing package?</B></A>
+<a name="slgFAQ8"><b>8. How can I re-install an existing package?</b></a>
Use the --reinstall option with --install pkg_name.
See slapt-get --help
-<A NAME="slgFAQ9"><B>9. Can I "dist-upgrade" to a newer Slackware release?</B></A>
+<a name="slgFAQ9"><b>9. Can I "dist-upgrade" to a newer Slackware release?</b></a>
Yes.
@@ -205,7 +206,7 @@
-<A NAME="slgFAQ10"><B>10. What about package dependencies?</B></A>
+<a name="slgFAQ10"><b>10. What about package dependencies?</b></a>
First of all, slapt-get does not provide dependency resolution for vanilla
Slackware packages.
@@ -265,7 +266,7 @@
with 2.5) and VectorLinux (starting with 5.0).
-<A NAME="slgFAQ11"><B>11. What about multiple package sources, ala linuxpackages.net?</B></A>
+<a name="slgFAQ11"><b>11. What about multiple package sources, ala linuxpackages.net?</b></a>
You can use multiple sources with slapt-get (including linuxpackages.net).
See the example slapt-getrc in the source tarball, or look in
@@ -273,14 +274,14 @@
README.
-<A NAME="slgFAQ12"><B>12. How can I get more detailed statistics for downloads?</B></A>
+<a name="slgFAQ12"><b>12. How can I get more detailed statistics for downloads?</b></a>
If you would like more notification on downloading pkgs/files, use the
command line option --show-stats (or -S). This will show curl style
download information.
-<A NAME="slgFAQ13"><B>13. How can I install every available package?</B></A>
+<a name="slgFAQ13"><b>13. How can I install every available package?</b></a>
Even though it is not built in, it is simple since slapt-get is easy to script
with. Here is how to install every package that is available but not
@@ -289,7 +290,7 @@
slapt-get --list|grep inst=no|awk '{print $1}'|sort|uniq|xargs -r slapt-get --install
-<A NAME="slgFAQ14"><B>14. What if I only want to upgrade one package?</B></A>
+<a name="slgFAQ14"><b>14. What if I only want to upgrade one package?</b></a>
Then you follow the Debian apt-get method of using --install. If the package
is already installed, it will check and install any newer versions:
@@ -297,7 +298,7 @@
slapt-get --install {pkg_name}
-<A NAME="slgFAQ15"><B>15. What about Dropline support?</B></A>
+<a name="slgFAQ15"><b>15. What about Dropline support?</b></a>
There is no direct support for Dropline packages. If you do not want them
upgraded, either put the package names or regex into the exception list.
@@ -307,7 +308,7 @@
EXCLUDE=kernel-ide,kernel-source,kernel-headers,kernel-modules,lilo,.*-[0-9]dl$,devs
-<A NAME="slgFAQ16"><B>16. How can I generate an exclude list for an entire disk set?</B></A>
+<a name="slgFAQ16"><b>16. How can I generate an exclude list for an entire disk set?</b></a>
You can exclude an entire disk set by placing the disk set as an exclude. Be
sure to use the beginning-of-line (^) and end-of-line ($) operators for
@@ -317,7 +318,7 @@
EXCLUDE=^./slackware/x$,^./slackware/xap$
-<A NAME="slgFAQ17"><B>17. How do I use a local file source?</B></A>
+<a name="slgFAQ17"><b>17. How do I use a local file source?</b></a>
Within slapt-getrc, change your SOURCE= lines to point to file:// url's.
@@ -416,7 +417,7 @@
### END SCRIPT
-<A NAME="slgFAQ18"><B>18. How can I download every package in a disk set?</B></A>
+<a name="slgFAQ18"><b>18. How can I download every package in a disk set?</b></a>
You can search the package location field, which specifies which directory
the package resides in, on the mirror.
@@ -427,7 +428,7 @@
xargs -r slapt-get --install
-<A NAME="slgFAQ19"><B>19. How can I add dependency information to my packages?</B></A>
+<a name="slgFAQ19"><b>19. How can I add dependency information to my packages?</b></a>
This is for package developers. If you are not a package developer, please
request your packager include this information.
@@ -464,7 +465,7 @@
An example slack-required file is present within the slapt-get slack package.
This data will then need to be extracted when the mirror's PACKAGES.TXT file
- is generated. See <A href="#slgFAQ17">FAQ #17</A> for an example of how to generate the
+ is generated. See <a href="#slgFAQ17">FAQ #17</a> for an example of how to generate the
PACKAGES.TXT file. The following is an example entry:
PACKAGE NAME: man-pages-1.56-noarch-1.tgz
@@ -475,12 +476,12 @@
tar xzf pkg-name-version-arch-rel.tgz install/slack-required -O|xargs -iZ echo -n "Z,"|sed -e "s/,$//"
-<A NAME="slgFAQ20"><B>20. How do I get the newest development version of slapt-get?</B></A>
+<a name="slgFAQ20"><b>20. How do I get the newest development version of slapt-get?</b></a>
See the 'Using cvs' section of the INSTALL document.
-<A NAME="slgFAQ21"><B>21. How can I contribute my ideas or code?</B></A>
+<a name="slgFAQ21"><b>21. How can I contribute my ideas or code?</b></a>
Send in ideas or patches to the development list:
@@ -491,7 +492,7 @@
slapt-get-user at software dot jaos dot org
-<A NAME="slgFAQ22"><B>22. How can I get slapt-get to speak in my native tongue?</B></A>
+<a name="slgFAQ22"><b>22. How can I get slapt-get to speak in my native tongue?</b></a>
GNU gettext is used to extract all translatable strings from the source.
Please look in the po/ directory of the slapt-get source, or in
@@ -508,7 +509,7 @@
mailing list. Your contributions are greatly appreciated.
-<A NAME="slgFAQ23"><B>23. How do I set the output language?</B></A>
+<a name="slgFAQ23"><b>23. How do I set the output language?</b></a>
You can change the locale at runtime by setting the LANG environment
variable.
@@ -516,7 +517,7 @@
$ LANG=fr slapt-get
-<A NAME="slgFAQ24"><B>24. How do I specify proxy settings?</B></A>
+<a name="slgFAQ24"><b>24. How do I specify proxy settings?</b></a>
slapt-get takes advantage of the normal http_proxy and ftp_proxy shell
variables. Here are some examples:
@@ -531,7 +532,7 @@
See the netrc(5) manpage for more information.
-<A NAME="slgFAQ25"><B>25. How can I exclude all *pre*, *beta*, and *686* packages safely?</B></A>
+<a name="slgFAQ25"><b>25. How can I exclude all *pre*, *beta*, and *686* packages safely?</b></a>
An exclude regex like .*pre.* , .*beta.*, or .*686.* may net you the results
of excluding all packages with those characters in the name or version. But
@@ -554,7 +555,7 @@
transaction.
-<A NAME="slgFAQ26"><B>26. How does the transaction engine work?</B></A>
+<a name="slgFAQ26"><b>26. How does the transaction engine work?</b></a>
The last few series of releases (0.9.6x and 0.9.7x) have supported
transactions so that nothing happens unless everything checks out properly.
@@ -569,7 +570,7 @@
completed. This helps keep your system in a consistent state.
-<A NAME="slgFAQ27"><B>27. How does the package version comparison algorithm work?</B></A>
+<a name="slgFAQ27"><b>27. How does the package version comparison algorithm work?</b></a>
Say we have foo-1.1.3-i386-1rob and foo-1.1.3-i686-1.
@@ -601,7 +602,7 @@
are compared via strcmp. This is a fallback mechanism.
-<A NAME="slgFAQ28"><B>28. I am tracking current, how do I keep the base disk set up to date?</B></A>
+<a name="slgFAQ28"><b>28. I am tracking current, how do I keep the base disk set up to date?</b></a>
If you are tracking current, --dist-upgrade is more appropriate than
--upgrade.
@@ -622,7 +623,7 @@
also use this option for information purposes.
-<A NAME="slgFAQ29"><B>29. How would I script an ldd dependency hack with slapt-get?</B></A>
+<a name="slgFAQ29"><b>29. How would I script an ldd dependency hack with slapt-get?</b></a>
Do something like the following:
@@ -720,7 +721,7 @@
### end script
-<A NAME="slgFAQ30"><B>30. Does EXCLUDE work for install as well as upgrade and dist-upgrade?</B></A>
+<a name="slgFAQ30"><b>30. Does EXCLUDE work for install as well as upgrade and dist-upgrade?</b></a>
No, EXCLUDE is only consulted for upgrading and dist-upgrading. If you
specify the package name as an argument to --install, slapt-get will
@@ -732,7 +733,7 @@
--ignore-dep.
-<A NAME="slgFAQ31"><B>31. What about package conflicts? How can I specify a conflict for my package?</B></A>
+<a name="slgFAQ31"><b>31. What about package conflicts? How can I specify a conflict for my package?</b></a>
Package conflicts are not as common as dependencies, but just as crucial.
Packages such as lprng and cups sometimes duplicate the same functionality and
@@ -758,7 +759,7 @@
the conflict and install the requested package.
-<A NAME="slgFAQ32"><B>32. Is the ROOT environment variable honored for install and upgrading?</B></A>
+<a name="slgFAQ32"><b>32. Is the ROOT environment variable honored for install and upgrading?</b></a>
Yes, if you have been using ROOT with installpkg and upgradepkg, slapt-get
will modify where it looks for the package logs based on this environment
@@ -769,7 +770,7 @@
install all upgraded/new packages in /home/keary/newroot instead of /
-<A NAME="slgFAQ33"><B>33. How do I specify the exact version of a package to install?</B></A>
+<a name="slgFAQ33"><b>33. How do I specify the exact version of a package to install?</b></a>
Specify the version along with the package name with the --install argument.
@@ -777,7 +778,7 @@
as the --install argument.
-<A NAME="slgFAQ34"><B>34. Why is upgradepkg complaining it cannot find installpkg or removepkg, with sudo?</B></A>
+<a name="slgFAQ34"><b>34. Why is upgradepkg complaining it cannot find installpkg or removepkg, with sudo?</b></a>
Right from the sudo man page's Security Notes section:
@@ -788,7 +789,7 @@
slapt-get via sudo. Or use su - -c 'slapt-get [options] [arg]s'.
-<A NAME="slgFAQ35"><B>35. How can I specify a username/password for the connection to the package source?</B></A>
+<a name="slgFAQ35"><b>35. How can I specify a username/password for the connection to the package source?</b></a>
This can be specified right in the package source url within the
/etc/slapt-get/slapt-getrc. You will want to make sure that sensitive
@@ -801,7 +802,7 @@
SOURCE=ftp://user:pass@host.org/pub/packages/
-<A NAME="slgFAQ36"><B>36. /var/slapt-get is growing large, how can I safely free up space?</B></A>
+<a name="slgFAQ36"><b>36. /var/slapt-get is growing large, how can I safely free up space?</b></a>
Use the --clean option to remove all the cached packages from the tree within
/var/slapt-get.
@@ -812,13 +813,13 @@
it growing out of control.
-<A NAME="slgFAQ37"><B>37. What about extra, testing, or pasture packages?</B></A>
+<a name="slgFAQ37"><b>37. What about extra, testing, or pasture packages?</b></a>
Example source entries for the extra, testing, and pasture packages sets can be
found within the example.slapt-getrc file under /usr/doc/slapt-get*/.
-<A NAME="slgFAQ38"><B>38. Can I use slapt-get to mirror packages?</B></A>
+<a name="slgFAQ38"><b>38. Can I use slapt-get to mirror packages?</b></a>
Yes, you can use it to mirror packages by using the following:
@@ -827,11 +828,11 @@
The packages will then be mirrored under ${ROOT}/var/slapt-get in the
directory structure they where found in. You can then generate the
- PACKAGES.TXT and CHECKSUMS.md5 files using the script in <A href="#slgFAQ17">FAQ #17</A> which would
+ PACKAGES.TXT and CHECKSUMS.md5 files using the script in <a href="#slgFAQ17">FAQ #17</a> which would
allow you to use this mirror as a slapt-get source.
-<A NAME="slgFAQ39"><B>39. Is there a way to use tab completion for the package names in Bash?</B></A>
+<a name="slgFAQ39"><b>39. Is there a way to use tab completion for the package names in Bash?</b></a>
Yes, this completion was contributed by Alec Thomas on the slapt-get-devel
mailing list. This goes in your ~/.bashrc file (or in /etc/bash_completion,
@@ -849,7 +850,7 @@
complete -F complete_slaptget -o default slapt-get
-<A NAME="slgFAQ40"><B>40. How do I remove obsoleted packages?</B></A>
+<a name="slgFAQ40"><b>40. How do I remove obsoleted packages?</b></a>
If you are tracking current or are dist-upgrading to a new release, you will
encounter packages that you have installed that are no longer required or
@@ -862,7 +863,7 @@
not removed.
-<A NAME="slgFAQ41"><B>41. What provisions have you made for dialup users?</B></A>
+<a name="slgFAQ41"><b>41. What provisions have you made for dialup users?</b></a>
The following measurements to save bandwidth have been taken:
@@ -875,16 +876,16 @@
much is left to resume if the download was previously interrupted.
-<A NAME="slgFAQ42"><B>42. Is there a way to get a report with the pending updates emailed to me?</B></A>
+<a name="slgFAQ42"><b>42. Is there a way to get a report with the pending updates emailed to me?</b></a>
Yes, you may use these scripts to send notification via email any time updates
are available:
- <A href="http://www.nerdworks.org/download/scripts/update-notifier/">http://www.nerdworks.org/download/scripts/update-notifier/</A>
- <A href="http://www.atozcomp.com/slapt_update">http://www.atozcomp.com/slapt_update</A>
+ <a href="http://www.nerdworks.org/download/scripts/update-notifier/">http://www.nerdworks.org/download/scripts/update-notifier/</a>
+ <a href="http://www.atozcomp.com/slapt_update">http://www.atozcomp.com/slapt_update</a>
-<A NAME="slgFAQ43"><B>43. What if I don't trust third party sources for upgrades?</B></A>
+<a name="slgFAQ43"><b>43. What if I don't trust third party sources for upgrades?</b></a>
You can use different slapt-getrc files. For example:
@@ -897,7 +898,7 @@
is parsed.
-<A NAME="slgFAQ44"><B>44. How do I specify an addon thats not a dependency of my package?</B></A>
+<a name="slgFAQ44"><b>44. How do I specify an addon thats not a dependency of my package?</b></a>
You can include a slack-suggests file within your package's ./install/ directory.
The format of this file follows the slack-required, except version information
@@ -910,7 +911,7 @@
--show pkg-name query.
-<A NAME="slgFAQ45"><B>45. Will slapt-get break my system?</B></A>
+<a name="slgFAQ45"><b>45. Will slapt-get break my system?</b></a>
slapt-get is a frontend to pkgtools. As such you have the same ability to
break a working system using slapt-get as you do using upgradepkg without
@@ -928,7 +929,7 @@
running -current.
-<A NAME="slgFAQ46"><B>46. What is a meta package and how can I take advantage of it?</B></A>
+<a name="slgFAQ46"><b>46. What is a meta package and how can I take advantage of it?</b></a>
A meta package is a package that only contains it's dependencies in the
slack-required file. There is nothing in the package to install, it just
@@ -945,7 +946,7 @@
suite.
-<A NAME="slgFAQ47"><B>47. How can I downgrade a package?</B></A>
+<a name="slgFAQ47"><b>47. How can I downgrade a package?</b></a>
You can downgrade a package by specifying the version of the package when using
--install. You will also need to provide --reinstall. For example:
@@ -964,7 +965,7 @@
Do you want to continue? [y/N]
-<A NAME="slgFAQ48"><B>48. How can I search the contents of a package for a file or library?</B></A>
+<a name="slgFAQ48"><b>48. How can I search the contents of a package for a file or library?</b></a>
slapt-get does not pay attention to the contents of packages. Slackware
provides the MANIFEST.bz2 and the contents of /var/log/packages for such
@@ -1042,7 +1043,35 @@
}
-</PRE>
+<a href="#slgFAQ49">49. Will slapt-get support a --compile like option for slackbuilds?</a>
+
+ Not directly. Piotr Simon, however, has contributed a script along the same
+ lines:
+
+ # added to .bashrc)
+ alias slapt-get-compile="compile_slaptget"
+
+ compile_slaptget() {
+ grep "^WORKINGDIR" /etc/slapt-getrc &gt; /tmp/slapt-get.compile || exit
+ echo "SOURCE=http://www1.linuxpackages.net/packages/SlackBuilds/" &gt;&gt; /tmp/slapt-get.compile
+ slapt-get --config /tmp/slapt-get.compile --update
+ if [ "$1" = "" ];then
+ slapt-get --list
+ echo ""
+ echo "#################################################################################"
+ echo "slapt-get-compile: install/upgrade/compile src-pkgs from Build Script Archive on linuxpackages.net"
+ echo "Use: slapt-get-compile &lt;string&gt;"
+ echo "#################################################################################"
+ echo ""
+ else
+ PROG=`echo $1 | sed 's/-src//'`
+ slapt-get --install $1
+ ( cd /usr/src/slackbuilds/$PROG
+ ./$PROG.[sS]lack[bB]uild )
+ fi
+
+
+</pre>
</font></body>