pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_notify
Module Name: pkgsrc
Committed By: wiz
Date: Mon Oct 10 07:42:53 UTC 2016
Modified Files:
pkgsrc/pkgtools/pkg_notify: Makefile
pkgsrc/pkgtools/pkg_notify/files: pkg_notify
Log Message:
Even more github support.
Bump version.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/pkgtools/pkg_notify/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/pkgtools/pkg_notify/files/pkg_notify
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg_notify/Makefile
diff -u pkgsrc/pkgtools/pkg_notify/Makefile:1.24 pkgsrc/pkgtools/pkg_notify/Makefile:1.25
--- pkgsrc/pkgtools/pkg_notify/Makefile:1.24 Wed Aug 31 21:15:36 2016
+++ pkgsrc/pkgtools/pkg_notify/Makefile Mon Oct 10 07:42:53 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2016/08/31 21:15:36 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2016/10/10 07:42:53 wiz Exp $
-PKGNAME= pkg_notify-0.4.5
+PKGNAME= pkg_notify-0.4.6
CATEGORIES= pkgtools
MAINTAINER= imil%gcu.info@localhost
Index: pkgsrc/pkgtools/pkg_notify/files/pkg_notify
diff -u pkgsrc/pkgtools/pkg_notify/files/pkg_notify:1.4 pkgsrc/pkgtools/pkg_notify/files/pkg_notify:1.5
--- pkgsrc/pkgtools/pkg_notify/files/pkg_notify:1.4 Wed Aug 31 21:15:36 2016
+++ pkgsrc/pkgtools/pkg_notify/files/pkg_notify Mon Oct 10 07:42:53 2016
@@ -16,7 +16,7 @@
#
# $ pkg_notify category/package
#
-# $Id: pkg_notify,v 1.4 2016/08/31 21:15:36 wiz Exp $
+# $Id: pkg_notify,v 1.5 2016/10/10 07:42:53 wiz Exp $
use Net::FTP;
use LWP::UserAgent;
@@ -585,6 +585,15 @@ foreach (@packages) {
$dist = "v";
}
+ # github - homepage only - look at releases page
+ if ($homepage =~ /github.com/) {
+ my $project = `cd $pkgpath && $make show-var VARNAME=GITHUB_PROJECT`;
+ chomp($project);
+ $master_site = $homepage . "/releases/";
+ $distname = "v$version";
+ $dist = "v";
+ }
+
if (($distname eq "") || ($master_site eq "")) {
print "missing DISTNAME or MASTER_SITES for package $pkgname\n";
next;
Home |
Main Index |
Thread Index |
Old Index