Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2012/10/23 19:50:50 asau Exp $
# $NetBSD: Makefile,v 1.18 2013/12/10 14:11:32 jperkin Exp $
#
DISTNAME= 9base-6
@@ -24,6 +24,10 @@ PKG_SHELL= bin/rc
# See http://developer.apple.com/library/mac/#qa/qa1118/_index.html
.if ${OPSYS} == "Darwin"
BUILDLINK_TRANSFORM+= rm:-static
.elif ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-static
CFLAGS+= -DPLAN9PORT
LDFLAGS+= -lsocket -lnsl
.else
LDFLAGS+= -static
.endif

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.579 2013/06/10 12:05:08 obache Exp $
# $NetBSD: Makefile,v 1.592 2014/02/17 11:23:01 fhajny Exp $
#
COMMENT= System utilities
@@ -19,7 +19,6 @@ SUBDIR+= amanda-server
SUBDIR+= amtterm
SUBDIR+= ansible
SUBDIR+= apcupsd
SUBDIR+= aperture
SUBDIR+= asapm
SUBDIR+= atitvout
SUBDIR+= bacula
@@ -37,6 +36,7 @@ SUBDIR+= boxbackup-client
SUBDIR+= boxbackup-server
SUBDIR+= brasero
SUBDIR+= brasero-nautilus
SUBDIR+= bsdinstall
SUBDIR+= bsign
SUBDIR+= btpin-qt
SUBDIR+= bubblemon
@@ -55,6 +55,18 @@ SUBDIR+= checkpassword
SUBDIR+= checkpassword-pam
SUBDIR+= checkperms
SUBDIR+= clex
SUBDIR+= collectd
SUBDIR+= collectd-amqp
SUBDIR+= collectd-curl
SUBDIR+= collectd-dbi
SUBDIR+= collectd-dns
SUBDIR+= collectd-memcached
SUBDIR+= collectd-mysql
SUBDIR+= collectd-network
SUBDIR+= collectd-notify-email
SUBDIR+= collectd-postgresql
SUBDIR+= collectd-rrdtool
SUBDIR+= collectd-snmp
SUBDIR+= conky
SUBDIR+= consolekit
SUBDIR+= coreutils
@@ -249,10 +261,13 @@ SUBDIR+= iwn-firmware
SUBDIR+= k3b
SUBDIR+= k3b-kde3
SUBDIR+= k4dirstat
SUBDIR+= kcron
SUBDIR+= kdf
SUBDIR+= kdirstat
SUBDIR+= kfloppy
SUBDIR+= krusader
SUBDIR+= ksystemlog
SUBDIR+= kuser
SUBDIR+= lambd
SUBDIR+= lavaps
SUBDIR+= libdevkit-gobject
@@ -261,7 +276,6 @@ SUBDIR+= libgksu
SUBDIR+= libgtop
SUBDIR+= libirman
SUBDIR+= libnotify
SUBDIR+= libnotify07
SUBDIR+= libol
SUBDIR+= liboobs
SUBDIR+= libpciaccess
@@ -274,6 +288,7 @@ SUBDIR+= logrot
SUBDIR+= logrotate
SUBDIR+= lsof
SUBDIR+= magicrescue
SUBDIR+= manifold
SUBDIR+= mbmon
SUBDIR+= mc
SUBDIR+= mc46
@@ -302,6 +317,7 @@ SUBDIR+= munin-node
SUBDIR+= munin-server
SUBDIR+= nautilus
SUBDIR+= nautilus-sendto
SUBDIR+= ncdu
SUBDIR+= ndesk-dbus
SUBDIR+= ndesk-dbus-glib
SUBDIR+= neb-wipe
@@ -318,6 +334,7 @@ SUBDIR+= open-vm-tools
SUBDIR+= openxenmanager
SUBDIR+= osname
SUBDIR+= p5-File-Copy-Recursive
SUBDIR+= p5-File-Inplace
SUBDIR+= p5-File-Remove
SUBDIR+= p5-File-chmod
SUBDIR+= p5-Filesys-Df
@@ -343,6 +360,7 @@ SUBDIR+= p5-Sys-Syslog
SUBDIR+= p5-Sys-Utmp
SUBDIR+= p5-UPS-Nut
SUBDIR+= p5-Unix-ConfigFile
SUBDIR+= p5-Unix-Statgrab
SUBDIR+= p5-Unix-Syslog
SUBDIR+= pciutils
SUBDIR+= pcmanfm
@@ -365,6 +383,8 @@ SUBDIR+= py-dbus
SUBDIR+= py-gnome-menus
SUBDIR+= py-notify
SUBDIR+= py-notify-python
SUBDIR+= py-psutil
SUBDIR+= py-xattr
SUBDIR+= qlogtools
SUBDIR+= radeontool
SUBDIR+= radmind
@@ -380,6 +400,7 @@ SUBDIR+= ruby-activesambaldap
SUBDIR+= ruby-directory-watcher
SUBDIR+= ruby-facter
SUBDIR+= ruby-fssm
SUBDIR+= ruby-libnotify
SUBDIR+= ruby-notify
SUBDIR+= ruby-quota
SUBDIR+= ruby-rb-appscript

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2012/10/23 19:50:50 asau Exp $
# $NetBSD: Makefile,v 1.9 2014/02/16 01:19:32 wiedi Exp $
#
DISTNAME= pacpidump
@@ -16,6 +16,8 @@ BUILD_TARGET= # null
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/acpidump ${DESTDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/acpidump.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.15 2013/02/06 23:23:47 jperkin Exp $
# $NetBSD: Makefile,v 1.16 2014/02/12 23:18:38 tron Exp $
#
DISTNAME= adtool-1.2
PKGREVISION= 6
PKGREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= http://gp2x.org/adtool/

View File

@@ -1,16 +1,18 @@
# $NetBSD: Makefile,v 1.2 2012/10/23 19:50:50 asau Exp $
# $NetBSD: Makefile,v 1.5 2014/02/14 13:48:40 schmonz Exp $
#
DISTNAME= agedu-r8590
DISTNAME= agedu-r10126
PKGNAME= ${DISTNAME:S/-r/-/}
CATEGORIES= sysutils
MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/agedu/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/agedu/
COMMENT= Utility for tracking down wasted disk space
LICENSE= mit
DIST_SUBDIR= ${PKGNAME_NOREV}
GNU_CONFIGURE= yes
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/06/07 13:48:20 wiz Exp $
$NetBSD: distinfo,v 1.4 2014/02/14 13:48:40 schmonz Exp $
SHA1 (agedu-r8590.tar.gz) = ee27d6b2514083dace34e452070762eb33c2af55
RMD160 (agedu-r8590.tar.gz) = b1b6d560f5cb71fca9e6be0d7c4070b4ca802377
Size (agedu-r8590.tar.gz) = 124908 bytes
SHA1 (agedu-10126/agedu-r10126.tar.gz) = b1bac9af9c08b824bd20ccc77c99de91838dba65
RMD160 (agedu-10126/agedu-r10126.tar.gz) = 667a1373e311b1713cbb6dade90765243af4da43
Size (agedu-10126/agedu-r10126.tar.gz) = 163674 bytes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.57 2012/10/23 19:50:51 asau Exp $
# $NetBSD: Makefile,v 1.58 2013/07/15 02:02:28 ryoon Exp $
#
PKGNAME= amanda-client-${AMANDA_VERSION}
@@ -57,5 +57,5 @@ post-install:
${DESTDIR}${PREFIX}/libexec/amanda
.include "../../sysutils/amanda-common/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,16 +1,15 @@
# $NetBSD: Makefile,v 1.61 2013/05/31 12:41:59 wiz Exp $
# $NetBSD: Makefile,v 1.64 2013/12/13 16:27:34 schnoebe Exp $
PKGNAME= amanda-common-${AMANDA_VERSION}
PKGREVISION= 3
PKGREVISION= 5
SVR4_PKGNAME= amaco
COMMENT= Common libraries and binaries for Amanda
.include "../../sysutils/amanda-common/Makefile.common"
.if ${OPSYS} == "SunOS"
CPPFLAGS+= -D_LARGEFILE64_SOURCE
.endif
CPPFLAGS.SunOS+= -D_LARGEFILE64_SOURCE
LDFLAGS.SunOS+= -lsocket
CONFIGURE_ARGS+= --without-server --without-client --without-gnuplot

View File

@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.12 2012/09/25 05:04:36 sbd Exp $
$NetBSD: distinfo,v 1.14 2014/01/06 22:15:06 joerg Exp $
SHA1 (amanda-3.3.1.tar.gz) = 22273381f61319e46e1da9d7029ca2b3991eee98
RMD160 (amanda-3.3.1.tar.gz) = 0d66ad25fd905901a1afd3651bd6c1e00db9af8d
@@ -9,6 +9,7 @@ SHA1 (patch-application-src_Makefile.am) = 3a5f256ab7e2439c2e19c4f75234d3a677707
SHA1 (patch-client-src_Makefile.am) = 641ef76fd1ea413b416704e1e52e25a93a596442
SHA1 (patch-client-src_sendbackup-dump.c) = aea1aca0bbcdab0c393b012a592cbc5ca458acec
SHA1 (patch-client-src_sendsize.c) = 32a1627c250b6413e4695a610bba59796c6e7ed6
SHA1 (patch-common-src_Makefile.in) = 422e4d519d8797e686d62cfeca8cda2e8a4a8bb3
SHA1 (patch-common-src_glib-util.c) = 8b62499f6730843fbf9e872adc80978b77b5573f
SHA1 (patch-common-src_glib-util.h) = 6d5b14acd7a44b17a52ebc697f5354db2a4b04f9
SHA1 (patch-common-src_security-util.h) = c628cc19a624da2cfabdb7d488bc2cd2d4b955a4
@@ -18,6 +19,7 @@ SHA1 (patch-config_macro-archive_xsltproc.m4) = 20324db1ce3db016fa89fe39df5a8133
SHA1 (patch-device-src_Makefile.am) = 29fd554033ff0ff7b1d98a08306f157ced7324c5
SHA1 (patch-example_Makefile.am) = 8d2dac1abdc473fbf94489bcb620a42a665fd27a
SHA1 (patch-oldrecover-src_Makefile.am) = 9127c1523937da3955662cc0b0921d05bca75248
SHA1 (patch-perl_Amanda_Xfer.pm) = 7389672ce0ed08d8b5f6548a6bb466ef4e18ab1d
SHA1 (patch-perl_Makefile.am) = 7b09e5cc30c9b441dae03b06bef5c757c93ff9f7
SHA1 (patch-perl_amglue_Makefile.am) = 051e456a5d34dd19a11ccd45c32f078e72d16e6f
SHA1 (patch-recover-src_Makefile.am) = cd2ee55a0b285a33903e6157260cf167a1c79249

View File

@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.9 2012/07/30 07:21:11 sbd Exp $
# $NetBSD: options.mk,v 1.10 2013/12/13 12:42:12 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.amanda
# Common options.
@@ -37,6 +37,9 @@ CONFIGURE_ENV+= ac_cv_path_SSH=${SSHPREFIX}/bin/ssh
.endif
.if !empty(PKG_OPTIONS:Mkerberos)
. if ${OPSYS} == "SunOS"
USE_BUILTIN.mit-krb5= no
. endif
CONFIGURE_ARGS+= --with-krb5-security=${KRB5BASE:Q}
. include "../../mk/krb5.buildlink3.mk"
.endif

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-common-src_Makefile.in,v 1.1 2014/01/06 22:15:06 joerg Exp $
--- common-src/Makefile.in.orig 2014-01-05 23:13:17.000000000 +0000
+++ common-src/Makefile.in
@@ -1704,6 +1704,7 @@ genversion_SOURCES = genversion.c svn-in
genversion_LDADD = $(libamanda_la_LIBADD) \
../gnulib/libgnu.la
+genversion.la: genversion.h
# these are used for testing only:
TEST_PROGS = file bsdsecurity

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-perl_Amanda_Xfer.pm,v 1.1 2013/12/13 16:27:34 schnoebe Exp $
Rather than try to conditionally eval in Amanda::XferServer based on the
value of Amanda::Constants::AMANDA_COMPONENTS, unconditionally attempt
to eval it in. The end result is the same.
--- perl/Amanda/Xfer.pm.orig 2012-02-21 11:39:17.000000000 +0000
+++ perl/Amanda/Xfer.pm
@@ -897,9 +897,6 @@ package Amanda::Xfer;
# try to load Amanda::XferServer, which is server-only. If it's not found, then
# its classes just remain undefined.
BEGIN {
- use Amanda::Util;
- if (Amanda::Util::built_with_component("server")) {
- eval "use Amanda::XferServer;";
- }
+ eval "use Amanda::XferServer;";
}
1;

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.16 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.18 2013/10/10 14:42:31 ryoon Exp $
#
DISTNAME= amtterm-1.3
PKGREVISION= 11
PKGREVISION= 13
CATEGORIES= sysutils
MASTER_SITES= http://www.kraxel.org/releases/amtterm/

View File

@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.2 2012/08/07 19:21:22 msaitoh Exp $
$NetBSD: distinfo,v 1.3 2013/08/22 07:12:37 wiz Exp $
SHA1 (amtterm-1.3.tar.gz) = cfd199cc870f48a59caa89408b039239eab85322
RMD160 (amtterm-1.3.tar.gz) = 382f9869b849f7cf6180b68f2a2481225ca575af
Size (amtterm-1.2.tar.gz) = 37671 bytes
Size (amtterm-1.3.tar.gz) = 37671 bytes
SHA1 (patch-GNUmakefile) = f0ff91d80b01ea9d4b42ea752b786ce16a698c7d
SHA1 (patch-mk_Variables.mk) = cb2d2fae3c0e650386308bd9290fa62c64a137f7
SHA1 (patch-redir.c) = 862935d9e74a9df791eb5b22baf0cc1ac4b7ffb6

View File

@@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.7 2013/04/13 17:51:57 riz Exp $
#
# $NetBSD: Makefile,v 1.9 2014/01/25 10:30:20 wiz Exp $
DISTNAME= ansible-1.1
DISTNAME= ansible-1.4.1
CATEGORIES= sysutils
MASTER_SITES= http://ansible.cc/releases/
MASTER_SITES= http://ansibleworks.com/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ansible.cc/
HOMEPAGE= http://ansibleworks.com/
COMMENT= SSH-based configuration management, deployment, and task execution
LICENSE= gnu-gpl-v3
@@ -17,8 +16,6 @@ USE_TOOLS+= gmake
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= docs/man/man1/ansible-playbook.1
SUBST_FILES.prefix+= docs/man/man1/ansible.1
SUBST_FILES.prefix+= examples/ansible.cfg
SUBST_FILES.prefix+= lib/ansible/constants.py
SUBST_SED.prefix= -e "s,@PREFIX@,${PREFIX},"
@@ -28,13 +25,8 @@ SUBST_CLASSES+= localbase
SUBST_STAGE.localbase= pre-configure
SUBST_FILES.localbase= \
lib/ansible/callbacks.py \
library/mysql_db \
library/ping \
library/pkgin \
library/raw \
library/setup \
library/slurp \
library/virt
library/packaging/pkgin \
library/system/setup
SUBST_SED.localbase= -e "s,@LOCALBASE@,${LOCALBASE},"
SUBST_CLASSES+= pythonbin
@@ -42,6 +34,8 @@ SUBST_STAGE.pythonbin= pre-configure
SUBST_FILES.pythonbin= Makefile
SUBST_FILES.pythonbin= -e "s,@PYTHONBIN@,${PYTHONBIN},"
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-paramiko
MANPAGES= ansible-doc.1 ansible-pull.1 ansible-playbook.1 ansible.1
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
@@ -67,16 +61,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/${f} \
${DESTDIR}/${EGDIR}
.endfor
${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR}/playbooks
for f in ${WRKSRC}/examples/playbooks/*.yml; do \
${INSTALL_DATA} $$f ${DESTDIR}/${EGDIR}/playbooks; \
done
.for f in filter_plugins handlers tasks templates vars
${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR}/playbooks/${f}
for g in ${WRKSRC}/examples/playbooks/${f}/*; do \
${INSTALL_DATA} $$g ${DESTDIR}/${EGDIR}/playbooks/${f}; \
done
.endfor
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2013/04/13 17:51:57 riz Exp $
@comment $NetBSD: PLIST,v 1.5 2013/12/02 22:54:46 hubertf Exp $
bin/ansible
bin/ansible-doc
bin/ansible-playbook
@@ -55,6 +55,15 @@ ${PYSITELIB}/ansible/inventory/vars_plugins/group_vars.pyo
${PYSITELIB}/ansible/module_common.py
${PYSITELIB}/ansible/module_common.pyc
${PYSITELIB}/ansible/module_common.pyo
${PYSITELIB}/ansible/module_utils/__init__.py
${PYSITELIB}/ansible/module_utils/__init__.pyc
${PYSITELIB}/ansible/module_utils/__init__.pyo
${PYSITELIB}/ansible/module_utils/basic.py
${PYSITELIB}/ansible/module_utils/basic.pyc
${PYSITELIB}/ansible/module_utils/basic.pyo
${PYSITELIB}/ansible/module_utils/ec2.py
${PYSITELIB}/ansible/module_utils/ec2.pyc
${PYSITELIB}/ansible/module_utils/ec2.pyo
${PYSITELIB}/ansible/playbook/__init__.py
${PYSITELIB}/ansible/playbook/__init__.pyc
${PYSITELIB}/ansible/playbook/__init__.pyo
@@ -73,6 +82,9 @@ ${PYSITELIB}/ansible/runner/action_plugins/__init__.pyo
${PYSITELIB}/ansible/runner/action_plugins/add_host.py
${PYSITELIB}/ansible/runner/action_plugins/add_host.pyc
${PYSITELIB}/ansible/runner/action_plugins/add_host.pyo
${PYSITELIB}/ansible/runner/action_plugins/assemble.py
${PYSITELIB}/ansible/runner/action_plugins/assemble.pyc
${PYSITELIB}/ansible/runner/action_plugins/assemble.pyo
${PYSITELIB}/ansible/runner/action_plugins/async.py
${PYSITELIB}/ansible/runner/action_plugins/async.pyc
${PYSITELIB}/ansible/runner/action_plugins/async.pyo
@@ -91,6 +103,9 @@ ${PYSITELIB}/ansible/runner/action_plugins/fetch.pyo
${PYSITELIB}/ansible/runner/action_plugins/group_by.py
${PYSITELIB}/ansible/runner/action_plugins/group_by.pyc
${PYSITELIB}/ansible/runner/action_plugins/group_by.pyo
${PYSITELIB}/ansible/runner/action_plugins/include_vars.py
${PYSITELIB}/ansible/runner/action_plugins/include_vars.pyc
${PYSITELIB}/ansible/runner/action_plugins/include_vars.pyo
${PYSITELIB}/ansible/runner/action_plugins/normal.py
${PYSITELIB}/ansible/runner/action_plugins/normal.pyc
${PYSITELIB}/ansible/runner/action_plugins/normal.pyo
@@ -103,21 +118,39 @@ ${PYSITELIB}/ansible/runner/action_plugins/raw.pyo
${PYSITELIB}/ansible/runner/action_plugins/script.py
${PYSITELIB}/ansible/runner/action_plugins/script.pyc
${PYSITELIB}/ansible/runner/action_plugins/script.pyo
${PYSITELIB}/ansible/runner/action_plugins/set_fact.py
${PYSITELIB}/ansible/runner/action_plugins/set_fact.pyc
${PYSITELIB}/ansible/runner/action_plugins/set_fact.pyo
${PYSITELIB}/ansible/runner/action_plugins/synchronize.py
${PYSITELIB}/ansible/runner/action_plugins/synchronize.pyc
${PYSITELIB}/ansible/runner/action_plugins/synchronize.pyo
${PYSITELIB}/ansible/runner/action_plugins/template.py
${PYSITELIB}/ansible/runner/action_plugins/template.pyc
${PYSITELIB}/ansible/runner/action_plugins/template.pyo
${PYSITELIB}/ansible/runner/action_plugins/unarchive.py
${PYSITELIB}/ansible/runner/action_plugins/unarchive.pyc
${PYSITELIB}/ansible/runner/action_plugins/unarchive.pyo
${PYSITELIB}/ansible/runner/connection.py
${PYSITELIB}/ansible/runner/connection.pyc
${PYSITELIB}/ansible/runner/connection.pyo
${PYSITELIB}/ansible/runner/connection_plugins/__init__.py
${PYSITELIB}/ansible/runner/connection_plugins/__init__.pyc
${PYSITELIB}/ansible/runner/connection_plugins/__init__.pyo
${PYSITELIB}/ansible/runner/connection_plugins/accelerate.py
${PYSITELIB}/ansible/runner/connection_plugins/accelerate.pyc
${PYSITELIB}/ansible/runner/connection_plugins/accelerate.pyo
${PYSITELIB}/ansible/runner/connection_plugins/chroot.py
${PYSITELIB}/ansible/runner/connection_plugins/chroot.pyc
${PYSITELIB}/ansible/runner/connection_plugins/chroot.pyo
${PYSITELIB}/ansible/runner/connection_plugins/fireball.py
${PYSITELIB}/ansible/runner/connection_plugins/fireball.pyc
${PYSITELIB}/ansible/runner/connection_plugins/fireball.pyo
${PYSITELIB}/ansible/runner/connection_plugins/funcd.py
${PYSITELIB}/ansible/runner/connection_plugins/funcd.pyc
${PYSITELIB}/ansible/runner/connection_plugins/funcd.pyo
${PYSITELIB}/ansible/runner/connection_plugins/jail.py
${PYSITELIB}/ansible/runner/connection_plugins/jail.pyc
${PYSITELIB}/ansible/runner/connection_plugins/jail.pyo
${PYSITELIB}/ansible/runner/connection_plugins/local.py
${PYSITELIB}/ansible/runner/connection_plugins/local.pyc
${PYSITELIB}/ansible/runner/connection_plugins/local.pyo
@@ -142,6 +175,9 @@ ${PYSITELIB}/ansible/runner/lookup_plugins/dnstxt.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/env.py
${PYSITELIB}/ansible/runner/lookup_plugins/env.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/env.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/etcd.py
${PYSITELIB}/ansible/runner/lookup_plugins/etcd.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/etcd.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/file.py
${PYSITELIB}/ansible/runner/lookup_plugins/file.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/file.pyo
@@ -151,6 +187,15 @@ ${PYSITELIB}/ansible/runner/lookup_plugins/fileglob.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/first_found.py
${PYSITELIB}/ansible/runner/lookup_plugins/first_found.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/first_found.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/flattened.py
${PYSITELIB}/ansible/runner/lookup_plugins/flattened.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/flattened.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/indexed_items.py
${PYSITELIB}/ansible/runner/lookup_plugins/indexed_items.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/indexed_items.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/inventory_hostnames.py
${PYSITELIB}/ansible/runner/lookup_plugins/inventory_hostnames.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/inventory_hostnames.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/items.py
${PYSITELIB}/ansible/runner/lookup_plugins/items.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/items.pyo
@@ -175,9 +220,15 @@ ${PYSITELIB}/ansible/runner/lookup_plugins/redis_kv.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/sequence.py
${PYSITELIB}/ansible/runner/lookup_plugins/sequence.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/sequence.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/subelements.py
${PYSITELIB}/ansible/runner/lookup_plugins/subelements.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/subelements.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/template.py
${PYSITELIB}/ansible/runner/lookup_plugins/template.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/template.pyo
${PYSITELIB}/ansible/runner/lookup_plugins/together.py
${PYSITELIB}/ansible/runner/lookup_plugins/together.pyc
${PYSITELIB}/ansible/runner/lookup_plugins/together.pyo
${PYSITELIB}/ansible/runner/poller.py
${PYSITELIB}/ansible/runner/poller.pyc
${PYSITELIB}/ansible/runner/poller.pyo
@@ -200,204 +251,351 @@ man/man1/ansible-doc.1
man/man1/ansible-playbook.1
man/man1/ansible-pull.1
man/man1/ansible.1
man/man3/ansible.accelerate.3
man/man3/ansible.acl.3
man/man3/ansible.add_host.3
man/man3/ansible.airbrake_deployment.3
man/man3/ansible.apt.3
man/man3/ansible.apt_key.3
man/man3/ansible.apt_repository.3
man/man3/ansible.arista_interface.3
man/man3/ansible.arista_l2interface.3
man/man3/ansible.arista_lag.3
man/man3/ansible.arista_vlan.3
man/man3/ansible.assemble.3
man/man3/ansible.async_status.3
man/man3/ansible.authorized_key.3
man/man3/ansible.bigip_monitor_http.3
man/man3/ansible.bigip_monitor_tcp.3
man/man3/ansible.bigip_node.3
man/man3/ansible.bigip_pool.3
man/man3/ansible.bigip_pool_member.3
man/man3/ansible.boundary_meter.3
man/man3/ansible.bzr.3
man/man3/ansible.campfire.3
man/man3/ansible.cloudformation.3
man/man3/ansible.command.3
man/man3/ansible.copy.3
man/man3/ansible.cron.3
man/man3/ansible.datadog_event.3
man/man3/ansible.debug.3
man/man3/ansible.digital_ocean.3
man/man3/ansible.django_manage.3
man/man3/ansible.dnsmadeeasy.3
man/man3/ansible.docker.3
man/man3/ansible.easy_install.3
man/man3/ansible.ec2.3
man/man3/ansible.ec2_ami.3
man/man3/ansible.ec2_eip.3
man/man3/ansible.ec2_elb.3
man/man3/ansible.ec2_facts.3
man/man3/ansible.ec2_group.3
man/man3/ansible.ec2_tag.3
man/man3/ansible.ec2_vol.3
man/man3/ansible.ec2_vpc.3
man/man3/ansible.ejabberd_user.3
man/man3/ansible.elasticache.3
man/man3/ansible.facter.3
man/man3/ansible.fail.3
man/man3/ansible.fetch.3
man/man3/ansible.file.3
man/man3/ansible.filesystem.3
man/man3/ansible.fireball.3
man/man3/ansible.firewalld.3
man/man3/ansible.flowdock.3
man/man3/ansible.gc_storage.3
man/man3/ansible.gce.3
man/man3/ansible.gce_lb.3
man/man3/ansible.gce_net.3
man/man3/ansible.gce_pd.3
man/man3/ansible.gem.3
man/man3/ansible.get_url.3
man/man3/ansible.git.3
man/man3/ansible.github_hooks.3
man/man3/ansible.glance_image.3
man/man3/ansible.group.3
man/man3/ansible.group_by.3
man/man3/ansible.grove.3
man/man3/ansible.hg.3
man/man3/ansible.hipchat.3
man/man3/ansible.homebrew.3
man/man3/ansible.hostname.3
man/man3/ansible.htpasswd.3
man/man3/ansible.include_vars.3
man/man3/ansible.ini_file.3
man/man3/ansible.irc.3
man/man3/ansible.jabber.3
man/man3/ansible.jboss.3
man/man3/ansible.kernel_blacklist.3
man/man3/ansible.keystone_user.3
man/man3/ansible.lineinfile.3
man/man3/ansible.linode.3
man/man3/ansible.lvg.3
man/man3/ansible.lvol.3
man/man3/ansible.macports.3
man/man3/ansible.mail.3
man/man3/ansible.modprobe.3
man/man3/ansible.mongodb_user.3
man/man3/ansible.monit.3
man/man3/ansible.mount.3
man/man3/ansible.mqtt.3
man/man3/ansible.mysql_db.3
man/man3/ansible.mysql_replication.3
man/man3/ansible.mysql_user.3
man/man3/ansible.mysql_variables.3
man/man3/ansible.nagios.3
man/man3/ansible.netscaler.3
man/man3/ansible.newrelic_deployment.3
man/man3/ansible.nova_compute.3
man/man3/ansible.nova_keypair.3
man/man3/ansible.npm.3
man/man3/ansible.ohai.3
man/man3/ansible.open_iscsi.3
man/man3/ansible.openbsd_pkg.3
man/man3/ansible.openvswitch_bridge.3
man/man3/ansible.openvswitch_port.3
man/man3/ansible.opkg.3
man/man3/ansible.osx_say.3
man/man3/ansible.ovirt.3
man/man3/ansible.pacman.3
man/man3/ansible.pagerduty.3
man/man3/ansible.pause.3
man/man3/ansible.ping.3
man/man3/ansible.pingdom.3
man/man3/ansible.pip.3
man/man3/ansible.pkgin.3
man/man3/ansible.pkgng.3
man/man3/ansible.pkgutil.3
man/man3/ansible.portinstall.3
man/man3/ansible.postgresql_db.3
man/man3/ansible.postgresql_privs.3
man/man3/ansible.postgresql_user.3
man/man3/ansible.quantum_floating_ip.3
man/man3/ansible.quantum_floating_ip_associate.3
man/man3/ansible.quantum_network.3
man/man3/ansible.quantum_router.3
man/man3/ansible.quantum_router_gateway.3
man/man3/ansible.quantum_router_interface.3
man/man3/ansible.quantum_subnet.3
man/man3/ansible.rabbitmq_parameter.3
man/man3/ansible.rabbitmq_plugin.3
man/man3/ansible.rabbitmq_user.3
man/man3/ansible.rabbitmq_vhost.3
man/man3/ansible.raw.3
man/man3/ansible.rax.3
man/man3/ansible.rax_clb.3
man/man3/ansible.rax_clb_nodes.3
man/man3/ansible.rax_facts.3
man/man3/ansible.rax_network.3
man/man3/ansible.rds.3
man/man3/ansible.redhat_subscription.3
man/man3/ansible.redis.3
man/man3/ansible.rhn_channel.3
man/man3/ansible.rhn_register.3
man/man3/ansible.riak.3
man/man3/ansible.route53.3
man/man3/ansible.rpm_key.3
man/man3/ansible.s3.3
man/man3/ansible.script.3
man/man3/ansible.seboolean.3
man/man3/ansible.selinux.3
man/man3/ansible.service.3
man/man3/ansible.set_fact.3
man/man3/ansible.setup.3
man/man3/ansible.shell.3
man/man3/ansible.slurp.3
man/man3/ansible.stat.3
man/man3/ansible.subversion.3
man/man3/ansible.supervisorctl.3
man/man3/ansible.svr4pkg.3
man/man3/ansible.swdepot.3
man/man3/ansible.synchronize.3
man/man3/ansible.sysctl.3
man/man3/ansible.template.3
man/man3/ansible.unarchive.3
man/man3/ansible.uri.3
man/man3/ansible.urpmi.3
man/man3/ansible.user.3
man/man3/ansible.vagrant.3
man/man3/ansible.virt.3
man/man3/ansible.wait_for.3
man/man3/ansible.xattr.3
man/man3/ansible.yum.3
man/man3/ansible.zfs.3
share/ansible/add_host
share/ansible/apt
share/ansible/apt_key
share/ansible/apt_repository
share/ansible/assemble
share/ansible/async_status
share/ansible/async_wrapper
share/ansible/authorized_key
share/ansible/bzr
share/ansible/cloudformation
share/ansible/command
share/ansible/copy
share/ansible/cron
share/ansible/debug
share/ansible/django_manage
share/ansible/easy_install
share/ansible/ec2
share/ansible/ec2_facts
share/ansible/ec2_vol
share/ansible/facter
share/ansible/fail
share/ansible/fetch
share/ansible/file
share/ansible/fireball
share/ansible/gem
share/ansible/get_url
share/ansible/git
share/ansible/group
share/ansible/group_by
share/ansible/hg
share/ansible/homebrew
share/ansible/ini_file
share/ansible/lineinfile
share/ansible/lvg
share/ansible/lvol
share/ansible/macports
share/ansible/mail
share/ansible/mongodb_user
share/ansible/mount
share/ansible/mysql_db
share/ansible/mysql_user
share/ansible/nagios
share/ansible/netscaler
share/ansible/ohai
share/ansible/openbsd_pkg
share/ansible/opkg
share/ansible/pacman
share/ansible/pause
share/ansible/ping
share/ansible/pip
share/ansible/pkgin
share/ansible/postgresql_db
share/ansible/postgresql_user
share/ansible/rabbitmq_parameter
share/ansible/rabbitmq_plugin
share/ansible/rabbitmq_user
share/ansible/rabbitmq_vhost
share/ansible/raw
share/ansible/rhn_channel
share/ansible/s3
share/ansible/script
share/ansible/seboolean
share/ansible/selinux
share/ansible/service
share/ansible/setup
share/ansible/shell
share/ansible/slurp
share/ansible/subversion
share/ansible/supervisorctl
share/ansible/svr4pkg
share/ansible/sysctl
share/ansible/template
share/ansible/uri
share/ansible/user
share/ansible/vagrant
share/ansible/virt
share/ansible/wait_for
share/ansible/yum
share/ansible/zfs
man/man3/ansible.zypper.3
man/man3/ansible.zypper_repository.3
share/ansible/cloud/cloudformation
share/ansible/cloud/digital_ocean
share/ansible/cloud/docker
share/ansible/cloud/ec2
share/ansible/cloud/ec2_ami
share/ansible/cloud/ec2_eip
share/ansible/cloud/ec2_elb
share/ansible/cloud/ec2_facts
share/ansible/cloud/ec2_group
share/ansible/cloud/ec2_tag
share/ansible/cloud/ec2_vol
share/ansible/cloud/ec2_vpc
share/ansible/cloud/elasticache
share/ansible/cloud/gc_storage
share/ansible/cloud/gce
share/ansible/cloud/gce_lb
share/ansible/cloud/gce_net
share/ansible/cloud/gce_pd
share/ansible/cloud/glance_image
share/ansible/cloud/keystone_user
share/ansible/cloud/linode
share/ansible/cloud/nova_compute
share/ansible/cloud/nova_keypair
share/ansible/cloud/ovirt
share/ansible/cloud/quantum_floating_ip
share/ansible/cloud/quantum_floating_ip_associate
share/ansible/cloud/quantum_network
share/ansible/cloud/quantum_router
share/ansible/cloud/quantum_router_gateway
share/ansible/cloud/quantum_router_interface
share/ansible/cloud/quantum_subnet
share/ansible/cloud/rax
share/ansible/cloud/rax_clb
share/ansible/cloud/rax_clb_nodes
share/ansible/cloud/rax_facts
share/ansible/cloud/rax_network
share/ansible/cloud/rds
share/ansible/cloud/route53
share/ansible/cloud/s3
share/ansible/cloud/virt
share/ansible/commands/command
share/ansible/commands/raw
share/ansible/commands/script
share/ansible/commands/shell
share/ansible/database/mongodb_user
share/ansible/database/mysql_db
share/ansible/database/mysql_replication
share/ansible/database/mysql_user
share/ansible/database/mysql_variables
share/ansible/database/postgresql_db
share/ansible/database/postgresql_privs
share/ansible/database/postgresql_user
share/ansible/database/redis
share/ansible/database/riak
share/ansible/files/acl
share/ansible/files/assemble
share/ansible/files/copy
share/ansible/files/fetch
share/ansible/files/file
share/ansible/files/ini_file
share/ansible/files/lineinfile
share/ansible/files/stat
share/ansible/files/synchronize
share/ansible/files/template
share/ansible/files/unarchive
share/ansible/files/xattr
share/ansible/internal/async_status
share/ansible/internal/async_wrapper
share/ansible/inventory/add_host
share/ansible/inventory/group_by
share/ansible/messaging/rabbitmq_parameter
share/ansible/messaging/rabbitmq_plugin
share/ansible/messaging/rabbitmq_user
share/ansible/messaging/rabbitmq_vhost
share/ansible/monitoring/airbrake_deployment
share/ansible/monitoring/boundary_meter
share/ansible/monitoring/datadog_event
share/ansible/monitoring/monit
share/ansible/monitoring/nagios
share/ansible/monitoring/newrelic_deployment
share/ansible/monitoring/pagerduty
share/ansible/monitoring/pingdom
share/ansible/net_infrastructure/arista_interface
share/ansible/net_infrastructure/arista_l2interface
share/ansible/net_infrastructure/arista_lag
share/ansible/net_infrastructure/arista_vlan
share/ansible/net_infrastructure/bigip_monitor_http
share/ansible/net_infrastructure/bigip_monitor_tcp
share/ansible/net_infrastructure/bigip_node
share/ansible/net_infrastructure/bigip_pool
share/ansible/net_infrastructure/bigip_pool_member
share/ansible/net_infrastructure/dnsmadeeasy
share/ansible/net_infrastructure/netscaler
share/ansible/net_infrastructure/openvswitch_bridge
share/ansible/net_infrastructure/openvswitch_port
share/ansible/network/get_url
share/ansible/network/slurp
share/ansible/network/uri
share/ansible/notification/campfire
share/ansible/notification/flowdock
share/ansible/notification/grove
share/ansible/notification/hipchat
share/ansible/notification/irc
share/ansible/notification/jabber
share/ansible/notification/mail
share/ansible/notification/mqtt
share/ansible/notification/osx_say
share/ansible/packaging/apt
share/ansible/packaging/apt_key
share/ansible/packaging/apt_repository
share/ansible/packaging/easy_install
share/ansible/packaging/gem
share/ansible/packaging/homebrew
share/ansible/packaging/macports
share/ansible/packaging/npm
share/ansible/packaging/openbsd_pkg
share/ansible/packaging/opkg
share/ansible/packaging/pacman
share/ansible/packaging/pip
share/ansible/packaging/pkgin
share/ansible/packaging/pkgng
share/ansible/packaging/pkgutil
share/ansible/packaging/portinstall
share/ansible/packaging/redhat_subscription
share/ansible/packaging/rhn_channel
share/ansible/packaging/rhn_register
share/ansible/packaging/rpm_key
share/ansible/packaging/svr4pkg
share/ansible/packaging/swdepot
share/ansible/packaging/urpmi
share/ansible/packaging/yum
share/ansible/packaging/zypper
share/ansible/packaging/zypper_repository
share/ansible/source_control/bzr
share/ansible/source_control/git
share/ansible/source_control/github_hooks
share/ansible/source_control/hg
share/ansible/source_control/subversion
share/ansible/system/authorized_key
share/ansible/system/cron
share/ansible/system/facter
share/ansible/system/filesystem
share/ansible/system/firewalld
share/ansible/system/group
share/ansible/system/hostname
share/ansible/system/kernel_blacklist
share/ansible/system/lvg
share/ansible/system/lvol
share/ansible/system/modprobe
share/ansible/system/mount
share/ansible/system/ohai
share/ansible/system/open_iscsi
share/ansible/system/ping
share/ansible/system/seboolean
share/ansible/system/selinux
share/ansible/system/service
share/ansible/system/setup
share/ansible/system/sysctl
share/ansible/system/user
share/ansible/system/zfs
share/ansible/utilities/accelerate
share/ansible/utilities/debug
share/ansible/utilities/fail
share/ansible/utilities/fireball
share/ansible/utilities/include_vars
share/ansible/utilities/pause
share/ansible/utilities/set_fact
share/ansible/utilities/wait_for
share/ansible/web_infrastructure/django_manage
share/ansible/web_infrastructure/ejabberd_user
share/ansible/web_infrastructure/htpasswd
share/ansible/web_infrastructure/jboss
share/ansible/web_infrastructure/supervisorctl
share/examples/ansible/ansible.cfg
share/examples/ansible/hosts
share/examples/ansible/playbooks/ansible_pull.yml
share/examples/ansible/playbooks/batch_size_control.yml
share/examples/ansible/playbooks/complex_args.yml
share/examples/ansible/playbooks/conditionals_part1.yml
share/examples/ansible/playbooks/conditionals_part2.yml
share/examples/ansible/playbooks/conditionals_part3.yml
share/examples/ansible/playbooks/custom_filters.yml
share/examples/ansible/playbooks/delegation.yml
share/examples/ansible/playbooks/environment.yml
share/examples/ansible/playbooks/eucalyptus-ec2.yml
share/examples/ansible/playbooks/file_secontext.yml
share/examples/ansible/playbooks/filter_plugins/custom_plugins.py
share/examples/ansible/playbooks/get_url.yml
share/examples/ansible/playbooks/group_by.yml
share/examples/ansible/playbooks/group_commands.yml
share/examples/ansible/playbooks/handlers/handlers.yml
share/examples/ansible/playbooks/intermediate_example.yml
share/examples/ansible/playbooks/intro_example.yml
share/examples/ansible/playbooks/loop_nested.yml
share/examples/ansible/playbooks/loop_plugins.yml
share/examples/ansible/playbooks/loop_with_items.yml
share/examples/ansible/playbooks/mysql.yml
share/examples/ansible/playbooks/nested_playbooks.yml
share/examples/ansible/playbooks/netscaler.yml
share/examples/ansible/playbooks/postgresql.yml
share/examples/ansible/playbooks/prompts.yml
share/examples/ansible/playbooks/rabbitmq.yml
share/examples/ansible/playbooks/register_logic.yml
share/examples/ansible/playbooks/selective_file_sources.yml
share/examples/ansible/playbooks/tags.yml
share/examples/ansible/playbooks/tasks/base.yml
share/examples/ansible/playbooks/templates/custom-filters.j2
share/examples/ansible/playbooks/templates/etc_cron.d_ansible-pull.j2
share/examples/ansible/playbooks/templates/etc_logrotate.d_ansible-pull.j2
share/examples/ansible/playbooks/templates/foo.j2
share/examples/ansible/playbooks/templates/hostvars.j2
share/examples/ansible/playbooks/user_commands.yml
share/examples/ansible/playbooks/vars/CentOS.yml
share/examples/ansible/playbooks/vars/defaults.yml
share/examples/ansible/playbooks/vars/external_vars.yml
share/examples/ansible/playbooks/zfs.yml
@pkgdir etc/ansible

View File

@@ -1,17 +1,13 @@
$NetBSD: distinfo,v 1.4 2013/04/13 17:51:57 riz Exp $
$NetBSD: distinfo,v 1.5 2013/12/02 22:54:46 hubertf Exp $
SHA1 (ansible-1.1.tar.gz) = fa1009e80b624945675bbaba690b895a1ff050fd
RMD160 (ansible-1.1.tar.gz) = 220dd91db3ab0d6df5dec456448e22d436077f3d
Size (ansible-1.1.tar.gz) = 302115 bytes
SHA1 (patch-docs_man_man1_ansible-playbook.1) = 33ce57bccb6cb29e978871a868bf26ca17d87660
SHA1 (patch-docs_man_man1_ansible.1) = 266a520f8f227686cc84b8a3e9b6fac8e20e1247
SHA1 (patch-examples_ansible.cfg) = 631236fadaadfd28d71b7bc7cce33e62691ee407
SHA1 (patch-lib_ansible_callbacks.py) = 607809cf64a676ef91a70b915e97ac87b8ddd31b
SHA1 (patch-lib_ansible_constants.py) = 51171c84680b18a2d1ff2401cc1fd08e009aa83c
SHA1 (patch-library_mysql_db) = 45e782d41c3e2bc9e462441205f894e7089d798a
SHA1 (patch-library_ping) = 6bb9b946df3a44ac938eee7e752bf2149936b8e6
SHA1 (patch-library_pkgin) = 4b57890efa9145c0b2b68c2c75c990618488d824
SHA1 (patch-library_raw) = 897aa5b8e5abadd23adc6de178cbec417c43e540
SHA1 (patch-library_setup) = 7489a5c905916cc1559db15b730a1a93cb782971
SHA1 (patch-library_slurp) = 54a021519554c3eb95daf9396c32d6ec559ddab8
SHA1 (patch-library_virt) = b01c7b2d7cd49ad7720d3a1430d7bba41673d2a6
SHA1 (ansible-1.4.1.tar.gz) = 670fda6b9c4869820d80c6e873604ec759dfa03c
RMD160 (ansible-1.4.1.tar.gz) = c1d2248244d6799e8ea79e5bfb3e96579c066594
Size (ansible-1.4.1.tar.gz) = 571296 bytes
SHA1 (patch-examples_ansible.cfg) = 2a2e3841735df3bddeb6e569e2fdc659ae305053
SHA1 (patch-lib_ansible_callbacks.py) = bbede537853ab35f31727b72cda41835c7700074
SHA1 (patch-lib_ansible_constants.py) = eb9379937555b28f8b0f7932d54042432197c59d
SHA1 (patch-library-system-ping) = 74f4df32948d9a52998420a01f38828dd00c31b6
SHA1 (patch-library_database_riak) = 7efb167fd9a0e2bd9c7ac5fad3b426c1aa6d5272
SHA1 (patch-library_monitoring_nagios) = a677946b5c83bab4c3fa3c8d078b28d8abdd7030
SHA1 (patch-library_packaging_pkgin) = 247f583e3be5cd28462cd274d640ac44652fac50
SHA1 (patch-library_system_setup) = d87259d0585f750b8f7baf43cc4254138bbbcf72

View File

@@ -1,37 +0,0 @@
$NetBSD: patch-docs_man_man1_ansible-playbook.1,v 1.2 2013/04/13 17:51:57 riz Exp $
--- docs/man/man1/ansible-playbook.1.orig 2013-04-13 08:48:00.000000000 -0700
+++ docs/man/man1/ansible-playbook.1 2013-04-13 08:50:25.000000000 -0700
@@ -44,7 +44,7 @@
The
\fIPATH\fR
to the inventory hosts file, which defaults to
-\fI/etc/ansible/hosts\fR\&.
+\fI@PKG_SYSCONFDIR@/ansible/hosts\fR\&.
.RE
.PP
\fB\-M\fR \fIDIRECTORY\fR, \fB\-\-module\-path=\fR\fIDIRECTORY\fR
@@ -52,7 +52,7 @@
The
\fIDIRECTORY\fR
to load modules from\&. The default is
-\fI/usr/share/ansible\fR\&.
+\fI@PREFIX@/share/ansible\fR\&.
.RE
.PP
\fB\-e\fR \fIVARS\fR, \fB\-\-extra\-vars=\fR\fIVARS\fR
@@ -142,11 +142,11 @@
ANSIBLE_LIBRARY \(em Override the default ansible module library path
.SH "FILES"
.sp
-/etc/ansible/hosts \(em Default inventory file
+@PKG_SYSCONFDIR@/ansible/hosts \(em Default inventory file
.sp
-/usr/share/ansible/ \(em Default module library
+@PREFIX@/share/ansible/ \(em Default module library
.sp
-/etc/ansible/ansible\&.cfg \(em Config file, used if present
+@PKG_SYSCONFDIR@/ansible/ansible\&.cfg \(em Config file, used if present
.sp
~/\&.ansible\&.cfg \(em User config file, overrides the default config if present
.SH "AUTHOR"

View File

@@ -1,37 +0,0 @@
$NetBSD: patch-docs_man_man1_ansible.1,v 1.2 2013/04/13 17:51:57 riz Exp $
--- docs/man/man1/ansible.1.orig 2013-04-13 08:53:23.000000000 -0700
+++ docs/man/man1/ansible.1 2013-04-13 08:55:50.000000000 -0700
@@ -44,7 +44,7 @@
The
\fIPATH\fR
to the inventory hosts file, which defaults to
-\fI/etc/ansible/hosts\fR\&.
+\fI@PREFIX@/ansible/hosts\fR\&.
.RE
.PP
\fB\-f\fR \fINUM\fR, \fB\-\-forks=\fR\fINUM\fR
@@ -70,7 +70,7 @@
The
\fIDIRECTORY\fR
to load modules from\&. The default is
-\fI/usr/share/ansible\fR\&.
+\fI@PREFIX@/share/ansible\fR\&.
.RE
.PP
\fB\-a\fR \'\fIARGUMENTS\fR\', \fB\-\-args=\fR\'\fIARGUMENTS\fR\'
@@ -168,11 +168,11 @@
Ranges of hosts are also supported\&. For more information and additional options, see the documentation on http://ansible\&.github\&.com/\&.
.SH "FILES"
.sp
-/etc/ansible/hosts \(em Default inventory file
+@PREFIX@/ansible/hosts \(em Default inventory file
.sp
-/usr/share/ansible/ \(em Default module library
+@PREFIX@/share/ansible/ \(em Default module library
.sp
-/etc/ansible/ansible\&.cfg \(em Config file, used if present
+@PREFIX@/ansible/ansible\&.cfg \(em Config file, used if present
.sp
~/\&.ansible\&.cfg \(em User config file, overrides the default config if present
.SH "ENVIRONMENT"

View File

@@ -1,31 +1,29 @@
$NetBSD: patch-examples_ansible.cfg,v 1.1 2013/02/26 17:42:59 riz Exp $
$NetBSD: patch-examples_ansible.cfg,v 1.2 2013/12/02 22:54:46 hubertf Exp $
--- examples/ansible.cfg.orig 2013-02-25 11:33:44.000000000 -0800
+++ examples/ansible.cfg 2013-02-25 11:36:25.000000000 -0800
@@ -1,16 +1,16 @@
# config file for ansible -- http://ansible.github.com
# nearly all parameters can be overridden in ansible-playbook or with command line flags
-# ansible will read ~/.ansible.cfg or /etc/ansible/ansible.cfg, whichever it finds first
+# ansible will read ~/.ansible.cfg or @PKG_SYSCONFDIR@/ansible/ansible.cfg, whichever it finds first
--- examples/ansible.cfg.orig 2013-11-19 19:12:32.000000000 +0000
+++ examples/ansible.cfg
@@ -4,14 +4,14 @@
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ~/.ansible.cfg,
# ansible.cfg in the current working directory or
-# /etc/ansible/ansible.cfg, whichever it finds first
+# @PKG_SYSCONFDIR@/ansible/ansible.cfg, whichever it finds first
[defaults]
# location of inventory file, eliminates need to specify -i
# some basic default values...
-hostfile = /etc/ansible/hosts
+hostfile = @PKG_SYSCONFDIR@/ansible/hosts
# location of ansible library, eliminates need to specify --module-path
-library = /usr/share/ansible
+library = @PREFIX@/share/ansible
# default module name used in /usr/bin/ansible when -m is not specified
@@ -104,12 +104,12 @@
# additional plugin paths for non-core plugins
-hostfile = /etc/ansible/hosts
-library = /usr/share/ansible
+hostfile = @PKG_SYSCONFDIR@/ansible/hosts
+library = @PREFIX@/share/ansible
remote_tmp = $HOME/.ansible/tmp
pattern = *
forks = 5
@@ -87,12 +87,12 @@ ansible_managed = Ansible managed: {file
#error_on_undefined_vars = False
# set plugin path directories here, seperate with colons
-action_plugins = /usr/share/ansible_plugins/action_plugins
-callback_plugins = /usr/share/ansible_plugins/callback_plugins
-connection_plugins = /usr/share/ansible_plugins/connection_plugins
@@ -39,5 +37,5 @@ $NetBSD: patch-examples_ansible.cfg,v 1.1 2013/02/26 17:42:59 riz Exp $
+vars_plugins = @PREFIX@/share/ansible_plugins/vars_plugins
+filter_plugins = @PREFIX@/share/ansible_plugins/filter_plugins
[paramiko_connection]
# don't like cows? that's unfortunate.
# set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1

View File

@@ -1,16 +1,16 @@
$NetBSD: patch-lib_ansible_callbacks.py,v 1.2 2013/04/13 17:51:57 riz Exp $
$NetBSD: patch-lib_ansible_callbacks.py,v 1.3 2013/12/02 22:54:46 hubertf Exp $
--- lib/ansible/callbacks.py.orig 2013-03-30 16:29:28.000000000 -0700
+++ lib/ansible/callbacks.py 2013-04-13 09:05:36.000000000 -0700
@@ -30,9 +30,9 @@
cowsay = "/usr/bin/cowsay"
elif os.path.exists("/usr/games/cowsay"):
cowsay = "/usr/games/cowsay"
-elif os.path.exists("/usr/local/bin/cowsay"):
+elif os.path.exists("@LOCALBASE@/bin/cowsay"):
# BSD path for cowsay
- cowsay = "/usr/local/bin/cowsay"
+ cowsay = "@LOCALBASE@/bin/cowsay"
elif os.path.exists("/opt/local/bin/cowsay"):
# MacPorts path for cowsay
cowsay = "/opt/local/bin/cowsay"
--- lib/ansible/callbacks.py.orig 2013-11-19 19:12:32.000000000 +0000
+++ lib/ansible/callbacks.py
@@ -55,9 +55,9 @@ def get_cowsay_info():
cowsay = "/usr/bin/cowsay"
elif os.path.exists("/usr/games/cowsay"):
cowsay = "/usr/games/cowsay"
- elif os.path.exists("/usr/local/bin/cowsay"):
+ elif os.path.exists("@LOCALBASE@/bin/cowsay"):
# BSD path for cowsay
- cowsay = "/usr/local/bin/cowsay"
+ cowsay = "@LOCALBASE@/bin/cowsay"
elif os.path.exists("/opt/local/bin/cowsay"):
# MacPorts path for cowsay
cowsay = "/opt/local/bin/cowsay"

View File

@@ -1,48 +1,50 @@
$NetBSD: patch-lib_ansible_constants.py,v 1.3 2013/04/13 17:51:57 riz Exp $
$NetBSD: patch-lib_ansible_constants.py,v 1.4 2013/12/02 22:54:46 hubertf Exp $
--- lib/ansible/constants.py.orig 2013-03-04 13:18:12.000000000 -0800
+++ lib/ansible/constants.py 2013-04-13 09:48:31.000000000 -0700
@@ -36,7 +36,7 @@
--- lib/ansible/constants.py.orig 2013-11-19 19:12:32.000000000 +0000
+++ lib/ansible/constants.py
@@ -59,7 +59,7 @@ def load_config_file():
p = ConfigParser.ConfigParser()
path1 = os.path.expanduser(os.environ.get('ANSIBLE_CONFIG', "~/.ansible.cfg"))
path2 = os.getcwd() + "/ansible.cfg"
path1 = os.getcwd() + "/ansible.cfg"
path2 = os.path.expanduser(os.environ.get('ANSIBLE_CONFIG', "~/.ansible.cfg"))
- path3 = "/etc/ansible/ansible.cfg"
+ path3 = "@PKG_SYSCONFDIR@/ansible/ansible.cfg"
if os.path.exists(path1):
p.read(path1)
@@ -64,13 +64,13 @@
if getattr(sys, "real_prefix", None):
@@ -88,7 +88,7 @@ if getattr(sys, "real_prefix", None):
# in a virtualenv
DIST_MODULE_PATH = os.path.join(sys.prefix, 'share/ansible/')
else:
- DIST_MODULE_PATH = '/usr/share/ansible/'
+ DIST_MODULE_PATH = '@PREFIX@/share/ansible/'
+ DIST_MODULE_PATH = '@PREFIX@/share/ansible/'
# sections in config file
# check all of these extensions when looking for yaml files for things like
# group variables
@@ -98,7 +98,7 @@ YAML_FILENAME_EXTENSIONS = [ "", ".yml",
DEFAULTS='defaults'
# configurable things
-DEFAULT_HOST_LIST = shell_expand_path(get_config(p, DEFAULTS, 'hostfile', 'ANSIBLE_HOSTS', '/etc/ansible/hosts'))
+DEFAULT_HOST_LIST = shell_expand_path(get_config(p, DEFAULTS, 'hostfile', 'ANSIBLE_HOSTS', '@PKG_SYSCONFDIR@/ansible/hosts'))
DEFAULT_MODULE_PATH = shell_expand_path(get_config(p, DEFAULTS, 'library', 'ANSIBLE_LIBRARY', DIST_MODULE_PATH))
-DEFAULT_HOST_LIST = shell_expand_path(get_config(p, DEFAULTS, 'hostfile', 'ANSIBLE_HOSTS', '/etc/ansible/hosts'))
+DEFAULT_HOST_LIST = shell_expand_path(get_config(p, DEFAULTS, 'hostfile', 'ANSIBLE_HOSTS', '@PKG_SYSCONFDIR@/ansible/hosts'))
DEFAULT_MODULE_PATH = get_config(p, DEFAULTS, 'library', 'ANSIBLE_LIBRARY', DIST_MODULE_PATH)
DEFAULT_ROLES_PATH = get_config(p, DEFAULTS, 'roles_path', 'ANSIBLE_ROLES_PATH', None)
DEFAULT_REMOTE_TMP = shell_expand_path(get_config(p, DEFAULTS, 'remote_tmp', 'ANSIBLE_REMOTE_TEMP', '$HOME/.ansible/tmp'))
DEFAULT_MODULE_NAME = get_config(p, DEFAULTS, 'module_name', None, 'command')
@@ -96,12 +96,12 @@
DEFAULT_HASH_BEHAVIOUR = get_config(p, DEFAULTS, 'hash_behaviour', 'ANSIBLE_HASH_BEHAVIOUR', 'replace')
@@ -128,12 +128,12 @@ DEFAULT_LEGACY_PLAYBOOK_VARIABLES = get_
DEFAULT_JINJA2_EXTENSIONS = get_config(p, DEFAULTS, 'jinja2_extensions', 'ANSIBLE_JINJA2_EXTENSIONS', None)
DEFAULT_EXECUTABLE = get_config(p, DEFAULTS, 'executable', 'ANSIBLE_EXECUTABLE', '/bin/sh')
-DEFAULT_ACTION_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'action_plugins', 'ANSIBLE_ACTION_PLUGINS', '/usr/share/ansible_plugins/action_plugins'))
-DEFAULT_CALLBACK_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'callback_plugins', 'ANSIBLE_CALLBACK_PLUGINS', '/usr/share/ansible_plugins/callback_plugins'))
-DEFAULT_CONNECTION_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'connection_plugins', 'ANSIBLE_CONNECTION_PLUGINS', '/usr/share/ansible_plugins/connection_plugins'))
-DEFAULT_LOOKUP_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'lookup_plugins', 'ANSIBLE_LOOKUP_PLUGINS', '/usr/share/ansible_plugins/lookup_plugins'))
-DEFAULT_VARS_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'vars_plugins', 'ANSIBLE_VARS_PLUGINS', '/usr/share/ansible_plugins/vars_plugins'))
-DEFAULT_FILTER_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'filter_plugins', 'ANSIBLE_FILTER_PLUGINS', '/usr/share/ansible_plugins/filter_plugins'))
+DEFAULT_ACTION_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'action_plugins', 'ANSIBLE_ACTION_PLUGINS', '@PREFIX@/share/ansible_plugins/action_plugins'))
+DEFAULT_CALLBACK_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'callback_plugins', 'ANSIBLE_CALLBACK_PLUGINS', '@PREFIX@/share/ansible_plugins/callback_plugins'))
+DEFAULT_CONNECTION_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'connection_plugins', 'ANSIBLE_CONNECTION_PLUGINS', '@PREFIX@/share/ansible_plugins/connection_plugins'))
+DEFAULT_LOOKUP_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'lookup_plugins', 'ANSIBLE_LOOKUP_PLUGINS', '@PREFIX@/share/ansible_plugins/lookup_plugins'))
+DEFAULT_VARS_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'vars_plugins', 'ANSIBLE_VARS_PLUGINS', '@PREFIX@/share/ansible_plugins/vars_plugins'))
+DEFAULT_FILTER_PLUGIN_PATH = shell_expand_path(get_config(p, DEFAULTS, 'filter_plugins', 'ANSIBLE_FILTER_PLUGINS', '@PREFIX@/share/ansible_plugins/filter_plugins'))
-DEFAULT_ACTION_PLUGIN_PATH = get_config(p, DEFAULTS, 'action_plugins', 'ANSIBLE_ACTION_PLUGINS', '/usr/share/ansible_plugins/action_plugins')
-DEFAULT_CALLBACK_PLUGIN_PATH = get_config(p, DEFAULTS, 'callback_plugins', 'ANSIBLE_CALLBACK_PLUGINS', '/usr/share/ansible_plugins/callback_plugins')
-DEFAULT_CONNECTION_PLUGIN_PATH = get_config(p, DEFAULTS, 'connection_plugins', 'ANSIBLE_CONNECTION_PLUGINS', '/usr/share/ansible_plugins/connection_plugins')
-DEFAULT_LOOKUP_PLUGIN_PATH = get_config(p, DEFAULTS, 'lookup_plugins', 'ANSIBLE_LOOKUP_PLUGINS', '/usr/share/ansible_plugins/lookup_plugins')
-DEFAULT_VARS_PLUGIN_PATH = get_config(p, DEFAULTS, 'vars_plugins', 'ANSIBLE_VARS_PLUGINS', '/usr/share/ansible_plugins/vars_plugins')
-DEFAULT_FILTER_PLUGIN_PATH = get_config(p, DEFAULTS, 'filter_plugins', 'ANSIBLE_FILTER_PLUGINS', '/usr/share/ansible_plugins/filter_plugins')
+DEFAULT_ACTION_PLUGIN_PATH = get_config(p, DEFAULTS, 'action_plugins', 'ANSIBLE_ACTION_PLUGINS', '@PREFIX@/share/ansible_plugins/action_plugins')
+DEFAULT_CALLBACK_PLUGIN_PATH = get_config(p, DEFAULTS, 'callback_plugins', 'ANSIBLE_CALLBACK_PLUGINS', '@PREFIX@/share/ansible_plugins/callback_plugins')
+DEFAULT_CONNECTION_PLUGIN_PATH = get_config(p, DEFAULTS, 'connection_plugins', 'ANSIBLE_CONNECTION_PLUGINS', '@PREFIX@/share/ansible_plugins/connection_plugins')
+DEFAULT_LOOKUP_PLUGIN_PATH = get_config(p, DEFAULTS, 'lookup_plugins', 'ANSIBLE_LOOKUP_PLUGINS', '@PREFIX@/share/ansible_plugins/lookup_plugins')
+DEFAULT_VARS_PLUGIN_PATH = get_config(p, DEFAULTS, 'vars_plugins', 'ANSIBLE_VARS_PLUGINS', '@PREFIX@/share/ansible_plugins/vars_plugins')
+DEFAULT_FILTER_PLUGIN_PATH = get_config(p, DEFAULTS, 'filter_plugins', 'ANSIBLE_FILTER_PLUGINS', '@PREFIX@/share/ansible_plugins/filter_plugins')
DEFAULT_LOG_PATH = shell_expand_path(get_config(p, DEFAULTS, 'log_path', 'ANSIBLE_LOG_PATH', ''))
# non-configurable things
DEFAULT_SUDO_PASS = None
ANSIBLE_NOCOLOR = get_config(p, DEFAULTS, 'nocolor', 'ANSIBLE_NOCOLOR', None, boolean=True)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-library-system-ping,v 1.1 2013/12/02 22:54:46 hubertf Exp $
--- library/system/ping.orig 2013-11-19 19:12:32.000000000 +0000
+++ library/system/ping
@@ -27,7 +27,7 @@ short_description: Try to connect to hos
description:
- A trivial test module, this module always returns C(pong) on successful
contact. It does not make sense in playbooks, but it is useful from
- C(/usr/bin/ansible)
+ C(@PREFIX@/ansible)
options: {}
author: Michael DeHaan
'''

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-library_database_riak,v 1.1 2013/12/02 22:54:46 hubertf Exp $
--- library/database/riak.orig 2013-09-13 20:37:23.000000000 +0000
+++ library/database/riak
@@ -110,7 +110,7 @@ def main():
argument_spec=dict(
command=dict(required=False, default=None, choices=[
'ping', 'kv_test', 'join', 'plan', 'commit']),
- config_dir=dict(default='/etc/riak'),
+ config_dir=dict(default='@PKG_SYSCONFDIR@/riak'),
http_conn=dict(required=False, default='127.0.0.1:8098'),
target_node=dict(default='riak@127.0.0.1', required=False),
wait_for_handoffs=dict(default=False, type='int'),

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-library_monitoring_nagios,v 1.1 2013/12/02 22:54:46 hubertf Exp $
--- library/monitoring/nagios.orig 2013-08-22 02:50:24.000000000 +0000
+++ library/monitoring/nagios
@@ -125,6 +125,8 @@ import os.path
def which_cmdfile():
locations = [
+ # pkgsrc - any OS
+ '@PKG_SYSCONFDIR@/nagios/nagios.cfg',
# rhel
'/etc/nagios/nagios.cfg',
# debian
@@ -132,7 +134,7 @@ def which_cmdfile():
# older debian
'/etc/nagios2/nagios.cfg',
# bsd, solaris
- '/usr/local/etc/nagios/nagios.cfg',
+ '/etc/nagios/nagios.cfg',
# groundwork it monitoring
'/usr/local/groundwork/nagios/etc/nagios.cfg',
# open monitoring distribution
@@ -142,6 +144,8 @@ def which_cmdfile():
'/usr/local/nagios/nagios.cfg',
'/opt/nagios/etc/nagios.cfg',
'/opt/nagios/nagios.cfg',
+ # pkgsrc - any OS
+ '@PKG_SYSCONFDIR@/icinga/icinga.cfg',
# icinga on debian/ubuntu
'/etc/icinga/icinga.cfg',
# icinga installed from source (default location)

View File

@@ -1,20 +0,0 @@
$NetBSD: patch-library_mysql_db,v 1.2 2013/04/13 17:51:57 riz Exp $
--- library/mysql_db.orig 2013-03-30 16:29:28.000000000 -0700
+++ library/mysql_db 2013-04-13 09:13:23.000000000 -0700
@@ -109,13 +109,13 @@
return True
def db_dump(host, user, password, db_name, target):
- res = os.system("/usr/bin/mysqldump -q -h "+host+"-u "+user+ " -p"+password+" "
+ res = os.system("@LOCALBASE@/bin/mysqldump -q -h "+host+"-u "+user+ " -p"+password+" "
+db_name+" > "
+target)
return (res == 0)
def db_import(host, user, password, db_name, target):
- res = os.system("/usr/bin/mysql -h "+host+" -u "+user+ " -p"+password+" "
+ res = os.system("@LOCALBASE@/bin/mysql -h "+host+" -u "+user+ " -p"+password+" "
+db_name+" < "
+target)
return (res == 0)

View File

@@ -1,8 +1,8 @@
$NetBSD: patch-library_pkgin,v 1.2 2013/04/13 17:51:57 riz Exp $
$NetBSD: patch-library_packaging_pkgin,v 1.1 2013/12/02 22:54:46 hubertf Exp $
--- library/pkgin.orig 2013-03-30 16:29:28.000000000 -0700
+++ library/pkgin 2013-04-13 09:36:29.000000000 -0700
@@ -118,7 +118,7 @@
--- library//packaging/pkgin.orig 2013-08-22 02:50:24.000000000 +0000
+++ library//packaging/pkgin
@@ -150,7 +150,7 @@ def main():
state = dict(default="present", choices=["present","absent"]),
name = dict(aliases=["pkg"], required=True)))

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-library_ping,v 1.1 2013/02/26 00:13:00 hubertf Exp $
--- library/ping.orig 2012-11-23 15:56:11.000000000 +0000
+++ library/ping
@@ -26,7 +26,7 @@ short_description: Try to connect to hos
description:
- A trivial test module, this module always returns C(pong) on successful
contact. It does not make sense in playbooks, but it is useful from
- C(/usr/bin/ansible)
+ C(@LOCALBASE@/bin/ansible)
options: {}
examples:
- code: ansible webservers -m ping

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-library_raw,v 1.1 2013/02/26 00:13:00 hubertf Exp $
--- library/raw.orig 2013-01-20 14:03:36.000000000 +0000
+++ library/raw
@@ -28,7 +28,7 @@ description:
- This module does not require python on the remote system, much like
the M(script) module.
examples:
- - description: Example from C(/usr/bin/ansible) to bootstrap a legacy python 2.4 host
+ - description: Example from C(@LOCALBASE@/bin/ansible) to bootstrap a legacy python 2.4 host
code: "action: raw yum -y install python-simplejson"
notes:
- If you want to execute a command securely and predictably, it may be

View File

@@ -1,44 +0,0 @@
$NetBSD: patch-library_setup,v 1.2 2013/04/13 17:51:57 riz Exp $
--- library/setup.orig 2013-04-02 17:33:54.000000000 -0700
+++ library/setup 2013-04-13 09:39:00.000000000 -0700
@@ -43,7 +43,7 @@
description:
- This module is automatically called by playbooks to gather useful
variables about remote hosts that can be used in playbooks. It can also be
- executed directly by C(/usr/bin/ansible) to check what variables are
+ executed directly by C(@LOCALBASE@/bin/ansible) to check what variables are
available to a host. Ansible provides many I(facts) about the system,
automatically.
notes:
@@ -111,7 +111,7 @@
{ 'path' : '/usr/bin/zypper', 'name' : 'zypper' },
{ 'path' : '/usr/bin/pacman', 'name' : 'pacman' },
{ 'path' : '/bin/opkg', 'name' : 'opkg' },
- { 'path' : '/opt/local/bin/pkgin', 'name' : 'pkgin' },
+ { 'path' : '@LOCALBASE@/bin/pkgin', 'name' : 'pkgin' },
{ 'path' : '/opt/local/bin/port', 'name' : 'macports' },
{ 'path' : '/sbin/apk', 'name' : 'apk' },
]
@@ -1531,8 +1531,8 @@
# if facter is installed, and we can use --json because
# ruby-json is ALSO installed, include facter data in the JSON
- if os.path.exists("/usr/bin/facter"):
- rc, out, err = module.run_command("/usr/bin/facter --json")
+ if os.path.exists("@LOCALBASE@/bin/facter"):
+ rc, out, err = module.run_command("@LOCALBASE@/bin/facter --json")
facter = True
try:
facter_ds = json.loads(out)
@@ -1546,8 +1546,8 @@
# because it contains a lot of nested stuff we can't use for
# templating w/o making a nicer key for it (TODO)
- if os.path.exists("/usr/bin/ohai"):
- rc, out, err = module.run_command("/usr/bin/ohai")
+ if os.path.exists("@LOCALBASE@/bin/ohai"):
+ rc, out, err = module.run_command("@LOCALBASE@/bin/ohai")
ohai = True
try:
ohai_ds = json.loads(out)

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-library_slurp,v 1.1 2013/02/26 00:13:00 hubertf Exp $
--- library/slurp.orig 2012-11-23 15:56:11.000000000 +0000
+++ library/slurp
@@ -40,7 +40,7 @@ examples:
"content": "aGVsbG8gQW5zaWJsZSB3b3JsZAo=",
"encoding": "base64"
}
- description: "Example using C(/usr/bin/ansible)"
+ description: "Example using C(@LOCALBASE@/bin/ansible)"
notes:
- "See also: M(fetch)"
requirements: []

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-library_system_setup,v 1.1 2013/12/02 22:54:46 hubertf Exp $
--- library/system/setup.orig 2013-11-19 19:12:32.000000000 +0000
+++ library/system/setup
@@ -58,7 +58,7 @@ options:
description:
- This module is automatically called by playbooks to gather useful
variables about remote hosts that can be used in playbooks. It can also be
- executed directly by C(/usr/bin/ansible) to check what variables are
+ executed directly by C(@LOCALBASE@/bin/ansible) to check what variables are
available to a host. Ansible provides many I(facts) about the system,
automatically.
notes:
@@ -129,7 +129,7 @@ class Facts(object):
{ 'path' : '/usr/sbin/urpmi', 'name' : 'urpmi' },
{ 'path' : '/usr/bin/pacman', 'name' : 'pacman' },
{ 'path' : '/bin/opkg', 'name' : 'opkg' },
- { 'path' : '/opt/local/bin/pkgin', 'name' : 'pkgin' },
+ { 'path' : '@LOCALBASE@/bin/pkgin', 'name' : 'pkgin' },
{ 'path' : '/opt/local/bin/port', 'name' : 'macports' },
{ 'path' : '/sbin/apk', 'name' : 'apk' },
{ 'path' : '/usr/sbin/pkg', 'name' : 'pkgng' },

View File

@@ -1,16 +0,0 @@
$NetBSD: patch-library_virt,v 1.2 2013/04/13 17:51:58 riz Exp $
--- library/virt.orig 2013-04-02 17:33:54.000000000 -0700
+++ library/virt 2013-04-13 09:41:16.000000000 -0700
@@ -48,9 +48,9 @@
- code: "virt: name=alpha state=running"
description: "Example from Ansible Playbooks"
- code: ansible host -m virt -a "name=alpha command=status"
- description: "Example guest management with C(/usr/bin/ansible)"
+ description: "Example guest management with C(@LOCALBASE@/bin/ansible)"
- code: ansible host -m virt -a "name=alpha command=get_xml"
- description: "Use C(/usr/bin/ansible) to get the xml of the guest machine alpha"
+ description: "Use C(@LOCALBASE@/bin/ansible) to get the xml of the guest machine alpha"
requirements: [ "libvirt" ]
author: Michael DeHaan, Seth Vidal
'''

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.74 2013/06/04 22:17:03 tron Exp $
# $NetBSD: Makefile,v 1.76 2013/12/11 11:55:17 jperkin Exp $
DISTNAME= apcupsd-3.14.9
PKGREVISION= 8
PKGREVISION= 9
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
@@ -116,4 +116,5 @@ post-install:
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.15 2012/01/22 09:07:50 shattered Exp $
@comment $NetBSD: PLIST,v 1.16 2014/03/11 14:05:14 jperkin Exp $
${PLIST.cgi}libexec/cgi-bin/upsstats.cgi
${PLIST.cgi}libexec/cgi-bin/upsfstats.cgi
${PLIST.cgi}libexec/cgi-bin/apcupsimage.cgi
@@ -41,4 +41,3 @@ share/examples/apcupsd/hosts.conf
share/examples/apcupsd/multimon.conf
share/examples/apcupsd/offbattery
share/examples/apcupsd/onbattery
share/examples/rc.d/apcupsd

View File

@@ -1,16 +0,0 @@
This module was originally written to help work around the security
feature of NetBSD that prevents read/write access to /dev/mem. It also
provide Pentium II and AMD K6 MTRR control in order to control
write-combining to the framebuffer memory.
XFree86 can take advantage of having direct access to video
memory (especially with VLB and PCI cards) and even requires it for
the most recent PCI or AGP video boards.
This driver works like the standard /dev/mem driver. It just allows
mapping of the VGA framebuffer and BIOS even if kernel security level
is > 0. The driver only implements the open(), close(), ioctl() and
mmap() calls. In order not to defeat kernel security, only one open()
at a time is allowed and only a process with effective user id of 0 can
perform it. So while you're running XFree86, no other process will be
allowed to open /dev/xf86.

View File

@@ -1,30 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2006/03/07 23:14:39 christos Exp $
Add the following line to /etc/lkm.conf:
${PREFIX}/lkm/xf86.o - - ${PREFIX}/lkm/xf86_mod_install - AFTERMOUNT
and set:
lkm=YES
in /etc/rc.conf. Then, /etc/rc.d/lkm3 restart
**************************
**** SECURITY WARNING ****
**************************
Please note that use of this driver only raises the bar somewhat
on breaking the securelevel abstraction. Loading this driver provides
the opening process with access to various things that can write
anywhere in memory (such as DMA engines, frame-buffer paint engines,
SMM). While one has to write a little more code to aim these memory
writers at the securelevel variable in kernel memory, it is not really
difficult to do so. Finally the fact that only one process can have
/dev/xf86 open at a time does not win much since root can kill it
at anytime and start another process. This exploit has to do with
root being able to change the security level and do things it could
not do before.
===========================================================================

View File

@@ -1,44 +0,0 @@
# $NetBSD: Makefile,v 1.38 2012/08/14 17:07:58 asau Exp $
DISTNAME= apNetBSD
PKGNAME= aperture-2.0
PKGREVISION= 7
CATEGORIES= sysutils x11
EXTRACT_SUFX= .shar
MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}nb1/}
# The definitive location of the distfile is as below, but it's risky to depend
# on NetBSD-current files to stay stable, so don't we'll place new copies at
# MASTER_SITE_LOCAL and update this package accordingly.
#
#MASTER_SITES+= ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-current/xsrc/xfree/xc/programs/Xserver/hw/xfree86/etc/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= XFree86 Framebuffer "aperture" driver for NetBSD/i386
ONLY_FOR_PLATFORM= NetBSD-*-i386
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
PKG_DESTDIR_SUPPORT= none
WRKSRC= ${WRKDIR}
BUILD_TARGET= cleandir depend all
DIST_SUBDIR= ${PKGNAME_NOREV}nb5
INSTALL_TARGET= dirs includes install
MANCOMPRESSED_IF_MANZ= YES
NO_CONFIGURE= YES
OSVERSION_SPECIFIC= YES
MAKE_ENV+= BSDSRCDIR=${BSDSRCDIR:Q}
.include "../../mk/bsd.prefs.mk"
pre-extract:
.if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h)
@${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys."
@${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)"
@${FALSE}
.endif
.include "../../mk/bsd.pkg.mk"
LDFLAGS= # empty since we use BSD-style makefiles

View File

@@ -1,11 +0,0 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:16:00 joerg Exp $
bin/memconfig
bin/xf86test
include/memrange.h
lkm/xf86.o
lkm/xf86_mod_install
@unexec ${RM} -f %D/lkm/xf86
man/cat4/xf86.0
man/cat8/memconfig.0
man/man4/xf86.4
man/man8/memconfig.8

View File

@@ -1,12 +0,0 @@
$NetBSD: distinfo,v 1.13 2006/05/31 02:31:56 tron Exp $
SHA1 (aperture-2.0nb5/apNetBSD.shar) = 66022d35f41df667bbc9ad86a8f2ded292e1098b
RMD160 (aperture-2.0nb5/apNetBSD.shar) = 74739d4d0a5d21d5098c3fab000ad4d622137895
Size (aperture-2.0nb5/apNetBSD.shar) = 66731 bytes
SHA1 (patch-aa) = 544d71b6524b7aaeb5deb985372599f1962af4fe
SHA1 (patch-ab) = fc3f65e9b9bc94880dc18e2091d7daccd3d480ad
SHA1 (patch-ac) = 676b2f426d6f9e725262342e0d7e9ac1c8418362
SHA1 (patch-ad) = bb3ae5f5c5f227d7d95ee68cb06e9f05157e3c5d
SHA1 (patch-ae) = b6ae1d888db3a0cbefd7088a7acf7ca881fdc767
SHA1 (patch-af) = 475c127658ba1050154a7dcabe39482c088e2d02
SHA1 (patch-ag) = cc4d08404f5fcd4fc01b1c711984506408e930bc

View File

@@ -1,15 +0,0 @@
$NetBSD: patch-aa,v 1.2 2001/01/17 23:57:53 jlam Exp $
--- Makefile.inc.orig Fri Jan 12 14:09:51 2001
+++ Makefile.inc
@@ -3,8 +3,9 @@
# NetBSDApertureDir variable in xc/config/cf/host.def before rebuilding
# the X server
-APDIR= /usr/local/aperture
+APDIR= ${PREFIX}
+S= ${BSDSRCDIR}/sys
KMODDIR= ${APDIR}/lkm
BINDIR= ${APDIR}/bin
MANDIR= ${APDIR}/man

View File

@@ -1,54 +0,0 @@
$NetBSD: patch-ab,v 1.7 2003/11/11 13:00:24 wennmach Exp $
o add support for cpu_info (for recent kernel versions)
o do not define cpu_id, cpu_feature, cpu_vendor directly; leave that
to machine/cpu.h
--- module/xf86_mod.c.orig Fri Nov 7 16:29:19 2003
+++ module/xf86_mod.c Fri Nov 7 16:36:27 2003
@@ -10,6 +10,7 @@
#include <sys/lkm.h>
#include <sys/malloc.h>
+#include <machine/cpu.h>
#include <machine/specialreg.h>
#include "xf86_reg.h"
@@ -17,9 +18,11 @@
#include "memrange.h"
/* Pull in the cpuid values from locore.s */
-extern int cpu_id;
-extern int cpu_feature;
-extern char cpu_vendor[];
+#if __NetBSD_Version__ >= 106080000
+extern struct cpu_info cpu_info_primary;
+#define cpu_vendor ((char *)cpu_info_primary.ci_vendor)
+#define cpu_id cpu_info_primary.ci_signature
+#endif
extern struct mem_range_ops i686_mrops, k6_mrops;
@@ -31,7 +34,11 @@
0,
seltrue, xf86mmap, 0};
+#if __NetBSD_Version__ >= 106080000
+MOD_DEV("xf86", "xf86ap", NULL, -1, &newdev, -1)
+#else
MOD_DEV("xf86", LM_DT_CHAR, -1, &newdev)
+#endif
char *xf86_major_version = "2";
char *xf86_minor_version = "0";
@@ -76,7 +83,10 @@
case LKM_E_UNLOAD:
/* Free allocated memory */
+ if (mem_range_softc.mr_desc != NULL) {
free(mem_range_softc.mr_desc, M_MEMDESC);
+ mem_range_softc.mr_desc = NULL;
+ }
break;
case LKM_E_STAT:

