Re: [vchkpw] Test FHS patch

2009-04-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

aledr wrote:
 Here it is! Do not worry about the RPM errors at the end, I need to
 fix It on my spec file.

You will need to also package in the vusage daemon.  It's basically a 
requirement
for the 5.5 tree.  It's just not required when building vpopmail, but that may
change.

As a result of this log I found a few issues that still need to be resolved,
but I'll get em fixed here soon.
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknWHIwACgkQ6QgvSNlBT3AfOQCgpLmrCEiQVIvlrhmrVM2qv/xB
/7EAoIJBONYAqgKmjUrPttrLn+adtmo7
=f9pV
-END PGP SIGNATURE-


Re: [vchkpw] Test FHS patch

2009-04-02 Thread aledr
Thanks Matt, I'll test it in minutes...

On Thu, Apr 2, 2009 at 2:38 PM, Matt Brookings m...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Okay, here's a patch that does the following:

  Only chown if root
  Only mkdir if root or DESTDIR is set

 I haven't committed it to the repository yet because I'm not sure if it
 addresses the issues correctly.  If you're working on packaging vpopmail,
 let me know if this does the trick, or what further changes are still
 needed.

 Thanks!
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAknU+CMACgkQ6QgvSNlBT3CU1ACfdX9NEDBFsL16TS6+WU7X90ii
 o8EAoJYW3Kw8rBCTPRY65tsX/sGzIGeW
 =FYc3
 -END PGP SIGNATURE-

--
[ ]'s
Aledr - Alexandre
OpenSource Solutions for SmallBusiness Problems

!DSPAM:49d4faa332682854311138!



Re: [vchkpw] Test FHS patch

2009-04-02 Thread aledr
Patch reject on latest on r879:

 cat Makefile.in.rej
***
*** 58,62 
rm -rf config.log config.status Makefile autom4te.cache
contrib/rc.vusaged

  install: $(BINS)
