As previously announced, remove chinese/cle_base. It has been broken

for more than 1 month with a security problem and no sign of a fix.
It has no maintainer.
This commit is contained in:
Mark Linimon 2004-11-27 07:35:52 +00:00
parent 01971a96cf
commit 2e68994c7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122574
8 changed files with 0 additions and 6140 deletions

View file

@ -28,7 +28,6 @@
SUBDIR += chinput2
SUBDIR += chinput3
SUBDIR += chm2html
SUBDIR += cle_base
SUBDIR += cless
SUBDIR += cmexfonts
SUBDIR += cnprint

View file

@ -1,193 +0,0 @@
# New ports collection makefile for: zh-cle_base
# Date created: Nov 17, 1999
# Whom: keith@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= cle_base
PORTVERSION= 0.9p1
PORTREVISION= 1
CATEGORIES= chinese emulators linux
MASTER_SITES= \
ftp://cle.linux.org.tw/pub/CLE/stable/v0.9p1/i386/RedHat/RPMS/ \
ftp://freebsd.sinica.edu.tw/pub/keith/zh-rpm/
DISTFILES= ${RPM_SET1} ${RPM_LDCONFIG} ${RPM_BASH2} ${RPM_SET2} \
${RPM_RPM} ${RPM_SET3} ${RPM_L10N}
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= The base set of CLE packages needed in Linux mode, support both GB & Big5
BROKEN= "Install fails when linprocfs is mounted"
DEPRECATED= http://vuxml.freebsd.org/ef253f8b-0727-11d9-b45d-000c41e2cdad.html (security)
EXPIRATION_DATE= 2004-11-21
RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
CONFLICTS= linux_base-*
ONLY_FOR_ARCHS= i386
DIST_SUBDIR= zh-rpm
PREFIX= ${LINUXBASE}
NO_BUILD= yes
NO_FILTER_SHLIBS= yes
NO_MTREE= yes
PKGINSTALL= ${WRKDIR}/pkg-install
.include <bsd.port.pre.mk>
LIBC5_COMPAT= ld.so-1.9.5-13.i386.rpm libc-5.3.12-31.i386.rpm
RPM_BINUTILS= binutils-2.9.5.0.22-6.i386.rpm
RPM_GLIB= glib-1.2.6-3.i386.rpm
RPM_GLIBC= glibc-2.1.3-21.i386.rpm
RPM_LDCONFIG= ldconfig-1.9.5-16.i386.rpm
RPM_RPM= rpm-3.0.5-9.6x.i386.rpm
RPM_X_LIBS= XFree86-libs-3.3.6-24CLE.i386.rpm
#
# The file files/base-list lists all rpms that are installed
# by a minimal RedHat installation versus all rpms installed
# by this port.
#
RPM_SET1= setup-2.1.8-1.noarch.rpm \
filesystem-1.3.5-1.noarch.rpm \
basesystem-6.0-4.noarch.rpm
RPM_SET2= ${RPM_GLIBC} \
termcap-10.2.7-9.noarch.rpm \
libtermcap-2.0.8-20.i386.rpm \
bash-2.04-1.i386.rpm \
ncurses-5.0-11.i386.rpm \
zlib-1.1.3-6.i386.rpm \
info-4.0-5.i386.rpm \
fileutils-4.0-21.i386.rpm \
grep-2.4-3.i386.rpm \
${RPM_BINUTILS} \
gd-1.3-6.i386.rpm \
gdbm-1.8.0-3.i386.rpm \
${RPM_GLIB} \
${LIBC5_COMPAT} \
libstdc++-2.9.0-30.i386.rpm \
sh-utils-2.0-5.i386.rpm \
readline-2.2.1-6.i386.rpm \
cle-release-0.9p1-2.noarch.rpm
RPM_SET3= setserial-2.15-3.i386.rpm \
slang-1.2.2-5.i386.rpm \
stat-1.5-12.i386.rpm \
tcsh-6.09-4.i386.rpm \
xpm-3.4k-2.i386.rpm
RPM_L10N= ${RPM_X_LIBS} \
locale-zh-0.9-3.i386.rpm \
xa+cv-0.7-pre1.i386.rpm
DBPATH= /var/lib/rpm
RPMFLAGS= --ignoreos --root ${LINUXBASE} --dbpath ${DBPATH} \
--nodeps --replacepkgs --notriggers --noscripts
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
REMOVE_DIRS= /dev /home /root /tmp /var/tmp /usr/local /usr/tmp
REMOVE_FILES= /bin/df /bin/su /etc/exports /etc/group \
/etc/localtime /etc/motd /etc/passwd /etc/printcap \
/etc/services /etc/protocols
.if ${OSVERSION} >= 500113
BROKEN= "Does not install (attempts to overwrite something in /proc)"
.endif
.if ${OSVERSION} <= 320001
#
# Hack to let the rpm installer run. The actual kernel change occurred after
# 400008 on 4.0-current and well after 320001, but we'll assume people running
# -current and -stable stay reasonably up-to-date.
#
# Define this if you get messages that look like
#
# --
# ELF interpreter /compat/linux/lib/ld-linux.so.2 not found
# execution of script failed
# --
#
NEEDLOADLINK= true
.endif
do-patch:
@${DO_NADA}
post-patch:
@${SED} -e "s;@LINUXBASE@;${LINUXBASE};g" ${FILESDIR}/INSTALL.in > ${WRKDIR}/pkg-install
pre-install:
# Handle the loading of the linux loadable kernel module if
# required.
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
do-install:
@${MKDIR} ${LINUXBASE}/${DBPATH}
@${MKDIR} ${LINUXBASE}/var/tmp
@rpm --initdb --root ${LINUXBASE} --dbpath ${DBPATH}
#
# Make sure we have a /dev/null in the chrooted environment.
#
@${MKDIR} ${LINUXBASE}/dev
@${RM} -f ${LINUXBASE}/dev/null
@mknod ${LINUXBASE}/dev/null c 2 2
@chmod 666 ${LINUXBASE}/dev/null
.if defined(NEEDLOADLINK)
@${MKDIR} ${LINUXBASE}/compat
@${LN} -s / ${LINUXBASE}/compat/linux
.endif
#
# Install all packages. Ignore dependencies just
# like the Red Hat installer.
#
@for R in ${RPM_SET1}; do \
${ECHO} $$R; \
rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
done
@${ECHO} ${RPM_LDCONFIG}
@rpm -U ${RPMFLAGS} ${RPMDIR}/${RPM_LDCONFIG}
@brandelf -t Linux ${LINUXBASE}/sbin/ldconfig
@for R in ${RPM_SET2}; do \
${ECHO} $$R; \
rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
done
@brandelf -t Linux ${LINUXBASE}/bin/sh
@${ECHO} ${RPM_RPM}
@rpm -U ${RPMFLAGS} ${RPMDIR}/${RPM_RPM}
@brandelf -t Linux ${LINUXBASE}/bin/rpm
@for R in ${RPM_SET3}; do \
${ECHO} $$R; \
rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
done
@for R in ${RPM_L10N}; do \
${ECHO} $$R; \
rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
done
@ln -sf ${LINUXBASE}/usr/X11R6/lib/libXpm.so.4.11 ${LINUXBASE}/usr/X11R6/lib/libXpm.so.4
@echo "/usr/i486-linux-libc5/lib" > ${LINUXBASE}/etc/ld.so.conf
@echo "/usr/X11R6/lib" >> ${LINUXBASE}/etc/ld.so.conf
@${LINUXBASE}/sbin/ldconfig
#
# Install yp.conf as a hint to NIS users
#
${INSTALL} ${COPY} -m 644 ${FILESDIR}/yp.conf ${LINUXBASE}/etc
#
# Finish
#
.if defined(NEEDLOADLINK)
@${RM} -rf ${LINUXBASE}/compat
.endif
@for D in ${REMOVE_DIRS}; do \
${RM} -rf ${LINUXBASE}/$$D; \
done
@for F in ${REMOVE_FILES}; do \
${RM} ${LINUXBASE}/$$F; \
done
@${LN} -s /var/tmp ${LINUXBASE}/usr/tmp
@${TOUCH} ${LINUXBASE}/CLE-0.9p1
post-install:
@${ECHO} ''
@fmt ${PKGMESSAGE}
@${ECHO} ''
.include <bsd.port.post.mk>

