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 2diff -r1.49 -r1.50 pkgsrc/net/netatalk22/Makefile
(hauke)
@@ -1,21 +1,19 @@ | @@ -1,21 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.49 2023/01/03 17:38:02 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.50 2023/01/10 22:07:33 hauke Exp $ | |
2 | 2 | |||
3 | DISTNAME= netatalk-2.2.6 | 3 | DISTNAME= netatalk-2.2.7 | |
4 | PKGNAME= ${DISTNAME:C/-/22-/} | 4 | PKGNAME= ${DISTNAME:C/-/22-/} | |
5 | PKGREVISION= 33 | |||
6 | CATEGORIES= net print | 5 | CATEGORIES= net print | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=Netatalk/}Netatalk/releases/download/netatalk-2-2-7/ | |
8 | EXTRACT_SUFX= .tar.bz2 | |||
9 | #PATCHFILES= patch-adv1tov2.c | 7 | #PATCHFILES= patch-adv1tov2.c | |
10 | PATCH_SITES= http://svn.macosforge.org/repository/macports/trunk/dports/net/netatalk/files/ \ | 8 | PATCH_SITES= http://svn.macosforge.org/repository/macports/trunk/dports/net/netatalk/files/ \ | |
11 | http://mirror.lug.udel.edu/pub/macports/trunk/dports/net/netatalk/files/ | 9 | http://mirror.lug.udel.edu/pub/macports/trunk/dports/net/netatalk/files/ | |
12 | 10 | |||
13 | MAINTAINER= markd@NetBSD.org | 11 | MAINTAINER= markd@NetBSD.org | |
14 | HOMEPAGE= http://netatalk.sourceforge.net/ | 12 | HOMEPAGE= http://netatalk.sourceforge.net/ | |
15 | COMMENT= Netatalk appletalk file and print services | 13 | COMMENT= Netatalk appletalk file and print services | |
16 | LICENSE= gnu-gpl-v2 | 14 | LICENSE= gnu-gpl-v2 | |
17 | 15 | |||
18 | BDB_ACCEPTED= db4 db5 | 16 | BDB_ACCEPTED= db4 db5 | |
19 | USE_LIBTOOL= yes | 17 | USE_LIBTOOL= yes | |
20 | USE_TOOLS+= gmake pkg-config perl:run | 18 | USE_TOOLS+= gmake pkg-config perl:run | |
21 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
@@ -49,34 +47,32 @@ CONFIGURE_ARGS+= --localstatedir=${VARBA | @@ -49,34 +47,32 @@ CONFIGURE_ARGS+= --localstatedir=${VARBA | |||
49 | CONFIGURE_ARGS+= --with-uams-path=${PREFIX}/libexec/netatalk/uams | 47 | CONFIGURE_ARGS+= --with-uams-path=${PREFIX}/libexec/netatalk/uams | |
50 | CONFIGURE_ARGS+= --with-bdb=${BDBBASE} | 48 | CONFIGURE_ARGS+= --with-bdb=${BDBBASE} | |
51 | CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl} | 49 | CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl} | |
52 | CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} | 50 | CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} | |
53 | 51 | |||
54 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/msg | 52 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/msg | |
55 | 53 | |||
56 | SUBST_CLASSES+= paths | 54 | SUBST_CLASSES+= paths | |
57 | SUBST_MESSAGE.paths= Fixing hardcoded paths. | 55 | SUBST_MESSAGE.paths= Fixing hardcoded paths. | |
58 | SUBST_STAGE.paths= pre-configure | 56 | SUBST_STAGE.paths= pre-configure | |
59 | SUBST_FILES.paths= etc/psf/etc2ps.sh | 57 | SUBST_FILES.paths= etc/psf/etc2ps.sh | |
60 | SUBST_SED.paths= -e 's,^\(DVIPS="*\)/usr\(/bin\),\1${PREFIX}\2,' | 58 | SUBST_SED.paths= -e 's,^\(DVIPS="*\)/usr\(/bin\),\1${PREFIX}\2,' | |
61 | 59 | |||
62 | PLIST_VARS+= rcd | |||
63 | .if ${OPSYS} == "NetBSD" | 60 | .if ${OPSYS} == "NetBSD" | |
64 | CONFIGURE_ARGS+= --enable-netbsd | 61 | CONFIGURE_ARGS+= --enable-netbsd | |
65 | RCD_SCRIPTS= afpd atalkd papd timelord cnid_metad | 62 | RCD_SCRIPTS= afpd atalkd papd timelord cnid_metad | |
66 | . for f in ${RCD_SCRIPTS} | 63 | . for f in ${RCD_SCRIPTS} | |
67 | RCD_SCRIPT_SRC.${f}= ${WRKSRC}/distrib/initscripts/${f} | 64 | RCD_SCRIPT_SRC.${f}= ${WRKSRC}/distrib/initscripts/${f} | |
68 | . endfor | 65 | . endfor | |
69 | PLIST.rcd= yes | |||
70 | .endif | 66 | .endif | |
71 | 67 | |||
72 | PLIST_VARS+= ea | 68 | PLIST_VARS+= ea | |
73 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \ | 69 | .if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \ | |
74 | (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 070000) || \ | 70 | (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 070000) || \ | |
75 | ${OPSYS} == "FreeBSD" | 71 | ${OPSYS} == "FreeBSD" | |
76 | PLIST.ea= yes | 72 | PLIST.ea= yes | |
77 | .endif | 73 | .endif | |
78 | 74 | |||
79 | CHECK_SSP_SKIP+= libexec/netatalk/uams/*.a | 75 | CHECK_SSP_SKIP+= libexec/netatalk/uams/*.a | |
80 | 76 | |||
81 | .include "options.mk" | 77 | .include "options.mk" | |
82 | 78 |
@@ -1,23 +1,8 @@ | @@ -1,23 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2022/01/28 21:18:18 nat Exp $ | 1 | $NetBSD: distinfo,v 1.14 2023/01/10 22:07:33 hauke Exp $ | |
2 | 2 | |||
3 | BLAKE2s (netatalk-2.2.6.tar.bz2) = 22951265586889d7ac4f01ade0707f1e63389a14623beec787f587e4ef74b891 | 3 | BLAKE2s (netatalk-2.2.7.tar.gz) = a828870c06fcec3aaf1ec4fd6c06411ecc0e687b73f4d29257743de0667798df | |
4 | SHA512 (netatalk-2.2.6.tar.bz2) = 74aa3415a43293a8804b00b0eda564d6536310e59c3f0d067d634db89f4d612a1dfd932df18607c32b948922ae032bc25471e21635ab149a78629ff95c341f47 | 4 | SHA512 (netatalk-2.2.7.tar.gz) = fb6664b2ea700f1a8307eaf452954e2f0c3bb7d082f2df211f17a79d1fc7f3ca4dff0b805beb7b8d10fb23d749fd1990a6b07c029d89d09299677a41b8161220 | |
5 | Size (netatalk-2.2.6.tar.bz2) = 1301887 bytes | 5 | Size (netatalk-2.2.7.tar.gz) = 1849800 bytes | |
6 | SHA1 (patch-config_Makefile.in) = e6b020cf4cf11572a648bee7de0937add1948ea8 | 6 | SHA1 (patch-config_Makefile.in) = 37ed88693c64b5e34396da26f9d7105102ed479b | |
7 | SHA1 (patch-config_afpd.conf.tmpl) = 4ff3dc9ea7af77319dc5be499e04648220022404 | 7 | SHA1 (patch-configure) = 6b9d73ac0c8ba4913834402a587b734d342c3830 | |
8 | SHA1 (patch-configure) = 9919625c3cd54e34ab45c6606094e12215630d33 | 8 | SHA1 (patch-etc_uams_uams__dhx__passwd.c) = a4eb368ae6f1698d906fe1ba2f1600b7a0b20539 | |
9 | SHA1 (patch-distrib_initscripts_Makefile.in) = 706890f9e0aacab4d523cc1900048b7fab96f5d4 | |||
10 | SHA1 (patch-etc_afpd_afp__options.c) = ab65d03c61f8be65e8afc3bd102e5e13e642f1b9 | |||
11 | SHA1 (patch-etc_atalkd_main.c) = bdd452b9ca62e506d056e3818fb7f5b54a9d38c5 | |||
12 | SHA1 (patch-etc_cnid_dbd_cmd_dbd_scanvol.c) = df844b4047e614a3fd44cbcea252627f6fe43b65 | |||
13 | SHA1 (patch-etc_papd_file.c) = 8d050430e8013501230462375c874c8188f12e73 | |||
14 | SHA1 (patch-etc_papd_file.h) = 2464cc27385a8300f8cc3503643db4512d5f368f | |||
15 | SHA1 (patch-etc_papd_magics.c) = 3f25cb45e7a860505895c628490905fe42a1ed62 | |||
16 | SHA1 (patch-etc_papd_print_cups.c) = 8dada275f9525b9229a85492050de982b1e54295 | |||
17 | SHA1 (patch-etc_uams_uams__dhx__pam.c) = 8ed99ff32ca932367c5df7af6889db1abbde7a2e | |||
18 | SHA1 (patch-etc_uams_uams__dhx__passwd.c) = 52e2862aa55268349dfc64a7d71ebc17e1b8830b | |||
19 | SHA1 (patch-etc_uams_uams__randnum.c) = 0608eb6a7b43b0cc360879849c9ca0b38ffdc684 | |||
20 | SHA1 (patch-include_atalk_ldapconfig.h) = e69d212f45ace23773d15c122ca2e550b025f845 | |||
21 | SHA1 (patch-libatalk_asp_asp__getsess.c) = 0ae089ef4f882a1580298707fbeee5d519c83482 | |||
22 | SHA1 (patch-libatalk_bstring_bstrlib.c) = f43818328237b908166f956de464f532d578d2c4 | |||
23 | SHA1 (patch-man_man5_afpd.conf.5.tmpl) = 43dfb930851329e5fe77d2fae4b8b7237a3fe42c |
@@ -1,38 +1,36 @@ | @@ -1,38 +1,36 @@ | |||
1 | # $NetBSD: options.mk,v 1.6 2021/04/02 09:54:26 hauke Exp $ | 1 | # $NetBSD: options.mk,v 1.7 2023/01/10 22:07:33 hauke Exp $ | |
2 | # | 2 | # | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.netatalk | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.netatalk | |
4 | PKG_SUPPORTED_OPTIONS= cups debug dnssd kerberos ldap pam slp | 4 | PKG_SUPPORTED_OPTIONS= cups debug dnssd kerberos ldap pam slp | |
5 | 5 | |||
6 | .include "../../mk/bsd.options.mk" | 6 | .include "../../mk/bsd.options.mk" | |
7 | 7 | |||
8 | .if !empty(PKG_OPTIONS:Mcups) | 8 | .if !empty(PKG_OPTIONS:Mcups) | |
9 | .include "../../print/cups-base/buildlink3.mk" | 9 | .include "../../print/cups-base/buildlink3.mk" | |
10 | CONFIGURE_ARGS+= --enable-cups | 10 | CONFIGURE_ARGS+= --enable-cups | |
11 | .else | 11 | .else | |
12 | CONFIGURE_ARGS+= --disable-cups | 12 | CONFIGURE_ARGS+= --disable-cups | |
13 | .endif | 13 | .endif | |
14 | 14 | |||
15 | PLIST_VARS+= debug | |||
16 | .if !empty(PKG_OPTIONS:Mdebug) | 15 | .if !empty(PKG_OPTIONS:Mdebug) | |
17 | # Debugging | 16 | # Debugging | |
18 | CONFIGURE_ARGS+= --enable-debug1 | 17 | CONFIGURE_ARGS+= --enable-debug1 | |
19 | CONFIGURE_ARGS+= --enable-debug | 18 | CONFIGURE_ARGS+= --enable-debug | |
20 | CONFIGURE_ARGS+= --enable-debugging | 19 | CONFIGURE_ARGS+= --enable-debugging | |
21 | CFLAGS+= -g3 | 20 | CFLAGS+= -g3 | |
22 | INSTALL_UNSTRIPPED= yes | 21 | INSTALL_UNSTRIPPED= yes | |
23 | .endif | 22 | .endif | |
24 | 23 | |||
25 | PLIST_VARS+= dnssd | |||
26 | .if !empty(PKG_OPTIONS:Mdnssd) | 24 | .if !empty(PKG_OPTIONS:Mdnssd) | |
27 | .include "../../net/mDNSResponder/buildlink3.mk" | 25 | .include "../../net/mDNSResponder/buildlink3.mk" | |
28 | CONFIGURE_ARGS+= --enable-zeroconf | 26 | CONFIGURE_ARGS+= --enable-zeroconf | |
29 | .else | 27 | .else | |
30 | # configure patched to zeroconf="no" | 28 | # configure patched to zeroconf="no" | |
31 | .endif | 29 | .endif | |
32 | 30 | |||
33 | PLIST_VARS+= gssapi | 31 | PLIST_VARS+= gssapi | |
34 | .if !empty(PKG_OPTIONS:Mkerberos) | 32 | .if !empty(PKG_OPTIONS:Mkerberos) | |
35 | .include "../../mk/krb5.buildlink3.mk" | 33 | .include "../../mk/krb5.buildlink3.mk" | |
36 | CONFIGURE_ARGS+= --with-gssapi --enable-krbV-uam | 34 | CONFIGURE_ARGS+= --with-gssapi --enable-krbV-uam | |
37 | CONFIGURE_ENV+= GSSAPI_LIBS="-lkrb5 -lroken -lasn1 -lcrypto -lcom_err" | 35 | CONFIGURE_ENV+= GSSAPI_LIBS="-lkrb5 -lroken -lasn1 -lcrypto -lcom_err" | |
38 | PLIST.gssapi= yes | 36 | PLIST.gssapi= yes |
@@ -1,33 +1,22 @@ | @@ -1,33 +1,22 @@ | |||
1 | $NetBSD: patch-config_Makefile.in,v 1.2 2021/04/02 09:54:26 hauke Exp $ | 1 | $NetBSD: patch-config_Makefile.in,v 1.3 2023/01/10 22:07:33 hauke Exp $ | |
2 | ||||
3 | Install afp_ldap.conf based on LDAP support, not ACL support. | |||
4 | 2 | |||
5 | Install config files to examples/netatalk, and leave installation to | 3 | Install config files to examples/netatalk, and leave installation to | |
6 | the pkginstall framerwork. | 4 | the pkginstall framerwork. | |
7 | 5 | |||
8 | Renamed from patch-ah | 6 | Renamed from patch-ah | |
9 | 7 | |||
10 | --- config/Makefile.in.orig 2017-07-09 11:27:05.000000000 +0000 | 8 | --- config/Makefile.in.orig 2017-07-09 11:27:05.000000000 +0000 | |
11 | +++ config/Makefile.in | 9 | +++ config/Makefile.in | |
12 | @@ -88,7 +88,7 @@ POST_UNINSTALL = : | |||
13 | build_triplet = @build@ | |||
14 | host_triplet = @host@ | |||
15 | target_triplet = @target@ | |||
16 | -@HAVE_ACLS_TRUE@am__append_1 = afp_ldap.conf | |||
17 | +@HAVE_LDAP_TRUE@am__append_1 = afp_ldap.conf | |||
18 | @USE_APPLETALK_TRUE@am__append_2 = atalkd.conf papd.conf | |||
19 | subdir = config | |||
20 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |||
21 | @@ -759,13 +759,14 @@ uninstall-local: | 10 | @@ -759,13 +759,14 @@ uninstall-local: | |
22 | rm -f $(DESTDIR)$(pkgconfdir)/$$f; \ | 11 | rm -f $(DESTDIR)$(pkgconfdir)/$$f; \ | |
23 | done | 12 | done | |
24 | @USE_DEBIAN_TRUE@ rm -f $(DESTDIR)/etc/default/netatalk | 13 | @USE_DEBIAN_TRUE@ rm -f $(DESTDIR)/etc/default/netatalk | |
25 | +egconfdir = @prefix@/share/examples/netatalk | 14 | +egconfdir = @prefix@/share/examples/netatalk | |
26 | 15 | |||
27 | install-config-files: $(CONFFILES) $(GENFILES) | 16 | install-config-files: $(CONFFILES) $(GENFILES) | |
28 | - $(mkinstalldirs) $(DESTDIR)$(pkgconfdir) | 17 | - $(mkinstalldirs) $(DESTDIR)$(pkgconfdir) | |
29 | + $(mkinstalldirs) $(DESTDIR)$(egconfdir) | 18 | + $(mkinstalldirs) $(DESTDIR)$(egconfdir) | |
30 | for f in $(CONFFILES) $(GENFILES); do \ | 19 | for f in $(CONFFILES) $(GENFILES); do \ | |
31 | - if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \ | 20 | - if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \ | |
32 | - echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \ | 21 | - echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \ | |
33 | - $(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \ | 22 | - $(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \ |
@@ -1,45 +1,14 @@ | @@ -1,45 +1,14 @@ | |||
1 | $NetBSD: patch-etc_uams_uams__dhx__passwd.c,v 1.2 2021/04/02 09:54:26 hauke Exp $ | 1 | $NetBSD: patch-etc_uams_uams__dhx__passwd.c,v 1.3 2023/01/10 22:07:33 hauke Exp $ | |
2 | 2 | |||
3 | Adapt for new OpenSSL API. | 3 | Don't include headers that are not shipped | |
4 | 4 | |||
5 | --- etc/uams/uams_dhx_passwd.c.orig 2014-03-16 11:17:48.000000000 +0000 | 5 | --- etc/uams/uams_dhx_passwd.c.orig 2022-07-12 04:08:24.000000000 +0000 | |
6 | +++ etc/uams/uams_dhx_passwd.c | 6 | +++ etc/uams/uams_dhx_passwd.c | |
7 | @@ -81,6 +81,7 @@ static int pwd_login(void *obj, char *us | 7 | @@ -37,7 +37,6 @@ | |
8 | struct spwd *sp; | 8 | #include <openssl/bn.h> | |
9 | #endif /* SHADOWPW */ | 9 | #include <openssl/dh.h> | |
10 | BIGNUM *bn, *gbn, *pbn; | 10 | #include <openssl/cast.h> | |
11 | + const BIGNUM *pub_key; | 11 | -#include "openssl_compat.h" | |
12 | u_int16_t sessid; | 12 | #else /* OPENSSL_DHX */ | |
13 | size_t i; | 13 | #include <bn.h> | |
14 | DH *dh; | 14 | #include <dh.h> | |
15 | @@ -144,10 +145,18 @@ static int pwd_login(void *obj, char *us | |||
16 | return AFPERR_PARAM; | |||
17 | } | |||
18 | ||||
19 | + if (!DH_set0_pqg(dh, pbn, NULL, gbn)) { | |||
20 | + BN_free(pbn); | |||
21 | + BN_free(gbn); | |||
22 | + goto passwd_fail; | |||
23 | + } | |||
24 | + | |||
25 | /* generate key and make sure we have enough space */ | |||
26 | - dh->p = pbn; | |||
27 | - dh->g = gbn; | |||
28 | - if (!DH_generate_key(dh) || (BN_num_bytes(dh->pub_key) > KEYSIZE)) { | |||
29 | + if (!DH_generate_key(dh)) { | |||
30 | + goto passwd_fail; | |||
31 | + } | |||
32 | + DH_get0_key(dh, &pub_key, NULL); | |||
33 | + if (BN_num_bytes(pub_key) > KEYSIZE) { | |||
34 | goto passwd_fail; | |||
35 | } | |||
36 | ||||
37 | @@ -164,7 +173,7 @@ static int pwd_login(void *obj, char *us | |||
38 | *rbuflen += sizeof(sessid); | |||
39 | ||||
40 | /* send our public key */ | |||
41 | - BN_bn2bin(dh->pub_key, (unsigned char *)rbuf); | |||
42 | + BN_bn2bin(pub_key, (unsigned char *)rbuf); | |||
43 | rbuf += KEYSIZE; | |||
44 | *rbuflen += KEYSIZE; | |||
45 |
@@ -1,41 +1,15 @@ | @@ -1,41 +1,15 @@ | |||
1 | $NetBSD: patch-configure,v 1.3 2017/07/12 13:56:00 hauke Exp $ | 1 | $NetBSD: patch-configure,v 1.4 2023/01/10 22:07:33 hauke Exp $ | |
2 | ||||
3 | Disable zeroconf explicitely, unless enabled - the distribution | |||
4 | appears not to allow for this. | |||
5 | ||||
6 | We do not at this point support zeroconf via avahi. Since configure | |||
7 | does not allow for building without avahi, and native avahi is picked | |||
8 | up on some Linuxen, we disable all avahi tests unconditionally here. | |||
9 | 2 | |||
10 | Fix build on SunOS by disabling the isainfo bitness check | 3 | Fix build on SunOS by disabling the isainfo bitness check | |
11 | 4 | |||
12 | --- configure.orig 2013-07-23 09:11:35.000000000 +0000 | 5 | --- configure.orig 2023-01-10 08:57:35.000000000 +0000 | |
13 | +++ configure | 6 | +++ configure | |
14 | @@ -16109,7 +16109,7 @@ fi | 7 | @@ -19331,7 +19331,7 @@ printf %s "checking if we have to build | |
15 | if test "${enable_zeroconf+set}" = set; then : | |||
16 | enableval=$enable_zeroconf; zeroconf=$enableval | |||
17 | else | |||
18 | - zeroconf=try | |||
19 | + zeroconf=no | |||
20 | ||||
21 | fi | |||
22 | ||||
23 | @@ -16185,7 +16185,8 @@ $as_echo "#define HAVE_MDNS 1" >>confdef | |||
24 | fi | |||
25 | ||||
26 | # mDNS support using Avahi | |||
27 | - if test x"$found_zeroconf" != x"yes" ; then | |||
28 | + #if test x"$found_zeroconf" != x"yes" ; then | |||
29 | + if 0 ; then | |||
30 | ac_fn_c_check_header_mongrel "$LINENO" "avahi-client/client.h" "ac_cv_header_avahi_client_client_h" "$ac_includes_default" | |||
31 | if test "x$ac_cv_header_avahi_client_client_h" = xyes; then : | |||
32 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5 | |||
33 | @@ -17535,7 +17536,7 @@ $as_echo_n "checking if we have to build | |||
34 | # check for isainfo, if not found it has to be a 32 bit kernel (<=2.6) | 8 | # check for isainfo, if not found it has to be a 32 bit kernel (<=2.6) | |
35 | if test -x /usr/bin/isainfo; then | 9 | if test -x /usr/bin/isainfo; then | |
36 | # check for 64 bit platform | 10 | # check for 64 bit platform | |
37 | - if isainfo -kv | grep '^64-bit'; then | 11 | - if isainfo -kv | grep '^64-bit'; then | |
38 | + if test "$MACHINE_ARCH" = "x86_64"; then | 12 | + if test "$MACHINE_ARCH" = "x86_64"; then | |
39 | COMPILE_64BIT_KMODULE=yes | 13 | COMPILE_64BIT_KMODULE=yes | |
40 | fi | 14 | fi | |
41 | fi | 15 | fi |