[arch-commits] Commit in ejabberd/trunk (PKGBUILD print-deps.sh)

Sergej Pupykin spupykin at archlinux.org
Tue Jul 4 13:14:16 UTC 2017


    Date: Tuesday, July 4, 2017 @ 13:14:15
  Author: spupykin
Revision: 242315

upgpkg: ejabberd 17.06-1

Added:
  ejabberd/trunk/print-deps.sh
Modified:
  ejabberd/trunk/PKGBUILD

---------------+
 PKGBUILD      |   47 +++++++++++++++++++----------------------------
 print-deps.sh |   25 +++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-04 12:51:18 UTC (rev 242314)
+++ PKGBUILD	2017-07-04 13:14:15 UTC (rev 242315)
@@ -3,18 +3,9 @@
 # Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
 # Contributor: Alexander Rødseth <rodseth at gmail.com>
 
-#
-# cd deps ; ls -1 | while read g; do (test -d $g && cd $g && sh ../t.sh); done >qwe
-#
-# U=`grep 'url =' .git/config | cut -f2 -d= | tr -d ' '`
-# C=`git rev-parse HEAD`
-# N=`basename $(pwd)`
-# echo -e "\t\"$N::$U#commit=$C\""
-#
-
 pkgname=ejabberd
-pkgver=17.04
-pkgrel=2
+pkgver=17.06
+pkgrel=1
 pkgdesc="Jabber server written in Erlang"
 arch=('x86_64' 'i686')
 url="http://www.ejabberd.im/"
@@ -27,27 +18,27 @@
 	'etc/logrotate.d/ejabberd')
 options=(emptydirs)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz"
-	"cache_tab::git://github.com/processone/cache_tab#commit=89659f4e3c8c67fca351f709e1ea7b0f6327948d"
-	"elixir::git://github.com/elixir-lang/elixir#commit=3dbfb92860fb24f83c92e1f1b67f48554fb211d6"
-	"epam::git://github.com/processone/epam#commit=488759ff2bbfdbfb9e2a253857c049bc8a357da0"
+	"cache_tab::git://github.com/processone/cache_tab#commit=b6af49e8f71c69cedd044017e06d7e2022a3173e"
+	"elixir::git://github.com/elixir-lang/elixir#commit=867da6f876c48279823a41a33030c95ef37379b2"
+	"epam::git://github.com/processone/epam#commit=0ead169d7f6a3f2d0b64cca282487e4fedfbffd9"
 	"eredis::git://github.com/wooga/eredis#commit=cbc013f516e464706493c01662e5e9dd82d1db01"
-	"esip::git://github.com/processone/esip#commit=c4f971f93f6141f716bf0e8f4cc2e2acdba16aaa"
+	"esip::git://github.com/processone/esip#commit=fe18688ecdfe2d31da595f16a35e0d54a5e04b54"
 	"ezlib::git://github.com/processone/ezlib#commit=e42ce61e60dd312ac60ef299d7f6f4522af577e5"
-	"fast_tls::git://github.com/processone/fast_tls#commit=2ae628f6e0d1acb09e683b1a5978909ade8f3038"
-	"fast_xml::git://github.com/processone/fast_xml#commit=dca6aaf422e3d82cc616d4f22187ce2bdb5af3c9"
-	"fast_yaml::git://github.com/processone/fast_yaml#commit=d5cc9701cf0bd15de129453c82ef433bd752a27c"
-	"goldrush::git://github.com/DeadZen/goldrush.git#commit=212299233c7e7eb63a97be2777e1c05ebaa58dbe"
+	"fast_tls::git://github.com/processone/fast_tls#commit=d0f8fc07657f4409e1d115cbf63e98015525913f"
+	"fast_xml::git://github.com/processone/fast_xml#commit=46c24036ff3c6150ad7dabb95e1aaff73a6437e6"
+	"fast_yaml::git://github.com/processone/fast_yaml#commit=a1649cd561a315ad40a1461f8a2038680cd146b2"
+	"goldrush::git://github.com/DeadZen/goldrush.git#commit=8f1b715d36b650ec1e1f5612c00e28af6ab0de82"
 	"hamcrest::git://github.com/basho/hamcrest-erlang.git#commit=98bc7aa19ea081478c816824aa05fc5a48acae66"
-	"iconv::git://github.com/processone/iconv#commit=4886399bd973c8544821f5b70482ef54168155b8"
+	"iconv::git://github.com/processone/iconv#commit=888cbaa256bd8eff17ba73742a4b2f5706135cc6"
 	"jiffy::git://github.com/davisp/jiffy#commit=1febce3ca86c5ca5d5a3618ed3d5f125bb99e4c5"
