forked from Lainports/freebsd-ports
Changes common to cdrtools and mkisofs:
- 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.
- Manually replace included copies of config.guess and config.sub with
versions from ${PORTSDIR}/Templates.
- Install relevant READMEs in DOCSDIR (unless NOPORTDOCS is set), some
manual pages also reference these.
- Add a workaround for what appears to be a problem with gmake and certain
locales on -current. [1]
Changes to cdrtools:
- Adjust COMMENT, some tools in this package 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 terms in cdrecord/defaults.c (PR 50835).
- Install a sample configuration file for cdrecord, also install a
configuration file if it doesn't already exist.
- Patch manpages to better correspond to files and locations on FreeBSD.
- Add a knob to optionally build and install rscsi, 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.
Note that the stock rscsi of cdrtools 2.00.3 has a small security issue,
the fix from the cdrtools alpha version has been added to the port.
- Remove BSD_SCSI_SENSE_BUG from COPTX (CFLAGS) to libscg (see revision 1.48
of sysutils/cdrtools-devel/Makefile for a more detailed description).
- 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.
- Properly initialise the verbosity level of cdda2wav when the cooked_ioctl
interface is used so it's disabled by default.
- Remove unnecessary patch-ai, this patch for supporting Plasmon RF 4100
originated in the FreeBSD port of cdrtools but the relevant parts were
incorporated in cdrtools-1.10a14.
- Disable the use of mlockall(2) on all version of FreeBSD (see PR 62930 for
a description of the problem).
Changes to mkisofs:
- Add MLINKS for devdump.8, isodump.8 and 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.
- Unbreak mkhybrid.8 by replacing it with a MLINKS to mkisofs.8.
- Remove patch-bb, its purpose is unclear and there's no indication in the
CVS history why it was added.
Requested by: pav [1]
Submitted by: marius (maintainer)
Changes to UPDATING:
- add a note about the new location of the global configuration of cdrecord.
45 lines
1.7 KiB
Text
45 lines
1.7 KiB
Text
--- README.rscsi.orig Sun Aug 17 11:31:39 2003
|
|
+++ README.rscsi Sun Aug 17 14:38:57 2003
|
|
@@ -18,24 +18,21 @@
|
|
NOTE: In this case, rscsi must be installed suid root.
|
|
**** This is the preferred method ****
|
|
|
|
-To enable remote SCSI via the login shell method you should do the following:
|
|
-
|
|
- - Add an entry to /etc/passwd in the form:
|
|
+ The FreeBSD port automatically installs the rscsi binary suid
|
|
+ root and creates the user "rscsi".
|
|
|
|
- rscsi:x:1999:1000:Tape:/export/home/rscsi:/opt/schily/sbin/rscsi
|
|
-
|
|
- (modify this according to your OS). And don't forget to
|
|
- modify /etc/shadow the way it needs to be on your OS.
|
|
+To enable remote SCSI via the login shell method you should do the following:
|
|
|
|
- - Create a home directory for this user and add a .rhosts file
|
|
- to allow access to all users you like.
|
|
+ - Make sure that there is an entry for rshd(8) in /etc/inetd.conf
|
|
+ and inetd(8) is running.
|
|
|
|
- - Install rscsi suid root into /opt/schily/sbin
|
|
+ - Edit /usr/local/rscsi/.rhosts to allow access to all users you
|
|
+ like.
|
|
|
|
- - Install a file /etc/default/rscsi and define access rights.
|
|
+ - Edit /usr/local/etc/rscsi and define access rights.
|
|
Without this file, rscsi will not work at all.
|
|
|
|
- The template for this file is: rscsi/rscsi.dfl
|
|
+ The template for this file is: /usr/local/etc/rscsi.sample
|
|
|
|
RSCSI Security:
|
|
|
|
@@ -96,7 +93,7 @@
|
|
information about the remote libscg version used for the connection.
|
|
|
|
- To be able to use the remote SCSI client code from win32 you need to create
|
|
- a file /etc/passwd with a corect entry for the user you are on win32.
|
|
+ a file /etc/passwd with a correct entry for the user you are on win32.
|
|
Call 'id' to get the right user id.
|
|
Note that remote SCSI has not yet been tested on Win32.
|
|
|