Bump version to 1.0rc13
[spkg.git] / TODO
blob3d8857c5a33dd8b0dadb24ec892e715ae10fa62d
1 ---------------------------------------------------------------------
2 before 1.0 |
3 -----------/
5 - segfault on SIG in static binary
7 1. When upgrading, spkg may accidently delete files from the new package  
8 install because of the symlinked directory issue - say docs were installed  
9 to /usr/share/doc/$name, but the new packages installs them to  
10 /usr/doc/$name. One way to fix it is by reiterating the list of installed  
11 files before doinst.sh is run, and reinstall files if they do not exist.  
12 (What pkgtools does is install the package again as a third step unless  
13 "-no-paranoia" is set).
15 This will require path normalization for package database and some hacks
16 to make it work even with broken package databases. (or just that hack)
18 2. Another issue with upgrading is that when the new package is corrupt or  
19 unacceptable for some reason (say, tar is containing symlinks), the script  
20 at var/log/scripts of the old package is still renamed to the new package  
21 name. (this may be false report)
23 [test] Automatic testuite
25 [doc] Update documentation
26 [doc] Write article
28 Spkg 1.0 should have somewhere a list of important differences in  
29 behaviour from official pkgtools. Here's a short list:
31 1. spkg does not support the -preserve or -copy options of removepkg.
32 2. When spkg cannot overwrite a file during install/upgrade it keeps a  
33    copy as $(name)-##$(operation)##
34 3. spkg will not allow installing several different version of a package  
35    at the same system.
36 4. The errorlevels given by installpkg and spkg -i are incompatible.
37 5. installpkg allows non-root user to install as long as they have  
38    write access to the database.
39 6. Because pkgtools use gzip, a .tgz file doesn't have to be a .tar.gz  
40    file to work. .tar.Z or .tar.zip, if renamed to .tgz will work just as  
41    well.
43 ---------------------------------------------------------------------
44 post 1.0 |
45 ---------/
47 list files that can't be removed in removed_packages/package.leftovers ???
48   -- why not just do grep on output from spkg?
49 spkg -d --copy=dir package ???
50 - --verify command for checking fs against package database (what files
51   changed after installation, missing files, etc.)
52 - --check command for checking validity of slack packages
53   (check for suid binaries and other rights based checks for files,
54   enforcing slackware packages policy)
56 [untgz] using blockbuf as writebuf can speedup things slightly on the 
57     user side (approx. by some 5%)
59 extend install/doinst.sh:
61 exit 0
62 #!REMOVE!
63 code
64 code
65 code (until next block or end)
66 #!UPGRADE!
67 code
68 code
69 code