summaryrefslogtreecommitdiff
path: root/sysutils
AgeCommit message (Collapse)AuthorFilesLines
2012-08-07Update sysutils/amtterm to 1.3msaitoh3-7/+24
make a patch to skip EAGAIN of read(2).
2012-08-06Update sysutils/fabric to 1.4.3gls2-6/+6
Upstream changes: ----------------- 2012-07-06: released Fabric 1.4.3 2012-07-06: released Fabric 1.3.8 [Bug] #671: reject_unknown_hosts sometimes resulted in a password prompt instead of an abort. This has been fixed. Thanks to Roy Smith for the report. [Bug] #659: Update docs to reflect that local currently honors env.path. Thanks to @floledermann for the catch. [Bug] #652: Show available commands when aborting on invalid command names. [Support] #651: Added note about nesting with statements on Python 2.6+. Thanks to Jens Rantil for the patch. [Bug] #649: Don?t swallow non-abort-driven exceptions in parallel mode. Fabric correctly printed such exceptions, and returned them from execute, but did not actually cause the child or parent processes to halt with a nonzero status. This has been fixed. execute now also honors env.warn_only so users may still opt to call it by hand and inspect the returned exceptions, instead of encountering a hard stop. Thanks to Matt Robenolt for the catch. [Support] #645: Update Sphinx docs to work well when run out of a source tarball as opposed to a Git checkout. Thanks again to @Arfrever for the catch. [Support] #640: (also #644) Update packaging manifest so sdist tarballs include all necessary test & doc files. Thanks to Mike Gilbert and @Arfrever for catch & patch. [Support] #634: Clarified that lcd does no special handling re: the user?s current working directory, and thus relative paths given to it will be relative to os.getcwd(). Thanks to @techtonik for the catch.
2012-08-06Add and enable sysupgrade.jmmv1-1/+2
2012-08-06Initial addition of sysupgrade, version 1.0:jmmv14-0/+3278
sysupgrade is a script to automate NetBSD system upgrades. sysupgrade works by first fetching distribution sets from a specified site or local directory, then by upgrading the system using such distribution sets and later by ensuring that the system configuration is up to date. All the process is controlled by a configuration file, and the defaults should suit the most common NetBSD upgrades. sysupgrade can be used to perform upgrades across different system major and/or minor versions, and it can also be used to track a stable or development branch from the CVS repository. sysbuild is the perfect companion to sysupgrade in those cases where you want to roll your own binaries: both utilities share a very similar command-line and configuration interface, and the default configuration files provide examples on how to integrate one with the other. A few notes about the import: Right after I submitted sysbuild, I was pointed at etcmanage and its scripts to build and upgrade NetBSD. I am sending this anyway because 1) it matches sysbuild's behavior closely, 2) it has a detailed manual page, 3) it has tests... and, well, 4) I had already written most of it at that time and didn't want to throw it away! The config and utils modules in this import are a duplicate of the code in sysbuild, with a few tweaks. This is really bad and the code should be deduplicated somehow. I'm not sure what the best way of doing so is and can only think about introducing a common base package with the shared code (which brings its own problems). I have tested this to upgrade both -current and 6.0_BETA2 to newer snapshots, both from local and remote release files.
2012-08-04Disallow python-2.5 because configure complains it is too old.wiz1-2/+3
2012-08-02Add support for binary data in /proc/self on Illumos, seefhajny4-2/+64
https://github.com/puppetlabs/facter/pull/249. Bump PKGREVISION.
2012-08-01update to 1.1.1drochner5-37/+43
supports Python3x
2012-08-01+dbus-python-commondrochner1-1/+2
2012-08-01put the Python version independant files from py-dbus into an own pkg,drochner5-0/+79
to allow coexistence of py-dbus for different Python versions
2012-08-01update to 0.100drochner3-18/+9
no useful changelog found, apparently fixes and cleanups (The previous version was too ols for newer Python bindings.)
2012-08-01update to 1.6.4drochner17-748/+151
this is a step of two major branches, to much to list here pkgsrc notes: -I've left out our NETBSD_ATOMIC_OPS patch because it is very invasive and gcc intrinsics are hopefully good enough -A workaround for non-standard behavior of vsnprintf has been added upstream, for HPUX as the comment says. We had a patch for __hpux||__sgi which is removed now - the sgi case should be checked.
2012-08-01Slightly simplify build process.asau1-5/+5
2012-08-01Use default WRKSRC.asau1-3/+1
2012-07-30Update amanda to 3.3.1sbd67-1868/+943
Changes in release 3.3.1 * amrecover o New 'settransalte' command. * amanda.conf o new '$s' substitution in autolabel. o new 'max-dle-by-volume' global option. o new 'eject-volume' global option. * diskfile o new 'includefile' option. * amcheck o new '--client-verbose' argument. * All programs have a new '--version' argument. * ampgsql can take property from server configuration. * amgetconf can print one property of a section. * s3 device o new S3_SERVER_SIDE_ENCRYPTION property. o use multiple thread to speedup deleting a volume. * Many bug fix. Changes in release 3.3.0 * The default auth is changed to "bsdtcp", if you are using the default bsd then you must add it to your configuration. o in amanda.conf o in amanda-client.conf o in dumptype/disklist o in xinetd (if no '-auth' argument to amandad) * amdump trap crtl-c, it still send the report and do cleanup if you do one crtl-c, do it more than once to abort the run. * s3 device o use multiple threads to speedup the transfer o can connect to eucalytus. o new NB_THREADS_BACKUP property o new NB_THREADS_RECOVERY property o new S3_HOST property o new S3_SERVICE_PATH property o new S3_SUBDOMAIN property * chg-aggregate: new changer that use other changer sequentially. * meta-volume * Add meta label in tapelist file * chg-disk: o support for removable disk o new NUM-SLOT property o new AUTO-CREATE-SLOT property o new REMOVABLE property o new MOUNT property o new UMOUNT property o new UMOUNT-LOCKFILE property o new UMOUNT-IDLE property * new taperscan algorithm: o oldest: this algorithm try to run through the volumes in the oldest order o lexical: this algorithm try to run through the volumes in the natural order * Change in amanda.conf o new meta-autolabel option o autolabel can include org, config, barcode, meta in the label o new client-name option in appication and script. * application and script in amanda-client.conf can be used to set default properties for application or script. * amlabel o The label argument is no longer required, an autolabel can be generated o new --meta option o new --barcode option o new --assign option * amgtar, amstar: The path must be specified, it will not works with a device. * amrecover: decompression and decryption are now done on the client if compression/encryption was done on the client. * amtape: inventory print the current slot * amanda.conf: o autoflush have value "no|yes|all" o script have single-execution setting. o Add pre-amcheck, post-amcheck, pre-estimate, post-estimate, pre-backup and post-backup to execute-on of script. o Add taperscan and interactivity section. o add 'server' value in recovery-limit. o add dump-limit in a dumptype. * amanda-client.conf o add amdump-server setting. * script are searched in $APPLICATION_DIR, $CONFIG_DIR/<conf>/application and $CONFIG_DIR/application * amservice o add -s argument o is also installed on client * new amdumpd server service, if enable, it allow client to start a backup of itself. * new amdump_client program, it is use on client to start a backup of itself * implement restore command amzfs-sendrecv, it can be use with amrecover. Changes in release 3.2.2 * Do not restore the NUL padding bytes, some program fail with them. * Fix driver doing nothing if taper crash early. * Fix taperalog *FIT no going to second volume. * Fix amrestore '-p' not going to next file. * flush even if flush threshold are not met if it save tape space. * fix crash in amtrmidx due to memory leak. * amsamba use 'Use smbclient -TF' for restore. Changes in release 3.2.1 * barcode are added to the tapelist file. * Faster 'amadmin find', improve speed on many programs. * device-output-buffer-size default to a minimum of 4*block_size. * ssh auth use the client-port * Bug fixed: o "Can't opendata output stream: Connection refused". o Better handling of dump to tape. o Corrupted 'amdump' log file, amstatus not showing correct state. o Execute subprocess with the config overwrite. o tape-device allow to set LEOM. o Crash in robot changer. o Script output property are not sent to application. Changes in release 3.2.0 * Support for multiple simultaneous writes to storage devices o Can write to all available drives in parallel. o Works only with the new changer API. o Useful if two or more volumes are used in a single run. o dump direct to tape can be scheduled any time during the run, previously they were done sequencially after all dump to holding disk. o enabled with the new 'taper-parallel-write' configuration option. * Support for LEOM in storage devices o allows splitting without partial parts, saving space o much more efficient, since parts need not be cached on disk in most cases * new, simpler splitting commands in the tapetype section: part-size, part-cache-type, part-cache-dir, part-cache-max-size; see amanda.conf(5) for details * Amanda server configuration file changes (amanda.conf) o new configuration keyword: + taper-parallel-write -- How many drive amanda can write to in parallel. o deprecated configuration keywords: + amrecover_do_fsf + amrecover_check_label * the CONFIG parameter to amidxtaped is now required; this means that versions of amrecover older than 2.4.3 will be unable to recover from servers running Amanda-3.2 and later. * The new dumptype and global parameters 'recovery-limit' can be used to limit which hosts may recover from a particular DLE. See amanda.conf(5) and amanda-auth(7) for more information. * Several old changers have been removed - these changers will work with Amanda for the forseeable future, but are no longer included in the distribution. o chg-chio o chg-chs o chg-iomega o chg-juke o chg-mcutil o chg-mtx o chg-null (use the new "chg-null:") o chg-rait (use the new "chg-rait:{dev1,dev2}") o chg-rth o chg-scsi-chio o chg-scsi * Amdump change: o new '--no-taper' option to start the run in degraded mode * Amvault is much improved, but still experimental: o supports assembling split parts on the source volume and re-splitting them on the destination o supports filtering dumps with the same syntax as amfetchdump o a --fulls-only option skips all incremental dumps on the source o an --export option tries to move tertiary volumes to import/export slots when completed o command-line syntax has changed incompatibly; see manpage or 'amvault --help' * Rewritten and improved: o amoverview o amcheckdump Changes in release 3.1.0 * Deprecated old changers; see amanda-changers(7) for replacements. These changers are still available in the distribution, but will be removed in a future release. o chg-null o chg-zd-mtx o chg-rait o chg-disk o chg-multi * Although chg-zd-mtx is still supported, we recommend that all users upgrade to the more efficient chg-robot. See contrib/convert-zd-mtx-to-robot.sh for a useful conversion script. * Amanda server configuration file changes (amanda.conf) o deprecated configuration keywords: + label_new_tapes o keywords deprecated in 2.6.1: + rawtapedev + tapebufs + file-pad o new configuration keyword + autolabel -- replace label_new_tapes + columnspec -- can specify a precision. + order -- in script, to specify script order execution. + client_port -- in dumptype, to specify which port to connect on the client. + estimate -- in dumptype, can specify multiple estimate method. o accept 'define' keyword for defining an holdingdisk * Amanda client configuration file changes (amanda-client.conf) o new configuration keyword + debug_days -- how many days to keep debug files. + client_port -- use by amrecover, specify which port to connect on the server. * Removed compile-time default --with-changer-device: specify a device explicitly in amanda.conf instead * amtape behavior has changed: o 'device' subcommand removed o 'slot advance' subcommand removed o 'update' subcommand no longer displays each slot as it is updated, and is not supported by all changers o taperscan output has changed o new 'inventory' subcommand * amrmtape rewrite o use long option + --changer -- Specify which changer to use + --cleanup -- Remove logs and indexes associated with label + --dryrun -- do not update the original copies. + --erase -- Attempt to erase the data contained on the volume + --keep-label -- Do not remove label from the tapelist + --quiet -- Opposite of --verbose + --verbose -- List backups of hosts and disks that are being discarded. * amdevcheck o new --label option. o new --properties option. * Device API o changed wildcard setting for S3_BUCKET_LOCATION from "" to "*" o new 'ndmp:' device to write to a tape on an ndmp server. o new 'dvdrw:' device to write to a dvd drive. * Application API o new properties to many applications o amgtar + new ACLS, SELINUX and XATTRS properties o amsamba + Allow '\' in diskname and amandapass. + new ALLOW-ANONYMOUS property. o new applications: + ampgsql -- Backup PostgreSQL using continuous WAL archiving + amsuntar -- Backup filesytem with the SUN tar + amraw -- Backup only one directory entry * New taper, with DirectTCP support, changed tape and catalog format: o all dumpfiles are now F_SPLIT_DUMPFILE o all on-tape dumpfiles have numparts=-1, since it's no longer possible to calculate this value in advance o there is no logging or reporting of zero-byte, successful parts (this may cause gaps in filenums in the catalog) * Redesigned amreport o much more natural command-line interface (just run 'amreport $config') o experimental XML output * configuration override for dumptype works with inheritance. Changes in release 2.6.1p2 * amtapetype: new -p option * Bugs fixed o S3 device driver o amcheckdump o file not removed from holding disk o sendbackup compatibility with a 2.4.2 server o handle EROFS error from tape device. o zfs snapshot name us the diskname. o fix fd allocation in amandad o crash in amflush Changes in release 2.6.1p1 * amplot: better output * Don't include genversion.h in distribution tarballs. * Bugs fixed o S3 device driver o rait device driver o amstatus o configure o application-api o compilation on some platform o others small bug Changes in release 2.6.1 * Amanda server configuration file changes (amanda.conf) o deprecated configuration keywords: + rawtapedev + tapebufs + file-pad * Application API: Allow to easily write wrappers around any backup program, See the 'amanda-applications' man page. o amgtar: Use GNU tar, it is a lot more configurable than the GNUTAR program. See 'amgtar' man page. o amstar: Use star to do a backup, it work only on a partition. See 'amstar' man page. o amsamba: Use smbclient to backup a cifs share, see amsamba man page. o amzfs-sendrecv: Do a backup of a ZFS filesystem with 'zfs send'. * Script API: Allow to run script before and after amanda process, see the 'amanda-scripts' man page. o amzfs-snapshot: Do a snapshot of a ZFS filesystem, then 'amgtar' application will backup the snapshot. See 'amzfs-snapshot' man page. o script-email: Simple script to send email. see 'script-email' man page. * Changer API v2.0: perl-based changer interface supporting concurrent use of multiple devices and changers. o currently operating in "compatibility mode," calling old changer shell scripts. o under active development. * Xfer API: generic library to move and filter data with maximal efficiency o can read from and write to arbitrary devices, files, etc. o only used in some applications. * Amanda archive format: A simple archive format that an application can use to create backup image. * 'amarchiver' program to manipulate file in amanda archive format. * Many improvements to report better error message to user. * amtape subcommands 'slot prev' and 'slot last' are removed. * Dozens more perl libraries, with more stable interfaces. * Many bugs fixed and improvement. * amgetconf '--client' option to retrieve config from amanda-client.conf on a client. * Amanda configuration file changes o new application-tool section o new script-tool section o new device section o new changer section Changes in release 2.6.0 * configure --disable-shared doesn't work because perl modules require shared libraries. Use configure --with-static-binaries to build statically linked binaries. * 'amverify' and 'amverifyrun' are deprecated and replaced with the new, more flexible 'amcheckdump' * 'amdd' and 'ammt' are deprecated. * Some Amanda files are now installed in new "amanda/" subdirectories: libraries are now installed in $libdir/amanda and internal programs are now installed in $libexecdir/amanda. * The amandates file, previously at /etc/amandates, is now at $localstatedir/amanda/amandates. You may want to move your existing /etc/amandates when you upgrade Amanda. * New 'amcryptsimple', 'amgpgcrypt' - encryption plugins based on gpg. * New 'amserverconfig', 'amaddclient' - Initial Amanda configuration tools these tools make assumptions, please see man page. * Many bugs fixed and code rewrite/cleanup * glib is required to compile and run amanda. * Device API: pluggable interface to storage devices, supporting tapes, vtapes, RAIT, and Amazon S3 * New perl modules link directly to Amanda, to support writing Amanda applications in Perl. Perl module are installed by default in the perl installsitelib directory. It can be changed with 'configure --with-amperldir'. * New 'local' security driver supports backups of the amanda server without any network connection or other configuration. * Almost 200 unit tests are available via 'make installcheck'. * Amanda configuration file changes o amanda.conf changes + flush-threshold-dumped + flush-threshold-scheduled + taperflush + device_property + usetimestamps default to yes
2012-07-30Use find-prefix.mk for the gnuplot prefix.sbd1-2/+5
2012-07-30Add SPECIAL_PERMS entries for binaries the need special perms.sbd5-10/+22
Because of the above change switch all amanda packages to user-destdir support.
2012-07-30+ Change the AMANADA_USER to 'amandabackup' to be consistent with othersbd2-4/+5
packages (and because I think its a good idea). + Set the AMANDA_USER's home directory to AMANDA_VAR. + Update the AMANDA_USER's gecos comment.
2012-07-30Add some new configure args to bring the config in-line with other binarysbd2-2/+10
distributions: + Add bsd-security, bsdtcp-security, bsdudp-security. + Set default index and tape server to localhost + Build with assertions. + Use a debugging log directory (and add it to OWN_DIRS_PERMS in amanda-common)
2012-07-30The correct mode for amanda's directories is 0750.sbd1-3/+3
2012-07-30Add --without-gnuplot to CONFIGURE_ARGS for amanda-{common,client,server}.sbd3-6/+6
2012-07-30Miscellaneous makefile clean up.sbd5-49/+18
2012-07-30Add a version.mk file with AMANDA_VERSION in it and use that in all amandasbd8-22/+26
packages (including the meta-package) and in the buildlink.
2012-07-30Make amanda-fqdn a suggested options.sbd1-4/+2
Also remove a old comment.
2012-07-29Make sysutils/grub conflict with sysutils/grub2.gsutre1-1/+3
2012-07-29Add grub2.gsutre1-1/+2
2012-07-29Actually... update to 1.4abs1-2/+2
2012-07-29Updated sysutils/dc-tools to 1.3abs2-7/+13
changes to dc-burn-netbsd - rename 'extract sets' from -r to -s - Split out the code to adjust the extracted data for live CD usage and enable via '-l'. Make -l imply '-s base -k GENERIC' unless overridden - Tweak live setup further to speed up slightly and avoid rebuilding the X11 fontcache, sort rc.conf, set dhcpcd=YES & tweak root entry in fstab - Disable burning to CD by default and add -b to enable - Add support for listing and downloading/burning the daily NetBSD branch builds from nyftp.netbsd.org pkgsrc changes: Set RESTRICTED and NO_{BIN,SRC}_ON_{CDROM,FTP} due to contents of makeip
2012-07-29Import grub2-2.00 as sysutils/grub2.gsutre15-0/+1302
This is GRUB 2, the second version of the GRand Unified Bootloader. GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more robust, more powerful, and more portable.
2012-07-28remove repeated settingreed1-3/+1
2012-07-28copy security patch from xenkernel41 - it also applies to 3.3drochner3-3/+19
(noticed by Daniel Horecki) bump PKGREV
2012-07-27add patch from upstream to fix bug in MMIO emulation which can causedrochner3-3/+19
guest crashes by unprivileged users, only for HVM guests, and if MMIO is granted to the user process (CVE-2012-3432) bump PKGREV
2012-07-26Updated sysutils/dc-tools to 1.3abs2-8/+8
fix issue with non -r usage
2012-07-26update COMMENTabs1-2/+2
2012-07-26Updated sysutils/dc-tools to 1.2abs3-8/+22
Changes to dc-burn-netbsd - If run as non root, call sudo where root is required - Adjust -r to permit explicit list of tarfiles to extract - Enumerate all possible tarfiles to avoid having to query NetBSD site - Add -e option to tun emulator (gxemul) on result - Fix rework of extracted files to create viable live image - Implement -v '?' to list available versions (from main NetBSD site) - Automatically check NetBSD-archive directory for older NetBSD versions
2012-07-25Add and enable sysbuild and sysbuild-user.jmmv1-1/+3
2012-07-25Initial addition of sysbuild-user, version 1.0:jmmv7-0/+142
This package installs an unprivileged user for the sysbuild utility provided by the sysutils/sysbuild package. This unprivileged user is automatically configured to perform daily NetBSD builds.
2012-07-25Initial (re)addition of sysbuild, version 2.0:jmmv17-0/+3073
sysbuild is a tool to automate the maintenance of the NetBSD sources and the build of releases by means of a single command and a configuration file that tells sysbuild what to do. Since NetBSD 1.6 (released on July 2011), the source tree has included a very flexible script (build.sh) to build a full NetBSD release for the current platform or to cross-build for any of the supported platforms. The flipside of the flexibility is that the script is inconvenient to use on a daily basis because of the myriad of options it takes. Furthermore, managing the source trees that make up NetBSD is not in the scope of build.sh: the user must fetch these trees and keep them up to date by hand. While these details are all fine on their own, rebuilding NetBSD frequently (to keep a system up to date, or just for development tasks) is convoluted. Developers and users usually find themselves writing their own wrapper scripts over build.sh to simplify their daily tasks. sysbuild extends build.sh by adding support for configuration files and source tree management, allowing NetBSD rebuilds with a single and simple command. Make sure to check the sysbuild-user package for a way to trivially set up periodic NetBSD rebuilds under an dedicated, unprivileged user. This is version 2.0 because sysbuild already existed 10 years ago. It served the same purpose, but it was removed because it stopped working with NetBSD 2.0 (can't remember why though). Also, I'm convinced the previous implementation was quite bad.
2012-07-23- add man/man8 to INSTALLATION_DIRSjnemeth1-3/+3
- bump PKGREVISION
2012-07-23- remove NOT_FOR_PLATFORM DragonFlyjnemeth1-6/+2
- update DOWNLOAD URL - skip PKGREVISION bump since this doesn't change the binary package
2012-07-21Updated sysutils/dc-tools to 1.1abs2-9/+8
dc-burn-netbsd updated to 1.1: - Check & clean data dir if build options change - Extend "-r" to take type of release - base, std, x - Tweak extracted files with -r to get closer to viable root-on-cd system
2012-07-20sysutils/coreutils: Fix pthread linkmarino1-1/+5
The configure script incorrectly detects that libpthread is part of libc on DragonFly, likely due to the use of weak symbols there. For DragonFly only, Cache the variable that tells it to include -pthread while linking.
2012-07-20Use a raw disk device file on NetBSD.taca3-2/+19
Bump PKGREVISION.
2012-07-20Needs zlib bl3fhajny1-1/+3
2012-07-19Correctly set Amanda license.sbd1-2/+2
2012-07-17Update ipa to 2.1.2asau3-15/+8
From Andrey Simonenko in PR pkg/46712 Changes: * autoconf 2.68 -> 2.69, automake 1.11.1 -> 1.12.2. * Corrected compilation with --enable-ctl-creds on NetBSD. * Corrected output for "ipactl -a ... status". * Corrected work with the -n switch in ipactl. Package changes: * Removed the ipa-memfunc-debug option.
2012-07-16Do not skip domain's creation when a prehook cmd has been executed.jym6-14/+20
Reported by Brook Milligan on port-xen@.
2012-07-16sysutils/fsviewer: LDFLAGS.DragonFly+= -lfontconfigmarino1-2/+2
2012-07-16Make amanda-dump-snap a suggested option.sbd1-1/+2
2012-07-15Recursive bump for startup-notification* dependency change, requestedwiz38-76/+76
by Obache.
2012-07-15Try fixing build on NetBSD 5 (PR 46705).wiz2-9/+16