Opened 14 years ago

Closed 7 years ago

#25428 closed submission (wontfix)

New port for re-alpine

Reported by: todmorrison (Tod Morrison) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: raimue (Rainer Müller), someuser12, atlauren@…, SickTeddyBear, jerryyhom
Port:

Description

Re-alpine is a fork/successor to alpine. This Portfile (and patches) adds this port and resolves the equivalent to Ticket #24954.

Attachments (8)

alpine-osx-10.6.patch (1.1 KB) - added by todmorrison (Tod Morrison) 14 years ago.
re-alpine patch for 10.6
patch-alpine-Makefile.in.diff (842 bytes) - added by todmorrison (Tod Morrison) 14 years ago.
patch to fix "libintl" problems
main.log (68.9 KB) - added by bjd@… 14 years ago.
bjd debug log
Portfile (2.0 KB) - added by todmorrison (Tod Morrison) 14 years ago.
Re-alpine portfile (fixed for 10.6)
patch-alpine-smkeys.c.diff (437 bytes) - added by todmorrison (Tod Morrison) 14 years ago.
Patch to fix smkeys.c openssl problems
Portfile.2 (2.0 KB) - added by someuser12 14 years ago.
Re-alpine portfile (fixed for 10.6 and with removed patch.pre_args)
patch-alpine-smkeys.c.2.diff (407 bytes) - added by someuser12 14 years ago.
Patch to fix smkeys.c openssl problems, to pith/smkeys.c rather than to re-alpine-2.01/pith/smkeys.c
alpine-osx-10.6.2.patch (1.0 KB) - added by someuser12 14 years ago.
re-alpine patch for 10.6, compatible with "patch -p0"

Download all attachments as: .zip

Change History (23)

Changed 14 years ago by todmorrison (Tod Morrison)

Attachment: alpine-osx-10.6.patch added

re-alpine patch for 10.6

Changed 14 years ago by todmorrison (Tod Morrison)

patch to fix "libintl" problems

comment:1 Changed 14 years ago by bjd@…

I can't compile with this Portfile. I tried with no variants and with +without_tcl.

Changed 14 years ago by bjd@…

Attachment: main.log added

bjd debug log

comment:2 Changed 14 years ago by todmorrison (Tod Morrison)

I've attached a new Portfile that should fix the compilation problems.

comment:3 Changed 14 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Maintainer should be 'nomaintainer' without @macports.org suffix.

Why is patch.pre_args -p1 being set conditionally? This setting applies to all patch files.

Instead of a +without_tcl variant, it would be better to have a default set and add this additional feature using +tcl. Why does this +tcl variant not depend on the tcl port?

Changed 14 years ago by todmorrison (Tod Morrison)

Attachment: Portfile added

Re-alpine portfile (fixed for 10.6)

Changed 14 years ago by todmorrison (Tod Morrison)

Attachment: patch-alpine-smkeys.c.diff added

Patch to fix smkeys.c openssl problems

comment:4 Changed 14 years ago by todmorrison (Tod Morrison)

Attached a new version of the Portfile that addresses the above comments/issues, as well as an additional patch to fix problems compiling with the current version of openssl.

comment:5 in reply to:  4 ; Changed 14 years ago by someuser12

Many thanks. However the two patches (to alpine/Makefile.in and to alpine/smkeys.c) were not made at the same depth in the source tree : alpine/smkeys.c was patching "re-alpine-2.01/pith/smkeys.c" with an explicit "re-alpine-2.01" prefix, which prevented it to work if patch.pre_args -p1 was set globally.

Therefore, I suggest, for simplicity, to remove completely the patch.pre_args -px setting (thus providing the -p0 option to patch by default) and to make the patch to alpine/smkeys.c at the same level as the patch to alpine/Makefile.in.

I'm attaching the resulting Portfile and patch. With them, I was able to build re-alpine both with and without the tcl option on Mac OS X 10.5.8, and to use re-alpine and pico on Mac OS X 10.5.8. I did not encounter the compilation problem mentioned in the discussion of #24954 (undefined symbol _BIO_method_type at link time).

Changed 14 years ago by someuser12

Attachment: Portfile.2 added

Re-alpine portfile (fixed for 10.6 and with removed patch.pre_args)

Changed 14 years ago by someuser12

Patch to fix smkeys.c openssl problems, to pith/smkeys.c rather than to re-alpine-2.01/pith/smkeys.c

comment:6 Changed 14 years ago by someuser12

Cc: macosx12345@… added

Cc Me!

comment:7 in reply to:  5 Changed 14 years ago by someuser12

Replying to macosx12345@…:

Therefore, I suggest, for simplicity, to remove completely the patch.pre_args -px setting (thus providing the -p0 option to patch by default) and to make the patch to alpine/smkeys.c at the same level as the patch to alpine/Makefile.in.

I'm attaching the resulting Portfile and patch. With them, I was able to build re-alpine both with and without the tcl option on Mac OS X 10.5.8, and to use re-alpine and pico on Mac OS X 10.5.8. I did not encounter the compilation problem mentioned in the discussion of #24954 (undefined symbol _BIO_method_type at link time).

And, of course, alpine-osx-10.6.patch must be modified accordingly -- here it is. With this, re-alpine builds on Mac OS X 10.6.4 with Intel processor.

Changed 14 years ago by someuser12

Attachment: alpine-osx-10.6.2.patch added

re-alpine patch for 10.6, compatible with "patch -p0"

comment:8 Changed 12 years ago by sabbatini.luca@…

Sure would be nice to have a port or patch of re-alpine (currently at v2.02) for Mac OS X Lion 10.7.*

comment:9 Changed 12 years ago by atlauren@…

+1 upvote. I highly suggest that ports deprecate alpine in favor of re-alpine. It revved to 2.0.3 on 2012-12-21. http://sourceforge.net/projects/re-alpine/

comment:10 Changed 12 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to larryv@…
Status: newassigned

I’ll take a look at this.

comment:11 Changed 12 years ago by atlauren@…

Cc: atlauren@… added

Cc Me!

comment:12 Changed 10 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:13 Changed 10 years ago by SickTeddyBear

Since the Alpine port is broken, and the attempt to upgrade to the newer 2.11 version is failing to build, it would be nice if we could at least have the slightly older Re-Alpine.

comment:14 Changed 10 years ago by jerryyhom

Cc: jerryyhom@… added

Cc Me!

comment:15 Changed 7 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: assignedclosed

The current version of alpine is @2.21, I doubt there is still any interest in re-alpine.

Note: See TracTickets for help on using tickets.