View File

@@ -1,15 +0,0 @@
$NetBSD: patch-ac,v 1.3 2002/09/14 08:14:22 tron Exp $
--- module/xf86_mod_install.orig Fri Sep 13 18:29:17 2002
+++ module/xf86_mod_install Fri Sep 13 18:34:52 2002
@@ -4,8 +4,8 @@
#
# Copyright (C) 1994,1999 The XFree86 Project Inc.
#
-if [ $# -ne 3 ]; then
- echo "$0: should be called by modload(8) with 3 arguments"
+if [ $# -lt 3 ]; then
+ echo "$0: should be called by modload(8) with at least 3 arguments"
exit 1
fi

View File

@@ -1,157 +0,0 @@
$NetBSD: patch-ad,v 1.9 2006/05/31 02:31:56 tron Exp $
--- module/aperture.c.orig 2006-05-31 03:22:31.000000000 +0100
+++ module/aperture.c 2006-05-31 03:29:49.000000000 +0100
@@ -71,6 +71,14 @@
/* open counter */
static int xf86_open_count = 0;
+#if !defined(__NetBSD_Version__) || __NetBSD_Version__ < 399001400
+#define PROC
+#endif
+
+#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 399002000
+#include <sys/kauth.h>
+#endif
+
/* mem range descriptors */
struct mem_range_softc mem_range_softc;
@@ -78,16 +86,28 @@
* Open the device
*/
int
-xf86open(dev, oflags, devtype, p)
- dev_t dev;
- int oflags;
- int devtype;
- struct proc *p;
+xf86open(dev_t dev, int oflags, int devtype,
+#ifdef PROC
+ struct proc *p)
{
+#else
+ struct lwp *l)
+{
+ struct proc *p = l->l_proc;
+#endif
+#if !defined(__NetBSD_Version__) || __NetBSD_Version__ < 399002000
if (suser(p->p_ucred, &p->p_acflag) != 0) {
return(EPERM);
}
+#else
+ int error;
+
+ error = kauth_authorize_generic(p->p_cred, KAUTH_GENERIC_ISSUSER,
+ &p->p_acflag);
+ if (error != 0)
+ return error;
+#endif
/* authorize only one simultaneous open() */
if (xf86_open_count > 0) {
return(EPERM);
@@ -101,11 +121,13 @@
* Close the device
*/
int
-xf86close(dev, cflags, devtype, p)
- dev_t dev;
- int cflags;
- int devtype;
- struct proc *p;
+xf86close(dev_t dev, int cflags, int devtype,
+#ifdef PROC
+ struct proc *p
+#else
+ struct lwp *l
+#endif
+)
{
xf86_open_count--;
return(0);
@@ -117,19 +139,22 @@
* allow only section in the vga framebuffer and above main memory
* to be mapped
*/
+/*
+ * Technically, the change to the kernel mmap interface happened
+ * during 1.5A, but after the interface changed, the kernel version
+ * was inexplicably not bumped. Starting with 1.5B _and_ with the
+ * 1.5-branch releases, the change to the kernel mmap interface
+ * appears.
+ */
#if !defined(__NetBSD_Version__) || \
- (defined(__NetBSD_Version__) && (__NetBSD_Version__ < 105000000))
+ (defined(__NetBSD_Version__) && \
+ ((__NetBSD_Version__ < 105000000) || \
+ (__NetBSD_Version__ >= 105010000) && (__NetBSD_Version__ < 105020000)))
int
-xf86mmap(dev, offset, length)
- dev_t dev;
- int offset;
- int length;
+xf86mmap(dev_t dev, int offset, int length)
#else
paddr_t
-xf86mmap(dev, offset, length)
- dev_t dev;
- off_t offset;
- int length;
+xf86mmap(dev_t dev, off_t offset, int length)
#endif /* __NetBSD_Version__ */
{
@@ -144,19 +169,24 @@
&& (unsigned)offset <= HOLE16M_END)
#endif
)) {
+#if __NetBSD_Version__ >= 106160000
+ return x86_btop(offset);
+#else
return i386_btop(offset);
+#endif
} else {
return(-1);
}
}
int
-xf86ioctl(dev, cmd, data, flags, p)
- dev_t dev;
- u_long cmd;
- caddr_t data;
- int flags;
- struct proc *p;
+xf86ioctl(dev_t dev, u_long cmd, caddr_t data, int flags,
+#ifdef PROC
+ struct proc *p
+#else
+ struct lwp *l
+#endif
+)
{
int nd, error = 0;
struct mem_range_op *mo = (struct mem_range_op *)data;
@@ -212,9 +242,7 @@
* memory range attributes.
*/
int
-mem_range_attr_get(mrd, arg)
- struct mem_range_desc *mrd;
- int *arg;
+mem_range_attr_get(struct mem_range_desc *mrd, int *arg)
{
/* can we handle this? */
if (mem_range_softc.mr_op == NULL)
@@ -229,9 +257,7 @@
}
int
-mem_range_attr_set(mrd, arg)
- struct mem_range_desc *mrd;
- int *arg;
+mem_range_attr_set(struct mem_range_desc *mrd, int *arg)
{
/* can we handle this? */
if (mem_range_softc.mr_op == NULL)

View File

@@ -1,22 +0,0 @@
$NetBSD: patch-ae,v 1.1 2000/07/15 06:11:20 jlam Exp $
--- memconfig/memconfig.c.orig Sat Jul 15 01:35:01 2000
+++ memconfig/memconfig.c Sat Jul 15 02:07:45 2000
@@ -34,7 +34,17 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+/*
+ * This doesn't work if your kernel sources are too divergent from your
+ * installed headers. Just declare the prototypes for getopt() directly.
+ */
+#if 0
#include <unistd.h>
+#else
+int getopt(int, char * const [], const char *);
+extern char *optarg;
+extern int optind;
+#endif
#include "memrange.h"

View File

@@ -1,13 +0,0 @@
$NetBSD: patch-af,v 1.1 2001/01/17 23:57:53 jlam Exp $
--- module/k6_mem.c.orig Wed Jan 17 12:36:06 2001
+++ module/k6_mem.c
@@ -89,7 +89,7 @@
return EOPNOTSUPP;
for (bit = ffs(desc->mr_len >> 17) - 1; bit < 15; bit++)
- len |= 1 << (14 - bit);
+ len |= 1 << bit;
wc = (desc->mr_flags & MDF_WRITECOMBINE) ? 1 : 0;
uc = (desc->mr_flags & MDF_UNCACHEABLE) ? 1 : 0;

View File

@@ -1,12 +0,0 @@
$NetBSD: patch-ag,v 1.1 2003/08/10 07:56:55 wiz Exp $
--- xf86test/xf86test.c.orig Sun Aug 10 09:51:43 2003
+++ xf86test/xf86test.c
@@ -36,6 +36,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.22 2013/04/25 20:41:33 shattered Exp $
# $NetBSD: Makefile,v 1.24 2014/02/12 23:18:38 tron Exp $
PKGNAME= ${DISTNAME:S/-/-clientonly-/}
PKGREVISION= 1
COMMENT= The Network Backup Solution (client only)
PKGREVISION= 2
CONFLICTS= bacula-[0-9]* bacula-client-[0-9]*
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.31 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.33 2014/02/12 23:18:38 tron Exp $
PKGNAME= ${DISTNAME:S/-/-qt-console-/}
PKGREVISION= 5
PKGREVISION= 1
COMMENT= Qt-based console for Bacula - The Network Backup Solution
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo

View File

@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.31 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.34 2014/01/14 10:58:17 markd Exp $
PKGNAME= ${DISTNAME:S/-/-tray-monitor-/}
PKGREVISION= 4
COMMENT= System tray monitor for Bacula - The Network Backup Solution
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo

View File

@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.36 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.39 2014/01/14 10:58:17 markd Exp $
PKGNAME= ${DISTNAME:S/-/-wx-console-/}
PKGREVISION= 4
COMMENT= Bacula wxWindows-based console
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo

View File

@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.51 2013/05/31 12:41:59 wiz Exp $
# $NetBSD: Makefile,v 1.56 2014/02/12 23:18:38 tron Exp $
PKGREVISION= 8
PKGREVISION= 1
CONFLICTS+= bacula-client-[0-9]* bacula-clientonly-[0-9]*
@@ -39,7 +39,7 @@ REPLACE_PERL+= src/cats/make_catalog_backup.pl.in
.include "Makefile.common"
.if !empty(USE_DESTDIR:M[Yy][Ee][Ss])
INSTALL_MAKE_FLAGS+= dir_user= dir_group=
INSTALL_MAKE_FLAGS+= dir_user= dir_group= sd_group=
.endif
post-install:

View File

@@ -1,10 +1,10 @@
# $NetBSD: Makefile.common,v 1.61 2013/03/04 21:57:21 wiz Exp $
# $NetBSD: Makefile.common,v 1.64 2014/01/14 10:58:17 markd Exp $
#
# used by sysutils/bacula-clientonly/Makefile
# used by sysutils/bacula-tray-monitor/Makefile
# used by sysutils/bacula-wx-console/Makefile
DISTNAME= bacula-5.2.12
DISTNAME= bacula-5.2.13
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
@@ -60,7 +60,7 @@ CONFIGURE_ARGS+= --with-scriptdir=${PREFIX}/libexec/bacula
CONFIGURE_ARGS+= --with-sbin-perm=0755
CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR}
CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR}
CONFIGURE_ARGS+= --with-readline=${PREFIX}/include/readline
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.editlinereadline}/include/readline
.if ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --enable-smartalloc
@@ -73,10 +73,8 @@ PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/bacula
INSTALLATION_DIRS+= ${EXAMPLESDIR}
pre-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLESDIR}
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.common,v 1.17 2013/05/19 11:00:03 shattered Exp $
@comment $NetBSD: PLIST.common,v 1.18 2014/03/11 14:05:14 jperkin Exp $
lib/bpipe-fd.la
lib/libbac.la
lib/libbaccfg.la
@@ -48,4 +48,3 @@ share/doc/bacula/VERIFYING
share/doc/bacula/technotes
share/examples/bacula/bacula-fd.conf
share/examples/bacula/bconsole.conf
share/examples/rc.d/bacula-fd

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST.server,v 1.12 2013/05/19 11:00:03 shattered Exp $
@comment $NetBSD: PLIST.server,v 1.13 2014/03/11 14:05:14 jperkin Exp $
lib/libbaccats.la
lib/libbaccats-${BACULA_DB}.la
lib/libbacsql.la
@@ -31,6 +31,3 @@ sbin/bwild
sbin/dbcheck
share/examples/bacula/bacula-dir.conf
share/examples/bacula/bacula-sd.conf
share/examples/rc.d/bacula
share/examples/rc.d/bacula-dir
share/examples/rc.d/bacula-sd

