Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] git: add netrc subpackage.
@ 2019-10-30  7:52 voidlinux-github
  2019-10-31  7:27 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: voidlinux-github @ 2019-10-30  7:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

There is a new pull request by travankor against master on the void-packages repository

https://github.com/travankor/void-packages git
https://github.com/void-linux/void-packages/pull/15937

git: add netrc subpackage.
None

A patch file from https://github.com/void-linux/void-packages/pull/15937.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-git-15937.patch --]
[-- Type: text/x-diff, Size: 1980 bytes --]

From da11335e26aa62926337b1d6cdfcec4eb515a8cc Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Tue, 29 Oct 2019 04:27:31 -0700
Subject: [PATCH] git: add netrc subpackage.

---
 srcpkgs/git-netrc    |  1 +
 srcpkgs/git/template | 13 +++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)
 create mode 120000 srcpkgs/git-netrc

diff --git a/srcpkgs/git-netrc b/srcpkgs/git-netrc
new file mode 120000
index 00000000000..ce531e3ced1
--- /dev/null
+++ b/srcpkgs/git-netrc
@@ -0,0 +1 @@
+git/
\ No newline at end of file
diff --git a/srcpkgs/git/template b/srcpkgs/git/template
index 7081d7d4bfc..682e2390538 100644
--- a/srcpkgs/git/template
+++ b/srcpkgs/git/template
@@ -1,7 +1,7 @@
 # Template file for 'git'
 pkgname=git
 version=2.23.0
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--with-curl --with-expat --with-tcltk --with-libpcre2
  ac_cv_snprintf_returns_bogus=no"
@@ -22,7 +22,7 @@ checksum=234fa05b6839e92dc300b2dd78c92ec9c0c8d439f65e1d430a7034f60af16067
 replaces="git-perl>=0"
 register_shell=/usr/bin/git-shell
 
-subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret"
+subpackages="git-cvs git-svn gitk git-gui git-all git-libsecret git-netrc"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) configure_args+=" ac_cv_fread_reads_directories=yes" ;;
@@ -49,6 +49,7 @@ post_install() {
 	vinstall contrib/git-jump/README 644 usr/share/doc/git-jump
 	make -C contrib/subtree DESTDIR=${DESTDIR} prefix=/usr install install-man
 	vinstall contrib/credential/libsecret/git-credential-libsecret 755 usr/libexec/git-core
+	vinstall contrib/credential/netrc/git-credential-netrc 755 usr/libexec/git-core
 }
 
 git-cvs_package() {
@@ -114,3 +115,11 @@ git-libsecret_package() {
 		vmove usr/libexec/git-core/git-credential-libsecret
 	}
 }
+
+git-netrc_package() {
+	depends="git-${version}_${revision}"
+	short_desc+=" - netrc credential helper"
+	pkg_install() {
+		vmove usr/libexec/git-core/git-credential-netrc
+	}
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-08  7:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30  7:52 [PR PATCH] git: add netrc subpackage voidlinux-github
2019-10-31  7:27 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-31  7:27 ` voidlinux-github
2019-11-02 10:20 ` voidlinux-github
2019-11-02 12:57 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-02 12:57 ` voidlinux-github
2019-11-06  7:06 ` voidlinux-github
2019-11-08  7:37 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).