misc/schilytools: Consolidate old schily's tools

- Update and consolidate schily's tools into more reasonable state
- Transfer maintenance to Robert Clausecker <fuz@fuz.su>

From Robert Clausecker <fuz@fuz.su> (new maintainer):

In 2018, Jörg Schilling consolidated all his projects into the
schilytools project and stopped providing new separate releases for the
individual projects (such as cdrtools, smake, star, and ved).  Hence,
the FreeBSD ports of these projects have been stuck on outdated versions
for years.

With this changeset, the schilytools are added to the ports collection
as a collection of 10 ports:

    devel/schilybase (libraries)
    archivers/star
    devel/sccs
    devel/smake
    devel/sunpromake
    editors/ved
    net/rscsi (split out from cdrtools for security reasons)
    sysutils/cdrtools
    sysutils/schilyutils (command line helpers, shells)
    misc/schilytools (meta port for all of these)

Where appropriate, I've tried to keep existing patches and conventions
in tact.  Some options have been renamed to more appropriate names,
others have been added or removed.  The schilytools have been patched
not to install binaries with the same name as system binaries, though
some man pages with such names remain.

The split into slave ports largely follows the OpenCSW packages provided
by the author.  Some differences are present:

 * strar has been moved from schilyutils to star
 * rscsi has been moved from cdrtools into a package on its own as it
   needs to be installed setuid to function.
 * mountcd is a Solaris only program and is not shipped
 * man2html is not shipped as it's already available in textproc/man2html
 * cdrecord, cdda2wav, and readcd are only installed setuid root if the
   user specifically requests so using a non-default option

This changeset unobsoletes the editors/ved port.

This changeset obsoletes the sysutils/cdrtools-devel port as schilytools
provide a newer version than the old development version shipped therein.

This changeset overwrites the following ports, the maintainers have
previously been informed via PR and direct email but haven't responded.
They have also been added as reviewers to this changeset.

    archivers/star (mm@freebsd.org)
    devel/smake (no maintainer)
    sysutils/cdrtools (marius@freebsd.org)
    sysutils/cdrtools-devel (marius@freebsd.org)

PR:		256467
Differential Revision:	https://reviews.freebsd.org/D30669
This commit is contained in:
Robert Clausecker 2021-07-01 10:01:55 +02:00 committed by Juraj Lutter
parent ceb35631b0
commit 2a40da7011
110 changed files with 1356 additions and 3197 deletions

3
MOVED
View file

@ -5974,7 +5974,6 @@ java/linux-sun-jdk16||2014-05-11|Has expired: Unsupported and known for multiple
ports-mgmt/pver||2014-05-11|Has expired: does not support pkgng
databases/firebird20-client|databases/firebird25-client|2014-05-11|Firebird 2.0 is EOLed
databases/firebird20-server|databases/firebird25-server|2014-05-11|Firebird 2.0 is EOLed
editors/ved||2014-05-15|Has expired: Depends on deprecated smake
japanese/chasen||2014-05-15|Has expired: Unmaintained since 2001
www/openx|www/revive-adserver|2014-05-15|Upstream obsolete, forked
security/clamav-devel||2014-05-16|Retire, older than security/clamav
@ -16457,3 +16456,5 @@ www/demoroniser||2021-06-26|Removed, made for Microsoft Powerpoint 9x with Perl
x11-toolkits/v||2021-06-27|Has expired: Dead upstream, unmaintained and no consumers
sysutils/ssid|sysutils/setsid|2021-06-27|Move to more obvious package name
databases/pgpool-II-35||2021-07-01|Has expired: EOL since January 2021, please use one of the other pgpool-II-* ports
sysutils/cdrtools-devel|sysutils/cdrtools|2021-07-01|Obsolete, use sysutils/cdrtools instead
sysutils/sformat|sysutils/schilyutils|2021-07-01|Subsumed under sysutils/schilyutils

View file

