Re: HOW DO I Apply debian patch to original source?
Ok, I got the debhelper package so that when I do
$ apt-get source wu-ftpd
$ cd wu-ftpd-2.60
$ debian/rules binary
It will build. Now here is the thing. When I look at the rules file
It appears that it has a logrotate configuration on the install. So,
I am thinking that I can comment out that logrotate, and use the way
that slink rotates the logs to have them rotated. Would this be logical?
I commented out the following line
binary-arch: install-stamp
dh_testdir
dh_testroot
dh_installdocs ERRATA README doc/HOWTO/VIRTUAL.FTP.SUPPORT doc/TODO \
doc/HOWTO/upload.configuration.HOWTO debian/FAQ
install -m 644 debian/README.config $(tmp)/etc/wu-ftpd/README
ln -s /etc/wu-ftpd/README $(tmp)/usr/share/doc/wu-ftpd/README.config
install -m 644 debian/*.8 $(tmp)/usr/share/man/man8/
cd $(tmp)/usr/share/man/man8 && ln -s addftpuser.8.gz rmftpuser.8.gz && \
ln -s xferstats.8.gz xferstats.wu-ftpd.8.gz
dh_installexamples `find doc/examples -type f` debian/*.es
dh_installchangelogs CHANGES
# install -m 644 debian/logrotate $(tmp)/etc/logrotate.d/wu-ftpd
dh_installinit -r -u"defaults 50"
dh_installpam
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
brian
On Tue, Mar 07, 2000 at 02:22:20PM -0700, Bob Nielsen wrote:
> On Tue, Mar 07, 2000 at 11:07:04AM -0800, Brian Lavender wrote:
> > I am having problems installing the wu-ftpd package from source.
> >
> > The whole reason I am grabbing the source is that I want to use a more
> > recent version of wu-ftpd than what is available with the slink binary
> > packages. If I can build the package from the source files to give me
> > a slink compatible package, it is all the better.
> >
> > I update my /etc/apt/sources.list with
> > http://http.us.debian.org/debian unstable main contrib non-free
> >
> > and then I did a
> > # apt-get update
> > $ apt-get source wu-ftpd
> >
> > and it retrieved the 2.6.0 wu-ftpd. It looks as if it applied the patch for
> > me. I got an erro with the "debian/rules" binary though
> >
> > $ cd wu-ftpd-2.6.0
> > $ debian/rules binary
> > dh_testdir
> > make: dh_testdir: Command not found
> > make: *** [build-stamp] Error 127
> >
> > Do you know what this error indicates?
>
> It means that the command "dh_testdir" is not available.
>
> $ dpkg -S dh_testdir
> debhelper: /usr/share/man/man1/dh_testdir.1.gz
> debhelper: /usr/bin/dh_testdir
>
> You need to install the debhelper package.
>
> --
> Bob Nielsen, N7XY (RN2) nielsen@primenet.com
> Tucson, AZ DM42nh QRP-L #1985 SOC #77 http://www.primenet.com/~nielsen
>
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
Brian Lavender
http://www.brie.com/brian/
Reply to: