summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-17 11:16:41 +0200
committerDeposite Pirate2018-09-17 11:16:41 +0200
commit4f9fa801504f70bc64eaa178268345c9b12299db (patch)
treed9db0d690d4b1f188f26aad85a0a895933cb20b7
parent878036fd265990ed7cbf399d256c4981e4cbc52a (diff)
Add tox-weechat-git-nogaems.
-rw-r--r--tox-weechat-git-nogaems/.gitignore1
-rw-r--r--tox-weechat-git-nogaems/PKGBUILD47
-rw-r--r--tox-weechat-git-nogaems/tox-weechat-bootstrap.patch78
3 files changed, 126 insertions, 0 deletions
diff --git a/tox-weechat-git-nogaems/.gitignore b/tox-weechat-git-nogaems/.gitignore
new file mode 100644
index 0000000..f155e39
--- /dev/null
+++ b/tox-weechat-git-nogaems/.gitignore
@@ -0,0 +1 @@
+tox-weechat-git-nogaems
diff --git a/tox-weechat-git-nogaems/PKGBUILD b/tox-weechat-git-nogaems/PKGBUILD
new file mode 100644
index 0000000..c54b317
--- /dev/null
+++ b/tox-weechat-git-nogaems/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+
+_pkgname=tox-weechat
+pkgname=${_pkgname}-git-nogaems
+pkgver=r337.ecf3467
+pkgrel=2
+pkgdesc='Tox protocol plugin for WeeChat'
+arch=('i686' 'x86_64')
+url='https://github.com/haavardp/tox-weechat'
+license=('GPL3')
+depends=('toxcore' 'weechat>=1.0.1')
+makedepends=('git' 'cmake')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=("${pkgname}::git+https://github.com/nogaems/tox-weechat"
+ "${_pkgname}-bootstrap.patch")
+sha256sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd "${pkgname}"
+ printf 'r%s.%s' \
+ "$(git rev-list --count HEAD)" \
+ "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "${pkgname}"
+ git checkout file_transfer
+
+ patch -p1 -i "${srcdir}/${_pkgname}-bootstrap.patch"
+}
+
+build() {
+ cd "${pkgname}"
+ cmake \
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" .
+ make
+}
+
+package() {
+ cd "${pkgname}"
+ make install DESTDIR="${pkgdir}"
+ install -dm755 "${pkgdir}/usr/share/doc/${_pkgname}"
+ install -m644 AUTHORS README.md "${pkgdir}/usr/share/doc/${_pkgname}"
+}
diff --git a/tox-weechat-git-nogaems/tox-weechat-bootstrap.patch b/tox-weechat-git-nogaems/tox-weechat-bootstrap.patch
new file mode 100644
index 0000000..6a9093f
--- /dev/null
+++ b/tox-weechat-git-nogaems/tox-weechat-bootstrap.patch
@@ -0,0 +1,78 @@
+diff -r -u -N tox-weechat-git-nogaems/src/twc-bootstrap.c tox-weechat-git-nogaems-bootstrap/src/twc-bootstrap.c
+--- tox-weechat-git-nogaems/src/twc-bootstrap.c 2018-08-29 01:39:47.623415372 +0200
++++ tox-weechat-git-nogaems-bootstrap/src/twc-bootstrap.c 2018-08-29 01:40:18.427585957 +0200
+@@ -30,16 +30,13 @@
+ uint16_t const port;
+ };
+
+-/* bootstrap nodes generated by misc/getnodes.py
+- * last generated 2018-04-12T22:40:44.123211 */
++/* bootstrap nodes generated by ./getnodes.py
++ * last generated 2018-08-29T01:37:29.769967 */
+ static struct t_twc_bootstrap_node const twc_bootstrap_nodes[] = {
+ /* Maintainer: Manolis, location: DE */
+ {"461FA3776EF0FA655F1A05477DF1B3B614F7D6B124F7DB1DD4FE3C08B03B640F",
+ "130.133.110.14", 33445},
+ /* Maintainer: Busindre, location: US */
+- {"A179B09749AC826FF01F37A9613F6B57118AE014D4196A0E1105A98F93A54702",
+- "205.185.116.116", 33445},
+- /* Maintainer: Busindre, location: US */
+ {"1D5A5F2F5D6233058BF0259B09622FB40B482E4FA0931EB8FD3AB8E7BF7DAF6F",
+ "198.98.51.198", 33445},
+ /* Maintainer: ray65536, location: RU */
+@@ -56,22 +53,19 @@
+ "217.182.143.254", 2306},
+ /* Maintainer: ru_maniac, location: US */
+ {"0FB96EEBFB1650DDB52E70CF773DDFCABE25A95CC3BB50FC251082E4B63EF82A",
+- "104.223.122.15", 33445},
+- /* Maintainer: a68366, location: FR */
+- {"AEC204B9A4501412D5F0BB67D9C81B5DB3EE6ADA64122D32A3E9B093D544327D",
+- "51.254.84.212", 33445},
++ "45.59.119.218", 33445},
+ /* Maintainer: Skey, location: NL */
+ {"B71E91E2F5029B0A84D3B1136319CDD3D1DB6D3702B6CEFA66A4BEB25A635916",
+ "213.183.51.211", 33445},
+ /* Maintainer: t3mp, location: RU */
+ {"5625A62618CB4FCA70E147A71B29695F38CC65FF0CBD68AD46254585BE564802",
+ "92.54.84.70", 33445},
+- /* Maintainer: HooinKyoma, location: SE */
+- {"672DBE27B4ADB9D5FB105A6BB648B2F8FDB89B3323486A7A21968316E012023C",
+- "95.215.44.78", 33445},
+ /* Maintainer: LittleVulpix, location: FR */
+ {"2C289F9F37C20D09DA83565588BF496FAB3764853FA38141817A72E3F18ACA0B",
+ "163.172.136.118", 33445},
++ /* Maintainer: Sorunome, location: DE */
++ {"02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46",
++ "78.46.73.141", 33445},
+ /* Maintainer: Yani, location: NL */
+ {"E59A0E71ADA20D35BD1B0957059D7EF7E7792B3D680AE25C6F4DBBA09114D165",
+ "37.97.185.116", 33445},
+@@ -84,9 +78,6 @@
+ /* Maintainer: velusip, location: CA */
+ {"7E5668E0EE09E19F320AD47902419331FFEE147BB3606769CFBE921A2A2FD34C",
+ "149.56.140.5", 33445},
+- /* Maintainer: dvor, location: NL */
+- {"2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B",
+- "185.14.30.213", 443},
+ /* Maintainer: CeBe, location: DE */
+ {"6EE1FADE9F55CC7938234CC07C864081FC606D8FE7B751EDA217F268F1078A39",
+ "136.243.141.187", 443},
+@@ -96,12 +87,12 @@
+ /* Maintainer: warlomak, location: RU */
+ {"FFAC871E85B1E1487F87AE7C76726AE0E60318A85F6A1669E04C47EB8DC7C72D",
+ "79.140.30.52", 33445},
+- /* Maintainer: ru_maniac, location: US */
+- {"3925752E43BF2F8EB4E12B0E9414311064FF2D76707DC7D5D2CCB43F75081F6B",
+- "104.223.122.204", 33445},
+- /* Maintainer: GDR!, location: PL */
+- {"B9D109CC820C69A5D97A4A1A15708107C6BA85C13BC6188CC809D374AFF18E63",
+- "77.55.211.53", 53},
++ /* Maintainer: ky0uraku, location: RU */
++ {"257744DBF57BE3E117FE05D145B5F806089428D4DCE4E3D0D50616AA16D9417E",
++ "95.31.18.227", 33445},
++ /* Maintainer: dvor, location: NL */
++ {"2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B",
++ "185.14.30.213", 443},
+ /* Maintainer: clearmartin, location: DE */
+ {"CD133B521159541FB1D326DE9850F5E56A6C724B5B8E5EB5CD8D950408E95707",
+ "46.101.197.175", 443},