Currently I am trying to do the packaging, but I do have some debian
build newbie problems. I am following the guides at
https://wiki.ubuntu.com/PackagingGuide/Complete.

The build is doing fine so far (although I will have to do some patches
later on). My problem is a part from the debian/rules file:

install: build
        dh_testdir
        dh_testroot
        dh_prep  
        dh_installdirs
        mkdir -p $(CURDIR)/debian/tmp/etc/openvpn/plugin
        cp radiusplugin.so $(CURDIR)/debian/tmp/etc/openvpn/plugin/
        cp radiusplugin.cnf $(CURDIR)/debian/tmp/etc/openvpn/plugin/

The original Makefile does not have an install statement. If I use the
given block above, the resulting deb-file does not contain
radiusplugin.so or radiusplugin.cnf. I have done the build with pdebuild
--use pdebuild-internal as root user.

dpkg -L radiusplugin 
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/radiusplugin
/usr/share/doc/radiusplugin/copyright
/usr/share/doc/radiusplugin/ToDo
/usr/share/doc/radiusplugin/changelog.Debian.gz
/usr/share/doc/radiusplugin/README.Debian
/usr/share/doc/radiusplugin/README.gz
/usr/share/doc/radiusplugin/changelog.gz
/etc
/etc/openvpn
/etc/openvpn/plugins

So could you please give me a hint on how to fix the build part in
rules? Or should I use the forum or any other place for this question?

-- 
[needs-packaging] openvpn radiusplugin
https://bugs.launchpad.net/bugs/151345
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to