head	1.35;
access;
symbols
	pkgsrc-2026Q1:1.35.0.6
	pkgsrc-2026Q1-base:1.35
	pkgsrc-2025Q4:1.35.0.4
	pkgsrc-2025Q4-base:1.35
	pkgsrc-2025Q3:1.35.0.2
	pkgsrc-2025Q3-base:1.35
	pkgsrc-2025Q2:1.34.0.6
	pkgsrc-2025Q2-base:1.34
	pkgsrc-2025Q1:1.34.0.4
	pkgsrc-2025Q1-base:1.34
	pkgsrc-2024Q4:1.34.0.2
	pkgsrc-2024Q4-base:1.34
	pkgsrc-2024Q3:1.33.0.10
	pkgsrc-2024Q3-base:1.33
	pkgsrc-2024Q2:1.33.0.8
	pkgsrc-2024Q2-base:1.33
	pkgsrc-2024Q1:1.33.0.6
	pkgsrc-2024Q1-base:1.33
	pkgsrc-2023Q4:1.33.0.4
	pkgsrc-2023Q4-base:1.33
	pkgsrc-2023Q3:1.33.0.2
	pkgsrc-2023Q3-base:1.33
	pkgsrc-2023Q2:1.31.0.8
	pkgsrc-2023Q2-base:1.31
	pkgsrc-2023Q1:1.31.0.6
	pkgsrc-2023Q1-base:1.31
	pkgsrc-2022Q4:1.31.0.4
	pkgsrc-2022Q4-base:1.31
	pkgsrc-2022Q3:1.31.0.2
	pkgsrc-2022Q3-base:1.31
	pkgsrc-2022Q2:1.30.0.10
	pkgsrc-2022Q2-base:1.30
	pkgsrc-2022Q1:1.30.0.8
	pkgsrc-2022Q1-base:1.30
	pkgsrc-2021Q4:1.30.0.6
	pkgsrc-2021Q4-base:1.30
	pkgsrc-2021Q3:1.30.0.4
	pkgsrc-2021Q3-base:1.30
	pkgsrc-2021Q2:1.30.0.2
	pkgsrc-2021Q2-base:1.30
	pkgsrc-2021Q1:1.29.0.6
	pkgsrc-2021Q1-base:1.29
	pkgsrc-2020Q4:1.29.0.4
	pkgsrc-2020Q4-base:1.29
	pkgsrc-2020Q3:1.29.0.2
	pkgsrc-2020Q3-base:1.29
	pkgsrc-2020Q2:1.28.0.2
	pkgsrc-2020Q2-base:1.28
	pkgsrc-2020Q1:1.26.0.2
	pkgsrc-2020Q1-base:1.26
	pkgsrc-2019Q4:1.26.0.4
	pkgsrc-2019Q4-base:1.26
	pkgsrc-2019Q3:1.25.0.2
	pkgsrc-2019Q3-base:1.25
	pkgsrc-2019Q2:1.24.0.8
	pkgsrc-2019Q2-base:1.24
	pkgsrc-2019Q1:1.24.0.6
	pkgsrc-2019Q1-base:1.24
	pkgsrc-2018Q4:1.24.0.4
	pkgsrc-2018Q4-base:1.24
	pkgsrc-2018Q3:1.24.0.2
	pkgsrc-2018Q3-base:1.24
	pkgsrc-2018Q2:1.21.0.10
	pkgsrc-2018Q2-base:1.21
	pkgsrc-2018Q1:1.21.0.8
	pkgsrc-2018Q1-base:1.21
	pkgsrc-2017Q4:1.21.0.6
	pkgsrc-2017Q4-base:1.21
	pkgsrc-2017Q3:1.21.0.4
	pkgsrc-2017Q3-base:1.21
	pkgsrc-2017Q2:1.20.0.2
	pkgsrc-2017Q2-base:1.20
	pkgsrc-2017Q1:1.19.0.8
	pkgsrc-2017Q1-base:1.19
	pkgsrc-2016Q4:1.19.0.6
	pkgsrc-2016Q4-base:1.19
	pkgsrc-2016Q3:1.19.0.4
	pkgsrc-2016Q3-base:1.19
	pkgsrc-2016Q2:1.19.0.2
	pkgsrc-2016Q2-base:1.19
	pkgsrc-2016Q1:1.18.0.8
	pkgsrc-2016Q1-base:1.18
	pkgsrc-2015Q4:1.18.0.6
	pkgsrc-2015Q4-base:1.18
	pkgsrc-2015Q3:1.18.0.4
	pkgsrc-2015Q3-base:1.18
	pkgsrc-2015Q2:1.18.0.2
	pkgsrc-2015Q2-base:1.18
	pkgsrc-2015Q1:1.17.0.4
	pkgsrc-2015Q1-base:1.17
	pkgsrc-2014Q4:1.17.0.2
	pkgsrc-2014Q4-base:1.17
	pkgsrc-2014Q3:1.16.0.4
	pkgsrc-2014Q3-base:1.16
	pkgsrc-2014Q2:1.16.0.2
	pkgsrc-2014Q2-base:1.16
	pkgsrc-2014Q1:1.15.0.6
	pkgsrc-2014Q1-base:1.15
	pkgsrc-2013Q4:1.15.0.4
	pkgsrc-2013Q4-base:1.15
	pkgsrc-2013Q3:1.15.0.2
	pkgsrc-2013Q3-base:1.15
	pkgsrc-2013Q2:1.14.0.2
	pkgsrc-2013Q2-base:1.14
	pkgsrc-2013Q1:1.12.0.2
	pkgsrc-2013Q1-base:1.12
	pkgsrc-2012Q4:1.11.0.2
	pkgsrc-2012Q4-base:1.11
	pkgsrc-2012Q3:1.9.0.10
	pkgsrc-2012Q3-base:1.9
	pkgsrc-2012Q2:1.9.0.8
	pkgsrc-2012Q2-base:1.9
	pkgsrc-2012Q1:1.9.0.6
	pkgsrc-2012Q1-base:1.9
	pkgsrc-2011Q4:1.9.0.4
	pkgsrc-2011Q4-base:1.9
	pkgsrc-2011Q3:1.9.0.2
	pkgsrc-2011Q3-base:1.9
	pkgsrc-2011Q2:1.8.0.8
	pkgsrc-2011Q2-base:1.8
	pkgsrc-2011Q1:1.8.0.6
	pkgsrc-2011Q1-base:1.8
	pkgsrc-2010Q4:1.8.0.4
	pkgsrc-2010Q4-base:1.8
	pkgsrc-2010Q3:1.8.0.2
	pkgsrc-2010Q3-base:1.8
	pkgsrc-2010Q2:1.7.0.6
	pkgsrc-2010Q2-base:1.7
	pkgsrc-2010Q1:1.7.0.4
	pkgsrc-2010Q1-base:1.7
	pkgsrc-2009Q4:1.7.0.2
	pkgsrc-2009Q4-base:1.7
	pkgsrc-2009Q3:1.5.0.4
	pkgsrc-2009Q3-base:1.5
	pkgsrc-2009Q2:1.5.0.2
	pkgsrc-2009Q2-base:1.5
	pkgsrc-2009Q1:1.4.0.4
	pkgsrc-2009Q1-base:1.4
	pkgsrc-2008Q4:1.4.0.2
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.3.0.16
	pkgsrc-2008Q3-base:1.3
	cube-native-xorg:1.3.0.14
	cube-native-xorg-base:1.3
	pkgsrc-2008Q2:1.3.0.12
	pkgsrc-2008Q2-base:1.3
	cwrapper:1.3.0.10
	pkgsrc-2008Q1:1.3.0.8
	pkgsrc-2008Q1-base:1.3
	pkgsrc-2007Q4:1.3.0.6
	pkgsrc-2007Q4-base:1.3
	pkgsrc-2007Q3:1.3.0.4
	pkgsrc-2007Q3-base:1.3
	pkgsrc-2007Q2:1.3.0.2
	pkgsrc-2007Q2-base:1.3
	pkgsrc-2007Q1:1.2.0.4
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.2
	pkgsrc-2006Q4-base:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.35
