head	1.15;
access;
symbols
	pkgsrc-2026Q1:1.15.0.2
	pkgsrc-2026Q1-base:1.15
	pkgsrc-2025Q4:1.14.0.10
	pkgsrc-2025Q4-base:1.14
	pkgsrc-2025Q3:1.14.0.8
	pkgsrc-2025Q3-base:1.14
	pkgsrc-2025Q2:1.14.0.6
	pkgsrc-2025Q2-base:1.14
	pkgsrc-2025Q1:1.14.0.4
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.14.0.2
	pkgsrc-2024Q4-base:1.14
	pkgsrc-2024Q3:1.13.0.2
	pkgsrc-2024Q3-base:1.13
	pkgsrc-2024Q2:1.12.0.14
	pkgsrc-2024Q2-base:1.12
	pkgsrc-2024Q1:1.12.0.12
	pkgsrc-2024Q1-base:1.12
	pkgsrc-2023Q4:1.12.0.10
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.12.0.8
	pkgsrc-2023Q3-base:1.12
	pkgsrc-2023Q2:1.12.0.6
	pkgsrc-2023Q2-base:1.12
	pkgsrc-2023Q1:1.12.0.4
	pkgsrc-2023Q1-base:1.12
	pkgsrc-2022Q4:1.12.0.2
	pkgsrc-2022Q4-base:1.12
	pkgsrc-2022Q3:1.11.0.24
	pkgsrc-2022Q3-base:1.11
	pkgsrc-2022Q2:1.11.0.22
	pkgsrc-2022Q2-base:1.11
	pkgsrc-2022Q1:1.11.0.20
	pkgsrc-2022Q1-base:1.11
	pkgsrc-2021Q4:1.11.0.18
	pkgsrc-2021Q4-base:1.11
	pkgsrc-2021Q3:1.11.0.16
	pkgsrc-2021Q3-base:1.11
	pkgsrc-2021Q2:1.11.0.14
	pkgsrc-2021Q2-base:1.11
	pkgsrc-2021Q1:1.11.0.12
	pkgsrc-2021Q1-base:1.11
	pkgsrc-2020Q4:1.11.0.10
	pkgsrc-2020Q4-base:1.11
	pkgsrc-2020Q3:1.11.0.8
	pkgsrc-2020Q3-base:1.11
	pkgsrc-2020Q2:1.11.0.6
	pkgsrc-2020Q2-base:1.11
	pkgsrc-2020Q1:1.11.0.2
	pkgsrc-2020Q1-base:1.11
	pkgsrc-2019Q4:1.11.0.4
	pkgsrc-2019Q4-base:1.11
	pkgsrc-2019Q3:1.10.0.4
	pkgsrc-2019Q3-base:1.10
	pkgsrc-2019Q2:1.10.0.2
	pkgsrc-2019Q2-base:1.10
	pkgsrc-2019Q1:1.9.0.6
	pkgsrc-2019Q1-base:1.9
	pkgsrc-2018Q4:1.9.0.4
	pkgsrc-2018Q4-base:1.9
	pkgsrc-2018Q3:1.9.0.2
	pkgsrc-2018Q3-base:1.9
	pkgsrc-2018Q2:1.8.0.24
	pkgsrc-2018Q2-base:1.8
	pkgsrc-2018Q1:1.8.0.22
	pkgsrc-2018Q1-base:1.8
	pkgsrc-2017Q4:1.8.0.20
	pkgsrc-2017Q4-base:1.8
	pkgsrc-2017Q3:1.8.0.18
	pkgsrc-2017Q3-base:1.8
	pkgsrc-2017Q2:1.8.0.14
	pkgsrc-2017Q2-base:1.8
	pkgsrc-2017Q1:1.8.0.12
	pkgsrc-2017Q1-base:1.8
	pkgsrc-2016Q4:1.8.0.10
	pkgsrc-2016Q4-base:1.8
	pkgsrc-2016Q3:1.8.0.8
	pkgsrc-2016Q3-base:1.8
	pkgsrc-2016Q2:1.8.0.6
	pkgsrc-2016Q2-base:1.8
	pkgsrc-2016Q1:1.8.0.4
	pkgsrc-2016Q1-base:1.8
	pkgsrc-2015Q4:1.8.0.2
	pkgsrc-2015Q4-base:1.8
	pkgsrc-2015Q3:1.6.0.6
	pkgsrc-2015Q3-base:1.6
	pkgsrc-2015Q2:1.6.0.4
	pkgsrc-2015Q2-base:1.6
	pkgsrc-2015Q1:1.6.0.2
	pkgsrc-2015Q1-base:1.6
	pkgsrc-2014Q4:1.5.0.8
	pkgsrc-2014Q4-base:1.5
	pkgsrc-2014Q3:1.5.0.6
	pkgsrc-2014Q3-base:1.5
	pkgsrc-2014Q2:1.5.0.4
	pkgsrc-2014Q2-base:1.5
	pkgsrc-2014Q1:1.5.0.2
	pkgsrc-2014Q1-base:1.5
	pkgsrc-2013Q4:1.4.0.4
	pkgsrc-2013Q4-base:1.4
	pkgsrc-2013Q3:1.4.0.2
	pkgsrc-2013Q3-base:1.4
	pkgsrc-2013Q2:1.3.0.6
	pkgsrc-2013Q2-base:1.3
	pkgsrc-2013Q1:1.3.0.4
	pkgsrc-2013Q1-base:1.3
	pkgsrc-2012Q4:1.3.0.2
	pkgsrc-2012Q4-base:1.3
	pkgsrc-2012Q3:1.2.0.2
	pkgsrc-2012Q3-base:1.2;