@ -1,70 +1,22 @@
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
PORTNAME= star
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= SF/s-tar
MAINTAINER= mm@FreeBSD.org
COMMENT= Unique standard tape archiver with many enhancements
LICENSE= CDDL GPLv2
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/CDDL.Schily.txt
OPTIONS_DEFINE+=DOCS TARTEST
OPTIONS_SUB= yes
TARTEST_DESC= Install tartest and test scripts
TARTEST_VARS= COMPONENTS+=tartest
BROKEN_riscv64= fails to configure in autoconf: checking whether the C compiler (riscv64-freebsd-clang) works... no
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= mt \
rmt \
star \
star_sym \
strar
USES= gmake gettext iconv tar:bzip2
BINARY_WRAPPERS= gm4
post-install-DOCS-off:
${RM} ${STAGEDIR}share/doc/star/README*
${RM} ${STAGEDIR}share/doc/star/STARvsGNUTAR
MAKE_ARGS= GMAKE_NOWARN=true DESTDIR=${STAGEDIR} INS_BASE=${PREFIX} \
MANBASE=
PORTDOCS= README README.crash README.mtio README.pattern STARvsGNUTAR \
README.ACL README.largefiles README.otherbugs \
README.posix-2001
OPTIONS_DEFINE= DOCS
post-patch:
@${MV} ${WRKSRC}/rmt/rmt.1 ${WRKSRC}/rmt/srmt.1
@${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g" \
${WRKSRC}/Mcsw \
${WRKSRC}/include/schily/deflts.h \
${WRKSRC}/rmt/rmt.c \
${WRKSRC}/rmt/rmt.dfl \
${WRKSRC}/rmt/srmt.1 \
${WRKSRC}/star/Makefile.dfl \
${WRKSRC}/star/defaults.c \
${WRKSRC}/star/star.1 \
${WRKSRC}/star/star.c \
${WRKSRC}/star/star.dfl \
${WRKSRC}/star/suntar.c
pre-build:
@${WRKSRC}/conf/cc-config.sh cc cc ${WRKSRC}/incs/Dcc.${ARCH}-freebsd
@cd ${WRKSRC}/RULES && ${SH} ./MKLINKS
post-stage:
@${RM} ${STAGEDIR}/${PREFIX}/bin/mt \
${STAGEDIR}/${PREFIX}/include/schily/*.h \
${STAGEDIR}/${PREFIX}/include/schily/*/*.h \
${STAGEDIR}/${PREFIX}/lib/*.a \
${STAGEDIR}/${PREFIX}/lib/profiled/*.a \
${STAGEDIR}/${PREFIX}/man/man1/match.1* \
${STAGEDIR}/${PREFIX}/man/man1/mt.1* \
${STAGEDIR}/${PREFIX}/man/man3/*.3* \
${STAGEDIR}/${PREFIX}/man/man5/makerules.5* \
${STAGEDIR}/${PREFIX}/man/man5/makefiles.5*
@${RMDIR} ${STAGEDIR}/${PREFIX}/include/schily/* \
${STAGEDIR}/${PREFIX}/include/schily \
${STAGEDIR}/${PREFIX}/lib/profiled
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${PORTDOCS}
(cd ${WRKSRC}/star && ${INSTALL_DATA} ${FILE} ${STAGEDIR}${DOCSDIR}/${FILE})
.endfor
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile.master"

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1555798131
SHA256 (star-1.6.tar.bz2) = 1b18662ebae6c3509020953d4464e654c7ded4752774de987d8dc307dc43f776
SIZE (star-1.6.tar.bz2) = 1154422

View file

@ -1,18 +0,0 @@
--- rmt/Makefile.orig 2011-04-15 20:06:22 UTC
+++ rmt/Makefile
@@ -6,13 +6,13 @@ include $(SRCROOT)/$(RULESDIR)/rules.to
###########################################################################
INSDIR= sbin
-TARGET= rmt
+TARGET= srmt
CPPOPTS += -DUSE_REMOTE
CPPOPTS += -DUSE_LARGEFILES
CFILES= rmt.c
#HFILES=
LIBS= -ldeflt -lschily $(LIB_SOCKET)
-XMK_FILE= Makefile.man Makefile.dfl Makefile.doc
+XMK_FILE= Makefile.man
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.cmd

View file

@ -1,15 +0,0 @@
--- rmt/Makefile.man.orig 2000-12-04 21:25:51 UTC
+++ rmt/Makefile.man
@@ -8,10 +8,10 @@ include $(SRCROOT)/$(RULESDIR)/rules.to
###########################################################################
MANDIR= man
-TARGETMAN= rmt
+TARGETMAN= srmt
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
-MANFILE= rmt.1
+MANFILE= srmt.1
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.man

View file

@ -1,22 +0,0 @@
--- star/Makefile.orig 2013-11-05 22:36:07 UTC
+++ star/Makefile
@@ -15,7 +15,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.to
INSDIR= bin
TARGET= star
#SYMLINKS= ustar tar
-SYMLINKS= ustar tar gnutar suntar scpio spax
+SYMLINKS= ustar suntar scpio spax
CPPOPTS += -D__STAR__
CPPOPTS += -DSET_CTIME -DFIFO -DUSE_MMAP -DUSE_REMOTE -DUSE_RCMD_RSH
#CPPOPTS += -DSET_CTIME -DFIFO -DUSE_MMAP
@@ -55,8 +55,8 @@ LIBS= -ldeflt -lrmt -lfind -lschily $(L
#
# Wenn -lfind, dann auch $(LIB_INTL)
#
-XMK_FILE= Makefile.man ustarman.mk starformatman.mk scpioman.mk gnutarman.mk \
- spaxman.mk suntarman.mk Makefile.dfl Makefile.doc
+XMK_FILE= Makefile.man starformatman.mk scpioman.mk \
+ spaxman.mk suntarman.mk
star_fat.c: star.c
$(RM) $(RM_FORCE) $@; cp star.c $@

View file

@ -1,18 +1,91 @@
bin/gnutar
bin/scpio
bin/smt
bin/spax
bin/star
bin/star_sym
bin/tartest
bin/strar
bin/suntar
%%TARTEST%%bin/tartest
bin/ustar
man/man1/scpio.1.gz
man/man1/smt.1.gz
man/man1/spax.1.gz
man/man1/srmt.1.gz
man/man1/star.1.gz
man/man1/star_sym.1.gz
man/man1/suntar.1.gz
man/man1/tartest.1.gz
man/man5/star.5.gz
etc/default/srmt
etc/default/star
sbin/srmt
share/doc/srmt/default-srmt.sample
%%PORTDOCS%%share/doc/star/README
%%PORTDOCS%%share/doc/star/README.ACL
%%PORTDOCS%%share/doc/star/README.crash
%%PORTDOCS%%share/doc/star/README.largefiles
%%PORTDOCS%%share/doc/star/README.mtio
%%PORTDOCS%%share/doc/star/README.otherbugs
%%PORTDOCS%%share/doc/star/README.pattern
%%PORTDOCS%%share/doc/star/README.posix-2001
%%PORTDOCS%%share/doc/star/STARvsGNUTAR
%%TARTEST%%share/doc/star/testscripts/00INDEX
%%TARTEST%%share/doc/star/testscripts/100char_longlink.tar
%%TARTEST%%share/doc/star/testscripts/100char_longlink.tar-non-compliant
%%TARTEST%%share/doc/star/testscripts/README.GNUtar-multivol.fail
%%TARTEST%%share/doc/star/testscripts/README.create-and-remove
%%TARTEST%%share/doc/star/testscripts/README.gtarfail
%%TARTEST%%share/doc/star/testscripts/README.largefiles
%%TARTEST%%share/doc/star/testscripts/README.longnames
%%TARTEST%%share/doc/star/testscripts/README.paxbug
%%TARTEST%%share/doc/star/testscripts/README.quicktest
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-compact-test.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-compact-test2.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-compact-test3.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-compact-test4.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-compact-test5.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-test.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-test2.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-test3.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-test4.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-nfsv4-test5.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-test.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-test2.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-test3.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-test4.tar.gz
%%TARTEST%%share/doc/star/testscripts/acl-test5.tar.gz
%%TARTEST%%share/doc/star/testscripts/create-and-remove.tar
%%TARTEST%%share/doc/star/testscripts/dirloop.tar
%%TARTEST%%share/doc/star/testscripts/g-hdr.pax.gz
%%TARTEST%%share/doc/star/testscripts/gnu-multi-fail-volume1.gtar
%%TARTEST%%share/doc/star/testscripts/gnu-multi-fail-volume2.gtar
%%TARTEST%%share/doc/star/testscripts/gtarfail.tar
%%TARTEST%%share/doc/star/testscripts/gtarfail2.tar
%%TARTEST%%share/doc/star/testscripts/long.ustar.gz
%%TARTEST%%share/doc/star/testscripts/longpath.tar.bz2
%%TARTEST%%share/doc/star/testscripts/mk
%%TARTEST%%share/doc/star/testscripts/mk2
%%TARTEST%%share/doc/star/testscripts/not_a_tar_file
%%TARTEST%%share/doc/star/testscripts/not_a_tar_file1
%%TARTEST%%share/doc/star/testscripts/not_a_tar_file2
%%TARTEST%%share/doc/star/testscripts/not_a_tar_file3
%%TARTEST%%share/doc/star/testscripts/old-file.tar
%%TARTEST%%share/doc/star/testscripts/pax-big-10g.tar.bz2
%%TARTEST%%share/doc/star/testscripts/pax-rename.tar.gz
%%TARTEST%%share/doc/star/testscripts/quicktest.filelist
%%TARTEST%%share/doc/star/testscripts/remove.tar
%%TARTEST%%share/doc/star/testscripts/tartest-quicktest.out
%%TARTEST%%share/doc/star/testscripts/types-star-oldsparse.tar.gz
%%TARTEST%%share/doc/star/testscripts/typescript
%%TARTEST%%share/doc/star/testscripts/ustar-all-filetypes.tar
%%TARTEST%%share/doc/star/testscripts/ustar-all-quicktest-past-contig.tar
%%TARTEST%%share/doc/star/testscripts/ustar-all-quicktest.tar
%%TARTEST%%share/doc/star/testscripts/ustar-all-quicktest.tar-without-cont-file
%%TARTEST%%share/doc/star/testscripts/ustar-bad-filetypes.tar
%%TARTEST%%share/doc/star/testscripts/ustar-bad-signedsum.tar
%%TARTEST%%share/doc/star/testscripts/ustar-big-2g.tar.bz2
%%TARTEST%%share/doc/star/testscripts/ustar-big-8g.tar.bz2
share/man/man1/gnutar.1.gz
share/man/man1/srmt.1.gz
share/man/man1/scpio.1.gz
share/man/man1/smt.1.gz
share/man/man1/spax.1.gz
share/man/man1/star.1.gz
share/man/man1/star_sym.1.gz
share/man/man1/strar.1.gz
share/man/man1/suntar.1.gz
%%TARTEST%%share/man/man1/tartest.1.gz
share/man/man1/ustar.1.gz
share/man/man5/star.5.gz

View file

@ -6798,6 +6798,8 @@
SUBDIR += scalatest
SUBDIR += scandoc
SUBDIR += sccache
SUBDIR += sccs
SUBDIR += schilybase
SUBDIR += scons
SUBDIR += sd-mux-ctrl
SUBDIR += sdl12
@ -6882,6 +6884,7 @@
SUBDIR += subversion-book
SUBDIR += subversion-lts
SUBDIR += subversive
SUBDIR += sunpromake
SUBDIR += svk
SUBDIR += svn2git
SUBDIR += svn_load_dirs

19
devel/sccs/Makefile Normal file
View file

@ -0,0 +1,19 @@
PORTNAME= sccs
CATEGORIES= devel
COMMENT= Source Code Control System (SCCS)
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= patch \
sccs
# these files are installed by the patch target,
# but they belong to sysutils/schilyutils
post-install:
${RM} ${STAGEDIR}${PREFIX}/bin/opatch
${RM} ${STAGEDIR}${PREFIX}/bin/spatch
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/opatch.1
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/patch.1
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/spatch.1
.include "${MASTERDIR}/Makefile.master"

6
devel/sccs/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
SCCS is an implementation of the POSIX standard Source Code Control
System. It provides actively maintained code based on the original UNIX
SCCS code OpenSourced by Sun as part of OpenSolaris and was made
portable to other platforms.
WWW: http://sccs.sourceforge.net/

116
devel/sccs/pkg-plist Normal file
View file

@ -0,0 +1,116 @@
bin/sccs
ccs/bin/admin
ccs/bin/bdiff
ccs/bin/cdc
ccs/bin/comb
ccs/bin/delta
ccs/bin/diff
ccs/bin/fsdiff
ccs/bin/get
ccs/bin/help
ccs/bin/prs
ccs/bin/prt
ccs/bin/rcs2sccs
ccs/bin/rmchg
ccs/bin/rmdel
ccs/bin/sact
ccs/bin/sccs
ccs/bin/sccscvt
ccs/bin/sccsdiff
ccs/bin/sccslog
ccs/bin/sccspatch
ccs/bin/unget
ccs/bin/val
ccs/bin/vc
ccs/bin/what
ccs/lib/diffh
ccs/lib/help/locale/C/ad
ccs/lib/help/locale/C/bd
ccs/lib/help/locale/C/cb
ccs/lib/help/locale/C/cm
ccs/lib/help/locale/C/cmds
ccs/lib/help/locale/C/co
ccs/lib/help/locale/C/de
ccs/lib/help/locale/C/default
ccs/lib/help/locale/C/ge
ccs/lib/help/locale/C/he
ccs/lib/help/locale/C/pr
ccs/lib/help/locale/C/prs
ccs/lib/help/locale/C/rc
ccs/lib/help/locale/C/sc
ccs/lib/help/locale/C/un
ccs/lib/help/locale/C/ut
ccs/lib/help/locale/C/va
ccs/lib/help/locale/C/vc
ccs/lib/libcassi.a
ccs/lib/libcomobj.a
ccs/lib/libmpw.a
ccs/lib/libsccs.a
share/man/man1/admin.1.gz
share/man/man1/bdiff.1.gz
share/man/man1/cdc.1.gz
share/man/man1/comb.1.gz
share/man/man1/delta.1.gz
share/man/man1/diff.1.gz
share/man/man1/get.1.gz
share/man/man1/help.1.gz
share/man/man1/prs.1.gz
share/man/man1/prt.1.gz
share/man/man1/rcs2sccs.1.gz
share/man/man1/rmdel.1.gz
share/man/man1/sact.1.gz
share/man/man1/sccs-add.1.gz
share/man/man1/sccs-admin.1.gz
share/man/man1/sccs-branch.1.gz
share/man/man1/sccs-cdc.1.gz
share/man/man1/sccs-check.1.gz
share/man/man1/sccs-clean.1.gz
share/man/man1/sccs-comb.1.gz
share/man/man1/sccs-commit.1.gz
share/man/man1/sccs-create.1.gz
share/man/man1/sccs-cvt.1.gz
share/man/man1/sccs-deledit.1.gz
share/man/man1/sccs-delget.1.gz
share/man/man1/sccs-delta.1.gz
share/man/man1/sccs-diffs.1.gz
share/man/man1/sccs-edit.1.gz
share/man/man1/sccs-editor.1.gz
share/man/man1/sccs-enter.1.gz
share/man/man1/sccs-fix.1.gz
share/man/man1/sccs-get.1.gz
share/man/man1/sccs-help.1.gz
share/man/man1/sccs-histfile.1.gz
share/man/man1/sccs-info.1.gz
share/man/man1/sccs-init.1.gz
share/man/man1/sccs-istext.1.gz
share/man/man1/sccs-ldiffs.1.gz
share/man/man1/sccs-log.1.gz
share/man/man1/sccs-print.1.gz
share/man/man1/sccs-prs.1.gz
share/man/man1/sccs-prt.1.gz
share/man/man1/sccs-rcs2sccs.1.gz
share/man/man1/sccs-remove.1.gz
share/man/man1/sccs-rename.1.gz
share/man/man1/sccs-rmdel.1.gz
share/man/man1/sccs-root.1.gz
share/man/man1/sccs-sact.1.gz
share/man/man1/sccs-sccsdiff.1.gz
share/man/man1/sccs-status.1.gz
share/man/man1/sccs-tell.1.gz
share/man/man1/sccs-unedit.1.gz
share/man/man1/sccs-unget.1.gz
share/man/man1/sccs-val.1.gz
share/man/man1/sccs.1.gz
share/man/man1/sccscvt.1.gz
share/man/man1/sccsdiff.1.gz
share/man/man1/sccslog.1.gz
share/man/man1/sccspatch.1.gz
share/man/man1/unget.1.gz
share/man/man1/val.1.gz
share/man/man1/vc.1.gz
share/man/man1/what.1.gz
share/man/man5/changeset.5.gz
share/man/man5/sccschangeset.5.gz
share/man/man5/sccsfile.5.gz
xpg4/bin/get
xpg4/bin/sccs

45
devel/schilybase/Makefile Normal file
View file

@ -0,0 +1,45 @@
PORTNAME= schilybase
CATEGORIES= devel
COMMENT= Support files and libraries for the schilytools
USE_LDCONFIG= yes
OPTIONS_DEFINE= PROFILE DOCS
OPTIONS_DEFAULT=DOCS
OPTIONS_SUB= yes
# do not reorder: order required for build to succeed
BOOTSTRAP_SMAKE?= yes
COMPONENTS= conf \
inc \
include \
include/schily \
libschily \
libdeflt \
libscg \
libscg/scg \
libxtermcap \
libcdrdeflt \
libdbgmalloc \
libedc \
libfile \
libfind \
libgetopt \
libhfs_iso \
libmdigest \
libparanoia \
librmt \
librscg \
libscgcmd \
libshedit \
libsiconv \
libsiconv/tables \
libstreamar \
man \
man/man4
post-install-PROFILE-off:
${RM} -r ${STAGEDIR}${PREFIX}/lib/profiled
.include "Makefile.master"

View file

@ -0,0 +1,88 @@
DISTVERSION= 2021-06-07
MASTER_SITES= SF/schilytools
DISTNAME= schily-${DISTVERSION}
MAINTAINER= fuz@fuz.su
LICENSE= CDDL ${COMPONENTS:@c@${LICENSE.${c}}@:O:u}
LICENSE.autoconf= GPLv2
LICENSE.libhfs_iso= GPLv2
LICENSE.man2html= GPLv2
LICENSE.mkisofs= GPLv2
LICENSE.libparanoia= LGPL21
LICENSE.cpp= BSD3CLAUSE
LICENSE.libmdigest= BSD2CLAUSE
LICENSE.libfile= BSD2CLAUSE
LICENSE.patch= BSD1CLAUSE
LICENSE.lndir= MIT
LICENSE_COMB= ${${LICENSE:[#]}>1:?multi:single}
LICENSE_FILE_CDDL= ${WRKSRC}/CDDL.Schily.txt
LICENSE_FILE_GPLv2= ${WRKSRC}/GPL-2.0.txt
LICENSE_FILE_LGPL21= ${WRKSRC}/LGPL-2.1.txt
LICENSE_FILE_BSD1CLAUSE= ${WRKSRC}/patch/LICENSE
LICENSE_NAME_BSD1CLAUSE= BSD 1-clause LICENSE
LICENSE_PERMS_BSD1CLAUSE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
# schilybase has all the libraries
.if ${PORTNAME} != "schilybase"
BUILD_DEPENDS+= schilybase=${PORTVERSION}:devel/schilybase
RUN_DEPENDS+= schilybase=${PORTVERSION}:devel/schilybase
.endif
.if "${BOOTSTRAP_SMAKE:tl}" != "yes"
BUILD_DEPENDS+= smake:devel/smake
.endif
USES+= tar:bz2 compiler gettext-runtime iconv
MAKE_ARGS= INS_BASE=${PREFIX} \
INS_RBASE=${PREFIX} \
LINKMODE=dynamic \
DESTDIR=${STAGEDIR} \
STRIPFLAGS=${WITH_DEBUG:D:U-s} \
CCOM=${COMPILER_TYPE} \
CC=${CC} \
CCC=${CXX} \
COPTX="${CFLAGS}" \
C++OPTX="${CXXFLAGS}" \
NOECHO=
MAKE_CMD= ${"${BOOTSTRAP_SMAKE}" == "yes":?${WRKSRC}/psmake/smake:smake}
PLIST_SUB+= ARCH=${ARCH} COMPILER_TYPE=${COMPILER_TYPE}
PLIST= ${.CURDIR}/pkg-plist
PKGMESSAGE= ${.CURDIR}/pkg-message
DESCR= ${.CURDIR}/pkg-descr
post-extract:
cd ${WRKSRC}/rmt && ${MV} rmt.dfl srmt.dfl
cd ${WRKSRC}/rmt && ${MV} default-rmt.sample default-srmt.sample
.if "${BOOTSTRAP_SMAKE:tl}" == "yes"
# build a bootstrap smake as MAKE_CMD
pre-configure:
cd ${WRKSRC}/psmake && ${SETENV} ${MAKE_ENV} ${SH} ./MAKE-all
.endif
do-configure:
for component in ${COMPONENTS} ; \
do \
cd ${WRKSRC}/$$component && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} config ; \
done
do-build:
for component in ${COMPONENTS} ; \
do \
cd ${WRKSRC}/$$component && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} all ; \
done
do-install:
for component in ${COMPONENTS} ; \
do \
cd ${WRKSRC}/$$component && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install ; \
done
[ -z "${COMPONENTS:Mlib*}" ] || ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1623063845
SHA256 (schily-2021-06-07.tar.bz2) = ca7ecb3b749d7579a65b61708828153ab8d4f0081b5e2171fc8b98d75cacce2d
SIZE (schily-2021-06-07.tar.bz2) = 4905609

View file

@ -0,0 +1,11 @@
--- cal/Makefile.orig 2021-06-06 21:32:57 UTC
+++ cal/Makefile
@@ -7,7 +7,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSDIR= bin
# Calendar
-TARGET= cal
+TARGET= scal
CPPOPTS += -DVSHNAME='"bosh"' # Shell name variant (bosh/osh/pbosh)

View file

@ -0,0 +1,11 @@
--- cal/Makefile.man.orig 2021-06-06 21:33:22 UTC
+++ cal/Makefile.man
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
MANDIR= man
-TARGETMAN= cal
+TARGETMAN= scal
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
MANFILE= cal.1

View file

@ -1,30 +1,30 @@
--- cdrecord/README.rscsi.orig 2004-05-19 14:12:05 UTC
+++ cdrecord/README.rscsi
@@ -18,24 +18,21 @@ There are three possible ways to control
@@ -18,24 +18,21 @@ There are three possible ways to control access to the
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:
-
- rscsi:x:1999:1000:Tape:/export/home/rscsi:/opt/schily/sbin/rscsi
+ The FreeBSD port automatically installs the rscsi binary suid
+ root and creates the user "rscsi".
+
To enable remote SCSI via the login shell method you should do the following:
- (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.
- - Add an entry to /etc/passwd in the form:
+ - 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
- rscsi:x:1999:1000:Tape:/export/home/rscsi:/opt/schily/sbin/rscsi
+ - Edit /usr/local/rscsi/.rhosts to allow access to all users you
+ like.
- (modify this according to your OS). And don't forget to
- modify /etc/shadow the way it needs to be on your OS.
-
- - Create a home directory for this user and add a .rhosts file
- to allow access to all users you like.
-
- - Install rscsi suid root into /opt/schily/sbin
-
- - 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.

View file

@ -15,9 +15,9 @@
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- cdrecord/cdrecord.1.orig 2017-09-21 14:11:50 UTC
--- cdrecord/cdrecord.1.orig 2020-09-03 23:04:33 UTC
+++ cdrecord/cdrecord.1
@@ -3169,8 +3169,6 @@ There must be at least one track per fil
@@ -3226,8 +3226,6 @@ There must be at least one track per file.
.SH SEE ALSO
.BR cdda2wav (1),
.BR readcd (1),

View file

@ -0,0 +1,11 @@
--- compare/Makefile.orig 2021-06-21 15:02:35 UTC
+++ compare/Makefile
@@ -6,7 +6,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR= bin
-TARGET= compare
+TARGET= scompare
CPPOPTS += -DUSE_LARGEFILES
CPPOPTS += -DSCHILY_PRINT

View file

@ -0,0 +1,11 @@
--- compare/Makefile.man.orig 2021-06-21 15:02:55 UTC
+++ compare/Makefile.man
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
MANDIR= man
-TARGETMAN= compare
+TARGETMAN= scompare
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
MANFILE= compare.1

View file

@ -0,0 +1,11 @@
--- hdump/Makefile.orig 2021-06-06 21:34:56 UTC
+++ hdump/Makefile
@@ -7,7 +7,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSDIR= bin
TARGET= hdump
-HARDLINKS= od ../xpg4/bin/od
+HARDLINKS= sod ../xpg4/bin/od
#HARDLINKS= ../xpg4/bin/od
CPPOPTS += -DUSE_LARGEFILES
CPPOPTS += -DSCHILY_PRINT

View file

@ -0,0 +1,11 @@
--- hdump/od.mk1.orig 2021-06-06 21:34:41 UTC
+++ hdump/od.mk1
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
MANDIR= man
-TARGETMAN= od
+TARGETMAN= sod
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
MANFILE= od.1

View file

@ -1,6 +1,6 @@
--- mkisofs/mkisofs.8.orig 2017-12-10 18:47:50 UTC
--- mkisofs/mkisofs.8.orig 2020-09-04 13:24:04 UTC
+++ mkisofs/mkisofs.8
@@ -2739,7 +2739,7 @@ but is kept to be compatible with
@@ -2900,7 +2900,7 @@ but is kept to be compatible with
The format of the
.I magic
file is almost identical to the
@ -9,7 +9,7 @@
file used by the Linux
.BR file (1)
command - the routines for reading and decoding the
@@ -2778,7 +2778,7 @@ l l l l .
@@ -2939,7 +2939,7 @@ l l l l .
.TE
.PP
The format of the file is described in the

View file

@ -0,0 +1,20 @@
--- mt/Makefile.orig 2021-06-07 13:29:48 UTC
+++ mt/Makefile
@@ -7,7 +7,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSDIR= bin
TARGET= smt
-SYMLINKS= mt
+#SYMLINKS= mt
CPPOPTS += -DUSE_REMOTE
CPPOPTS += -DSCHILY_PRINT
@@ -17,7 +17,7 @@ CFILES= mt.c
# LIB_CAP is needed for Linux capability support in librmt.
#
LIBS= -lrmt -lschily $(LIB_SOCKET) $(LIB_CAP)
-XMK_FILE= Makefile.man mt.mk1
+XMK_FILE= Makefile.man
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.cmd

View file

@ -0,0 +1,11 @@
--- printf/Makefile.orig 2021-06-06 21:36:13 UTC
+++ printf/Makefile
@@ -6,7 +6,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR= bin
-TARGET= printf
+TARGET= sprintf
OINCSDIR += -I. # Use local defs.h
CPPOPTS += -DUSE_LARGEFILES
CPPOPTS += -DSCHILY_PRINT

View file

@ -0,0 +1,11 @@
--- printf/Makefile.man.orig 2021-06-06 21:36:29 UTC
+++ printf/Makefile.man
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
MANDIR= man
-TARGETMAN= printf
+TARGETMAN= sprintf
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
MANFILE= printf.1

View file

@ -15,9 +15,9 @@
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- readcd/readcd.1.orig 2017-06-06 18:15:16 UTC
--- readcd/readcd.1.orig 2020-09-03 23:04:21 UTC
+++ readcd/readcd.1
@@ -641,8 +641,6 @@ is mapped to
@@ -644,8 +644,6 @@ is mapped to
.SH SEE ALSO
.BR cdrecord (1),
.BR mkisofs (8),

View file

@ -0,0 +1,11 @@
--- rmt/Makefile.orig 2021-06-04 16:09:01 UTC
+++ rmt/Makefile
@@ -6,7 +6,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR= sbin
-TARGET= rmt
+TARGET= srmt
CPPOPTS += -DUSE_REMOTE
CPPOPTS += -DUSE_LARGEFILES
CFILES= rmt.c

View file

@ -0,0 +1,11 @@
--- rmt/Makefile.dfl.orig 2021-06-04 16:13:36 UTC
+++ rmt/Makefile.dfl
@@ -10,7 +10,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSMODE= 0644
INSDIR= etc/default
INSBASE= $(INS_RBASE:%/=%)
-TARGET= rmt
+TARGET= srmt
AUXSRCEXT= .dfl
#XMK_FILE= Makefile.man

View file

@ -0,0 +1,13 @@
--- rmt/Makefile.doc.orig 2021-06-04 16:12:30 UTC
+++ rmt/Makefile.doc
@@ -7,8 +7,8 @@ RULESDIR= RULES
include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
-INSDIR= share/doc/rmt
-TARGET= default-rmt.sample
+INSDIR= share/doc/srmt
+TARGET= default-srmt.sample
#XMK_FILE= Makefile.man
###########################################################################

View file

@ -0,0 +1,11 @@
--- rmt/Makefile.man.orig 2021-06-04 16:09:18 UTC
+++ rmt/Makefile.man
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
MANDIR= man
-TARGETMAN= rmt
+TARGETMAN= srmt
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
MANFILE= rmt.1

View file

@ -0,0 +1,13 @@
--- sh/Makefile.orig 2021-06-04 17:19:38 UTC
+++ sh/Makefile
@@ -7,9 +7,8 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSDIR= bin
# Shell
-TARGET= sh
+TARGET= bosh
SYMLINKS= pfsh # Profile Bourne Shell
-SYMLINKS += bosh # Bourne Shell
SYMLINKS += jsh # Job control Bourne Shell
HARDLINKS += ../xpg4/bin/sh # POSIX Bourne Shell

View file

@ -0,0 +1,11 @@
--- sh/Makefile.man.orig 2021-06-04 17:20:33 UTC
+++ sh/Makefile.man
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
MANDIR= man
-TARGETMAN= sh
+TARGETMAN= bosh
MANSECT= $(MANSECT_CMD)
MANSUFFIX= $(MANSUFF_CMD)
MANFILE= sh.1

View file

@ -0,0 +1,11 @@
--- star/Makefile.orig 2021-06-04 16:14:05 UTC
+++ star/Makefile
@@ -15,7 +15,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
INSDIR= bin
TARGET= star
#SYMLINKS= ustar tar
-SYMLINKS= ustar tar gnutar suntar scpio spax
+SYMLINKS= ustar suntar gnutar scpio spax
CPPOPTS += -D__STAR__
CPPOPTS += -DSET_CTIME # Include timestorm code to set ctime
CPPOPTS += -DFIFO # Include FIFO code

View file

@ -1,7 +1,7 @@
--- star/star.1.orig 2011-04-12 17:34:22 UTC
--- star/star.1.orig 2021-06-04 16:15:43 UTC
+++ star/star.1
@@ -32,14 +32,6 @@ star \- unique standard tape archiver
.I file1 .\|.\|. filen
@@ -43,14 +43,6 @@ star \- unique standard tape archiver
\fB\-find\fP
[\fIfind_expr\fP]
.br
-.ie n .B "tar\ \ "

View file

@ -0,0 +1,13 @@
--- sunpro/Make/bin/make/common/Makefile.orig 2021-06-04 16:47:25 UTC
+++ sunpro/Make/bin/make/common/Makefile
@@ -8,8 +8,8 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
###########################################################################
INSDIR= bin
-TARGET= make
-HARDLINKS= dmake svr4.make ../lib/svr4.make ../xpg4/bin/make
+TARGET= dmake
+HARDLINKS= svr4.make ../lib/svr4.make ../xpg4/bin/make
CPPOPTS += -I../../../../include
CPPOPTS += -I../../../include
#CPPOPTS += -compat=4

View file

@ -0,0 +1,16 @@
Support files and libraries for schilytools, a collection
of programs by Joerg Schilling. This includes among others
* libedc -- CD sector formatting library
* libfind -- find(1) as a library
* libhfs -- library to handle Apple HFS extensions
* libmdigest -- message digest library
* libparanoia -- Portable CD Audio paranoia extraction library
* librscg -- remote SCSI transport library
* libsiconv -- NLS library for Unicode and iconv wrapper
* libscg -- portable SCSI transport library
* libschily -- portable extensions to the POSIX API
* libshedit -- bsh command line editor
* libxtermcap -- extended termcap library
WWW: http://schilytools.sourceforge.net

347
devel/schilybase/pkg-plist Normal file
View file

@ -0,0 +1,347 @@
etc/termcap
include/scg/aspi-dos.h
include/scg/aspi-win32.h
include/scg/scgcmd.h
include/scg/scgio.h
include/scg/scgops.h
include/scg/scsicdb.h
include/scg/scsidefs.h
include/scg/scsireg.h
include/scg/scsisense.h
include/scg/scsitransp.h
include/scg/spti-wnt.h
include/scg/srb_os2.h
include/schily/_regex.h
include/schily/%%ARCH%%-freebsd-%%COMPILER_TYPE%%/align.h
include/schily/%%ARCH%%-freebsd-%%COMPILER_TYPE%%/avoffset.h
include/schily/%%ARCH%%-freebsd-%%COMPILER_TYPE%%/xconfig.h
include/schily/align.h
include/schily/alloca.h
include/schily/archdefs.h
include/schily/assert.h
include/schily/avoffset.h
include/schily/btorder.h
include/schily/ccomdefs.h
include/schily/checkerr.h
include/schily/ctype.h
include/schily/dbgmalloc.h
include/schily/deflts.h
include/schily/device.h
include/schily/dirent.h
include/schily/dlfcn.h
include/schily/err_arch.h
include/schily/err_bit.h
include/schily/err_char.h
include/schily/err_type.h
include/schily/errno.h
include/schily/fcntl.h
include/schily/fetchdir.h
include/schily/find.h
include/schily/float.h
include/schily/fnmatch.h
include/schily/fstream.h
include/schily/getargs.h
include/schily/getcwd.h
include/schily/getopt.h
include/schily/grp.h
include/schily/hostname.h
include/schily/iconv.h
include/schily/idcache.h
include/schily/in.h
include/schily/inet.h
include/schily/intcvt.h
include/schily/inttypes.h
include/schily/io.h
include/schily/ioctl.h
include/schily/ipc.h
include/schily/jmpdefs.h
include/schily/libgen.h
include/schily/libport.h
include/schily/librmt.h
include/schily/limits.h
include/schily/locale.h
include/schily/math.h
include/schily/maxpath.h
include/schily/mconfig.h
include/schily/md4.h
include/schily/md5.h
include/schily/mman.h
include/schily/mtio.h
include/schily/netdb.h
include/schily/nlsdefs.h
include/schily/param.h
include/schily/patmatch.h
include/schily/poll.h
include/schily/priv.h
include/schily/procfs.h
include/schily/prototyp.h
include/schily/pwd.h
include/schily/regex.h
include/schily/resource.h
include/schily/rmd160.h
include/schily/rmtio.h
include/schily/schily.h
include/schily/schilyp.h
include/schily/select.h
include/schily/sem.h
include/schily/setjmp.h
include/schily/sha1.h
include/schily/sha2.h
include/schily/sha3.h
include/schily/shadow.h
include/schily/shcall.h
include/schily/shedit.h
include/schily/shm.h
include/schily/siconv.h
include/schily/sigblk.h
include/schily/signal.h
include/schily/sigset.h
include/schily/socket.h
include/schily/standard.h
include/schily/stat.h
include/schily/stdarg.h
include/schily/stdint.h
include/schily/stdio.h
include/schily/stdlib.h
include/schily/stkframe.h
include/schily/strar.h
include/schily/string.h
include/schily/sunos4_proto.h
include/schily/sysexits.h
include/schily/syslog.h
include/schily/systeminfo.h
include/schily/termcap.h
include/schily/termios.h
include/schily/time.h
include/schily/timeb.h
include/schily/times.h
include/schily/type_val.h
include/schily/types.h
include/schily/unistd.h
include/schily/utime.h
include/schily/utsname.h
include/schily/utypes.h
include/schily/values.h
include/schily/varargs.h
include/schily/vfork.h
include/schily/wait.h
include/schily/walk.h
include/schily/wchar.h
include/schily/wctype.h
include/schily/windows.h
include/schily/xconfig.h
include/schily/xmconfig.h
lib/libcdrdeflt.a
lib/libcdrdeflt.so
lib/libcdrdeflt.so.1.0
lib/libdbgmalloc.a
lib/libdeflt.a
lib/libdeflt.so
lib/libdeflt.so.1.0
lib/libedc_ecc.a
lib/libedc_ecc.so
lib/libedc_ecc.so.1.0
lib/libedc_ecc_dec.a
lib/libedc_ecc_dec.so
lib/libedc_ecc_dec.so.1.0
lib/libfile.a
lib/libfile.so
lib/libfile.so.1.0
lib/libfind.a
lib/libfind.so
lib/libfind.so.4.0
lib/libgetopt.a
lib/libhfs.a
lib/libhfs.so
lib/libhfs.so.1.0
lib/libmdigest.a
lib/libmdigest.so
lib/libmdigest.so.1.0
lib/libparanoia.a
lib/libparanoia.so
lib/libparanoia.so.1.0
lib/librmt.a
lib/librmt.so
lib/librmt.so.1.0
lib/librscg.a
lib/librscg.so
lib/librscg.so.1.0
lib/libscg.a
lib/libscg.so
lib/libscg.so.1.0
lib/libscgcmd.a
lib/libscgcmd.so
lib/libscgcmd.so.1.0
lib/libschily.a
lib/libschily.so
lib/libschily.so.2.0
lib/libshedit.a
lib/libshedit.so
lib/libshedit.so.1.0
lib/libsiconv.a
lib/libsiconv.so
lib/libsiconv.so.1.0
lib/libstreamar.a
lib/libstreamar.so
lib/libstreamar.so.1.0
lib/libxtermcap.a
lib/libxtermcap.so
lib/libxtermcap.so.1.0
%%PROFILE%%lib/profiled/libcdrdeflt.a
%%PROFILE%%lib/profiled/libdeflt.a
%%PROFILE%%lib/profiled/libedc_ecc.a
%%PROFILE%%lib/profiled/libedc_ecc_dec.a
%%PROFILE%%lib/profiled/libfile.a
%%PROFILE%%lib/profiled/libfind.a
%%PROFILE%%lib/profiled/libhfs.a
%%PROFILE%%lib/profiled/libmdigest.a
%%PROFILE%%lib/profiled/libparanoia.a
%%PROFILE%%lib/profiled/librmt.a
%%PROFILE%%lib/profiled/librscg.a
%%PROFILE%%lib/profiled/libscg.a
%%PROFILE%%lib/profiled/libscgcmd.a
%%PROFILE%%lib/profiled/libschily.a
%%PROFILE%%lib/profiled/libshedit.a
%%PROFILE%%lib/profiled/libsiconv.a
%%PROFILE%%lib/profiled/libxtermcap.a
%%PORTDOCS%%share/doc/libparanoia/README.interface
%%PORTDOCS%%share/doc/libparanoia/README.paranoia
share/lib/siconv/cp10000
share/lib/siconv/cp10006
share/lib/siconv/cp10007
share/lib/siconv/cp10029
share/lib/siconv/cp10079
share/lib/siconv/cp10081
share/lib/siconv/cp1250
share/lib/siconv/cp1251
share/lib/siconv/cp1252
share/lib/siconv/cp1253
share/lib/siconv/cp1254
share/lib/siconv/cp1255
share/lib/siconv/cp1256
share/lib/siconv/cp1257
share/lib/siconv/cp1258
share/lib/siconv/cp437
share/lib/siconv/cp737
share/lib/siconv/cp775
share/lib/siconv/cp850
share/lib/siconv/cp852
share/lib/siconv/cp855
share/lib/siconv/cp857
share/lib/siconv/cp860
share/lib/siconv/cp861
share/lib/siconv/cp862
share/lib/siconv/cp863
share/lib/siconv/cp864
share/lib/siconv/cp865
share/lib/siconv/cp866
share/lib/siconv/cp869
share/lib/siconv/cp874
share/lib/siconv/iso8859-1
share/lib/siconv/iso8859-10
share/lib/siconv/iso8859-11
share/lib/siconv/iso8859-13
share/lib/siconv/iso8859-14
share/lib/siconv/iso8859-15
share/lib/siconv/iso8859-16
share/lib/siconv/iso8859-2
share/lib/siconv/iso8859-3
share/lib/siconv/iso8859-4
share/lib/siconv/iso8859-5
share/lib/siconv/iso8859-6
share/lib/siconv/iso8859-7
share/lib/siconv/iso8859-8
share/lib/siconv/iso8859-9
share/lib/siconv/koi8-r
share/lib/siconv/koi8-u
share/man/man3/absfpath.3.gz
share/man/man3/absnpath.3.gz
share/man/man3/abspath.3.gz
share/man/man3/astoi.3.gz
share/man/man3/astol.3.gz
share/man/man3/breakline.3.gz
share/man/man3/cmpbytes.3.gz
share/man/man3/comerr.3.gz
share/man/man3/comerrno.3.gz
share/man/man3/errmsg.3.gz
share/man/man3/errmsgno.3.gz
share/man/man3/error.3.gz
share/man/man3/fdown.3.gz
share/man/man3/fdup.3.gz
share/man/man3/fexecl.3.gz
share/man/man3/fexecle.3.gz
share/man/man3/fexecv.3.gz
share/man/man3/fexecve.3.gz
share/man/man3/fgetline.3.gz
share/man/man3/file_raise.3.gz
share/man/man3/fileclose.3.gz
share/man/man3/fileluopen.3.gz
share/man/man3/fileopen.3.gz
share/man/man3/filepos.3.gz
share/man/man3/fileread.3.gz
share/man/man3/filereopen.3.gz
share/man/man3/fileseek.3.gz
share/man/man3/filesize.3.gz
share/man/man3/filestat.3.gz
share/man/man3/filewrite.3.gz
share/man/man3/findline.3.gz
share/man/man3/flush.3.gz
share/man/man3/fnmatch.3.gz
share/man/man3/format.3.gz
share/man/man3/fpipe.3.gz
share/man/man3/fprintf.3.gz
share/man/man3/getallargs.3.gz
share/man/man3/getargerror.3.gz
share/man/man3/getarginit.3.gz
share/man/man3/getargs.3.gz
share/man/man3/geterrno.3.gz
share/man/man3/getfiles.3.gz
share/man/man3/getlallargs.3.gz
share/man/man3/getlargs.3.gz
share/man/man3/getlfiles.3.gz
share/man/man3/getline.3.gz
share/man/man3/getopt.3.gz
share/man/man3/getsubopt.3.gz
share/man/man3/getvallargs.3.gz
share/man/man3/getvargs.3.gz
share/man/man3/getvfiles.3.gz
share/man/man3/handlecond.3.gz
share/man/man3/librmt.3.gz
share/man/man3/movebytes.3.gz
share/man/man3/mtg2rmtg.3.gz
share/man/man3/ofindline.3.gz
share/man/man3/patcompile.3.gz
share/man/man3/patmatch.3.gz
share/man/man3/peekc.3.gz
share/man/man3/printf.3.gz
share/man/man3/raisecond.3.gz
share/man/man3/resolvefpath.3.gz
share/man/man3/resolvenpath.3.gz
share/man/man3/resolvepath.3.gz
share/man/man3/rmtclose.3.gz
share/man/man3/rmtdebug.3.gz
share/man/man3/rmtfilename.3.gz
share/man/man3/rmtg2mtg.3.gz
share/man/man3/rmtgetconn.3.gz
share/man/man3/rmthostname.3.gz
share/man/man3/rmtinit.3.gz
share/man/man3/rmtioctl.3.gz
share/man/man3/rmtopen.3.gz
share/man/man3/rmtread.3.gz
share/man/man3/rmtrmt.3.gz
share/man/man3/rmtrsh.3.gz
share/man/man3/rmtseek.3.gz
share/man/man3/rmtstatus.3.gz
share/man/man3/rmtwrite.3.gz
share/man/man3/rmtxstatus.3.gz
share/man/man3/spawnl.3.gz
share/man/man3/spawnv.3.gz
share/man/man3/sprintf.3.gz
share/man/man3/starthandlecond.3.gz
share/man/man3/strcatl.3.gz
share/man/man3/streql.3.gz
share/man/man3/strlen.3.gz
share/man/man3/unhandlecond.3.gz
share/man/man5/makefiles.5.gz
share/man/man5/makerules.5.gz
share/man/man5/streamarchive.5.gz

View file

@ -1,37 +1,10 @@
# Created by: Martin Matuska <mm@FreeBSD.org>
PORTNAME= smake
PORTVERSION= 1.2.5
CATEGORIES= devel
MASTER_SITES= SF/s-make
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable make program with automake features
LICENSE= CDDL GPLv2
LICENSE_COMB= multi
LICENSE_FILE_CDDL= ${WRKSRC}/CDDL.Schily.txt
MASTERDIR= ${.CURDIR}/../../devel/schilybase
BOOTSTRAP_SMAKE?= yes
COMPONENTS= smake
BROKEN_i386= fails to compile
NOT_FOR_ARCHS= aarch64 armv6 armv7 mips mips64 riscv64
NOT_FOR_ARCHS_REASON= unknown rule to build: ./RULES/<arch>-freebsd-/nxb-bin/usr/bin/cc.rul
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.a.*//g}
USES= gmake tar:bzip2
MAKE_ENV= CCOM="${CC}"
MAKE_ARGS= INS_BASE=${PREFIX} DEFMANBASE=. CC="${CC}" CCOM="${CC}"
PLIST_SUB= RULESUSED="${ARCH}-freebsd-cc"
MKLINKS= ${WRKSRC}/RULES/MKLINKS
GCCRULE= ${WRKSRC}/RULES/cc-gcc.rul
pre-build:
@${REINPLACE_CMD} -e 's|gcc$$|${CC}|' ${GCCRULE}
@${ECHO_CMD} "\$$symlink i386-freebsd-cc.rul ${ARCH}-freebsd-${CC}.rul" >> ${MKLINKS}
pre-install:
${STRIP_CMD} ${WRKSRC}/smake/OBJ/${ARCH}-freebsd-${CC}/smake
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile.master"

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1472251622
SHA256 (smake-1.2.5.tar.bz2) = 27566aa731a400c791cd95361cc755288b44ff659fa879933d4ea35d052259d4
SIZE (smake-1.2.5.tar.bz2) = 427993

