diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-06-02 10:21:28 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-06-02 10:21:28 +0000 |
commit | c18770b3194e2f3cd6675ab2e3c0f9b62bb3d3e7 (patch) | |
tree | a153fbab44b06436712f1d5bdec5c3f991324669 /app-arch/rpm | |
parent | QA - fix quotinf (diff) | |
download | historical-c18770b3194e2f3cd6675ab2e3c0f9b62bb3d3e7.tar.gz historical-c18770b3194e2f3cd6675ab2e3c0f9b62bb3d3e7.tar.bz2 historical-c18770b3194e2f3cd6675ab2e3c0f9b62bb3d3e7.zip |
Add skel for rpm-5.3.5. The ebuild is not finished, but can stand as base to start from.
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'app-arch/rpm')
-rw-r--r-- | app-arch/rpm/ChangeLog | 9 | ||||
-rw-r--r-- | app-arch/rpm/Manifest | 33 | ||||
-rw-r--r-- | app-arch/rpm/files/remaining-5.3.5.txt | 44 | ||||
-rw-r--r-- | app-arch/rpm/metadata.xml | 15 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.3.5.ebuild | 211 |
5 files changed, 292 insertions, 20 deletions
diff --git a/app-arch/rpm/ChangeLog b/app-arch/rpm/ChangeLog index 5012689a7e54..e4e3ec739075 100644 --- a/app-arch/rpm/ChangeLog +++ b/app-arch/rpm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-arch/rpm # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.142 2012/06/01 14:19:27 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.143 2012/06/02 10:21:28 scarabeus Exp $ + +*rpm-5.3.5 (02 Jun 2012) + + 02 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> +files/remaining-5.3.5.txt, + +rpm-5.3.5.ebuild, metadata.xml: + Add skel for rpm-5.3.5. The ebuild is not finished, but can stand as base to + start from. *rpm-4.10.0 (01 Jun 2012) diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest index 1ade1b3f7e12..5f12bc7362a2 100644 --- a/app-arch/rpm/Manifest +++ b/app-arch/rpm/Manifest @@ -1,6 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX remaining-5.3.5.txt 2521 RMD160 849a98a5cc676e49d72a54b8005ce03ca09e9827 SHA1 abe36cfdbb357571ed263288c7deec30d6538c35 SHA256 6c3a4ac2bf1d293821246d822b973f1a3b1dee7f66d2695243c639dc27d6bff4 AUX rpm-4.4.6-autotools.patch 660 RMD160 63155d3737ffdf9927b1763ddf068c5964e168c9 SHA1 70dd2346df0e5d95ec4a06587485381b48d52b81 SHA256 dd4828899e760358b702d0c2ca75e781619f7b65140cf2cc5600ea687a085569 AUX rpm-4.4.6-buffer-overflow.patch 1952 RMD160 468c71731ec6893de165b4e1047f85f5b240f2f7 SHA1 dc41417f4064eb9476de9ef51e616042e55e5f73 SHA256 6ae715632dabd6cc6c24a92312ac22c1bd57235ff2f027f68943df68dcfc957b AUX rpm-4.4.6-fix-cflags-stripping.patch 594 RMD160 a13c8d5d98ef6820bf41e6b4cbfe6f9d06545e8a SHA1 1f88f28a7a4df450768447087189c48bfc3fdefa SHA256 d1138a2b80797da7244ff1917178c104b56926f38708b0149be57f06e99233da @@ -20,27 +21,29 @@ DIST rpm-4.4.6.tar.gz 17157249 RMD160 6b433d20a63fb2542244ae62eff0a8b5fe290439 S DIST rpm-4.9.1.2.tar.bz2 3500371 RMD160 3b3a8904f9f0d8ae03c1ab903ca7f420cb9178ee SHA1 5ec557424d90461f76d4ad30bfb6653b79920d58 SHA256 ea55e5c5b70703a3fea33e5debec27a694816ae86d1bf5ce99bc9e27db84b60a DIST rpm-4.9.1.3.tar.bz2 3485850 RMD160 6c9860c3d6f26c86e9512df94bf4cf8ebef5b10b SHA1 d1157a05a2368de07e06638daee01d3749107c8b SHA256 531894301e1a9891baf356fb32f732b10d1b313f5c5875a47fdcbdc0c3f67883 DIST rpm-5.1.6.tar.gz 8305612 RMD160 88645f4a7c2e25fffaa5628d267e86eaac137b35 SHA1 3ab7d1edf333102c748c22e9144ab90d9719ab0b SHA256 82ee1a737bd77ddd90b0fe1e9a2f478c46033e451fac3881d00ab9e166951799 +DIST rpm-5.3.5.tar.gz 9526224 RMD160 15d735f8eb238b260b1adb92f05feb0709ad1f3c SHA1 2dbf1268c3b6c84993e9eba3431610566fb91b83 SHA256 4ae409cc0c4940afb692de47be07e281df0acce7f145a088499d40f4fb390895 EBUILD rpm-4.10.0.ebuild 2646 RMD160 a482d2bb01039931ae6dd0d3eff29a887aaa784b SHA1 6a3198180eca8e6445269943ad7742355b009911 SHA256 48b27895d4317e6f8bc893bbd37ed86aaf4d68009c52edddbc0d61bf3c3a5aba EBUILD rpm-4.4.6-r7.ebuild 3191 RMD160 5ca2a16ac107c914edbccccdf0d0b2ebeb96c4e2 SHA1 0b69289cf1bc48a453c0c7117e01dd1e4021005c SHA256 1c168326b03609d81932272281226a607db66a62f7ef3114a4baf07cca3f4676 EBUILD rpm-4.9.1.2.ebuild 2489 RMD160 b64969def0d21696540fddc9487d45236b8b926a SHA1 b791124a00b05a00200919a43564756bb5ab119f SHA256 d391dc7ad4a43b64422ab6e506883a936a7336b0e25cb9e1ef55d2479bbe080e EBUILD rpm-4.9.1.3.ebuild 2604 RMD160 fa34b8bf64646415ad2b1678c1de3616fb1a1e93 SHA1 90b7705ec3eb7514913f4fb2c6c5c7926364ced3 SHA256 8d5a6de694392a420bafd69545cd80f9fceb9b5de49a54c0f3c2e23910345342 EBUILD rpm-5.1.6.ebuild 2965 RMD160 2def9d4e44cdfd12f8b4e7744064726bd23170ba SHA1 7c0a66d7a69fd4de660215718275e45dd870c62e SHA256 e54e87adb9d2947e6ce00c0bbffd022b2be989de27c76feab55adc70e0195b4e -MISC ChangeLog 22168 RMD160 ce630ed45d369f831bf89b5a58e94e7182bea97a SHA1 943c4564efa8b52b4aa01c23541cc6240a8ad8d1 SHA256 90098356dc386d0b6f2cff6ac9076eac4aacfd0880ee410d79c21972ee2aad6f -MISC metadata.xml 412 RMD160 f80c92312d155e06f578bfafc5c6887a87a50029 SHA1 90899c21608493640f9e30dca30613b7823c9854 SHA256 49b33ada612c71654ff1706d78dbeb1d4150455e661c46b343cd5523386d3cd0 +EBUILD rpm-5.3.5.ebuild 4916 RMD160 6f797b7e243d515b44a6cab85188a198bac426a9 SHA1 19f3d647c23168f8072eb66592ac8b67e406e7df SHA256 1398037d80bb58f103891a0abab6fd2d3c0c9bd03aa4ea4ea31587ecf6c5875e +MISC ChangeLog 22406 RMD160 8478c076dfeb28b480bbc37053c632abddc7c895 SHA1 28d67518a40bad887a7f0e1512c7c2b5156ad98e SHA256 df534b1806d9ea89d88a27605f6551a8f627decf3cabe7acd88597c8da3fe5a4 +MISC metadata.xml 1113 RMD160 667dcf2ae111d9d7bce0a7a57934043b2eff245b SHA1 e4daf8f6fcbf7070a9349e1a13dcec83283bc287 SHA256 267a891ee0c4018f003d15d0a8ae59452b4a50c29fc2ae9bf63094c796892641 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJPyM+wAAoJEOSiRoyO7jvoAAUP/2KOEnvx0UOyVjEHIn0ES7P2 -J5DjW7DuYaBWFkobRW2x/wm8ch0V+0Z/hGK1so6n7tzOuQ7uMY0/jltHFN5MgYWB -9OYRW9gIQC1J0JKQSkEfMH0F+QOUKpjVv7eOmPrsPMXGUV9Sjj+jcDgSc8aszXkb -PuelnmSzl1WUpzvUndGbsyzQ3Do6nWXShagzvWCyStH0MDOgAQlzJ322z6oKcn1R -VWMoikvuu4DQm1uJTS7But9ujxYv7ZPFCGfNn0yQcXRsCrz6Mg0Ge2PnhB2gqceP -CZMxw6wDufHSU2xSNWrBipe+oO6/8dokKFKJtgLTAzwHq/lkS7vjyIkGu0JxafTW -g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++S5Ek0ZKgRESmEltE9mr +=PVj/ -----END PGP SIGNATURE----- diff --git a/app-arch/rpm/files/remaining-5.3.5.txt b/app-arch/rpm/files/remaining-5.3.5.txt new file mode 100644 index 000000000000..2631931b7af9 --- /dev/null +++ b/app-arch/rpm/files/remaining-5.3.5.txt @@ -0,0 +1,44 @@ + --with-squirrel=ARG build with Squirrel library (no) + (location path: "external:none") + --with-ficl=ARG build with FICL library (no) + (location path: "internal:external:none") + --with-aterm=ARG build with ATerm library (no) + (location path: "external:none") + --with-nix=ARG build with Nix expressions library + (no) (location path: + "external:none") + --with-js=ARG build with JavaScript library (no) + (location path: "internal:external:none") + --with-gpsee=ARG build with GPSEE library (no) + (location path: "external:none") + --with-rc=ARG build with Rc library (no) + (location path: "internal:none") + --with-bash=ARG build with Bash library (no) + (location path: "internal:none") + --with-syck=ARG build with Syck library (no) + (location path: "internal:external:none") + --with-efence=ARG build with Electric Fence library + (no) (location path: + "external:none") + --with-cpuinfo=ARG build with CPUInfo library (no) + (location path: "external:none") + --with-path-versioned install with versioned paths + --with-path-database=ARG + build with RPM database directory path + --with-path-sources=ARG build with RPM package sourcs directory path + --with-path-magic=ARG build with RPM magic file path (or macro) + --with-path-buildroot=ARG + build with RPM buildroot path (or macro) + --with-path-locale=ARG build with RPM locale directory path + --with-path-lib=ARG build with RPM system library directory path + --with-path-cfg=ARG build with RPM global configuration directory path + --with-extra-path-macros=ARG + build with additional colon-separated RPM macro + files path not overriding defaults + --with-path-macros=ARG build with colon-separated RPM macro files path + --with-path-rpmpopt=ARG build with colon-separated RPM POPT configuration + file path + --with-path-rpmlua=ARG build with colon-separated RPM Lua script file path + --with-vendor=VENDOR build with a supported vendor's specific set of + changes: mandriva, ark, fedora + diff --git a/app-arch/rpm/metadata.xml b/app-arch/rpm/metadata.xml index 97e1929d088a..f8fe444613e0 100644 --- a/app-arch/rpm/metadata.xml +++ b/app-arch/rpm/metadata.xml @@ -2,11 +2,18 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> - <email>sochotnicky@gentoo.org</email> - <name>Stanislav Ochotnicky</name> + <email>sochotnicky@gentoo.org</email> + <name>Stanislav Ochotnicky</name> </maintainer> <use> - <flag name='magic'>Add magic file support (<pkg>sys-apps/file</pkg>)</flag> - <flag name='webdav-neon'>Include support for <pkg>net-libs/neon</pkg></flag> + <flag name='augeas'>Add support for configuration files changing (<pkg>app-admin/augeas</pkg>)</flag> + <flag name='keyutils'>Enable for the keyring ccache using keyutils.</flag> + <flag name='magic'>Add magic file support (<pkg>sys-apps/file</pkg>)</flag> + <flag name='nss'>Build support for ssl/crypto handling using <pkg>dev-libs/nss</pkg></flag> + <flag name='openssl'>Build support for ssl/crypto handling using <pkg>dev-libs/openssl</pkg></flag> + <flag name='pkcs11'>Build token data management utilities based on OpenCryptoki's (<pkg>dev-libs/opencryptoki</pkg>) PKCS#11 implementation.</flag> + <flag name='uuid'>Enable server side UUID generation (via <pkg>dev-libs/ossp-uuid</pkg>)</flag> + <flag name='webdav-neon'>Include support for <pkg>net-libs/neon</pkg></flag> + <flag name='xar'>Build support for xar archives using <pkg>app-arch/xar</pkg></flag> </use> </pkgmetadata> diff --git a/app-arch/rpm/rpm-5.3.5.ebuild b/app-arch/rpm/rpm-5.3.5.ebuild new file mode 100644 index 000000000000..ffc1b03268b1 --- /dev/null +++ b/app-arch/rpm/rpm-5.3.5.ebuild @@ -0,0 +1,211 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-5.3.5.ebuild,v 1.1 2012/06/02 10:21:28 scarabeus Exp $ + +EAPI=4 + +PYTHON_DEPEND="2" + +inherit eutils multilib python user versionator + +DESCRIPTION="RPM Package Manager" +HOMEPAGE="http://rpm5.org/" +SRC_URI="http://rpm5.org/files/${PN}/${PN}-$(get_version_component_range 1-2)/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="" +IUSE="acl augeas berkdb +bzip2 crypt debug expat gnutls keyutils lua lzma nls nss openssl pcre perl pkcs11 readline ruby selinux sqlite ssl tcl uuid webdav-neon xar xattr +zlib" + +RDEPEND=" + dev-libs/beecrypt + dev-libs/popt + sys-apps/file + acl? ( sys-apps/acl ) + augeas? ( app-admin/augeas ) + berkdb? ( sys-libs/db ) + bzip2? ( app-arch/bzip2 ) + crypt? ( dev-libs/libgcrypt ) + expat? ( dev-libs/expat ) + keyutils? ( sys-apps/keyutils ) + lua? ( dev-lang/lua ) + lzma? ( app-arch/xz-utils ) + pcre? ( dev-libs/libpcre ) + perl? ( dev-lang/perl ) + pkcs11? ( dev-libs/pakchois ) + readline? ( sys-libs/readline:0 ) + ruby? ( >=dev-lang/ruby-1.9 ) + selinux? ( + sys-libs/libselinux + sys-libs/libsemanage + sys-libs/libsepol + ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( + nss? ( dev-libs/nss ) + openssl? ( dev-libs/openssl ) + gnutls? ( + dev-libs/libtasn1 + net-libs/gnutls + ) + ) + tcl? ( dev-lang/tcl ) + uuid? ( dev-libs/ossp-uuid ) + webdav-neon? ( net-libs/neon ) + xar? ( app-arch/xar ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + virtual/yacc + nls? ( sys-devel/gettext ) +" + +REQUIRED_USE=" + ssl? ( + ^^ ( + gnutls + nss + openssl + ) + ) +" + +pkg_setup () { + python_set_active_version 2 + python_pkg_setup +} + +src_configure() { + local myconf="" + + # default internal/external switches + # crypto default is beecrypt, user can change this on runtime + # and we build beecrypt every time + # tomcrypt is not in portage + # cudf is not in portage + # users usually do not want to use debug malloc + myconf+=" + --with-usecrypto=beecrypt + --with-beecrypt=external + --with-file=external + --with-popt=external + --without-tomcrypt + --without-cudf + --without-dmalloc + " + + # ssl handling + # tasn1 is handled in most portage packages with gnutls, do the same + if use ssl; then + myconf+=" + $(use_with gnutls) + $(use_with gnutls libtasn1) + $(use_with nss) + $(use_with openssl) + " + else + myconf+=" + --without-gnutls + --without-libtasn1 + --without-nss + --without-openssl + " + fi + + # enable db if we use berkdb or sqlite + if use berkdb || use sqlite; then + myconf+=" + --with-dbsql=external + " + else + myconf+=" + --without-dbsql + " + fi + + # for berkdb enable the options if possible + if use berkdb; then + myconf+=" + --with-db-largefile + --with-db-rpc + " + fi + + # we need python by default anyway so always --with-python + econf \ + --disable-rpath \ + --disable-dependency-tracking \ + --enable-build-pic \ + --enable-build-pie \ + --enable-largefile \ + --with-python \ + --without-pythonembed \ + --with-python-lib-dir="$(python_get_libdir)" \ + --with-python-inc-dir="$(python_get_includedir)" \ + $(use_enable nls) \ + $(use_enable debug build-debug) \ + $(use_with acl) \ + $(use_with augeas) \ + $(use_with berkdb db) \ + $(use_with bzip2) \ + $(use_with crypt gcrypt) \ + $(use_with expat) \ + $(use_with keyutils) \ + $(use_with lua lua external) \ + $(use_with lzma xz external) \ + $(use_with pcre pcre external) \ + $(use_with perl) \ + $(use_with pkcs11 pakchois) \ + $(use_with readline) \ + $(use_with selinux) \ + $(use_with selinux semanage) \ + $(use_with selinux sepol) \ + $(use_with sqlite) \ + $(use_with tcl) \ + $(use_with uuid) \ + $(use_with webdav-neon neon external) \ + $(use_with xar xar external) \ + $(use_with xattr attr) \ + $(use_with zlib) \ + ${myconf} + + # TODO: see files/remaining-5.3.5.txt + ewarn "This package is far from complete" + ewarn "If you want to test it please see \"${FILESDIR}/remaining-5.3.5.txt\"" + ewarn "and implement missing features." + ewarn "Do NOT report bugs without providing patches!" +} + +src_install() { + emake DESTDIR="${D}" INSTALLDIRS=vendor install || die "emake install failed" + dodoc CHANGES CREDITS NEWS README TODO +} + +pkg_preinst() { + enewgroup rpm 37 + enewuser rpm 37 /bin/sh /var/lib/rpm rpm +} + +pkg_postinst() { + chown -R rpm:rpm "${ROOT}"/usr/$(get_libdir)/rpm + chown -R rpm:rpm "${ROOT}"/var/lib/rpm + chown rpm:rpm "${ROOT}"/usr/bin/rpm{,2cpio,build,constant} + if [[ ${ROOT} == "/" ]] ; then + if [[ -f ${ROOT}/var/lib/rpm/Packages ]] ; then + einfo "RPM database found... Rebuilding database (may take a while)..." + "${ROOT}"/usr/bin/rpm --rebuilddb --root="${ROOT}" + else + einfo "No RPM database found... Creating database..." + "${ROOT}"/usr/bin/rpm --initdb --root="${ROOT}" + fi + fi + chown rpm:rpm "${ROOT}"/var/lib/rpm/* + + python_mod_optimize rpm +} + +pkg_postrm() { + python_mod_cleanup rpm +} |