Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 0FDAC7A1BE for ; Thu, 13 Apr 2017 14:35:55 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id B3F7984DA7; Thu, 13 Apr 2017 14:35:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4453884D82 for ; Thu, 13 Apr 2017 14:35:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id zIrKXBc6KUD9 for ; Thu, 13 Apr 2017 14:35:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8576A84CDC for ; Thu, 13 Apr 2017 14:35:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 835C1FBE4; Thu, 13 Apr 2017 14:35:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1492094153105420" MIME-Version: 1.0 Date: Thu, 13 Apr 2017 14:35:53 +0000 From: "Hauke Fath" Subject: CVS commit: pkgsrc/net/netatalk22 To: pkgsrc-changes@NetBSD.org Reply-To: hauke@netbsd.org X-Mailer: log_accum Message-Id: <20170413143553.835C1FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1492094153105420 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: hauke Date: Thu Apr 13 14:35:53 UTC 2017 Modified Files: pkgsrc/net/netatalk22: Makefile distinfo options.mk Added Files: pkgsrc/net/netatalk22/patches: patch-etc_papd_print_cups.c Log Message: #define CUPS API compatibility options so we can build against newer CUPS versions, and switch dependency away from cups15. Update conflicts list. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/netatalk22/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/netatalk22/distinfo \ pkgsrc/net/netatalk22/options.mk cvs rdiff -u -r0 -r1.1 \ pkgsrc/net/netatalk22/patches/patch-etc_papd_print_cups.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1492094153105420 Content-Disposition: inline Content-Length: 4025 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/netatalk22/Makefile diff -u pkgsrc/net/netatalk22/Makefile:1.6 pkgsrc/net/netatalk22/Makefile:1.7 --- pkgsrc/net/netatalk22/Makefile:1.6 Sat Jul 9 06:38:44 2016 +++ pkgsrc/net/netatalk22/Makefile Thu Apr 13 14:35:53 2017 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2016/07/09 06:38:44 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2017/04/13 14:35:53 hauke Exp $ DISTNAME= netatalk-2.2.5 PKGNAME= ${DISTNAME:C/-/22-/} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= net print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} EXTRACT_SUFX= .tar.bz2 @@ -32,7 +32,7 @@ CONF_FILES+= ${EGDIR}/atalkd.conf ${PKG_ CONF_FILES+= ${EGDIR}/netatalk.conf ${PKG_SYSCONFDIR}/netatalk.conf CONF_FILES+= ${EGDIR}/papd.conf ${PKG_SYSCONFDIR}/papd.conf -CONFLICTS= netatalk30-[0-9]* netatalk-[0-9]* +CONFLICTS= netatalk3-[0-9]* netatalk30-[0-9]* netatalk-[0-9]* CONFLICTS+= netatalk-asun-[0-9]* netatalk-umich-[0-9]* .include "../../mk/bsd.prefs.mk" Index: pkgsrc/net/netatalk22/distinfo diff -u pkgsrc/net/netatalk22/distinfo:1.2 pkgsrc/net/netatalk22/distinfo:1.3 --- pkgsrc/net/netatalk22/distinfo:1.2 Wed Nov 4 00:35:15 2015 +++ pkgsrc/net/netatalk22/distinfo Thu Apr 13 14:35:53 2017 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 00:35:15 agc Exp $ +$NetBSD: distinfo,v 1.3 2017/04/13 14:35:53 hauke Exp $ SHA1 (netatalk-2.2.5.tar.bz2) = 4367421213d68b8396cf35743e347e9c01bdf3b0 RMD160 (netatalk-2.2.5.tar.bz2) = ff0165806973b19db906406fd4b37dd49d505a27 @@ -20,6 +20,7 @@ SHA1 (patch-distrib_initscripts_Makefile SHA1 (patch-etc_afpd_afp_mdns.c) = ab87bf511466ef183de1ee8f8a9ad1fbb8776066 SHA1 (patch-etc_afpd_filedir.c) = ae139f008ca322932dc495f18dfa277085a4c2ed SHA1 (patch-etc_afpd_quota_c) = 5005abb6528c0b3160a587fbe9fb285f485e6759 +SHA1 (patch-etc_papd_print_cups.c) = 0bfa8d75691e11e3bbbc0bb59cd342fb5500b6ac SHA1 (patch-etc_uams_uams_gss.c) = b9ff59c368e01d3f269e95f5eaeb239dc17e701c SHA1 (patch-include_atalk_acl.h) = 62d67eaf089126b2c0bff0871b23f7a6707e119c SHA1 (patch-include_atalk_ldapconfig.h) = d0bb4a1bf520b18228de6ab87b646f4496852fce Index: pkgsrc/net/netatalk22/options.mk diff -u pkgsrc/net/netatalk22/options.mk:1.2 pkgsrc/net/netatalk22/options.mk:1.3 --- pkgsrc/net/netatalk22/options.mk:1.2 Wed Jun 18 09:26:10 2014 +++ pkgsrc/net/netatalk22/options.mk Thu Apr 13 14:35:53 2017 @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2014/06/18 09:26:10 wiz Exp $ +# $NetBSD: options.mk,v 1.3 2017/04/13 14:35:53 hauke Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.netatalk PKG_SUPPORTED_OPTIONS= cups debug dnssd kerberos ldap pam slp @@ -6,7 +6,7 @@ PKG_SUPPORTED_OPTIONS= cups debug dnssd .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mcups) -.include "../../print/cups15/buildlink3.mk" +.include "../../print/cups/buildlink3.mk" CONFIGURE_ARGS+= --enable-cups .else CONFIGURE_ARGS+= --disable-cups Added files: Index: pkgsrc/net/netatalk22/patches/patch-etc_papd_print_cups.c diff -u /dev/null pkgsrc/net/netatalk22/patches/patch-etc_papd_print_cups.c:1.1 --- /dev/null Thu Apr 13 14:35:53 2017 +++ pkgsrc/net/netatalk22/patches/patch-etc_papd_print_cups.c Thu Apr 13 14:35:53 2017 @@ -0,0 +1,25 @@ +$NetBSD: patch-etc_papd_print_cups.c,v 1.1 2017/04/13 14:35:53 hauke Exp $ + +Post-1.6 CUPS has deprecated various function calls, and turned +central data structures opaque, only to be accessed by accessor +functions. Since the project offers little help in migrating existing +source, we follow everybody else in flicking the magic switches to +re-enable the olde ways. + +--- etc/papd/print_cups.c.orig 2013-07-23 09:10:55.000000000 +0000 ++++ etc/papd/print_cups.c +@@ -39,7 +39,14 @@ + + #ifdef HAVE_CUPS + ++/* enable pre-1.6 CUPS API for now */ ++#define _PPD_DEPRECATED ++/* expose structs that are private post-1.5 CUPS */ ++#define _IPP_PRIVATE_STRUCTURES 1 ++ ++#include + #include ++#include + #include + #include + #include --_----------=_1492094153105420--