Current time: 11-22-2024, 09:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrong Makefile in configs for Ubuntu
Author Message
yaispcpu Offline
Junior Member
*

Posts: 38
Joined: Jun 2009
Reputation: 0
Post: #1
Wrong Makefile in configs for Ubuntu
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.
09-10-2009 11:44 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Wrong Makefile in configs for Ubuntu
Can you write a patch for it please? (You can even get rid of the debian-specific stuff here)
09-11-2009 12:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #3
RE: Wrong Makefile in configs for Ubuntu
No need to patch. It is corrected in trunk: http://www.isp-control.net/ispcp/browser.../Makefile. More this bug affect only v1.0.2, not trunk before or after.
09-11-2009 01:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

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

Really ? I'll check it tonight (promess) Big Grin
09-11-2009 02:43 AM
Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #5
RE: Wrong Makefile in configs for Ubuntu
Big Grin and then you will "lost in sleep" Smile
09-11-2009 03:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)