date	2025.07.04.08.47.36;	author wiz;	state Exp;
branches;
next	1.34;
commitid	vfjLVB0DFyTBfp1G;

1.34
date	2024.11.16.12.06.06;	author wiz;	state Exp;
branches;
next	1.33;
commitid	EcLctWHJOZ20KRxF;

1.33
date	2023.08.02.19.21.56;	author nia;	state Exp;
branches;
next	1.32;
commitid	2U2KeD5hkifslfzE;

1.32
date	2023.07.06.09.41.01;	author wiz;	state Exp;
branches;
next	1.31;
commitid	6meR4IA6XJRNYIvE;

1.31
date	2022.06.28.11.34.57;	author wiz;	state Exp;
branches;
next	1.30;
commitid	D2UoJrTHpoHEANJD;

1.30
date	2021.05.24.19.53.14;	author wiz;	state Exp;
branches;
next	1.29;
commitid	qokaiStTApGMcrUC;

1.29
date	2020.08.31.18.10.31;	author wiz;	state Exp;
branches;
next	1.28;
commitid	7zxRbfOkDOoxbfmC;

1.28
date	2020.05.03.14.25.53;	author rillig;	state Exp;
branches;
next	1.27;
commitid	ByDrQ1EpcFBrPN6C;

1.27
date	2020.04.28.03.04.36;	author rillig;	state Exp;
branches;
next	1.26;
commitid	jtnxaLFNfs4Jc66C;

