Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
NIH Invented Here :-)
This is a package manager for pkgsrc.
Available commands:
nih help - Display help message
nih refresh - Download pkg_summary and SHA512 files
nih install - Install or update packages
nih uninstall - Uninstall packages
nih verify - Verify packages integrity
nih status - Show status of installed packages
nih info - Show information about packages
nih meta - Output available or installed meta packages
nih search - Powerful search in packages
nih leaf - Output or remove autoinstalled leaf packages
nih list - List packages
nih mark - Mark packages
nih deps - Show dependencies
nih clean-cache - Clean-up cache directory with binaries
+5
View File
@@ -0,0 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2011/09/04 15:38:49 cheusov Exp $
If you want to use "nih search -o",
install pkgtools/pkg_online-client.
===========================================================================
+62
View File
@@ -0,0 +1,62 @@
# $NetBSD: Makefile,v 1.19 2013/03/08 13:04:32 cheusov Exp $
DISTNAME= pkgnih-0.11.0
PKGNAME= ${DISTNAME:S/pkgnih/nih/}
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/nih/ \
http://mova.org/~cheusov/pub/pkgnih/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= https://github.com/cheusov/pkgnih
COMMENT= Package manager for pkgsrc
LICENSE= 2-clause-bsd
DEPENDS+= pkg_summary-utils>=0.60.0:../../pkgtools/pkg_summary-utils
DEPENDS+= digest-[0-9]*:../../pkgtools/digest
DEPENDS+= pkg_install>=20100915:../../pkgtools/pkg_install
BUILD_DEPENDS+= mk-configure>=0.21.0:../../devel/mk-configure
CONFLICTS= pkg_status-[0-9]*
SUPERSEDES= pkgnih-[0-9]*
BUILD_TARGET= all all-doc
INSTALL_TARGET= install install-doc
EGDIR= ${PREFIX}/share/examples/nih
CONF_FILES= ${EGDIR}/nih.conf \
${PKG_SYSCONFDIR}/nih/config
MAKE_DIRS+= ${PKG_SYSCONFDIR}/nih
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= .*runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= nih/pkg_update_plan.in nih/cmp2hr.in \
nih/pkg_create_fake.in nih/analyse_conflicts.in
MAKE_ENV+= PKGSRCDIR=${PKGSRCDIR}
MAKE_ENV+= PACKAGES=${PACKAGES}
MAKE_ENV+= PKG_DBDIR=${PKG_DBDIR}
MAKE_ENV+= REAL_ROOT_USER=${REAL_ROOT_USER}
MAKE_ENV+= REAL_ROOT_GROUP=${REAL_ROOT_GROUP}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == NetBSD || ${OPSYS} == FreeBSD || ${OPSYS} == OpenBSD || \
${OPSYS} == DragonFly || ${OPSYS} == MirBSD
FTP_CMD=/usr/bin/ftp
.else
FTP_CMD=${PREFIX}/bin/ftp
DEPENDS+= tnftp-[0-9]*:../../net/tnftp
.endif
MAKE_ENV+= FTP=${FTP_CMD:Q}
.if ${OPSYS} =="SunOS" #&& empty(OS_VERSION:M5.11*)
REPLACE_SH+= nih/nih.in nih/pkg_status.in
.endif
.include "../../devel/mk-configure/mk-c.mk"
.include "../../mk/bsd.pkg.mk"
+15
View File
@@ -0,0 +1,15 @@
@comment $NetBSD: PLIST,v 1.5 2013/03/08 13:04:32 cheusov Exp $
bin/nih
bin/pkg_status
bin/pkg_update_plan
lib/nih/nih.default.conf
libexec/nih/analyse_conflicts
libexec/nih/cmp2hr
libexec/nih/pkg_create_fake
man/man1/nih.1
man/man1/pkg_update_plan.1
share/doc/pkgnih/COPYRIGHT
share/doc/pkgnih/NEWS
share/doc/pkgnih/README
share/doc/pkgnih/TODO
share/examples/nih/nih.conf
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.9 2013/03/08 13:04:32 cheusov Exp $
SHA1 (pkgnih-0.11.0.tar.gz) = 57ee38059d55e2568a1465c62df22bbddc55ba9a
RMD160 (pkgnih-0.11.0.tar.gz) = 7363f411571f1afa81ab1e91d9fb654b42b05e62
Size (pkgnih-0.11.0.tar.gz) = 36747 bytes