locks; strict;
comment	@# @;


1.15
date	2026.02.06.13.21.32;	author taca;	state Exp;
branches;
next	1.14;
commitid	5kgvNbKQ3GcdOjtG;

1.14
date	2024.11.06.15.31.01;	author taca;	state Exp;
branches;
next	1.13;
commitid	JS5qK6vZMGyCdBwF;

1.13
date	2024.06.30.06.46.07;	author taca;	state Exp;
branches;
next	1.12;
commitid	ROFaL4Di3jytsYfF;

1.12
date	2022.12.22.02.05.55;	author taca;	state Exp;
branches;
next	1.11;
commitid	yukZj16hiaqxMu6E;

1.11
date	2019.11.03.11.45.52;	author rillig;	state Exp;
branches;
next	1.10;
commitid	llzTCvoTAgLcNoJB;

1.10
date	2019.05.23.19.23.11;	author rillig;	state Exp;
branches;
next	1.9;
commitid	aWlQW8HYUUFCAmoB;

1.9
date	2018.07.04.13.40.30;	author jperkin;	state Exp;
branches;
next	1.8;
commitid	NnIyRkdX3Lbg3PIA;

1.8
date	2015.10.08.14.05.55;	author taca;	state Exp;
branches;
next	1.7;
commitid	z8YFLwXtc3vFmjEy;

1.7
date	2015.09.26.15.12.14;	author taca;	state Exp;
branches;
next	1.6;
commitid	3mBZHWg9tCyv7MCy;

1.6
date	2015.03.15.18.59.08;	author tnn;	state Exp;
branches;
next	1.5;
commitid	zH9emZO6VEaYDJdy;

1.5
date	2014.01.27.18.41.14;	author wiz;	state Exp;
branches;
next	1.4;
commitid	GCXbE7QnKmwRMMmx;

1.4
date	2013.07.12.10.45.00;	author jperkin;	state Exp;
branches;
next	1.3;
commitid	vVOw5ngQ2VNQxaXw;

1.3
date	2012.10.23.17.19.06;	author asau;	state Exp;
branches;
next	1.2;

1.2
date	2012.08.13.18.43.33;	author imil;	state Exp;
branches;
next	1.1;

1.1
date	2012.08.12.16.13.02;	author imil;	state Exp;
branches;
next	;


desc
@@


1.15
log
@net/ruby-stompserver: remove dead code

Remove code for ruby31 had removed from pkgsrc.
@
text
@# $NetBSD: Makefile,v 1.14 2024/11/06 15:31:01 taca Exp $

DISTNAME=	drizztbsd-stompserver-1c7a275
PKGNAME=	${RUBY_PKGPREFIX}-stompserver-1.0.0
PKGREVISION=	3
CATEGORIES=	net

MAINTAINER=	imil@@NetBSD.org
HOMEPAGE=	https://github.com/drizzt/stompserver
COMMENT=	Stomp messaging server
LICENSE=	mit
MASTER_SITES=	https://nodeload.github.com/drizztbsd/stompserver/tarball/
DISTFILES=	1c7a275272f14ba3ce9d4c7f27402e659f775498

# FETCH_OUTPUT_ARGS does not seem to work, we'll extract ourselves
USE_TOOLS=	gzip tar

DEPENDS+=	${RUBY_PKGPREFIX}-eventmachine>=0.12.10:../../devel/ruby-eventmachine
DEPENDS+=	${RUBY_PKGPREFIX}-hoe>=3.0.6:../../devel/ruby-hoe
DEPENDS+=	${RUBY_PKGPREFIX}-daemons>=1.1.8:../../misc/ruby-daemons

