Location of tomcat6 'debian' directory

Asked by Jordan Hagan

I'm trying to understand how the tomcat6 packaging works for backporting tomcat 6.0.36 to Ubuntu Precise, I've got a working process which involves running apt-get source tomcat6 and pulling out the 'debian' directory from there, however I'd like to monitor the packaging scripts for changes.

I'm trying to find the repository that contains the 'debian' packaging directory, however I can't see it anywhere. Most of the other packages I've looked at in launchpad seem to have it as part of the imported source tree, however that's not the case for tomcat6.

Any assistance would be greatly appreciated, I've spent an hour or so looking and can't find anything.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu tomcat6 Edit question
Assignee:
No assignee Edit question
Solved by:
Jordan Hagan
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Maybe I am misunderstanding you question, but as far as I know there are always three packages in the source:
1. The original source package
2. the debian package with all modifications by debian and/or Ubuntu
3. the description package with names of the binary packages and checksums

e.g. for tomcat6 6.0.35-1ubuntu3.2 in precise:
tomcat6_6.0.35.orig.tar.gz (3.1 MiB)
tomcat6_6.0.35-1ubuntu3.2.debian.tar.gz (49.4 KiB)
tomcat6_6.0.35-1ubuntu3.2.dsc (2.7 KiB)
as shown e.g. on https://launchpad.net/ubuntu/precise/+source/tomcat6

apt-get source tomcat6 should download the first two zipfiles and unpack them automatically into one common directory tree.
parts of debian.tar.gz into a debian directory.

Some information from the debian directory of the source package go into the control.tar.gz part of the binary packages.

Maybe http://developer.ubuntu.com/packaging/html/index.html helps answering some of your questions.

Revision history for this message
Jordan Hagan (ephess) said :
#2

Thanks for your response Manfred.

I was specifically looking for some sort of source control system that maintains the 'debian' directory outside of apt such as bzr/svn/git however I was unable to find anything.

I'm sure I looked and was unable to find it before, however looking again I can see it straight away, so I must have been doing something wrong.

I was looking for:

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/tomcat6/precise/files/head:/debian/

Thanks for your help :)