View File

@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.47 2012/10/06 17:54:53 christos Exp $
$NetBSD: distinfo,v 1.51 2014/02/01 19:41:31 joerg Exp $
SHA1 (bacula-5.2.12.tar.gz) = c53cdd185f5f4075ddcca0971953319a94276c84
RMD160 (bacula-5.2.12.tar.gz) = dd5b9f457a524acd9cdbbe0c4842670c4ee5bd5a
Size (bacula-5.2.12.tar.gz) = 4147847 bytes
SHA1 (bacula-5.2.13.tar.gz) = 30b1eb2efb515138807163d046f675eaa29fad1c
RMD160 (bacula-5.2.13.tar.gz) = bcc168143c0eec5cb5e983f765935534379f4fcf
Size (bacula-5.2.13.tar.gz) = 4243395 bytes
SHA1 (patch-ac) = 4ba89bcf49ce82b527edc789e2b17a781cb8622e
SHA1 (patch-ad) = ce6bc29858d13dff1a0301db95f9bfedf3e66b01
SHA1 (patch-ah) = 06452df1449ed6f06af00ed2cf9d736c40044dfb
@@ -10,12 +10,15 @@ SHA1 (patch-ai) = 388e075e7ec54fb377ee9dbe8338c667efb256ee
SHA1 (patch-aj) = 125d1503406474fec32e737068328cdfa718f5c2
SHA1 (patch-am) = 28536d3f0de81940773749c3704ad7aca86d374d
SHA1 (patch-configure) = 710d6e4370099a5d6d23d1297864af01abcdae83
SHA1 (patch-src_console_conio.c) = 281d1f4c972744a936733f2a0003c6b0f993904d
SHA1 (patch-src_bacula.h) = 74fed45f9d441a132f113fdfd783b8f5bb077885
SHA1 (patch-src_console_conio.c) = bfec27296d145ab94c305cc5ffca7f892c14303e
SHA1 (patch-src_dird_Makefile.in) = fdce18aca972f26f16af90283756cd5bf5ad5831
SHA1 (patch-src_filed_Makefile.in) = c88ee648ef33c3f7c3a02b77b1d3fc3da8da088d
SHA1 (patch-src_findlib_attribs.c) = a0917e500d7e937164cf59917cabd992512acd1d
SHA1 (patch-src_lib_attr.c) = 287851ff2ce2a0868d597cf1d7471a6766f6f7c1
SHA1 (patch-src_lib_md5.c) = a359bb9988538f02d5a14bf3ddac23f7ea64bea6
SHA1 (patch-src_plugins_fd_Makefile.in) = f1316cdbb66d9bc55d8adbd4b0bbde01443ccd2e
SHA1 (patch-src_plugins_fd_fd__common.h) = 7c8419d4fa7f1fe8a07e2bc2720a4903ff324135
SHA1 (patch-src_qt-console_bat.pro.in) = 8df9381c0b35b5a3dcd237f8c017ae21d88c79ad
SHA1 (patch-src_stored_Makefile.in) = 5bee8ea8a7c288a1e4baf372ef79da34c9e35284
SHA1 (patch-src_tools_Makefile.in) = 9fbc8d0f71f34217ea29f6ae04cbd927d5ac275b
SHA1 (patch-src_tools_Makefile.in) = dca0472c31ced76b8d5a357ef968ddc3f93faf5b

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_bacula.h,v 1.1 2014/02/01 19:41:31 joerg Exp $
--- src/bacula.h.orig 2014-01-31 20:01:28.000000000 +0000
+++ src/bacula.h
@@ -186,6 +186,8 @@ extern "C" {
#undef _
#undef free
#undef malloc
+#undef Enter
+#undef Leave
#endif
#if defined(HAVE_WIN32)

View File

@@ -1,19 +1,26 @@
$NetBSD: patch-src_console_conio.c,v 1.1 2012/10/06 17:54:53 christos Exp $
$NetBSD: patch-src_console_conio.c,v 1.3 2014/01/22 10:45:21 jperkin Exp $
- need termios.h, our term.h does not include it
- t_insert_line and t_delete_line are macros in term.h; undef them
- spell HAVE_TERM_H correctly
--- src/console/conio.c.orig 2012-09-13 04:51:19.000000000 -0400
+++ src/console/conio.c 2012-10-05 11:29:38.000000000 -0400
@@ -61,6 +61,7 @@
--- src/console/conio.c.orig 2013-02-19 19:21:35.000000000 +0000
+++ src/console/conio.c
@@ -64,11 +64,12 @@
#endif
#ifdef HAVE_CONIO
+#include <termios.h>
#include <curses.h>
#include <term.h>
@@ -245,7 +246,9 @@
#if defined(HAVE_SUN_OS)
-#if !defined(_TERM_H)
+#if !defined(HAVE_TERM_H)
extern "C" int tgetent(void *, const char *);
extern "C" int tgetnum(const char *);
extern "C" char *tgetstr (const char*, char**);
@@ -250,7 +251,9 @@ static char * getnext(void);
static char * getprev(void);
static void putline(char *newl, int newlen);
static void t_honk_horn(void);

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_lib_md5.c,v 1.1 2013/11/06 16:00:05 joerg Exp $
--- src/lib/md5.c.orig 2013-11-06 15:37:34.000000000 +0000
+++ src/lib/md5.c
@@ -173,7 +173,7 @@ void MD5Final(unsigned char digest[16],
MD5Transform(ctx->buf, (uint32_t *) ctx->in);
byteReverse((unsigned char *) ctx->buf, 4);
memcpy(digest, ctx->buf, 16);
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
}

View File

@@ -0,0 +1,54 @@
$NetBSD: patch-src_plugins_fd_fd__common.h,v 1.1 2013/11/06 16:00:05 joerg Exp $
Replacements for new and delete must be global according to ISO C++.
This file is only used by a test case, so just drop them.
--- src/plugins/fd/fd_common.h.orig 2013-11-06 15:38:19.000000000 +0000
+++ src/plugins/fd/fd_common.h
@@ -71,46 +71,6 @@ DLL_IMP_EXP void reallyfree(const char *
#define malloc(s) sm_malloc(__FILE__, __LINE__, (s))
#define free(o) sm_free(__FILE__, __LINE__, (o))
-inline void *operator new(size_t size, char const * file, int line)
-{
- void *pnew = sm_malloc(file,line, size);
- memset((char *)pnew, 0, size);
- return pnew;
-}
-
-inline void *operator new[](size_t size, char const * file, int line)
-{
- void *pnew = sm_malloc(file, line, size);
- memset((char *)pnew, 0, size);
- return pnew;
-}
-
-inline void *operator new(size_t size)
-{
- void *pnew = sm_malloc(__FILE__, __LINE__, size);
- memset((char *)pnew, 0, size);
- return pnew;
-}
-
-inline void *operator new[](size_t size)
-{
- void *pnew = sm_malloc(__FILE__, __LINE__, size);
- memset((char *)pnew, 0, size);
- return pnew;
-}
-
-#define new new(__FILE__, __LINE__)
-
-inline void operator delete(void *buf)
-{
- sm_free( __FILE__, __LINE__, buf);
-}
-
-inline void operator delete[] (void *buf)
-{
- sm_free(__FILE__, __LINE__, buf);
-}
-
#define Dmsg(context, level, ...) bfuncs->DebugMessage(context, __FILE__, __LINE__, level, __VA_ARGS__ )
#define Jmsg(context, type, ...) bfuncs->JobMessage(context, __FILE__, __LINE__, type, 0, __VA_ARGS__ )

View File

@@ -1,20 +1,20 @@
$NetBSD: patch-src_tools_Makefile.in,v 1.1 2012/10/06 17:54:53 christos Exp $
$NetBSD: patch-src_tools_Makefile.in,v 1.2 2014/01/14 10:58:17 markd Exp $
- use the .la files for linking
- remove tests that don't link (using functions not in libraries)
--- src/tools/Makefile.in.orig 2012-09-13 04:51:19.000000000 -0400
+++ src/tools/Makefile.in 2012-10-05 11:13:02.000000000 -0400
@@ -37,7 +37,7 @@
--- src/tools/Makefile.in.orig 2013-02-19 19:21:35.000000000 +0000
+++ src/tools/Makefile.in
@@ -35,7 +35,7 @@ EXTRAOBJS = @OBJLIST@
DIRCONFOBJS = ../dird/dird_conf.o ../dird/ua_acl.o ../dird/run_conf.o ../dird/inc_conf.o
NODIRTOOLS = bsmtp
-DIRTOOLS = bsmtp dbcheck drivetype fstype testfind testls bregex bwild bbatch bregtest bvfs_test ing_test bpluginfo
+DIRTOOLS = bsmtp dbcheck drivetype fstype testfind bregex bwild bbatch bregtest ing_test bpluginfo
-DIRTOOLS = bsmtp dbcheck drivetype fstype testfind testls bregex bwild bbatch bregtest bvfs_test ing_test bpluginfo timelimit
+DIRTOOLS = bsmtp dbcheck drivetype fstype testfind bregex bwild bbatch bregtest ing_test bpluginfo timelimit
TOOLS = $(@DIR_TOOLS@)
INSNODIRTOOLS = bsmtp
@@ -58,22 +58,22 @@
@@ -56,22 +56,22 @@ all: Makefile $(TOOLS) gigaslam grow
@echo " "
bsmtp: Makefile bsmtp.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
@@ -42,7 +42,7 @@ $NetBSD: patch-src_tools_Makefile.in,v 1.1 2012/10/06 17:54:53 christos Exp $
$(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
dird_conf.o: ../dird/dird_conf.c
@@ -91,34 +91,34 @@
@@ -93,34 +93,34 @@ timelimit: timelimit.o
testfind: Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) \
../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) $(FINDOBJS)
$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -o $@ $(FINDOBJS) -L. -L../lib -L../findlib \
@@ -84,7 +84,7 @@ $NetBSD: patch-src_tools_Makefile.in,v 1.1 2012/10/06 17:54:53 christos Exp $
cats_test.o: cats_test.c
echo "Compiling $<"
@@ -126,7 +126,7 @@
@@ -128,7 +128,7 @@ cats_test.o: cats_test.c
cats_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) cats_test.o
$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ cats_test.o \
@@ -93,7 +93,7 @@ $NetBSD: patch-src_tools_Makefile.in,v 1.1 2012/10/06 17:54:53 christos Exp $
gigaslam.o: gigaslam.c
$(CXX) $(CFLAGS) -c $<
@@ -135,13 +135,13 @@
@@ -137,13 +137,13 @@ gigaslam: gigaslam.o
$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -o $@ gigaslam.o
grow: Makefile grow.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2012/10/23 19:50:52 asau Exp $
# $NetBSD: Makefile,v 1.8 2013/09/10 14:42:05 joerg Exp $
DISTNAME= bcmfw-1.0
CATEGORIES= sysutils
@@ -32,6 +32,10 @@ SUBST_SED.dir= -e 's,BCM2033-,${PREFIX}/${FIRMWARE_DIR}/&,'
SUBST_STAGE.dir= post-patch
SUBST_MESSAGE.dir= Fixing path to firmware directory.
USE_BSD_MAKEFILE= yes
MAKE_FLAGS+= CWARNFLAGS.clang=-Wno-error=tautological-compare
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bcmfw ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/bcmfw.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

