head	1.4;
access;
symbols
	pkgsrc-2026Q1:1.4.0.2
	pkgsrc-2026Q1-base:1.4
	pkgsrc-2025Q4:1.3.0.6
	pkgsrc-2025Q4-base:1.3
	pkgsrc-2025Q3:1.3.0.4
	pkgsrc-2025Q3-base:1.3
	pkgsrc-2025Q2:1.3.0.2
	pkgsrc-2025Q2-base:1.3
	pkgsrc-2025Q1:1.1.0.6
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.4
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.2
	pkgsrc-2024Q3-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2026.02.03.09.08.18;	author wiz;	state Exp;
branches;
next	1.3;
commitid	EusuYqpKtsWyvUsG;

1.3
date	2025.04.10.19.32.52;	author pin;	state Exp;
branches;
next	1.2;
commitid	LbFZej2fnKvDzxQF;

1.2
date	2025.03.30.08.53.00;	author vins;	state Exp;
branches;
next	1.1;
commitid	Eyil7uh4bZGin4PF;

1.1
date	2024.07.30.17.05.19;	author vins;	state Exp;
branches;
next	;
commitid	vJj2EZKy8pONTSjF;


desc
@@


1.4
log
@redlib: fix HOMEPAGE
@
text
@# $NetBSD: Makefile,v 1.3 2025/04/10 19:32:52 pin Exp $

DISTNAME=	redlib-0.36.0
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GITHUB:=redlib-org/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	vins@@NetBSD.org
HOMEPAGE=	https://github.com/redlib-org/redlib
COMMENT=	Private front-end for Reddit
LICENSE=	gnu-agpl-v3

# See, https://github.com/briansmith/ring/issues/1999
.include "../../mk/compiler/i386-sse2.mk"

CONFLICTS+=	libreddit-[0-9]*
SUPERSEDES+=	libreddit-[0-9]*
PREV_PKGPATH=	www/libreddit

.include "cargo-depends.mk"

DEPENDS+=	daemonize-[0-9]*:../../sysutils/daemonize

RCD_SCRIPTS=	redlib

EGDIR=		${PREFIX}/share/examples/${PKGBASE}
CONF_FILES+=	${EGDIR}/redlib.conf \
		${PKG_SYSCONFDIR}/redlib.conf

INSTALLATION_DIRS=	bin share/examples/${PKGBASE}

MAKE_ENV+=	OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/redlib \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${FILESDIR}/redlib.conf ${DESTDIR}${EGDIR}

.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.3
log
@www/redlib: needs sse2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/03/30 08:53:00 vins Exp $
d9 1
a9 1
HOMEPAGE=	https://github.com/redlib/redlib/
@


1.2
log
@www/redlib: update to 0.36.0

No changelog provided, refer to git commit log.
This release fixes a several bugs, including a denial-of-service
vulnerability; see:
https://github.com/redlib-org/redlib/security/advisories/GHSA-g8vq-v3mg-7mrg
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2024/07/30 17:05:19 vins Exp $
d13 3
@


1.1
log
@www/redlib: initial import of redlib-0.35.1

This package is meant as a drop-in replacement for the dormant
www/libreddit, of which it represents a fork and a direct continuation.
For a list of changes committed since the initial fork, please refer to:
https://github.com/redlib-org/redlib/releases
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	redlib-0.35.1
@