View file

@ -1,10 +1,3 @@
bin/smake
include/schily/%%RULESUSED%%/align.h
include/schily/%%RULESUSED%%/avoffset.h
include/schily/%%RULESUSED%%/xconfig.h
lib/defaults.smk
lib/libschily.a
lib/profiled/libschily.a
man/man1/smake.1.gz
man/man5/makefiles.5.gz
man/man5/makerules.5.gz
share/lib/smake/defaults.smk
share/man/man1/smake.1.gz

19
devel/sunpromake/Makefile Normal file
View file

@ -0,0 +1,19 @@
PORTNAME= sunpromake
CATEGORIES= devel parallel
COMMENT= Parallel-execution enabled SunOS make program, enhanced to fit POSIX
USE_LDCONFIG= yes
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= sunpro
# these libraries are installed by the sunpro component
# but are internal to the program. The author recommends
# not shipping them, so we don't.
post-install:
${RM} ${STAGEDIR}${PREFIX}/lib/libbsd.a
${RM} ${STAGEDIR}${PREFIX}/lib/libmksh.a
${RM} ${STAGEDIR}${PREFIX}/lib/libvroot.a
.include "${MASTERDIR}/Makefile.master"

View file

@ -0,0 +1,8 @@
SunPro Make is a parallel make program from SUN Microsystems.
This package was derived from the SunPro Make sources from
OpenSolaris. While the distributed make functionality has
never been open-sourced and is missing from this version of
SunPro Make, the parallel make functionality was succesfully
reconstructed from the present source.
WWW: http://schilytools.sourceforge.net/sunpromake.html

