diff options
author | sbd <sbd> | 2012-11-15 03:32:00 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-11-15 03:32:00 +0000 |
commit | 7861e98feb74b568d0fc04512acfa76e3d85a0f6 (patch) | |
tree | af25c10af5ed1c947d36b0bac3acb577efa9db79 /security/heimdal | |
parent | 2057f4e9e82916a8e9be4c5aa9d338c146bd7923 (diff) | |
download | pkgsrc-7861e98feb74b568d0fc04512acfa76e3d85a0f6.tar.gz |
When getting a file basename strip any leading directories.
Diffstat (limited to 'security/heimdal')
-rw-r--r-- | security/heimdal/Makefile | 4 | ||||
-rw-r--r-- | security/heimdal/distinfo | 3 | ||||
-rw-r--r-- | security/heimdal/patches/patch-cf_install-catman.sh | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index f8acc62620c..b312bc5b078 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.93 2012/10/23 18:16:30 asau Exp $ +# $NetBSD: Makefile,v 1.94 2012/11/15 03:32:00 sbd Exp $ DISTNAME= heimdal-1.5.2 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security MASTER_SITES= http://www.h5l.org/dist/src/ diff --git a/security/heimdal/distinfo b/security/heimdal/distinfo index 2f30d9d309d..557a9811ec3 100644 --- a/security/heimdal/distinfo +++ b/security/heimdal/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.35 2012/08/07 13:54:21 obache Exp $ +$NetBSD: distinfo,v 1.36 2012/11/15 03:32:00 sbd Exp $ SHA1 (heimdal-1.5.2.tar.gz) = dd0920a181d18236432e4b3e5eab6e468cda4b89 RMD160 (heimdal-1.5.2.tar.gz) = 1ab2f835309a916dfbba667d3d0d38a57c312fde Size (heimdal-1.5.2.tar.gz) = 6798615 bytes SHA1 (patch-ad) = 8f30b685cbfe37bf202f6cc501fc336a36b60c00 SHA1 (patch-al) = 022d5f3723bd1db7fe5e92eea5d0106851a5d424 +SHA1 (patch-cf_install-catman.sh) = 8eb8ea0c0c8b281c080c85eefc3abbc7dcbe6746 SHA1 (patch-kdc_version-script.map) = 42b0417a16b19a680f30ae34cfffd082f609d4a6 SHA1 (patch-lib_hcrypto_libtommath_tommath.h) = 60f223bb23145854f2a144da9e0a9484728b618a SHA1 (patch-lib_hcrypto_libtommath_tommath_class.h) = 8c7b1e8d30cda79fd59a8ef83094a611b47a43df diff --git a/security/heimdal/patches/patch-cf_install-catman.sh b/security/heimdal/patches/patch-cf_install-catman.sh new file mode 100644 index 00000000000..65f892c75ff --- /dev/null +++ b/security/heimdal/patches/patch-cf_install-catman.sh @@ -0,0 +1,15 @@ +$NetBSD: patch-cf_install-catman.sh,v 1.1 2012/11/15 03:32:01 sbd Exp $ + +When getting a file basename strip any leading directories. + +--- cf/install-catman.sh.orig 2012-01-10 21:53:51.000000000 +0000 ++++ cf/install-catman.sh +@@ -14,7 +14,7 @@ catinstall="${INSTALL_CATPAGES-yes}" + + for f in "$@"; do + echo $f +- base=`echo "$f" | sed 's/\.[^.]*$//'` ++ base=`echo "$f" | sed 's/\.[^.]*$//;s,.*/,,'` + section=`echo "$f" | sed 's/^[^.]*\.//'` + mandir="$manbase/man$section" + catdir="$manbase/cat$section" |