Documentation: http://debathena.mit.edu/packaging/ has some basic documentation that you may find useful, and links to many useful resources. For these exercises, the sources you should start from are available in /mit/sipb-iap/www/debpackaging/. The examples are also available there. If you don't have a Debian machine to work with, all the build dependencies for building these packages are available on linerva.mit.edu. You can also try setting up a VM by visiting xvm.mit.edu and trying the autoinstaller. Exercises: In each of the following exercises, your job is to write the debian/rules file for the package. For the first three, the debian/rules file has been deleted. For the fourth, your job is to convert the package from using debhelper to CDBS. For each package, I have provided a correct .deb file built on etch that you can use to compare with the package you build using 'debdiff --controlfiles=all a.deb b.deb'. This will check the _lists_ of files are the same, not the binary contents; you'll have to extract to compare contents. Also, make sure that you have no lintian errors that you don't understand. Another thing to check is whether the .diff.gz file generated by building the source package contains any files outside the debian/ directory (using e.g. diffstat *.diff.gz); These probably correspond to bugs in 'debuild clean' code. - Package debathena-athinfo. - Package debathena-delete. Be sure to compile for AFS. - Package palp. Note that the original source has been sabotaged tarball so that it doesn't build by deleting a #include line. You should use quilt to fix it! - Convert sloccount to CDBS (first download the source package) - Create a new Debian package for the hes program (/mit/consult/src/hes). Feel free to get any of the Debathena developers to check your solutions for correctness, or ask them any other question that you might have.