remove binary-only port that relies on broken or (soon to be) removed

foreign OS compatibility
This commit is contained in:
naddy 2010-07-05 21:54:53 +00:00
parent 0e50d5fc42
commit 8055126324
8 changed files with 1 additions and 124 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.48 2010/04/22 22:22:22 kili Exp $
# $OpenBSD: Makefile,v 1.49 2010/07/05 21:54:53 naddy Exp $
SUBDIR =
SUBDIR += arc
@ -35,7 +35,6 @@
SUBDIR += pecl-rar
SUBDIR += pecl-zip
SUBDIR += py-lzo
SUBDIR += rar
SUBDIR += ripole
SUBDIR += ruby-archive-tar-minitar
SUBDIR += rzip

View File

@ -1,73 +0,0 @@
# $OpenBSD: Makefile,v 1.41 2010/04/15 14:58:24 ajacoutot Exp $
ONLY_FOR_ARCHS= i386 sparc
.if ${MACHINE_ARCH} == "sparc" && !exists(/emul/svr4/usr/lib/libc.so.1)
IGNORE= "requires Solaris shared libraries"
.endif
COMMENT= RAR archiver (binary port)
DISTNAME=rar-2.0x
.if ${MACHINE_ARCH} == "i386"
DISTFILES= rarbsd.sfx
PKGNAME= rar-2.02p0
EMUL= bsdos
.elif ${MACHINE_ARCH} == "sparc"
DISTFILES= rarsparc.sfx
PKGNAME= rar-2.01p0
EMUL= svr4
.else
DISTFILES=
.endif
SUPDISTFILES= rarsparc.sfx rarbsd.sfx
CATEGORIES= archivers
MASTER_SITES= ${HOMEPAGE}/rar/ \
ftp://ftp.netlab.sk/public/rarsoft/rar/
EXTRACT_CASES= *.sfx) ${SUDO} chmod a+x ${FULLDISTDIR}/$$archive && \
${FULLDISTDIR}/$$archive;;
HOMEPAGE= http://www.rarsoft.com/
# Restrictive
PERMIT_PACKAGE_CDROM= Shareware. Requires registration.
PERMIT_PACKAGE_FTP= Shareware. Requires registration.
PERMIT_DISTFILES_CDROM= Shareware. Requires registration.
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
WRKDIST= ${WRKDIR}
SUBST_VARS+= EMUL
SYSTRACE_SUBST_VARS= FULLDISTDIR
SYSCTL= ${SUDO} sysctl -w kern.emul.${EMUL}
pre-extract:
@sysctl -n kern.emul.${EMUL} > ${WRKDIR}/.emul_${EMUL}
@${SYSCTL}=1
post-extract:
.if ${MACHINE_ARCH} == "sparc"
@cd ${WRKSRC} && \
mv RAR rar && mv UNRAR unrar && \
mv DEFAULT.SFX default.sfx && mv Rar_FAQ.Txt Rar_FAQ.txt
.endif
@${SYSCTL}=`cat ${WRKDIR}/.emul_${EMUL}`
DOCS= Rar_FAQ.txt TechNote.Txt License.Txt Internet.Txt Rar.Txt
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rar
${INSTALL_DATA_DIR} ${PREFIX}/share/rar
${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin/rar
cd ${WRKSRC}; ${INSTALL_MAN} ${DOCS} ${PREFIX}/share/doc/rar
${INSTALL_DATA} ${WRKSRC}/RarFiles.Lst ${PREFIX}/share/rar/rarfiles.lst
${INSTALL_DATA} ${WRKSRC}/default.sfx ${PREFIX}/share/rar
${INSTALL_DATA} ${WRKSRC}/Dos.SFX ${PREFIX}/share/rar/dos.sfx
NO_REGRESS= Yes
.include <bsd.port.mk>

View File

@ -1,10 +0,0 @@
MD5 (rarbsd.sfx) = 29VRrvohIMSF57AHYN0g1g==
MD5 (rarsparc.sfx) = Iwg6PzdTa4FqqM45F6JuEw==
RMD160 (rarbsd.sfx) = NRCvI1JEFi9H2F+3dERoybCT/98=
RMD160 (rarsparc.sfx) = 5COJbtrU2m9ZOdLxxWBVUW09BzQ=
SHA1 (rarbsd.sfx) = uv1dbklWrRCJirGdYB+lBtFoG0o=
SHA1 (rarsparc.sfx) = lPup5h+as3J5D5r0Cyyp0RiSl10=
SHA256 (rarbsd.sfx) = /MdU/doeDK06exC7cYbvSk/Gp1wLEtE5JavmGGfdytI=
SHA256 (rarsparc.sfx) = 39aVOq9l3iyJ+QhzPjFVJbOShpp4CkuRwSESKTvTz7M=
SIZE (rarbsd.sfx) = 246569
SIZE (rarsparc.sfx) = 222058

View File

@ -1,4 +0,0 @@
The rar archiver adds and extracts files to and from an archive. The
archive is usually a regular file, which name has ".rar" suffix in its
end. Archive could be a media like a floppy diskette, tape or any other
storage device.

View File

@ -1,4 +0,0 @@
Rar is shareware, You are required to register after 40 days of use.
This package requires the sysctl kern.emul.${EMUL} being set to 1 and
just did so. To make this change permanent, edit /etc/sysctl.conf.

View File

@ -1,13 +0,0 @@
@comment $OpenBSD: PLIST,v 1.9 2004/11/09 14:48:25 alek Exp $
bin/rar
share/doc/rar/
share/doc/rar/Internet.Txt
share/doc/rar/License.Txt
share/doc/rar/Rar.Txt
share/doc/rar/Rar_FAQ.txt
share/doc/rar/TechNote.Txt
share/rar/
share/rar/default.sfx
share/rar/dos.sfx
share/rar/rarfiles.lst
@sysctl kern.emul.${EMUL}=1

View File

@ -1,2 +0,0 @@
native-chmod: filename match "${FULLDISTDIR}/rarbsd.sfx" then permit
native-chmod: filename match "${FULLDISTDIR}/rarsparc.sfx" then permit

View File

@ -1,16 +0,0 @@
# $OpenBSD: systrace.policy,v 1.4 2005/02/21 21:59:44 sturm Exp $
Policy: ${FULLDISTDIR}/rarbsd.sfx, Emulation: bsdos
bsdos-access: permit
bsdos-break: permit
bsdos-chmod: permit
bsdos-close: permit
bsdos-exit: permit
bsdos-fstat: permit
bsdos-fstat35: permit
bsdos-ogetpagesize: permit
bsdos-olseek: permit
bsdos-open: permit
bsdos-read: permit
bsdos-sigaction: permit
bsdos-utimes: permit
bsdos-write: permit