Hi Eric, Got it and solved the problem, thanks for prompt reply. But I found another problem that vqadmin cannot set quota over 2GB (2048MB),
Eric Broch <ebr...@whitehorsetc.com> 於 2018年03月16日 (週五) 11:39 PM 寫道﹕ ftp://ftp.qmailtoaster.org/pub/repo/qmt/CentOS/7/current/SRPMS/vqadmin-2.3.7-1.qt.src.rpm On 3/16/2018 8:23 AM, Eric Broch wrote: I can say, looking at your output, that Patch3 should be have the -p2 flag and not -p0 flag set: here's mine from the build.txt Patch #3 (vqadmin.html.patch): + /usr/bin/cat /root/rpmbuild/SOURCES/vqadmin.html.patch + /usr/bin/patch -p2 --fuzz=0 Where did you get the source rpm? Eric On 3/16/2018 8:05 AM, Eric Broch wrote: Sorry, Henry I seemed to have misplaced the source rpm for vqadmin-2.3.7-1...not sure where I'd have put it as most of the process is automatic...will let you know. Eric On 3/16/2018 7:02 AM, Eric Broch wrote: ftp://ftp.qmailtoaster.com/pub/repo/qmt/CentOS/7/current/x86_64/vqadmin-2.3.7-1.qt.el7.x86_64.rpm On 3/16/2018 1:05 AM, Henry wrote: Hi Eric, Where can I download the new SRPMS of vqadmin-2.3.7-1.qt.src.rpm ? Henry <hl1...@yahoo.com.hk> 於 2018年03月11日 (週日) 3:58 PM 寫道﹕ CentOS Linux release 7.4.1708 (Core) rpmbuild --rebuild --define "dist .qt.el7" vqadmin-2.3.7-0.qt.src.rpm Installing vqadmin-2.3.7-0.qt.src.rpm warning: vqadmin-2.3.7-0.qt.src.rpm: Header V3 DSA/SHA1 Signature, key ID 1bde5fd0: NOKEY warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: user shubes does not exist - using root warning: group shubes does not exist - using root warning: bogus date in %changelog: Fri Sep 22 2005 Nick Hemmesch <n...@ndhsoft.com> 2.3.4-1.2.5a warning: bogus date in %changelog: Sun Feb 15 2003 Nick Hemmesch <n...@ndhsoft.com> 2.3.4-1.0.4 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gt5p7l + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf vqadmin-2.3.7 + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/vqadmin-2.3.7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd vqadmin-2.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vqadmin.template.patch):' Patch #0 (vqadmin.template.patch): + /usr/bin/cat /root/rpmbuild/SOURCES/vqadmin.template.patch + /usr/bin/patch -p0 --fuzz=0 patching file ./domain.c patching file ./user.c + echo 'Patch #1 (vqadmin.valias.patch):' Patch #1 (vqadmin.valias.patch): + /usr/bin/cat /root/rpmbuild/SOURCES/vqadmin.valias.patch + /usr/bin/patch -p0 --fuzz=0 patching file user.c + echo 'Patch #2 (vqadmin.chrome.patch):' Patch #2 (vqadmin.chrome.patch): + /usr/bin/cat /root/rpmbuild/SOURCES/vqadmin.chrome.patch + /usr/bin/patch -p0 --fuzz=0 patching file lang.c + echo 'Patch #3 (vqadmin.html.patch):' Patch #3 (vqadmin.html.patch): + /usr/bin/cat /root/rpmbuild/SOURCES/vqadmin.html.patch + /usr/bin/patch -p0 --fuzz=0 Ignoring potentially dangerous file name ../vqadmin-2.3.7/html/add_alias_domain.html can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |---../vqadmin-2.3.7/html/add_alias_domain.html 2003-02-14 11:49:00.000000000 -0700 |+++ add_alias_domain.html 2005-09-11 20:56:29.000000000 -0700 -------------------------- File to patch: -- Eric Broch White Horse Technical Consulting (WHTC) -- Eric Broch White Horse Technical Consulting (WHTC) -- Eric Broch White Horse Technical Consulting (WHTC) -- Eric Broch White Horse Technical Consulting (WHTC)