1.26
date	2019.11.03.11.45.28;	author rillig;	state Exp;
branches;
next	1.25;
commitid	llzTCvoTAgLcNoJB;

1.25
date	2019.08.11.13.22.06;	author wiz;	state Exp;
branches;
next	1.24;
commitid	Ifet9Pg6Qt99ZByB;

1.24
date	2018.08.22.09.45.51;	author wiz;	state Exp;
branches;
next	1.23;
commitid	YLub8g3ofvFGb6PA;

1.23
date	2018.07.18.00.06.22;	author joerg;	state Exp;
branches;
next	1.22;
commitid	9fkLzQuPlqFC7yKA;

1.22
date	2018.07.04.13.40.26;	author jperkin;	state Exp;
branches;
next	1.21;
commitid	NnIyRkdX3Lbg3PIA;

1.21
date	2017.08.07.07.42.34;	author jlam;	state Exp;
branches;
next	1.20;
commitid	85MhYQJFlcz8If2A;

1.20
date	2017.06.05.14.24.15;	author ryoon;	state Exp;
branches;
next	1.19;
commitid	54KDUXvefsKDYbUz;

1.19
date	2016.06.08.19.24.07;	author wiz;	state Exp;
branches;
next	1.18;
commitid	12SLmHS6vHs0hH9z;

1.18
date	2015.06.12.10.50.39;	author wiz;	state Exp;
branches;
next	1.17;
commitid	B4JmCfaVUbiY38py;

1.17
date	2014.10.09.14.06.44;	author wiz;	state Exp;
branches;
next	1.16;
commitid	fBDATFVmQ3454xTx;

1.16
date	2014.05.29.23.37.02;	author wiz;	state Exp;
branches;
next	1.15;
commitid	laryHfkCalgYtuCx;

1.15
date	2013.07.12.10.44.58;	author jperkin;	state Exp;
branches;
next	1.14;
commitid	vVOw5ngQ2VNQxaXw;

1.14
date	2013.05.31.12.41.31;	author wiz;	state Exp;
branches;
next	1.13;
commitid	hIeXGcx6VfKHwMRw;

1.13
date	2013.05.06.14.55.25;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	2013.03.24.16.51.07;	author joerg;	state Exp;
branches;
next	1.11;

1.11
date	2012.10.23.17.18.07;	author asau;	state Exp;
branches;
next	1.10;

1.10
date	2012.10.03.21.56.51;	author wiz;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.14.14.14.40;	author obache;	state Exp;
branches;
next	1.8;

1.8
date	2010.08.21.16.35.19;	author seb;	state Exp;
branches;
next	1.7;

1.7
date	2009.12.17.22.33.35;	author abs;	state Exp;
branches;
next	1.6;

1.6
date	2009.10.18.20.07.54;	author zafer;	state Exp;
branches;
next	1.5;

1.5
date	2009.05.19.08.59.26;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	2008.10.19.19.18.31;	author he;	state Exp;
branches;
next	1.3;

1.3
date	2007.05.23.07.52.15;	author adam;	state Exp;
branches;
next	1.2;

1.2
date	2006.12.15.13.11.10;	author adam;	state Exp;
branches;
next	1.1;

1.1
date	2006.12.15.09.03.46;	author adam;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2006.12.15.09.03.46;	author adam;	state Exp;
branches;
next	;


desc
@@


1.35
log
@*: bump for perl 5.42.0
@
text
@# $NetBSD: Makefile,v 1.34 2024/11/16 12:06:06 wiz Exp $

DISTNAME=	DarwinStreamingSrvr5.5.5-Source
PKGNAME=	DarwinStreamingServer-5.5.5
PKGREVISION=	19
CATEGORIES=	net multimedia
MASTER_SITES=	http://static.macosforge.org/dss/downloads/

MAINTAINER=	adam@@NetBSD.org
HOMEPAGE=	http://dss.macosforge.org/
COMMENT=	Open source version of Apple QuickTime Streaming Server
LICENSE=	apple-public-source-license

MAKE_JOBS_SAFE=	no

RESTRICTED=		Under APSL (see http://www.opensource.apple.com/apsl/).
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}

USE_LANGUAGES=	c c++

# Fails with C++14 default language
FORCE_CXX_STD=	c++03

# 5.5.5 does this in StrPtrLen.cpp, function StrPtrLen::NumEqualIgnoreCase.
# Fixed in 6.0.3
BUILDLINK_TRANSFORM+=	rm:-Werror=char-subscripts

MAKE_FILE=	Makefile.POSIX
MAKE_ENV+=	CCOMP=${CC:Q} CPLUS=${CXX:Q}\ -fPIC LINKER=${CXX:Q}
MAKE_ENV+=	COMPILER_FLAGS=${CFLAGS:Q} INCLUDE_FLAG="-include"
MAKE_ENV+=	CORE_LINK_LIBS="-pthread -lm -lcrypt"
MAKE_ENV+=	SHARED="-shared" MODULE_LIBS=""

