pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netatalk22 Update net/netatalk22 to v2.2.7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef5445eb2e86
branches:  trunk
changeset: 391617:ef5445eb2e86
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Tue Jan 10 22:07:33 2023 +0000

description:
Update net/netatalk22 to v2.2.7.

>From the upstream ChangeLog:

[2.2] Fix 'multiple definition' compile time errors by @rdmark in #136
[2.2] Remove bitrotted code by @rdmark in #139
[2.2] Fixes for the OpenSSL 1.1 API; add OpenSSL 1.0 backwards compat by @rdmark in #142
[2.2] Install afp_ldap.conf based on LDAP support, not availability of ACLs. by @rdmark in #143
[2.2] Resolve gcc 10 compile time warnings on Linux by @rdmark in #165
[2.2] Downstream patches for NetBSD compatibility by @rdmark in #148
[2.2] Make timelord work on non-big-endian systems; ability to sync localtime by @rdmark in #151
[2.2] Resolve papd compile time errors due to deprecated CUPS calls by @rdmark in #152
[2.2] Resolve automake warnings running bootstrap by @rdmark in #153
[2.2] Handle special FIRSTNET behavior on NetBSD by @rdmark in #154
[2.2] papd patches for compatibility with older Apple LaserWriter drivers on Mac and GS/OS by @rdmark in #156
[2.2] Allow non-unicode volume to be scanned by the repair tool. by @rdmark in #158
[2.2] Update init script templates to start/stop a2boot daemon. by @rdmark in #160
[2.2] Backport Netatalk 3 patches by @rdmark in #161
[2.2] papd: Send replies to client when printing to prompt more data by @rdmark in #162
[2.2] afpd: Add option to disable afp session tickles by @rdmark in #163
[2.2] Update for Unicode 14 by @rdmark in #164
[2.2] Made the AsanteTalk bridge consistently start up in AppleTalk Phase 2$A!-(B by @rdmark in #166
[2.2] Introduce fully functional systemd unit configurations for all daemons by @rdmark in #167
[2.2] General stability patches by @rdmark in #168
Fix some compile errors by @JensKSP in #176

Package changes:

Distfile has been moved to github
Clean up unused PLIST variables

diffstat:

 net/netatalk22/Makefile                                      |   10 +-
 net/netatalk22/distinfo                                      |   29 +-
 net/netatalk22/options.mk                                    |    4 +-
 net/netatalk22/patches/patch-config_Makefile.in              |   13 +-
 net/netatalk22/patches/patch-config_afpd.conf.tmpl           |   15 -
 net/netatalk22/patches/patch-configure                       |   32 +--
 net/netatalk22/patches/patch-distrib_initscripts_Makefile.in |   45 ---
 net/netatalk22/patches/patch-etc_afpd_afp__options.c         |   16 -
 net/netatalk22/patches/patch-etc_atalkd_main.c               |   23 --
 net/netatalk22/patches/patch-etc_cnid_dbd_cmd_dbd_scanvol.c  |   21 -
 net/netatalk22/patches/patch-etc_papd_file.c                 |   39 ---
 net/netatalk22/patches/patch-etc_papd_file.h                 |   16 -
 net/netatalk22/patches/patch-etc_papd_magics.c               |   35 ---
 net/netatalk22/patches/patch-etc_papd_print_cups.c           |  124 -----------
 net/netatalk22/patches/patch-etc_uams_uams__dhx__pam.c       |   63 -----
 net/netatalk22/patches/patch-etc_uams_uams__dhx__passwd.c    |   53 +---
 net/netatalk22/patches/patch-etc_uams_uams__randnum.c        |  106 ---------
 net/netatalk22/patches/patch-include_atalk_ldapconfig.h      |   22 -
 net/netatalk22/patches/patch-libatalk_asp_asp__getsess.c     |   18 -
 net/netatalk22/patches/patch-libatalk_bstring_bstrlib.c      |   22 -
 net/netatalk22/patches/patch-man_man5_afpd.conf.5.tmpl       |   15 -
 21 files changed, 26 insertions(+), 695 deletions(-)

diffs (truncated from 862 to 300 lines):

diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/Makefile
--- a/net/netatalk22/Makefile   Tue Jan 10 21:51:52 2023 +0000
+++ b/net/netatalk22/Makefile   Tue Jan 10 22:07:33 2023 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.49 2023/01/03 17:38:02 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2023/01/10 22:07:33 hauke Exp $
 
-DISTNAME=      netatalk-2.2.6
+DISTNAME=      netatalk-2.2.7
 PKGNAME=       ${DISTNAME:C/-/22-/}
-PKGREVISION=   33
 CATEGORIES=    net print
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=netatalk/}
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Netatalk/}Netatalk/releases/download/netatalk-2-2-7/
 #PATCHFILES=   patch-adv1tov2.c
 PATCH_SITES=   http://svn.macosforge.org/repository/macports/trunk/dports/net/netatalk/files/ \
                http://mirror.lug.udel.edu/pub/macports/trunk/dports/net/netatalk/files/