View File

@@ -1,7 +1,6 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:01 joerg Exp $
@comment $NetBSD: PLIST,v 1.3 2014/03/11 14:05:14 jperkin Exp $
man/man8/bcmfw.8
sbin/bcmfw
share/examples/rc.d/bcmfw
${FIRMWARE_DIR}/BCM-LEGAL.txt
${FIRMWARE_DIR}/BCM2033-FW.bin
${FIRMWARE_DIR}/BCM2033-MD.hex

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/04/28 00:29:21 tonnerre Exp $
# $NetBSD: Makefile,v 1.2 2013/11/29 13:00:08 joerg Exp $
DISTNAME= bcollect-0.6.0
CATEGORIES= sysutils
@@ -12,6 +12,9 @@ PKG_DESTDIR_SUPPORT= destdir
GNU_CONFIGURE= yes
USE_TOOLS+= lex yacc
# Incomplete dependencies on confparser.h
MAKE_JOBS_SAFE= no
CONF_FILES+= ${PREFIX}/share/examples/bcollect/bcollect.conf \
${PKG_SYSCONFDIR}/bcollect.conf

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.32 2013/04/01 12:33:04 joerg Exp $
# $NetBSD: Makefile,v 1.33 2013/09/10 14:42:19 joerg Exp $
#
DISTNAME= bkpupsd-2.2.1
@@ -40,4 +40,9 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.ja ${DESTDIR}${DOCDIR}
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
BUILDLINK_TRANSFORM+= rm:-Wno-traditional
.endif
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,9 +1,8 @@
@comment $NetBSD: PLIST,v 1.7 2009/06/14 18:16:01 joerg Exp $
@comment $NetBSD: PLIST,v 1.8 2014/03/11 14:05:14 jperkin Exp $
libexec/bkpupsd/battery.shutdown
libexec/bkpupsd/line.lost
libexec/bkpupsd/line.recover
libexec/bkpupsd/line.shutdown
share/examples/rc.d/bkpupsd
man/cat5/upstab.0
man/cat8/bkpupsd.0
man/man5/upstab.5

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.12 2013/05/31 12:41:59 wiz Exp $
# $NetBSD: Makefile,v 1.13 2014/02/12 23:18:38 tron Exp $
#
DISTNAME= boxbackup-0.11.1
PKGNAME= boxbackup-client-0.11.1
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=boxbackup/}
EXTRACT_SUFX= .tgz

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.12 2013/05/31 12:41:59 wiz Exp $
# $NetBSD: Makefile,v 1.13 2014/02/12 23:18:38 tron Exp $
#
DISTNAME= boxbackup-0.11.1
PKGNAME= boxbackup-server-0.11.1
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=boxbackup/}
EXTRACT_SUFX= .tgz

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.32 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.37 2014/01/01 11:52:34 wiz Exp $
#
DISTNAME= brasero-2.32.1
PKGNAME= brasero-nautilus-2.32.1
PKGREVISION= 21
PKGREVISION= 26
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/brasero/2.32/}
EXTRACT_SUFX= .tar.bz2
@@ -40,7 +40,6 @@ BUILDLINK_API_DEPENDS.gstreamer0.10+= gstreamer0.10>=0.10.15
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libunique/buildlink3.mk"

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.48 2013/06/06 12:53:56 wiz Exp $
# $NetBSD: Makefile,v 1.52 2014/01/01 11:52:08 wiz Exp $
#
DISTNAME= brasero-2.32.1
PKGREVISION= 21
PKGREVISION= 25
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/brasero/2.32/}
EXTRACT_SUFX= .tar.bz2

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.29 2013/06/06 12:53:56 wiz Exp $
# $NetBSD: buildlink3.mk,v 1.33 2014/01/01 11:52:08 wiz Exp $
BUILDLINK_TREE+= brasero
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= brasero
BRASERO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.brasero+= brasero>=2.26.0
BUILDLINK_ABI_DEPENDS.brasero+= brasero>=2.32.1nb21
BUILDLINK_ABI_DEPENDS.brasero+= brasero>=2.32.1nb25
BUILDLINK_PKGSRCDIR.brasero?= ../../sysutils/brasero
.include "../../x11/gtk2/buildlink3.mk"

View File

@@ -0,0 +1,2 @@
This package provides the BSD install(1) program for compatability to
systems which do not have a native version.

View File

@@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.2 2013/09/05 12:19:49 jperkin Exp $
DISTNAME= bsdinstall-20130905
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Portable version of the BSD install(1) program
BOOTSTRAP_PKG= yes
USE_BSD_MAKEFILE= yes
USE_FEATURES= nbcompat
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
CPPFLAGS+= -D_PATH_DEVNULL=\"/dev/null\"
CPPFLAGS+= -DTARGET_STRIP=\"${TOOLS_PLATFORM.strip:Q}\"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2013/09/05 12:19:49 jperkin Exp $
bin/bsdinstall
man/cat1/bsdinstall.0
man/man1/bsdinstall.1

View File

@@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/08/28 11:42:36 jperkin Exp $
# NetBSD: Makefile,v 1.21 2006/12/16 12:59:17 bouyer Exp
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
PROG= bsdinstall
SRCS= bsdinstall.c setmode.c
MAN= bsdinstall.1
LDADD+= -lnbcompat
COPTS.xinstall.c += -Wno-format-nonliteral
.include <bsd.prog.mk>

View File

@@ -0,0 +1,339 @@
.\" $NetBSD: bsdinstall.1,v 1.1 2013/08/28 11:42:36 jperkin Exp $
.\" NetBSD: install.1,v 1.46 2012/03/22 07:58:20 wiz Exp
.\"
.\" Copyright (c) 1987, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)install.1 8.1 (Berkeley) 6/6/93
.\"
.Dd May 1, 2009
.Dt BSDINSTALL 1
.Os
.Sh NAME
.Nm bsdinstall
.Nd install binaries
.Sh SYNOPSIS
.Nm
.Op Fl bcprsU
.Op Fl a Ar command
.Op Fl B Ar suffix
.Op Fl D Ar destdir
.Op Fl f Ar flags
.Op Fl g Ar group
.Op Fl h Ar hash
.Op Fl l Ar linkflags
.Op Fl M Ar metalog
.Op Fl m Ar mode
.Op Fl N Ar dbdir
.Op Fl o Ar owner
.Op Fl S Ar stripflag
.Op Fl T Ar tags
.Ar file1 file2
.Nm
.Op Fl bcprsU
.Op Fl a Ar command
.Op Fl B Ar suffix
.Op Fl D Ar destdir
.Op Fl f Ar flags
.Op Fl g Ar group
.Op Fl h Ar hash
.Op Fl l Ar linkflags
.Op Fl M Ar metalog
.Op Fl m Ar mode
.Op Fl N Ar dbdir
.Op Fl o Ar owner
.Op Fl S Ar stripflag
.Op Fl T Ar tags
.Ar file1 ...\&
.Ar fileN directory
.Nm
.Fl d
.Op Fl pU
.Op Fl a Ar command
.Op Fl D Ar destdir
.Op Fl g Ar group
.Op Fl M Ar metalog
.Op Fl m Ar mode
.Op Fl N Ar dbdir
.Op Fl o Ar owner
.Op Fl T Ar tags
.Ar directory ...\&
.Sh DESCRIPTION
The file(s) are copied
(or linked if the
.Fl l
option is specified) to the target file or directory.
If the destination is a directory, then the
.Ar file
is copied into
.Ar directory
with its original filename.
If the target file already exists, it is
either renamed to
.Ar file.old
if the
.Fl b
option is given
or overwritten
if permissions allow; an alternate backup suffix may be specified via the
.Fl B
option's argument.
.Pp
.Bl -tag -width XsXXstripflagsXX
.It Fl a Ar command
Run
.Ar command
on the target after installation and stripping
.Pq Fl s ,
but before
ownership, permissions or timestamps are set and before renaming
.Pq Fl r
occurs.
.Ar command
is invoked via the
.Xr sh 1
shell, allowing a single
.Fl a
argument be to specified to
.Nm
which the shell can then tokenize.
.It Fl B Ar suffix
Use
.Ar suffix
as the backup suffix if
.Fl b
is given.
If
.Ar suffix
contains a '%' sign, a numbered backup will be performed, and the
%-pattern will be expanded using
.Xr sprintf 3 ,
given an integer counter as the backup number.
The counter used starts from 0, and the first available name resulting
from the expansion is used.
.It Fl b
Backup any existing files before overwriting them by renaming
them to
.Ar file.old . See
.Fl B
for specifying a different backup suffix.
.It Fl c
Copy the file.
This is the default behavior; the flag is maintained for backwards
compatibility only.
.It Fl D Ar destdir
Specify the
.Ev DESTDIR
(top of the file hierarchy) that the items are installed in to.
If
.Fl M Ar metalog
is in use, a leading string of
.Dq Ar destdir
will be removed from the file names logged to the
.Ar metalog .
This option does not affect where the actual files are installed.
.It Fl d
Create directories.
Missing parent directories are created as required.
.It Fl f Ar flags
Specify the target's file flags.
(See
.Xr chflags 1
for a list of possible flags and their meanings.)
.It Fl g Ar group
Specify a group.
.It Fl h Ar hash
When copying, calculate the digest of the files with
.Ar hash
to store in the
.Fl M Ar metalog .
Supported digests:
.Bl -tag -width rmd160 -offset indent
.It Sy none
No hash.
This is the default.
.It Sy md5
The MD5 cryptographic message digest.
.It Sy rmd160
The RMD-160 cryptographic message digest.
.It Sy sha1
The SHA-1 cryptographic message digest.
.It Sy sha256
The 256-bits
.Tn SHA-2
cryptographic message digest of the file.
.It Sy sha384
The 384-bits
.Tn SHA-2
cryptographic message digest of the file.
.It Sy sha512
The 512-bits
.Tn SHA-2
cryptographic message digest of the file.
.El
.It Fl l Ar linkflags
Instead of copying the file make a link to the source.
The type of the link is determined by the
.Ar linkflags
argument.
Valid
.Ar linkflags
are:
.Ar a
(absolute),
.Ar r
(relative),
.Ar h
(hard),
.Ar s
(symbolic),
.Ar m
(mixed).
Absolute and relative have effect only for symbolic links.
Mixed links
are hard links for files on the same filesystem, symbolic otherwise.
.It Fl M Ar metalog
Write the metadata associated with each item installed to
.Ar metalog
in an
.Xr mtree 8
.Dq full path
specification line.
The metadata includes: the file name and file type, and depending upon
other options, the owner, group, file flags, modification time, and tags.
.It Fl m Ar mode
Specify an alternative mode.
The default mode is set to rwxr-xr-x (0755).
The specified mode may be either an octal or symbolic value; see
.Xr chmod 1
for a description of possible mode values.
.It Fl N Ar dbdir
Use the user database text file
.Pa master.passwd
and group database text file
.Pa group
from
.Ar dbdir ,
rather than using the results from the system's
.Xr getpwnam 3
and
.Xr getgrnam 3
(and related) library calls.
.It Fl o Ar owner
Specify an owner.
.It Fl p
Preserve the source files access and modification times.
.It Fl r
Install to a temporary file and then rename the file to its final destination
name.
This can be used for precious files, to avoid truncation of the original
when error conditions (filesystem full etc.) occur.
.It Fl S Ar stripflags
.Nm
passes
.Ar stripflags
as option arguments to
.Xr strip 1 .
When
.Fl S
is used,
.Xr strip 1
is invoked via the
.Xr sh 1
shell, allowing a single
.Fl S
argument be to specified to
.Nm
which the shell can then tokenize.
Normally,
.Nm
invokes
.Xr strip 1
directly.
This flag implies
.Fl s .
.It Fl s
.Nm
exec's the command
.Xr strip 1
to strip binaries so that bsdinstall can be portable over a large
number of systems and binary types.
If the environment variable
.Ev STRIP
is set, it is used as the
.Xr strip 1
program.
.It Fl T Ar tags
Specify the
.Xr mtree 8
tags to write out for the file when using
.Fl M Ar metalog .
.It Fl U
Indicate that bsdinstall is running unprivileged, and that it should not
try to change the owner, the group, or the file flags of the destination.
The information that would have been updated can be stored in a log
file with
.Fl M Ar metalog .
.El
.Pp
By default,
.Nm
preserves all file flags, with the exception of the ``nodump'' flag.
.Pp
The
.Nm
utility attempts to prevent copying a file onto itself.
.Pp
Installing
.Pa /dev/null
creates an empty file.
.Sh ENVIRONMENT
.Bl -tag -width Fl
.It Ev STRIP
The program used to strip installed binaries when the
.Fl s
option is used.
If unspecified,
.Pa /usr/bin/strip
is used.
.El
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chgrp 1 ,
.Xr chmod 1 ,
.Xr cp 1 ,
.Xr mv 1 ,
.Xr strip 1 ,
.Xr chown 8 ,
.Xr mtree 8
.Sh HISTORY
The
.Nm
utility appeared in
.Bx 4.2 .

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,158 @@
BSDINSTALL(1) BSD General Commands Manual BSDINSTALL(1)
NNAAMMEE
bbssddiinnssttaallll -- install binaries
SSYYNNOOPPSSIISS
bbssddiinnssttaallll [--bbccpprrssUU] [--aa _c_o_m_m_a_n_d] [--BB _s_u_f_f_i_x] [--DD _d_e_s_t_d_i_r] [--ff _f_l_a_g_s]
[--gg _g_r_o_u_p] [--hh _h_a_s_h] [--ll _l_i_n_k_f_l_a_g_s] [--MM _m_e_t_a_l_o_g] [--mm _m_o_d_e]
[--NN _d_b_d_i_r] [--oo _o_w_n_e_r] [--SS _s_t_r_i_p_f_l_a_g] [--TT _t_a_g_s] _f_i_l_e_1 _f_i_l_e_2
bbssddiinnssttaallll [--bbccpprrssUU] [--aa _c_o_m_m_a_n_d] [--BB _s_u_f_f_i_x] [--DD _d_e_s_t_d_i_r] [--ff _f_l_a_g_s]
[--gg _g_r_o_u_p] [--hh _h_a_s_h] [--ll _l_i_n_k_f_l_a_g_s] [--MM _m_e_t_a_l_o_g] [--mm _m_o_d_e]
[--NN _d_b_d_i_r] [--oo _o_w_n_e_r] [--SS _s_t_r_i_p_f_l_a_g] [--TT _t_a_g_s] _f_i_l_e_1 _._._. _f_i_l_e_N
_d_i_r_e_c_t_o_r_y
bbssddiinnssttaallll --dd [--ppUU] [--aa _c_o_m_m_a_n_d] [--DD _d_e_s_t_d_i_r] [--gg _g_r_o_u_p] [--MM _m_e_t_a_l_o_g]
[--mm _m_o_d_e] [--NN _d_b_d_i_r] [--oo _o_w_n_e_r] [--TT _t_a_g_s] _d_i_r_e_c_t_o_r_y _._._.
DDEESSCCRRIIPPTTIIOONN
The file(s) are copied (or linked if the --ll option is specified) to the
target file or directory. If the destination is a directory, then the
_f_i_l_e is copied into _d_i_r_e_c_t_o_r_y with its original filename. If the target
file already exists, it is either renamed to _f_i_l_e_._o_l_d if the --bb option is
given or overwritten if permissions allow; an alternate backup suffix may
be specified via the --BB option's argument.
--aa _c_o_m_m_a_n_d Run _c_o_m_m_a_n_d on the target after installation and strip-
ping (--ss), but before ownership, permissions or time-
stamps are set and before renaming (--rr) occurs.
_c_o_m_m_a_n_d is invoked via the sh(1) shell, allowing a sin-
gle --aa argument be to specified to bbssddiinnssttaallll which the
shell can then tokenize.
--BB _s_u_f_f_i_x Use _s_u_f_f_i_x as the backup suffix if --bb is given. If
_s_u_f_f_i_x contains a '%' sign, a numbered backup will be
performed, and the %-pattern will be expanded using
sprintf(3), given an integer counter as the backup num-
ber. The counter used starts from 0, and the first
available name resulting from the expansion is used.
--bb Backup any existing files before overwriting them by
renaming them to _f_i_l_e_._o_l_d. _S_e_e --BB for specifying a dif-
ferent backup suffix.
--cc Copy the file. This is the default behavior; the flag
is maintained for backwards compatibility only.
--DD _d_e_s_t_d_i_r Specify the DESTDIR (top of the file hierarchy) that
the items are installed in to. If --MM _m_e_t_a_l_o_g is in
use, a leading string of ``_d_e_s_t_d_i_r'' will be removed
from the file names logged to the _m_e_t_a_l_o_g. This option
does not affect where the actual files are installed.
--dd Create directories. Missing parent directories are
created as required.
--ff _f_l_a_g_s Specify the target's file flags. (See chflags(1) for a
list of possible flags and their meanings.)
--gg _g_r_o_u_p Specify a group.
--hh _h_a_s_h When copying, calculate the digest of the files with
_h_a_s_h to store in the --MM _m_e_t_a_l_o_g. Supported digests:
nnoonnee No hash. This is the default.
mmdd55 The MD5 cryptographic message digest.
rrmmdd116600 The RMD-160 cryptographic message digest.
sshhaa11 The SHA-1 cryptographic message digest.
sshhaa225566 The 256-bits SHA-2 cryptographic message
digest of the file.
sshhaa338844 The 384-bits SHA-2 cryptographic message
digest of the file.
sshhaa551122 The 512-bits SHA-2 cryptographic message
digest of the file.
--ll _l_i_n_k_f_l_a_g_s Instead of copying the file make a link to the source.
The type of the link is determined by the _l_i_n_k_f_l_a_g_s
argument. Valid _l_i_n_k_f_l_a_g_s are: _a (absolute), _r (rela-
tive), _h (hard), _s (symbolic), _m (mixed). Absolute and
relative have effect only for symbolic links. Mixed
links are hard links for files on the same filesystem,
symbolic otherwise.
--MM _m_e_t_a_l_o_g Write the metadata associated with each item installed
to _m_e_t_a_l_o_g in an mtree(8) ``full path'' specification
line. The metadata includes: the file name and file
type, and depending upon other options, the owner,
group, file flags, modification time, and tags.
--mm _m_o_d_e Specify an alternative mode. The default mode is set
to rwxr-xr-x (0755). The specified mode may be either
an octal or symbolic value; see chmod(1) for a descrip-
tion of possible mode values.
--NN _d_b_d_i_r Use the user database text file _m_a_s_t_e_r_._p_a_s_s_w_d and group
database text file _g_r_o_u_p from _d_b_d_i_r, rather than using
the results from the system's getpwnam(3) and
getgrnam(3) (and related) library calls.
--oo _o_w_n_e_r Specify an owner.
--pp Preserve the source files access and modification
times.
--rr Install to a temporary file and then rename the file to
its final destination name. This can be used for pre-
cious files, to avoid truncation of the original when
error conditions (filesystem full etc.) occur.
--SS _s_t_r_i_p_f_l_a_g_s bbssddiinnssttaallll passes _s_t_r_i_p_f_l_a_g_s as option arguments to
strip(1). When --SS is used, strip(1) is invoked via the
sh(1) shell, allowing a single --SS argument be to speci-
fied to bbssddiinnssttaallll which the shell can then tokenize.
Normally, bbssddiinnssttaallll invokes strip(1) directly. This
flag implies --ss.
--ss bbssddiinnssttaallll exec's the command strip(1) to strip bina-
ries so that bsdinstall can be portable over a large
number of systems and binary types. If the environment
variable STRIP is set, it is used as the strip(1) pro-
gram.
--TT _t_a_g_s Specify the mtree(8) tags to write out for the file
when using --MM _m_e_t_a_l_o_g.
--UU Indicate that bsdinstall is running unprivileged, and
that it should not try to change the owner, the group,
or the file flags of the destination. The information
that would have been updated can be stored in a log
file with --MM _m_e_t_a_l_o_g.
By default, bbssddiinnssttaallll preserves all file flags, with the exception of
the ``nodump'' flag.
The bbssddiinnssttaallll utility attempts to prevent copying a file onto itself.
Installing _/_d_e_v_/_n_u_l_l creates an empty file.
EENNVVIIRROONNMMEENNTT
STRIP The program used to strip installed binaries when the --ss
option is used. If unspecified, _/_u_s_r_/_b_i_n_/_s_t_r_i_p is used.
EEXXIITT SSTTAATTUUSS
The bbssddiinnssttaallll utility exits 0 on success, and >0 if an error occurs.
SSEEEE AALLSSOO
chflags(1), chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8),
mtree(8)
HHIISSTTOORRYY
The bbssddiinnssttaallll utility appeared in 4.2BSD.
BSD May 1, 2009 BSD

View File

@@ -0,0 +1,500 @@
/* $NetBSD: setmode.c,v 1.2 2013/08/30 16:54:46 joerg Exp $ */
/* NetBSD: setmode.c,v 1.33 2012/03/21 14:28:32 christos Exp */
/*
* Copyright (c) 1989, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Dave Borman at Cray Research, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#if defined(HAVE_NBCOMPAT_H)
#include <nbcompat/config.h>
#include <nbcompat/cdefs.h>
#else
#include <sys/cdefs.h>
#endif
#if defined(LIBC_SCCS) && !defined(lint)
#if 0
static char sccsid[] = "@(#)setmode.c 8.2 (Berkeley) 3/25/94";
#else
__RCSID("NetBSD: setmode.c,v 1.33 2012/03/21 14:28:32 christos Exp");
#endif
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#ifdef SETMODE_DEBUG
#include <stdio.h>
#endif
#if 0
#ifdef __weak_alias
__weak_alias(getmode,_getmode)
__weak_alias(setmode,_setmode)
#endif
#endif
#define SET_LEN 6 /* initial # of bitcmd struct to malloc */
#define SET_LEN_INCR 4 /* # of bitcmd structs to add as needed */
typedef struct bitcmd {
char cmd;
char cmd2;
mode_t bits;
} BITCMD;
#define CMD2_CLR 0x01
#define CMD2_SET 0x02
#define CMD2_GBITS 0x04
#define CMD2_OBITS 0x08
#define CMD2_UBITS 0x10
static BITCMD *addcmd(BITCMD *, mode_t, mode_t, mode_t, mode_t);
static void compress_mode(BITCMD *);
#ifdef SETMODE_DEBUG
static void dumpmode(BITCMD *);
#endif
#ifndef S_ISTXT
#define S_ISTXT S_ISVTX
#endif
#ifndef _DIAGASSERT
#define _DIAGASSERT assert
#endif
/*
* Given the old mode and an array of bitcmd structures, apply the operations
* described in the bitcmd structures to the old mode, and return the new mode.
* Note that there is no '=' command; a strict assignment is just a '-' (clear
* bits) followed by a '+' (set bits).
*/
mode_t
getmode(const void *bbox, mode_t omode)
{
const BITCMD *set;
mode_t clrval, newmode, value;
_DIAGASSERT(bbox != NULL);
set = (const BITCMD *)bbox;
newmode = omode;
for (value = 0;; set++)
switch(set->cmd) {
/*
* When copying the user, group or other bits around, we "know"
* where the bits are in the mode so that we can do shifts to
* copy them around. If we don't use shifts, it gets real
* grundgy with lots of single bit checks and bit sets.
*/
case 'u':
value = (newmode & S_IRWXU) >> 6;
goto common;
case 'g':
value = (newmode & S_IRWXG) >> 3;
goto common;
case 'o':
value = newmode & S_IRWXO;
common: if (set->cmd2 & CMD2_CLR) {
clrval =
(set->cmd2 & CMD2_SET) ? S_IRWXO : value;
if (set->cmd2 & CMD2_UBITS)
newmode &= ~((clrval<<6) & set->bits);
if (set->cmd2 & CMD2_GBITS)
newmode &= ~((clrval<<3) & set->bits);
if (set->cmd2 & CMD2_OBITS)
newmode &= ~(clrval & set->bits);
}
if (set->cmd2 & CMD2_SET) {
if (set->cmd2 & CMD2_UBITS)
newmode |= (value<<6) & set->bits;
if (set->cmd2 & CMD2_GBITS)
newmode |= (value<<3) & set->bits;
if (set->cmd2 & CMD2_OBITS)
newmode |= value & set->bits;
}
break;
case '+':
newmode |= set->bits;
break;
case '-':
newmode &= ~set->bits;
break;
case 'X':
if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH))
newmode |= set->bits;
break;
case '\0':
default:
#ifdef SETMODE_DEBUG
(void)printf("getmode:%04o -> %04o\n", omode, newmode);
#endif
return (newmode);
}
}
#define ADDCMD(a, b, c, d) do { \
if (set >= endset) { \
BITCMD *newset; \
setlen += SET_LEN_INCR; \
newset = realloc(saveset, sizeof(BITCMD) * setlen); \
if (newset == NULL) \
goto out; \
set = newset + (set - saveset); \
saveset = newset; \
endset = newset + (setlen - 2); \
} \
set = addcmd(set, (mode_t)(a), (mode_t)(b), (mode_t)(c), (d)); \
} while (/*CONSTCOND*/0)
#define STANDARD_BITS (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
void *
setmode(const char *p)
{
int serrno;
char op, *ep;
BITCMD *set, *saveset, *endset;
sigset_t signset, sigoset;
mode_t mask, perm, permXbits, who;
long lval;
int equalopdone = 0; /* pacify gcc */
int setlen;
if (!*p) {
errno = EINVAL;
return NULL;
}
/*
* Get a copy of the mask for the permissions that are mask relative.
* Flip the bits, we want what's not set. Since it's possible that
* the caller is opening files inside a signal handler, protect them
* as best we can.
*/
sigfillset(&signset);
(void)sigprocmask(SIG_BLOCK, &signset, &sigoset);
(void)umask(mask = umask(0));
mask = ~mask;
(void)sigprocmask(SIG_SETMASK, &sigoset, NULL);
setlen = SET_LEN + 2;
if ((set = malloc((u_int)(sizeof(BITCMD) * setlen))) == NULL)
return (NULL);
saveset = set;
endset = set + (setlen - 2);
/*
* If an absolute number, get it and return; disallow non-octal digits
* or illegal bits.
*/
if (isdigit((unsigned char)*p)) {
errno = 0;
lval = strtol(p, &ep, 8);
if (*ep) {
errno = EINVAL;
goto out;
}
if (errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN))
goto out;
if (lval & ~(STANDARD_BITS|S_ISTXT)) {
errno = EINVAL;
goto out;
}
perm = (mode_t)lval;
ADDCMD('=', (STANDARD_BITS|S_ISTXT), perm, mask);
set->cmd = 0;
return (saveset);
}
/*
* Build list of structures to set/clear/copy bits as described by
* each clause of the symbolic mode.
*/
for (;;) {
/* First, find out which bits might be modified. */
for (who = 0;; ++p) {
switch (*p) {
case 'a':
who |= STANDARD_BITS;
break;
case 'u':
who |= S_ISUID|S_IRWXU;
break;
case 'g':
who |= S_ISGID|S_IRWXG;
break;
case 'o':
who |= S_IRWXO;
break;
default:
goto getop;
}
}
getop: if ((op = *p++) != '+' && op != '-' && op != '=') {
errno = EINVAL;
goto out;
}
if (op == '=')
equalopdone = 0;
who &= ~S_ISTXT;
for (perm = 0, permXbits = 0;; ++p) {
switch (*p) {
case 'r':
perm |= S_IRUSR|S_IRGRP|S_IROTH;
break;
case 's':
/*
* If specific bits where requested and
* only "other" bits ignore set-id.
*/
if (who == 0 || (who & ~S_IRWXO))
perm |= S_ISUID|S_ISGID;
break;
case 't':
/*
* If specific bits where requested and
* only "other" bits ignore set-id.
*/
if (who == 0 || (who & ~S_IRWXO)) {
who |= S_ISTXT;
perm |= S_ISTXT;
}
break;
case 'w':
perm |= S_IWUSR|S_IWGRP|S_IWOTH;
break;
case 'X':
permXbits = S_IXUSR|S_IXGRP|S_IXOTH;
break;
case 'x':
perm |= S_IXUSR|S_IXGRP|S_IXOTH;
break;
case 'u':
case 'g':
case 'o':
/*
* When ever we hit 'u', 'g', or 'o', we have
* to flush out any partial mode that we have,
* and then do the copying of the mode bits.
*/
if (perm) {
ADDCMD(op, who, perm, mask);
perm = 0;
}
if (op == '=')
equalopdone = 1;
if (op == '+' && permXbits) {
ADDCMD('X', who, permXbits, mask);
permXbits = 0;
}
ADDCMD(*p, who, op, mask);
break;
default:
/*
* Add any permissions that we haven't already
* done.
*/
if (perm || (op == '=' && !equalopdone)) {
if (op == '=')
equalopdone = 1;
ADDCMD(op, who, perm, mask);
perm = 0;
}
if (permXbits) {
ADDCMD('X', who, permXbits, mask);
permXbits = 0;
}
goto apply;
}
}
apply: if (!*p)
break;
if (*p != ',')
goto getop;
++p;
}
set->cmd = 0;
#ifdef SETMODE_DEBUG
(void)printf("Before compress_mode()\n");
dumpmode(saveset);
#endif
compress_mode(saveset);
#ifdef SETMODE_DEBUG
(void)printf("After compress_mode()\n");
dumpmode(saveset);
#endif
return (saveset);
out:
serrno = errno;
free(saveset);
errno = serrno;
return NULL;
}
static BITCMD *
addcmd(BITCMD *set, mode_t op, mode_t who, mode_t oparg, mode_t mask)
{
_DIAGASSERT(set != NULL);
switch (op) {
case '=':
set->cmd = '-';
set->bits = who ? who : STANDARD_BITS;
set++;
op = '+';
/* FALLTHROUGH */
case '+':
case '-':
case 'X':
set->cmd = op;
set->bits = (who ? who : mask) & oparg;
break;
case 'u':
case 'g':
case 'o':
set->cmd = op;
if (who) {
set->cmd2 = ((who & S_IRUSR) ? CMD2_UBITS : 0) |
((who & S_IRGRP) ? CMD2_GBITS : 0) |
((who & S_IROTH) ? CMD2_OBITS : 0);
set->bits = (mode_t)~0;
} else {
set->cmd2 = CMD2_UBITS | CMD2_GBITS | CMD2_OBITS;
set->bits = mask;
}
if (oparg == '+')
set->cmd2 |= CMD2_SET;
else if (oparg == '-')
set->cmd2 |= CMD2_CLR;
else if (oparg == '=')
set->cmd2 |= CMD2_SET|CMD2_CLR;
break;
}
return (set + 1);
}
#ifdef SETMODE_DEBUG
static void
dumpmode(BITCMD *set)
{
_DIAGASSERT(set != NULL);
for (; set->cmd; ++set)
(void)printf("cmd: '%c' bits %04o%s%s%s%s%s%s\n",
set->cmd, set->bits, set->cmd2 ? " cmd2:" : "",
set->cmd2 & CMD2_CLR ? " CLR" : "",
set->cmd2 & CMD2_SET ? " SET" : "",
set->cmd2 & CMD2_UBITS ? " UBITS" : "",
set->cmd2 & CMD2_GBITS ? " GBITS" : "",
set->cmd2 & CMD2_OBITS ? " OBITS" : "");
}
#endif
/*
* Given an array of bitcmd structures, compress by compacting consecutive
* '+', '-' and 'X' commands into at most 3 commands, one of each. The 'u',
* 'g' and 'o' commands continue to be separate. They could probably be
* compacted, but it's not worth the effort.
*/
static void
compress_mode(BITCMD *set)
{
BITCMD *nset;
int setbits, clrbits, Xbits, op;
_DIAGASSERT(set != NULL);
for (nset = set;;) {
/* Copy over any 'u', 'g' and 'o' commands. */
while ((op = nset->cmd) != '+' && op != '-' && op != 'X') {
*set++ = *nset++;
if (!op)
return;
}
for (setbits = clrbits = Xbits = 0;; nset++) {
if ((op = nset->cmd) == '-') {
clrbits |= nset->bits;
setbits &= ~nset->bits;
Xbits &= ~nset->bits;
} else if (op == '+') {
setbits |= nset->bits;
clrbits &= ~nset->bits;
Xbits &= ~nset->bits;
} else if (op == 'X')
Xbits |= nset->bits & ~setbits;
else
break;
}
if (clrbits) {
set->cmd = '-';
set->cmd2 = 0;
set->bits = clrbits;
set++;
}
if (setbits) {
set->cmd = '+';
set->cmd2 = 0;
set->bits = setbits;
set++;
}
if (Xbits) {
set->cmd = 'X';
set->cmd2 = 0;
set->bits = Xbits;
set++;
}
}
}

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.27 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.28 2014/02/12 23:18:38 tron Exp $
DISTNAME= btpin-qt-1.5
PKGREVISION= 11
PKGREVISION= 12
CATEGORIES= sysutils
MASTER_SITES= http://www.galant.ukfsn.org/

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.22 2013/06/06 12:55:02 wiz Exp $
# $NetBSD: Makefile,v 1.24 2013/10/10 14:42:31 ryoon Exp $
#
DISTNAME= bubblemon-dockapp-1.46
PKGNAME= ${DISTNAME:S/-dockapp//}
PKGREVISION= 19
PKGREVISION= 21
CATEGORIES= sysutils
MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/

View File

@@ -11,7 +11,7 @@ It uses the packfile format from git (the open source version control system),
so you can access the stored data even if you don't like bup's user interface.
Unlike git, it writes packfiles directly (instead of having a separate garbage
collection/repacking stage) so it's fast even with gratuitously huge amounts of
collection/repacking stage) so it's fast even with gratuitously huge amounts of
data. bup's improved index formats also allow you to track far more filenames
than git (millions) and keep track of far more objects (hundreds or thousands of
gigabytes).

View File

@@ -1,31 +1,26 @@
# $NetBSD: Makefile,v 1.9 2013/05/31 12:41:59 wiz Exp $
#
# $NetBSD: Makefile,v 1.16 2014/03/19 17:50:00 gdt Exp $
DISTNAME= bup-0.25rc1
PKGREVISION= 2
DISTNAME= bup-0.25
PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= # manually packaged since master site is git repository
# and only available via https
# https://github.com/apenwarr/bup/tarball/
# https://github.com/bup/bup/releases/
# doc tarball: switch to "man" branch before downloading
# latest apenwarr doc tarball is for 0.24b
# bup-man-0.24b.tar.gz
# use lelutin one instead
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} lelutin-bup-7e0bc2e.zip
# ${DISTNAME:S/bup/bup-man/}${EXTRACT_SUFX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:S/bup/bup-man/}.zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/apenwarr/bup
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://github.com/bup/bup
COMMENT= Highly efficient file backup system based on the git packfile format
LICENSE= gnu-gpl-v2
DEPENDS+= par2-[0-9]*:../../archivers/par2
DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
DEPENDS+= scmgit-base-[0-9]*:../../devel/scmgit-base
DEPENDS+= git-base-[0-9]*:../../devel/git-base
# needs changing on each update
DOCDIR= ${WRKDIR}/lelutin-bup-7e0bc2e
WRKSRC= ${WRKDIR}/apenwarr-bup-4525252
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-fuse-bindings
DOCDIR= ${WRKDIR}/bup-man
TEST_TARGET= test
@@ -33,9 +28,10 @@ MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= PYTHON=${PYTHONBIN}
MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
USE_TOOLS+= gmake perl
USE_TOOLS+= bash gmake perl
REPLACE_PERL= format-subst.pl wvtestrun
REPLACE_PYTHON+= cmd/bloom-cmd.py
REPLACE_PYTHON+= cmd/cat-file-cmd.py
REPLACE_PYTHON+= cmd/daemon-cmd.py
REPLACE_PYTHON+= cmd/damage-cmd.py
REPLACE_PYTHON+= cmd/drecurse-cmd.py
@@ -87,11 +83,41 @@ REPLACE_PYTHON+= lib/tornado/wsgi.py
REPLACE_PYTHON+= main.py
REPLACE_PYTHON+= wvtest.py
REPLACE_PYTHON+= t/hardlink-sets
REPLACE_PYTHON+= t/id-other-than
REPLACE_PYTHON+= t/mksock
REPLACE_PYTHON+= t/root-status
REPLACE_PYTHON+= t/unknown-owner
SUBST_CLASSES+= python-c
SUBST_SED.python-c+= -e 's,python -c,${PYTHONBIN} -c,'
SUBST_STAGE.python-c= pre-configure
SUBST_FILES.python-c+= t/lib.sh
SUBST_FILES.python-c+= t/test-meta.sh
SUBST_MESSAGE.python-c= Fixing python executable in tests.
REPLACE_BASH+= cmd/import-rdiff-backup-cmd.sh
REPLACE_BASH+= t/compare-trees
REPLACE_BASH+= t/configure-sampledata
REPLACE_BASH+= t/force-delete
REPLACE_BASH+= t/subtree-hash
REPLACE_BASH+= t/test-cat-file.sh
REPLACE_BASH+= t/test-command-without-init-fails.sh
REPLACE_BASH+= t/test-index-check-device.sh
REPLACE_BASH+= t/test-meta.sh
REPLACE_BASH+= t/test-redundant-saves.sh
REPLACE_BASH+= t/test-restore-single-file.sh
REPLACE_BASH+= t/test-rm-between-index-and-save.sh
REPLACE_BASH+= t/test-save-creates-no-unrefs.sh
REPLACE_BASH+= t/test.sh
REPLACE_BASH+= wvtest-bup.sh
post-install:
${INSTALL_DATA} ${DOCDIR}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/DESIGN ${DESTDIR}${PREFIX}/share/doc/bup
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bup
.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2012/09/04 13:43:15 wiz Exp $
@comment $NetBSD: PLIST,v 1.4 2013/12/31 11:03:12 wiz Exp $
bin/bup
lib/bup/bup/__init__.py
lib/bup/bup/_helpers.so
@@ -10,6 +10,7 @@ lib/bup/bup/drecurse.py
lib/bup/bup/git.py
lib/bup/bup/hashsplit.py
lib/bup/bup/helpers.py
lib/bup/bup/hlinkdb.py
lib/bup/bup/index.py
lib/bup/bup/ls.py
lib/bup/bup/metadata.py
@@ -22,6 +23,7 @@ lib/bup/bup/vfs.py
lib/bup/bup/vint.py
lib/bup/bup/xstat.py
lib/bup/cmd/bup-bloom
lib/bup/cmd/bup-cat-file
lib/bup/cmd/bup-daemon
lib/bup/cmd/bup-damage
lib/bup/cmd/bup-drecurse
@@ -29,6 +31,7 @@ lib/bup/cmd/bup-fsck
lib/bup/cmd/bup-ftp
lib/bup/cmd/bup-fuse
lib/bup/cmd/bup-help
lib/bup/cmd/bup-import-rdiff-backup
lib/bup/cmd/bup-import-rsnapshot
lib/bup/cmd/bup-index
lib/bup/cmd/bup-init
@@ -74,6 +77,7 @@ lib/bup/tornado/wsgi.py
lib/bup/web/list-directory.html
lib/bup/web/static/styles.css
man/man1/bup-bloom.1
man/man1/bup-cat-file.1
man/man1/bup-daemon.1
man/man1/bup-damage.1
man/man1/bup-drecurse.1
@@ -81,6 +85,7 @@ man/man1/bup-fsck.1
man/man1/bup-ftp.1
man/man1/bup-fuse.1
man/man1/bup-help.1
man/man1/bup-import-rdiff-backup.1
man/man1/bup-import-rsnapshot.1
man/man1/bup-index.1
man/man1/bup-init.1

View File

@@ -1,11 +1,11 @@
$NetBSD: distinfo,v 1.3 2012/09/04 13:43:15 wiz Exp $
$NetBSD: distinfo,v 1.6 2014/03/19 17:50:00 gdt Exp $
SHA1 (bup-0.25rc1.tar.gz) = 96760b4cca5b4655cb79caaafd2ce2e70a242a7a
RMD160 (bup-0.25rc1.tar.gz) = 7663ee1f4288fa171ec292ff3e35bc6a9c3d4ec9
Size (bup-0.25rc1.tar.gz) = 360001 bytes
SHA1 (lelutin-bup-7e0bc2e.zip) = c4908ca4e1f3680089ef8d9bf3b7d1b6a01e0081
RMD160 (lelutin-bup-7e0bc2e.zip) = 9c2da9481dfc4129ba23f5022d08d62e484bf3e3
Size (lelutin-bup-7e0bc2e.zip) = 35533 bytes
SHA1 (patch-Makefile) = ad0dbee5a38e769c7941b5f19d91777ac769b13b
SHA1 (patch-config_configure) = 367c611762242e4f56e5ee2f4cea6aed95c62559
SHA1 (patch-lib_bup_helpers.py) = 894d9ee4b2882876a42f4afd63d82c284231a211
SHA1 (bup-0.25.tar.gz) = f32ba39582d0e8875632f282c54f7377ed2a4df9
RMD160 (bup-0.25.tar.gz) = d578dc87330c49090c25a212d6c5fe4561c8ad0c
Size (bup-0.25.tar.gz) = 399332 bytes
SHA1 (bup-man-0.25.zip) = cd76ad005e85aa568d95b9c2938d2716e3b03365
RMD160 (bup-man-0.25.zip) = 8d023cc394ae006ec1a24924176d72a52208558f
Size (bup-man-0.25.zip) = 40779 bytes
SHA1 (patch-Makefile) = b37a1f2d584c987430e948c5c04d97def8a5334c
SHA1 (patch-config_configure) = 9360a8be2cef559d93f1a5301f1f397f31da7d72
SHA1 (patch-lib_bup___helpers.c) = df146a325e4ca912552f09176a605c26267cfe8b

17
sysutils/bup/options.mk Normal file
View File

@@ -0,0 +1,17 @@
# $NetBSD: options.mk,v 1.1 2014/03/19 12:54:02 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bup
PKG_SUPPORTED_OPTIONS= fuse
# fuse is disabled by default because it doesn't build on Mac, ad
# because the fuse implementation in bup doesn't work on NetBSD.
# After it's fixed upstream, an OS-specific default is probably
# appropriate.
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfuse)
.include "../../filesystems/py-fuse-bindings/buildlink3.mk"
.endif

View File

@@ -1,13 +1,22 @@
$NetBSD: patch-Makefile,v 1.3 2012/09/04 13:43:15 wiz Exp $
$NetBSD: patch-Makefile,v 1.5 2014/03/19 13:15:13 gdt Exp $
Remove CFLAGS override (set from pkgsrc Makefile).
Pass PYTHON through to configure.
--- Makefile.orig 2011-06-09 03:24:45.000000000 +0000
--- Makefile.orig 2013-12-10 01:30:45.000000000 +0000
+++ Makefile
@@ -1,5 +1,5 @@
OS:=$(shell uname | sed 's/[-_].*//')
-CFLAGS:=-Wall -O2 -Werror $(PYINCLUDE)
+CFLAGS+=-Wall -O2 -Werror $(PYINCLUDE)
-CFLAGS := -Wall -O2 -Werror $(PYINCLUDE) $(CFLAGS)
+CFLAGS := -Wall -O2 -Werror -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS)
SOEXT:=.so
ifeq ($(OS),CYGWIN)
@@ -67,7 +67,7 @@ install: all
config/config.h: config/Makefile config/configure config/configure.inc \
$(wildcard config/*.in)
- cd config && $(MAKE) config.h
+ cd config && $(MAKE) PYTHON=$(PYTHON) config.h
lib/bup/_helpers$(SOEXT): \
config/config.h \

View File

@@ -1,25 +1,15 @@
$NetBSD: patch-config_configure,v 1.1 2012/09/04 13:43:15 wiz Exp $
$NetBSD: patch-config_configure,v 1.2 2013/12/31 11:03:12 wiz Exp $
Use PYTHON from environment.
Do not check for utimensat. It is found on NetBSD even though unusable
for now (20120827).
Use PYTHON passed through from Makefile.
--- config/configure.orig 2011-06-09 03:24:45.000000000 +0000
--- config/configure.orig 2013-11-11 08:52:33.000000000 +0000
+++ config/configure
@@ -30,7 +30,7 @@ expr "$MAKE_VERSION" '>=' '3.81' || AC_F
TLOG " ok"
TLOGN "checking the python"
-PYTHON=`acLookFor python`
+[ -n "$PYTHON" ] || PYTHON=`acLookFor python`
if [ -z "$PYTHON" ]; then
AC_FAIL " Cannot find python";
@@ -42,7 +42,7 @@ if [ -z "$MAKE_VERSION" ]; then
fi
@@ -59,7 +59,6 @@ AC_CHECK_HEADERS unistd.h
AC_CHECK_HEADERS linux/fs.h
AC_CHECK_HEADERS sys/ioctl.h
expr "$MAKE_VERSION" '>=' '3.81' || AC_FAIL "ERROR: $MAKE must be >= version 3.81"
-AC_CHECK_FUNCS utimensat
AC_CHECK_FUNCS utimes
AC_CHECK_FUNCS lutimes
-if test -z "$(bup_find_prog python '')"; then
+if test -z "$(bup_find_prog python "$PYTHON")"; then
AC_FAIL "ERROR: unable to find python"
fi

View File

@@ -0,0 +1,51 @@
$NetBSD: patch-lib_bup___helpers.c,v 1.2 2014/03/19 17:50:00 gdt Exp $
First and third hunks are from upstream.
Second hunk is to work around broken utimensat in NetBSD 6.
Should be applied upstream.
--- lib/bup/_helpers.c.orig 2013-12-10 01:30:45.000000000 +0000
+++ lib/bup/_helpers.c
@@ -96,6 +96,8 @@ static void unpythonize_argv(void)
#endif // not __WIN32__ or __CYGWIN__
+// At the moment any code that calls INTGER_TO_PY() will have to
+// disable -Wtautological-compare for clang. See below.
static PyObject *selftest(PyObject *self, PyObject *args)
{
@@ -763,6 +765,14 @@ static PyObject *bup_set_linux_file_attr
#endif /* def BUP_HAVE_FILE_ATTRS */
+/*
+ * Check for defective UTIMENSAT support (NetBSD 6), and if so,
+ * pretend we don't have it.
+ */
+#if !defined(AT_FDCWD) || !defined(AT_SYMLINK_NOFOLLOW)
+#undef HAVE_UTIMENSAT
+#endif
+
#if defined(HAVE_UTIMENSAT) || defined(HAVE_FUTIMES) || defined(HAVE_LUTIMES)
static int bup_parse_xutime_args(char **path,
@@ -990,6 +1000,9 @@ static int normalize_timespec_values(con
(((x) >= 0) ? PyLong_FromUnsignedLongLong(x) : PyLong_FromLongLong(x))
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wtautological-compare" // For INTEGER_TO_PY().
+
static PyObject *stat_struct_to_py(const struct stat *st,
const char *filename,
int fd)
@@ -1028,6 +1041,7 @@ static PyObject *stat_struct_to_py(const
(long) ctime_ns);
}
+#pragma clang diagnostic pop // ignored "-Wtautological-compare"
static PyObject *bup_stat(PyObject *self, PyObject *args)
{

View File

@@ -1,27 +0,0 @@
$NetBSD: patch-lib_bup_helpers.py,v 1.1 2012/09/04 13:43:15 wiz Exp $
Survive empty GECOS name fields.
Reported-by: Alper Kanat
Tested-by: Michael Witten
Signed-off-by: Michael Witten
---
lib/bup/helpers.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- lib/bup/helpers.py.orig 2011-06-09 03:24:45.000000000 +0000
+++ lib/bup/helpers.py
@@ -231,9 +231,11 @@ def userfullname():
if not _userfullname:
uid = os.getuid()
try:
- _userfullname = pwd.getpwuid(uid)[4].split(',')[0]
- except KeyError:
- _userfullname = 'user%d' % uid
+ entry = pwd.getpwuid(uid)
+ _userfullname = entry[4].split(',')[0] or entry[0]
+ finally:
+ if not _userfullname:
+ _userfullname = 'user %d' % uid
return _userfullname

View File

@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.24 2013/05/09 07:40:30 adam Exp $
# $NetBSD: Makefile,v 1.25 2013/10/19 09:07:11 adam Exp $
#
DISTNAME= burn-0.4.1
PKGREVISION= 4
PKGREVISION= 5
CATEGORIES= sysutils gnustep
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsburn/}

View File

@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.16 2013/02/11 04:17:38 taca Exp $
# $NetBSD: Makefile,v 1.19 2014/03/26 13:29:09 taca Exp $
DISTNAME= capistrano-2.14.2
DISTNAME= capistrano-3.1.0
CATEGORIES= sysutils
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -8,11 +8,10 @@ HOMEPAGE= http://github.com/capistrano/capistrano
COMMENT= Tool for parallel execution of commands across multiple machines
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-net-ssh>=2.0.14:../../security/ruby-net-ssh
DEPENDS+= ${RUBY_PKGPREFIX}-net-ssh-gateway>=1.1.0:../../security/ruby-net-ssh-gateway
DEPENDS+= ${RUBY_PKGPREFIX}-net-sftp>=2.0.0:../../security/ruby-net-sftp
DEPENDS+= ${RUBY_PKGPREFIX}-net-scp>=1.0.0:../../security/ruby-net-scp
DEPENDS+= ${RUBY_PKGPREFIX}-highline>=0:../../devel/ruby-highline
DEPENDS+= ${RUBY_PKGPREFIX}-sshkit>=1.3:../../security/ruby-sshkit
DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=0:../../devel/ruby-i18n
USE_RAKE= YES
CONFLICTS+= ruby[1-9][0-9]-capistrano-[0-9]* capistrano-[0-9]*

View File

@@ -1,122 +1,88 @@
@comment $NetBSD: PLIST,v 1.11 2013/02/11 04:17:38 taca Exp $
@comment $NetBSD: PLIST,v 1.13 2014/03/14 18:01:03 taca Exp $
bin/cap
bin/capify
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/CHANGELOG
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/CONTRIBUTING.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/LICENSE.txt
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/bin/cap
${GEM_LIBDIR}/bin/capify
${GEM_LIBDIR}/capistrano-public_cert.pem
${GEM_LIBDIR}/capistrano.gemspec
${GEM_LIBDIR}/features/configuration.feature
${GEM_LIBDIR}/features/deploy.feature
${GEM_LIBDIR}/features/deploy_failure.feature
${GEM_LIBDIR}/features/installation.feature
${GEM_LIBDIR}/features/remote_file_task.feature
${GEM_LIBDIR}/features/step_definitions/assertions.rb
${GEM_LIBDIR}/features/step_definitions/cap_commands.rb
${GEM_LIBDIR}/features/step_definitions/setup.rb
${GEM_LIBDIR}/features/support/env.rb
${GEM_LIBDIR}/features/support/remote_command_helpers.rb
${GEM_LIBDIR}/lib/Capfile
${GEM_LIBDIR}/lib/capistrano.rb
${GEM_LIBDIR}/lib/capistrano/callback.rb
${GEM_LIBDIR}/lib/capistrano/cli.rb
${GEM_LIBDIR}/lib/capistrano/cli/execute.rb
${GEM_LIBDIR}/lib/capistrano/cli/help.rb
${GEM_LIBDIR}/lib/capistrano/cli/help.txt
${GEM_LIBDIR}/lib/capistrano/cli/options.rb
${GEM_LIBDIR}/lib/capistrano/cli/ui.rb
${GEM_LIBDIR}/lib/capistrano/command.rb
${GEM_LIBDIR}/lib/capistrano/all.rb
${GEM_LIBDIR}/lib/capistrano/application.rb
${GEM_LIBDIR}/lib/capistrano/configuration.rb
${GEM_LIBDIR}/lib/capistrano/configuration/actions/file_transfer.rb
${GEM_LIBDIR}/lib/capistrano/configuration/actions/inspect.rb
${GEM_LIBDIR}/lib/capistrano/configuration/actions/invocation.rb
${GEM_LIBDIR}/lib/capistrano/configuration/alias_task.rb
${GEM_LIBDIR}/lib/capistrano/configuration/callbacks.rb
${GEM_LIBDIR}/lib/capistrano/configuration/connections.rb
${GEM_LIBDIR}/lib/capistrano/configuration/execution.rb
${GEM_LIBDIR}/lib/capistrano/configuration/loading.rb
${GEM_LIBDIR}/lib/capistrano/configuration/log_formatters.rb
${GEM_LIBDIR}/lib/capistrano/configuration/namespaces.rb
${GEM_LIBDIR}/lib/capistrano/configuration/roles.rb
${GEM_LIBDIR}/lib/capistrano/configuration/question.rb
${GEM_LIBDIR}/lib/capistrano/configuration/server.rb
${GEM_LIBDIR}/lib/capistrano/configuration/servers.rb
${GEM_LIBDIR}/lib/capistrano/configuration/variables.rb
${GEM_LIBDIR}/lib/capistrano/errors.rb
${GEM_LIBDIR}/lib/capistrano/ext/multistage.rb
${GEM_LIBDIR}/lib/capistrano/ext/string.rb
${GEM_LIBDIR}/lib/capistrano/extensions.rb
${GEM_LIBDIR}/lib/capistrano/fix_rake_deprecated_dsl.rb
${GEM_LIBDIR}/lib/capistrano/logger.rb
${GEM_LIBDIR}/lib/capistrano/processable.rb
${GEM_LIBDIR}/lib/capistrano/recipes/compat.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/assets.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/dependencies.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/local_dependency.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/remote_dependency.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/accurev.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/base.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/bzr.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/cvs.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/darcs.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/git.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/mercurial.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/none.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/perforce.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/scm/subversion.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/base.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/checkout.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/copy.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/export.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/remote.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/remote_cache.rb
${GEM_LIBDIR}/lib/capistrano/recipes/deploy/strategy/unshared_remote_cache.rb
${GEM_LIBDIR}/lib/capistrano/recipes/standard.rb
${GEM_LIBDIR}/lib/capistrano/role.rb
${GEM_LIBDIR}/lib/capistrano/server_definition.rb
${GEM_LIBDIR}/lib/capistrano/shell.rb
${GEM_LIBDIR}/lib/capistrano/ssh.rb
${GEM_LIBDIR}/lib/capistrano/task_definition.rb
${GEM_LIBDIR}/lib/capistrano/transfer.rb
${GEM_LIBDIR}/lib/capistrano/configuration/servers/host_filter.rb
${GEM_LIBDIR}/lib/capistrano/configuration/servers/role_filter.rb
${GEM_LIBDIR}/lib/capistrano/console.rb
${GEM_LIBDIR}/lib/capistrano/defaults.rb
${GEM_LIBDIR}/lib/capistrano/deploy.rb
${GEM_LIBDIR}/lib/capistrano/dotfile.rb
${GEM_LIBDIR}/lib/capistrano/dsl.rb
${GEM_LIBDIR}/lib/capistrano/dsl/env.rb
${GEM_LIBDIR}/lib/capistrano/dsl/paths.rb
${GEM_LIBDIR}/lib/capistrano/dsl/stages.rb
${GEM_LIBDIR}/lib/capistrano/dsl/task_enhancements.rb
${GEM_LIBDIR}/lib/capistrano/framework.rb
${GEM_LIBDIR}/lib/capistrano/git.rb
${GEM_LIBDIR}/lib/capistrano/hg.rb
${GEM_LIBDIR}/lib/capistrano/i18n.rb
${GEM_LIBDIR}/lib/capistrano/install.rb
${GEM_LIBDIR}/lib/capistrano/scm.rb
${GEM_LIBDIR}/lib/capistrano/setup.rb
${GEM_LIBDIR}/lib/capistrano/tasks/console.rake
${GEM_LIBDIR}/lib/capistrano/tasks/deploy.rake
${GEM_LIBDIR}/lib/capistrano/tasks/framework.rake
${GEM_LIBDIR}/lib/capistrano/tasks/git.rake
${GEM_LIBDIR}/lib/capistrano/tasks/hg.rake
${GEM_LIBDIR}/lib/capistrano/tasks/install.rake
${GEM_LIBDIR}/lib/capistrano/templates/Capfile
${GEM_LIBDIR}/lib/capistrano/templates/deploy.rb.erb
${GEM_LIBDIR}/lib/capistrano/templates/stage.rb.erb
${GEM_LIBDIR}/lib/capistrano/version.rb
${GEM_LIBDIR}/test/cli/execute_test.rb
${GEM_LIBDIR}/test/cli/help_test.rb
${GEM_LIBDIR}/test/cli/options_test.rb
${GEM_LIBDIR}/test/cli/ui_test.rb
${GEM_LIBDIR}/test/cli_test.rb
${GEM_LIBDIR}/test/command_test.rb
${GEM_LIBDIR}/test/configuration/actions/file_transfer_test.rb
${GEM_LIBDIR}/test/configuration/actions/inspect_test.rb
${GEM_LIBDIR}/test/configuration/actions/invocation_test.rb
${GEM_LIBDIR}/test/configuration/alias_task_test.rb
${GEM_LIBDIR}/test/configuration/callbacks_test.rb
${GEM_LIBDIR}/test/configuration/connections_test.rb
${GEM_LIBDIR}/test/configuration/execution_test.rb
${GEM_LIBDIR}/test/configuration/loading_test.rb
${GEM_LIBDIR}/test/configuration/namespace_dsl_test.rb
${GEM_LIBDIR}/test/configuration/roles_test.rb
${GEM_LIBDIR}/test/configuration/servers_test.rb
${GEM_LIBDIR}/test/configuration/variables_test.rb
${GEM_LIBDIR}/test/configuration_test.rb
${GEM_LIBDIR}/test/deploy/local_dependency_test.rb
${GEM_LIBDIR}/test/deploy/remote_dependency_test.rb
${GEM_LIBDIR}/test/deploy/scm/accurev_test.rb
${GEM_LIBDIR}/test/deploy/scm/base_test.rb
${GEM_LIBDIR}/test/deploy/scm/bzr_test.rb
${GEM_LIBDIR}/test/deploy/scm/darcs_test.rb
${GEM_LIBDIR}/test/deploy/scm/git_test.rb
${GEM_LIBDIR}/test/deploy/scm/mercurial_test.rb
${GEM_LIBDIR}/test/deploy/scm/none_test.rb
${GEM_LIBDIR}/test/deploy/scm/perforce_test.rb
${GEM_LIBDIR}/test/deploy/scm/subversion_test.rb
${GEM_LIBDIR}/test/deploy/strategy/copy_test.rb
${GEM_LIBDIR}/test/extensions_test.rb
${GEM_LIBDIR}/test/fixtures/cli_integration.rb
${GEM_LIBDIR}/test/fixtures/config.rb
${GEM_LIBDIR}/test/fixtures/custom.rb
${GEM_LIBDIR}/test/logger_formatting_test.rb
${GEM_LIBDIR}/test/logger_test.rb
${GEM_LIBDIR}/test/recipes_test.rb
${GEM_LIBDIR}/test/role_test.rb
${GEM_LIBDIR}/test/server_definition_test.rb
${GEM_LIBDIR}/test/shell_test.rb
${GEM_LIBDIR}/test/ssh_test.rb
${GEM_LIBDIR}/test/task_definition_test.rb
${GEM_LIBDIR}/test/transfer_test.rb
${GEM_LIBDIR}/test/utils.rb
${GEM_LIBDIR}/lib/capistrano/version_validator.rb
${GEM_LIBDIR}/spec/integration/dsl_spec.rb
${GEM_LIBDIR}/spec/integration_spec_helper.rb
${GEM_LIBDIR}/spec/lib/capistrano/application_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/configuration/question_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/configuration/server_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/configuration/servers/host_filter_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/configuration/servers/role_filter_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/configuration/servers_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/configuration_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/dsl/paths_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/dsl_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/git_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/hg_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/scm_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano/version_validator_spec.rb
${GEM_LIBDIR}/spec/lib/capistrano_spec.rb
${GEM_LIBDIR}/spec/spec_helper.rb
${GEM_LIBDIR}/spec/support/.gitignore
${GEM_LIBDIR}/spec/support/Vagrantfile
${GEM_LIBDIR}/spec/support/matchers.rb
${GEM_LIBDIR}/spec/support/tasks/database.cap
${GEM_LIBDIR}/spec/support/tasks/fail.cap
${GEM_LIBDIR}/spec/support/tasks/failed.cap
${GEM_LIBDIR}/spec/support/test_app.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View File

@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.12 2013/02/11 04:17:38 taca Exp $
$NetBSD: distinfo,v 1.14 2014/03/14 18:01:03 taca Exp $
SHA1 (capistrano-2.14.2.gem) = bf6b288980a93b255fd6467c7a49f361c10bdf87
RMD160 (capistrano-2.14.2.gem) = 3c1460bb2241efe0b5a1fe1c095f016f4a3d5ab3
Size (capistrano-2.14.2.gem) = 126464 bytes
SHA1 (capistrano-3.1.0.gem) = ec183fb162c638c62d1f742a21291dd094001003
RMD160 (capistrano-3.1.0.gem) = 13726c093a4796ad533dbb9d6f9d279bdb8d29ef
Size (capistrano-3.1.0.gem) = 38400 bytes

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2012/10/23 19:50:54 asau Exp $
# $NetBSD: Makefile,v 1.12 2014/02/16 01:08:00 wiedi Exp $
DISTNAME= ccze-0.2.1
PKGREVISION= 2
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
USE_TOOLS+= gmake
BUILDLINK_TRANSFORM+= rm:-Wmulticharacter
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2013/05/31 12:41:59 wiz Exp $
# $NetBSD: Makefile,v 1.10 2014/01/09 14:42:54 jperkin Exp $
#
DISTNAME= cdrkit-1.1.9
@@ -19,5 +19,7 @@ CMAKE_ARGS+= -DMANSUBDIR=${PKGMANDIR}
REPLACE_PERL= 3rd-party/dirsplit/dirsplit
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.96 2013/06/03 08:13:13 wiz Exp $
# $NetBSD: Makefile,v 1.106 2014/03/12 09:20:06 wiz Exp $
DISTNAME= cdrtools-3.01a15
DISTNAME= cdrtools-3.01a23
PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/}
CATEGORIES= sysutils
#MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/ \
@@ -27,6 +27,18 @@ USE_TOOLS+= gm4 gmake tbl
CFLAGS.NetBSD+= -DUSE_GETRAWPARTITION
LDFLAGS.NetBSD+= -lutil
# NetBSD 6.0 (and update releases) have incomplete implemenations of the
# "*at" system calls. Pretend that they aren't present at all to
# avoid build failures.
.if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \
empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*)
. for func in faccessat fchmodat fchownat fexecve fstatat linkat mkdirat \
mkfifoat mknodat openat readlinkat renameat symlinkat unlinkat \
utimensat
CONFIGURE_ENV+= ac_cv_func_${func}=no
. endfor
.endif
# avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""
MAKE_ENV+= MAKEPROG="gmake"

View File

@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.74 2013/06/03 08:13:13 wiz Exp $
$NetBSD: distinfo,v 1.82 2014/03/12 09:20:06 wiz Exp $
SHA1 (cdrtools-3.01a15.tar.bz2) = b0b9a8184e8c3520b07e5f884f364dd6795e4dc3
RMD160 (cdrtools-3.01a15.tar.bz2) = 460ab215daa0027e323ad05c9a1669c27a122231
Size (cdrtools-3.01a15.tar.bz2) = 2058342 bytes
SHA1 (cdrtools-3.01a23.tar.bz2) = 0539be5cb1ca27754608a1ddf5b36c8587cc5ae4
RMD160 (cdrtools-3.01a23.tar.bz2) = f6b6cd4c339a92aa78743176f53d3bb9164b527c
Size (cdrtools-3.01a23.tar.bz2) = 2068254 bytes
SHA1 (patch-include_schily_sha2.h) = dab2dd40b20a37f1f2ff8cbd64f8361e800e1753

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.37 2013/05/31 12:41:59 wiz Exp $
# $NetBSD: Makefile,v 1.38 2014/02/12 23:18:38 tron Exp $
DISTNAME= cfengine-2.2.10
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= sysutils net
MASTER_SITES= http://www.cfengine.org/tarballs/ \
http://ftp.osuosl.org/pub/cfengine/ \

View File

@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.13 2009/06/14 18:16:02 joerg Exp $
@comment $NetBSD: PLIST,v 1.14 2014/03/11 14:05:15 jperkin Exp $
lib/libcfengine.la
man/man8/cfagent.8
man/man8/cfengine.8
@@ -51,6 +51,3 @@ share/examples/cfengine/cfrc.example
share/examples/cfengine/cfrun.hosts.example
share/examples/cfengine/cfservd.conf.example
share/examples/cfengine/update.conf.example
share/examples/rc.d/cfenvd
share/examples/rc.d/cfexecd
share/examples/rc.d/cfservd

Some files were not shown because too many files have changed in this diff Show More