It still not apply correctly to me. From command:

/opkg/bin/openpkg rpm --define 'with_fdsetsize yes' --define 'with_ldap yes'
--define 'with_mysql yes' --define 'with_sasl yes' --define 'with_ssl yes'
--define 'with_whoson yes' --rebuild
ftp://ftp.openpkg.org/release/2.1/UPD/postfix-2.1.4-2.1.1.src.rpm

I got:


patching file src/util/sdbm.h
+ echo 'Patch #0 (postfix.patch):'
Patch #0 (postfix.patch):
+ /opkg/lib/openpkg/patch -p0 -s -b
+ cd pflogsumm-1.1.0
+ /opkg/lib/openpkg/patch -p0
patching file pflogsumm.pl
+ echo 'Patch #2 (postfix-2.1.4-whoson.patch):'
Patch #2 (postfix-2.1.4-whoson.patch):
+ /opkg/lib/openpkg/patch -p0 -s -b
3 out of 3 hunks FAILED -- saving rejects to file src/util/Makefile.in.rej
error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.30000 (%prep)


RPM build errors:
    Bad exit status from /opkg/RPM/TMP/rpm-tmp.30000 (%prep)



And src/util/Makefile.in.rej contains:
***************
*** 28,34 ****
        vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \
        write_buf.c write_wait.c auto_clnt.c attr_clnt.c attr_scan_plain.c \
        attr_print_plain.c sane_connect.c neuter.c name_code.c \
-       uppercase.c
  OBJS  = alldig.o argv.o argv_split.o attr_print0.o attr_print64.o \
        attr_scan0.o attr_scan64.o base64_code.o basename.o binhash.o \
        chroot_uid.o clean_env.o close_on_exec.o concatenate.o ctable.o \
--- 28,34 ----
        vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \
        write_buf.c write_wait.c auto_clnt.c attr_clnt.c attr_scan_plain.c \
        attr_print_plain.c sane_connect.c neuter.c name_code.c \
+       uppercase.c dict_whoson.c
  OBJS  = alldig.o argv.o argv_split.o attr_print0.o attr_print64.o \
        attr_scan0.o attr_scan64.o base64_code.o basename.o binhash.o \
        chroot_uid.o clean_env.o close_on_exec.o concatenate.o ctable.o \
***************
*** 58,64 ****
        vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \
        write_buf.o write_wait.o auto_clnt.o attr_clnt.o attr_scan_plain.o \
        attr_print_plain.o sane_connect.o $(STRCASE) neuter.o name_code.o \
-       uppercase.o
  HDRS  = argv.h attr.h base64_code.h binhash.h chroot_uid.h clean_env.h \
        connect.h ctable.h dict.h dict_db.h dict_dbm.h dict_env.h \
        dict_cidr.h dict_ht.h dict_ni.h dict_nis.h \
--- 58,64 ----
        vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \
        write_buf.o write_wait.o auto_clnt.o attr_clnt.o attr_scan_plain.o \
        attr_print_plain.o sane_connect.o $(STRCASE) neuter.o name_code.o \
+       uppercase.o dict_whoson.o
  HDRS  = argv.h attr.h base64_code.h binhash.h chroot_uid.h clean_env.h \
        connect.h ctable.h dict.h dict_db.h dict_dbm.h dict_env.h \
        dict_cidr.h dict_ht.h dict_ni.h dict_nis.h \
***************
*** 77,83 ****
        split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h \
        timed_wait.h trigger.h username.h valid_hostname.h vbuf.h \
        vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h \
-       auto_clnt.h attr_clnt.h sane_connect.h name_code.h
  TESTSRC       = fifo_open.c fifo_rdwr_bug.c fifo_rdonly_bug.c select_bug.c \
        stream_test.c dup2_pass_on_exec.c
  DEFS  = -I. -D$(SYSTYPE)
--- 77,83 ----
        split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h \
        timed_wait.h trigger.h username.h valid_hostname.h vbuf.h \
        vbuf_print.h vstream.h vstring.h vstring_vstream.h watchdog.h \
+       auto_clnt.h attr_clnt.h sane_connect.h name_code.h dict_whoson.h
  TESTSRC       = fifo_open.c fifo_rdwr_bug.c fifo_rdonly_bug.c select_bug.c \
        stream_test.c dup2_pass_on_exec.c
  DEFS  = -I. -D$(SYSTYPE)



Citando Thomas Lotterer <[EMAIL PROTECTED]>:

> On Sun, Jul 25, 2004, Bill Campbell wrote:
> > On Sun, Jul 25, 2004, Alexander Belck wrote:
> > >
> > >When compiling postfix with[_whoson yes ... patch does not apply]
> > >
> > I posted a replacement patch for this yesterday or the day before. I
> > think there's a new version of postfix in the CURRENT tree that fixes
> > this.
> >
> Yes, Ralf took Bill's patch and not only created a CURRENT package but
> did a MFC [1], too, resulting in a UPD package [2].
>
> [1] http://cvs.openpkg.org/chngview?cn=18269
> [2] ftp://ftp.openpkg.org/release/2.1/UPD/postfix-2.1.4-2.1.1.src.rpm
>
> --
> [EMAIL PROTECTED], Cable & Wireless
> ______________________________________________________________________
> The OpenPKG Project                                    www.openpkg.org
> User Communication List                      [EMAIL PROTECTED]
>


--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to