diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2013-02-04 18:33:23 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2013-02-04 18:33:23 +0000 |
commit | 8d769fdd46627cd6319af138a97f1f1a4600431e (patch) | |
tree | ad8e3d29369336250625f098523bcc81f3f915af /net/netatalk3 | |
parent | 98d9f38e48a1da307980564d2e1ac1b07cbaf9ba (diff) | |
download | ports-8d769fdd46627cd6319af138a97f1f1a4600431e.tar.gz ports-8d769fdd46627cd6319af138a97f1f1a4600431e.zip |
Notes
Diffstat (limited to 'net/netatalk3')
-rw-r--r-- | net/netatalk3/Makefile | 6 | ||||
-rw-r--r-- | net/netatalk3/distinfo | 4 | ||||
-rw-r--r-- | net/netatalk3/files/patch-libatalk_util_netatalk_conf.c | 20 | ||||
-rw-r--r-- | net/netatalk3/pkg-plist | 3 |
4 files changed, 7 insertions, 26 deletions
diff --git a/net/netatalk3/Makefile b/net/netatalk3/Makefile index f5dcc5b3829d..7647b91c2767 100644 --- a/net/netatalk3/Makefile +++ b/net/netatalk3/Makefile @@ -6,8 +6,7 @@ # PORTNAME= netatalk -PORTVERSION= 3.0.1 -PORTREVISION= 1 +PORTVERSION= 3.0.2 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF @@ -52,7 +51,8 @@ OPTIONS= PAM "Enable PAM support" off \ MAN1= ad.1 afpldaptest.1 afppasswd.1 apple_dump.1 asip-status.pl.1 \ dbd.1 macusers.1 \ netatalk-config.1 uniconv.1 -MAN5= afp.conf.5 afp_signature.conf.5 afp_voluuid.conf.5 +MAN5= afp.conf.5 afp_signature.conf.5 afp_voluuid.conf.5 \ + extmap.conf.5 MAN8= afpd.8 cnid_dbd.8 cnid_metad.8 netatalk.8 CONFLICTS= bigloo-2.* cap-6.0.* tct-1.* netatalk-[12]* yudit-[0-9]* diff --git a/net/netatalk3/distinfo b/net/netatalk3/distinfo index c9588eec6062..dfa3c80dba43 100644 --- a/net/netatalk3/distinfo +++ b/net/netatalk3/distinfo @@ -1,2 +1,2 @@ -SHA256 (netatalk-3.0.1.tar.bz2) = 31f2a30d8eac0de5a8b8beddbd7b3418ba898a0d60b4d20c3ed6b568e91cc203 -SIZE (netatalk-3.0.1.tar.bz2) = 1633970 +SHA256 (netatalk-3.0.2.tar.bz2) = 0e414e1afae9726f4819aaefd15bd27658fcdf38800b468cbddc5de4247141fe +SIZE (netatalk-3.0.2.tar.bz2) = 1643396 diff --git a/net/netatalk3/files/patch-libatalk_util_netatalk_conf.c b/net/netatalk3/files/patch-libatalk_util_netatalk_conf.c deleted file mode 100644 index 02dedb656168..000000000000 --- a/net/netatalk3/files/patch-libatalk_util_netatalk_conf.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./libatalk/util/netatalk_conf.c.orig 2013-01-07 12:21:30.309544508 +0000 -+++ ./libatalk/util/netatalk_conf.c 2013-01-07 12:23:22.360529479 +0000 -@@ -563,7 +563,7 @@ - EC_INIT; - struct vol *volume = NULL; - int i, suffixlen, vlen, tmpvlen, u8mvlen, macvlen; -- char *tmpname; -+ char tmpname[AFPVOL_U8MNAMELEN+1]; - ucs2_t u8mtmpname[(AFPVOL_U8MNAMELEN+1)*2], mactmpname[(AFPVOL_MACNAMELEN+1)*2]; - char suffix[6]; /* max is #FFFF */ - uint16_t flags; -@@ -643,7 +643,7 @@ - EC_NULL( volume->v_maccodepage = strdup(obj->options.maccodepage) ); - - vlen = strlen(name); -- tmpname = strdup(name); -+ strlcpy(tmpname, name, sizeof(tmpname)); - for(i = 0; i < vlen; i++) - if(tmpname[i] == '/') tmpname[i] = ':'; - diff --git a/net/netatalk3/pkg-plist b/net/netatalk3/pkg-plist index eaa5246b6222..e3f3d3b0863c 100644 --- a/net/netatalk3/pkg-plist +++ b/net/netatalk3/pkg-plist @@ -11,6 +11,7 @@ bin/uniconv @unexec if cmp -s %D/etc/afp.conf %D/etc/afp.conf.dist; then rm -f %D/etc/afp.conf; fi etc/afp.conf.dist @exec [ ! -f %B/afp.conf ] && cp %B/%f %B/afp.conf +etc/extmap.conf.dist libexec/netatalk-uams/uams_clrtxt.so libexec/netatalk-uams/uams_dhx.so libexec/netatalk-uams/uams_dhx2.so @@ -66,7 +67,7 @@ include/atalk/volume.h lib/libatalk.a lib/libatalk.la lib/libatalk.so -lib/libatalk.so.2 +lib/libatalk.so.3 sbin/afpd sbin/cnid_dbd sbin/cnid_metad |