[apparmor] [PATCH] Fix library versioning
Steve Beattie
steve at nxnw.org
Tue Oct 2 03:41:48 UTC 2012
On Mon, Oct 01, 2012 at 05:08:22PM -0700, John Johansen wrote:
> So the library version has not been being correctly bumped.
> Make this a little bit easier to follow
Note changes below. Acked-By: Steve Beattie <sbeattie at ubuntu.com>
with said changes.
Are you going to send a patch to actually bump things?
Thanks
> === modified file 'libraries/libapparmor/src/Makefile.am'
> --- libraries/libapparmor/src/Makefile.am 2012-04-25 19:15:19 +0000
> +++ libraries/libapparmor/src/Makefile.am 2012-10-02 00:00:43 +0000
> @@ -1,5 +1,28 @@
> INCLUDES = $(all_includes)
>
> +# variables to set the library verions used by libtool
^versions
> +# Use these rules to update the library version.
> +# 1. Update the version information only immediately before a public release
> +# of your software. More frequent updates are unnecessary, and only
> +# guarantee that the current interface number gets larger faster.
> +# 2. If the library source code has changed at all since the last update,
> +# then
> +# - increment AA_LIB_REVISION
> +# 3. If any interfaces have been added, removed, or changed since the last
> +# update,
> +# - increment AA_LIB_CURRENT
> +# - set AA_LIB_REVISION to 0.
> +# 4. If any interfaces have been added since the last public release, then
> +# - increment age.
^^^^ s/age/AA_LIB_AGE/
> +# 5. If any interfaces have been removed or changed since the last public
> +# release, then
> +# - set age to 0.
^^^^ s/age/AA_LIB_AGE/
> +#
> +AA_LIB_CURRENT = 1
> +AA_LIB_REVISION = 2
> +AA_LIB_AGE = 0
> +
> +
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20121001/41a811b6/attachment.pgp>
More information about the AppArmor
mailing list