@@ -59,14 +57,12 @@
 SUBST_FILES.paths=     etc/psf/etc2ps.sh
 SUBST_SED.paths=       -e 's,^\(DVIPS="*\)/usr\(/bin\),\1${PREFIX}\2,'
 
-PLIST_VARS+=           rcd
 .if ${OPSYS} == "NetBSD"
 CONFIGURE_ARGS+=       --enable-netbsd
 RCD_SCRIPTS=           afpd atalkd papd timelord cnid_metad
 .  for f in ${RCD_SCRIPTS}
 RCD_SCRIPT_SRC.${f}=   ${WRKSRC}/distrib/initscripts/${f}
 .  endfor
-PLIST.rcd=             yes
 .endif
 
 PLIST_VARS+=           ea
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/distinfo
--- a/net/netatalk22/distinfo   Tue Jan 10 21:51:52 2023 +0000
+++ b/net/netatalk22/distinfo   Tue Jan 10 22:07:33 2023 +0000
@@ -1,23 +1,8 @@
-$NetBSD: distinfo,v 1.13 2022/01/28 21:18:18 nat Exp $
+$NetBSD: distinfo,v 1.14 2023/01/10 22:07:33 hauke Exp $
 
-BLAKE2s (netatalk-2.2.6.tar.bz2) = 22951265586889d7ac4f01ade0707f1e63389a14623beec787f587e4ef74b891
-SHA512 (netatalk-2.2.6.tar.bz2) = 74aa3415a43293a8804b00b0eda564d6536310e59c3f0d067d634db89f4d612a1dfd932df18607c32b948922ae032bc25471e21635ab149a78629ff95c341f47
-Size (netatalk-2.2.6.tar.bz2) = 1301887 bytes
-SHA1 (patch-config_Makefile.in) = e6b020cf4cf11572a648bee7de0937add1948ea8
-SHA1 (patch-config_afpd.conf.tmpl) = 4ff3dc9ea7af77319dc5be499e04648220022404
-SHA1 (patch-configure) = 9919625c3cd54e34ab45c6606094e12215630d33
-SHA1 (patch-distrib_initscripts_Makefile.in) = 706890f9e0aacab4d523cc1900048b7fab96f5d4
-SHA1 (patch-etc_afpd_afp__options.c) = ab65d03c61f8be65e8afc3bd102e5e13e642f1b9
-SHA1 (patch-etc_atalkd_main.c) = bdd452b9ca62e506d056e3818fb7f5b54a9d38c5
-SHA1 (patch-etc_cnid_dbd_cmd_dbd_scanvol.c) = df844b4047e614a3fd44cbcea252627f6fe43b65
-SHA1 (patch-etc_papd_file.c) = 8d050430e8013501230462375c874c8188f12e73
-SHA1 (patch-etc_papd_file.h) = 2464cc27385a8300f8cc3503643db4512d5f368f
-SHA1 (patch-etc_papd_magics.c) = 3f25cb45e7a860505895c628490905fe42a1ed62
-SHA1 (patch-etc_papd_print_cups.c) = 8dada275f9525b9229a85492050de982b1e54295
-SHA1 (patch-etc_uams_uams__dhx__pam.c) = 8ed99ff32ca932367c5df7af6889db1abbde7a2e
-SHA1 (patch-etc_uams_uams__dhx__passwd.c) = 52e2862aa55268349dfc64a7d71ebc17e1b8830b
-SHA1 (patch-etc_uams_uams__randnum.c) = 0608eb6a7b43b0cc360879849c9ca0b38ffdc684
-SHA1 (patch-include_atalk_ldapconfig.h) = e69d212f45ace23773d15c122ca2e550b025f845
-SHA1 (patch-libatalk_asp_asp__getsess.c) = 0ae089ef4f882a1580298707fbeee5d519c83482
-SHA1 (patch-libatalk_bstring_bstrlib.c) = f43818328237b908166f956de464f532d578d2c4
-SHA1 (patch-man_man5_afpd.conf.5.tmpl) = 43dfb930851329e5fe77d2fae4b8b7237a3fe42c
+BLAKE2s (netatalk-2.2.7.tar.gz) = a828870c06fcec3aaf1ec4fd6c06411ecc0e687b73f4d29257743de0667798df
+SHA512 (netatalk-2.2.7.tar.gz) = fb6664b2ea700f1a8307eaf452954e2f0c3bb7d082f2df211f17a79d1fc7f3ca4dff0b805beb7b8d10fb23d749fd1990a6b07c029d89d09299677a41b8161220
+Size (netatalk-2.2.7.tar.gz) = 1849800 bytes
+SHA1 (patch-config_Makefile.in) = 37ed88693c64b5e34396da26f9d7105102ed479b
+SHA1 (patch-configure) = 6b9d73ac0c8ba4913834402a587b734d342c3830
+SHA1 (patch-etc_uams_uams__dhx__passwd.c) = a4eb368ae6f1698d906fe1ba2f1600b7a0b20539
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/options.mk
--- a/net/netatalk22/options.mk Tue Jan 10 21:51:52 2023 +0000
+++ b/net/netatalk22/options.mk Tue Jan 10 22:07:33 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2021/04/02 09:54:26 hauke Exp $
+# $NetBSD: options.mk,v 1.7 2023/01/10 22:07:33 hauke Exp $
 #
 PKG_OPTIONS_VAR=       PKG_OPTIONS.netatalk
 PKG_SUPPORTED_OPTIONS= cups debug dnssd kerberos ldap pam slp