-   $(INSTALL) -s -m 0700 vusaged $(DESTDIR)$(VPOPMAIL_DIR_BIN)
if test ! -r $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; then
$(INSTALL) -m 0600 etc/vusaged.conf
$(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; fi
--- 58,62 
rm -rf config.log config.status Makefile autom4te.cache
contrib/rc.vusaged

  install: $(BINS)
+   $(INSTALL) -s -m 0700 vusaged $(DESTDIR)$(VPOPMAIL_DIR_BIN)/vusaged
if test ! -r $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; then
$(INSTALL) -m 0600 etc/vusaged.conf
$(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; fi

On Thu, Apr 2, 2009 at 2:49 PM, aledr matrixworkstat...@gmail.com wrote:
 Thanks Matt, I'll test it in minutes...

 On Thu, Apr 2, 2009 at 2:38 PM, Matt Brookings m...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Okay, here's a patch that does the following:

  Only chown if root
  Only mkdir if root or DESTDIR is set

 I haven't committed it to the repository yet because I'm not sure if it
 addresses the issues correctly.  If you're working on packaging vpopmail,
 let me know if this does the trick, or what further changes are still
 needed.

 Thanks!
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAknU+CMACgkQ6QgvSNlBT3CU1ACfdX9NEDBFsL16TS6+WU7X90ii
 o8EAoJYW3Kw8rBCTPRY65tsX/sGzIGeW
 =FYc3
 -END PGP SIGNATURE-

 --
 [ ]'s
 Aledr - Alexandre
 OpenSource Solutions for SmallBusiness Problems

-- 
[ ]'s
Aledr - Alexandre
OpenSource Solutions for SmallBusiness Problems

!DSPAM:49d508b332682022263736!



Re: [vchkpw] Test FHS patch

2009-04-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

aledr wrote:
 Patch reject on latest on r879:
 
 cat Makefile.in.rej
 ***
 *** 58,62 
 rm -rf config.log config.status Makefile autom4te.cache
 contrib/rc.vusaged
 
   install: $(BINS)
 -   $(INSTALL) -s -m 0700 vusaged $(DESTDIR)$(VPOPMAIL_DIR_BIN)
 if test ! -r $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; then
 $(INSTALL) -m 0600 etc/vusaged.conf
 $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; fi
 --- 58,62 
 rm -rf config.log config.status Makefile autom4te.cache
 contrib/rc.vusaged
 
   install: $(BINS)
 +   $(INSTALL) -s -m 0700 vusaged $(DESTDIR)$(VPOPMAIL_DIR_BIN)/vusaged
 if test ! -r $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; then
 $(INSTALL) -m 0600 etc/vusaged.conf
 $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; fi

Eh, ignore those.  They aren't that important.  How did the 'make install' go?
- --
/*
Matt Brookings m...@inter7.com   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknVCboACgkQ6QgvSNlBT3BKOwCcCflLnBbK6JqfHX0mnLlA2xMY
RisAnRwRlSxC4aVsfzCkAg2ESbM4d6J0
=fiT1
-END PGP SIGNATURE-


Re: [vchkpw] Test FHS patch

2009-04-02 Thread aledr
On Thu, Apr 2, 2009 at 3:53 PM, Matt Brookings m...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 aledr wrote:
 Patch reject on latest on r879:

 cat Makefile.in.rej
 ***
 *** 58,62 
         rm -rf config.log config.status Makefile autom4te.cache
 contrib/rc.vusaged

   install: $(BINS)
 -       $(INSTALL) -s -m 0700 vusaged $(DESTDIR)$(VPOPMAIL_DIR_BIN)
         if test ! -r $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; then
 $(INSTALL) -m 0600 etc/vusaged.conf
 $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; fi
 --- 58,62 
         rm -rf config.log config.status Makefile autom4te.cache
 contrib/rc.vusaged

   install: $(BINS)
 +       $(INSTALL) -s -m 0700 vusaged $(DESTDIR)$(VPOPMAIL_DIR_BIN)/vusaged
         if test ! -r $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; then
 $(INSTALL) -m 0600 etc/vusaged.conf
 $(DESTDIR)$(VPOPMAIL_DIR_ETC)/vusaged.conf; fi

 Eh, ignore those.  They aren't that important.  How did the 'make install' go?
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAknVCboACgkQ6QgvSNlBT3BKOwCcCflLnBbK6JqfHX0mnLlA2xMY
 RisAnRwRlSxC4aVsfzCkAg2ESbM4d6J0
 =fiT1
 -END PGP SIGNATURE-


Stopped on MySQL backend... I'll remove the backends to test.

+ make DESTDIR=/var/tmp/vpopmail-5.5.0-build install -C backends/mysql
make: Entering directory `/usr/src/packages/BUILD/vpopmail-5.5.0/backends/mysql'
/usr/bin/install -c vmysql.so /var/tmp/vpopmail-5.5.0-build/usr/lib64/vmysql.so
rm -f /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.authmodule
ln -s /var/tmp/vpopmail-5.5.0-build/usr/lib64/vmysql.so
/var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.authmodule
if ! test -r /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.mysql; then \
   /usr/bin/install -c -o vpopmail -g vchkpw -m 0640
vpopmail.mysql /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.mysql;
\
fi
/usr/bin/install: cannot change ownership of
`/var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.mysql': Operation
not permitted
make: *** [install] Error 1
make: Leaving directory `/usr/src/packages/BUILD/vpopmail-5.5.0/backends/mysql'
error: Bad exit status from /var/tmp/rpm-tmp.17942 (%install)


--
[ ]'s
Aledr - Alexandre
OpenSource Solutions for SmallBusiness Problems

!DSPAM:49d50e1932685873721188!



Re: [vchkpw] Test FHS patch

2009-04-02 Thread aledr
On Thu, Apr 2, 2009 at 4:14 PM, Matt Brookings m...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 aledr wrote:
 + make DESTDIR=/var/tmp/vpopmail-5.5.0-build install -C backends/mysql
 make: Entering directory 
 `/usr/src/packages/BUILD/vpopmail-5.5.0/backends/mysql'
 /usr/bin/install -c vmysql.so 
 /var/tmp/vpopmail-5.5.0-build/usr/lib64/vmysql.so
 rm -f /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.authmodule
 ln -s /var/tmp/vpopmail-5.5.0-build/usr/lib64/vmysql.so
 /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.authmodule
 if ! test -r /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.mysql; then 
 \
            /usr/bin/install -c -o vpopmail -g vchkpw -m 0640
 vpopmail.mysql /var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.mysql;
 \
     fi
 /usr/bin/install: cannot change ownership of
 `/var/tmp/vpopmail-5.5.0-build/etc/vpopmail/vpopmail.mysql': Operation
 not permitted

 Woops.  Missed the postgres and MySQL backends.  Will fix this.
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAknVDpwACgkQ6QgvSNlBT3CLkACfa4jz5XXlanUV1KCKuZyaELhy
 aXEAoIccdusGXrO7Njzqwn1WOwULleyY
 =6g/v
 -END PGP SIGNATURE-


Without the backends It compiled and installed successfully. I'll
attach my log on a private mail to not mess the list.

Thanks!
--
[ ]'s
Aledr - Alexandre
OpenSource Solutions for SmallBusiness Problems

!DSPAM:49d511df32681252817659!