freebsd-ports/sysutils/cdrtools-devel/pkg-plist
Alexander Leidinger c7aadf88d2 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 16:25:47 +00:00

31 lines
1.5 KiB
Text

bin/cdda2wav
bin/cdrecord
bin/list_audio_tracks
bin/readcd
bin/scgcheck
%%RSCSI%%sbin/rscsi
%%RSCSI%%@exec chmod u+s %B/%f
@unexec if cmp -s %D/etc/cdrecord %D/etc/cdrecord.sample; then rm -f %D/etc/cdrecord; else echo "If permanently deleting this package, %D/etc/cdrecord must be removed manually."; fi
etc/cdrecord.sample
@exec [ -f %B/cdrecord ] || cp %B/%f %B/cdrecord
%%RSCSI%%@unexec if cmp -s %D/etc/rscsi %D/etc/rscsi.sample; then rm -f %D/etc/rscsi; else echo "If permanently deleting this package, %D/etc/rscsi must be removed manually."; fi
%%RSCSI%%etc/rscsi.sample
%%RSCSI%%@exec [ -f %B/rscsi ] || cp %B/%f %B/rscsi
%%RSCSI%%@unexec if pw usershow rscsi >/dev/null 2>&1; then echo "If permanently deleting this package, user \"rscsi\" and its homedirectory must be removed manually."; fi
%%RSCSI%%@unexec if pw groupshow rscsi >/dev/null 2>&1; then echo "If permanently deleting this package, group \"rscsi\" must be removed manually."; fi
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.DiskT@2
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%%%DOCSDIR%%/README.WORM
%%PORTDOCS%%%%DOCSDIR%%/README.cdplus
%%PORTDOCS%%%%DOCSDIR%%/README.cdrw
%%PORTDOCS%%%%DOCSDIR%%/README.cdtext
%%PORTDOCS%%%%DOCSDIR%%/README.clone
%%PORTDOCS%%%%DOCSDIR%%/README.copy
%%PORTDOCS%%%%DOCSDIR%%/README.mkisofs
%%PORTDOCS%%%%DOCSDIR%%/README.multi
%%PORTDOCS%%%%DOCSDIR%%/README.raw
%%PORTDOCS%%%%DOCSDIR%%/README.rscsi
%%PORTDOCS%%%%DOCSDIR%%/README.sony
%%PORTDOCS%%%%DOCSDIR%%/README.verify
%%PORTDOCS%%@dirrm %%DOCSDIR%%