diff --git a/lib/rbpkg/repos/libbsd.rb b/lib/rbpkg/repos/libbsd.rb
new file mode 100644
index 0000000..4b8f771
--- /dev/null
+++ b/lib/rbpkg/repos/libbsd.rb
@@ -0,0 +1,26 @@
+require "#{__FILE__}/../../repo"
+
+class Rbpkg::Repos::Libbsd < Rbpkg::Repo
+
+ def_name("libbsd")
+
+ def branch
+ "main"
+ end
+
+ def dependencies
+ ["libmd"]
+ end
+
+ def dir
+ "freedesktop.org/libbsd"
+ end
+
+ def git_url
+ "https://gitlab.freedesktop.org/libbsd/libbsd.git"
+ end
+
+ def system_package?
+ Rbpkg.os.match?(/BSD/)
+ end
+end
diff --git a/lib/rbpkg/repos/libmd.rb b/lib/rbpkg/repos/libmd.rb
new file mode 100644
index 0000000..f54ed77
--- /dev/null
+++ b/lib/rbpkg/repos/libmd.rb
@@ -0,0 +1,22 @@
+require "#{__FILE__}/../../repo"
+
+class Rbpkg::Repos::Libmd < Rbpkg::Repo
+
+ def_name("libmd")
+
+ def branch
+ "main"
+ end
+
+ def dir
+ "hadrons.org/libmd"
+ end
+
+ def git_url
+ "https://git.hadrons.org/git/libmd.git"
+ end
+
+ def system_package?
+ Rbpkg.os.match?(/BSD/)
+ end
+end