Opened 19 years ago

Closed 18 years ago

Last modified 8 years ago

#4294 closed defect (fixed)

UPDATE: libksba

Reported by: yeled@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc: pkern@…
Port:

Description

please update libksba

it is needed for a newer gpg.

Note that this is not trivial to update to .12 - there is some funky libtool stuff going on.

Also note that the gpg tools (libksa, libassuan, gpg-agent...) are all ALPHA and we don't mention it? shouldn't we split these?

Attachments (3)

libksa.patch (550 bytes) - added by yeled@… 19 years ago.
the simple Portfile changes …
Portfile (1.4 KB) - added by pkern@… 18 years ago.
The new portfile using the patch
patch-alloca (404 bytes) - added by pkern@… 18 years ago.
Patch for gl/Makefile.in

Download all attachments as: .zip

Change History (11)

Changed 19 years ago by yeled@…

Attachment: libksa.patch added

the simple Portfile changes ...

comment:1 Changed 19 years ago by yeled@…

Owner: changed from darwinports-bugs@… to landonf@…

comment:2 Changed 19 years ago by landonf@…

Status: newassigned

Your diff is missing the Makefile patch

comment:3 Changed 19 years ago by yeled@…

this is all it is.. but now i cant get the distfile to see how far i got with this port, sorry.

--- Makefile.in.orig    Sat Aug  6 01:48:03 2005
+++ Makefile.in Sat Aug  6 01:48:08 2005
@@ -214,7 +214,7 @@
 EXTRA_DIST = README-alpha autogen.sh
 @CROSS_COMPILING_FALSE@tests = tests
 @CROSS_COMPILING_TRUE@tests = 
-SUBDIRS = gl src ${tests} doc
+SUBDIRS = src ${tests} doc
 all: config.h
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 19 years ago by yeled@…

however this then breaks like this

