Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
vqadmin
> vqadmin-2.3.6-makefile.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File vqadmin-2.3.6-makefile.patch of Package vqadmin
--- Makefile.in.orig 2010-02-28 12:12:44.000000000 +0100 +++ Makefile.in 2010-02-28 12:17:21.000000000 +0100 @@ -508,50 +508,50 @@ @SET_MAKE@ install-exec-local: - $(mkinstalldirs) @cgibindir@ - $(mkinstalldirs) @cgibindir@/vqadmin - $(mkinstalldirs) @cgibindir@/vqadmin/html - $(mkinstalldirs) @wwwroot@/images/vqadmin + $(mkinstalldirs) $(DESTDIR)@cgibindir@ + $(mkinstalldirs) $(DESTDIR)@cgibindir@/vqadmin + $(mkinstalldirs) $(DESTDIR)@cgibindir@/vqadmin/html + $(mkinstalldirs) $(DESTDIR)@wwwroot@/images/vqadmin install-data-local: - cp vqadmin @cgibindir@/vqadmin/vqadmin.cgi - strip @cgibindir@/vqadmin/vqadmin.cgi - cp -R html/* @cgibindir@/vqadmin/html - cp -R html/en @cgibindir@/vqadmin/html/en-us - cp html/vqadmin.css @wwwroot@/images/vqadmin - rm @cgibindir@/vqadmin/html/vqadmin.css + cp vqadmin $(DESTDIR)@cgibindir@/vqadmin/vqadmin.cgi + strip $(DESTDIR)@cgibindir@/vqadmin/vqadmin.cgi + cp -R html/* $(DESTDIR)@cgibindir@/vqadmin/html + cp -R html/en $(DESTDIR)@cgibindir@/vqadmin/html/en-us + cp html/vqadmin.css $(DESTDIR)@wwwroot@/images/vqadmin + rm $(DESTDIR)@cgibindir@/vqadmin/html/vqadmin.css - if test -f @cgibindir@/vqadmin/vqadmin.acl ; then \ + if test -f $(DESTDIR)@cgibindir@/vqadmin/vqadmin.acl ; then \ echo "vqadmin.acl file already in place" ; \ else \ - cp vqadmin.acl @cgibindir@/vqadmin ; \ + cp vqadmin.acl $(DESTDIR)@cgibindir@/vqadmin ; \ fi - chown @vpopuser@ @cgibindir@/vqadmin - chgrp @vpopgroup@ @cgibindir@/vqadmin - chown -R @vpopuser@ @cgibindir@/vqadmin/* - chgrp -R @vpopgroup@ @cgibindir@/vqadmin/* - chown root @cgibindir@/vqadmin/vqadmin.cgi - chgrp `id -g root` @cgibindir@/vqadmin/vqadmin.cgi - chmod u+s,g+s @cgibindir@/vqadmin/vqadmin.cgi - chmod 755 @cgibindir@/vqadmin - chmod 755 @cgibindir@/vqadmin/html - - chown @vpopuser@ @wwwroot@/images/vqadmin - chgrp @vpopgroup@ @wwwroot@/images/vqadmin - chown -R @vpopuser@ @wwwroot@/images/vqadmin/* - chgrp -R @vpopgroup@ @wwwroot@/images/vqadmin/* - chmod 755 @wwwroot@/images/vqadmin + #chown @vpopuser@ $(DESTDIR)@cgibindir@/vqadmin + #chgrp @vpopgroup@ $(DESTDIR)@cgibindir@/vqadmin + #chown -R @vpopuser@ $(DESTDIR)@cgibindir@/vqadmin/* + #chgrp -R @vpopgroup@ $(DESTDIR)@cgibindir@/vqadmin/* + #chown root $(DESTDIR)@cgibindir@/vqadmin/vqadmin.cgi + #chgrp `id -g root` $(DESTDIR)@cgibindir@/vqadmin/vqadmin.cgi + #chmod u+s,g+s $(DESTDIR)@cgibindir@/vqadmin/vqadmin.cgi + #chmod 755 $(DESTDIR)@cgibindir@/vqadmin + #chmod 755 $(DESTDIR)@cgibindir@/vqadmin/html + + #chown @vpopuser@ $(DESTDIR)@wwwroot@/images/vqadmin + #chgrp @vpopgroup@ $(DESTDIR)@wwwroot@/images/vqadmin + #chown -R @vpopuser@ $(DESTDIR)@wwwroot@/images/vqadmin/* + #chgrp -R @vpopgroup@ $(DESTDIR)@wwwroot@/images/vqadmin/* + #chmod 755 $(DESTDIR)@wwwroot@/images/vqadmin - if test -f @cgibindir@/vqadmin/.htaccess ; then \ + if test -f $(DESTDIR)@cgibindir@/vqadmin/.htaccess ; then \ echo ".htaccess file already in place" ; \ else \ - cp htaccess @cgibindir@/vqadmin/.htaccess ; \ + cp htaccess $(DESTDIR)@cgibindir@/vqadmin/.htaccess ; \ fi - chown nobody @cgibindir@/vqadmin/.htaccess - chmod u+rw @cgibindir@/vqadmin/.htaccess - chmod go+r @cgibindir@/vqadmin/.htaccess + #chown nobody $(DESTDIR)@cgibindir@/vqadmin/.htaccess + #chmod u+rw $(DESTDIR)@cgibindir@/vqadmin/.htaccess + #chmod go+r $(DESTDIR)@cgibindir@/vqadmin/.htaccess acl.o: config.h cedit.o: config.h