@@ -0,0 +1,71 @@
+--- vpopmail-5.4.29/Makefile.am.orig 2009-12-04 21:53:40.000000000 +0100
++++ vpopmail-5.4.29/Makefile.am 2009-12-04 22:00:24.000000000 +0100
+@@ -13,7 +13,7 @@
+
+ CONFIG_CLEAN_FILES=vauth.c cdb/conf-cc cdb/conf-ld cdb/compile cdb/load
+
+-INSTALL_PROGRAM= ${INSTALL} -o @vpopuser@ -m 711 -g @vpopgroup@ $(AM_INSTALL_PROGRAM_FLAGS)
++INSTALL_PROGRAM= ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
+ INSTALL_STRIP_PROGRAM=${INSTALL_PROGRAM} -s
+
+ MYSQLCONF=$(DESTDIR)@vpopmaildir@/etc/vpopmail.mysql
+@@ -134,13 +134,13 @@
+ install-exec-am:
+ for d in bin doc etc include lib ; do \
+ if test ! -d $(DESTDIR)@vpopmaildir@/$$d; then \
+- $(INSTALL) -d -g @vpopgroup@ -m 0755 -o @vpopuser@ \
++ $(INSTALL) -d \
+ $(DESTDIR)@vpopmaildir@/$$d ; \
+ fi ; \
+ done
+
+ install-data-local:
+- $(INSTALL) -d -g @vpopgroup@ -m 0700 -o @vpopuser@ \
++ $(INSTALL) -d \
+ $(DESTDIR)@vpopmaildir@/@domains_dir@
+
+ echo "-I@vpopmaildir@/include" > \
+@@ -149,12 +149,12 @@
+ $(DESTDIR)@vpopmaildir@/etc/lib_deps
+
+ if test ! -r $(VUSAGECCONF); then \
+- $(INSTALL) -o @vpopuser@ -m 0644 -g @vpopgroup@ \
++ $(INSTALL) \
+ vusagec.conf $(VUSAGECCONF); \
+ fi
+
+ if test ! -r $(VLIMITS); then \
+- $(INSTALL) -o @vpopuser@ -m 0644 -g @vpopgroup@ \
++ $(INSTALL) \
+ vlimits.default $(VLIMITS); \
+ fi
+
+@@ -183,23 +183,23 @@
+ chmod 0640 $(MYSQLCONF) ; \
+ fi
+
+- $(INSTALL) -o root -m 0644 \
++ $(INSTALL) \
+ libvpopmail.a $(DESTDIR)@vpopmaildir@/lib/libvpopmail.a
+
+- $(INSTALL) -o root -m 0444 \
++ $(INSTALL) \
+ config.h $(DESTDIR)@vpopmaildir@/include/vpopmail_config.h
+
+ for include in vpopmail.h config.h vauth.h vlimits.h storage.h client.h conf.h ippp.h ; do \
+- $(INSTALL) -o root -m 0444 $$include \
++ $(INSTALL) $$include \
+ $(DESTDIR)@vpopmaildir@/include/ ; \
+ done
+
+ $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/man_html
+ $(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/doc_html
+- $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
++ $(INSTALL) \
+ doc/man_html/*.* $(DESTDIR)@vpopmaildir@/doc/man_html/
+
+- $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
++ $(INSTALL) \
+ doc/doc_html/*.* $(DESTDIR)@vpopmaildir@/doc/doc_html/
+
+ fix-priv:
|