-	"lager::git://github.com/basho/lager#commit=8187757388c9adc915379caaab36a2f2ca26e944"
+	"lager::git://github.com/erlang-lager/lager#commit=a10c23c51dea6bbd63e5048c8a5a702169973114"
 	"luerl::git://github.com/rvirding/luerl#commit=f7b2cc0ab6fa4245ebeda0169fc994aff0628bf9"
 	"meck::git://github.com/eproxus/meck#commit=70d6a33ce7407029dc59e22a5b3c1c61c1348b23"
 	"moka::git://github.com/processone/moka.git#commit=3eed3a6dd7dedb70a6cd18f86c7561a18626eb3b"
-	"p1_mysql::git://github.com/processone/p1_mysql#commit=45ac9ffc243c0822c6f58ca2da04ef55351a0e42"
+	"p1_mysql::git://github.com/processone/p1_mysql#commit=eab8ad1ef00bb953e61ea80b40443a7f7c5a833c"
 	"p1_oauth2::git://github.com/processone/p1_oauth2#commit=34f9b20fd68134a4646130bdcf1abf320f815a00"
-	"p1_pgsql::git://github.com/processone/p1_pgsql#commit=8040c9a33104a3fe214e2fde353ef2d96f9feffe"
-	"p1_utils::git://github.com/processone/p1_utils#commit=49baaaac12a09eac8e68d18dae911774ec46daed"
+	"p1_pgsql::git://github.com/processone/p1_pgsql#commit=d33b40694f510b88481e6a62356183799fbf1b24"
+	"p1_utils::git://github.com/processone/p1_utils#commit=2431d02f3364cbd21411a2a5b2c0ee37b3d7da6a"
 	"protobuffs::git://github.com/basho/erlang_protobuffs.git#commit=0d22220a8e56adab129836d6ff582a9bca103a0c"
 	"rebar_elixir_plugin::git://github.com/processone/rebar_elixir_plugin#commit=10614dfef5d10b7071f7181858149259e50159f6"
 	"riakc::git://github.com/basho/riak-erlang-client#commit=261df630afe4a998e099a8ab209a2dc7419f85de"
@@ -54,13 +45,13 @@
 	"riak_pb::git://github.com/basho/riak_pb#commit=9ca2395f9d6464b82bab466bbdca410cb85a0ac7"
 	"samerlib::git://github.com/processone/samerlib#commit=fbbba035b1548ac4e681df00d61bf609645333a0"
 	"sqlite3::git://github.com/processone/erlang-sqlite3#commit=6ee3570060fbbf793a0bc873831e8eabb6c39851"
-	"stringprep::git://github.com/processone/stringprep#commit=7643cf198b45a176d7e8258e42e5a756453fcd75"
-	"stun::git://github.com/processone/stun#commit=35fa0ca65188550d96ee30ce680a83f74c21ab21"
-	"xmpp::git://github.com/processone/xmpp#commit=a7f2ebfab89f015133c69f41754477f322c082b3"
+	"stringprep::git://github.com/processone/stringprep#commit=c4bc2aa6ebb6444dce7546d6818ac9506be274f6"
+	"stun::git://github.com/processone/stun#commit=15fc3daa90f39936bfdddc8f7c06b20d5992c517"
+	"xmpp::git://github.com/processone/xmpp#commit=2826fc70da079cc7216fafce3829c798c57e1a19"
 	"$pkgname.logrotate"
 	"ejabberd.service"
 	"sysuser.conf")
-sha256sums=('1b2b258d8b846b62aef936ea75e6adc2e98de9358f6a7f7e707fde9561c875e7'
+sha256sums=('1a22fe2f8b38fb9cff162e486128f66bff2823f9c04e2b30ee10e79decef35b1'
             'SKIP'
             'SKIP'
             'SKIP'

Added: print-deps.sh
===================================================================
--- print-deps.sh	                        (rev 0)
+++ print-deps.sh	2017-07-04 13:14:15 UTC (rev 242315)
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+#
+# Helper script which prints ejabberd deps' urls including commit hash
+#
+
+cd src/ejabberd-*/config && cd ..
+
+if [ ! -d deps ]; then
+	[ -x configure ] || ./autogen.sh
+	./configure --enable-all
+	make deps || exit 1
+fi
+
+cd deps ; ls -1 | while read g; do
+	test -d $g && \
+	pushd $g &>/dev/null
+	if [ $? -eq 0 ]; then
+		U=`grep 'url =' .git/config | cut -f2 -d= | tr -d ' '`
+		C=`git rev-parse HEAD`
+		N=`basename $(pwd)`
+		echo -e "\t\"$N::$U#commit=$C\""
+	fi
+	popd &>/dev/null
+done | sed 's|https://|git://|'


Property changes on: ejabberd/trunk/print-deps.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property



More information about the arch-commits mailing list