@@ -12,7 +12,6 @@
 CONFIGURE_ARGS+=       --disable-cups
 .endif
 
-PLIST_VARS+=           debug
 .if !empty(PKG_OPTIONS:Mdebug)
 # Debugging
 CONFIGURE_ARGS+=       --enable-debug1
@@ -22,7 +21,6 @@
 INSTALL_UNSTRIPPED=    yes
 .endif
 
-PLIST_VARS+=           dnssd
 .if !empty(PKG_OPTIONS:Mdnssd)
 .include "../../net/mDNSResponder/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-zeroconf
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-config_Makefile.in
--- a/net/netatalk22/patches/patch-config_Makefile.in   Tue Jan 10 21:51:52 2023 +0000
+++ b/net/netatalk22/patches/patch-config_Makefile.in   Tue Jan 10 22:07:33 2023 +0000
@@ -1,6 +1,4 @@
-$NetBSD: patch-config_Makefile.in,v 1.2 2021/04/02 09:54:26 hauke Exp $
-
-Install afp_ldap.conf based on LDAP support, not ACL support.
+$NetBSD: patch-config_Makefile.in,v 1.3 2023/01/10 22:07:33 hauke Exp $
 
 Install config files to examples/netatalk, and leave installation to
 the pkginstall framerwork.
@@ -9,15 +7,6 @@
 
 --- config/Makefile.in.orig    2017-07-09 11:27:05.000000000 +0000
 +++ config/Makefile.in
