ports/sysutils/cdrtools-devel/files/patch-README.rscsi
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

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.