With the impending removal of rcs from base/head/, add new rcs 5.7 port

which is compatible with the soon to be removed rcs (5.7) in base/ and make
security/fwbuilder (which will not work with any rcs newer than 5.7)
depend on it.
This commit is contained in:
Cy Schubert 2013-10-06 04:23:20 +00:00
parent 2d550500c5
commit b03e362c33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329531
7 changed files with 70 additions and 0 deletions

View file

@ -3948,6 +3948,7 @@
SUBDIR += rbtools
SUBDIR += rclint
SUBDIR += rcs
SUBDIR += rcs57
SUBDIR += re2
SUBDIR += re2c
SUBDIR += readline

22
devel/rcs57/Makefile Normal file
View file

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= rcs
PORTVERSION= 5.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= cy@FreeBSD.org
COMMENT= Version control system (as was in FreeBSD prior to removal)
CONFLICTS= rcs-5.[89]*
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= ci.1 co.1 ident.1 merge.1 rcs.1 rcsclean.1 rcsdiff.1 rcsmerge.1 rlog.1
MAN5= rcsfile.5
NO_STAGE= yes
.include <bsd.port.mk>

2
devel/rcs57/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (rcs-5.7.tar.gz) = 97b50630e308320ea91e2a4f35f648d5e95e1de121ff64d2f19b571c512169e4
SIZE (rcs-5.7.tar.gz) = 282413

View file

@ -0,0 +1,20 @@
--- src/conf.sh.orig 1995-06-15 23:19:24.000000000 -0700
+++ src/conf.sh 2013-10-05 20:29:37.323219649 -0700
@@ -73,17 +73,6 @@
ech='echo -n' dots='... '
esac
-$ech >&3 "$0: testing permissions $dots"
-rm -f a.d &&
-date >a.d &&
-chmod 0 a.d &&
-{ test -w a.d || cp /dev/null a.d 2>/dev/null; } && {
- echo >&3 "$n$0: This command should not be run with superuser permissions."
- exit 1
-}
-echo >&3 OK
-rm -f a.d || exit
-
$ech >&3 "$0: testing compiler for plausibility $dots"
echo 'main() { return 0; }' >a.c
rm -f a.exe a.out || exit

11
devel/rcs57/pkg-descr Normal file
View file

@ -0,0 +1,11 @@
The Revision Control System (RCS) manages multiple revisions of files. RCS
automates the storing, retrieval, logging, identification, and merging of
revisions. RCS is useful for text that is revised frequently, including source
code, programs, documentation, graphics, papers, and form letters.
This port is gnu rcs 5.7. It is compatible with the rcs that was in FreeBSD
prior to its removal in FreeBSD-10.0. Some ports will not work with changes
made to rcs (e.g. changes to command line syntax) following the rcs 5.7
release.
WWW: http://www.gnu.org/software/rcs/

9
devel/rcs57/pkg-plist Normal file
View file

@ -0,0 +1,9 @@
bin/ci
bin/co
bin/ident
bin/merge
bin/rcs
bin/rcsclean
bin/rcsdiff
bin/rcsmerge
bin/rlog

View file

@ -79,6 +79,11 @@ NO_STAGE= yes
MAKE_ENV+= CCACHE_DISABLE=yes
.endif
.if ${OSVERSION} >= 1000055
# IMPORTANT: Newer versions of rcs will NOT work with fwbuilder.
RUN_DEPENDS= rcs:${PORTSDIR}/devel/rcs57
.endif
post-install:
@${STRIP_CMD} ${PREFIX}/bin/fwbuilder
@${ECHO} If you are upgrading from a previous version of fwbuilder,