WRKSRC=		${WRKDIR}/${DISTNAME}

GEM_BUILD=	rake
GEM_NAME=	stompserver-1.0.0

.include "../../mk/bsd.prefs.mk"

BUILD_DEFS+=	VARBASE STOMPSERVER_WRKDIR

STOMPSERVER_WRKDIR?=	${VARBASE}/lib/stompserver
# It seems everything in this software is relative to "working_dir"
STOMPSERVER_LOGDIR?=	log
STOMPSERVER_PIDDIR?=	pid
STOMPSERVER_PIDFILE?=	${STOMPSERVER_PIDDIR}/stompserver.pid
STOMPSERVER_CFGDIR?=	etc
STOMPSERVER_STORAGE?=	storage
STOMPSERVER_USER?=	stompserver
STOMPSERVER_GROUP?=	stompserver

PKG_USERS_VARS+=	STOMPSERVER_USER
PKG_GROUPS_VARS+=	STOMPSERVER_GROUP

PKG_USERS=			${STOMPSERVER_USER}:${STOMPSERVER_GROUP}
PKG_GROUPS=			${STOMPSERVER_GROUP}
PKG_GECOS.${STOMPSERVER_USER}=	stompserver server user
PKG_HOME.${STOMPSERVER_USER}=	${STOMPSERVER_WRKDIR}
PKG_SHELL.${STOMPSERVER_USER}=	${NOLOGIN}

EGDIR=		${PREFIX}/share/examples/stompserver

ST_ROOT=	${STOMPSERVER_WRKDIR}

CONF_FILES+=	${PREFIX}/share/examples/stompserver/stompserver.conf	\
		${ST_ROOT}/${STOMPSERVER_CFGDIR}/stompserver.conf

RCD_SCRIPTS=	stompserver

INSTALLATION_DIRS=	bin share/examples/stompserver

OWN_DIRS+=		${STOMPSERVER_WRKDIR}			\
			${ST_ROOT}/${STOMPSERVER_LOGDIR}	\
			${ST_ROOT}/${STOMPSERVER_STORAGE}	\
			${ST_ROOT}/${STOMPSERVER_PIDDIR}	\
			${ST_ROOT}/${STOMPSERVER_CFGDIR}
OWN_DIRS_PERMS+=	${STOMPSERVER_WRKDIR}			\
			${STOMPSERVER_USER} ${STOMPSERVER_GROUP} 0755
OWN_DIRS_PERMS+=	${ST_ROOT}/${STOMPSERVER_LOGDIR}	\
			${STOMPSERVER_USER} ${STOMPSERVER_GROUP} 0755
OWN_DIRS_PERMS+=	${ST_ROOT}/${STOMPSERVER_STORAGE}	\
			${STOMPSERVER_USER} ${STOMPSERVER_GROUP} 0700
OWN_DIRS_PERMS+=	${ST_ROOT}/${STOMPSERVER_PIDDIR}	\
			${STOMPSERVER_USER} ${STOMPSERVER_GROUP} 0755
OWN_DIRS_PERMS+=	${ST_ROOT}/${STOMPSERVER_CFGDIR}	\
			${STOMPSERVER_USER} ${STOMPSERVER_GROUP} 0700

SUBST_CLASSES+=		cfg
SUBST_STAGE.cfg=	pre-configure
SUBST_FILES.cfg=	config/stompserver.conf
SUBST_VARS.cfg=		STOMPSERVER_WRKDIR
SUBST_VARS.cfg+=	STOMPSERVER_LOGDIR
SUBST_VARS.cfg+=	STOMPSERVER_PIDFILE
SUBST_VARS.cfg+=	STOMPSERVER_CFGDIR
SUBST_VARS.cfg+=	STOMPSERVER_STORAGE
SUBST_VARS.cfg+=	STOMPSERVER_USER
SUBST_VARS.cfg+=	STOMPSERVER_GROUP

FILES_SUBST+=		STOMPSERVER_RCD_CFG=${ST_ROOT}/${STOMPSERVER_CFGDIR}
FILES_SUBST+=		STOMPSERVER_RCD_PID=${ST_ROOT}/${STOMPSERVER_PIDFILE}

MESSAGE_SUBST+=		STOMPSERVER_WRKDIR=${STOMPSERVER_WRKDIR}

do-extract:
	${TAR} -zxf ${DISTDIR}/${DISTFILES} -C ${WRKDIR}

