ispCP - Board - Support
Wrong Makefile in configs for Ubuntu - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: Wrong Makefile in configs for Ubuntu (/thread-7824.html)



Wrong Makefile in configs for Ubuntu - yaispcpu - 09-10-2009 11:44 PM

The file "Makefile" in the path /var/www/ispcp-omega-1.0.2/configs/ubuntu/proftpd contains not the neccessary instructions to copy the proftpd.conf in the correct direcotory - there ar only instructions for the different releases of Debian:
Code:
install:

        $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/proftpd
        cp -R ./backup $(SYSTEM_CONF)/proftpd
        cp -R ./parts $(SYSTEM_CONF)/proftpd
        cp -R ./working $(SYSTEM_CONF)/proftpd

        if [ ! -d $(ROOT_CONF)/proftpd ]; then \
                $(SYSTEM_MAKE_DIRS) $(ROOT_CONF)/proftpd ; \
        fi
        $(SYSTEM_MAKE_DIRS) $(ROOT_CONF)/proftpd/ispcp;
        cp ./root_domain.conf $(ROOT_CONF)/proftpd/ispcp;

        # Debian 4.0 "Etch"?
        if [ $(RELEASE) = 'sarge' ]; then \
                cp ./proftpd.conf $(ROOT_CONF) ; \
                cp ./proftpd.conf $(SYSTEM_CONF)/proftpd ; \
        elif [ $(RELEASE) = 'etch' ]; then \
                if [ -e /etc/proftpd.conf ] ; then \
                        mv /etc/proftpd.conf /etc/proftpd.conf.bak ; \
                fi ; \
                cp ./proftpd1.3.conf $(SYSTEM_CONF)/proftpd/proftpd.conf ; \
                cp ./proftpd1.3.conf $(ROOT_CONF)/proftpd/proftpd.conf ; \
        elif [ $(RELEASE) = 'lenny' ] || [ $(RELEASE) = 'squeeze' ]; then \
                if [ -e /etc/proftpd.conf ] ; then \
                        mv /etc/proftpd.conf /etc/proftpd.conf.bak ; \
                fi ; \
                cp ./proftpd1.3.conf.lenny $(SYSTEM_CONF)/proftpd/proftpd.conf ; \
                cp ./proftpd1.3.conf.lenny $(ROOT_CONF)/proftpd/proftpd.conf ; \
        fi \

So, the installation of the config of proftp fails.


RE: Wrong Makefile in configs for Ubuntu - kilburn - 09-11-2009 12:17 AM

Can you write a patch for it please? (You can even get rid of the debian-specific stuff here)


RE: Wrong Makefile in configs for Ubuntu - sci2tech - 09-11-2009 01:04 AM

No need to patch. It is corrected in trunk: http://www.isp-control.net/ispcp/browser/trunk/configs/ubuntu/proftpd/Makefile. More this bug affect only v1.0.2, not trunk before or after.


RE: Wrong Makefile in configs for Ubuntu - Nuxwin - 09-11-2009 02:43 AM

(09-11-2009 01:04 AM)sci2tech Wrote:  No need to patch. It is corrected in trunk: http://www.isp-control.net/ispcp/browser/trunk/configs/ubuntu/proftpd/Makefile. More this bug affect only v1.0.2, not trunk before or after.

Really ? I'll check it tonight (promess) Big Grin


RE: Wrong Makefile in configs for Ubuntu - gOOvER - 09-11-2009 03:06 AM

Big Grin and then you will "lost in sleep" Smile