BUILD_DIRS=	CommonUtilitiesLib
BUILD_DIRS+=	QTFileLib
BUILD_DIRS+=	.
BUILD_DIRS+=	APIModules/QTSSRefMovieModule
BUILD_DIRS+=	APIModules/QTSSDemoAuthorizationModule.bproj
BUILD_DIRS+=	APIModules/QTSSRawFileModule.bproj
BUILD_DIRS+=	APIModules/QTSSSpamDefenseModule.bproj
BUILD_DIRS+=	APIModules/QTSSHomeDirectoryModule
BUILD_DIRS+=	StreamingProxy.tproj
BUILD_DIRS+=	qtpasswd.tproj
BUILD_DIRS+=	PlaylistBroadcaster.tproj
BUILD_DIRS+=	MP3Broadcaster
BUILD_DIRS+=	QTFileTools/QTBroadcaster.tproj
BUILD_DIRS+=	QTFileTools/QTFileInfo.tproj
BUILD_DIRS+=	QTFileTools/QTFileTest.tproj
BUILD_DIRS+=	QTFileTools/QTRTPFileTest.tproj
BUILD_DIRS+=	QTFileTools/QTRTPGen.tproj
BUILD_DIRS+=	QTFileTools/QTSDPGen.tproj
BUILD_DIRS+=	QTFileTools/QTSampleLister.tproj
BUILD_DIRS+=	QTFileTools/QTTrackInfo.tproj

INSTALLATION_DIRS+=	bin sbin
INSTALLATION_DIRS+=	libexec/StreamingServerModules
INSTALLATION_DIRS+=	share/examples/streaming
INSTALLATION_DIRS+=	share/streaming
INSTALLATION_DIRS+=	share/streaming/AdminHtml
INSTALLATION_DIRS+=	share/streaming/AdminHtml/images
INSTALLATION_DIRS+=	share/streaming/AdminHtml/includes
INSTALLATION_DIRS+=	share/streaming/AdminHtml/html_en
INSTALLATION_DIRS+=	share/streaming/movies
INSTALLATION_DIRS+=	share/streaming/playlists

PKG_USERS=	qtss:qtss
PKG_GROUPS=	qtss
PKG_GECOS.qtss=	Darwin Streaming Server user

REPLACE_PERL+=	WebAdmin/WebAdminHtml/broadcaster_lib.pl
REPLACE_PERL+=	WebAdmin/WebAdminHtml/parse_xml.cgi
REPLACE_PERL+=	WebAdmin/WebAdminHtml/playlist-lib.pl
REPLACE_PERL+=	WebAdmin/WebAdminHtml/relayxmlparser.pl
REPLACE_PERL+=	WebAdmin/WebAdminHtml/startplaylists.pl
REPLACE_PERL+=	WebAdmin/WebAdminHtml/view_broadcast.cgi
REPLACE_PERL+=	WebAdmin/src/streamingadminserver.pl
REPLACE_PERL+=	WinNTSupport/WinPasswdAssistant.pl

PKG_SYSCONFSUBDIR=	streaming
CONF_FILES=		share/examples/streaming/qtgroups ${PKG_SYSCONFDIR}/qtgroups
CONF_FILES+=		share/examples/streaming/qtusers ${PKG_SYSCONFDIR}/qtusers
CONF_FILES+=		share/examples/streaming/relayconfig.xml-Sample ${PKG_SYSCONFDIR}/relayconfig.xml
CONF_FILES+=		share/examples/streaming/streamingserver.xml-POSIX ${PKG_SYSCONFDIR}/streamingserver.xml

