diff options
Diffstat (limited to 'net-p2p/gnunet')
39 files changed, 0 insertions, 3474 deletions
diff --git a/net-p2p/gnunet/ChangeLog b/net-p2p/gnunet/ChangeLog deleted file mode 100644 index 7f06851e..00000000 --- a/net-p2p/gnunet/ChangeLog +++ /dev/null @@ -1,34 +0,0 @@ -# ChangeLog for net-p2p/gnunet -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*gnunet-0.8.1b (23 Feb 2010) - - 23 Feb 2010; Ycarus <ycarus@zugaina.org> +gnunet-0.8.1b.ebuild: - Bump to 0.8.1b - -*gnunet-0.8.1a (16 Feb 2010) - - 16 Feb 2010; Ycarus <ycarus@zugaina.org> +gnunet-0.8.1a.ebuild: - Bump to 0.8.1a - -*gnunet-0.8.1 (01 Jan 2010) - - 01 Jan 2010; Ycarus <ycarus@zugaina.org> +gnunet-0.8.1.ebuild: - Bump to 0.8.1 - - 28 Feb 2009; Ycarus <ycarus@zugaina.org> +gnunet-0.8.0c.ebuild: - Bump to 0.8.0c - - 30 Sep 2008; Ycarus <ycarus@zugaina.org> +gnunet-0.8.0b.ebuild: - Bump to 0.8.0b - - 30 Jul 2008; Ycarus <ycarus@zugaina.org> +gnunet-0.8.0a.ebuild: - Bump to version 0.8.0a - - 15 Jun 2008; <ycarus@zugaina.org> +gnunet-0.8.0.ebuild: - Bump to version 0.8.0 - - 02 Jun 2008; <ycarus@zugaina.org> +metadata.xml, +gnunet-0.8.0_pre1.ebuild: - Add gnunet 0.8.0_pre1 - diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest deleted file mode 100644 index 4bd6118f..00000000 --- a/net-p2p/gnunet/Manifest +++ /dev/null @@ -1,26 +0,0 @@ -DIST GNUnet-0.7.0b.tar.bz2 1307550 SHA256 39c493c18dd86ce957bb29a949cb724c018c72b74507dc00d65e2fd8fe9f8eaa -DIST GNUnet-0.7.0e.tar.bz2 1405884 SHA256 eea28505a825ce7404300c9dae25a7ebefbc681fc32082db0f92191ab7e14f18 -DIST GNUnet-0.7.1.tar.bz2 1375082 SHA256 e94158a942cfe557974964acb658c35cfeccc09bf9db7f572d1ff39faafdefd8 -DIST GNUnet-0.7.1a.tar.bz2 1399281 SHA256 e2629443a249a09fe3d97b1e71d3e097caaebda56b3079edd2a994c8de7b2554 -DIST GNUnet-0.7.1b.tar.bz2 1431707 SHA256 d2e2aaebb26851f0b334488faac419b1ef1ab9c6a047744ce01cf51c6a5180ca -DIST GNUnet-0.7.1pre0.tar.bz2 1438509 SHA256 d4149963b0d29f0acbc8471efe4bff122ad9cda74078fa9494f1462a2bad0008 -DIST GNUnet-0.7.2b.tar.bz2 1442189 SHA256 648791c533f4e77de1495abb66a0b0d5b1022005f8de531ec6a4fa1ed3b5a561 -DIST GNUnet-0.7.2c.tar.bz2 1438415 SHA256 d8bca30c01f3b105b2738fae7f64b4728ca0eddbea24117a3f3d7022f77e70aa -DIST GNUnet-0.7.3.tar.bz2 1687898 SHA256 378ea16fdd8b43d0c002a9c2bd4bcb878b60b61608838cd329821d5ffded25b7 -DIST GNUnet-0.8.0.tar.bz2 1689291 SHA256 14a05df11ee8dafb7623592cf703cc4b89d8df362b57a7a5c039a542cd9d504d -DIST GNUnet-0.8.0a.tar.bz2 1695471 SHA256 0da2e72ddf4eb53bfa70c290723f9f5fec9f6b24b7c53456270a331635a27b4c -DIST GNUnet-0.8.0b.tar.bz2 1611562 SHA256 9af1a54c6a680e349bea0950348f5754782f8ffae026fce5452eb4859d5d2ab4 -DIST GNUnet-0.8.0c.tar.bz2 1448541 SHA256 03ad449f8acc3abb0f6afcd496dfb04a48c1eb811df57a856f46eb9334e79c22 -DIST GNUnet-0.8.0pre0.tar.bz2 1670086 SHA256 c5f1f4586d3612a47e40f085de33a1d4518155b3f1da8575e10e79c70b9ffdf1 -DIST GNUnet-0.8.0pre1.tar.bz2 1696398 SHA256 c7b574b803abbc9466dbcc2a93c268963a9b218e3f712f05421ae7af008bb7a1 -DIST GNUnet-0.8.1.tar.gz 2339085 SHA256 84da584f2b60f2026a19e38d4264c794420135323644f7b0785d67ed44815355 -DIST GNUnet-0.8.1a.tar.gz 2342390 SHA256 7ee7fd37754d40e6e00cf9552b578a80aa9dcbe0d8437ccbe9d3f16ca741e289 -DIST GNUnet-0.8.1b.tar.gz 2366646 SHA256 7c854d2ef5ee592193bb04d8746a8b0ffc20f568674145a1f9a2e8f2bbced64c -DIST gnunet-0.9.0.tar.gz 2624462 SHA256 77c4522c92b55c60c8ec7a05a516d395b7066545f15280db85bd012105560ea8 -DIST gnunet-0.9.0pre0.tar.gz 1862215 SHA256 1c4dbb794a6fa195418327b0f6ecebb811a6947a8cf9488b4f39fb31bc1808a1 -DIST gnunet-0.9.0pre1.tar.gz 2133978 SHA256 59715c6c1144ee40ca0604a5e7613fc6a848c16ce3b6c0a873c2f41bcc13fe2d -DIST gnunet-0.9.0pre2.tar.gz 2399872 SHA256 47dffa58cb24d979e61c2b412674895e371e9a39479a873a0e563e1dc1f4ec3c -DIST gnunet-0.9.1.tar.gz 6084089 SHA256 f83a4a45e96832c01e4b720f0f694df5e70f207168baa6c0d9edb14f8f00fd46 -DIST gnunet-0.9.2.tar.gz 6239795 SHA256 24f5f1cb93782c22bd61ffdc9d99b7cfb2532dc4b6fb7d3468931e5a10eb47e9 -DIST gnunet-0.9.3.tar.gz 6520875 SHA256 0f7aa283f53e083e4e38b0c05e41083ee07953e3f7c831ffaab56f4f1a99d6d4 SHA512 e63d78453c9a731c60b79c2cf478bf92776f998a28f3255799f87015e6f7cb736fa4cf65c68898bb197550a59e0fe388ec0b893f7e1855edfe827aadaac58c88 WHIRLPOOL 91200e262e03a9140c6af245c36b8944d00dc50ec6bb92a0467b54d74909af2a6266d6bcde909f7110d1b8f765c3cdd7c7f896caa6f31a28fa5666d69fbaf3fb -DIST gnunet-0.9.5a.tar.gz 7997840 SHA256 1d600717eee1f952e23d192288850a67948e92e0b1dee5d950d111b2670cbed7 SHA512 a47d76455687269a8ae91bc91f12946740dc5f678466268f1d16f5aea90a2b86e71f9085dc713f0d7aaf0633d72837c322f0410d51723b5067dae5fe7205cfbd WHIRLPOOL 976c02da3cf7754ae88ef148c6b265b87357507f6a08f4876e13700547072529d66cb3450503438d0a5ac6d116bb345bd4fcf1bdc0a63f6e95c99938ad2ffdb7 diff --git a/net-p2p/gnunet/files/config-daemon.in.patch b/net-p2p/gnunet/files/config-daemon.in.patch deleted file mode 100644 index 70dfaf88..00000000 --- a/net-p2p/gnunet/files/config-daemon.in.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- config-daemon.in 2005-12-23 23:24:48.000000000 +0100 -+++ /usr/share/GNUnet/config-daemon.in 2006-03-17 21:06:06.000000000 +0100 -@@ -883,7 +883,6 @@ - - endmenu - -- endif - - if Meta::EXPERIMENTAL && Meta::RARE && Meta::ADVANCED - diff --git a/net-p2p/gnunet/files/gnunet b/net-p2p/gnunet/files/gnunet deleted file mode 100644 index b1e833a9..00000000 --- a/net-p2p/gnunet/files/gnunet +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 -# description: Gnunet is an anonymous distributed secure network -# this server is required to connect to the network, -# it will open a TCP port to communicate with the -# GUI and an UDP port to communicate with the world. - -depend() { - need net -} - -start() { - ebegin "Starting GNUnet" - # -u username, -c path to gnunet.conf file - start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \ - -- -u gnunet -c /var/lib/GNUnet/gnunet.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - killall gnunetd - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} diff --git a/net-p2p/gnunet/files/gnunet-0.9.0_pre0-gentoo.patch b/net-p2p/gnunet/files/gnunet-0.9.0_pre0-gentoo.patch deleted file mode 100644 index 4da84c16..00000000 --- a/net-p2p/gnunet/files/gnunet-0.9.0_pre0-gentoo.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.am.anc 2010-04-16 20:34:28.804859312 +0200 -+++ src/transport/Makefile.am 2010-04-16 20:35:21.351042832 +0200 -@@ -13,8 +13,8 @@ - if LINUX - NATBIN = gnunet-nat-server gnunet-nat-client - install-exec-hook: -- chown root $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client || true -- chmod u+s $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client || true -+ chown root $(DESTDIR)$(bindir)/gnunet-nat-server $(DESTDIR)$(bindir)/gnunet-nat-client || true -+ chmod u+s $(DESTDIR)$(bindir)/gnunet-nat-server $(DESTDIR)$(bindir)/gnunet-nat-client || true - else - install-exec-hook: - endif diff --git a/net-p2p/gnunet/files/gnunet-0.9.0_pre2-gentoo.patch b/net-p2p/gnunet/files/gnunet-0.9.0_pre2-gentoo.patch deleted file mode 100644 index 6a301e62..00000000 --- a/net-p2p/gnunet/files/gnunet-0.9.0_pre2-gentoo.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- Makefile.am.anc 2010-04-16 20:34:28.804859312 +0200 -+++ src/transport/Makefile.am 2010-04-16 20:35:21.351042832 +0200 -@@ -13,8 +13,8 @@ - if LINUX - NATBIN = gnunet-nat-server gnunet-nat-client - install-exec-hook: -- chown root $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-wlan || true -- chmod u+s $(bindir)/gnunet-nat-server $(bindir)/gnunet-nat-client $(bindir)/gnunet-wlan || true -+ chown root $(DESTDIR)$(bindir)/gnunet-nat-server $(DESTDIR)$(bindir)/gnunet-nat-client $(DESTDIR)$(bindir)/gnunet-wlan || true -+ chmod u+s $(DESTDIR)$(bindir)/gnunet-nat-server $(DESTDIR)$(bindir)/gnunet-nat-client $(DESTDIR)$(bindir)/gnunet-wlan || true - else - install-exec-hook: - endif diff --git a/net-p2p/gnunet/files/gnunet-2 b/net-p2p/gnunet/files/gnunet-2 deleted file mode 100644 index 54e73a4c..00000000 --- a/net-p2p/gnunet/files/gnunet-2 +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 - -depend() { - need net -} - -start() { - if ! test -f "/etc/gnunetd.conf"; then - eerror "You must create /etc/gnunetd.conf file first" - return 1 - fi - - ebegin "Starting GNUnet" - # -u username, -c path to gnunet.conf file - start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \ - -- -u gnunet -c /etc/gnunetd.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - killall gnunetd - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} diff --git a/net-p2p/gnunet/files/gnunet-download-manager.scm b/net-p2p/gnunet/files/gnunet-download-manager.scm deleted file mode 100644 index 80d04fa1..00000000 --- a/net-p2p/gnunet/files/gnunet-download-manager.scm +++ /dev/null @@ -1,407 +0,0 @@ -#!/bin/sh -exec guile -e main -s "$0" "$@" -!# - -;;; gnunet-download-manager -- Manage GNUnet downloads. -;;; Copyright (C) 2004 Ludovic Courtès -;;; -;;; This program is free software; you can redistribute it and/or -;;; modify it under the terms of the GNU General Public License -;;; as published by the Free Software Foundation; either version 2 -;;; of the License, or (at your option) any later version. -;;; -;;; This program is distributed in the hope that it will be useful, -;;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with this program; if not, write to the Free Software -;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -;;; Remember ongoing GNUnet downloads so as to be able to resume them -;;; later. Typical usage is to define the following alias in your -;;; favorite shell: -;;; -;;; alias gnunet-download='gnunet-download-manager.scm download' -;;; -;;; You may have a ~/.gnunet-download-manager.scm Scheme configuration -;;; file. In particular, if you would like to be notified of -;;; completed downloads, you may want to add the following line to -;;; your configuration file: -;;; -;;; (add-hook! *completed-download-hook* -;;; completed-download-notification-hook) -;;; -;;; This script works fine with GNU Guile 1.6.4, and doesn't run with -;;; Guile 1.4.x. -;;; -;;; Enjoy! -;;; Ludovic Courtès <ludo@chbouib.org> - -(use-modules (ice-9 format) - (ice-9 optargs) - (ice-9 regex) - (ice-9 and-let-star) - (ice-9 pretty-print) - (ice-9 documentation)) - -;; Overall user settings -(define *debug?* #f) -(define *rc-file* (string-append (getenv "HOME") - "/.gnunet-download-manager.scm")) -(define *status-directory* (string-append (getenv "HOME") "/" - ".gnunet-download-manager")) -(define *gnunet-download* "gnunet-download") - -;; Helper macros -(define-macro (gnunet-info fmt . args) - `(format #t (string-append *program-name* ": " ,fmt "~%") - ,@args)) - -(define-macro (gnunet-debug fmt . args) - (if *debug?* - (cons 'gnunet-info (cons fmt args)) - #t)) - -(define-macro (gnunet-error fmt . args) - `(and ,(cons 'gnunet-info (cons fmt args)) - (exit 1))) - -(define (exception-string key args) - "Describe an error, using the format from @var{args}, if available." - (if (< (length args) 4) - (format #f "Scheme exception: ~S" key) - (string-append - (if (string? (car args)) - (string-append "In " (car args)) - "Scheme exception") - ": " - (apply format `(#f ,(cadr args) ,@(caddr args)))))) - - -;; Regexps matching GNUnet URIs -(define *uri-base* - "([[:alnum:]]+)\.([[:alnum:]]+)\.([[:alnum:]]+)\.([0-9]+)") -(define *uri-re* - (make-regexp (string-append "^gnunet://afs/" *uri-base* "$") - regexp/extended)) -(define *uri-status-file-re* - (make-regexp (string-append "^" *uri-base* "$") - regexp/extended)) - - -(define (uri-status-file-name directory uri) - "Return the name of the status file for URI @var{uri}." - (let ((match (regexp-exec *uri-re* uri))) - (if (not match) - (and (gnunet-info "~a: Invalid URI" uri) #f) - (let ((start (match:start match 1)) - (end (match:end match 4))) - (string-append directory "/" - (substring uri start end)))))) - -(define (uri-status directory uri) - "Load the current status alist for URI @var{uri} from @var{directory}." - (gnunet-debug "uri-status") - (let ((filename (uri-status-file-name directory uri))) - (catch 'system-error - (lambda () - (let* ((file (open-input-file filename)) - (status (read file))) - (begin - (close-port file) - status))) - (lambda (key . args) - (and (gnunet-debug (exception-string key args)) - '()))))) - -(define (process-exists? pid) - (false-if-exception (begin (kill pid 0) #t))) - -(define (fork-and-exec directory program . args) - "Launch @var{program} and return its PID." - (gnunet-debug "fork-and-exec: ~a ~a" program args) - (let ((pid (primitive-fork))) - (if (= 0 pid) - (begin - (if directory (chdir directory)) - (apply execlp (cons program (cons program args)))) - pid))) - -(define* (start-downloader downloader uri options - #:key (directory #f)) - "Start the GNUnet downloader for URI @var{uri} with options -@var{options}. Return an alist describing the download status." - (catch 'system-error - (lambda () - (let* ((pid (apply fork-and-exec - `(,(if directory directory (getcwd)) - ,downloader - ,@options)))) - (gnunet-info "Launched process ~a" pid) - `((uri . ,uri) - (working-directory . ,(if directory directory (getcwd))) - (options . ,options) - (pid . ,(getpid)) - (downloader-pid . ,pid)))) - (lambda (key . args) - (gnunet-error (exception-string key args))))) - -(define (download-process-alive? uri-status) - "Return true if the download whose status is that described by -@var{uri-status} is still alive." - (let ((pid (assoc-ref uri-status 'pid)) - (downloader-pid (assoc-ref uri-status 'downloader-pid))) - (and (process-exists? pid) - (process-exists? downloader-pid)))) - -(define (start-file-download downloader status-dir uri options) - "Dowload the file located at @var{uri}, with options @var{options} -and return an updated status alist." - (gnunet-debug "start-file-download") - (let ((uri-status (uri-status status-dir uri))) - (if (null? uri-status) - (acons 'start-date (current-time) - (start-downloader downloader uri options)) - (if (download-process-alive? uri-status) - (and (gnunet-info "~a already being downloaded by process ~a" - uri (assoc-ref uri-status 'pid)) - #f) - (and (gnunet-info "Resuming download") - (let ((start-date (assoc-ref uri-status 'start-date)) - (dir (assoc-ref uri-status 'working-directory)) - (options (assoc-ref uri-status 'options))) - (acons 'start-date start-date - (start-downloader downloader uri options - #:directory dir)))))))) - -(define *completed-download-hook* (make-hook 1)) - -(define (download-file downloader status-dir uri options) - "Start downloading file located at URI @var{uri}, with options -@var{options}, resuming it if it's already started." - (catch 'system-error - (lambda () - (and-let* ((status (start-file-download downloader - status-dir - uri options)) - (pid (assoc-ref status 'downloader-pid)) - (filename (uri-status-file-name status-dir - uri)) - (file (open-file filename "w"))) - - ;; Write down the status - (pretty-print status file) - (close-port file) - - ;; Wait for `gnunet-download' - (gnunet-info "Waiting for process ~a" pid) - (let* ((process-status (waitpid pid)) - (exit-val (status:exit-val (cdr process-status))) - (term-sig (status:term-sig (cdr process-status)))) - - ;; Terminate - (delete-file filename) - (gnunet-info - "Download completed (PID ~a, exit code ~a)" - pid exit-val) - (let ((ret `((end-date . ,(current-time)) - (exit-code . ,exit-val) - (terminating-signal . ,term-sig) - ,@status))) - (run-hook *completed-download-hook* ret) - ret)))) - (lambda (key . args) - (gnunet-error (exception-string key args))))) - -(define (uri-status-files directory) - "Return the list of URI status files in @var{directory}." - (catch 'system-error - (lambda () - (let ((dir (opendir directory))) - (let loop ((filename (readdir dir)) - (file-list '())) - (if (eof-object? filename) - file-list - (if (regexp-exec *uri-status-file-re* filename) - (loop (readdir dir) - (cons filename file-list)) - (loop (readdir dir) file-list)))))) - (lambda (key . args) - (gnunet-error (exception-string key args))))) - -(define (output-file-option option-list) - "Return the output file specified in @var{option-list}, false if -anavailable." - (if (null? option-list) - #f - (let ((rest (cdr option-list)) - (opt (car option-list))) - (if (null? rest) - #f - (if (or (string=? opt "-o") - (string=? opt "--output")) - (car rest) - (output-file-option rest)))))) - -(define (download-command . args) - "Start downloading a file using the given `gnunet-download' -arguments." - (gnunet-debug "download-command") - (let* ((argc (length args)) - ;; FIXME: We're assuming the URI is the last argument - (uri (car (list-tail args (- argc 1)))) - (options args)) - (download-file *gnunet-download* *status-directory* uri options))) - -(define (status-command . args) - "Print status info about files being downloaded." - (for-each (lambda (status) - (format #t "~a: ~a~% ~a~% ~a~% ~a~%" - (assoc-ref status 'uri) - (if (download-process-alive? status) - (string-append "running (PID " - (number->string (assoc-ref status - 'pid)) - ")") - "not running") - (string-append "Started on " - (strftime "%c" - (localtime (assoc-ref - status - 'start-date)))) - (string-append "Directory: " - (assoc-ref status - 'working-directory)) - (string-append "Output file: " - (or (output-file-option (assoc-ref - status - 'options)) - "<unknown>")))) - (map (lambda (file) - (uri-status *status-directory* - (string-append "gnunet://afs/" file))) - (uri-status-files *status-directory*)))) - -(define (resume-command . args) - "Resume stopped downloads." - (for-each (lambda (status) - (if (not (download-process-alive? status)) - (if (= 0 (primitive-fork)) - (let* ((ret (download-file *gnunet-download* - *status-directory* - (assoc-ref status 'uri) - (assoc-ref status 'options))) - (code (assoc-ref ret 'exit-code))) - (exit code))))) - (map (lambda (file) - (uri-status *status-directory* - (string-append "gnunet://afs/" file))) - (uri-status-files *status-directory*)))) - -(define (killall-command . args) - "Stop all running downloads." - (for-each (lambda (status) - (if (download-process-alive? status) - (let ((pid (assoc-ref status 'pid)) - (dl-pid (assoc-ref status 'downloader-pid))) - (and (gnunet-info "Stopping processes ~a and ~a" - pid dl-pid) - (kill pid 15) - (kill dl-pid 15))))) - (map (lambda (file) - (uri-status *status-directory* - (string-append "gnunet://afs/" file))) - (uri-status-files *status-directory*)))) - - -(define (help-command . args) - "Show this help message." - (format #t "Usage: ~a <command> [options]~%" *program-name*) - (format #t "Where <command> may be one of the following:~%~%") - (for-each (lambda (command) - (if (not (eq? (cdr command) help-command)) - (format #t (string-append " " (car command) ": " - (object-documentation - (cdr command)) - "~%")))) - *commands*) - (format #t "~%")) - -(define (settings-command . args) - "Dump the current settings." - (format #t "Current settings:~%~%") - (module-for-each (lambda (symbol variable) - (if (string-match "^\\*.*\\*$" (symbol->string symbol)) - (format #t " ~a: ~a~%" - symbol (variable-ref variable)))) - (current-module)) - (format #t "~%")) - -(define (version-command . args) - "Show version information." - (format #t "~a ~a.~a (~a)~%" - *program-name* *version-major* *version-minor* *version-date*)) - -;; This hook may be added to *completed-download-hook*. -(define (completed-download-notification-hook status) - "Notifies of the completion of a file download." - (let ((msg (string-append "GNUnet download of " - (output-file-option - (assoc-ref status 'options)) - " in " - (assoc-ref status - 'working-directory) - " complete!"))) - (if (getenv "DISPLAY") - (waitpid (fork-and-exec #f "xmessage" msg)) - (waitpid (fork-and-exec #f "write" - (cuserid) msg))))) - -;; Available user commands -(define *commands* - `(("download" . ,download-command) - ("status" . ,status-command) - ("resume" . ,resume-command) - ("killall" . ,killall-command) - ("settings" . ,settings-command) - ("version" . ,version-command) - ("help" . ,help-command) - ("--help" . ,help-command) - ("-h" . ,help-command))) - -(define *program-name* "gnunet-download-manager") -(define *version-major* 0) -(define *version-minor* 1) -(define *version-date* "april 2004") - -(define (main args) - (set! *program-name* (basename (car args))) - - ;; Load the user's configuration file - (if (file-exists? *rc-file*) - (load *rc-file*)) - - ;; Check whether the status directory already exists - (if (not (file-exists? *status-directory*)) - (begin - (gnunet-info "Creating status directory ~a..." *status-directory*) - (catch 'system-error - (lambda () - (mkdir *status-directory*)) - (lambda (key . args) - (and (gnunet-error (exception-string key args)) - (exit 1)))))) - - ;; Go ahead - (if (< (length args) 2) - (and (format #t "Usage: ~a <command> [options]~%" - *program-name*) - (exit 1)) - (let* ((command-name (cadr args)) - (command (assoc-ref *commands* command-name))) - (if command - (apply command (cddr args)) - (and (gnunet-info "~a command not found" command-name) - (exit 1))))))
\ No newline at end of file diff --git a/net-p2p/gnunet/files/gnunet.initd b/net-p2p/gnunet/files/gnunet.initd deleted file mode 100644 index ffd01070..00000000 --- a/net-p2p/gnunet/files/gnunet.initd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - if ! test -f "/etc/gnunetd.conf"; then - eerror "You must create /etc/gnunetd.conf file first" - return 1 - fi - - ebegin "Starting GNUnet" - # -u username, -c path to gnunet.conf file - start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \ - -- -u gnunetd -c /etc/gnunetd.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - killall gnunetd - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} diff --git a/net-p2p/gnunet/files/gnunet.initd-0.9.0 b/net-p2p/gnunet/files/gnunet.initd-0.9.0 deleted file mode 100644 index 63b26b51..00000000 --- a/net-p2p/gnunet/files/gnunet.initd-0.9.0 +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - if ! test -f "/etc/gnunet.conf"; then - eerror "You must create /etc/gnunet.conf file first" - return 1 - fi - if ! test -f "/var/lib/gnunet/hostlist/learned.data"; then - mkdir -p /var/lib/gnunet/hostlist/ - wget -q http://v9.gnunet.org:58080/ -O /var/lib/gnunet/hostlist/learned.data - chown -R gnunetd:gnunetd /var/lib/gnunet/hostlist - fi - - ebegin "Starting GNUnet" - # -u username, -c path to gnunet.conf file - sudo -u gnunetd /usr/bin/gnunet-arm -s -i fs -i statistics -c /etc/gnunet.conf -# sudo -u gnunetd /usr/bin/gnunet-services-fs -d -s -c /etc/gnunet.conf -# sudo -u gnunetd /usr/bin/gnunet-statistics -d -s -c /etc/gnunet.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - sudo -u gnunetd /usr/bin/gnunet-arm -e - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} diff --git a/net-p2p/gnunet/files/gnunet.initd-0.9.0v2 b/net-p2p/gnunet/files/gnunet.initd-0.9.0v2 deleted file mode 100644 index 604f448e..00000000 --- a/net-p2p/gnunet/files/gnunet.initd-0.9.0v2 +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - if ! test -f "/etc/gnunet.conf"; then - eerror "You must create /etc/gnunet.conf file first" - return 1 - fi - if ! test -f "/var/lib/gnunet/hostlist/learned.data"; then - mkdir -p /var/lib/gnunet/hostlist/ - wget -q http://v9.gnunet.org:58080/ -O /var/lib/gnunet/hostlist/learned.data - chown -R gnunetd:gnunetd /var/lib/gnunet/hostlist - fi - - ebegin "Starting GNUnet" - sudo -u gnunetd /usr/bin/gnunet-arm -s -c /etc/gnunet.conf - eend $? "Failed to start GNUnet" -} - -stop() { - ebegin "Stopping GNUnet" - sudo -u gnunetd /usr/bin/gnunet-arm -e -c /etc/gnunet.conf - eend $? "Failed to stop GNUnet" -} - -restart() { - svc_stop - sleep 3 - svc_start -} diff --git a/net-p2p/gnunet/gnunet-0.7.0b.ebuild b/net-p2p/gnunet/gnunet-0.7.0b.ebuild deleted file mode 100644 index 8c851286..00000000 --- a/net-p2p/gnunet/gnunet-0.7.0b.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils libtool - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://www.gnu.org/software/GNUnet/" -SRC_URI="mirror://gnu//${PN}/GNUnet-${PV}.tar.bz2" -RESTRICT="nomirror" - -IUSE="ipv6 mysql sqlite guile nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.4 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - ncurses? ( sys-libs/ncurses ) - mysql? ( >=dev-db/mysql-4.0.24 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - guile? ( >=dev-scheme/guile-1.6.0 ) - nls? ( sys-devel/gettext )" - - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunet || die "Problem adding gnunet group" - enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet user" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - autoconf || die "autoconf failed" - libtoolize --copy --force - fi - - # Correct a little mistake... - cd contrib - epatch ${FILESDIR}/config-daemon.in.patch -} - -src_compile() { - - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - exeinto /etc/init.d - newexe ${FILESDIR}/${PN} gnunet - dodir /var/lib/GNUnet - chown gnunet:gnunet ${D}/var/lib/GNUnet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunet:gnunet /var/lib/GNUnet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunet group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and use as a global server config file" - einfo -} - diff --git a/net-p2p/gnunet/gnunet-0.7.0e.ebuild b/net-p2p/gnunet/gnunet-0.7.0e.ebuild deleted file mode 100644 index d3c0ef2b..00000000 --- a/net-p2p/gnunet/gnunet-0.7.0e.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils libtool - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://www.gnu.org/software/GNUnet/" -SRC_URI="mirror://gnu//${PN}/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test nomirror" - -IUSE="ipv6 mysql sqlite guile nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - ncurses? ( sys-libs/ncurses ) - mysql? ( >=dev-db/mysql-4.0.24 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - guile? ( >=dev-scheme/guile-1.6.0 ) - nls? ( sys-devel/gettext )" - - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunet || die "Problem adding gnunet group" - enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet user" -} - -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-nulludp.patch - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - autoconf || die "autoconf failed" - libtoolize --copy --force - fi -} - -src_compile() { - - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - exeinto /etc/init.d - newexe ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/GNUnet - chown gnunet:gnunet ${D}/var/lib/GNUnet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunet:gnunet /var/lib/GNUnet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunet group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} - diff --git a/net-p2p/gnunet/gnunet-0.7.1.ebuild b/net-p2p/gnunet/gnunet-0.7.1.ebuild deleted file mode 100644 index e589eafe..00000000 --- a/net-p2p/gnunet/gnunet-0.7.1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils libtool - -MY_PV=${PV/_/} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://www.gnu.org/software/GNUnet/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test nomirror" - -IUSE="ipv6 mysql sqlite guile nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - ncurses? ( sys-libs/ncurses ) - mysql? ( >=dev-db/mysql-4.0.24 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - >=dev-scheme/guile-1.8.0 - nls? ( sys-devel/gettext )" - - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunet || die "Problem adding gnunet group" - enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet user" -} - -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-nulludp.patch - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - autoconf || die "autoconf failed" - libtoolize --copy --force - fi -} - -src_compile() { - - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - exeinto /etc/init.d - newexe ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/GNUnet - chown gnunet:gnunet ${D}/var/lib/GNUnet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunet:gnunet /var/lib/GNUnet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunet group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} - diff --git a/net-p2p/gnunet/gnunet-0.7.1_pre0.ebuild b/net-p2p/gnunet/gnunet-0.7.1_pre0.ebuild deleted file mode 100644 index e589eafe..00000000 --- a/net-p2p/gnunet/gnunet-0.7.1_pre0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils libtool - -MY_PV=${PV/_/} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://www.gnu.org/software/GNUnet/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test nomirror" - -IUSE="ipv6 mysql sqlite guile nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - ncurses? ( sys-libs/ncurses ) - mysql? ( >=dev-db/mysql-4.0.24 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - >=dev-scheme/guile-1.8.0 - nls? ( sys-devel/gettext )" - - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunet || die "Problem adding gnunet group" - enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet user" -} - -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-nulludp.patch - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - autoconf || die "autoconf failed" - libtoolize --copy --force - fi -} - -src_compile() { - - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - exeinto /etc/init.d - newexe ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/GNUnet - chown gnunet:gnunet ${D}/var/lib/GNUnet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunet:gnunet /var/lib/GNUnet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunet group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} - diff --git a/net-p2p/gnunet/gnunet-0.7.1a.ebuild b/net-p2p/gnunet/gnunet-0.7.1a.ebuild deleted file mode 100644 index e589eafe..00000000 --- a/net-p2p/gnunet/gnunet-0.7.1a.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils libtool - -MY_PV=${PV/_/} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://www.gnu.org/software/GNUnet/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test nomirror" - -IUSE="ipv6 mysql sqlite guile nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - ncurses? ( sys-libs/ncurses ) - mysql? ( >=dev-db/mysql-4.0.24 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - >=dev-scheme/guile-1.8.0 - nls? ( sys-devel/gettext )" - - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunet || die "Problem adding gnunet group" - enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet user" -} - -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-nulludp.patch - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - autoconf || die "autoconf failed" - libtoolize --copy --force - fi -} - -src_compile() { - - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - exeinto /etc/init.d - newexe ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/GNUnet - chown gnunet:gnunet ${D}/var/lib/GNUnet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunet:gnunet /var/lib/GNUnet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunet group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} - diff --git a/net-p2p/gnunet/gnunet-0.7.1b.ebuild b/net-p2p/gnunet/gnunet-0.7.1b.ebuild deleted file mode 100644 index e589eafe..00000000 --- a/net-p2p/gnunet/gnunet-0.7.1b.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils libtool - -MY_PV=${PV/_/} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://www.gnu.org/software/GNUnet/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test nomirror" - -IUSE="ipv6 mysql sqlite guile nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - ncurses? ( sys-libs/ncurses ) - mysql? ( >=dev-db/mysql-4.0.24 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - >=dev-scheme/guile-1.8.0 - nls? ( sys-devel/gettext )" - - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunet || die "Problem adding gnunet group" - enewuser gnunet -1 -1 /dev/null gnunet || die "Problem adding gnunet user" -} - -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-nulludp.patch - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - autoconf || die "autoconf failed" - libtoolize --copy --force - fi -} - -src_compile() { - - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - exeinto /etc/init.d - newexe ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/GNUnet - chown gnunet:gnunet ${D}/var/lib/GNUnet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunet:gnunet /var/lib/GNUnet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunet group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} - diff --git a/net-p2p/gnunet/gnunet-0.7.2b.ebuild b/net-p2p/gnunet/gnunet-0.7.2b.ebuild deleted file mode 100644 index 9d1e9395..00000000 --- a/net-p2p/gnunet/gnunet-0.7.2b.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -WANT_AUTOCONF=2.5 -WANT_AUTOMAKE=1.9 - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd ${D}/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd /var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.7.2c.ebuild b/net-p2p/gnunet/gnunet-0.7.2c.ebuild deleted file mode 100644 index 16b65f93..00000000 --- a/net-p2p/gnunet/gnunet-0.7.2c.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -WANT_AUTOCONF=2.5 -WANT_AUTOMAKE=1.9 - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.13 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - net-libs/libmicrohttpd" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd ${D}/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd /var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d to generate a server config file" - einfo " 4) Optionally copy the .gnunet/gnunetd.conf into /etc and" - einfo "\tuse as a global server config file:" - einfo "$ gnunet-setup -d" - einfo "# cp ~/.gnunet/gnunetd.conf /etc/" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.7.3.ebuild b/net-p2p/gnunet/gnunet-0.7.3.ebuild deleted file mode 100644 index 5bea2021..00000000 --- a/net-p2p/gnunet/gnunet-0.7.3.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - if use ipv6; then - if use amd64; then - ewarn "ipv6 in GNUnet does not currently work with amd64 and has been disabled" - else - myconf="${myconf} --enable-ipv6" - fi - fi - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - $(use_enable guile) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd ${FILESDIR}/${PN}-2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd ${D}/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd /var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.0.ebuild b/net-p2p/gnunet/gnunet-0.8.0.ebuild deleted file mode 100644 index 82f8957a..00000000 --- a/net-p2p/gnunet/gnunet-0.8.0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -MY_PV=${PV/_pre/pre} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.0_pre0.ebuild b/net-p2p/gnunet/gnunet-0.8.0_pre0.ebuild deleted file mode 100644 index 82f8957a..00000000 --- a/net-p2p/gnunet/gnunet-0.8.0_pre0.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -MY_PV=${PV/_pre/pre} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.0_pre1.ebuild b/net-p2p/gnunet/gnunet-0.8.0_pre1.ebuild deleted file mode 100644 index 82f8957a..00000000 --- a/net-p2p/gnunet/gnunet-0.8.0_pre1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -MY_PV=${PV/_pre/pre} -S="${WORKDIR}/GNUnet-${MY_PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${MY_PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.0a.ebuild b/net-p2p/gnunet/gnunet-0.8.0a.ebuild deleted file mode 100644 index 9bfc2022..00000000 --- a/net-p2p/gnunet/gnunet-0.8.0a.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.0b.ebuild b/net-p2p/gnunet/gnunet-0.8.0b.ebuild deleted file mode 100644 index b3115d1f..00000000 --- a/net-p2p/gnunet/gnunet-0.8.0b.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.20c - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=sys-devel/libtool-2.2.4" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.0c.ebuild b/net-p2p/gnunet/gnunet-0.8.0c.ebuild deleted file mode 100644 index c1914f5f..00000000 --- a/net-p2p/gnunet/gnunet-0.8.0c.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.bz2" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.20c - >=net-libs/libmicrohttpd-0.4.0 - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=sys-devel/libtool-2.2.4" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - doins contrib/gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.1-r1.ebuild b/net-p2p/gnunet/gnunet-0.8.1-r1.ebuild deleted file mode 100644 index 7ae88407..00000000 --- a/net-p2p/gnunet/gnunet-0.8.1-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.1 2010/01/28 11:48:07 patrick Exp $ - -EAPI=2 - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="http ipv6 mysql smtp +sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - smtp? ( net-libs/libesmtp ) - http? ( net-libs/libmicrohttpd )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - # make mysql default sqstore if we do not compile sqlite support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.1.ebuild b/net-p2p/gnunet/gnunet-0.8.1.ebuild deleted file mode 100644 index 3c9f7321..00000000 --- a/net-p2p/gnunet/gnunet-0.8.1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -# This ebuild is a small modification of the official gnunet ebuild - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="ipv6 mysql sqlite ncurses nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.20c - >=net-libs/libmicrohttpd-0.4.0 - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - ncurses? ( sys-libs/ncurses ) - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=sys-devel/libtool-2.2.4" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd || die "Problem adding gnunetd group" - enewuser gnunetd -1 -1 /dev/null gnunetd || die "Problem adding gnunetd user" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # make mysql default sqstore if we do not compile sql support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - - econf \ - $(use_with sqlite) \ - $(use_enable ipv6) \ - $(use_enable nls) \ - $(use_enable ncurses) \ - ${myconf} || die "econf failed" - - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - doins contrib/gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - use ipv6 && ewarn "ipv6 support is -very- experimental and prone to bugs" - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.1a.ebuild b/net-p2p/gnunet/gnunet-0.8.1a.ebuild deleted file mode 100644 index 8aa00ed5..00000000 --- a/net-p2p/gnunet/gnunet-0.8.1a.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.1 2010/01/28 11:48:07 patrick Exp $ - -EAPI=2 - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="http mysql smtp +sqlite nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.5.18a - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - smtp? ( net-libs/libesmtp ) - http? ( net-libs/libmicrohttpd )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - # make mysql default sqstore if we do not compile sqlite support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - use http || myconf="${myconf} --without-microhttpd" - use smtp || myconf="${myconf} --without-esmtp" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.8.1b.ebuild b/net-p2p/gnunet/gnunet-0.8.1b.ebuild deleted file mode 100644 index ff2e5530..00000000 --- a/net-p2p/gnunet/gnunet-0.8.1b.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.1 2010/01/28 11:48:07 patrick Exp $ - -EAPI=2 - -inherit eutils autotools - -S="${WORKDIR}/GNUnet-${PV}" -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="http mysql smtp +sqlite nls gtk" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - =media-libs/libextractor-0.5.23 - >=dev-libs/gmp-4.0.0 - gnome-base/libglade - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - >=dev-scheme/guile-1.8.0 - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - smtp? ( net-libs/libesmtp ) - http? ( net-libs/libmicrohttpd )" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - # make mysql default sqstore if we do not compile sqlite support - # (bug #107330) - ! use sqlite && \ - sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ - contrib/config-daemon.in - - # we do not want to built gtk support with USE=-gtk - if ! use gtk ; then - sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac - fi - - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - - use mysql || myconf="${myconf} --without-mysql" - use http || myconf="${myconf} --without-microhttpd" - use smtp || myconf="${myconf} --without-esmtp" - - econf \ - $(use_with sqlite) \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README README.fr UPDATING - insinto /etc - newins contrib/gnunet.root gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - einfo - einfo "To configure" - einfo " 1) Add user(s) to the gnunetd group" - einfo " 2) Run 'gnunet-setup' to generate your client config file" - einfo " 3) Run gnunet-setup -d as root to generate a server config file" - einfo -} diff --git a/net-p2p/gnunet/gnunet-0.9.0.ebuild b/net-p2p/gnunet/gnunet-0.9.0.ebuild deleted file mode 100644 index 118d5c2a..00000000 --- a/net-p2p/gnunet/gnunet-0.9.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - use mysql || myconf="${myconf} --without-mysql" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.0_pre0.ebuild b/net-p2p/gnunet/gnunet-0.9.0_pre0.ebuild deleted file mode 100644 index 88889e76..00000000 --- a/net-p2p/gnunet/gnunet-0.9.0_pre0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - epatch ${FILESDIR}/${P}-gentoo.patch - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - use mysql || myconf="${myconf} --without-mysql" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - insinto /etc - sed -i 's:$SERVICEHOME:/var/lib/gnunet:g' ${S}/contrib/defaults.conf - sed -i 's:$DEFAULTCONFIG:/etc/gnunet.conf:g' ${S}/contrib/defaults.conf - newins contrib/defaults.conf gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.0_pre1.ebuild b/net-p2p/gnunet/gnunet-0.9.0_pre1.ebuild deleted file mode 100644 index 9ee8cbbf..00000000 --- a/net-p2p/gnunet/gnunet-0.9.0_pre1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - gtk? ( >=x11-libs/gtk+-2.6.10 ) - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - epatch ${FILESDIR}/${PN}-0.9.0_pre0-gentoo.patch - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - use mysql || myconf="${myconf} --without-mysql" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - insinto /etc - sed -i 's:$SERVICEHOME:/var/lib/gnunet:g' ${S}/contrib/defaults.conf - sed -i 's:$DEFAULTCONFIG:/etc/gnunet.conf:g' ${S}/contrib/defaults.conf - newins contrib/defaults.conf gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.0_pre2.ebuild b/net-p2p/gnunet/gnunet-0.9.0_pre2.ebuild deleted file mode 100644 index 25fac619..00000000 --- a/net-p2p/gnunet/gnunet-0.9.0_pre2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - epatch ${FILESDIR}/${PN}-0.9.0_pre2-gentoo.patch - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - use mysql || myconf="${myconf} --without-mysql" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - insinto /etc - sed -i 's:$SERVICEHOME:/var/lib/gnunet:g' ${S}/contrib/defaults.conf - sed -i 's:$DEFAULTCONFIG:/etc/gnunet.conf:g' ${S}/contrib/defaults.conf - newins contrib/defaults.conf gnunet.conf - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.1.ebuild b/net-p2p/gnunet/gnunet-0.9.1.ebuild deleted file mode 100644 index 118d5c2a..00000000 --- a/net-p2p/gnunet/gnunet-0.9.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - use mysql || myconf="${myconf} --without-mysql" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.2.ebuild b/net-p2p/gnunet/gnunet-0.9.2.ebuild deleted file mode 100644 index 40c1b6f0..00000000 --- a/net-p2p/gnunet/gnunet-0.9.2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6 - dev-libs/libunistring" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - use mysql || myconf="${myconf} --without-mysql" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.3.ebuild b/net-p2p/gnunet/gnunet-0.9.3.ebuild deleted file mode 100644 index 0473168e..00000000 --- a/net-p2p/gnunet/gnunet-0.9.3.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite postgres" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-4.0 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.4.6 - dev-libs/libunistring" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - myconf=" --with-sudo" - use mysql || myconf="${myconf} --without-mysql" - use postgres || myconf="${myconf} --without-postgres" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/gnunet-0.9.5a.ebuild b/net-p2p/gnunet/gnunet-0.9.5a.ebuild deleted file mode 100644 index eb1ab828..00000000 --- a/net-p2p/gnunet/gnunet-0.9.5a.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 - -inherit eutils autotools - -MY_PV="${PV/_/}" - -DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." -HOMEPAGE="http://gnunet.org/" -SRC_URI="http://ftp.gnu.org/gnu/gnunet/${PN}-${MY_PV}.tar.gz" -#tests don't work -RESTRICT="test" - -IUSE="mysql nls sqlite postgres" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -LICENSE="GPL-2" -SLOT="0" -S="${WORKDIR}/${PN}-${MY_PV}" - -DEPEND=">=dev-libs/libgcrypt-1.2.0 - >=media-libs/libextractor-0.6.1 - >=dev-libs/gmp-4.0.0 - sys-libs/zlib - net-misc/curl - sys-apps/sed - mysql? ( >=virtual/mysql-5.1 ) - sqlite? ( >=dev-db/sqlite-3.0.8 ) - nls? ( sys-devel/gettext ) - >=net-libs/libmicrohttpd-0.9.18 - dev-libs/libunistring - >=sci-mathematics/glpk-4.45" - -pkg_setup() { - if ! use mysql && ! use sqlite; then - einfo - einfo "You need to specify at least one of 'mysql' or 'sqlite'" - einfo "USE flag in order to have properly installed gnunet" - einfo - die "Invalid USE flag set" - fi -} - -pkg_preinst() { - enewgroup gnunetd - enewuser gnunetd -1 -1 /dev/null gnunetd -} - -src_prepare() { - sed -i 's:@GN_USER_HOME_DIR@:/etc:g' src/include/gnunet_directories.h.in - AT_M4DIR="${S}/m4" eautoreconf -} - -src_compile() { - local myconf - myconf=" --with-sudo --with-nssdir=/usr/lib" - use mysql || myconf="${myconf} --without-mysql" - use postgres || myconf="${myconf} --without-postgres" - econf \ - $(use_enable nls) \ - ${myconf} || die "econf failed" - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" -j1 install || die "make install failed" - dodoc AUTHORS ChangeLog INSTALL NEWS README - docinto contrib - dodoc contrib/* - newinitd "${FILESDIR}"/${PN}.initd-0.9.0v2 gnunet - dodir /var/lib/gnunet - chown gnunetd:gnunetd "${D}"/var/lib/gnunet -} - -pkg_postinst() { - # make sure permissions are ok - chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet - - ewarn "This ebuild is HIGLY experimental" -} diff --git a/net-p2p/gnunet/metadata.xml b/net-p2p/gnunet/metadata.xml deleted file mode 100644 index f7789b68..00000000 --- a/net-p2p/gnunet/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>ycarus@zugaina.org</email> - <name>Ycarus</name> - </maintainer> -</pkgmetadata> |