diff --git a/slapos/profile/bzip2.cfg b/slapos/profile/bzip2.cfg
index 7efa1d00fd07fec0617d01286189ca40b6dcd136..d2b716ebd9faf3aea1b529e5a7d228c7b3a9d972 100644
--- a/slapos/profile/bzip2.cfg
+++ b/slapos/profile/bzip2.cfg
@@ -4,7 +4,7 @@ parts =
 
 [bzip2-hooks-download]
 recipe = hexagonit.recipe.download
-url = http://www.nexedi.org/static/buildout-hooks/bzip2-hooks.py-r40619
+url = ${:_profile_base_location_}/../hook/${:filename}
 md5sum = 066c8355b7d726f30176ea5b6a35e1a2
 download-only = true
 filename = bzip2-hooks.py
diff --git a/slapos/profile/ghostscript.cfg b/slapos/profile/ghostscript.cfg
index f42c682311ba5f9a1fc691b8f70e33741c8e1225..f3282db70e2c8a5b2b4e7281970ef242b672edae 100644
--- a/slapos/profile/ghostscript.cfg
+++ b/slapos/profile/ghostscript.cfg
@@ -9,7 +9,7 @@ parts = ghostscript
 
 [ghostscript-hooks-download]
 recipe = hexagonit.recipe.download
-url = http://www.nexedi.org/static/buildout-hooks/ghostscript-hooks.py-r40044
+url = ${:_profile_base_location_}/../hook/${:filename}
 filename = ghostscript-hooks.py
 md5sum = 731475648c91507bd1dfe2a61ee84552
 download-only = true
diff --git a/slapos/profile/jbigkit.cfg b/slapos/profile/jbigkit.cfg
index b76c1eeeae0b571a555804be3ff1f1287e5b6586..4d3089c2008ef6615215c16e861bd5942a90b0ca 100644
--- a/slapos/profile/jbigkit.cfg
+++ b/slapos/profile/jbigkit.cfg
@@ -5,7 +5,7 @@ parts =
 [jbigkit-hooks]
 recipe = hexagonit.recipe.download
 download-only = true
-url = http://www.nexedi.org/static/buildout-hooks/jbigkit-hooks.py-r40690
+url = ${:_profile_base_location_}/../hook/${:filename}
 md5sum = f1edb4ddd212d2d100d7ea8b2e42d21f
 filename = jbigkit-hooks.py
 
diff --git a/slapos/profile/kumo.cfg b/slapos/profile/kumo.cfg
index 169a3192ed0a5dc63917e01b99cecf9353f3cbb2..149f82c801b4ce8218d53f79630a87f5737275a2 100644
--- a/slapos/profile/kumo.cfg
+++ b/slapos/profile/kumo.cfg
@@ -9,7 +9,7 @@ parts = kumo
 find-links = http://www.nexedi.org/static/packages/source/
 
 [kumo-hooks-download]
-url = http://www.nexedi.org/static/buildout-hooks/kumo-hooks.py-r41093
+url = ${:_profile_base_location_}/../hook/${:filename}
 md5sum = 958a595a02de75624728f8d65e39d800
 recipe = hexagonit.recipe.download
 download-only=true
diff --git a/slapos/profile/libdb.cfg b/slapos/profile/libdb.cfg
index 99e1586bbd197d7d178a2c667761b177f52d24e3..a417576fb24d641d35e9bedcf994ae58d0e09062 100644
--- a/slapos/profile/libdb.cfg
+++ b/slapos/profile/libdb.cfg
@@ -2,7 +2,7 @@
 parts = libdb
 
 [libdb-hooks-download]
-url = http://www.nexedi.org/static/buildout-hooks/libdb-hooks.py-r39904
+url = ${:_profile_base_location_}/../hook/${:filename}
 md5sum = acb3bfb990a48381176c1e8f74130e30
 recipe = hexagonit.recipe.download
 download-only=true
diff --git a/slapos/profile/pdftk.cfg b/slapos/profile/pdftk.cfg
index 9fae93d89a14884d491898d349da69f97833d53b..2ca263db7a4fcedc32190d95dc1faa008077550f 100644
--- a/slapos/profile/pdftk.cfg
+++ b/slapos/profile/pdftk.cfg
@@ -21,7 +21,7 @@ filename = pdftk-1.44-Makefile.Base-DEST-LDFLAGS.patch
 
 [pdftk-hooks-download]
 recipe = hexagonit.recipe.download
-url = http://www.nexedi.org/static/buildout-hooks/pdftk-hooks.py-r38757
+url = ${:_profile_base_location_}/../hook/${:filename}
 filename = pdftk-hooks.py
 md5sum = b4b4a31ded6b59888e2a56d1b5726c99
 download-only = true
diff --git a/slapos/profile/postfix.cfg b/slapos/profile/postfix.cfg
index 6a418705e8c1371ad8175ef7dc8e1dd7aec1632d..60ac5c46d9804d23c1958bbc90b4e31749faaa09 100644
--- a/slapos/profile/postfix.cfg
+++ b/slapos/profile/postfix.cfg
@@ -11,7 +11,7 @@ parts = postfix
 
 [postfix-hooks-download]
 recipe = hexagonit.recipe.download
-url = http://www.nexedi.org/static/buildout-hooks/postfix-hooks.py-r43225
+url = ${:_profile_base_location_}/../hook/${:filename}
 filename = postfix-hooks.py
 md5sum = 54821f5194c48515f930144601809d29
 download-only = true
diff --git a/slapos/profile/stunnel.cfg b/slapos/profile/stunnel.cfg
index 0b42cdc6651365d168affc2739d4f1f1080f4501..72dd6c92bba80e168636be940c9e76a981deaff6 100644
--- a/slapos/profile/stunnel.cfg
+++ b/slapos/profile/stunnel.cfg
@@ -10,7 +10,7 @@ recipe = hexagonit.recipe.cmmi
 
 [stunnel-4-hook-download]
 recipe = hexagonit.recipe.download
-url = http://www.nexedi.org/static/buildout-hooks/stunnel-4-hooks.py-r39611
+url = ${:_profile_base_location_}/../hook/${:filename}
 md5sum = 5b099b386c34c5b8d0664c0292ba322a
 download-only=true
 filename = stunnel-4-hooks.py