Changeset 72523


Ignore:
Timestamp:
Oct 19, 2010, 6:20:37 PM (7 years ago)
Author:
afb@…
Message:

port upgrade from 6.2.0 (2007) to 7.3.0 (2010)

Location:
trunk/dports/net
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/fetch/Portfile

    r54898 r72523  
    44
    55name            fetch
    6 version         6.2.0-RELEASE
     6version         7.3.0-RELEASE
    77categories      net
    8 maintainers     nomaintainer
     8maintainers     afb
    99description     FreeBSD file fetching utility
    1010long_description        Fetch provides a command-line interface to the fetch(3) library. \
     
    1414homepage        http://www.freebsd.org/
    1515master_sites    macports
    16 checksums       md5 41f930ab95e10e6d204bf8ac380db7bd
     16checksums       md5 adfd092d7cd45c9797105e433662591f
    1717worksrcdir      ${name}
    1818use_configure   no
    19 depends_lib     lib:libfetch.4:libfetch
     19depends_lib     lib:libfetch.5:libfetch lib:ssl:openssl
    2020build.type      bsd
    21 build.args      CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib
     21build.args      CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib -DMK_OPENSSL
    2222
    2323destroot        {
  • trunk/dports/net/libfetch/Portfile

    r72418 r72523  
    44
    55name            libfetch
    6 version         6.2.0-RELEASE
    7 revision        1
     6version         7.3.0-RELEASE
    87categories      net
    9 maintainers     nomaintainer
     8maintainers     afb
    109description     FreeBSD file fetching library
    1110long_description        These functions implement a high-level library for retrieving and \
     
    1514homepage        http://www.freebsd.org/
    1615master_sites    macports
    17 checksums       md5 0d0b59e7c13b7bce67bcdd13e1fde7d5
     16checksums       md5 34431a8480734c42a822701c36772b97
    1817build.type      bsd
     18build.args      -DMK_INET6_SUPPORT -DMK_OPENSSL
    1919worksrcdir      ${name}
    2020use_configure   no
    21 set libver      4
     21set libver      5
    2222destroot        {
    2323                xinstall -m 644 -c ${worksrcpath}/fetch.h ${destroot}${prefix}/include
    2424                xinstall -m 644 -c ${worksrcpath}/fetch.3 ${destroot}${prefix}/share/man/man3 }
    2525
     26depends_lib     lib:ssl:openssl
     27patchfiles      patch-common.c patch-http.c
     28
    2629platform darwin {
    27         patchfiles      patch-Makefile patch-common.h patch-common.c
    28         build.env       LDADD="-Wl,-install_name,${prefix}/lib/libfetch.${libver}.dylib"
     30        patchfiles-append       patch-Makefile patch-common.h
     31        post-build {
     32                # need to add libdir, do it afterwards instead of messing with make
     33                system "install_name_tool -id ${prefix}/lib/libfetch.${libver}.dylib \
     34                        ${worksrcpath}/libfetch.${libver}.dylib"
     35        }
    2936        pre-destroot {
    3037                xinstall -m 644 -c ${worksrcpath}/libfetch.${libver}.dylib \
  • trunk/dports/net/libfetch/files/patch-Makefile

    r28798 r72523  
    1 --- Makefile.orig       2007-09-08 22:24:45.000000000 +0200
    2 +++ Makefile    2007-09-08 22:29:04.000000000 +0200
    3 @@ -1,8 +1,8 @@
    4  # $FreeBSD: src/lib/libfetch/Makefile,v 1.44.2.1 2005/07/22 17:29:05 kensmith Exp $
     1--- Makefile.orig       2010-02-10 01:26:20.000000000 +0100
     2+++ Makefile    2010-10-14 09:47:47.000000000 +0200
     3@@ -4,7 +4,8 @@
     4 .include <bsd.own.mk>
    55 
    66 LIB=           fetch
    77-CFLAGS+=       -I.
    8 -CFLAGS+=       -DINET6
    98+CFLAGS+=       -no-cpp-precomp -fno-common -I.
    10 +CFLAGS+=       -DINET6 -D__FBSDID=__RCSID -D__unused=__attribute__\(\(__unused__\)\)
     9+CFLAGS+=       -D__FBSDID=__RCSID -D__unused=__attribute__\(\(__unused__\)\)
    1110 SRCS=          fetch.c common.c ftp.c http.c file.c \
    1211                ftperr.h httperr.h
    1312 INCS=          fetch.h
    14 @@ -11,8 +11,8 @@
    15  
    16  .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
    17  CFLAGS+=       -DWITH_SSL
    18 -DPADD=         ${LIBSSL} ${LIBCRYPTO}
    19 -LDADD=         -lssl -lcrypto
    20 +DPADD+=                ${LIBSSL} ${LIBCRYPTO}
    21 +LDADD+=                -lssl -lcrypto
     13@@ -15,9 +16,9 @@
    2214 .endif
    2315 
    24  CSTD?=         c99
     16 .if ${MK_OPENSSL} != "no"
     17-CFLAGS+=       -DWITH_SSL
     18-DPADD=         ${LIBSSL} ${LIBCRYPTO} ${LIBMD}
     19-LDADD=         -lssl -lcrypto -lmd
     20+CFLAGS+=       -DWITH_SSL -DWITH_SSL_MD5
     21+DPADD=         ${LIBSSL} ${LIBCRYPTO}
     22+LDADD=         -lssl -lcrypto
     23 .else
     24 DPADD=         ${LIBMD}
     25 LDADD=         -lmd
Note: See TracChangeset for help on using the changeset viewer.