1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Add new port 40upgrade -- 4.0R to 4-stable upgrade kit. Currently only

contains new libc.so.4 with xpg4 functions and the skeletonized libxpg4.
This commit is contained in:
Satoshi Asami 2000-07-11 22:56:03 +00:00
parent 7b1cad8a12
commit 3656895e7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30496
7 changed files with 56 additions and 0 deletions

36
misc/40upgrade/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: 4.0R to 4-stable upgrade kit
# Date created: 11 Jul 2000
# Whom: asami
#
# $FreeBSD$
#
PORTNAME= 40upgrade
PORTVERSION= 2000.07.11
CATEGORIES= misc
DISTFILES= # empty
MAINTAINER= asami@FreeBSD.org
.include <bsd.port.pre.mk>
.if !defined(PACKAGE_BUILDING)
BROKEN= this \"port\" is for building packages for distribution only, please get the package from http://www.freebsd.org/ports/ if you need an upgrade
.elif ${OSVERSION} < 400020 || ${OSVERSION} >= 500000
FORBIDDEN= this needs to be built on a recent 4-stable system
.endif
NO_MTREE= yes
PREFIX= /
NO_BUILD= yes
PKGINSTALL= ${WRKDIR}/INSTALL
DATE!= cat /var/db/port.mkversion
do-install:
${SED} -e "s/%%VERSION%%/${DATE}/" ${PKGDIR}/INSTALL \
> ${PKGINSTALL}
deinstall:
@${ECHO} "You can't delete this port."
@${FALSE}
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
A convenience package to upgrade your 4.0 system to 4-stable for ports

5
misc/40upgrade/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
This package will allow you to upgrade your 4.0R system to
4-stable, so you can compile and use all ports in ports-current.
Satoshi
asami@freebsd.org

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/port.mkversion

3
misc/40upgrade/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
usr/lib/libc.so.4
usr/lib/libxpg4.so
usr/lib/libxpg4.so.3

5
misc/40upgrade/pkg-req Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ $2 = "DEINSTALL" ]; then
echo "Package $1 cannot be removed -- to do so will render your system useless."
exit 1
fi

View File

@ -9,6 +9,7 @@
SUBDIR += 31upgrade
SUBDIR += 32upgrade
SUBDIR += 34upgrade
SUBDIR += 40upgrade
SUBDIR += 44bsd-more
SUBDIR += Howto
SUBDIR += aclgen