freebsd-ports/sysutils/cdrtools-devel/Makefile

178 lines
5.8 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
#
PORTNAME?= cdrtools
CDRTLSVERSION= 2.01a28
PORTVERSION?= ${CDRTLSVERSION}
PORTREVISION?= 0
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/
DISTNAME= cdrtools-${CDRTLSVERSION}
MAINTAINER= marius@FreeBSD.org
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
COMMENT?= Cdrecord and other programs to extract and record CDs/CD-R[W]s
CONFLICTS?= cdrtools-[0-9]*
.if defined(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
MAN8= isoinfo.8 mkisofs.8
MLINKS= isoinfo.8 devdump.8 isoinfo.8 isodump.8 isoinfo.8 isovfy.8 \
mkisofs.8 mkhybrid.8
DOCS= 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
.else
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= cdda2wav.1 cdrecord.1 readcd.1 scgcheck.1
- 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
DOCS= README README.ATAPI README.DiskT@2 README.FreeBSD README.WORM \
README.audio README.cdplus README.cdrw README.cdtext \
README.clone README.copy README.mkisofs README.multi \
README.raw README.rscsi README.sony README.verify
CDDA2WAVDOCS= FAQ Frontends HOWTOUSE OtherProgs README THANKS TODO
.endif
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
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_REINPLACE= 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
MAKE_ENV= CCOM=${CC} LANG=C
#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(.+)$//}
.if defined(MKISOFS)
DOCSSRC= ${WRKSRC}/${PORTNAME}
PKGMESSAGE= ""
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
DOCSSRC= ${WRKSRC}
PKGMESSAGE= ${WRKDIR}/pkg-message
.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
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
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
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>
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(MKISOFS) && !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 gets installed suid root as"
@${ECHO_MSG} " this is the preferred method to set 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
@${CP} ${PORTSDIR}/Templates/${i} ${WRKSRC}/conf
@${CP} ${PORTSDIR}/Templates/${i} ${WRKSRC}/cdda2wav
.endfor
.if ${MACHINE_ARCH} != "i386" || ${CC} != "cc"
@${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \
${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-${CC}.rul
.endif
post-patch:
- 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
@${RM} ${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(MKISOFS)
- 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
.for i in 45libedc 45libparanoia 55cdda2wav 55cdrecord 55readcd 55rscsi \
55scgcheck
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
@${RM} ${WRKSRC}/TARGETS/${i}
.endfor
.else
.for i in 45libfile 45libhfs_iso 45libunls 55mkisofs 55mkisofs!@!diag
@${RM} ${WRKSRC}/TARGETS/${i}
.endfor
.if !defined(WITH_RSCSI)
@${RM} ${WRKSRC}/TARGETS/55rscsi
.endif
.for i in README.rscsi include/deflts.h cdda2wav/cdda2wav.1 \
cdrecord/cdrecord.1 cdrecord/cdrecord.dfl cdrecord/defaults.c \
librscg/scsi-remote.c readcd/readcd.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
- 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
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
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \
${WRKDIR}/pkg-message
.endif
1997-11-05 16:22:36 +01:00
do-install:
.if defined(MKISOFS)
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${ARCH}-freebsd-cc/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
${PREFIX}/bin
@${LN} -sf mkisofs ${PREFIX}/bin/mkhybrid
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 devdump isodebug isodump isoinfo isovfy
@${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${ARCH}-freebsd-cc/${i} \
${PREFIX}/bin
.endfor
@${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.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_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 ${PREFIX}/man/man8
.else
@${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${ARCH}-freebsd-cc/cdda2wav \
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
@${LN} -sf cdda2wav ${PREFIX}/bin/list_audio_tracks
@${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${ARCH}-freebsd-cc/cdrecord \
${PREFIX}/bin
2002-04-16 21:02:19 +02:00
@${INSTALL_PROGRAM} ${WRKSRC}/readcd/OBJ/${ARCH}-freebsd-cc/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/${ARCH}-freebsd-cc/rscsi \
${PREFIX}/sbin
@${CHMOD} u+s ${PREFIX}/sbin/rscsi
.endif
@${INSTALL_PROGRAM} ${WRKSRC}/scgcheck/OBJ/${ARCH}-freebsd-cc/scgcheck \
${PREFIX}/bin
@${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
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_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
${PREFIX}/etc/cdrecord.sample
.if !exists(${PREFIX}/etc/cdrecord)
@${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl ${PREFIX}/etc/cdrecord
.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(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
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${DOCSSRC}/${i} ${DOCSDIR}
.endfor
.if !defined(MKISOFS)
@${MKDIR} ${DOCSDIR}/cdda2wav
.for i in ${CDDA2WAVDOCS}
@${INSTALL_DATA} ${DOCSSRC}/cdda2wav/${i} ${DOCSDIR}/cdda2wav
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
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-install:
-@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi
@if [ -f ${WRKDIR}/pkg-message ]; then ${CAT} ${WRKDIR}/pkg-message; fi
1997-11-05 16:22:36 +01:00
.include <bsd.port.post.mk>