[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

converting dynfw to deb encountering dh_move error



I recently started my first attempts to create some deb files.
Converting the dynfw gentoo package to deb format.

(If you think I should post this question in another list, tell me.)

I created the makefile successfully, and it gives the following set of
errors.
control file error.
dh_move error.

See 1.) makefile,
2.) control file. (description deleted.)
and
3.)error output.
"dpkg-source: warning: unknown information field Depends in input data in
general section of control info file"
and
"dh_movefiles: debian/tmp does not exist."

1.)
export PREFIX="/usr"


install:        dynfw
                install -m755 ipblock ${PREFIX}
                install -m755 ipdrop ${PREFIX}
                install -m755 tcplimit ${PREFIX}
                install -m755 host-tcplimit ${PREFIX}
                install -m755 user-outblock ${PREFIX}
                install -m755 dynfw.sh "/usr/share"

2.)
Source: dynfw
Section: unknown
Priority: optional
Maintainer: Lucas Albers <luke@coe.montana.edu>
Depends: iptables (>= 1.2.8)
Build-Depends: debhelper (>> 3.0.0)
Standards-Version: 3.5.2

Package: dynfw
Architecture: any
Depends: ${shlibs:Depends}
Description: make rapid, complex changes to iptables configuration

Package: dynfw-doc
Architecture: all
Description: Documentation for dynfw
 dynfw.sh the dynfw global support script -- used by all dynfw tools

3.)
smoothwall:/usr/src/dynfw-1.0.1# dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is dynfw
dpkg-buildpackage: source version is 1.0.1-1
dpkg-buildpackage: source maintainer is root <luke@coe.montana.edu>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/usr/src/dynfw-1.0.1'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/usr/src/dynfw-1.0.1'
make: [clean] Error 2 (ignored)
dh_clean
 dpkg-source -b dynfw-1.0.1
dpkg-source: warning: unknown information field Depends in input data in
general section of control info file
dpkg-source: building dynfw using existing dynfw_1.0.1.orig.tar.gz
dpkg-source: building dynfw in dynfw_1.0.1-1.diff.gz
dpkg-source: building dynfw in dynfw_1.0.1-1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/dynfw.
/usr/bin/make install DESTDIR=/usr/src/dynfw-1.0.1/debian/dynfw
make[1]: Entering directory `/usr/src/dynfw-1.0.1'
install -m755 ipblock "/usr"
install -m755 ipdrop "/usr"
install -m755 tcplimit "/usr"
install -m755 host-tcplimit "/usr"
install -m755 user-outblock "/usr"
install -m755 dynfw.sh "/usr/share"
make[1]: Leaving directory `/usr/src/dynfw-1.0.1'
dh_movefiles
dh_movefiles: debian/tmp does not exist.
make: *** [install] Error 1

-- 
--Luke CS Sysadmin, Montana State University-Bozeman



Reply to: