add mirrors.wit.com example. add noarch
This commit is contained in:
parent
526605ff87
commit
fbf9f4e802
|
@ -0,0 +1,11 @@
|
||||||
|
.PHONY: build
|
||||||
|
|
||||||
|
all: build
|
||||||
|
|
||||||
|
build:
|
||||||
|
go-deb --repo .
|
||||||
|
|
||||||
|
# use the ncurses gui (only kinda works still)
|
||||||
|
ncurses:
|
||||||
|
go-deb --gui gocui --repo .
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# these are the keys and files you need
|
||||||
|
#
|
||||||
|
# to be able to apt install packages from mirrors.wit.com
|
||||||
|
|
||||||
|
mkdir -p files/etc/apt/trusted.gpg.d/
|
||||||
|
cp wit-sid.asc files/etc/apt/trusted.gpg.d/
|
||||||
|
|
||||||
|
mkdir -p files/etc/apt/sources.list.d/
|
||||||
|
cp wit.list files/etc/apt/sources.list.d/
|
|
@ -0,0 +1,11 @@
|
||||||
|
Build-Depends:
|
||||||
|
Package: mirrors.wit.com
|
||||||
|
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||||
|
Packager: Jeff Carr <jcarr@wit.com>
|
||||||
|
Architecture: noarch
|
||||||
|
Depends:
|
||||||
|
URL: https://mirrors.wit.com/
|
||||||
|
Recommends:
|
||||||
|
Version: 0.0.3
|
||||||
|
Description: apt keys and source file
|
||||||
|
This was packaged with go-deb from go.wit.com
|
|
@ -0,0 +1,41 @@
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQGNBGclJM8BDAC2IEoi7FeQjqOUXliXEwwbtpCpMpRFHBNGtY475Noah/HY12AI
|
||||||
|
xirECOjWoD3CojsGEvP7L+QUYa/XsRv35SqSS36ZpTnT9+8PD/I3Ezsp/6Obqahs
|
||||||
|
ojJy+17KqhOLsK5XfdU1v8fuQ7/0ebn6xsDt+shSpOFxwwF0LNI8BJgTU7+jVhPK
|
||||||
|
l7IE6CC3RdjJGJG35BBHPFMR1UlVM2P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h+2Fwc63+uL3FbREQyRxwNuSp
|
||||||
|
Gx8vuxdbJyUgUbetcjSO2ySKe/3n5N4kzgS0m+/BQ+3dFbZz6x7qIrQzlRxXdH/C
|
||||||
|
HPa281thIR/0RHp7VH7yMlzh/iTbOhmyo13F8pcJ9IIKgBBGE5fZDeHri1/8eNEY
|
||||||
|
PI+QhFxd3KZ7dnFrrq1NsXRWk2SfIl5fh1Mk/gPSf2cppkEDKg0cOP2HQOQ3cqUL
|
||||||
|
X4aT7W+u+dxTCOk1pVyKT3Vo
|
||||||
|
=N1/z
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
|
@ -0,0 +1,4 @@
|
||||||
|
deb http://mirrors.wit.com/wit/ sid main
|
||||||
|
# deb-src http://mirrors.wit.com/wit/ sid main
|
||||||
|
|
||||||
|
# cp apt-wit.list /etc/apt/sources.list.d/
|
|
@ -4,3 +4,8 @@ all: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go-deb --repo .
|
go-deb --repo .
|
||||||
|
|
||||||
|
# use the ncurses gui (only kinda works still)
|
||||||
|
ncurses:
|
||||||
|
go-deb --gui gocui --repo .
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
Source: google.golang.org.protobuf
|
Source: google.golang.org.protobuf
|
||||||
Build-Depends: golang
|
Build-Depends: golang
|
||||||
Package: protoc-gen-go-new
|
Package: protoc-gen-go-wit
|
||||||
Maintainer: Jeff Carr <jcarr@wit.com>
|
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||||
Packager: Jeff Carr <jcarr@wit.com>
|
Packager: Jeff Carr <jcarr@wit.com>
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends:
|
Depends: protobuf-compiler
|
||||||
URL: https://go.wit.com/
|
URL: https://go.wit.com/
|
||||||
Recommends:
|
Recommends:
|
||||||
Version: 0.1
|
Version: 0.0.3
|
||||||
Description: protoc-gen-go from google.golang.org/protobuf
|
Description: protoc-gen-go from google.golang.org/protobuf
|
||||||
You need this one until the debian sid packages are updated
|
You need this one until the debian sid packages are updated
|
||||||
|
I didn't change anything, it's a straight build from the sources.
|
||||||
|
|
|
@ -75,6 +75,11 @@ func (c *controlBox) readControlFile() error {
|
||||||
case "Architecture":
|
case "Architecture":
|
||||||
if c.Architecture.String() != value {
|
if c.Architecture.String() != value {
|
||||||
log.Warn("not sure what to do with Architecture", c.Architecture.String(), value)
|
log.Warn("not sure what to do with Architecture", c.Architecture.String(), value)
|
||||||
|
if value == "noarch" {
|
||||||
|
log.Warn("attempting to set noarch")
|
||||||
|
c.Architecture.SetText(value)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
log.Warn("error unknown key", key, "value:", value)
|
log.Warn("error unknown key", key, "value:", value)
|
||||||
|
|
Loading…
Reference in New Issue