Ignore:
Timestamp:
Aug 23, 2007, 7:53:42 PM (12 years ago)
Author:
afb@…
Message:

minor version update for testing version

  • lots of patches accepted upstream :-)
  • added distcheck for download directory
Location:
trunk/dports/sysutils/apt-rpm
Files:
5 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/apt-rpm/Portfile

    r26913 r28177  
    44
    55name            apt-rpm
    6 version         0.5.15lorg3.92
     6version         0.5.15lorg3.93
    77platforms       darwin freebsd
    88categories      sysutils
     
    1919distname        apt-${version}
    2020use_bzip2       yes
    21 checksums       md5 e851d86f9aef7fb519ecc7cfa8aae845
     21checksums       md5 5437ac203f7fe15b9bbd74b3c99e2b6a
    2222
    2323depends_lib     lib:librpm:rpm lib:libxml2:libxml2 lib:libsqlite3:sqlite3
    2424
    25 patchfiles      patch-ostable.diff patch-genbasedir.diff patch-langinfo.diff patch-scandir.diff \
    26                 patch-rpmsense.diff patch-rpmfdigests.diff patch-rpmpsnum.diff
     25patchfiles      patch-genbasedir.diff patch-rpmsense.diff
    2726
    2827post-patch {
     
    5150                                  ${destroot}${prefix}/var/lib/apt/lists/partial
    5251}
     52
     53livecheck.check regex
     54# get the last modified tarball
     55livecheck.url   ${master_sites}?M=D
     56livecheck.regex apt-(.*)${extract.suffix}
  • trunk/dports/sysutils/apt-rpm/files/patch-rpmsense.diff

    r26873 r28177  
    1 --- ./apt-pkg/rpm/rpmhandler.cc.orig    2007-06-04 22:02:52.000000000 +0200
    2 +++ ./apt-pkg/rpm/rpmhandler.cc 2007-06-20 10:58:35.000000000 +0200
    3 @@ -48,6 +48,11 @@
     1--- ./apt-pkg/rpm/rpmhandler.cc.orig    2007-08-17 12:49:37.000000000 +0200
     2+++ ./apt-pkg/rpm/rpmhandler.cc 2007-08-23 21:44:36.000000000 +0200
     3@@ -60,6 +60,12 @@
    44 #define rpmxxInitIterator(a,b,c,d) rpmdbInitIterator(a,b,c,d)
    55 #endif
    66 
    7 +#ifndef _RPMEVR_INTERNAL
     7+#if RPM_VERSION >= 0x040409 && !defined(_RPMEVR_INTERNAL)
    88+// rpmevr.h/evrFlags_e
    99+#define RPMSENSE_ANY 0
     10+#define RPMSENSE_MISSINGOK (1 << 19)
    1011+#endif
    1112+
     
    1314 // can only blindly trust the repo admin created the repository with options
    1415 // suitable for those versions. For rpm >= 4.2.1 this is linked with
    15 @@ -231,7 +236,7 @@
    16     if (Type == pkgCache::Dep::Depends) {
    17        if (flags & RPMSENSE_PREREQ)
    18          Type = pkgCache::Dep::PreDepends;
    19 -#if RPM_VERSION >= 0x040403
    20 +#if RPM_VERSION >= 0x040403 && defined(_RPMEVR_INTERNAL)
    21        else if (flags & RPMSENSE_MISSINGOK)
    22          Type = pkgCache::Dep::Suggests;
    23  #endif
    24 @@ -308,7 +313,7 @@
    25        case pkgCache::Dep::Provides:
    26          deptype = RPMTAG_PROVIDENAME;
    27          break;
    28 -#if RPM_VERSION >= 0x040403
    29 +#if RPM_VERSION >= 0x040403 && defined(_RPMEVR_INTERNAL)
    30        case pkgCache::Dep::Suggests:
    31          deptype = RPMTAG_SUGGESTNAME;
    32          break;
    33 --- ./apt-pkg/rpm/rpmversion.cc.orig    2007-05-29 20:59:09.000000000 +0200
     16--- ./apt-pkg/rpm/rpmversion.cc.orig    2007-05-14 11:01:55.000000000 +0200
    3417+++ ./apt-pkg/rpm/rpmversion.cc 2007-06-20 13:42:04.000000000 +0200
    3518@@ -32,6 +32,11 @@
     
    3720 #endif
    3821 
    39 +#ifndef _RPMEVR_INTERNAL
     22+#if RPM_VERSION >= 0x040409 && !defined(_RPMEVR_INTERNAL)
    4023+// rpmevr.h/evrFlags_e
    4124+#define RPMSENSE_ANY 0
Note: See TracChangeset for help on using the changeset viewer.