git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
f0b06437edf00aba4224435afab3b2b77e596916 blob 4565 bytes (raw)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
 
</sys/src/ape/config

CFILES=`{sed -n '/^BUILTIN_OBJS *\+= *(.*)\.o$/s//\1.c/p' Makefile}
OFILES=\
	${CFILES:%.c=%.$O}\
	common-main.$O\

X_CFILES=`{sed -n '/^BUILT_INS *\+= *git-(.*)\$X$/s//\1/p' Makefile}

#APP_CFILES=`{sed -n '/^PROGRAM_OBJS *\+= *(.*)\.o$/s//\1.c/p' Makefile}
APP_CFILES=\
	credential-store.c\
	http-fetch.c\
	http-push.c\

TARG=\
	git\
	${CFILES:builtin/%.c=git-%}\
	${X_CFILES:%=git-%}\
	${APP_CFILES:%.c=git-%}\
	git-remote-http\
	git-remote-https\
	git-remote-ftp\
	git-remote-ftps\

# NO_UNIXSOCK
#	git-credential-cache\
#	git-credential-cache--daemon\

#GIT_HOST_CPU=i386|i686|x86_64

ROOT=`{pwd}
<GIT-VERSION-FILE
COMMIT_HASH=`{git rev-parse -q --verify HEAD}

# -w flag isn't intentionally set because it is noisy.
# -T flag isn't intentionally set.
CFLAGS=-FVB+ -c\
	-I$ROOT\
	-I$ROOT/compat/plan9\
	-I$ROOT/compat/regex\
	-D__PLAN9__\
	-D_POSIX_SOURCE\
	-D_BSD_EXTENSION\
	-D_SUSV2_SOURCE\
	-D_PLAN9_SOURCE\
	-D_RESEARCH_SOURCE\
	-D_REENTRANT_SOURCE\
	-DHAVE_SOCK_OPTS\
	-DNO_NSEC\
	-DNO_SYMLINK_HEAD\
	-DNO_GECOS_IN_PWENT\
	-DNO_GETTEXT\
	-DNO_STRCASESTR\
	-DNO_STRLCPY\
	-DNO_STRTOUMAX\
	-DNO_MBSUPPORT\
	-DNO_MKDTEMP\
	-DNO_UNSETENV\
	-DNEEDS_SYS_PARAM_H\
	-DNO_INITGROUPS\
	-DNO_MMAP\
	-DNO_ST_BLOCKS_IN_STRUCT_STAT\
	-DNO_STRUCT_ITIMERVAL\
	-DNO_SETITIMER\
	-Dsockaddr_storage=sockaddr_in6\
	-DNO_UNIX_SOCKETS\
	-DNO_ICONV\
	-DSHA1_OPENSSL\
	-DSHA256_OPENSSL\
	-DNO_MEMMEM\
	-DHAVE_STDBOOL_H\
	-DHAVE_STDINT_H\
	-DHAVE_LOCALE_H\
	-DHAVE_CLOCK_GETTIME\
	-DGIT_VERSION="$GIT_VERSION"\
	-DGIT_BUILT_FROM_COMMIT="$COMMIT_HASH"\
	-DGIT_USER_AGENT="git/$GIT_VERSION"\
	-DETC_GITCONFIG="/sys/lib/git/config"\
	-DETC_GITATTRIBUTES="/sys/lib/git/attributes"\
	-DUSER_GITCONFIG="~/lib/git/config"\
	-DUSER_GITCREDENTIALS="~/lib/git/credentials"\
	-DUSER_GITCREDENTIAL_CACHE="~/lib/git/credential-cache"\
	-DDEFAULT_GIT_TEMPLATE_DIR="/sys/lib/git/templates"\
	-DGIT_HOST_CPU="i386"\
	-DGIT_EXEC_PATH="/bin/git-core"\
	-DGIT_MAN_PATH="/sys/man"\
	-DGIT_INFO_PATH=""\
	-DGIT_HTML_PATH=""\
	-DFALLBACK_RUNTIME_PREFIX="/bin/git-core"\
	-DDEFAULT_PAGER="/bin/p"\
	-DPAGER_ENV="terminal="\
	-DHOME_ENVIRONMENT="home"\
	-DPATH_ENVIRONMENT="path"\
	-D_PATH_SEP=1\
	-D_PATH_DEFPATH="/bin"\
	-DSHELL_PATH="/bin/rc"\

