mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
Step 2: base tools: pkgtools/pkgin
- Setup default repository to the official Minix3 one. - pkgin formatting fix (from Ben Gras <ben@minix3.org>)
This commit is contained in:
parent
1313cdbdd6
commit
105b6b0a0a
@ -55,11 +55,19 @@ MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
|
||||
|
||||
DEPENDS+= pkg_install>=20130901:../../pkgtools/pkg_install
|
||||
|
||||
.if (${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix")
|
||||
CONFIGURE_ENV += ac_cv_func_tcgetpgrp=no
|
||||
.endif
|
||||
|
||||
# those have official repositories
|
||||
.if !empty(PKGIN_REPOSITORY_URL)
|
||||
pre-install:
|
||||
${ECHO} ${PKGIN_REPOSITORY_URL} >> ${WRKSRC}/repositories.conf
|
||||
.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Minix"
|
||||
.elif ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||
pre-install:
|
||||
${GREP} -i Minix ${WRKSRC}/REPOSITORIES >> \
|
||||
${WRKSRC}/repositories.conf
|
||||
.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
|
||||
pre-install:
|
||||
${GREP} -i ${OPSYS} ${WRKSRC}/REPOSITORIES >> \
|
||||
${WRKSRC}/repositories.conf
|
||||
@ -82,6 +90,12 @@ do-install:
|
||||
${DESTDIR}${EGDIR}/repositories.conf.example
|
||||
${INSTALL_DATA} ${WRKSRC}/preferred.conf \
|
||||
${DESTDIR}${EGDIR}/preferred.conf.example
|
||||
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
|
||||
# LSC: We install this fragment only now, as it interfers with the bootstrap
|
||||
# process otherwise.
|
||||
${MKDIR} ${DESTDIR}${PREFIX}/etc
|
||||
${INSTALL_DATA} ../../minix/mk.conf.minix ${DESTDIR}${PREFIX}/etc/mk.conf
|
||||
.endif
|
||||
|
||||
# libfetch has no builtin.mk and is included in NetBSD>=5
|
||||
.if ${OPSYS} != "NetBSD" || \
|
||||
|
@ -4,3 +4,4 @@ man/cat1/pkgin.0
|
||||
man/man1/pkgin.1
|
||||
share/examples/pkgin/preferred.conf.example
|
||||
share/examples/pkgin/repositories.conf.example
|
||||
etc/mk.conf
|
||||
|
@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.40 2015/08/18 19:31:29 jperkin Exp $
|
||||
SHA1 (b08581b094980b6fc32beb304b8d3dda0689cc82.tar.gz) = f9bdb53a6e404b83a8c5d4f7e54ceb3d1de8c786
|
||||
RMD160 (b08581b094980b6fc32beb304b8d3dda0689cc82.tar.gz) = 42f2903fd180cb6ef43f331cdbaf530ba8f479b9
|
||||
Size (b08581b094980b6fc32beb304b8d3dda0689cc82.tar.gz) = 198425 bytes
|
||||
SHA1 (patch-zz-minix) = 6860ab8758fd7ae4f2dd427ae39aa3c37b3f8226
|
||||
|
10
pkgtools/pkgin/patches/patch-zz-minix
Normal file
10
pkgtools/pkgin/patches/patch-zz-minix
Normal file
@ -0,0 +1,10 @@
|
||||
$NetBSD$
|
||||
|
||||
--- REPOSITORIES.orig Wed May 7 15:48:08 2014
|
||||
+++ REPOSITORIES
|
||||
@@ -1,4 +1,4 @@
|
||||
# NetBSD OS release can look like 6.0_STABLE, do not use it as-is
|
||||
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/@OSREL@/All
|
||||
http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All/
|
||||
-ftp://ftp.minix3.org/pub/minix/packages/$osrelease/$arch/All
|
||||
+http://www.minix3.org/pkgsrc/packages/$osrelease/$arch/All
|
Loading…
x
Reference in New Issue
Block a user