aboutsummaryrefslogtreecommitdiffstats
path: root/FAQ
diff options
context:
space:
mode:
authorJason Woodward2003-12-14 23:19:26 +0000
committerJason Woodward2003-12-14 23:19:26 +0000
commit39ae2d644063aa13a1df1406abeb0a32f280d717 (patch)
tree3bcc9956dfb5abe21b755a106cf208e90ca578fe /FAQ
parentc80521fa641bc707d15a282be72300766e559feb (diff)
downloadslapt-get-39ae2d644063aa13a1df1406abeb0a32f280d717.tar.gz
initial slack-conflicts support
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ25
1 files changed, 25 insertions, 0 deletions
diff --git a/FAQ b/FAQ
index f8737cb..891e4dd 100644
--- a/FAQ
+++ b/FAQ
@@ -31,6 +31,7 @@ Frequenty Asked Questions:
30. I am tracking current, how do I keep the base disk set up to date?
31. How would I script an ldd dependency hack with slapt-get?
32. Does EXCLUDE work for install as well as upgrade and dist-upgrade?
+33. What about package conflicts? How can I specify a conflict for my package?
@@ -337,12 +338,14 @@ Frequenty Asked Questions:
SIZE=$( expr `gunzip -l $1 |tail -1|awk '{print $1}'` / 1024 )
USIZE=$( expr `gunzip -l $1 |tail -1|awk '{print $2}'` / 1024 )
REQUIRED=$(tar xzf $1 install/slack-required -O 2>/dev/null|xargs -r -iZ echo -n "Z,"|sed -e "s/,$//")
+ CONFLICTS=$(tar xzf $1 install/slack-conflicts -O 2>/dev/null|xargs -r -iZ echo -n "Z,"|sed -e "s/,$//")
METAFILE=$(echo $NAME|sed -re "s/\.tgz$/\.meta/")
echo "PACKAGE NAME: $NAME" > $LOCATION/$METAFILE
echo "PACKAGE LOCATION: $LOCATION" >> $LOCATION/$METAFILE
echo "PACKAGE SIZE (compressed): $SIZE K" >> $LOCATION/$METAFILE
echo "PACKAGE SIZE (uncompressed): $USIZE K" >> $LOCATION/$METAFILE
echo "PACKAGE REQUIRED: $REQUIRED" >> $LOCATION/$METAFILE
+ echo "PACKAGE CONFLICTS: $CONFLICTS" >> $LOCATION/$METAFILE
echo "PACKAGE DESCRIPTION:" >> $LOCATION/$METAFILE
tar xzf $1 install/slack-desc -O|grep -E '\w+\:'|grep -v '^#' >> $LOCATION/$METAFILE
echo "" >> $LOCATION/$METAFILE
@@ -681,3 +684,25 @@ Frequenty Asked Questions:
ignore the EXCLUDE list.
+33. What about package conflicts? How can I specify a conflict for my package?
+
+ Package conflicts are not as common as dependencies, but just as crucial.
+ Packages such as lprng and cups sometimes duplicate the same functionality.
+
+ To address this, include within your package ./install/slack-conflicts. This
+ file has the same syntax as the slack-required file.
+
+ The following is a fictitious example of a lprng slack-conflicts file:
+
+ # cat ./install/slack-conflicts
+ gnome-cups-manager <= 0.16
+ libgnomecups <= 0.1.5
+ cups
+ #
+
+ In this example, we want to specify that the gnome-cups-manager and
+ libgnomecups packages are in conflict if they are below a certain version,
+ (supposing that the older versions do not support lprng). The third entry,
+ cups, is a direct conflict, without any compatible version.
+
+