MIT currently distributes their KRB5 distribution in a tarball (.tar)

that contains the distribution itself, in a tar.gz file, and a signature
certificate, contained in a detached .tar.gz.asc file.  Prior to this
patch, users installing MIT KRB5 had to extract the tarball into
/usr/ports/distfiles, then proceed with the installation.  This caused
confusion among those installing the port.  This patch addresses the
problem by extracting the .tar.gz file from the tarball, then unpacking
the .tar.gz file before continuing with the build.
This commit is contained in:
Cy Schubert 2002-03-18 22:52:43 +00:00
parent cb43f23b04
commit a50d121378
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56313
8 changed files with 32 additions and 4 deletions

View file

@ -15,6 +15,7 @@ MAINTAINER= cy@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
EXTRACT_SUFX= .tar
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
@ -76,6 +77,12 @@ do-fetch:
fi
.endif
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz
@${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc
@${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}
@${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
@${ECHO} "------------------------------------------------------"

View file

@ -1 +1 @@
MD5 (krb5-1.2.4.tar.gz) = 663add9b5942be74a86fa860a3fa4167
MD5 (krb5-1.2.4.tar) = 2ac3d6245c7690f0f377c8710091d651

View file

@ -15,6 +15,7 @@ MAINTAINER= cy@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
EXTRACT_SUFX= .tar
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
@ -76,6 +77,12 @@ do-fetch:
fi
.endif
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz
@${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc
@${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}
@${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
@${ECHO} "------------------------------------------------------"

View file

@ -1 +1 @@
MD5 (krb5-1.2.4.tar.gz) = 663add9b5942be74a86fa860a3fa4167
MD5 (krb5-1.2.4.tar) = 2ac3d6245c7690f0f377c8710091d651

View file

@ -15,6 +15,7 @@ MAINTAINER= cy@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
EXTRACT_SUFX= .tar
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
@ -76,6 +77,12 @@ do-fetch:
fi
.endif
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz
@${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc
@${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}
@${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
@${ECHO} "------------------------------------------------------"

View file

@ -1 +1 @@
MD5 (krb5-1.2.4.tar.gz) = 663add9b5942be74a86fa860a3fa4167
MD5 (krb5-1.2.4.tar) = 2ac3d6245c7690f0f377c8710091d651

View file

@ -15,6 +15,7 @@ MAINTAINER= cy@FreeBSD.org
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
KERBEROSV_URL= http://web.mit.edu/network/kerberos-form.html
EXTRACT_SUFX= .tar
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
@ -76,6 +77,12 @@ do-fetch:
fi
.endif
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz
@${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc
@${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}
@${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
@${ECHO} "------------------------------------------------------"

View file

@ -1 +1 @@
MD5 (krb5-1.2.4.tar.gz) = 663add9b5942be74a86fa860a3fa4167
MD5 (krb5-1.2.4.tar) = 2ac3d6245c7690f0f377c8710091d651