LIB_CFILES=`{sed -n '/^LIB_OBJS *\+= *(.*)\.o$/s//\1.c/p' Makefile}
LIB_OFILES=\
	${LIB_CFILES:%.c=%.$O}\
	compat/qsort_s.$O\
	compat/strcasestr.$O\
	compat/strlcpy.$O\
	compat/strtoumax.$O\
	compat/strtoimax.$O\
	compat/setenv.$O\
	compat/mkdtemp.$O\
	compat/unsetenv.$O\
	compat/mmap.$O\
	compat/memmem.$O\
	compat/regex/regex.$O\

XDIFF_CFILES=`{sed -n '/^XDIFF_OBJS *\+= *(.*)\.o$/s//\1.c/p' Makefile}
XDIFF_OFILES=${XDIFF_CFILES:%.c=%.$O}

HFILES=\
	`{ls *.h}\
	`{ls */*.h}\
	`{ls */*/*.h}\
	`{ls */*/*/*.h}\
	command-list.h\

BIN=/$objtype/bin/git-core
OBJBIN=/$objtype/bin

LIB=\
	libgit.a$O\
	xdiff/lib.a$O\
	/$objtype/lib/ape/libcurl.a\
	/$objtype/lib/ape/libssl.a\
	/$objtype/lib/ape/libcrypto.a\
	/$objtype/lib/ape/libexpat.a\
	/$objtype/lib/ape/libz.a\

CLEANFILES=command-list.h

</sys/src/cmd/mkmany

LIBGIT=libgit.a$O
LIBGITOBJ=${LIB_OFILES:%=$LIBGIT(%)}
LIBXDIFF=xdiff/lib.a$O
LIBXDIFFOBJ=${XDIFF_OFILES:%=$LIBXDIFF(%)}

command-list.h:D:	command-list.txt
	rc ./generate-cmdlist.rc $prereq >$target

${CFILES:builtin/%.c=$O.git-%} ${X_CFILES:%=$O.git-%}:D:	plan9/wrap.c
	for(i in $target)
		$CC -FTVw -o $i $prereq

$O.git-credential-store:	credential-store.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

$O.git-http-fetch:	http-fetch.$O http.$O http-walker.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

$O.git-http-push:	http-push.$O http.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

git-http-%.$O:	http-%.c
	$CC $CFLAGS -o $target $prereq

$O.git-remote-http:	remote-curl.$O http.$O http-walker.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

$O.git-remote-https:	remote-curl.$O http.$O http-walker.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

$O.git-remote-ftp:	remote-curl.$O http.$O http-walker.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

$O.git-remote-ftps:	remote-curl.$O http.$O http-walker.$O common-main.$O $LIB
	$LD $LDFLAGS -o $target $prereq

# git should be copied into both $BIN and $OBJBIN
git.install:V:	$O.git
	cp $O.git $OBJBIN/git

$LIBGIT:	$LIBGITOBJ
	ar vu $target $newmember

$LIBXDIFF:	$LIBXDIFFOBJ
	ar vu $target $newmember

%.$O:	%.c
	$CC $CFLAGS -o $target $stem.c

$LIBGIT(%.$O):N:	%.$O

$LIBXDIFF(%.$O):N:	%.$O

clean:V:
	rm -f *.[$OS] [$OS].out y.tab.? lex.yy.c y.debug y.output $CLEANFILES
	rm -f */*.[$OS] */*/*.[$OS]
debug log:

solving f0b06437ed ...
found f0b06437ed in https://public-inbox.org/git/04949713061ba95784b5523c6ce57542a8e87abe.1564876327.git.gitgitgadget@gmail.com/

applying [1/1] https://public-inbox.org/git/04949713061ba95784b5523c6ce57542a8e87abe.1564876327.git.gitgitgadget@gmail.com/
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000000..f0b06437ed

Checking patch mkfile...
Applied patch mkfile cleanly.

index at:
100644 f0b06437edf00aba4224435afab3b2b77e596916	mkfile

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.version-control.git
	nntp://ie5yzdi7fg72h7s4sdcztq5evakq23rdt33mfyfcddc5u3ndnw24ogqd.onion/inbox.comp.version-control.git
	nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git