View file

@ -1,32 +0,0 @@
MD5 (zh-rpm/setup-2.1.8-1.noarch.rpm) = 76761cae697cc2f57065da133a33f4be
MD5 (zh-rpm/filesystem-1.3.5-1.noarch.rpm) = 13592687f133dc1fd039d61e1e90bb36
MD5 (zh-rpm/basesystem-6.0-4.noarch.rpm) = ad37c3eff0cc6b8417910252e045ff15
MD5 (zh-rpm/ldconfig-1.9.5-16.i386.rpm) = f8538a36c0ff452b1758943e1ba9945a
MD5 (zh-rpm/glibc-2.1.3-21.i386.rpm) = 2197ca4a7bce75b8f71e776198ea6ad6
MD5 (zh-rpm/termcap-10.2.7-9.noarch.rpm) = fdcf07f55dab0784fa06d61d2c12ba72
MD5 (zh-rpm/libtermcap-2.0.8-20.i386.rpm) = 39fb51ccd3c8f2c85a146c8596a05c89
MD5 (zh-rpm/bash-2.04-1.i386.rpm) = 8f9b491319d17da75cdad7b14ae25c85
MD5 (zh-rpm/ncurses-5.0-11.i386.rpm) = 7f08c24adc309135fd2f0dd3a331984a
MD5 (zh-rpm/zlib-1.1.3-6.i386.rpm) = 2042a6164d3cc497dcaa821b834ce179
MD5 (zh-rpm/info-4.0-5.i386.rpm) = 4e8ac287773696152a5f2cfde42a6917
MD5 (zh-rpm/fileutils-4.0-21.i386.rpm) = 6065a2e043dced58c3a2b1824771d07f
MD5 (zh-rpm/grep-2.4-3.i386.rpm) = 9f99cb994a4e5b9c0bda2e2bde9f0cfe
MD5 (zh-rpm/binutils-2.9.5.0.22-6.i386.rpm) = bf4c8a00c8b066d8fffdc40747dcf6fa
MD5 (zh-rpm/gd-1.3-6.i386.rpm) = 6e3f666cbba065e81ef951e392e5242d
MD5 (zh-rpm/gdbm-1.8.0-3.i386.rpm) = befe3e0b8a9ae91d1f99957acff6b9b6
MD5 (zh-rpm/glib-1.2.6-3.i386.rpm) = 1f1d4fccb4f4b20a09275a49844c1ad4
MD5 (zh-rpm/ld.so-1.9.5-13.i386.rpm) = ef41819eed40143b048b988138d99cdf
MD5 (zh-rpm/libc-5.3.12-31.i386.rpm) = e540ab65530070175887a6fa7096541b
MD5 (zh-rpm/libstdc++-2.9.0-30.i386.rpm) = 29ca50829f6d43c63d8fcc827b3daceb
MD5 (zh-rpm/sh-utils-2.0-5.i386.rpm) = 058999d972e6b2deb384701a9985c9fe
MD5 (zh-rpm/readline-2.2.1-6.i386.rpm) = d0e08590389caf394ea74f9aa72e3b2d
MD5 (zh-rpm/cle-release-0.9p1-2.noarch.rpm) = ea58ba8a27a63f5234610bb661d273cf
MD5 (zh-rpm/rpm-3.0.5-9.6x.i386.rpm) = 7d3cc95d0b2a4077125a68cf7d5607b5
MD5 (zh-rpm/setserial-2.15-3.i386.rpm) = 8f939ad1a2fb9c5d52a716879c2a9606
MD5 (zh-rpm/slang-1.2.2-5.i386.rpm) = d94406f90010303e885f69fffddbb153
MD5 (zh-rpm/stat-1.5-12.i386.rpm) = bf384d234eceb64fa96ab22b3e37c52c
MD5 (zh-rpm/tcsh-6.09-4.i386.rpm) = 4745c8f5a0082f1645a53f93edd594dd
MD5 (zh-rpm/XFree86-libs-3.3.6-24CLE.i386.rpm) = c4551d527a9a6484d155ae9795101c35
MD5 (zh-rpm/xpm-3.4k-2.i386.rpm) = bd2141c224b8ff99695b41cbc5550d66
MD5 (zh-rpm/locale-zh-0.9-3.i386.rpm) = 5901409d5833c624d452047137134e9c
MD5 (zh-rpm/xa+cv-0.7-pre1.i386.rpm) = d6bc44f2affd703951a6785eed5dca32

