pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

- make use of github.com master site handling to Makefile - use more variables - add PKGREVISION =1 to the package for this commit



Module Name:	pkgsrc-wip
Committed By:	Paul Lecuq <paul%paulbsd.com@localhost>
Pushed By:	paulbsd
Date:		Wed Jan 6 01:02:57 2016 +0100
Changeset:	ad996fa3f2839374551bf5f940557cfc74167d18

Modified Files:
	bareos/Makefile
	bareos/Makefile.common
	bareos/distinfo

Log Message:
- make use of github.com master site handling to Makefile
- use more variables
- add PKGREVISION=1 to the package for this commit

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ad996fa3f2839374551bf5f940557cfc74167d18

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bareos/Makefile        |  2 +-
 bareos/Makefile.common | 14 ++++++++++----
 bareos/distinfo        |  6 +++---
 3 files changed, 14 insertions(+), 8 deletions(-)

diffs:
diff --git a/bareos/Makefile b/bareos/Makefile
index a591ab2..38f109a 100644
--- a/bareos/Makefile
+++ b/bareos/Makefile
@@ -1,4 +1,4 @@
-#PKGREVISION=		1
+PKGREVISION=		1
 
 .include "options.mk"
 
diff --git a/bareos/Makefile.common b/bareos/Makefile.common
index 85e0957..edae35c 100644
--- a/bareos/Makefile.common
+++ b/bareos/Makefile.common
@@ -1,8 +1,14 @@
-DISTNAME=	bareos-Release-15.2.2
-PKGNAME=	bareos-15.2.2
+GITHUB_PROJECT= bareos
+PKGNAME=        ${GITHUB_PROJECT}-${VERSION}
+DISTNAME=	bareos
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=bareos/}
+DIST_SUBDIR=    ${GITHUB_PROJECT}
+TAG=		Release
+GITHUB_TAG=     ${TAG}/${PKGVERSION_NOREV}
+WRKSRC=         ${WRKDIR}/${DISTNAME}-${TAG}-${PKGVERSION_NOREV}
+
+VERSION=        15.2.2
 CATEGORIES=	sysutils
-MASTER_SITES=	-https://github.com/bareos/bareos/archive/Release/${DISTNAME:S/bareos-Release-//}.tar.gz
-EXTRACT_SUFX=	.tar.gz
 
 MAINTAINER=	paul%paulbsd.com@localhost
 HOMEPAGE=	http://www.bareos.org/
diff --git a/bareos/distinfo b/bareos/distinfo
index 9427bc1..7f04578 100644
--- a/bareos/distinfo
+++ b/bareos/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (bareos-Release-15.2.2.tar.gz) = 2a3792389fe4c337d95dda54429dfc854cd7d225
-RMD160 (bareos-Release-15.2.2.tar.gz) = 2fbb0176e0aba7de5eae2765e006cab0800b0c60
-Size (bareos-Release-15.2.2.tar.gz) = 3928036 bytes
+SHA1 (bareos/bareos.tar.gz) = 2a3792389fe4c337d95dda54429dfc854cd7d225
+RMD160 (bareos/bareos.tar.gz) = 2fbb0176e0aba7de5eae2765e006cab0800b0c60
+Size (bareos/bareos.tar.gz) = 3928036 bytes
 SHA1 (patch-GNUmakefile.in) = 9afa4bf9e0818b2e969174b898c10eadcc6768b6
 SHA1 (patch-Makefile.in) = 020827dae3b780a3f8e9716ed15bae90ce40a44b
 SHA1 (patch-aa) = b60a5b11dc36e6a6ebc30a685be59d28ff765b16


Home | Main Index | Thread Index | Old Index