Commit graph

139 commits

Author SHA1 Message Date
agc
17886c78da Add SHA512 digests for distfiles for sysutils category
Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:32:05 +00:00
dholland
da4f7e4860 Remove references to /usr/adm, as nobody has shipped a /usr/adm
directory in their OS for probably some twenty years. Use /var
instead. In particular, fix the defaults for CNF_INFOFILE, CNF_LOGDIR,
and CNF_INDEXDIR to use the configured LOCALSTATEDIR, which in pkgsrc
will be ${VARBASE}/amanda, instead of hardwiring /usr/adm/amanda.

PR 38958.

PKGREVISION -> 9.
2015-08-09 22:50:09 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
gdt
2100096e49 Regen distinfo.
(Apparently I added a comment to one of the new patches after creating
distinfo and testing.  Thanks to joerg@ for pointing out the issue.)
2015-03-30 01:14:22 +00:00
gdt
19e5716e30 Add 2 fixes to for amanda-server to work on NetBSD.
While amanda-client 3.3 has been stable on NetBSD for a while, the
server code has apparently never worked.  This commit adds several
patches:

  - include sys/{types,time}.h so autoconf tape drive checks pass
  - improve error messages when tape drive code is not compiled in
  - avoid perl crash in report generation

These changes have been tested on NetBSD 6 kernel with NetBSD 5
userland, amd64 (for no good reason, but this was the machine with the
tape drive), dumping many machines and writing to LTO.

The first two patches are taken from an upstream patch committed to
the 3.3 branch due to this problem being reported.  The third patch is
ad hoc based on perl debugging, and needs further investigation.  (But
it's better to get a report without a header line than an empty mail
message.)
2015-03-27 23:45:29 +00:00
joerg
67d09dca70 Racy build. 2015-03-26 15:57:34 +00:00
gdt
1337be1492 In amanda*, reduce default options.
Add an 'ndmp' option, disabled by default.
Disable kerberos option by default.

These two changes allow amanda to build again on OS X.  My belief,
posited on pkgsrc-users without contradiction, is that no pkgsrc users
use these features anyway.  Normal amanda usage these days is over ssh
(which gets one PFS).  NDMP is for direct dumping of NAS: usage is
probably rare and also in large installations where rebuilding is not
hard.

All in all, I thought it better for the pkgsrc/amanda universe to have
consistent options across platforms than to selectively disable on OS
X.
2015-02-09 18:35:12 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
jperkin
68861bc883 SunOS needs -lsocket. 2014-09-25 21:47:06 +00:00
jperkin
c10e482e0f Compat RPC defines for SunOS 64-bit. 2014-07-28 15:53:44 +00:00
gdt
127f0fc750 Move fix for swig/bool mess to Makefile.common.
With this, amanda-client, amanda-server and amanda-plot also build.
2014-06-10 15:51:37 +00:00
joerg
55b76b4ff4 Fix issues with stdbool.h mess created by SWIG. 2014-06-09 21:07:01 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
joerg
0d62548d9e Fix race condition. 2014-01-06 22:15:06 +00:00
schnoebe
7adbffa2e4 Add a patch to modify Amanda::Xfer to not depend on
Amanda::Constants::AMANDA_COMPONENTS having 'server' as one of it's
values.  Instead of conditionally trying to eval in Amanda::XferServer,
do it unconditionally. The effect is (nearly) the same.
2013-12-13 16:27:34 +00:00
jperkin
996375dc50 Need -lsocket and mark package incompatible with builtin mit-krb5 on SunOS. 2013-12-13 12:42:12 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
wiz
e79308d8e5 Fix build with automake-1.13. 2013-01-23 17:58:19 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
sbd
7c36920911 In perl/Makefile.am where ${path_to}/lib${lib}.la has been changed to -l${lib}
and the ${path_to} to the library search paths.

Fixes build on Linux.
2012-09-25 05:04:36 +00:00
sbd
5ba0646eb9 Remove PKGREVISION line and add note "Do NOT set PKGREVISION in this file!" 2012-09-24 05:12:54 +00:00
obache
c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00
spz
55a13ec957 make the package compile on NetBSD -current 2012-09-09 22:21:54 +00:00
sbd
82765e7738 Update amanda to 3.3.1
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-30 07:21:10 +00:00
sbd
e7241efdbf Add SPECIAL_PERMS entries for binaries the need special perms.
Because of the above change switch all amanda packages to user-destdir
support.
2012-07-30 07:04:29 +00:00
sbd
5f973a9740 + Change the AMANADA_USER to 'amandabackup' to be consistent with other
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-30 07:03:04 +00:00
sbd
5438715c8c Add some new configure args to bring the config in-line with other binary
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-30 07:02:17 +00:00
sbd
8484bc5f43 The correct mode for amanda's directories is 0750. 2012-07-30 07:01:32 +00:00
sbd
16bbd1c549 Add --without-gnuplot to CONFIGURE_ARGS for amanda-{common,client,server}. 2012-07-30 07:00:50 +00:00
sbd
55c482c1c1 Miscellaneous makefile clean up. 2012-07-30 07:00:12 +00:00
sbd
7ad69bb265 Add a version.mk file with AMANDA_VERSION in it and use that in all amanda
packages (including the meta-package) and in the buildlink.
2012-07-30 06:57:21 +00:00
sbd
9ba4b5ed20 Make amanda-fqdn a suggested options.
Also remove a old comment.
2012-07-30 06:54:45 +00:00
sbd
a0d8c1e694 Correctly set Amanda license. 2012-07-19 07:30:55 +00:00
sbd
1cf8e9ba09 Make amanda-dump-snap a suggested option. 2012-07-16 00:33:44 +00:00
sbd
6b3f979ba2 Update sysutils/amanda* descriptions. 2012-07-14 07:43:04 +00:00
sbd
8c40d3b2a1 Move the amanda-client option definitions to the common options.mk so
that 'PKG_OPTIONS.amanda' works properly.
2012-07-05 06:57:44 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
sbd
321982388f Use += to set pkg supported/suggested options. 2012-05-21 04:25:36 +00:00
sbd
0e71a285b9 If /usr/bin/ssh doesn't exist add openssh depenedance. 2012-05-20 11:14:33 +00:00
sbd
20d7815c64 Convert AMANDA_SSH and AMANFA_FQDN to pkg options and enable amanda-ssh. 2012-05-20 11:13:35 +00:00
joerg
86e038c3f9 Use REAL_ROOT_USER here. 2010-02-19 18:55:56 +00:00
joerg
eb9ad64cc1 Fix user-destdir build. 2009-12-22 20:58:54 +00:00
heinz
3eb4fec0b6 LICENSE for the Amanda packages is basically the same as modified-bsd. 2009-12-14 23:33:01 +00:00
heinz
e3cc75914c Improved spelling. 2009-12-11 17:36:36 +00:00
heinz
c84ea6153f Added DESTDIR support.
This should fix PR pkg/42439 by Lloyd Parkes.
2009-12-11 17:21:30 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
pgoyette
7d2d66b7e6 Disable IPv6 by default, since this doesn't work on systems which are
configured for IPv4 only.  IPv6 can still be enabled via PKG_OPTIONS.

Fixes my PR pkg/38957

ok gdt@
2008-07-29 17:21:39 +00:00