View file

@ -0,0 +1,11 @@
bin/dmake
bin/svr4.make
lib/libmakestate.so
lib/libmakestate.so.1.0
lib/svr4.make
share/lib/make/make.rules
share/lib/make/svr4.make.rules
share/man/man1/dmake.1.gz
share/man/man1/make.1.gz
share/man/man1/sysV-make.1.gz
xpg4/bin/make

View file

@ -254,6 +254,7 @@
SUBDIR += tweak
SUBDIR += uemacs
SUBDIR += uzap
SUBDIR += ved
SUBDIR += vigor
SUBDIR += vile
SUBDIR += vim

15
editors/ved/Makefile Normal file
View file

@ -0,0 +1,15 @@
PORTNAME= ved
CATEGORIES= editors
COMMENT= Visual editor (easy to learn, fast, and lean)
OPTIONS_DEFINE= DOCS
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= ved
post-install-DOCS-off:
${RM} ${STAGEDIR}share/doc/vedsheet.*
${RM} ${STAGEDIR}share/man/help/ved.help.gz
.include "${MASTERDIR}/Makefile.master"

8
editors/ved/pkg-descr Normal file
View file

@ -0,0 +1,8 @@
Ved is a fast and easy to learn screen oriented editor, that implements
no file size limits. The user interface is somewhere between emacs and
vi and does not limit the work speed even of experienced users.
Ved has been inspired by an editor of the same name that appeared in
1980 as system editor on UNOS (the first UNIX clone).
WWW: http://schilytools.sourceforge.net/ved.html

10
editors/ved/pkg-plist Normal file
View file

@ -0,0 +1,10 @@
bin/ved
bin/ved-e
bin/ved-w
%%DOCSDIR%%/dotfiles.tar.bz2
%%PORTDOCS%%%%DOCSDIR%%/vedsheet.ps
%%PORTDOCS%%%%DOCSDIR%%/vedsheet.tr
%%PORTDOCS%%share/man/help/ved.help.gz
share/man/man1/ved-e.1.gz
share/man/man1/ved-w.1.gz
share/man/man1/ved.1.gz

View file

@ -455,6 +455,7 @@
SUBDIR += rubygem-vpim
SUBDIR += rump
SUBDIR += ruut
SUBDIR += schilytools
SUBDIR += sdformat
SUBDIR += seabios
SUBDIR += sent

23
misc/schilytools/Makefile Normal file
View file

@ -0,0 +1,23 @@
PORTNAME= schilytools
DISTVERSION= 1
CATEGORIES= misc
MAINTAINER= fuz@fuz.su
COMMENT= Collection of tools and libraries by J. Schilling (metaport)
LICENSE= PD
RUN_DEPENDS= schilybase>=2021.05.19:devel/schilybase \
schilyutils>=2021.05.19:sysutils/schilyutils \
star>=2021.05.19:archivers/star \
sccs>=2021.05.19:devel/sccs \
smake>=2021.05.19:devel/smake \
sunpromake>=2021.05.19:devel/sunpromake \
ved>=2021.05.19:editors/ved \
cdrtools>=2021.05.19:sysutils/cdrtools \
rscsi>=2021.05.19:net/rscsi \
man2html:textproc/man2html
USES= metaport
.include <bsd.port.mk>

View file

@ -0,0 +1,15 @@
Schily-Tools are a set of tools developed or maintained by Joerg Schilling.
This is a meta port to install all packages derived from the Schily-Tools.
Programs and tools included in the Schily-Tools bundle:
* Cdrtools (cdrecord/cdda2wav/mkisofs/...)
* The Schily-Bourne Shell
* The Schily-SunPro Make
* A K&R cpp derived from the original cpp sources from John F. Reiser
* cstyle is a C-indentation lint tool derived from the OpenSolaris sources
* spatch is derived from the last patch from Larry Wall, POSIX compliant
and using a 1-clause BSD license.
* SCCS derived from OpenSolaris sources
* star, the oldest free TAR implementation, started in 1982
* ved, A portable, easy to learn and extremely fast screen oriented editor.

View file

@ -1188,6 +1188,7 @@
SUBDIR += routinator
SUBDIR += rp-pppoe
SUBDIR += rpki-client
SUBDIR += rscsi
SUBDIR += rsocket-cpp
SUBDIR += rsplib
SUBDIR += rsync

14
net/rscsi/Makefile Normal file
View file

@ -0,0 +1,14 @@
PORTNAME= rscsi
CATEGORIES= net
COMMENT= Remote SCSI transport server program (daemon)
CONFLICTS= cdrtools-devel
USERS= rscsi
GROUPS= rscsi
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= rscsi
.include "${MASTERDIR}/Makefile.master"

13
net/rscsi/pkg-descr Normal file
View file

@ -0,0 +1,13 @@
The rscsi command is a remote generic SCSI transport server program.
rscsi is a program that is run locally on the machine with SCSI
devices, it is used by remote programs like cdrecord(1), cdda2wav(1),
readcd(1), and sformat(1) that like to access SCSI devices through an
interprocess communication connection via libscg. rscsi is normally
started up with an rexec(3) or rcmd(3) call but it may also be
connected via an internal pipe to an ssh(1) session that was set up by
the remote user.
The rscsi command must be installed setuid root for full functionality.
For this reason it is provided as a separate package to cdrtools.
WWW: http://cdrtools.sourceforge.net/

6
net/rscsi/pkg-message Normal file
View file

@ -0,0 +1,6 @@
See /usr/local/share/doc/cdrtools/README.rscsi and /usr/local/etc/rscsi
for further information on how to configure remote access to SCSI-devies
via rscsi.
Don't forget to add an entry for rshd(8) to /etc/inetd.conf in order to
be able to use the remote SCSI daemon.

4
net/rscsi/pkg-plist Normal file
View file

@ -0,0 +1,4 @@
@(root,,4711) sbin/rscsi
etc/default/rscsi
share/man/man1/rscsi.1.gz
share/doc/rscsi/default-rscsi.sample

View file

@ -155,7 +155,6 @@
SUBDIR += cdrkit
SUBDIR += cdroot
SUBDIR += cdrtools
SUBDIR += cdrtools-devel
SUBDIR += cfengine
SUBDIR += cfengine-devel
SUBDIR += cfengine-masterfiles
@ -1247,6 +1246,7 @@
SUBDIR += scanmem
SUBDIR += scct
SUBDIR += schedutils
SUBDIR += schilyutils
SUBDIR += screen
SUBDIR += screenfetch
SUBDIR += screenfetch-nox11
@ -1261,7 +1261,6 @@
SUBDIR += serf
SUBDIR += setcdboot
SUBDIR += setsid
SUBDIR += sformat
SUBDIR += sg3_utils
SUBDIR += shim
SUBDIR += shlock

View file

