diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 2002-08-08 04:53:19 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 2002-08-08 04:53:19 +0000 |
commit | 96dff61bf0cc33e1c4eadae3002ab84b13bd6e40 (patch) | |
tree | 55788a74d9ab34f7d0e85e95c17e6fdc3703ef9a /japanese/canna-lib | |
parent | febad4cafda11f34e53b0c3d5dcd393ca43991cf (diff) | |
download | ports-96dff61bf0cc33e1c4eadae3002ab84b13bd6e40.tar.gz ports-96dff61bf0cc33e1c4eadae3002ab84b13bd6e40.zip |
Notes
Diffstat (limited to 'japanese/canna-lib')
-rw-r--r-- | japanese/canna-lib/Makefile | 2 | ||||
-rw-r--r-- | japanese/canna-lib/files/patch-af | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile index 64c14842d49b..15fc3bca1d0e 100644 --- a/japanese/canna-lib/Makefile +++ b/japanese/canna-lib/Makefile @@ -8,7 +8,7 @@ PORTNAME= Canna PORTVERSION= 3.5b2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= japanese MASTER_SITES= ftp://ftp.tokyonet.ad.jp/pub/misc/Canna/Canna35/ \ ftp://ftp.biglobe.ne.jp/pub/tool/Canna/Canna35/ \ diff --git a/japanese/canna-lib/files/patch-af b/japanese/canna-lib/files/patch-af new file mode 100644 index 000000000000..360e5d011617 --- /dev/null +++ b/japanese/canna-lib/files/patch-af @@ -0,0 +1,22 @@ +--- server/misc.c.orig Wed Nov 27 16:30:30 1996 ++++ server/misc.c Thu Aug 8 13:44:03 2002 +@@ -649,12 +649,19 @@ + + if (client->username && client->username[0]) { + if (client->groupname && client->groupname[0]) { ++ if (strlen(DDUSER) + strlen(client->username) + ++ strlen(DDGROUP) + strlen(client->groupname) + ++ strlen(DDPATH) + 4 >= 256) ++ return ( -1 ); + sprintf(dichome, "%s/%s:%s/%s:%s", + DDUSER, client->username, + DDGROUP, client->groupname, + DDPATH); + } + else { ++ if (strlen(DDUSER) + strlen(client->username) + ++ strlen(DDPATH) + 2 >= 256) ++ return ( -1 ); + sprintf(dichome, "%s/%s:%s", + DDUSER, client->username, + DDPATH); |