RE: build-source make question
debian.org is unreachable for some reason so let me explain what I'm
doing and perhaps you could tell me were I'm failing.
Goal= use debian qmail package to work with a source install of vpopmail
5 which is not a debian package therefore I must first patch debian
qmail package.
Method= As normal user: apt-get source qmail, sudo apt-get build-dep
qmail, then apply patches like so cd qmail-1.03, fakeroot lnux --source
http://site.org/patch | patch AND/OR fakeroot patch -d qmail-1.03 <
apatch.patch, then fakeroot apt-get -b source qmail.
Problem= The trouble is still with the patches -- I need to work that
out. I know for a fact I need the maildirquota++ patch since it's
specifically for the vpopmail 5.x which is not a deb package. for
reference the patches are below.
For this instance, where am I failing to use the debian packaging tools
correctly?
FYI: the diff is over my head. my c class starts the 27th. Perhaps
after the course I could tell you more about the diff.
Regards, Justin
SMTP-AUTH patch:
http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-
auth-0.31.tar.gz
Maildirquota++ patch:
http://shupp.org/patches/qmail-maildir++.patch
QMAILQUEUE patch:
http://www.qmail.org/qmailqueue-patch
over-size dns patch: http://www.ckdhr.com/ckd/qmail-103.patch
-----Original Message-----
From: David Z Maze [mailto:dmaze@debian.org]
Sent: Wednesday, August 21, 2002 5:53 PM
To: debian-user@lists.debian.org; justin cunningham
Subject: Re: build-source make question
"justin cunningham" <justincunningham@directvinternet.com> writes:
> I'm applying multiple patches to a apt src install and was getting
> detecting reverse patches error so I ran build a few times trying to
get
> it right and just wanted to confirm I didn't need an apt make clean
> equivalent between rebuilding the same package with apt-get -b source
> package.
Huh? "That's not what APT is there for." If you're going to be
hacking around on the source, 'apt-get source' is a useful tool for
getting the upstream tarball and Debian diff and running 'dpkg-source
-x' for you. But then you want to use the standard tools to actually
build it; 'debian/rules binary' with (fake) root privileges, or
'debuild' out of the devscripts package, for example.
There's a list of documents on http://www.debian.org/devel/ that are
worth reading; of note, the Policy Manual and the Developer's
Reference explain the sorts of things you might see in source trees
and good ways to build things.
(In answer to your actual question: (1) it's possible that the Debian
diff actually contains the patch you're trying to apply; examine the
.diff.gz file to see. (2) You need to run 'debian/rules clean'
(again, with 'root' privileges) under pretty much the same
circumstances you'd need to run 'make clean' normally; it's a good
idea if you want a "pristine" build.)
--
David Maze dmaze@debian.org
http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: