[123854] trunk/dports/net/heimdal/Portfile

cal at macports.org cal at macports.org
Fri Aug 15 04:28:03 PDT 2014


Revision: 123854
          https://trac.macports.org/changeset/123854
Author:   cal at macports.org
Date:     2014-08-15 04:28:03 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
heimdal: format whitespace to conform to modeline, switch to current checksums

Modified Paths:
--------------
    trunk/dports/net/heimdal/Portfile

Modified: trunk/dports/net/heimdal/Portfile
===================================================================
--- trunk/dports/net/heimdal/Portfile	2014-08-15 11:27:30 UTC (rev 123853)
+++ trunk/dports/net/heimdal/Portfile	2014-08-15 11:28:03 UTC (rev 123854)
@@ -1,41 +1,41 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name		heimdal
-version		1.3.3
-revision        1
-categories	net security
-license		BSD MIT Permissive
-maintainers	landonf openmaintainer
-platforms	darwin
-description	Kerberos is a network authentication protocol.
+name                heimdal
+version             1.3.3
+revision            1
+checksums           rmd160  ce97ac415e7c27912ba148b81c46e756dc54ba3e \
+                    sha256  8c8d2b272529c87ae9800825e2f266821b696ae6b56837edf0d19e17fc2a8630
 
-long_description	Kerberos provides a means of verifying the identities \
-			of principals, (e.g., a workstation user or a network \
-			server) on an open (unprotected) network.  This is \
-			accomplished without relying on authentication by the \
-			host operating system, without basing trust on host \
-			addresses, without requiring physical security of all \
-			the hosts on the network, and under the assumption \
-			that packets traveling along the network can be read, \
-			modified, and inserted at will.
+maintainers         landonf openmaintainer
+categories          net security
+platforms           darwin
 
-homepage	http://www.h5l.org/
-master_sites	${homepage}dist/src/
-checksums   md5 963c09f1b14c41660be70b55fae9f163 \
-            sha1 a385d959e3edd144aee79e9df585e44347342049 \
-            rmd160 ce97ac415e7c27912ba148b81c46e756dc54ba3e
+license             BSD MIT Permissive
+homepage            http://www.h5l.org/
+description         Kerberos is a network authentication protocol.
+long_description    \
+    Kerberos provides a means of verifying the identities of principals, (e.g., \
+    a workstation user or a network server) on an open (unprotected) network. \
+    This is accomplished without relying on authentication by the host \
+    operating system, without basing trust on host addresses, without requiring \
+    physical security of all the hosts on the network, and under the assumption \
+    that packets traveling along the network can be read, modified, and \
+    inserted at will.
 
-depends_lib port:readline port:gettext
+master_sites        ${homepage}dist/src/
 
-patchfiles  patch-lib-sqlite-sqlite3.c.diff
+depends_lib         port:readline \
+                    port:gettext
 
+patchfiles          patch-lib-sqlite-sqlite3.c.diff
+
 # Use a separate prefix to avoid conflicts with the port kerberos5
 # (and openssl, if that variant is selected)
-configure.pre_args --prefix=${prefix}/libexec/heimdal
-configure.args                 \
+configure.pre_args  --prefix=${prefix}/libexec/heimdal
+configure.args      \
     --sysconfdir=${prefix}/etc \
     --enable-shared            \
     --enable-static            \
@@ -47,55 +47,52 @@
     --without-openssl          \
     --without-sqlite3
 
+build.env-append    LC_CTYPE=C
+
 variant x11 description \
     {Enable X11 use in libraries, and build X11-related applications} {
-    depends_lib-append     port:xorg-libice \
-                           port:xorg-libXau \
-                           port:xorg-libXt \
-                           port:xorg-libsm \
-                           port:xorg-libX11 \
-                           port:xorg-libXdmcp
-    configure.args-delete  --without-x
-    configure.args-append  --with-x=${prefix}
+    depends_lib-append      port:xorg-libice \
+                            port:xorg-libXau \
+                            port:xorg-libXt \
+                            port:xorg-libsm \
+                            port:xorg-libX11 \
+                            port:xorg-libXdmcp
+    configure.args-delete   --without-x
+    configure.args-append   --with-x=${prefix}
 }
 
 variant openldap description \
-    {Enable LDAP database support for keeping track \
-         of Kerberos information} {
-    depends_lib-append     port:openldap
-    configure.args-delete  --without-openldap
-    configure.args-append  --with-openldap=${prefix}
+    {Enable LDAP database support for keeping track of Kerberos information} {
+    depends_lib-append      port:openldap
+    configure.args-delete   --without-openldap
+    configure.args-append   --with-openldap=${prefix}
 }
 
 # heimdal fails with openssl-1.0.0a due to removal of md2
 #variant openssl description \
-#    {Use OpenSSL libraries instead of internal ones for \
-#         crypto and ssl related functions} {
+#    {Use OpenSSL libraries instead of internal ones for crypto and ssl related functions} {
 #    depends_lib-append     port:openssl
 #    configure.args-delete  --without-openssl
 #    configure.args-append  --with-openssl=${prefix}
 #}
 
 variant sqlite3 description \
-    {Enable SQlite3 database support for keeping track \
-         of Kerberos information} {
+    {Enable SQlite3 database support for keeping track of Kerberos information} {
     depends_lib-append      port:sqlite3
-    configure.args-delete  --without-sqlite3
-    configure.args-append  --with-sqlite3=${prefix}
+    configure.args-delete   --without-sqlite3
+    configure.args-append   --with-sqlite3=${prefix}
 }
 
 post-patch {
-	# Tiger does not have the CommonCrypto support needed for -openssl
-	if {${os.platform} eq "darwin" && ${os.major} < 9} {
-		reinplace "s:def __APPLE__: 0:" ${worksrcpath}/lib/hcrypto/evp-cc.c
-	}
+    # Tiger does not have the CommonCrypto support needed for -openssl
+    if {${os.platform} eq "darwin" && ${os.major} < 9} {
+        reinplace "s:def __APPLE__: 0:" ${worksrcpath}/lib/hcrypto/evp-cc.c
+    }
 }
 
-build.env-append LC_CTYPE=C
+test.run            yes
+test.target         check
 
-test.run	yes
-test.target	check
-
-livecheck.type  regex
-livecheck.url   ${master_sites}
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/a6c916e8/attachment-0001.html>


More information about the macports-changes mailing list