1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Configuration editing tool and API
8 HOMEPAGE= http://augeas.net/
11 DOWNLOAD_GROUPS= main savannah
12 SITES[main]= GITHUB/hercules-team:augeas:release-1.13.0
13 SITES[savannah]= https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/
14 DISTFILE[1]= generated:main
15 DISTFILE[2]= gnulib-2f3892304bd432c5ca3f291b3ef7d8a912a85e96.tar.gz:savannah
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= bash:primary:standard
23 libtool:single:standard
25 USES= autoreconf:build cpe bison gmake libtool pkgconfig
26 readline cclibs:single
27 GNOME_COMPONENTS= libxml2
29 FPC_EQUIVALENT= textproc/augeas
33 INSTALL_TARGET= install-strip
34 INSTALL_REQ_TOOLCHAIN= yes
36 PLIST_SUB= FA_SOVERSION=1.5.3
40 ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
41 ${WRKSRC}/lenses/pg_hba.aug \
42 ${WRKSRC}/lenses/postgresql.aug
43 ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
44 ${WRKSRC}/lenses/puppet.aug \
45 ${WRKSRC}/lenses/puppet_auth.aug \
46 ${WRKSRC}/lenses/puppetfileserver.aug
47 (cd ${WRKSRC} && ${LOCALBASE}/bin/bash ./autogen.sh \
48 --gnulib-srcdir=${WRKSRC}/gnulib \
49 --disable-dependency-tracking \
53 ${MV} ${WRKDIR}/gnulib-2f3892304bd432c5ca3f291b3ef7d8a912a85e96 ${WRKSRC}/gnulib
55 [FILE:578:descriptions/desc.single]
56 Augeas - a configuration API
58 Augeas is a configuration editing tool. It parses configuration files in
59 their native formats and transforms them into a tree. Configuration changes
60 are made by manipulating this tree and saving it back into native config
64 - An API provided by a C library
65 - A command line tool to manipulate configuration from the shell
66 - Language bindings to do the same from your favorite scripting language
67 - Canonical tree representations of common configuration files
68 - A domain-specific language to describe configuration file formats
72 248e14ba2edee594cdeb17f55a95b2c033ff6990da65cee3936ba9d84b99c4e5 872047 hercules-team-augeas-release-1.13.0.tar.gz
73 089d3acc3db81a6e3299428b4ebad1c0d8844ec2ff586607482e252a9a173680 7270580 gnulib-2f3892304bd432c5ca3f291b3ef7d8a912a85e96.tar.gz
76 [FILE:7956:manifests/plist.single]
88 libaugeas.so.%%SOMAJOR%%
89 libaugeas.so.%%SOVERSION%%
92 libfa.so.%%FA_SOMAJOR%%
93 libfa.so.%%FA_SOVERSION%%
94 lib/pkgconfig/augeas.pc
95 share/augeas/lenses/dist/
104 apt_update_manager.aug
105 aptcacherngsecurity.aug
198 mailscanner_rules.aug
226 openshift_quickstarts.aug
241 postfix_passwordmap.aug
242 postfix_sasl_smtpd.aug
243 postfix_transport.aug
260 reprepro_uploaders.aug
324 share/augeas/lenses/dist/tests/
326 test_activemq_conf.aug
327 test_activemq_xml.aug
328 test_afs_cellalias.aug
333 test_apt_update_manager.aug
334 test_aptcacherngsecurity.aug
336 test_aptpreferences.aug
339 test_authorized_keys.aug
343 test_backuppchosts.aug
356 test_cobblermodules.aug
357 test_cobblersettings.aug
381 test_fai_diskconfig.aug
392 test_gtkbookmarks.aug
396 test_hosts_access.aug
428 test_mailscanner_rules.aug
429 test_masterpasswd.aug
436 test_modules_conf.aug
437 test_mongodbserver.aug
442 test_nagiosobjects.aug
444 test_networkmanager.aug
454 test_openshift_config.aug
455 test_openshift_http.aug
456 test_openshift_quickstarts.aug
468 test_postfix_access.aug
469 test_postfix_main.aug
470 test_postfix_master.aug
471 test_postfix_passwordmap.aug
472 test_postfix_sasl_smtpd.aug
473 test_postfix_transport.aug
474 test_postfix_virtual.aug
481 test_puppetfileserver.aug
490 test_reprepro_uploaders.aug
506 test_shellvars_list.aug
512 test_solaris_system.aug
526 test_sysconfig_route.aug
535 test_trapperkeeper.aug
541 test_vmware_config.aug
550 test_xymon_alerting.aug
557 share/vim/vimfiles/ftdetect/augeas.vim
558 share/vim/vimfiles/syntax/augeas.vim
561 [FILE:302:patches/patch-bootstrap]
562 --- bootstrap.orig 2021-10-24 07:01:19 UTC
564 @@ -53,9 +53,6 @@ case ${GNULIB_SRCDIR--} in
565 echo "$0: getting gnulib files..."
566 git submodule update || exit $?
567 GNULIB_SRCDIR=.gnulib
569 - echo >&2 "$0: invalid gnulib srcdir: $GNULIB_SRCDIR"
576 [FILE:434:patches/patch-gnulib_lib_libc-config.h]
577 --- gnulib/lib/libc-config.h.orig 2021-01-10 18:23:45 UTC
578 +++ gnulib/lib/libc-config.h
583 +#if defined __FreeBSD__ || defined __DragonFly__
585 +#define __nonnull(...)
588 /* On glibc this includes <features.h> and <sys/cdefs.h> and #defines
589 _FEATURES_H, __WORDSIZE, and __set_errno. On FreeBSD 11 it
590 includes <sys/cdefs.h> which defines __nonnull. Elsewhere it
593 [FILE:446:patches/patch-gnulib_m4_gnulib-common.m4]
594 --- gnulib/m4/gnulib-common.m4.orig 2021-01-26 16:36:05 UTC
595 +++ gnulib/m4/gnulib-common.m4
596 @@ -226,11 +226,7 @@ AC_DEFUN([gl_COMMON_BODY], [
597 # define _GL_ATTRIBUTE_NOINLINE
600 -#if _GL_HAS_ATTRIBUTE (nonnull)
601 -# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
603 # define _GL_ATTRIBUTE_NONNULL(args)
606 #if _GL_HAS_ATTRIBUTE (nonstring)
607 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
610 [FILE:477:patches/patch-lenses_pg__hba.aug]
611 --- lenses/pg_hba.aug.orig 2021-10-24 07:01:19 UTC
612 +++ lenses/pg_hba.aug
613 @@ -81,6 +81,7 @@ module Pg_Hba =
615 The pg_hba.conf conf file *)
616 let filter = (incl "/var/lib/pgsql/data/pg_hba.conf" .
617 + incl "%%PREFIX%%/pgsql/data/pg_hba.conf" .
618 incl "/var/lib/pgsql/*/data/pg_hba.conf" .
619 incl "/var/lib/postgresql/*/data/pg_hba.conf" .
620 incl "/etc/postgresql/*/*/pg_hba.conf" )
623 [FILE:477:patches/patch-lenses_postgresql.aug]
624 --- lenses/postgresql.aug.orig 2021-10-24 07:01:19 UTC
625 +++ lenses/postgresql.aug
626 @@ -70,6 +70,7 @@ let lns = (Util.empty | Util.comment | e
628 (* Variable: filter *)
629 let filter = (incl "/var/lib/pgsql/data/postgresql.conf" .
630 + incl "%%PREFIX%%/pgsql/data/postgresql.conf" .
631 incl "/var/lib/pgsql/*/data/postgresql.conf" .
632 incl "/var/lib/postgresql/*/data/postgresql.conf" .
633 incl "/etc/postgresql/*/*/postgresql.conf" )
636 [FILE:1272:patches/patch-src_transform.c]
637 security_context_t dropped by gnulib.
638 (Then why does the submodule point to a snapshot of gnulib that doesn't support it???)
640 --- src/transform.c.orig 2021-10-24 07:01:19 UTC
642 @@ -917,8 +917,6 @@ static int transfer_file_attrs(FILE *fro
643 const char **err_status) {
646 - int selinux_enabled = (is_selinux_enabled() > 0);
647 - security_context_t con = NULL;
650 int to_fd = fileno(to);
651 @@ -935,12 +933,6 @@ static int transfer_file_attrs(FILE *fro
652 *err_status = "replace_stat";
655 - if (selinux_enabled) {
656 - if (fgetfilecon(from_fd, &con) < 0 && errno != ENOTSUP) {
657 - *err_status = "replace_getfilecon";
662 if (fchown(to_fd, st.st_uid, st.st_gid) < 0) {
663 *err_status = "replace_chown";
664 @@ -950,13 +942,6 @@ static int transfer_file_attrs(FILE *fro
665 *err_status = "replace_chmod";
668 - if (selinux_enabled && con != NULL) {
669 - if (fsetfilecon(to_fd, con) < 0 && errno != ENOTSUP) {
670 - *err_status = "replace_setfilecon";