Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-forensics/aide: verbump to 0.16 #4735

Closed
wants to merge 3 commits into from
Closed

app-forensics/aide: verbump to 0.16 #4735

wants to merge 3 commits into from

Conversation

Coacher
Copy link
Contributor

@Coacher Coacher commented May 23, 2017

No description provided.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull Request assignment

Areas affected: ebuilds
Packages affected: app-forensics/aide

app-forensics/aide: @gentoo/forensics

@gentoo-repo-qa-bot gentoo-repo-qa-bot added the assigned PR successfully assigned to the package maintainer(s). label May 23, 2017
dev-libs/libgcrypt:0=
dev-libs/libgpg-error
)
mhash? ( app-crypt/mhash )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sort, plox? I suppose you did that on purpose but having it on top looks weird anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mhash USE is special so it goes first. The rest is alphabetical.

--with-confighmactype="sha512" # Override default weak MD5 hash.
--with-dbhmackey="sha512" # Override default weak MD5 hash.
# Disable broken l10n support: https://sourceforge.net/p/aide/bugs/98/
# This doesn't affect anything because there are no localizations yet.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'yet' sounds funny for software that old.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's on their todo.

# This doesn't affect anything because there are no localizations yet.
--without-locale
$(use_enable static)
$(use_with zlib)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do those options have any specific order?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This is how they are ordered in configure{,.ac}.

[AC_HELP_STRING([--with-mmap],
[use mmap @<:@default=check@:>@])],
- [],
+ [with_mmap="$withval"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this is unnecessary.

https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/External-Software.html

The option's argument is available to the shell commands action-if-given in the shell variable withval, which is actually just the value of the shell variable with_package, with any - characters changed into ‘_’. You may use that variable instead, if you wish.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed for posix-acl configure option that maps to acl USE.
Then I went ahead and updated other options with this pattern to match the rest.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

configure before:

# Check whether --with-mmap was given.
if test "${with_mmap+set}" = set; then :
  withval=$with_mmap;
else
  with_mmap=check

fi

configure after (with your patch):

# Check whether --with-mmap was given.
if test "${with_mmap+set}" = set; then :
  withval=$with_mmap; with_mmap="$withval"
else
  with_mmap=check

fi

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@mgorny
Copy link
Member

mgorny commented May 23, 2017

Please also cover modernizing the old stable, or at least killing confutils inherit there.

@Coacher
Copy link
Contributor Author

Coacher commented May 23, 2017

Please also cover modernizing the old stable, or at least killing confutils inherit there.

I see no point. It's halfway broken and that codebase is very old. It should just die once 0.16 is stabilized.

[AC_HELP_STRING([--with-posix-acl],
[use POSIX ACLs (no checking)])],
- [],
+ [with_posix_acl_support="$withval"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternative suggestion: maybe just update other places in the code to use $with_posix_acl variable as defined by autoconf? ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No.

<maintainer type="project">
<email>forensics@gentoo.org</email>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, please do not remove forensics. Keeping it is safer politically ;-).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And yes, I don't want to be a primary maintainer at least for now.

Notable ebuild changes:
- fix deps;
- fix broken static USE;
- add e2fs USE to check file attributes on ext2/ext3/ext4;
- drop broken and completely useless nls USE;
- modernize ebuild, EAPI=6;
- drop useless dodoc, dohtml, fowners, fperms calls;
- stop repeating to users about example configuration;
- cleanup patches and send them upstream.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: #4735
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough for me. Let's merge it.

@mgorny mgorny self-assigned this May 27, 2017
@Coacher
Copy link
Contributor Author

Coacher commented May 28, 2017

Thank you, @mgorny.

@Coacher Coacher deleted the aide-0.16 branch May 28, 2017 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s).
Projects
None yet
3 participants