View file

@ -1,36 +0,0 @@
#!/bin/sh
# an installation script for linux_base
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
if [ -z "`kldstat -v | grep -E 'linux(aout|elf)'`" ]; then
echo 'Linux mode is not enabled.'
echo 'Loading linux kernel module now...'
if ! kldload linux; then
echo 'The linux kernel module could not be loaded.'
echo 'Please enable linux mode manually and retry.'
exit 1
fi
fi
if [ ! -f @PREFIX@/usr/share/locale/zh_TW.Big5/LC_CTYPE ] && \
[ -f @PREFIX@/lib/ld.so ]; then
echo ----------------------------------------------
echo You have linux_base installed!
echo Please remove it before install zh-linux_base.
echo ----------------------------------------------
exit 1
fi
if [ -f @PREFIX@/usr/share/locale/zh_TW.Big5/LC_CTYPE ] && \
[ ! -f @PREFIX@/CLE-0.9p1 ]; then
echo --------------------------------------------------------------------
echo You have previous release of zh-linux_base or zh-CLE_base installed!
echo Please remove it before install this version.
echo --------------------------------------------------------------------
exit 1
fi
exit 0

View file

@ -1,15 +0,0 @@
# sample yp.conf file
#
# Legal entries are:
#
# domainname <domain> Override the default YP domain
# (If not set uses the one from
# the getdomainname() syscall)
#
# ypserver <grape> [<domain>] Define which host to contact
# for YP service. If the <domain>
# argument is included then this
# host service the specified YP
# domain.
#domainname my.domain
#ypserver localhost

View file

@ -1,6 +0,0 @@
CLE(Chinese Linux Extension) is a project providing Chinese L10N for
Linux, mainly the RedHat distribution. This port picks packages from
a minimal CLE installation. In addition to Linux emulation, you can
run L10N Linux applications like Netscape or (hopefully) Star Office.
WWW: http://cle.linux.org.tw/

View file

@ -1,9 +0,0 @@
Installation of the Linux base system is
finished. The Linux kernel mode, which
must be enabled for Linux binaries to run,
is now enabled. Linux mode can be enabled
permanently with the linux_enable variable
of rc.conf(5).
When using NIS, don't forget to edit
yp.conf in /compat/linux/etc.

File diff suppressed because it is too large Load diff