post-install:
	${INSTALL_DATA} ${WRKSRC}/config/stompserver.conf ${DESTDIR}${EGDIR}

.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
@


1.14
log
@net/ruby-stompserver: fix build with Ruby 3.1

Fix build with Ruby 3.1 since it require newer version of ruby-minitest.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/06/30 06:46:07 taca Exp $
a98 5
.include "../../lang/ruby/rubyversion.mk"
.if ${RUBY_VER} == 31
DEPENDS+=	${RUBY_PKGPREFIX}-minitest>=5.16.0:../../devel/ruby-minitest
.endif

@


1.13
log
@Reflect PKGPATH change of ruby-hoe package
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/12/22 02:05:55 taca Exp $
d99 5
@


1.12
log
@net/ruby-stompserver: fix build problem with hoe 4.0.1

hoe 4.0.0 drop support for deprecated format of README files.
So, fix it to hoe's current parser.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2019/11/03 11:45:52 rillig Exp $
d19 1
a19 1
DEPENDS+=	${RUBY_PKGPREFIX}-hoe>=3.0.6:../../devel/hoe
@


1.11
log
@net: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/05/23 19:23:11 rillig Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.10
log
@all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2018/07/04 13:40:30 jperkin Exp $
d44 5
a48 5
PKG_USERS=	${STOMPSERVER_USER}:${STOMPSERVER_GROUP}
PKG_GROUPS=	${STOMPSERVER_GROUP}
PKG_GECOS.${STOMPSERVER_USER}=stompserver server user
PKG_HOME.${STOMPSERVER_USER}=${STOMPSERVER_WRKDIR}
PKG_SHELL.${STOMPSERVER_USER}=${NOLOGIN}
@


1.9
log
@*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2015/10/08 14:05:55 taca Exp $
d80 7
a86 7
SUBST_SED.cfg=		-e 's,@@STOMPSERVER_WRKDIR@@,${STOMPSERVER_WRKDIR},g'
SUBST_SED.cfg+=		-e 's,@@STOMPSERVER_LOGDIR@@,${STOMPSERVER_LOGDIR},g'
SUBST_SED.cfg+=		-e 's,@@STOMPSERVER_PIDFILE@@,${STOMPSERVER_PIDFILE},g'
SUBST_SED.cfg+=		-e 's,@@STOMPSERVER_CFGDIR@@,${STOMPSERVER_CFGDIR},g'
SUBST_SED.cfg+=		-e 's,@@STOMPSERVER_STORAGE@@,${STOMPSERVER_STORAGE},g'
SUBST_SED.cfg+=		-e 's,@@STOMPSERVER_USER@@,${STOMPSERVER_USER},g'
SUBST_SED.cfg+=		-e 's,@@STOMPSERVER_GROUP@@,${STOMPSERVER_GROUP},g'
@


1.8
log
@Remove .gemtest from PLIST since it is not generated by rake with newer
version of hoe.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2015/09/26 15:12:14 taca Exp $
d78 1
a78 1
SUBST_STAGE.cfg=	post-patch
@


1.7
log
@Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/03/15 18:59:08 tnn Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.6
log
@needs gzip in manual extract target
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2014/01/27 18:41:14 wiz Exp $
d9 1
a9 1
HOMEPAGE=	http://stompserver.rubyforge.org/
@


1.5
log
@Do not set FETCH_USING, should not be set in a package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2013/07/12 10:45:00 jperkin Exp $
d16 1
a16 1
USE_TOOLS=	tar
@


1.4
log
@Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2012/10/23 17:19:06 asau Exp $
a14 2
# needed for https on github
FETCH_USING=	curl
@


1.3
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2012/08/13 18:43:33 imil Exp $
d5 1
@


1.2
log
@Updated to unofficial version 1.0.0 from
https://github.com/drizztbsd/stompserver/commits/master

This version fixes stompserver for Ruby 1.9 and properly supports rake.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2012/08/12 16:13:02 imil Exp $
a22 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.1
log
@Initial import of ruby-stompserver, version 0.9.9, into the NetBSD Packages
Collection.

Stompserver handles basic message queue processing.

It is Stomp messaging server with file/dbm/memory/activerecord based FIFO
queues, queue monitoring, and basic authentication.
@
text
@d1 1
a1 1
# $NetBSD$
d3 2
a4 1
DISTNAME=	stompserver-0.9.9
d11 7
d23 7
d53 1
a53 1
EGDIR=		${DESTDIR}${PREFIX}/share/examples/stompserver
d96 3
d100 1
a100 1
	${INSTALL_DATA} ${WRKSRC}/config/stompserver.conf ${EGDIR}
@

