freebsd-ports/sysutils/cdrtools-devel/Makefile

211 lines
7.6 KiB
Makefile
Raw Normal View History

Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
# New ports collection makefile for: cdrtools-devel
# Date created: 28 May 2003
# Whom: marius@alchemy.franken.de
1997-11-05 16:22:36 +01:00
#
1999-08-31 04:00:46 +02:00
# $FreeBSD$
1997-11-05 16:22:36 +01:00
#
###########################################################################
# This makefile was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
1997-11-05 16:22:36 +01:00
PORTNAME= cdrtools
PORTVERSION= 2.01.01a52
PORTEPOCH= 1
CATEGORIES= sysutils audio
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/
MAINTAINER= marius@FreeBSD.org
COMMENT= CD/DVD and ISO-9660 image creation and extraction tools
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
CONFLICTS= cdrtools-[0-9]*
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
MAN1= btcflash.1 cdda2wav.1 cdrecord.1 readcd.1 scgcheck.1
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
MAN8= isoinfo.8 mkisofs.8
MLINKS= isoinfo.8 devdump.8 isoinfo.8 isodump.8 isoinfo.8 isovfy.8 \
mkisofs.8 mkhybrid.8
DOCS= README.FreeBSD README.mkisofs
CDDA2WAVDOCS= FAQ Frontends HOWTOUSE OtherProgs README THANKS TODO
CDRECORDDOCS= README README.ATAPI README.DiskT@2 README.WORM README.audio \
README.cdplus README.cdrw README.cdtext README.clone \
README.copy README.multi README.raw README.rscsi README.sony \
README.verify
MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \
README.hfs_boot README.hfs_magic README.hide README.joliet \
README.macosx README.mkhybrid README.prep_boot README.rootinfo \
README.session README.sort README.sparcboot README.sunx86boot
SICONVTABLES= cp10000 cp10006 cp10007 cp10029 cp10079 cp10081 cp1250 \
cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 \
cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860 cp861 \
cp862 cp863 cp864 cp865 cp866 cp869 cp874 iso8859-1 \
iso8859-10 iso8859-11 iso8859-13 iso8859-14 iso8859-15 \
iso8859-16 iso8859-2 iso8859-3 iso8859-4 iso8859-5 \
iso8859-6 iso8859-7 iso8859-8 iso8859-9 koi8-r koi8-u
NO_LATEST_LINK= yes
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
USE_BZIP2= yes
1997-11-05 16:22:36 +01:00
USE_GMAKE= yes
- Update to 2.01a27. Notes: - Since 2.01a26 cdrecord has a new option "-tao" (Track At Once) for what was the default write mode in previous versions. Currently, cdrecord still falls back to writing in TAO mode if no writing mode has been specified but this might change in a future version (infact, the release notes for 2.01a26 already say that cdrecord won't burn a CD if no write mode has been specified). - Cdrecord 2.01a26 was broken in that it only wrote in TAO mode, which was fixed in 2.01a27. For changes since 2.01a25 see: ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a26 and ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a27 - Add a workaround for what appears to be a problem with gmake and certain locales on -current. [1] - Correct a typo in pkg-descr.mkisofs inherited from the cdrtools ABOUT file. - Remove the workaround for the broken mlockall(2) on EOL'ed FreeBSD 5.1. - No longer compile with -DSOURCE_MODIFIED, the cdrecord sources are no longer altered by this port except for changing the location of the configuration file, which is done in compliance with the terms in cdrecord/defaults.c. - Make the direct ATAPI transport (cooked_ioctl interface) of cdda2wav (e.g. when used via `cdda2wav -D /dev/acd0`) work on FreeBSD after ata(4) was GEOM'ifed and the CDIOCREADAUDIO ioctl removed. Note: For qualitiy reasons (e.g. to be able to fix/work around broken TOCs etc.) cdda2wav should be used with its generic_scsi interface (e.g. via `cdda2wav -D 2,0,0` and using atapicam(4) if you have an ATAPI device). However, there are some ATAPI devices around where the latter simply doesn't work (look at e.g. PR 62507 or the audit- trail of PR 60233 for examples). - Properly initialise the verbosity level of cdda2wav when the cooked_ioctl interface is used so it's disabled by default (the outcome of this bug is actually compiler dependend, with GCC 2.95.4 verbosity is off by default, with GCC 3.3.3 it's on). Note: The patches for the last two items where sent to Heiko Eissfeldt, the author of cdda2wav, and from his replies I was of the opinion that he "accepted" them and they would be incorporated in cdrtools 2.01a26. However, they still didn't show up in the cdrtools sources and I so far didn't get any reply to my email asking if there would be anything wrong with them. Requested by: pav [1] Submitted by: maintainer
2004-04-12 15:06:47 +02:00
#CFLAGS+= -DSOURCE_MODIFIED
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
WRKSRC= ${WRKDIR}/${DISTNAME:C/a(.+)$//}
SUB_FILES= pkg-message
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.if defined(WITH_RSCSI)
MAN1+= rscsi.1
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
PKGINSTALL= ${PKGDIR}/pkg-install.rscsi
PLIST_SUB= RSCSI=""
PKGNAMESUFFIX= -rscsi-devel
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.else
PLIST_SUB= RSCSI="@comment "
.endif
PKGNAMESUFFIX?= -devel
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.include <bsd.port.pre.mk>
CCOM!= ${BASENAME} ${CC}
MAKE_ENV= CCOM=${CCOM} LANG=C INS_BASE=${LOCALBASE}
CDRTLSTARGET= ${ARCH}-freebsd-${CCOM}
.if exists(${LOCALBASE}/lib/libiconv.a) || \
exists(${LOCALBASE}/lib/libintl.a) || !defined(WITHOUT_NLS)
MAKE_ENV+= OSDEFS=-I${LOCALBASE}/include
USE_GETTEXT= yes
USE_ICONV= yes
.endif
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
pre-everything::
.if !defined(WITH_RSCSI)
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
@${ECHO_MSG} ""
@${ECHO_MSG} "You may use the following build option(s):"
@${ECHO_MSG} ""
@${ECHO_MSG} "WITH_RSCSI=yes builds with the rscsi daemon which provides access to"
@${ECHO_MSG} " local SCSI-devices over the network (the client-side"
@${ECHO_MSG} " in cdda2wav, cdrecord, etc. is built unconditionally)."
@${ECHO_MSG} " BEWARE: The rscsi binary will be installed suid root"
@${ECHO_MSG} " as this is the preferred way of setting it up."
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
@${ECHO_MSG} ""
.endif
post-extract:
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.for i in config.guess config.sub
.for j in autoconf conf cdda2wav
@${CP} -fp ${PORTSDIR}/Templates/${i} ${WRKSRC}/${j}
.endfor
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.endfor
.if ${CDRTLSTARGET} != "i386-freebsd-cc"
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
@${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \
${WRKSRC}/RULES/${CDRTLSTARGET}.rul
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.endif
post-patch:
@${RM} ${WRKSRC}/TARGETS/55scgskeleton ${WRKSRC}/TARGETS/85man
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.if !defined(WITH_RSCSI)
@${RM} ${WRKSRC}/TARGETS/55rscsi
.endif
.for i in DEFAULTS/Defaults.freebsd btcflash/btcflash.1 cdda2wav/cdda2wav.1 \
cdrecord/README.rscsi cdrecord/cdrecord.1 cdrecord/cdrecord.dfl \
cdrecord/defaults.c include/schily/deflts.h librscg/scsi-remote.c \
readcd/readcd.1 rscsi/rscsi.1 rscsi/rscsi.c rscsi/rscsi.dfl \
scgcheck/scgcheck.1
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
@${REINPLACE_CMD} -e 's|\/opt\/schily|${PREFIX}|g; \
s|\/usr\/local|${PREFIX}|g; s|\/etc\/default|${PREFIX}\/etc|g; \
s|\/var\/adm\/messages|\/var\/run\/dmesg.boot|g' ${WRKSRC}/${i}
.endfor
@${MV} -f ${WRKSRC}/libparanoia/cdda_paranoia.h \
${WRKSRC}/libparanoia/js_cdda_paranoia.h
.for i in cdda2wav/cdda2wav.c cdda2wav/global.h libparanoia/gap.c \
libparanoia/overlap.c libparanoia/p_block.c libparanoia/paranoia.c
@${REINPLACE_CMD} -e 's|cdda_paranoia\.h|js_cdda_paranoia.h|g' \
${WRKSRC}/${i}
.endfor
- Update to 2.01a27. Notes: - Since 2.01a26 cdrecord has a new option "-tao" (Track At Once) for what was the default write mode in previous versions. Currently, cdrecord still falls back to writing in TAO mode if no writing mode has been specified but this might change in a future version (infact, the release notes for 2.01a26 already say that cdrecord won't burn a CD if no write mode has been specified). - Cdrecord 2.01a26 was broken in that it only wrote in TAO mode, which was fixed in 2.01a27. For changes since 2.01a25 see: ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a26 and ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a27 - Add a workaround for what appears to be a problem with gmake and certain locales on -current. [1] - Correct a typo in pkg-descr.mkisofs inherited from the cdrtools ABOUT file. - Remove the workaround for the broken mlockall(2) on EOL'ed FreeBSD 5.1. - No longer compile with -DSOURCE_MODIFIED, the cdrecord sources are no longer altered by this port except for changing the location of the configuration file, which is done in compliance with the terms in cdrecord/defaults.c. - Make the direct ATAPI transport (cooked_ioctl interface) of cdda2wav (e.g. when used via `cdda2wav -D /dev/acd0`) work on FreeBSD after ata(4) was GEOM'ifed and the CDIOCREADAUDIO ioctl removed. Note: For qualitiy reasons (e.g. to be able to fix/work around broken TOCs etc.) cdda2wav should be used with its generic_scsi interface (e.g. via `cdda2wav -D 2,0,0` and using atapicam(4) if you have an ATAPI device). However, there are some ATAPI devices around where the latter simply doesn't work (look at e.g. PR 62507 or the audit- trail of PR 60233 for examples). - Properly initialise the verbosity level of cdda2wav when the cooked_ioctl interface is used so it's disabled by default (the outcome of this bug is actually compiler dependend, with GCC 2.95.4 verbosity is off by default, with GCC 3.3.3 it's on). Note: The patches for the last two items where sent to Heiko Eissfeldt, the author of cdda2wav, and from his replies I was of the opinion that he "accepted" them and they would be incorporated in cdrtools 2.01a26. However, they still didn't show up in the cdrtools sources and I so far didn't get any reply to my email asking if there would be anything wrong with them. Requested by: pav [1] Submitted by: maintainer
2004-04-12 15:06:47 +02:00
# @${REINPLACE_CMD} -E -e \
# 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
# ${WRKSRC}/cdrecord/cdrecord.c
1997-11-05 16:22:36 +01:00
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \
${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${CDRTLSTARGET}/cdda2wav \
${PREFIX}/bin
@${LN} -sf cdda2wav ${PREFIX}/bin/list_audio_tracks
@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${CDRTLSTARGET}/cdrecord \
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
${PREFIX}/bin
.for i in devdump isodebug isodump isoinfo isovfy
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${CDRTLSTARGET}/${i} \
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
${PREFIX}/bin
.endfor
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${CDRTLSTARGET}/mkisofs \
${PREFIX}/bin
@${LN} -sf mkisofs ${PREFIX}/bin/mkhybrid
@${INSTALL_PROGRAM} ${WRKSRC}/readcd/OBJ/${CDRTLSTARGET}/readcd \
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
${PREFIX}/bin
.if defined(WITH_RSCSI)
@${INSTALL_PROGRAM} ${WRKSRC}/rscsi/OBJ/${CDRTLSTARGET}/rscsi \
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
${PREFIX}/sbin
@${CHMOD} u+s ${PREFIX}/sbin/rscsi
.endif
@${INSTALL_PROGRAM} ${WRKSRC}/scgcheck/OBJ/${CDRTLSTARGET}/scgcheck \
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/btcflash/btcflash.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 ${PREFIX}/man/man1
2002-04-16 21:02:19 +02:00
@${INSTALL_MAN} ${WRKSRC}/readcd/readcd.1 ${PREFIX}/man/man1
.if defined(WITH_RSCSI)
@${INSTALL_MAN} ${WRKSRC}/rscsi/rscsi.1 ${PREFIX}/man/man1
.endif
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
@${INSTALL_MAN} ${WRKSRC}/scgcheck/scgcheck.1 ${PREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${PREFIX}/man/man8
@${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 ${PREFIX}/man/man8
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
@${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
${PREFIX}/etc/cdrecord.sample
.if !exists(${PREFIX}/etc/cdrecord)
@${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl ${PREFIX}/etc/cdrecord
.endif
@${MKDIR} ${PREFIX}/lib/siconv
.for i in ${SICONVTABLES}
@${INSTALL_DATA} ${WRKSRC}/libsiconv/tables/${i} ${PREFIX}/lib/siconv
.endfor
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.if defined(WITH_RSCSI)
@${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl ${PREFIX}/etc/rscsi.sample
.if !exists(${PREFIX}/etc/rscsi)
@${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl ${PREFIX}/etc/rscsi
.endif
.endif
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
@${MKDIR} ${DOCSDIR}/cdda2wav
.for i in ${CDDA2WAVDOCS}
@${INSTALL_DATA} ${WRKSRC}/cdda2wav/${i} ${DOCSDIR}/cdda2wav
.endfor
@${MKDIR} ${DOCSDIR}/cdrecord
.for i in ${CDRECORDDOCS}
@${INSTALL_DATA} ${WRKSRC}/cdrecord/${i} ${DOCSDIR}/cdrecord
.endfor
@${MKDIR} ${DOCSDIR}/mkisofs
.for i in ${MKISOFSDOCS}
@${INSTALL_DATA} ${WRKSRC}/mkisofs/${i} ${DOCSDIR}/mkisofs
Add sysutils/cdrtools-devel (currently at version 2.01a18) and sysutils/mkisofs-devel (currently at version 2.01a17) after repo-copy from sysutils/cdrtools respectively sysutils/mkisofs. The cdrtools-devel and mkisofs-devel ports are for the alpha versions, for further information on changes since cdrtools 2.00 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01a01 up to AN-2.01a18. Further changes to the cdrtools-devel and mkisofs-devel ports to relative to the existing ports of cdrtools and mkisofs are: Changes common to cdrtools-devel and mkisofs-devel: - Delete targets for mkisofs and friends when building cdrtools and vice versa to speed up the build of the respective port. - Respect CC already at the configure-stage (Patch taken from the OpenBSD port of cdrtools). - Add patches to prefer seteuid(2) over setreuid(2), this s inconsistend with the cdrtools package (Mostly based on patches from the NetBSD port/pkgsrc of cdrtools). - Manually replace included copies of config.guess and config.sub with versions from ${PORTSDIR}/Templates. This is necessary as the cdrtools package doesn't have a valid configure script in it's root directory but several in sub-directories that are executed by the SING (Schily Is Not Gnu) makefile system further down the road. Therefor the port can't set GNU_CONFIGURE which would automatically copy the relevant files. - Install some relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some manual pages also reference these. Changes to cdrtools-devel: - Fix COMMENT, this port doesn't install mkisofs. Honor that some tools of the cdrtools package (namely cdda2wav and readcd) are for extracting CDs/CD-R[W]s. - Install scgcheck, a tool to check and validate the ABI of libscg. - Patch cdrecord to use ${PREFIX}/etc as the location of the global configuration file, rather than using /etc/default. The installed documentaion also gets patched accordingly and a PKGMESSAGE reflecting this change as required by the license of cdrtools is added (The idea for this and some wording in the PKGMESSAGE are taken from the NetBSD port/pkgsrc of cdrtools). See also PR ports/50835. - Install a sample configuration file for cdrecord, also install a configuration file if it doesn't already exist (the file doesn't cause problems if one doesn't edit it to suit local needs). - Patch manpages to better correspond to files and locations on FreeBSD. - Add a knob to optionally build and install rcsi, a tool that allows using SCSI-devices over the network. The required rscsi user gets added automatically and templates for the configuration file also get installed. PKGINSTALL points to for further information on how to configure remote access to SCSI-devices. Everything using lib(r)scg can act as a client to rscsi, e.g. sysutils/sformat (requires a bit of patching, however doesn't make much sense to use this over the network) and sysutils/cdrdao (requires a bit of patching). - Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg. It is a workaround for a (probably alumnus) bug in a SCSI-driver of NetBSD and the affected code doesn't get compiled on neither pre-CAM nor CAM versions of FreeBSD. Changes to mkisofs-devel: - Add MLINKS for devdump.8, isodump.8, isovfy.8 to isoinfo.8. - Install isodebug, a simple tool to display the creation date and the commandline options used to create a certain ISO-image with mkisofs. - Remove apple_driver.8, this tool doesn't get installed. - Replace mkhybrid.8 (just includes mkisofs.8, broken without patching) with a MLINKS to mkisofs.8. - Quiet portlint (3 errors/1 warning -> 0 errors/1 warning). None of these changes is bound to the alpha versions of the cdrtools package and may be "back-ported" to sysutils/cdrtools (apart from a security issue with rscsi of cdrtools 2.00.3). PR: ports/52849 Submitted by (including this commit message): Marius Strobl <marius@alchemy.franken.de>
2003-08-19 18:25:47 +02:00
.endfor
.endif
post-install:
-@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi
@${CAT} ${PKGMESSAGE}
1997-11-05 16:22:36 +01:00
.include <bsd.port.post.mk>