SUBST_CLASSES+=		makefile
SUBST_STAGE.makefile=	pre-configure
SUBST_MESSAGE.makefile=	Fixing Makefiles
SUBST_FILES.makefile=	Makefile.POSIX */Makefile.POSIX */*/Makefile.POSIX
SUBST_SED.makefile+=	-e "s|-O[023]||"

SUBST_CLASSES+=		path
SUBST_STAGE.path=	pre-configure
SUBST_MESSAGE.path=	Fixing paths
SUBST_FILES.path+=	defaultPaths.h
SUBST_FILES.path+=	WebAdmin/src/streamingadminserver.pl
SUBST_FILES.path+=	streamingserver.xml-POSIX
SUBST_SED.path+=	-e "s|/etc/streaming|${PKG_SYSCONFDIR}|"
SUBST_SED.path+=	-e "s|/movies|/share/streaming/movies|"
SUBST_SED.path+=	-e "s|/usr/local|${PREFIX}|"
SUBST_SED.path+=	-e "s|/sbin/StreamingServer|/libexec/StreamingServer|"
SUBST_SED.path+=	-e "s|/var/streaming/AdminHtml|${PREFIX}/share/streaming/AdminHtml|"
SUBST_SED.path+=	-e "s|/var/streaming/playlists|${PREFIX}/share/streaming/playlists|"
SUBST_SED.path+=	-e "s|/var/streaming/logs|${VARBASE}/log/streaming|"

SUBST_CLASSES+=		conf
SUBST_STAGE.conf=	pre-configure
SUBST_MESSAGE.conf=	Fixing configuration file
SUBST_FILES.conf+=	WebAdmin/streamingadminserver.conf
SUBST_SED.conf+=	-e "s|/Library/QuickTimeStreaming/AdminHtml|${PREFIX}/share/streaming/AdminHtml|"
SUBST_SED.conf+=	-e "s|/Library/QuickTimeStreaming/playlists|${PREFIX}/share/streaming/playlists|"
SUBST_SED.conf+=	-e "s|/Library/QuickTimeStreaming/Logs|${VARBASE}/log/streaming|"
SUBST_SED.conf+=	-e "s|/usr/sbin/QuickTime|${PREFIX}/sbin/Darwin|"

post-extract:
	rm -rf ${WRKSRC}/*PackageMetaData

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/DarwinStreamingServer ${DESTDIR}${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/PlaylistBroadcaster.tproj/PlaylistBroadcaster ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/MP3Broadcaster/MP3Broadcaster ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/qtpasswd.tproj/qtpasswd ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/QTSSHomeDirectoryModule ${DESTDIR}${PREFIX}/libexec/StreamingServerModules
	${INSTALL_PROGRAM} ${WRKSRC}/APIModules/QTSSRefMovieModule/QTSSRefMovieModule ${DESTDIR}${PREFIX}/libexec/StreamingServerModules
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTBroadcaster.tproj/QTBroadcaster ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTFileTest.tproj/QTFileTest ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTRTPFileTest.tproj/QTRTPFileTest ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTRTPGen.tproj/QTRTPGen ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTSampleLister.tproj/QTSampleLister ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTSDPGen.tproj/QTSDPGen ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTTrackInfo.tproj/QTTrackInfo ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/createuserstreamingdir ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/streamingserver.xml-POSIX ${DESTDIR}${PREFIX}/share/examples/streaming
	${INSTALL_DATA} ${WRKSRC}/relayconfig.xml-Sample ${DESTDIR}${PREFIX}/share/examples/streaming
	${INSTALL_DATA} ${WRKSRC}/qtusers ${DESTDIR}${PREFIX}/share/examples/streaming
	${INSTALL_DATA} ${WRKSRC}/qtgroups ${DESTDIR}${PREFIX}/share/examples/streaming
	${INSTALL_DATA}	${WRKSRC}/Documentation/readme.txt ${DESTDIR}${PREFIX}/share/streaming
	${INSTALL_DATA}	${WRKSRC}/Documentation/3rdPartyAcknowledgements.rtf ${DESTDIR}${PREFIX}/share/streaming
	${INSTALL_SCRIPT} ${WRKSRC}/WebAdmin/src/streamingadminserver.pl ${DESTDIR}${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.pl ${DESTDIR}${PREFIX}/share/streaming/AdminHtml
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.cgi ${DESTDIR}${PREFIX}/share/streaming/AdminHtml
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.html ${DESTDIR}${PREFIX}/share/streaming/AdminHtml
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/images/*.gif ${DESTDIR}${PREFIX}/share/streaming/AdminHtml/images
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/includes/*.js ${DESTDIR}${PREFIX}/share/streaming/AdminHtml/includes
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/html_en/messages ${DESTDIR}${PREFIX}/share/streaming/AdminHtml/html_en
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/html_en/genres ${DESTDIR}${PREFIX}/share/streaming/AdminHtml/html_en
	${INSTALL_DATA} ${WRKSRC}/sample* ${DESTDIR}${PREFIX}/share/streaming/movies

.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.34
log
@*: recursive bump for perl 5.40
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2023/08/02 19:21:56 nia Exp $
d5 1
a5 1
PKGREVISION=	18
@


1.33
log
@*: Mark packages that were originally identified as requiring
C++03 due to failing to build with a C++14 default compiler
with FORCE_CXX_STD instead of USE_LANGUAGES.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2023/07/06 09:41:01 wiz Exp $
d5 1
a5 1
PKGREVISION=	17
@


1.32
log
@*: recursive bump for perl 5.38
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2022/06/28 11:34:57 wiz Exp $
d20 4
a23 1
USE_LANGUAGES=	c c++03
@


1.31
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2021/05/24 19:53:14 wiz Exp $
d5 1
a5 1
PKGREVISION=	16
@


1.30
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2020/08/31 18:10:31 wiz Exp $
d5 1
a5 1
PKGREVISION=	15
@


1.29
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2020/05/03 14:25:53 rillig Exp $
d5 1
a5 1
PKGREVISION=	14
@


1.28
log
@net/DarwinStreamingServer: allow build even with -Werror=char-subscripts
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2020/04/28 03:04:36 rillig Exp $
d5 1
a5 1
PKGREVISION=	13
@


1.27
log
@net/DarwinStreamingServer: fix build for SUBST_NOOP_OK=no

Two of the mentioned files did not actually contain the optimization
flag, which triggered this error during the build:

ERROR: [subst.mk:makefile] The filename patterns
"QTFileTools/QTBroadcaster.tproj/Makefile.POSIX
QTFileTools/QTFileInfo.tproj/Makefile.POSIX" have no effect.

Since the files need not be listed individually, the new definition is
shorter and will also apply to any newly added subdirectories.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2019/11/03 11:45:28 rillig Exp $
d22 4
@


1.26
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.25 2019/08/11 13:22:06 wiz Exp $
d82 1
a82 22
SUBST_FILES.makefile+=	APIModules/QTSSDemoAuthorizationModule.bproj/Makefile.POSIX
SUBST_FILES.makefile+=	APIModules/QTSSHomeDirectoryModule/Makefile.POSIX
SUBST_FILES.makefile+=	APIModules/QTSSRawFileModule.bproj/Makefile.POSIX
SUBST_FILES.makefile+=	APIModules/QTSSRefMovieModule/Makefile.POSIX
SUBST_FILES.makefile+=	APIModules/QTSSSpamDefenseModule.bproj/Makefile.POSIX
SUBST_FILES.makefile+=	APIStubLib/makefile.apistublib.POSIX
SUBST_FILES.makefile+=	CommonUtilitiesLib/Makefile.POSIX
SUBST_FILES.makefile+=	HTTPUtilitiesLib/Makefile.POSIX
SUBST_FILES.makefile+=	MP3Broadcaster/Makefile.POSIX
SUBST_FILES.makefile+=	Makefile.POSIX
SUBST_FILES.makefile+=	PlaylistBroadcaster.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileLib/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTBroadcaster.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTFileInfo.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTFileTest.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTRTPFileTest.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTRTPGen.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTSDPGen.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTSampleLister.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	QTFileTools/QTTrackInfo.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	StreamingProxy.tproj/Makefile.POSIX
SUBST_FILES.makefile+=	qtpasswd.tproj/Makefile.POSIX
@


1.25
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2018/08/22 09:45:51 wiz Exp $
d16 3
a18 3
RESTRICTED=	Under APSL (see http://www.opensource.apple.com/apsl/).
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP=	${RESTRICTED}
d74 4
a77 4
CONF_FILES=	share/examples/streaming/qtgroups ${PKG_SYSCONFDIR}/qtgroups
CONF_FILES+=	share/examples/streaming/qtusers ${PKG_SYSCONFDIR}/qtusers
CONF_FILES+=	share/examples/streaming/relayconfig.xml-Sample ${PKG_SYSCONFDIR}/relayconfig.xml
CONF_FILES+=	share/examples/streaming/streamingserver.xml-POSIX ${PKG_SYSCONFDIR}/streamingserver.xml
@


1.24
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2018/07/18 00:06:22 joerg Exp $
d5 1
a5 1
PKGREVISION=	12
@


1.23
log
@Mark packages that require C++03 (or the GNU variants) if they fail with
C++14 default language.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2018/07/04 13:40:26 jperkin Exp $
d5 1
a5 1
PKGREVISION=	11
@


1.22
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.21 2017/08/07 07:42:34 jlam Exp $
d20 1
a20 1
USE_LANGUAGES=	c c++
@


1.21
log
@Fix creation of the config directory used by DarwinStreamingServer.

There is no REQUIRE_DIRS used by pkgsrc.  I think that REQD_DIRS
was meant to be used; however, REQD_DIRS is also the wrong way to
create the config directory.

Set PKG_SYSCONFSUBDIR to "streaming" to automatically create
${PKG_SYSCONFBASE}/streaming during package installation, and
consistently use ${PKG_SYSCONFDIR} within the package Makefile to
refer to the config directory path.

Bump the PKGREVISION due to the changes in the resulting package
scripts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2017/06/05 14:24:15 ryoon Exp $
d80 1
a80 1
SUBST_STAGE.makefile=	post-patch
d107 1
a107 1
SUBST_STAGE.path=	post-patch
d121 1
a121 1
SUBST_STAGE.conf=	post-patch
@


1.20
log
@Recursive revbump from lang/perl5 5.26.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2016/06/08 19:24:07 wiz Exp $
d5 1
a5 1
PKGREVISION=	10
d73 5
a77 5
REQUIRE_DIRS+=	${PKG_SYSCONFDIR}/streaming
CONF_FILES=	share/examples/streaming/qtgroups ${PKG_SYSCONFDIR}/streaming/qtgroups
CONF_FILES+=	share/examples/streaming/qtusers ${PKG_SYSCONFDIR}/streaming/qtusers
CONF_FILES+=	share/examples/streaming/relayconfig.xml-Sample ${PKG_SYSCONFDIR}/streaming/relayconfig.xml
CONF_FILES+=	share/examples/streaming/streamingserver.xml-POSIX ${PKG_SYSCONFDIR}/streaming/streamingserver.xml
d112 1
a112 1
SUBST_SED.path+=	-e "s|/etc/streaming|${PKG_SYSCONFDIR}/streaming|"
@


1.19
log
@Bump PKGREVISION for perl-5.24.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2015/06/12 10:50:39 wiz Exp $
d5 1
a5 1
PKGREVISION=	9
@


1.18
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2014/10/09 14:06:44 wiz Exp $
d5 1
a5 1
PKGREVISION=	8
@


1.17
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2014/05/29 23:37:02 wiz Exp $
d5 1
a5 1
PKGREVISION=	7
@


1.16
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2013/07/12 10:44:58 jperkin Exp $
a19 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.15
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.14 2013/05/31 12:41:31 wiz Exp $
d5 1
a5 1
PKGREVISION=	6
@


1.14
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2013/05/06 14:55:25 joerg Exp $
d5 1
a5 1
PKGREVISION=	5
@


1.13
log
@Let the C++ compiler link the STL implementation in.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2013/03/24 16:51:07 joerg Exp $
d5 1
a5 1
PKGREVISION=	4
@


1.12
log
@Fetch is no longer interactive. Allow building on 64bit platforms, even
if it is likely not going to run. Fix CONF_FILES.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2012/10/23 17:18:07 asau Exp $
d27 2
a28 2
MAKE_ENV+=	CORE_LINK_LIBS="-pthread -lm -lcrypt -lstdc++"
MAKE_ENV+=	SHARED="-shared" MODULE_LIBS="-lgcc -lstdc++"
@


1.11
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2012/10/03 21:56:51 wiz Exp $
d14 2
d25 1
a25 1
MAKE_ENV+=	CCOMP=${CC:Q} CPLUS=${CXX:Q} LINKER=${CXX:Q}
d51 1
a65 9
INTERACTIVE_STAGE=	fetch build

FETCH_MESSAGE=	"Darwin Streaming Server is available as a free download"
FETCH_MESSAGE+=	"under the APSL. Downloading the source code components"
FETCH_MESSAGE+=	"requires APSL registration."
FETCH_MESSAGE+=	"You should fetch the source code manually from"
FETCH_MESSAGE+=	"${MASTER_SITES}${DISTFILES} and put into"
FETCH_MESSAGE+=	"${DISTDIR}/${DISTFILES} directory."

d75 5
a79 5
CONF_FILES=	${PKG_SYSCONFDIR:Q}/streaming/qtgroups ${PKG_SYSCONFDIR:Q}/streaming/qtgroups
CONF_FILES+=	${PKG_SYSCONFDIR:Q}/streaming/qtusers ${PKG_SYSCONFDIR:Q}/streaming/qtusers
CONF_FILES+=	${PKG_SYSCONFDIR:Q}/streaming/relayconfig.xml-Sample ${PKG_SYSCONFDIR:Q}/streaming/relayconfig.xml
CONF_FILES+=	${PKG_SYSCONFDIR:Q}/streaming/streamingloadtool.conf ${PKG_SYSCONFDIR:Q}/streaming/streamingloadtool.conf
CONF_FILES+=	${PKG_SYSCONFDIR:Q}/streaming/streamingserver.xml-POSIX ${PKG_SYSCONFDIR:Q}/streaming/streamingserver.xml
@


1.10
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2011/08/14 14:14:40 obache Exp $
a139 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.9
log
@Revision bump after updating perl5 to 5.14.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2010/08/21 16:35:19 seb Exp $
d5 1
a5 1
PKGREVISION=	3
@


1.8
log
@Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@@ was right after all, obache@@ kindly asked and he@@ led the
way. Thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2009/12/17 22:33:35 abs Exp $
d5 1
a5 1
PKGREVISION=	2
@


1.7
log
@PKG_DESTDIR_SUPPORT (hopefully)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2009/10/18 20:07:54 zafer Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.6
log
@update homepage and master_sites.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2009/05/19 08:59:26 wiz Exp $
d140 2
d143 29
a171 29
	${INSTALL_PROGRAM} ${WRKSRC}/DarwinStreamingServer ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/PlaylistBroadcaster.tproj/PlaylistBroadcaster ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/MP3Broadcaster/MP3Broadcaster ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/qtpasswd.tproj/qtpasswd ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/QTSSHomeDirectoryModule ${PREFIX}/libexec/StreamingServerModules
	${INSTALL_PROGRAM} ${WRKSRC}/APIModules/QTSSRefMovieModule/QTSSRefMovieModule ${PREFIX}/libexec/StreamingServerModules
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTBroadcaster.tproj/QTBroadcaster ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTFileTest.tproj/QTFileTest ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTRTPFileTest.tproj/QTRTPFileTest ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTRTPGen.tproj/QTRTPGen ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTSampleLister.tproj/QTSampleLister ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTSDPGen.tproj/QTSDPGen ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/QTFileTools/QTTrackInfo.tproj/QTTrackInfo ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/APIModules/QTSSHomeDirectoryModule/createuserstreamingdir ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/streamingserver.xml-POSIX ${PREFIX}/share/examples/streaming
	${INSTALL_DATA} ${WRKSRC}/relayconfig.xml-Sample ${PREFIX}/share/examples/streaming
	${INSTALL_DATA} ${WRKSRC}/qtusers ${PREFIX}/share/examples/streaming
	${INSTALL_DATA} ${WRKSRC}/qtgroups ${PREFIX}/share/examples/streaming
	${INSTALL_DATA}	${WRKSRC}/Documentation/readme.txt ${PREFIX}/share/streaming
	${INSTALL_DATA}	${WRKSRC}/Documentation/3rdPartyAcknowledgements.rtf ${PREFIX}/share/streaming
	${INSTALL_SCRIPT} ${WRKSRC}/WebAdmin/src/streamingadminserver.pl ${PREFIX}/sbin
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.pl ${PREFIX}/share/streaming/AdminHtml
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.cgi ${PREFIX}/share/streaming/AdminHtml
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/*.html ${PREFIX}/share/streaming/AdminHtml
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/images/*.gif ${PREFIX}/share/streaming/AdminHtml/images
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/includes/*.js ${PREFIX}/share/streaming/AdminHtml/includes
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/html_en/messages ${PREFIX}/share/streaming/AdminHtml/html_en
	${INSTALL_DATA} ${WRKSRC}/WebAdmin/WebAdminHtml/html_en/genres ${PREFIX}/share/streaming/AdminHtml/html_en
	${INSTALL_DATA} ${WRKSRC}/sample* ${PREFIX}/share/streaming/movies
@


1.5
log
@Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2008/10/19 19:18:31 he Exp $
d7 1
a7 1
MASTER_SITES=	http://www.opensource.apple.com/projects/streaming/release/
d10 1
a10 1
HOMEPAGE=	http://developer.apple.com/opensource/server/streaming/
@


1.4
log
@Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2007/05/23 07:52:15 adam Exp $
d12 1
a13 1
LICENSE=	apple-public-source-license
@


1.3
log
@Changes 5.5.5:
- Compilation problems using gcc 4
- Support for SDPs created by VLC and Mpeg4IP
- Fix date display in DSS Web Admin
- Better support for streaming through NAT
- Better support for running DSS on a multi-homed system
- Relaying problems with VLC
- A security fix for possible stack and heap overflow attacks in the
  StreamingProxy (CVE-2007-0748, CVE-2007-0749)
- A fix for sync sample searching on OS X intel.
- A fix for an infinite loop when the server fails to bind to streaming ports.
- An enhancement allowing RTSP requests to contain the hh:mm:ss format for
  the npt value
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2006/12/15 13:11:10 adam Exp $
d5 1
@


1.2
log
@Fixed typo
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2006/12/15 09:03:46 adam Exp $
d3 2
a4 2
DISTNAME=	DarwinStreamingSrvr5.5.4-Source
PKGNAME=	DarwinStreamingServer-5.5.4
a6 1
EXTRACT_SUFX=	.tar
a46 1
BUILD_DIRS+=	StreamingLoadTool
d94 1
a108 1
SUBST_FILES.makefile+=	StreamingLoadTool/Makefile.POSIX
d111 1
a111 1
SUBST_SED.makefile+=	-e "s|-O[23]||"
a159 2
	${INSTALL_PROGRAM} ${WRKSRC}/StreamingLoadTool/StreamingLoadTool ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/StreamingLoadTool/streamingloadtool.conf ${PREFIX}/share/examples/streaming
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d124 1
a124 1
SUBST_SED.path+=	-e "s|/sbin/StreamingServer|libexec/StreamingServer|"
@


1.1.1.1
log
@Darwin Streaming Server is an open source project intended for developers who
need to stream QuickTime and MPEG-4 media on alternative platforms such as
Windows, Linux, and Solaris, or those developers who need to extend and/or
modify the existing streaming server code to fit their needs. Darwin Streaming
Server is only supported by the open source community and is not eligible for
technical support from Apple. Apple hosts a number of email discussion lists
for Darwin Streaming Server users and developers to share ideas and discuss
deployment scenarios.

Based on wip/DarwinStreamingServer
Thanks to eggert@@macvaerk.dtu.dk
@
text
@@