---> Building libksba with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._usr_dports_devel_libksba/work/libksba-0.9.12" && make all" returned error 2 Command output: /bin/sh ../libtool --tag=CC --mode=link gcc -I/opt/local/include -g -O2 -Wall - Wcast-align -Wshadow -Wstrict-prototypes -o libksba.la -rpath /opt/local/lib -version-info 14:1:6 reader.lo writer.lo asn1-parse.lo asn1-func.lo asn1-func2.lo ber-help.lo ber-decoder.lo der-encoder.lo cert.lo cms.lo cms-parser.lo crl.lo certreq.lo ocsp.lo keyinfo.lo oid.lo name.lo dn.lo time.lo version.lo util.lo asn1-tables.lo gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libksba.8.6.1.dylib .libs/reader.o .libs/ writer.o .libs/asn1-parse.o .libs/asn1-func.o .libs/asn1-func2.o .libs/ber-help.o .libs/ber- decoder.o .libs/der-encoder.o .libs/cert.o .libs/cms.o .libs/cms-parser.o .libs/crl.o .libs/ certreq.o .libs/ocsp.o .libs/keyinfo.o .libs/oid.o .libs/name.o .libs/dn.o .libs/time.o .libs/ version.o .libs/util.o .libs/asn1-tables.o -install_name /opt/local/lib/libksba.8.dylib - compatibility_version 15 -current_version 15.1 ld: warning -undefined suppress disables -prebind (cd .libs && rm -f libksba.8.dylib && ln -s libksba.8.6.1.dylib libksba.8.dylib) (cd .libs && rm -f libksba.dylib && ln -s libksba.8.6.1.dylib libksba.dylib) ar cru .libs/libksba.a reader.o writer.o asn1-parse.o asn1-func.o asn1-func2.o ber-help.o ber- decoder.o der-encoder.o cert.o cms.o cms-parser.o crl.o certreq.o ocsp.o keyinfo.o oid.o name.o dn.o time.o version.o util.o asn1-tables.o ranlib .libs/libksba.a creating libksba.la (cd .libs && rm -f libksba.la && ln -s ../libksba.la libksba.la) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -g -O2 -Wall -Wcast-align -Wshadow - Wstrict-prototypes -MT asn1_gentables-asn1-gentables.o -MD -MP -MF ".deps/asn1_gentables-asn1- gentables.Tpo" -c -o asn1_gentables-asn1-gentables.o test -f 'asn1-gentables.c' || echo './'asn1- gentables.c; \ then mv -f ".deps/asn1_gentables-asn1-gentables.Tpo" ".deps/asn1_gentables-asn1-gentables.Po"; else rm -f ".deps/asn1_gentables-asn1-gentables.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -g -O2 -Wall -Wcast-align -Wshadow - Wstrict-prototypes -MT asn1_gentables-asn1-parse.o -MD -MP -MF ".deps/asn1_gentables-asn1- parse.Tpo" -c -o asn1_gentables-asn1-parse.o test -f 'asn1-parse.c' || echo './'asn1-parse.c; \ then mv -f ".deps/asn1_gentables-asn1-parse.Tpo" ".deps/asn1_gentables-asn1-parse.Po"; else rm -f ".deps/asn1_gentables-asn1-parse.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -g -O2 -Wall -Wcast-align -Wshadow - Wstrict-prototypes -MT asn1_gentables-asn1-func.o -MD -MP -MF ".deps/asn1_gentables-asn1- func.Tpo" -c -o asn1_gentables-asn1-func.o test -f 'asn1-func.c' || echo './'asn1-func.c; \ then mv -f ".deps/asn1_gentables-asn1-func.Tpo" ".deps/asn1_gentables-asn1-func.Po"; else rm -f ".deps/asn1_gentables-asn1-func.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -g -O2 -Wall -Wcast-align -Wshadow - Wstrict-prototypes -MT asn1_gentables-oid.o -MD -MP -MF ".deps/asn1_gentables-oid.Tpo" -c -o asn1_gentables-oid.o test -f 'oid.c' || echo './'oid.c; \ then mv -f ".deps/asn1_gentables-oid.Tpo" ".deps/asn1_gentables-oid.Po"; else rm -f ".deps/ asn1_gentables-oid.Tpo"; exit 1; fi oid.c: In function 'ksba_oid_to_str': oid.c:55: warning: pointer targets in initialization differ in signedness oid.c: In function '_ksba_oid_node_to_str': oid.c:113: warning: pointer targets in passing argument 1 of 'ksba_oid_to_str' differ in signedness oid.c: In function 'ksba_oid_from_str': oid.c:218: warning: pointer targets in passing argument 2 of 'make_flagged_int' differ in signedness oid.c:223: warning: pointer targets in passing argument 2 of 'make_flagged_int' differ in signedness if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -g -O2 -Wall -Wcast-align -Wshadow - Wstrict-prototypes -MT asn1_gentables-util.o -MD -MP -MF ".deps/asn1_gentables-util.Tpo" -c -o asn1_gentables-util.o test -f 'util.c' || echo './'util.c; \ then mv -f ".deps/asn1_gentables-util.Tpo" ".deps/asn1_gentables-util.Po"; else rm -f ".deps/ asn1_gentables-util.Tpo"; exit 1; fi make[3]: * No rule to make target ../gl/libgnu.la', needed by asn1-gentables'. Stop. make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

because i'm an idiot.

Version 0, edited 19 years ago by yeled@… (next)

comment:5 Changed 19 years ago by yeled@…

Owner: changed from landonf@… to yeled@…
Status: assignednew

Changed 18 years ago by pkern@…

Attachment: Portfile added

The new portfile using the patch

Changed 18 years ago by pkern@…

Attachment: patch-alloca added

Patch for gl/Makefile.in

comment:6 Changed 18 years ago by pkern@…

Cc: pkern@… added

comment:7 Changed 18 years ago by pkern@…

blocked: 5782

comment:8 Changed 18 years ago by yeled@…

Resolution: fixed
Status: newclosed

thank you!

Note: See TracTickets for help on using tickets.