ALPM
view release on metacpan or search on metacpan
** Bugfix for find_satisfier and find_dbs_satisfier.
These two functions were causing crashes because of my misuse of a macro
that was screwing up the perl stack.
Reported by Radu Andries. Thank you!
* Release 3.01
** set_pkg_reason moved to ALPM::DB::Local and renamed set_install_reason.
The ALPM object method was relocated to the ALPM::DB::Local class and I have
renamed it to set_install_reason. This was prompted by the libalpm function
name change from alpm_db_set_pkgreason to alpm_pkg_set_reason.
** New ALPM::Package accessors.
- origin
- validation
- signature
** New "desc" field in depends hashref.
If a dependency is optional, it contains a "desc" entry in the hash
reference representation.
** Delta options were renamed.
The old option "usedelta" was renamed to "deltaratio". You'll have to lookup
what this means in libalpm because I never use deltas.
* Release 3.00
** Major rewrite to continue compatibility with Pacman 4.
I rewrote quit a bit of code in order to continue compatibility with the
new pacman 4. This release comes a bit late after pacman 4 but I was
seriously considering not updating this module anymore. I no longer use
ArchLinux as much as I used to. I tried to keep things as backwards
return IS_NUMBER_IN_UV;
}
return 0;
}
#endif
#endif
/*
* The grok_* routines have been modified to use warn() instead of
* Perl_warner(). Also, 'hexdigit' was the former name of PL_hexdigit,
* which is why the stack variable has been renamed to 'xdigit'.
*/
#ifndef grok_bin
#if defined(NEED_grok_bin)
static UV DPPP_(my_grok_bin)(pTHX_ const char * start, STRLEN * len_p, I32 * flags, NV * result);
static
#else
extern UV DPPP_(my_grok_bin)(pTHX_ const char * start, STRLEN * len_p, I32 * flags, NV * result);
#endif
t/repos/repoadd.pl view on Meta::CPAN
}
unless(-f $pkgpath){
print STDERR "$PROG: $pkgpath is not a valid path\n";
exit 1;
}
my $db = DBDir->fromPath($dbdir);
my $pkg = PkgFile->fromPath($pkgpath);
$db->addEntry($pkg);
my $dest = "$dbname/" . $pkg->fileName;
rename $pkgpath, $dest or die "rename: $!";
return 0;
}
exit main(@ARGV);
( run in 0.425 second using v1.01-cache-2.11-cpan-e9daa2b36ef )