@ -1,220 +0,0 @@
###########################################################################
# This makefile was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
PORTNAME= cdrtools
PORTVERSION= 3.02a09
PORTEPOCH= 1
CATEGORIES= sysutils audio
MASTER_SITES= SF/${PORTNAME}/alpha
MAINTAINER= marius@FreeBSD.org
COMMENT= CD/DVD/BluRay and ISO-9660 image creation and extraction tools
LICENSE= BSD2CLAUSE CDDL GPLv2 LGPL21
LICENSE_COMB= multi
CONFLICTS= cdrkit-* cdrtools-[0-9]* cjk-cdrtools-*
DOCS= README.FreeBSD README.mkisofs
CDDA2WAVDOCS= FAQ Frontends HOWTOUSE OtherProgs README THANKS TODO
CDRECORDDOCS= README README.ATAPI README.DiskT@2 README.WORM README.audio \
README.cdplus README.cdrw README.cdtext README.clone \
README.copy README.multi README.raw README.rscsi README.sony \
README.verify
MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \
README.hfs_boot README.hfs_magic README.hide README.joliet \
README.macosx README.mkhybrid README.prep_boot README.rootinfo \
README.session README.sort README.sparcboot README.sunx86boot
SICONVTABLES= cp10000 cp10006 cp10007 cp10029 cp10079 cp10081 cp1250 \
cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 \
cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860 cp861 \
cp862 cp863 cp864 cp865 cp866 cp869 cp874 iso8859-1 \
iso8859-10 iso8859-11 iso8859-13 iso8859-14 iso8859-15 \
iso8859-16 iso8859-2 iso8859-3 iso8859-4 iso8859-5 \
iso8859-6 iso8859-7 iso8859-8 iso8859-9 koi8-r koi8-u
USES= gmake tar:bzip2
#CFLAGS+= -DSOURCE_MODIFIED
WRKSRC= ${WRKDIR}/${DISTNAME:C/a(.+)$//}
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= CDDA2MP3 CDDA2OGG DOCS NLS RSCSI
CDDA2MP3_DESC= Build cdda2mp3 (requires audio/lame)
CDDA2OGG_DESC= Build cdda2ogg (requires audio/vorbis-tools)
RSCSI_DESC= Build rscsi suid root remote SCSI access daemon
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCDDA2MP3}
PLIST_SUB+= CDDA2MP3=""
RUN_DEPENDS+= lame:audio/lame
.else
PLIST_SUB+= CDDA2MP3="@comment "
.endif
.if ${PORT_OPTIONS:MCDDA2OGG}
PLIST_SUB+= CDDA2OGG=""
RUN_DEPENDS+= oggenc:audio/vorbis-tools
.else
PLIST_SUB+= CDDA2OGG="@comment "
.endif
.if ${PORT_OPTIONS:MRSCSI}
PKGINSTALL= ${PKGDIR}/pkg-install.rscsi
PLIST_SUB+= RSCSI=""
PKGNAMESUFFIX= -rscsi-devel
.else
PLIST_SUB+= RSCSI="@comment "
.endif
PKGNAMESUFFIX?= -devel
MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
INS_RBASE=${LOCALBASE}
CDRTLSTARGET= ${ARCH}-${OPSYS:tl}-cc
CDRTLSXARCH!= ${UNAME} -m
.if exists(/usr/include/iconv.h)
USES+= iconv
.endif
.if exists(${LOCALBASE}/lib/libiconv.a) || \
exists(${LOCALBASE}/lib/libintl.a) || ${PORT_OPTIONS:MNLS}
MAKE_ENV+= DEFOSINCDIRS=${LOCALBASE}/include LDPATH=-L${LOCALBASE}/lib
USES+= gettext iconv
.endif
post-extract:
.for i in config.guess config.sub
.for j in autoconf conf cdda2wav
@${CP} -fp ${PORTSDIR}/Templates/${i} ${WRKSRC}/${j}
.endfor
.endfor
.if ${CDRTLSXARCH} != "i386"
@${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \
${WRKSRC}/RULES/${CDRTLSXARCH}-${OPSYS:tl}-cc.rul
.endif
post-patch:
@${RM} ${WRKSRC}/TARGETS/55scgskeleton ${WRKSRC}/TARGETS/85man
.if !${PORT_OPTIONS:MRSCSI}
@${RM} ${WRKSRC}/TARGETS/55rscsi
.endif
.for i in btcflash/btcflash.1 cdda2wav/cdda2mp3 cdda2wav/cdda2ogg \
cdda2wav/cdda2ogg.1 cdda2wav/cdda2wav.1 cdrecord/README.rscsi \
cdrecord/cdrecord.1 cdrecord/cdrecord.dfl include/schily/deflts.h \
libcdrdeflt/cdrdeflt.c librscg/scsi-remote.c readcd/readcd.1 \
rscsi/rscsi.1 rscsi/rscsi.c rscsi/rscsi.dfl scgcheck/scgcheck.1
@${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; \
s|^CDDA2WAV=|&${PREFIX}\/bin\/|g; \
s|^MP_CODER=|&${LOCALBASE}\/bin\/|g' ${WRKSRC}/${i}
.endfor
@${MV} -f ${WRKSRC}/libparanoia/cdda_paranoia.h \
${WRKSRC}/libparanoia/js_cdda_paranoia.h
.for i in cdda2wav/cdda2wav.c cdda2wav/global.h libparanoia/gap.c \
libparanoia/overlap.c libparanoia/p_block.c libparanoia/paranoia.c
@${REINPLACE_CMD} -e 's|cdda_paranoia\.h|js_cdda_paranoia.h|g' \
${WRKSRC}/${i}
.endfor
# @${REINPLACE_CMD} -E -e \
# 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
# ${WRKSRC}/cdrecord/cdrecord.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \
${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MCDDA2MP3}
${INSTALL_SCRIPT} ${WRKSRC}/cdda2wav/cdda2mp3 ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \
${STAGEDIR}${PREFIX}/man/man1/cdda2mp3.1
.endif
.if ${PORT_OPTIONS:MCDDA2OGG}
${INSTALL_SCRIPT} ${WRKSRC}/cdda2wav/cdda2ogg ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \
${STAGEDIR}${PREFIX}/man/man1
.endif
${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${CDRTLSTARGET}/cdda2wav \
${STAGEDIR}${PREFIX}/bin
${LN} -sf cdda2wav ${STAGEDIR}${PREFIX}/bin/list_audio_tracks
${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${CDRTLSTARGET}/cdrecord \
${STAGEDIR}${PREFIX}/bin
.for i in devdump isodebug isodump isoinfo isovfy
${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${CDRTLSTARGET}/${i} \
${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${CDRTLSTARGET}/mkisofs \
${STAGEDIR}${PREFIX}/bin
${LN} -sf mkisofs ${STAGEDIR}${PREFIX}/bin/mkhybrid
${INSTALL_PROGRAM} ${WRKSRC}/readcd/OBJ/${CDRTLSTARGET}/readcd \
${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MRSCSI}
${INSTALL_PROGRAM} ${WRKSRC}/rscsi/OBJ/${CDRTLSTARGET}/rscsi \
${STAGEDIR}${PREFIX}/sbin
.endif
${INSTALL_PROGRAM} ${WRKSRC}/scgcheck/OBJ/${CDRTLSTARGET}/scgcheck \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/btcflash/btcflash.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/readcd/readcd.1 ${STAGEDIR}${PREFIX}/man/man1
.if ${PORT_OPTIONS:MRSCSI}
@${INSTALL_MAN} ${WRKSRC}/rscsi/rscsi.1 ${STAGEDIR}${PREFIX}/man/man1
.endif
${INSTALL_MAN} ${WRKSRC}/scgcheck/scgcheck.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 \
${STAGEDIR}${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
${STAGEDIR}${PREFIX}/etc/cdrecord.sample
.if !exists(${STAGEDIR}${PREFIX}/etc/cdrecord)
${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
${STAGEDIR}${PREFIX}/etc/cdrecord
.endif
${MKDIR} ${STAGEDIR}${PREFIX}/lib/siconv
.for i in ${SICONVTABLES}
${INSTALL_DATA} ${WRKSRC}/libsiconv/tables/${i} \
${STAGEDIR}${PREFIX}/lib/siconv
.endfor
.if ${PORT_OPTIONS:MRSCSI}
${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl \
${STAGEDIR}${PREFIX}/etc/rscsi.sample
.if !exists(${STAGEDIR}${PREFIX}/etc/rscsi)
${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl ${STAGEDIR}${PREFIX}/etc/rscsi
.endif
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/cdda2wav
.for i in ${CDDA2WAVDOCS}
${INSTALL_DATA} ${WRKSRC}/cdda2wav/${i} ${STAGEDIR}${DOCSDIR}/cdda2wav
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/cdrecord
.for i in ${CDRECORDDOCS}
${INSTALL_DATA} ${WRKSRC}/cdrecord/${i} ${STAGEDIR}${DOCSDIR}/cdrecord
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/mkisofs
.for i in ${MKISOFSDOCS}
${INSTALL_DATA} ${WRKSRC}/mkisofs/${i} ${STAGEDIR}${DOCSDIR}/mkisofs
.endfor
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1526292215
SHA256 (cdrtools-3.02a09.tar.bz2) = aa28438f458ef3f314b79f2029db27679dae1d5ffe1569b6de57742511915e81
SIZE (cdrtools-3.02a09.tar.bz2) = 2156745

View file

@ -1,30 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- DEFAULTS/Defaults.freebsd.orig 2013-11-04 20:58:20 UTC
+++ DEFAULTS/Defaults.freebsd
@@ -29,8 +29,8 @@ DEFLINKMODE= static
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
-DEFOSINCDIRS= /usr/local/include
-LDPATH= -L/opt/schily/lib -L/usr/local/lib
+#DEFOSINCDIRS= /usr/local/include
+#LDPATH= -L/opt/schily/lib -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################

View file

@ -1,87 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- RULES/cc-gcc.rul.orig 2017-05-28 21:47:50 UTC
+++ RULES/cc-gcc.rul
@@ -24,11 +24,12 @@
GCC_OPT=
GCC_OPT32= -m32
GCC_OPT64= -m64
-GCC_OPTXX= $(GCC_OPT$(C_ARCH:gcc%=%))
+GCC_OPTXX=
CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX)
-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
-C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(G++OPTOPT) $(C++OPTX)
+XCFLAGS:= $(CFLAGS)
+CFLAGS= $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(GCCOPTOPT) $(COPTX)
+C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(CXXFLAGS) $(G++OPTOPT) $(C++OPTX)
CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%)
COPTS= $(GCC_OPTXX)
@@ -36,12 +37,10 @@ COPTS= $(GCC_OPTXX)
CWOPTS= -Wall -Wtraditional
CWOPTS= -Wall -Wno-unknown-pragmas \
-Wshadow -Wmissing-prototypes -Wstrict-prototypes
-COPTOPT= -O
COPTDYN= -fpic
COPTGPROF= -pg
C++OPTS= $(GCC_OPTXX)
C++WOPTS= $(CWOPTS)
-C++OPTOPT= $(COPTOPT)
C++OPTDYN= -fpic
C++OPTGPROF= -pg
@@ -63,28 +62,18 @@ LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_B
FLOAT_OPTIONS=
-__CC_COM= $(_UNIQ)$(CC)
-___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF))
-CC_COM= $(___CC_COM:$(_UNIQ)%=%)
-
-__CC++_COM= $(_UNIQ)$(CCC)
-___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF))
-CC++_COM= $(___CC++_COM:$(_UNIQ)%=%)
-
-CC_COM_DEF= gcc
-CC++_COM_DEF= g++
-CC= $(CC_COM_DEF)
-CCC= $(CC++_COM_DEF)
+CC_COM= $(CC)
+CC++_COM= $(CXX)
-CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) $(GCC_OPTXX)
-CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(GCC_OPTXX)
-LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) $(GCC_OPTXX)
-LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) $(GCC_OPTXX)
-DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) $(GCC_OPTXX)
-DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(GCC_OPTXX)
+CCCC = $(CC_COM)
+CC++ = $(CC++_COM)
+LDCC= $(CC_COM)
+LDCC++ = $(CC++_COM)
+DYNLD= $(CC_COM)
+DYNLDC++ = $(CC++_COM)
RMDEP= :
-MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) $(GCC_OPTXX) -M
+MKDEP= $(CC_COM) -M
MKDEP_OUT=
-MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) $(GCC_OPTXX) -M
+MKC++DEP= $(CC++_COM) -M
MKC++DEP_OUT=

View file

