head	1.2;
access;
symbols
	pkgsrc-2026Q1:1.2.0.10
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.8
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.2.0.6
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.2.0.4
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.2
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.1.0.2
	pkgsrc-2024Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2025.03.10.07.57.40;	author vins;	state Exp;
branches;
next	1.1;
commitid	5ETJS0D3AFwTIuMF;

1.1
date	2024.12.04.22.54.16;	author vins;	state Exp;
branches;
next	;
commitid	HTWAfxiGkzcqLeAF;


desc
@@


1.2
log
@opensmtpd-table-ldap: fix build on SunOS
@
text
@# $NetBSD: Makefile,v 1.1 2024/12/04 22:54:16 vins Exp $

DISTNAME=	table-ldap-1.0
PKGREVISION=	1
PKGNAME=	${DISTNAME:S|^|opensmtpd-|}
CATEGORIES=	mail databases
MASTER_SITES=	${MASTER_SITE_GITHUB:=opensmtpd/}
GITHUB_PROJECT=	table-ldap
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	vins@@NetBSD.org
HOMEPAGE=	https://github.com/opensmtpd/table-ldap
COMMENT=	OpenSMTPD LDAP table add-on
LICENSE=	isc

CONFLICTS+=	opensmtpd-extras-[0-9]*
DEPENDS+=	opensmtpd>=7.6.0:../../mail/opensmtpd

USE_FEATURES+=	cdefs
USE_TOOLS+=	autoconf automake autoreconf

LDFLAGS.SunOS+=	-lsocket

GNU_CONFIGURE=	yes

SUBST_CLASSES+=		dir
SUBST_STAGE.dir=	pre-configure
SUBST_MESSAGE.dir=	Fixing smtpdir for pkgsrc.
SUBST_FILES.dir=	Makefile.am
SUBST_SED.dir+=		-e "s:libexec/smtpd:libexec/opensmtpd:g"

INSTALLATION_DIRS+=	share/examples/opensmtpd

pre-configure:
	${RUN}set -e; cd ${WRKSRC} && autoreconf -fiv

post-install:
.for f in table-ldap.conf.example
	${INSTALL_DATA} ${WRKSRC}/${f} \
		${DESTDIR}${PREFIX}/share/examples/opensmtpd/${f:S/.example//}
.endfor

.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/libretls/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@Initial import of the new OpenSMTPD tables:

* opensmtpd-table-ldap
* opensmtpd-table-mysql
* opensmtpd-table-passwd
* opensmtpd-table-postgres
* opensmtpd-table-redis
* opensmtpd-table-socketmap
* opensmtpd-table-sqlite

These new packages replace the previous opensmtpd-extras.  All the
tables, except table-python which is no longer available, were
converted to the new smtpd-tables(7) protocol and won't need any
configuration change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/09/06 18:48:48 bsiegert Exp $
d4 1
d19 1
d22 2
d35 1
a35 1
	set -e; cd ${WRKSRC} && autoreconf -fiv
@

