summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-11-15 11:20:34 +0100
committermakefu <github@syntax-fehler.de>2016-11-15 11:20:34 +0100
commit09018f17c3a348863ccce820e524eac2bfd78568 (patch)
tree933ce4a273e224f26b084f0090a74563cc9514e6 /krebs/5pkgs
parentc281c4663d85e3d025216c9507ba96509c244c16 (diff)
parentbe75ad7e7c0771170ccaddfe99b7a64a9004bfcd (diff)
Merge remote-tracking branch 'tv/master'
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r--krebs/5pkgs/charybdis/default.nix34
-rw-r--r--krebs/5pkgs/charybdis/remove-setenv.patch12
-rw-r--r--krebs/5pkgs/dic/default.nix8
3 files changed, 4 insertions, 50 deletions
diff --git a/krebs/5pkgs/charybdis/default.nix b/krebs/5pkgs/charybdis/default.nix
deleted file mode 100644
index 6968be264..000000000
--- a/krebs/5pkgs/charybdis/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, fetchgit, bison, flex, openssl }:
-
-stdenv.mkDerivation rec {
- name = "charybdis-3.5.0-rc1";
-
- src = fetchgit {
- url = "https://github.com/atheme/charybdis.git";
- rev = "61815bf9324e872f51255e09fe37a8c595f94a60";
- sha256 = "1q9h7j2pm1wsbcybmm7r7hzimp1zda04lw9x2akb26l9p12zgfgc";
- };
-
- patches = [
- ./remove-setenv.patch
- ];
-
- configureFlags = [
- "--enable-epoll"
- "--enable-ipv6"
- "--enable-openssl=${openssl}"
- "--enable-small-net"
- "--with-program-prefix=charybdis-"
- "--sysconfdir=/tmp"
- ];
-
- buildInputs = [ bison flex openssl ];
-
- meta = {
- description = "An extremely scalable ircd with some cooperation with the ratbox and ircu guys";
- homepage = https://github.com/atheme/charybdis;
- license = stdenv.lib.licenses.gpl2;
- maintainers = [ stdenv.lib.maintainers.lassulus ];
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/krebs/5pkgs/charybdis/remove-setenv.patch b/krebs/5pkgs/charybdis/remove-setenv.patch
deleted file mode 100644
index bbaf95e19..000000000
--- a/krebs/5pkgs/charybdis/remove-setenv.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/bandbi.c b/src/bandbi.c
-index 03dd907..3698e85 100644
---- a/src/bandbi.c
-+++ b/src/bandbi.c
-@@ -82,7 +82,6 @@ start_bandb(void)
- const char *suffix = "";
- #endif
-
-- rb_setenv("BANDB_DBPATH", PKGLOCALSTATEDIR "/ban.db", 1);
- if(bandb_path == NULL)
- {
- rb_snprintf(fullpath, sizeof(fullpath), "%s/bandb%s", PKGLIBEXECDIR, suffix);
diff --git a/krebs/5pkgs/dic/default.nix b/krebs/5pkgs/dic/default.nix
index 12cbedc60..ea70f34d7 100644
--- a/krebs/5pkgs/dic/default.nix
+++ b/krebs/5pkgs/dic/default.nix
@@ -4,9 +4,9 @@ stdenv.mkDerivation {
name = "dic";
src = fetchgit {
- url = https://github.com/krebscode/painload;
- rev = "35ccac73d563ad30d2851b9aeed4cfef69ff74e3";
- sha256 = "0arsfcd8qdrqafw7cxiag7f0kn95nwxxwrs0kdzxxdryfr6l1h07";
+ url = http://cgit.ni.krebsco.de/dic;
+ rev = "refs/tags/v1.0.0";
+ sha256 = "0f3f5dqpw5y79p2k68qw6jdlkrnapqs3nvnc41zwacyhgppiww0k";
};
phases = [
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
sed \
's,^main() {$,&\n PATH=${path}; export PATH,' \
- < ./util/bin/dic \
+ < ./dic \
> $out/bin/dic
chmod +x $out/bin/dic