@ -1,44 +0,0 @@
###########################################################################
# This patch was contributed by Dimitry Andric.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- inc/avoffset.c.orig 2017-08-01 18:10:02 UTC
+++ inc/avoffset.c
@@ -50,7 +50,7 @@ main(ac, av)
{
int stdir;
#ifdef HAVE_SCANSTACK
- register struct frame *fp;
+ volatile struct frame *fp;
register int i = 0;
register int o = 0;
@@ -105,6 +105,7 @@ main(ac, av)
* does not affect the new code extended as well.
*/
while (i <= 1000 && fp->fr_savfp) {
+#if 0
/*
* Workaround for the still buggy clang...
* clang version 4.0.0 on ARM64 FreeBSD has become worse.
@@ -113,6 +114,7 @@ main(ac, av)
* is never touched.
*/
write(-1, "", 0);
+#endif
if (fp->fr_savpc == 0)
break;

View file

@ -1,37 +0,0 @@
###########################################################################
# This patch was contributed by Dimitry Andric.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- inc/getfp.c.orig 2015-12-23 20:18:33 UTC
+++ inc/getfp.c
@@ -80,7 +80,7 @@ getfp()
* We need this function to fool GCCs check for returning addresses
* from outside the functions local address space.
*/
-EXPORT void **
+EXPORT __noinline void **
___fpoff(cp)
char *cp;
{
@@ -104,7 +104,7 @@ flush_reg_windows(n)
#else /* HAVE_SCANSTACK */
-EXPORT void **
+EXPORT __noinline void **
getfp()
{
raisecond("getfp", 0);

View file

@ -1,15 +0,0 @@
--- include/schily/sha2.h.orig 2010-08-27 10:41:30 UTC
+++ include/schily/sha2.h
@@ -104,10 +104,12 @@ extern char *SHA256Data __PR((const UIn
#ifdef HAVE_LONGLONG
extern void SHA384Init __PR((SHA2_CTX *));
+#ifndef HAVE_PRAGMA_WEAK
extern void SHA384Transform __PR((UInt64_t state[8],
const UInt8_t [SHA384_BLOCK_LENGTH]));
extern void SHA384Update __PR((SHA2_CTX *, const UInt8_t *, size_t));
extern void SHA384Pad __PR((SHA2_CTX *));
+#endif
extern void SHA384Final __PR((UInt8_t [SHA384_DIGEST_LENGTH],
SHA2_CTX *));
extern char *SHA384End __PR((SHA2_CTX *, char *));

View file

@ -1,16 +0,0 @@
--- libschily/fnmatch.c.orig 2017-08-29 23:04:40 UTC
+++ libschily/fnmatch.c
@@ -369,11 +369,11 @@ rangematch(pattern, test, flags, newp, p
/*
* Convert to the other case
*/
- if (strcmp(class, "upper") == 0)
+ if (strcmp(class, "upper") == 0) {
if (iswctype(otest,
wctype("lower")))
ok = 1;
- else if (strcmp(class, "lower") == 0)
+ } else if (strcmp(class, "lower") == 0)
if (iswctype(otest,
wctype("upper")))
ok = 1;

View file

@ -1,37 +0,0 @@
###########################################################################
# This patch was contributed by Dimitry Andric.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- libschily/getfp.c.orig 2015-12-23 20:18:33 UTC
+++ libschily/getfp.c
@@ -80,7 +80,7 @@ getfp()
* We need this function to fool GCCs check for returning addresses
* from outside the functions local address space.
*/
-EXPORT void **
+EXPORT __noinline void **
___fpoff(cp)
char *cp;
{
@@ -104,7 +104,7 @@ flush_reg_windows(n)
#else /* HAVE_SCANSTACK */
-EXPORT void **
+EXPORT __noinline void **
getfp()
{
raisecond("getfp", 0);

View file

@ -1,15 +0,0 @@
[
{ type: install
message: <<EOM
Note: The location of the cdrtools `defaults' files has been set to
%%PREFIX%%/etc
This is the FreeBSD ports standard config file location, NOT the cdrtools
standard location, which is /etc/default.
The reason for this is that FreeBSD ports and packages should not use
configuration files outside of %%PREFIX%%.
EOM
}
]

View file

@ -1,22 +0,0 @@
The cdrtools software includes tools to create and/or extract
ISO-9660 filesystems, verify their integrity, and write them to
disc.
This package contains the following programs:
- btcflash (a firmware flash utility for BTC DRW1008 DVD+/-RW recorder)
- cdda2wav (a digital CD audio extraction program)
- cdrecord (a CD/DVD/BluRay recording program)
- devdump (dump a device or file in hex)
- isodebug (show debug info contained in an ISO-9660 image)
- isodump (dump a device or file based on ISO-9660)
- isoinfo (analyze or list an ISO-9660 image)
- isovfy (verify an ISO-9660 image)
- mkisofs (an ISO-9660 filesystem image creator)
- mkhybrid (an ISO-9660/HFS filesystem image creator)
Link to mkisofs.
- readcd (a data CD reading and recording program)
May be used to write to DVD-RAM and to copy Solaris boot CD's.
- scgcheck (checks and validates the ABI of libscg)
- rscsi (daemon providing access to local SCSI-devices over the network)
WWW: http://cdrecord.org/

View file

@ -1,61 +0,0 @@
#!/bin/sh
PATH=/bin:/usr/sbin:/usr/bin
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
USER=rscsi
UID=99
GROUP=${USER}
GID=${UID}
UCOMMENT="Remote SCSI"
UHOME=${PKG_PREFIX}/rscsi
USHELL=${PKG_PREFIX}/sbin/rscsi
echo "==========================================================================="
echo
if ! pw groupshow "${GROUP}" >/dev/null 2>&1; then
if ! pw groupadd ${GROUP} -g ${GID}; then
echo "Adding group \"${GROUP}\" failed."
exit 1
fi
fi
if ! pw usershow "${USER}" >/dev/null 2>&1; then
if ! pw useradd ${USER} -u ${UID} -c "${UCOMMENT}" \
-d ${UHOME} -g ${GROUP} -s ${USHELL}; then
echo "Adding user \"${USER}\" failed."
exit 1
fi
fi
if ! [ -d ${UHOME} ] ; then
mkdir -p ${UHOME}
chown ${UID}:${GID} ${UHOME}
fi
if ! [ -f ${UHOME}/.rhosts ] ; then
cp /usr/share/skel/dot.rhosts ${UHOME}/.rhosts
chown ${UID}:${GID} ${UHOME}/.rhosts
chmod 0600 ${UHOME}/.rhosts
fi
echo "See ${PKG_PREFIX}/share/doc/cdrtools/README.rscsi and ${PKG_PREFIX}/etc/rscsi"
echo "for further information on how to configure remote access to SCSI-devices"
echo "via rscsi."
if ! grep '^shell' /etc/inetd.conf >/dev/null 2>&1; then
echo "Don't forget to add an entry for rshd(8) to /etc/inetd.conf in order to"
echo "be able to use the remote SCSI daemon."
fi
echo
;;
esac

View file

@ -1,118 +0,0 @@
bin/btcflash
%%CDDA2MP3%%bin/cdda2mp3
%%CDDA2OGG%%bin/cdda2ogg
%%CDDA2MP3%%man/man1/cdda2mp3.1.gz
%%CDDA2OGG%%man/man1/cdda2ogg.1.gz
bin/cdda2wav
bin/cdrecord
bin/devdump
bin/isodebug
bin/isodump
bin/isoinfo
bin/isovfy
bin/list_audio_tracks
bin/mkhybrid
bin/mkisofs
bin/readcd
bin/scgcheck
lib/siconv/cp10000
lib/siconv/cp10006
lib/siconv/cp10007
lib/siconv/cp10029
lib/siconv/cp10079
lib/siconv/cp10081
lib/siconv/cp1250
lib/siconv/cp1251
lib/siconv/cp1252
lib/siconv/cp1253
lib/siconv/cp1254
lib/siconv/cp1255
lib/siconv/cp1256
lib/siconv/cp1257
lib/siconv/cp1258
lib/siconv/cp437
lib/siconv/cp737
lib/siconv/cp775
lib/siconv/cp850
lib/siconv/cp852
lib/siconv/cp855
lib/siconv/cp857
lib/siconv/cp860
lib/siconv/cp861
lib/siconv/cp862
lib/siconv/cp863
lib/siconv/cp864
lib/siconv/cp865
lib/siconv/cp866
lib/siconv/cp869
lib/siconv/cp874
lib/siconv/iso8859-1
lib/siconv/iso8859-10
lib/siconv/iso8859-11
lib/siconv/iso8859-13
lib/siconv/iso8859-14
lib/siconv/iso8859-15
lib/siconv/iso8859-16
lib/siconv/iso8859-2
lib/siconv/iso8859-3
lib/siconv/iso8859-4
lib/siconv/iso8859-5
lib/siconv/iso8859-6
lib/siconv/iso8859-7
lib/siconv/iso8859-8
lib/siconv/iso8859-9
lib/siconv/koi8-r
lib/siconv/koi8-u
man/man1/btcflash.1.gz
man/man1/cdda2wav.1.gz
man/man1/cdrecord.1.gz
man/man1/readcd.1.gz
man/man1/scgcheck.1.gz
man/man8/isoinfo.8.gz
man/man8/mkisofs.8.gz
%%RSCSI%%@(,,4555) sbin/rscsi
@sample etc/cdrecord.sample
%%RSCSI%%@sample etc/rscsi.sample
%%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
%%RSCSI%%man/man1/rscsi.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%%%DOCSDIR%%/README.mkisofs
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/FAQ
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/Frontends
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/HOWTOUSE
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/OtherProgs
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/README
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/THANKS
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/TODO
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.ATAPI
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.DiskT@2
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.WORM
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.audio
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.cdplus
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.cdrw
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.cdtext
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.clone
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.copy
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.multi
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.raw
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.rscsi
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.sony
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.verify
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.compression
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.eltorito
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.graft_dirs
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.hfs_boot
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.hfs_magic
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.hide
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.joliet
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.macosx
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.mkhybrid
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.prep_boot
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.rootinfo
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.session
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.sort
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.sparcboot
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.sunx86boot

View file

@ -1,224 +1,38 @@
# Created by: Dirk Froemberg <dirk@FreeBSD.org>
###########################################################################
# This makefile was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
PORTNAME= cdrtools
PORTVERSION= 3.01
PORTREVISION= 1
CATEGORIES= sysutils audio
MASTER_SITES= SF/${PORTNAME}
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= cdrtools-3.01-fix-20151126-mkisofs-isoinfo.patch
PATCH_DIST_STRIP= -p1
COMMENT= Tools for ripping from and recording to CDs and DVDs
MAINTAINER= marius@FreeBSD.org
COMMENT= CD/DVD/BluRay and ISO-9660 image creation and extraction tools
LAME_RUN_DEPENDS= lame:audio/lame
VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools
LICENSE= BSD2CLAUSE CDDL GPLv2 LGPL21
LICENSE_COMB= multi
OPTIONS_DEFINE= DOCS LAME VORBIS SETUID
OPTIONS_DEFAULT=DOCS LAME VORBIS
OPTIONS_SUB= yes
LAME_DESC= Install cdda2mp3 (requires audio/lame)
VORBIS_DESC= Install cdda2ogg (requires audio/vorbis-tools)
SETUID_DESC= Install cdrecord, cdda2wav, and readcd as setuid root
SETUID_PLIST_SUB= SUID="@(root,,4711) "
SETUID_PLIST_SUB_OFF= SUID="@(,,755) "
CONFLICTS= cdrkit-* cdrtools-devel-* cjk-cdrtools-*
CONFLICTS_INSTALL= cdrkit-* cdrtools-devel cdrtools-rscsi-devel
DOCS= README.FreeBSD README.mkisofs
CDDA2WAVDOCS= FAQ Frontends HOWTOUSE OtherProgs README THANKS TODO
CDRECORDDOCS= README README.ATAPI README.DiskT@2 README.WORM README.audio \
README.cdplus README.cdrw README.cdtext README.clone \
README.copy README.multi README.raw README.rscsi README.sony \
README.verify
MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \
README.hfs_boot README.hfs_magic README.hide README.joliet \
README.macosx README.mkhybrid README.prep_boot README.rootinfo \
README.session README.sort README.sparcboot README.sunx86boot
SICONVTABLES= cp10000 cp10006 cp10007 cp10029 cp10079 cp10081 cp1250 \
cp1251 cp1252 cp1253 cp1254 cp1255 cp1256 cp1257 cp1258 \
cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860 cp861 \
cp862 cp863 cp864 cp865 cp866 cp869 cp874 iso8859-1 \
iso8859-10 iso8859-11 iso8859-13 iso8859-14 iso8859-15 \
iso8859-16 iso8859-2 iso8859-3 iso8859-4 iso8859-5 \
iso8859-6 iso8859-7 iso8859-8 iso8859-9 koi8-r koi8-u
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= cdda2wav \
cdrecord \
mkisofs \
mkisofs/diag \
readcd \
scgcheck \
scgskeleton
USES= gmake tar:bzip2
#CFLAGS+= -DSOURCE_MODIFIED
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
post-install-LAME-off:
${RM} ${STAGEDIR}${PREFIX}/bin/cdda2mp3 ${STAGEDIR}${PREFIX}share/man/man1/cdda2mp3.1
OPTIONS_DEFINE= CDDA2MP3 CDDA2OGG DOCS NLS RSCSI
post-install-VORBIS-off:
${RM} ${STAGEDIR}${PREFIX}/bin/cdda2ogg ${STAGEDIR}${PREFIX}share/man/man1/cdda2ogg.1
CDDA2MP3_DESC= Build cdda2mp3 (requires audio/lame)
CDDA2OGG_DESC= Build cdda2ogg (requires audio/vorbis-tools)
RSCSI_DESC= Build rscsi suid root remote SCSI access daemon
post-install-DOCS-off:
${RM} ${STAGEDIR}share/doc
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCDDA2MP3}
PLIST_SUB+= CDDA2MP3=""
RUN_DEPENDS+= lame:audio/lame
.else
PLIST_SUB+= CDDA2MP3="@comment "
.endif
.if ${PORT_OPTIONS:MCDDA2OGG}
PLIST_SUB+= CDDA2OGG=""
RUN_DEPENDS+= oggenc:audio/vorbis-tools
.else
PLIST_SUB+= CDDA2OGG="@comment "
.endif
.if ${PORT_OPTIONS:MRSCSI}
PKGINSTALL= ${PKGDIR}/pkg-install.rscsi
PLIST_SUB+= RSCSI=""
PKGNAMESUFFIX= -rscsi
.else
PLIST_SUB+= RSCSI="@comment "
.endif
MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
INS_RBASE=${LOCALBASE}
CDRTLSTARGET= ${ARCH}-${OPSYS:tl}-cc
CDRTLSXARCH!= ${UNAME} -m
.if exists(/usr/include/iconv.h)
USES+= iconv
.endif
.if exists(${LOCALBASE}/lib/libiconv.a) || \
exists(${LOCALBASE}/lib/libintl.a) || ${PORT_OPTIONS:MNLS}
MAKE_ENV+= DEFOSINCDIRS=${LOCALBASE}/include LDPATH=-L${LOCALBASE}/lib
USES+= gettext iconv
.endif
post-extract:
.for i in config.guess config.sub
.for j in autoconf conf cdda2wav
@${CP} -fp ${PORTSDIR}/Templates/${i} ${WRKSRC}/${j}
.endfor
.endfor
.if ${CDRTLSXARCH} != "i386"
@${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \
${WRKSRC}/RULES/${CDRTLSXARCH}-${OPSYS:tl}-cc.rul
.endif
post-patch:
@${RM} ${WRKSRC}/TARGETS/55scgskeleton ${WRKSRC}/TARGETS/85man
.if !${PORT_OPTIONS:MRSCSI}
@${RM} ${WRKSRC}/TARGETS/55rscsi
.endif
.for i in btcflash/btcflash.1 cdda2wav/cdda2mp3 cdda2wav/cdda2ogg \
cdda2wav/cdda2ogg.1 cdda2wav/cdda2wav.1 cdrecord/README.rscsi \
cdrecord/cdrecord.1 cdrecord/cdrecord.dfl include/schily/deflts.h \
libcdrdeflt/cdrdeflt.c librscg/scsi-remote.c readcd/readcd.1 \
rscsi/rscsi.1 rscsi/rscsi.c rscsi/rscsi.dfl scgcheck/scgcheck.1
@${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; \
s|^CDDA2WAV=|&${PREFIX}\/bin\/|g; \
s|^MP_CODER=|&${LOCALBASE}\/bin\/|g' ${WRKSRC}/${i}
.endfor
@${MV} -f ${WRKSRC}/libparanoia/cdda_paranoia.h \
${WRKSRC}/libparanoia/js_cdda_paranoia.h
.for i in cdda2wav/cdda2wav.c cdda2wav/global.h libparanoia/gap.c \
libparanoia/overlap.c libparanoia/p_block.c libparanoia/paranoia.c
@${REINPLACE_CMD} -e 's|cdda_paranoia\.h|js_cdda_paranoia.h|g' \
${WRKSRC}/${i}
.endfor
# @${REINPLACE_CMD} -E -e \
# 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
# ${WRKSRC}/cdrecord/cdrecord.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \
${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MCDDA2MP3}
${INSTALL_SCRIPT} ${WRKSRC}/cdda2wav/cdda2mp3 ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \
${STAGEDIR}${PREFIX}/man/man1/cdda2mp3.1
.endif
.if ${PORT_OPTIONS:MCDDA2OGG}
${INSTALL_SCRIPT} ${WRKSRC}/cdda2wav/cdda2ogg ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2ogg.1 \
${STAGEDIR}${PREFIX}/man/man1
.endif
${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${CDRTLSTARGET}/cdda2wav \
${STAGEDIR}${PREFIX}/bin
${LN} -sf cdda2wav ${STAGEDIR}${PREFIX}/bin/list_audio_tracks
${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/OBJ/${CDRTLSTARGET}/cdrecord \
${STAGEDIR}${PREFIX}/bin
.for i in devdump isodebug isodump isoinfo isovfy
${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/diag/OBJ/${CDRTLSTARGET}/${i} \
${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/mkisofs/OBJ/${CDRTLSTARGET}/mkisofs \
${STAGEDIR}${PREFIX}/bin
${LN} -sf mkisofs ${STAGEDIR}${PREFIX}/bin/mkhybrid
${INSTALL_PROGRAM} ${WRKSRC}/readcd/OBJ/${CDRTLSTARGET}/readcd \
${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MRSCSI}
${INSTALL_PROGRAM} ${WRKSRC}/rscsi/OBJ/${CDRTLSTARGET}/rscsi \
${STAGEDIR}${PREFIX}/sbin
.endif
${INSTALL_PROGRAM} ${WRKSRC}/scgcheck/OBJ/${CDRTLSTARGET}/scgcheck \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/btcflash/btcflash.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cdda2wav/cdda2wav.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cdrecord/cdrecord.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/readcd/readcd.1 ${STAGEDIR}${PREFIX}/man/man1
.if ${PORT_OPTIONS:MRSCSI}
@${INSTALL_MAN} ${WRKSRC}/rscsi/rscsi.1 ${STAGEDIR}${PREFIX}/man/man1
.endif
${INSTALL_MAN} ${WRKSRC}/scgcheck/scgcheck.1 \
${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/mkisofs/mkisofs.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/mkisofs/diag/isoinfo.8 \
${STAGEDIR}${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
${STAGEDIR}${PREFIX}/etc/cdrecord.sample
.if !exists(${STAGEDIR}${PREFIX}/etc/cdrecord)
${INSTALL_DATA} ${WRKSRC}/cdrecord/cdrecord.dfl \
${STAGEDIR}${PREFIX}/etc/cdrecord
.endif
${MKDIR} ${STAGEDIR}${PREFIX}/lib/siconv
.for i in ${SICONVTABLES}
${INSTALL_DATA} ${WRKSRC}/libsiconv/tables/${i} \
${STAGEDIR}${PREFIX}/lib/siconv
.endfor
.if ${PORT_OPTIONS:MRSCSI}
${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl \
${STAGEDIR}${PREFIX}/etc/rscsi.sample
.if !exists(${STAGEDIR}${PREFIX}/etc/rscsi)
${INSTALL_DATA} ${WRKSRC}/rscsi/rscsi.dfl ${STAGEDIR}${PREFIX}/etc/rscsi
.endif
.endif
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/cdda2wav
.for i in ${CDDA2WAVDOCS}
${INSTALL_DATA} ${WRKSRC}/cdda2wav/${i} ${STAGEDIR}${DOCSDIR}/cdda2wav
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/cdrecord
.for i in ${CDRECORDDOCS}
${INSTALL_DATA} ${WRKSRC}/cdrecord/${i} ${STAGEDIR}${DOCSDIR}/cdrecord
.endfor
${MKDIR} ${STAGEDIR}${DOCSDIR}/mkisofs
.for i in ${MKISOFSDOCS}
${INSTALL_DATA} ${WRKSRC}/mkisofs/${i} ${STAGEDIR}${DOCSDIR}/mkisofs
.endfor
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile.master"

View file

@ -1,5 +0,0 @@
TIMESTAMP = 1501001984
SHA256 (cdrtools-3.01.tar.bz2) = ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f
SIZE (cdrtools-3.01.tar.bz2) = 2087416
SHA256 (cdrtools-3.01-fix-20151126-mkisofs-isoinfo.patch) = 4e07a2be599c0b910ab3401744cec417dbdabf30ea867ee59030a7ad1906498b
SIZE (cdrtools-3.01-fix-20151126-mkisofs-isoinfo.patch) = 14606

View file

@ -1,30 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- DEFAULTS/Defaults.freebsd.orig 2013-11-04 21:58:20.000000000 +0100
+++ DEFAULTS/Defaults.freebsd 2014-02-03 01:16:19.000000000 +0100
@@ -29,8 +29,8 @@
CWARNOPTS=
DEFINCDIRS= $(SRCROOT)/include
-DEFOSINCDIRS= /usr/local/include
-LDPATH= -L/opt/schily/lib -L/usr/local/lib
+#DEFOSINCDIRS= /usr/local/include
+#LDPATH= -L/opt/schily/lib -L/usr/local/lib
#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work
###########################################################################

View file

@ -1,88 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- RULES/cc-gcc.rul.orig Thu Jul 6 12:59:44 2006
+++ RULES/cc-gcc.rul Sat Jul 22 03:55:52 2006
@@ -24,11 +24,12 @@
GCC_OPT=
GCC_OPT32= -m32
GCC_OPT64= -m64
-GCC_OPTXX= $(GCC_OPT$(C_ARCH:gcc%=%))
+GCC_OPTXX=
CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX)
-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
-C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(G++OPTOPT) $(C++OPTX)
+XCFLAGS:= $(CFLAGS)
+CFLAGS= $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(GCCOPTOPT) $(COPTX)
+C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(CXXFLAGS) $(G++OPTOPT) $(C++OPTX)
CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%)
COPTS= $(GCC_OPTXX)
@@ -36,12 +37,10 @@
CWOPTS= -Wall -Wtraditional
CWOPTS= -Wall -Wno-unknown-pragmas \
-Wshadow -Wmissing-prototypes -Wstrict-prototypes
-COPTOPT= -O
COPTDYN= -fpic
COPTGPROF= -pg
C++OPTS= $(GCC_OPTXX)
C++WOPTS= $(CWOPTS)
-C++OPTOPT= $(COPTOPT)
C++OPTDYN= -fpic
C++OPTGPROF= -pg
@@ -61,28 +60,18 @@
FLOAT_OPTIONS=
-__CC_COM= $(_UNIQ)$(CC)
-___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF))
-CC_COM= $(___CC_COM:$(_UNIQ)%=%)
-
-__CC++_COM= $(_UNIQ)$(CCC)
-___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF))
-CC++_COM= $(___CC++_COM:$(_UNIQ)%=%)
-
-CC_COM_DEF= gcc
-CC++_COM_DEF= g++
-CC= $(CC_COM_DEF)
-CCC= $(CC++_COM_DEF)
-
-CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) $(GCC_OPTXX)
-CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(GCC_OPTXX)
-LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) $(GCC_OPTXX)
-LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) $(GCC_OPTXX)
-DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) $(GCC_OPTXX)
-DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(GCC_OPTXX)
+CC_COM= $(CC)
+CC++_COM= $(CXX)
+
+CCCC = $(CC_COM)
+CC++ = $(CC++_COM)
+LDCC= $(CC_COM)
+LDCC++ = $(CC++_COM)
+DYNLD= $(CC_COM)
+DYNLDC++ = $(CC++_COM)
RMDEP= :
-MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) $(GCC_OPTXX) -M
+MKDEP= $(CC_COM) -M
MKDEP_OUT=
-MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) $(GCC_OPTXX) -M
+MKC++DEP= $(CC++_COM) -M
MKC++DEP_OUT=

View file

@ -1,10 +0,0 @@
--- btcflash/btcflash.1.orig Wed Feb 8 23:13:24 2006
+++ btcflash/btcflash.1 Thu Feb 16 14:54:32 2006
@@ -293,7 +293,6 @@
login shell.
.SH "SEE ALSO"
.BR cdrecord (1),
-.BR scg (7),
.BR rcmd (3),
.BR ssh (1).
.SH NOTES

View file

@ -1,36 +0,0 @@
--- cdrecord/README.rscsi.orig Sun Aug 17 11:31:39 2003
+++ cdrecord/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:

View file

@ -1,28 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- cdrecord/cdrecord.1.orig Mon Sep 29 14:48:48 2003
+++ cdrecord/cdrecord.1 Mon Sep 29 14:49:23 2003
@@ -1738,8 +1738,6 @@
.SH SEE ALSO
.BR cdda2wav (1),
.BR readcd (1),
-.BR scg (7),
-.BR fbk (7),
.BR mkisofs (8),
.BR rcmd (3),
.BR ssh (1).

View file

@ -1,64 +0,0 @@
--- cdrecord/cdrecord.dfl.orig Mon Aug 18 19:45:45 2003
+++ cdrecord/cdrecord.dfl Mon Aug 18 19:46:32 2003
@@ -3,7 +3,7 @@
# This file is /etc/default/cdrecord
# It contains defaults that are used if no command line option
# or environment is present.
-#
+#
# The default device, if not specified elswhere
# Note that since Sommer 2006, cdrecord by default searches for a
# single CD-ROM device. You should set CDR_DEVICE= together with
@@ -11,15 +11,14 @@
# one CR-ROM drive in your system.
#
#CDR_DEVICE=yamaha
-#CDR_DEVICE=default
-#
+#
# The default speed (speed=), if not specified elswhere
#
# Note that newer cdrecord versions do not default
# to speed=1. For MMC compliant drives, the default
# is to write at maximum speed, so it in general does
-# not make sense to set up a default speed in /etc/default/cdrecord
+# not make sense to set up a default speed in /etc/default/cdrecord
#
#CDR_SPEED=40
@@ -34,7 +33,7 @@
# Linux and Solaris have problems with bigger transfer sizes.
# If you are on FreeBSD, it is recommened to set CDR_TRANSFERSIZE=126k
#
-#CDR_TRANSFERSIZE=32k
+CDR_TRANSFERSIZE=126k
#
# The following definitions allow abstract device names.
@@ -56,14 +55,14 @@
#
# drive name device speed fifosize driveropts transfersize
#
-my-default= 1,0,0 -1 -1 burnfree 63k
-sol-default= USCSI:1,0,0 -1 -1 burnfree
-ricoh-u= USCSI:0,2,0 -1 -1 burnfree
-teac= 1,3,0 -1 -1 ""
-teac-max-ts= 1,3,0 -1 -1 "" 32k
-panasonic= 1,4,0 -1 -1 ""
-plextor= 1,4,0 -1 -1 ""
-sanyo= 1,4,0 -1 -1 burnfree
-yamaha= 1,5,0 -1 -1 ""
-cdrom= 0,6,0 2 1m ""
-remote= REMOTE:rscsi@somehost:1,0,0 16 16m burnfree
+#my-default= 1,0,0 -1 -1 burnfree 63k
+#sol-default= USCSI:1,0,0 -1 -1 burnfree
+#ricoh-u= USCSI:0,2,0 -1 -1 burnfree
+#teac= 1,3,0 -1 -1 ""
+#teac-max-ts= 1,3,0 -1 -1 "" 32k
+#panasonic= 1,4,0 -1 -1 ""
+#plextor= 1,4,0 -1 -1 ""
+#sanyo= 1,4,0 -1 -1 burnfree
+#yamaha= 1,5,0 -1 -1 ""
+#cdrom= 0,6,0 2 1m ""
+#remote= REMOTE:rscsi@somehost:1,0,0 16 16m burnfree

View file

@ -1,28 +0,0 @@
###########################################################################
# This patch was contributed by Dimitry Andric.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- inc/avoffset.c.orig 2011-11-28 19:28:41 UTC
+++ inc/avoffset.c
@@ -60,7 +60,7 @@ main(ac, av)
{
int stdir;
#ifdef HAVE_SCANSTACK
- register struct frame *fp;
+ volatile struct frame *fp;
register int i = 0;
register int o = 0;

View file

@ -1,37 +0,0 @@
###########################################################################
# This patch was contributed by Dimitry Andric.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- inc/getfp.c.orig 2008-06-13 22:32:03 UTC
+++ inc/getfp.c
@@ -52,7 +52,7 @@
EXPORT void **___fpoff __PR((char *cp));
-EXPORT void **
+EXPORT __noinline void **
getfp()
{
long **dummy[1];
@@ -69,7 +69,7 @@ getfp()
* We need this function to fool GCCs check for returning addresses
* from outside the functions local address space.
*/
-EXPORT void **
+EXPORT __noinline void **
___fpoff(cp)
char *cp;
{

View file

@ -1,15 +0,0 @@
--- include/schily/sha2.h.orig 2009-08-09 14:29:59.000000000 +0200
+++ include/schily/sha2.h 2012-10-20 14:25:05.000000000 +0200
@@ -104,10 +104,12 @@
#ifdef HAVE_LONGLONG
extern void SHA384Init __PR((SHA2_CTX *));
+#ifndef HAVE_PRAGMA_WEAK
extern void SHA384Transform __PR((UInt64_t state[8],
const UInt8_t [SHA384_BLOCK_LENGTH]));
extern void SHA384Update __PR((SHA2_CTX *, const UInt8_t *, size_t));
extern void SHA384Pad __PR((SHA2_CTX *));
+#endif
extern void SHA384Final __PR((UInt8_t [SHA384_DIGEST_LENGTH],
SHA2_CTX *));
extern char *SHA384End __PR((SHA2_CTX *, char *));

View file

@ -1,37 +0,0 @@
###########################################################################
# This patch was contributed by Dimitry Andric.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- libschily/getfp.c.orig 2008-06-13 22:32:03 UTC
+++ libschily/getfp.c
@@ -52,7 +52,7 @@
EXPORT void **___fpoff __PR((char *cp));
-EXPORT void **
+EXPORT __noinline void **
getfp()
{
long **dummy[1];
@@ -69,7 +69,7 @@ getfp()
* We need this function to fool GCCs check for returning addresses
* from outside the functions local address space.
*/
-EXPORT void **
+EXPORT __noinline void **
___fpoff(cp)
char *cp;
{

View file

@ -1,20 +0,0 @@
--- mkisofs/mkisofs.8.orig Mon Sep 29 15:11:48 2003
+++ mkisofs/mkisofs.8 Mon Sep 29 15:19:01 2003
@@ -1668,7 +1668,7 @@
The format of the
.I magic
file is almost identical to the
-.BR magic (4)
+.BR magic (5)
file used by the Linux
.BR file (1)
command - the routines for reading and decoding the
@@ -1707,7 +1707,7 @@
.TE
.PP
The format of the file is described in the
-.BR magic (4)
+.BR magic (5)
man page. The only difference here is that for each entry in the magic file, the
.I message
for the initial offset

View file

@ -1,28 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- readcd/readcd.1.orig Mon Sep 29 14:53:05 2003
+++ readcd/readcd.1 Mon Sep 29 15:10:06 2003
@@ -604,8 +604,6 @@
.SH SEE ALSO
.BR cdrecord (1),
.BR mkisofs (8),
-.BR scg (7),
-.BR fbk (7),
.BR rcmd (3),
.BR ssh (1).

View file

@ -1,19 +0,0 @@
--- rscsi/rscsi.dfl.orig Sun Aug 17 11:50:57 2003
+++ rscsi/rscsi.dfl Sun Aug 17 12:28:46 2003
@@ -18,14 +18,13 @@
# Each USER= entry adds the listed user to the users who may run rscsi
#
# A typical passwd entry looks like this:
-# rscsi:x:1999:1000:Remote SCSI:/export/home/rscsi:/opt/schily/sbin/rscsi
+# rscsi:*:99:99::0:0:Remote SCSI:/usr/local/rscsi:/opt/schily/sbin/rscsi
#
-# Add entries for all valid remote users to /export/home/rscsi/.rhosts
+# Add entries for all valid remote users to /usr/local/rscsi/.rhosts
#
# USER= entries are checked with a pattern matcher. USER=* matches all users.
#
USER=rscsi
-#USER=joerg
#
# Each ACCESS= entry adds a target or group of targets to the list of visible

View file

@ -1,29 +0,0 @@
###########################################################################
# This patch was contributed by Marius Strobl.
###########################################################################
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# See the file CDDL.Schily.txt in this distribution for details.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file CDDL.Schily.txt from this distribution.
###########################################################################
# The file CDDL.Schily.txt can be found in the original cdrtools tarball,
# which is mirrored at ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/.
###########################################################################
--- scgcheck/scgcheck.1.orig Mon Sep 29 14:56:16 2003
+++ scgcheck/scgcheck.1 Mon Sep 29 14:56:44 2003
@@ -234,8 +234,7 @@
.SH SEE ALSO
.BR cdrecord (1),
.BR readcd (1),
-.BR mkisofs (1),
-.BR scg (7).
+.BR mkisofs (8).
.SH NOTES
.PP

View file

@ -1,15 +0,0 @@
[
{ type: install
message: <<EOM
Note: The location of the cdrtools `defaults' files has been set to
%%PREFIX%%/etc
This is the FreeBSD ports standard config file location, NOT the cdrtools
standard location, which is /etc/default.
The reason for this is that FreeBSD ports and packages should not use
configuration files outside of %%PREFIX%%.
EOM
}
]

View file

@ -17,6 +17,5 @@ This package contains the following programs:
- readcd (a data CD reading and recording program)
May be used to write to DVD-RAM and to copy Solaris boot CD's.
- scgcheck (checks and validates the ABI of libscg)
- rscsi (daemon providing access to local SCSI-devices over the network)
WWW: http://cdrecord.org/

View file

@ -1,61 +0,0 @@
#!/bin/sh
PATH=/bin:/usr/sbin:/usr/bin
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
USER=rscsi
UID=99
GROUP=${USER}
GID=${UID}
UCOMMENT="Remote SCSI"
UHOME=${PKG_PREFIX}/rscsi
USHELL=${PKG_PREFIX}/sbin/rscsi
echo "==========================================================================="
echo
if ! pw groupshow "${GROUP}" >/dev/null 2>&1; then
if ! pw groupadd ${GROUP} -g ${GID}; then
echo "Adding group \"${GROUP}\" failed."
exit 1
fi
fi
if ! pw usershow "${USER}" >/dev/null 2>&1; then
if ! pw useradd ${USER} -u ${UID} -c "${UCOMMENT}" \
-d ${UHOME} -g ${GROUP} -s ${USHELL}; then
echo "Adding user \"${USER}\" failed."
exit 1
fi
fi
if ! [ -d ${UHOME} ] ; then
mkdir -p ${UHOME}
chown ${UID}:${GID} ${UHOME}
fi
if ! [ -f ${UHOME}/.rhosts ] ; then
cp /usr/share/skel/dot.rhosts ${UHOME}/.rhosts
chown ${UID}:${GID} ${UHOME}/.rhosts
chmod 0600 ${UHOME}/.rhosts
fi
echo "See ${PKG_PREFIX}/share/doc/cdrtools/README.rscsi and ${PKG_PREFIX}/etc/rscsi"
echo "for further information on how to configure remote access to SCSI-devices"
echo "via rscsi."
if ! grep '^shell' /etc/inetd.conf >/dev/null 2>&1; then
echo "Don't forget to add an entry for rshd(8) to /etc/inetd.conf in order to"
echo "be able to use the remote SCSI daemon."
fi
echo
;;
esac

View file

@ -1,118 +1,66 @@
bin/btcflash
%%CDDA2MP3%%bin/cdda2mp3
%%CDDA2OGG%%bin/cdda2ogg
%%CDDA2MP3%%man/man1/cdda2mp3.1.gz
%%CDDA2OGG%%man/man1/cdda2ogg.1.gz
bin/cdda2wav
bin/cdrecord
%%LAME%%bin/cdda2mp3
%%VORBIS%%bin/cdda2ogg
%%SUID%%bin/cdda2wav
%%SUID%%bin/cdrecord
bin/devdump
bin/isodebug
bin/isodump
bin/isoinfo
bin/isovfy
bin/list_audio_tracks
bin/mkhybrid
bin/mkisofs
bin/readcd
%%SUID%%bin/readcd
bin/scgcheck
lib/siconv/cp10000
lib/siconv/cp10006
lib/siconv/cp10007
lib/siconv/cp10029
lib/siconv/cp10079
lib/siconv/cp10081
lib/siconv/cp1250
lib/siconv/cp1251
lib/siconv/cp1252
lib/siconv/cp1253
lib/siconv/cp1254
lib/siconv/cp1255
lib/siconv/cp1256
lib/siconv/cp1257
lib/siconv/cp1258
lib/siconv/cp437
lib/siconv/cp737
lib/siconv/cp775
lib/siconv/cp850
lib/siconv/cp852
lib/siconv/cp855
lib/siconv/cp857
lib/siconv/cp860
lib/siconv/cp861
lib/siconv/cp862
lib/siconv/cp863
lib/siconv/cp864
lib/siconv/cp865
lib/siconv/cp866
lib/siconv/cp869
lib/siconv/cp874
lib/siconv/iso8859-1
lib/siconv/iso8859-10
lib/siconv/iso8859-11
lib/siconv/iso8859-13
lib/siconv/iso8859-14
lib/siconv/iso8859-15
lib/siconv/iso8859-16
lib/siconv/iso8859-2
lib/siconv/iso8859-3
lib/siconv/iso8859-4
lib/siconv/iso8859-5
lib/siconv/iso8859-6
lib/siconv/iso8859-7
lib/siconv/iso8859-8
lib/siconv/iso8859-9
lib/siconv/koi8-r
lib/siconv/koi8-u
man/man1/btcflash.1.gz
man/man1/cdda2wav.1.gz
man/man1/cdrecord.1.gz
man/man1/readcd.1.gz
man/man1/scgcheck.1.gz
man/man8/isoinfo.8.gz
man/man8/mkisofs.8.gz
%%RSCSI%%@(,,4555) sbin/rscsi
@sample etc/cdrecord.sample
%%RSCSI%%@sample etc/rscsi.sample
%%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
%%RSCSI%%man/man1/rscsi.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
%%PORTDOCS%%%%DOCSDIR%%/README.mkisofs
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/FAQ
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/Frontends
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/HOWTOUSE
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/OtherProgs
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/README
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/THANKS
%%PORTDOCS%%%%DOCSDIR%%/cdda2wav/TODO
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.ATAPI
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.DiskT@2
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.WORM
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.audio
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.cdplus
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.cdrw
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.cdtext
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.clone
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.copy
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.multi
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.raw
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.rscsi
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.sony
%%PORTDOCS%%%%DOCSDIR%%/cdrecord/README.verify
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.compression
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.eltorito
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.graft_dirs
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.hfs_boot
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.hfs_magic
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.hide
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.joliet
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.macosx
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.mkhybrid
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.prep_boot
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.rootinfo
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.session
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.sort
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.sparcboot
%%PORTDOCS%%%%DOCSDIR%%/mkisofs/README.sunx86boot
bin/scgskeleton
etc/default/cdrecord
%%PORTDOCS%%share/doc/cdda2wav/README
%%PORTDOCS%%share/doc/cdrecord/README
%%PORTDOCS%%share/doc/cdrecord/README.ATAPI
%%PORTDOCS%%share/doc/cdrecord/README.DiskT@2
%%PORTDOCS%%share/doc/cdrecord/README.WORM
%%PORTDOCS%%share/doc/cdrecord/README.audio
%%PORTDOCS%%share/doc/cdrecord/README.cdplus
%%PORTDOCS%%share/doc/cdrecord/README.cdrw
%%PORTDOCS%%share/doc/cdrecord/README.cdtext
%%PORTDOCS%%share/doc/cdrecord/README.clone
%%PORTDOCS%%share/doc/cdrecord/README.copy
%%PORTDOCS%%share/doc/cdrecord/README.multi
%%PORTDOCS%%share/doc/cdrecord/README.parallel
%%PORTDOCS%%share/doc/cdrecord/README.raw
%%PORTDOCS%%share/doc/cdrecord/README.rscsi
%%PORTDOCS%%share/doc/cdrecord/README.solaris-x86-ATAPI-DMA
%%PORTDOCS%%share/doc/cdrecord/README.solaris-x86-ata-DMA
%%PORTDOCS%%share/doc/cdrecord/README.sony
%%PORTDOCS%%share/doc/cdrecord/README.sun-lofi
%%PORTDOCS%%share/doc/cdrecord/README.verify
%%PORTDOCS%%share/doc/cdrecord/README.volmgt
%%PORTDOCS%%share/doc/mkisofs/README
%%PORTDOCS%%share/doc/mkisofs/README.compression
%%PORTDOCS%%share/doc/mkisofs/README.eltorito
%%PORTDOCS%%share/doc/mkisofs/README.graft_dirs
%%PORTDOCS%%share/doc/mkisofs/README.hfs_boot
%%PORTDOCS%%share/doc/mkisofs/README.hfs_magic
%%PORTDOCS%%share/doc/mkisofs/README.hide
%%PORTDOCS%%share/doc/mkisofs/README.joliet
%%PORTDOCS%%share/doc/mkisofs/README.macosx
%%PORTDOCS%%share/doc/mkisofs/README.mkhybrid
%%PORTDOCS%%share/doc/mkisofs/README.prep_boot
%%PORTDOCS%%share/doc/mkisofs/README.rootinfo
%%PORTDOCS%%share/doc/mkisofs/README.session
%%PORTDOCS%%share/doc/mkisofs/README.sort
%%PORTDOCS%%share/doc/mkisofs/README.sparcboot
%%PORTDOCS%%share/doc/mkisofs/README.sunx86boot
%%LAME%%share/man/man1/cdda2mp3.1.gz
%%VORBIS%%share/man/man1/cdda2ogg.1.gz
share/man/man1/cdda2wav.1.gz
share/man/man1/cdrecord.1.gz
share/man/man1/readcd.1.gz
share/man/man1/scgcheck.1.gz
share/man/man1/scgskeleton.1.gz
share/man/man8/devdump.8.gz
share/man/man8/isodebug.8.gz
share/man/man8/isodump.8.gz
share/man/man8/isoinfo.8.gz
share/man/man8/isovfy.8.gz
share/man/man8/mkhybrid.8.gz
share/man/man8/mkisofs.8.gz

View file

@ -0,0 +1,53 @@
PORTNAME= schilyutils
CATEGORIES= sysutils converters deskutils textproc shells
COMMENT= Collection of utilities from J. Schilling
RUN_DEPENDS= schilybase=${PORTVERSION}:devel/schilybase
USES+= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= man2html/man2html cstyle/cstyle.pl
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= bsh \
btcflash \
cal \
calc \
calltree \
change \
compare \
copy \
count \
cpp \
cstyle \
cut \
fifo \
label \
hdump \
lndir \
match \
mdigest \
obosh \
p \
paste \
patch \
pbosh \
printf \
sdd \
sfind \
sformat \
sgrow \
sh \
termcap \
translit \
udiff
# these files are installed by the patch target,
# but they belong to devel/sccs.
post-install:
${RM} ${STAGEDIR}${PREFIX}/ccs/bin/sccspatch
cd ${STAGEDIR}${PREFIX} && ${RMDIR} -p ccs/bin
${RM} ${STAGEDIR}${PREFIX}/share/man/man1/sccspatch.1
.include "${MASTERDIR}/Makefile.master"

View file

@ -0,0 +1,7 @@
Collection of miscellaneous utilities from the schilytools, including
a variety of shells (bosh, bsh, and obosh), a traditional K&R-style
preprocessor (krcpp), improved versions of standard UNIX utilities
(scal, sod, sprintf, scut, sdd, sfind, spatch), a C/C++ style checker
(cstyle.js, Cstyle) as well as various others.
WWW: http://schilytools.sourceforge.net

View file

@ -0,0 +1,88 @@
bin/Cstyle
@shell bin/bosh
@shell bin/bsh
bin/btcflash
bin/calc
bin/calltree
bin/change
bin/copy
bin/count
bin/cstyle.js
bin/fdiff
bin/fifo
bin/fsdiff
bin/hdump
@shell bin/jsh
bin/krcpp
bin/label
bin/lndir
bin/match
bin/mdigest
@shell bin/obosh
bin/opatch
bin/p
bin/pbosh
bin/pfbsh
bin/pfsh
bin/scal
bin/scompare
bin/scut
bin/sdd
bin/sfind
bin/sformat
bin/sgrow
bin/sod
bin/spaste
bin/spatch
bin/sprintf
bin/termcap
bin/translit
bin/udiff
etc/sformat.dat
lib/cpp
share/doc/bosh/dotfiles.tar.bz2
share/doc/bsh/dotfiles.tar.bz2
share/man/de/man1/sdd.1.gz
share/man/man1/bosh.1.gz
share/man/man1/bsh.1.gz
share/man/man1/btcflash.1.gz
share/man/man1/calc.1.gz
share/man/man1/calltree.1.gz
share/man/man1/change.1.gz
share/man/man1/copy.1.gz
share/man/man1/count.1.gz
share/man/man1/cstyle.1.gz
share/man/man1/fdiff.1.gz
share/man/man1/fifo.1.gz
share/man/man1/fsdiff.1.gz
share/man/man1/hdump.1.gz
share/man/man1/jsh.1.gz
share/man/man1/krcpp.1.gz
share/man/man1/label.1.gz
share/man/man1/lndir.1.gz
share/man/man1/match.1.gz
share/man/man1/mdigest.1.gz
share/man/man1/obosh.1.gz
share/man/man1/opatch.1.gz
share/man/man1/p.1.gz
share/man/man1/patch.1.gz
share/man/man1/pbosh.1.gz
share/man/man1/pfbsh.1.gz
share/man/man1/pfsh.1.gz
share/man/man1/scal.1.gz
share/man/man1/scompare.1.gz
share/man/man1/scut.1.gz
share/man/man1/sdd.1.gz
share/man/man1/sfind.1.gz
share/man/man1/sgrow.1.gz
share/man/man1/sod.1.gz
share/man/man1/spaste.1.gz
share/man/man1/spatch.1.gz
share/man/man1/sprintf.1.gz
share/man/man1/termcap.1.gz
share/man/man1/translit.1.gz
share/man/man1/udiff.1.gz
share/man/man8/sformat.8.gz
xpg4/bin/bosh
xpg4/bin/od
@shell xpg4/bin/sh

View file

@ -1,62 +0,0 @@
# Created by: marius@alchemy.franken.de
PORTNAME= sformat
PORTVERSION= 3.5
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/:sformat \
LOCAL/marius:libschily,sformat
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sformat \
${LIBSCHILY}:libschily
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= marius@FreeBSD.org
COMMENT= Allows formatting/partitioning/analysis/repairing of SCSI disks
LIBSCHILY= libschily-2.01.01a07.tar.gz
USES= gmake
.include <bsd.port.pre.mk>
CCOM!= ${BASENAME} ${CC}
MAKE_ENV+= CCOM=${CCOM}
SFMTTARGET= ${ARCH}-freebsd-${CCOM}
SFMTXARCH!= ${UNAME} -m
post-extract:
@cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/${LIBSCHILY} ${EXTRACT_AFTER_ARGS}
.for i in config.guess config.sub
@${CP} ${PORTSDIR}/Templates/${i} ${WRKSRC}/conf
.endfor
.if ${SFMTTARGET} != "i386-freebsd-cc"
@${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \
${WRKSRC}/RULES/${SFMTXARCH}-${OPSYS:tl}-cc.rul
.endif
post-patch:
.for i in datio.c sformat.1
@${REINPLACE_CMD} -i "" -e 's:%%DATADIR%%:${DATADIR}:g;' \
${WRKSRC}/sformat/${i}
.endfor
.for i in include/schily.h libschily/fexec.c libschily/libschily-mapvers
@${REINPLACE_CMD} -e 's|fexecve|js_fexecve|g' ${WRKSRC}/${i}
.endfor
@${REINPLACE_CMD} -e 's|int getline|int get_line|g' ${WRKSRC}/include/schily.h
@${REINPLACE_CMD} -e 's|(getline(|(get_line(|g' ${WRKSRC}/sformat/io.c \
${WRKSRC}/libscg/scsitransp.c
@${REINPLACE_CMD} -e 's| getline(| get_line(|g' ${WRKSRC}/sformat/io.c \
${WRKSRC}/sformat/defect.c
@${REINPLACE_CMD} -e 's|^getline|get_line|g' ${WRKSRC}/libschily/stdio/fgetline.c
@${REINPLACE_CMD} -e 's|)getline|)get_line|g' ${WRKSRC}/sformat/diskfmt.c \
${WRKSRC}/sformat/makelabel.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sformat/OBJ/${SFMTTARGET}/sformat \
${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sformat/sformat.dat ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/sformat/sformat.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.post.mk>

View file

@ -1,4 +0,0 @@
SHA256 (sformat-3.5.tar.gz) = bbfbf309aaa7afbc6559e5fc8d230129d6ab3dcfc26734d8426c896b152a8b4c
SIZE (sformat-3.5.tar.gz) = 526375
SHA256 (libschily-2.01.01a07.tar.gz) = 946568da0756366ed1835c8a022d1a8ff64509e223731fb8077cf47f845ee0a5
SIZE (libschily-2.01.01a07.tar.gz) = 99473

View file

@ -1,32 +0,0 @@
--- RULES/i386-freebsd-cc.rul.orig Tue Oct 15 22:43:39 2002
+++ RULES/i386-freebsd-cc.rul Sun Oct 27 19:59:00 2002
@@ -24,7 +24,8 @@
###########################################################################
CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
+XCFLAGS:= $(CFLAGS)
+CFLAGS= $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(COPTX)
CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
COPTS=
@@ -57,14 +58,14 @@
FLOAT_OPTIONS=
-CC= @echo " ==> COMPILING \"$@\""; gcc
-LDCC= @echo " ==> LINKING \"$@\""; gcc
-DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc
-RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib
+CCCOM= $(CC)
+LDCC= $(CCCOM)
+DYNLD= $(CCCOM)
+RANLIB= ranlib
ARFLAGS= cr
LORDER= lorder
TSORT= tsort
RMDEP= :
-MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
+MKDEP= $(CCCOM) -M
MKDEP_OUT=

Some files were not shown because too many files have changed in this diff Show more