Hi Guys
> I'll try to use a program called checkinstall, which I've used in the
> past to handle this type of packaging issue.
>
> Thanks Herbert
>
> Mike
So I tried checkinstall and after about 4 hours of playing and one patch
to checkinstall the following does work.
Install CheckInstall, download and uncompress util-vserver source
Fix checkinstall
# Tag files in /etc to be conffiles
-find $BUILD_DIR/etc 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
+find $BUILD_DIR/etc -type f 2> /dev/null | sed -e "s,$BUILD_DIR,," | \
grep -v '^/etc$' > $BUILD_DIR/DEBIAN/conffiles
In util-server source run
./configure --with-initrddir=/etc/init.d --enable-release
--enable-apis=NOLEGACY --with-initscripts=sysv --prefix=/usr
--sysconfdir=/etc --localstatedir=/var
Build the source via running make
Fix the version information below and run
checkinstall --pkgname util-vserver --pkgversion 0.30.216 --pkgrelease
pre2913-1
--exclude="/etc/init.d/v_httpd,/etc/init.d/v_smb,/etc/init.d/v_named,/etc/init.d/v_sshd,/etc/init.d/v_gated,/etc/init.d/v_xinetd,/etc/init.d/v_portmap,/etc/init.d/v_sendmail"
make install install-distribution
Check the build package for issues
dpkg -c util-vserver-0.30.216_pre2913-1_i386.deb | less
Hope this can help some one else.
Mike
Received on Mon Sep 6 05:05:24 2010