-@@ -88,7 +88,7 @@ POST_UNINSTALL = :
- build_triplet = @build@
- host_triplet = @host@
- target_triplet = @target@
--@HAVE_ACLS_TRUE@am__append_1 = afp_ldap.conf
-+@HAVE_LDAP_TRUE@am__append_1 = afp_ldap.conf
- @USE_APPLETALK_TRUE@am__append_2 = atalkd.conf papd.conf
- subdir = config
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 @@ -759,13 +759,14 @@ uninstall-local:
                rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
        done
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-config_afpd.conf.tmpl
--- a/net/netatalk22/patches/patch-config_afpd.conf.tmpl        Tue Jan 10 21:51:52 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-config_afpd.conf.tmpl,v 1.2 2022/01/28 21:18:19 nat Exp $
-
-Allow -1 as a vaild tickleval to disable session tickles.
-As needed on appletalk 58.
-
---- config/afpd.conf.tmpl.orig 2014-03-16 11:17:48.000000000 +0000
-+++ config/afpd.conf.tmpl
-@@ -175,6 +175,7 @@
- #                         Note, this defaults to 30 seconds, and really 
- #                         shouldn't be changed.  If you want to control
- #                         the server idle timeout, use the -timeout option.
-+#                        A value of 0 disables session timer tickles.
- #     -timeout <number>   Specify the number of tickles to send before
- #                         timing out a connection.
- #                         The default is 4, therefore a connection will
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-configure
--- a/net/netatalk22/patches/patch-configure    Tue Jan 10 21:51:52 2023 +0000
+++ b/net/netatalk22/patches/patch-configure    Tue Jan 10 22:07:33 2023 +0000
@@ -1,36 +1,10 @@
-$NetBSD: patch-configure,v 1.3 2017/07/12 13:56:00 hauke Exp $
-
-Disable zeroconf explicitely, unless enabled - the distribution
-appears not to allow for this.
-
-We do not at this point support zeroconf via avahi. Since configure
-does not allow for building without avahi, and native avahi is picked
-up on some Linuxen, we disable all avahi tests unconditionally here.
+$NetBSD: patch-configure,v 1.4 2023/01/10 22:07:33 hauke Exp $
 
 Fix build on SunOS by disabling the isainfo bitness check 
 
---- configure.orig     2013-07-23 09:11:35.000000000 +0000
+--- configure.orig     2023-01-10 08:57:35.000000000 +0000
 +++ configure
