[85476] trunk/dports/net/whois

ryandesign at macports.org ryandesign at macports.org
Thu Oct 13 18:56:52 PDT 2011


Revision: 85476
          http://trac.macports.org/changeset/85476
Author:   ryandesign at macports.org
Date:     2011-10-13 18:56:51 -0700 (Thu, 13 Oct 2011)
Log Message:
-----------
whois: update to 5.0.12

Modified Paths:
--------------
    trunk/dports/net/whois/Portfile
    trunk/dports/net/whois/files/patch-bugreport.diff
    trunk/dports/net/whois/files/patch-lcrypt.diff

Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile	2011-10-14 01:55:56 UTC (rev 85475)
+++ trunk/dports/net/whois/Portfile	2011-10-14 01:56:51 UTC (rev 85476)
@@ -14,7 +14,7 @@
 
 name                        whois
 conflicts                   bahamut expect ripe-whois
-version                     5.0.11
+version                     5.0.12
 categories                  net
 maintainers                 ryandesign
 homepage                    http://www.linux.it/~md/software/
@@ -28,11 +28,10 @@
 
 master_sites                http://ftp.debian.org/debian/pool/main/w/${name}/
 
-checksums                   sha1    435770400fbccd0066af62a85e2028420e43ca4b \
-                            rmd160  c1b4fecf6759aafe54b0b05ff32a0fc9503ea0de
+checksums                   rmd160  5de8de298f70649120ffa48833f3517f3eea5304 \
+                            sha256  2b504440e8ea6336c364900d2c1574145f241da8c2ca9a6ac13149cf3c80c627
 
-distname                    ${name}_${version}
-worksrcdir                  ${name}-${version}
+distfiles                   [suffix ${name}_${version}]
 
 depends_lib                 port:gettext \
                             port:libidn \
@@ -53,13 +52,10 @@
     patchfiles-append       patch-lcrypt.diff
 }
 
-configure.cmd               make
-configure.pre_args          depend
-configure.cflags-append     -DENABLE_NLS
-configure.ldflags-append    -lintl
-configure.universal_args-delete --disable-dependency-tracking
+use_configure               no
 
 post-configure {
+    system -W ${worksrcpath} "CC='${configure.cc}' make depend servers_charset.h"
     reinplace "s|/etc/whois.conf|${prefix}/etc/whois.conf|g" \
         ${worksrcpath}/whois.1
 }

Modified: trunk/dports/net/whois/files/patch-bugreport.diff
===================================================================
--- trunk/dports/net/whois/files/patch-bugreport.diff	2011-10-14 01:55:56 UTC (rev 85475)
+++ trunk/dports/net/whois/files/patch-bugreport.diff	2011-10-14 01:56:51 UTC (rev 85476)
@@ -5,18 +5,18 @@
  "If TYPE is 'help', available methods are printed.\n"
  "\n"
 -"Report bugs to %s.\n"), "<md+whois at linux.it>");
-+"Report bugs to %s.\n"), "<http://trac.macports.org/newticket>");
++"Report bugs to %s.\n"), "<https://trac.macports.org/newticket>");
  }
  
  void display_version(void)
---- whois.c.orig	2010-07-27 16:40:02.000000000 -0500
-+++ whois.c	2010-08-10 23:46:38.000000000 -0500
-@@ -143,7 +143,7 @@
+--- whois.c.orig	2011-10-09 19:10:22.000000000 -0500
++++ whois.c	2011-10-13 20:19:21.000000000 -0500
+@@ -144,7 +144,7 @@
  	    break;
  	case 1:
  	    fprintf(stderr, _("Version %s.\n\nReport bugs to %s.\n"),
 -		    VERSION, "<md+whois at linux.it>");
-+		    VERSION, "<http://trac.macports.org/newticket>");
++		    VERSION, "<https://trac.macports.org/newticket>");
  	    exit(0);
  	default:
  	    usage();

Modified: trunk/dports/net/whois/files/patch-lcrypt.diff
===================================================================
--- trunk/dports/net/whois/files/patch-lcrypt.diff	2011-10-14 01:55:56 UTC (rev 85475)
+++ trunk/dports/net/whois/files/patch-lcrypt.diff	2011-10-14 01:56:51 UTC (rev 85476)
@@ -1,11 +1,10 @@
---- Makefile.orig	2009-12-16 16:40:11.000000000 -0600
-+++ Makefile	2009-12-20 17:54:53.000000000 -0600
-@@ -45,8 +45,6 @@
- ifdef HAVE_XCRYPT
- mkpasswd_LDADD += -lxcrypt
- DEFS += -DHAVE_XCRYPT
--else
+--- Makefile.orig	2011-10-13 20:19:21.000000000 -0500
++++ Makefile	2011-10-13 20:21:34.000000000 -0500
+@@ -50,7 +50,6 @@
+ # owl and openSUSE have crypt_gensalt(3) in the libc's libcrypt
+ DEFS += -DHAVE_LINUX_CRYPT_GENSALT
+ endif
 -mkpasswd_LDADD += -lcrypt
  endif
  
- ##############################################################################
+ CPPFLAGS += $(DEFS) $(INCLUDES)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111013/a0d26529/attachment.html>


More information about the macports-changes mailing list