-@@ -16109,7 +16109,7 @@ fi
- if test "${enable_zeroconf+set}" = set; then :
-   enableval=$enable_zeroconf; zeroconf=$enableval
- else
--  zeroconf=try
-+  zeroconf=no
- 
- fi
- 
-@@ -16185,7 +16185,8 @@ $as_echo "#define HAVE_MDNS 1" >>confdef
-         fi
- 
-         # mDNS support using Avahi
--        if test x"$found_zeroconf" != x"yes" ; then
-+        #if test x"$found_zeroconf" != x"yes" ; then
-+      if 0 ; then
-             ac_fn_c_check_header_mongrel "$LINENO" "avahi-client/client.h" "ac_cv_header_avahi_client_client_h" "$ac_includes_default"
- if test "x$ac_cv_header_avahi_client_client_h" = xyes; then :
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5
-@@ -17535,7 +17536,7 @@ $as_echo_n "checking if we have to build
+@@ -19331,7 +19331,7 @@ printf %s "checking if we have to build 
           # check for isainfo, if not found it has to be a 32 bit kernel (<=2.6)
           if test -x /usr/bin/isainfo; then
                # check for 64 bit platform
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-distrib_initscripts_Makefile.in
--- a/net/netatalk22/patches/patch-distrib_initscripts_Makefile.in      Tue Jan 10 21:51:52 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-$NetBSD: patch-distrib_initscripts_Makefile.in,v 1.2 2017/07/12 13:56:00 hauke Exp $
-
-NetBSD specific adaptation to install process (christos committed
-them, ask him ;)
-
---- distrib/initscripts/Makefile.in.orig       2012-09-28 07:49:25.000000000 +0000
-+++ distrib/initscripts/Makefile.in
-@@ -592,7 +592,7 @@ info: info-am
- 
- info-am:
- 
--install-data-am: install-serviceDATA install-sysvSCRIPTS
-+install-data-am: install-serviceDATA
-       @$(NORMAL_INSTALL)
-       $(MAKE) $(AM_MAKEFLAGS) install-data-hook
- install-dvi: install-dvi-am
-@@ -723,23 +723,23 @@ uninstall: uninstall-startup
- @USE_TRU64_TRUE@uninstall-startup: uninstall-am
- 
- @USE_NETBSD_TRUE@afpd: rc.afpd.netbsd
--@USE_NETBSD_TRUE@     cp -f $< $@
-+@USE_NETBSD_TRUE@     cp -f $? $@
- @USE_NETBSD_TRUE@     chmod a+x $@
- 
- @USE_NETBSD_TRUE@atalkd: rc.atalkd.netbsd
--@USE_NETBSD_TRUE@     cp -f $< $@
-+@USE_NETBSD_TRUE@     cp -f $? $@
- @USE_NETBSD_TRUE@     chmod a+x $@
- 
- @USE_NETBSD_TRUE@cnid_metad: rc.cnid_metad.netbsd
--@USE_NETBSD_TRUE@     cp -f $< $@
-+@USE_NETBSD_TRUE@     cp -f $? $@
- @USE_NETBSD_TRUE@     chmod a+x $@
- 
- @USE_NETBSD_TRUE@papd: rc.papd.netbsd
--@USE_NETBSD_TRUE@     cp -f $< $@
-+@USE_NETBSD_TRUE@     cp -f $? $@
- @USE_NETBSD_TRUE@     chmod a+x $@
- 
- @USE_NETBSD_TRUE@timelord: rc.timelord.netbsd
--@USE_NETBSD_TRUE@     cp -f $< $@
-+@USE_NETBSD_TRUE@     cp -f $? $@
- @USE_NETBSD_TRUE@     chmod a+x $@
- 
- @USE_NETBSD_TRUE@install-data-hook:
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-etc_afpd_afp__options.c
--- a/net/netatalk22/patches/patch-etc_afpd_afp__options.c      Tue Jan 10 21:51:52 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-etc_afpd_afp__options.c,v 1.2 2022/01/28 21:18:19 nat Exp $
-
-Allow -1 as a vaild tickleval to disable session tickles.
-As needed on appletalk 58.
-
---- etc/afpd/afp_options.c.orig        2014-03-16 11:17:48.000000000 +0000
-+++ etc/afpd/afp_options.c
-@@ -318,7 +318,7 @@ int afp_options_parseline(char *buf, str
-         options->loginmaxfail = atoi(c);
-     if ((c = getoption(buf, "-tickleval"))) {
-         options->tickleval = atoi(c);
--        if (options->tickleval <= 0) {
-+        if (options->tickleval < 0) {
-             options->tickleval = 30;
-         }
-     }
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-etc_atalkd_main.c
--- a/net/netatalk22/patches/patch-etc_atalkd_main.c    Tue Jan 10 21:51:52 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-etc_atalkd_main.c,v 1.1 2021/09/12 15:52:37 nat Exp $
-
-Set interface address correctly for phase 1 networks on NetBSD.
-
-NB: This is a kludge that should not be required.
-
---- etc/atalkd/main.c.orig     2017-07-09 11:03:31.000000000 +0000
-+++ etc/atalkd/main.c
-@@ -1228,8 +1228,14 @@ void bootaddr(struct interface *iface)
-     }
- 
-     if ( iface->i_flags & IFACE_PHASE1 ) {
-+#ifndef __NetBSD__
-       setaddr( iface, IFACE_PHASE1, 0,
-               iface->i_caddr.sat_addr.s_node, 0, 0 );
-+#else
-+       setaddr( iface, IFACE_PHASE1, iface->i_caddr.sat_addr.s_net,
-+              iface->i_caddr.sat_addr.s_node,
-+              iface->i_rt->rt_firstnet, iface->i_rt->rt_lastnet );
-+#endif
- 
-       if ( iface->i_flags & IFACE_LOOPBACK ) {
-           iface->i_flags |= IFACE_CONFIG | IFACE_ADDR;
diff -r 858f7796e49c -r ef5445eb2e86 net/netatalk22/patches/patch-etc_cnid_dbd_cmd_dbd_scanvol.c
--- a/net/netatalk22/patches/patch-etc_cnid_dbd_cmd_dbd_scanvol.c       Tue Jan 10 21:51:52 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-etc_cnid_dbd_cmd_dbd_scanvol.c,v 1.1 2021/04/02 09:54:26 hauke Exp $
-
-While upstream "officially" only supports unicode volumes, other
-encodings have always worked. So, starting to enforce unicode volumes
-in the repair tool is a funny approach.
-
---- etc/cnid_dbd/cmd_dbd_scanvol.c.orig        2014-03-16 11:17:48.000000000 +0000
-+++ etc/cnid_dbd/cmd_dbd_scanvol.c
-@@ -1204,10 +1204,10 @@ int cmd_dbd_scanvol(DBD *dbd_ref, struct
-     /* Make it accessible for all funcs */
-     dbd = dbd_ref;
- 
--    /* We only support unicode volumes ! */
-+    /* Officially, we only support unicode volumes */
-     if ( vi->v_volcharset != CH_UTF8) {
-         dbd_log( LOGSTD, "Not a Unicode volume: %s, %u != %u", vi->v_volcodepage, vi->v_volcharset, CH_UTF8);
--        return -1;
-+        /* return -1; */
-     }



Home | Main Index | Thread Index | Old Index