aboutsummaryrefslogtreecommitdiffstats
path: root/french
diff options
context:
space:
mode:
Diffstat (limited to 'french')
-rw-r--r--french/Makefile1
-rw-r--r--french/plgrenouille/Makefile82
-rw-r--r--french/plgrenouille/distinfo2
-rw-r--r--french/plgrenouille/files/patch-Grenouille::Preferences.pm18
-rw-r--r--french/plgrenouille/files/patch-Grenouille::Vars.pm49
-rw-r--r--french/plgrenouille/files/patch-plgrenouille.pl77
-rw-r--r--french/plgrenouille/files/pkg-message.in11
-rw-r--r--french/plgrenouille/files/plgrenouille.sh.in30
-rw-r--r--french/plgrenouille/pkg-descr3
-rw-r--r--french/plgrenouille/pkg-install34
-rw-r--r--french/plgrenouille/pkg-plist20
11 files changed, 0 insertions, 327 deletions
diff --git a/french/Makefile b/french/Makefile
index 8a705f93cfe4..7e9cb5ede9df 100644
--- a/french/Makefile
+++ b/french/Makefile
@@ -29,7 +29,6 @@
SUBDIR += koffice-kde4-l10n
SUBDIR += med
SUBDIR += php_doc
- SUBDIR += plgrenouille
SUBDIR += tvdownloader
SUBDIR += verbiste
diff --git a/french/plgrenouille/Makefile b/french/plgrenouille/Makefile
deleted file mode 100644
index 577066c9a57b..000000000000
--- a/french/plgrenouille/Makefile
+++ /dev/null
@@ -1,82 +0,0 @@
-# New ports collection makefile for: plgrenouille_0
-# Date created: 02 July 2002
-# Whom: cyrille.lefevre@laposte.net
-#
-# $FreeBSD$
-#
-
-PORTNAME= plgrenouille
-PORTVERSION= 0.70.6
-PORTREVISION= 7
-CATEGORIES= french net
-MASTER_SITES= http://concept.free.free.fr/plgrenouille/beta/
-DISTNAME= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Un client pour determiner votre bande passante a un raccordement large bande
-
-DEPRECATED= Upstream disapear and distfile is no more available
-EXPIRATION_DATE= 2011-05-01
-
-LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
-RUN_DEPENDS= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP
-
-.if !defined(BATCH)
-IS_INTERACTIVE= yes
-.endif
-
-NO_BUILD= yes
-USE_PERL5= yes
-USE_RC_SUBR= plgrenouille.sh
-SCRIPTS_ENV= PKG_PREFIX=${PREFIX}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
-PKGDEINSTALL= ${PKGINSTALL}
-PLIST_SUB= LBIN_DIR="${LBIN_DIR:S,^${PREFIX}/,,}" \
- CONF_DIR="${CONF_DIR:S,^${PREFIX}/,,}"
-REINPLACE_SUB= PREFIX=${PREFIX} PERL=${PERL} \
- LBIN_DIR=${LBIN_DIR} CONF_DIR=${CONF_DIR} \
- RUN_DIR=${RUN_DIR} LOG_DIR=${LOG_DIR} \
- SPOOL_DIR=${SPOOL_DIR} SPOOL_USER=${SPOOL_USER}
-SUB_FILES= pkg-message
-SUB_LIST= LBIN_DIR=${LBIN_DIR} RUN_DIR=${RUN_DIR} LOG_DIR=${LOG_DIR}
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-MAN1= plgrenouille.1
-DOC_FILES= FAQ README
-LBIN_DIR= ${PREFIX}/libexec
-MAN_DIR= ${MAN1PREFIX}/man/man1
-CONF_DIR= ${PREFIX}/etc
-RC_DIR= ${PREFIX}/etc/rc.d
-RUN_DIR= /var/run
-LOG_DIR= /var/log
-SPOOL_DIR= /var/spool/${PORTNAME}
-SPOOL_USER= daemon
-
-post-patch:
- @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${WRKSRC}/plgrenouille.pl ${WRKSRC}/Grenouille/Vars.pm
- @${REINPLACE_CMD} 's!swap_privileges!Grenouille::System::&!g' \
- ${WRKSRC}/Grenouille/Log.pm ${WRKSRC}/Grenouille/Preferences.pm
-
-do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/plgrenouille.pl \
- ${LBIN_DIR}/plgrenouille
- @${MKDIR} ${SITE_PERL}/Grenouille
- @${INSTALL_SCRIPT} ${WRKSRC}/Grenouille/*.pm \
- ${SITE_PERL}/Grenouille
- @${INSTALL_MAN} ${WRKSRC}/plgrenouille.1 ${MAN_DIR}
- @${INSTALL_DATA} ${WRKSRC}/grenouillerc.sample ${CONF_DIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
-
-post-install:
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
-.include <bsd.port.mk>
diff --git a/french/plgrenouille/distinfo b/french/plgrenouille/distinfo
deleted file mode 100644
index 9d38826cf31a..000000000000
--- a/french/plgrenouille/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (plgrenouille_0.70-6.tar.gz) = 4a42010ece074ba56104eddd25783d9eb2cd4961bf5614fe330498c6e7ff4a2b
-SIZE (plgrenouille_0.70-6.tar.gz) = 38409
diff --git a/french/plgrenouille/files/patch-Grenouille::Preferences.pm b/french/plgrenouille/files/patch-Grenouille::Preferences.pm
deleted file mode 100644
index 488385436f06..000000000000
--- a/french/plgrenouille/files/patch-Grenouille::Preferences.pm
+++ /dev/null
@@ -1,18 +0,0 @@
---- Grenouille/Preferences.pm.orig Mon Mar 17 15:26:46 2003
-+++ Grenouille/Preferences.pm Thu Mar 4 03:55:34 2004
-@@ -15,6 +15,7 @@
- %preferences = ();
-
- sub load_preferences() {
-+ swap_privileges();
- eval {
- if (open(CONFIG, "<$MYRC")) {
- while (<CONFIG>) {
-@@ -25,6 +26,7 @@
- close(CONFIG);
- }
- };
-+ swap_privileges();
- die if $@;
- }
-
diff --git a/french/plgrenouille/files/patch-Grenouille::Vars.pm b/french/plgrenouille/files/patch-Grenouille::Vars.pm
deleted file mode 100644
index 2f99c6965e06..000000000000
--- a/french/plgrenouille/files/patch-Grenouille::Vars.pm
+++ /dev/null
@@ -1,49 +0,0 @@
---- Grenouille/Vars.pm.orig Wed Dec 5 23:42:30 2001
-+++ Grenouille/Vars.pm Thu Mar 4 03:59:13 2004
-@@ -8,6 +8,7 @@
- use vars qw(@ISA @EXPORT_OK
- $MYRC $DATAPATH $DOWNLOADFILE $UPLOADFILE $QUEUEFILE
- $LASTCONFIGFILE $LASTVERSIONFILE $PIDFILE $LOGFILE
-+ $BEFOREFILE $AFTERFILE
- $ASAP $SEC $MIN $HOUR $DAY @MONTHS
- $USER
- %VERSION %DEBUG
-@@ -15,6 +16,7 @@
- @ISA=qw(Exporter);
- @EXPORT_OK=qw($MYRC $DATAPATH $DOWNLOADFILE $UPLOADFILE $QUEUEFILE
- $LASTCONFIGFILE $LASTVERSIONFILE $PIDFILE $LOGFILE
-+ $BEFOREFILE $AFTERFILE
- $ASAP $SEC $MIN $HOUR $DAY @MONTHS
- $USER
- %VERSION %DEBUG
-@@ -30,15 +32,17 @@
- 'system' => ($^O eq 'win32' ? 'windows' : $^O) );
-
- # Paths
--$MYRC ||= '/etc/grenouillerc';
--$DATAPATH ||= '/var/spool/plgrenouille';
-+$MYRC ||= '%%PREFIX%%/etc/grenouillerc';
-+$BEFOREFILE ||= '%%PREFIX%%/etc/plgrenouille-before';
-+$AFTERFILE ||= '%%PREFIX%%/etc/plgrenouille-after';
-+$DATAPATH ||= '%%SPOOL_DIR%%';
- $DOWNLOADFILE ||= "$DATAPATH/downloadfile";
- $UPLOADFILE ||= "$DATAPATH/uploadfile";
- $QUEUEFILE ||= "$DATAPATH/queued_results.txt";
- $LASTCONFIGFILE ||= "$DATAPATH/last_configuration.txt";
- $LASTVERSIONFILE ||= "$DATAPATH/last_known_version.txt";
--$PIDFILE ||= "/var/run/plgrenouille.pid";
--$LOGFILE ||= "/var/log/plgrenouille.log";
-+$PIDFILE ||= "%%RUN_DIR%%/plgrenouille.pid";
-+$LOGFILE ||= "%%LOG_DIR%%/plgrenouille.log";
-
- # Time constants
- $ASAP ||= 0;
-@@ -48,7 +52,7 @@
- $DAY ||= 24 * $HOUR;
- @MONTHS = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
-
--$USER ||= 'daemon';
-+$USER ||= '%%SPOOL_USER%%';
-
- # Debugging
- # what features do we want to debug ?
diff --git a/french/plgrenouille/files/patch-plgrenouille.pl b/french/plgrenouille/files/patch-plgrenouille.pl
deleted file mode 100644
index 7ba891be311b..000000000000
--- a/french/plgrenouille/files/patch-plgrenouille.pl
+++ /dev/null
@@ -1,77 +0,0 @@
---- plgrenouille.pl.orig Fri Oct 3 16:00:23 2003
-+++ plgrenouille.pl Thu Mar 4 15:58:57 2004
-@@ -1,4 +1,4 @@
--#!/usr/bin/perl -Tw
-+#!%%PERL%% -Tw
- # plgrenouille 0.70 -- don't forget to update Grenouille::Vars
- # version 0.4 by momtchev, <momtchev@fil.univ-lille1.fr>
- # modified by Pierre Etchemaite, <petchema@concept-micro.com>
-@@ -19,6 +19,7 @@
- use Grenouille::Vars qw(%VERSION %DEBUG
- $MYRC $DATAPATH $DOWNLOADFILE $UPLOADFILE $QUEUEFILE
- $LASTCONFIGFILE $LASTVERSIONFILE $PIDFILE
-+ $BEFOREFILE $AFTERFILE
- $ASAP $SEC $MIN $DAY
- %vars);
- use Grenouille::Numbers qw(digits jitter);
-@@ -35,7 +36,7 @@
- use Grenouille::System qw(init_privileges swap_privileges
- autodetect_interface get_traffic_counters);
-
--$ENV{'PATH'} = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin';
-+$ENV{'PATH'} = '%%PREFIX%%/sbin:%%PREFIX%%/bin:/usr/sbin:/usr/bin:/sbin:/bin';
-
- # ---------------------------------------------------------------
-
-@@ -243,9 +244,9 @@
- sub before_test() {
- # stop or pause processes that could interfere with bandwidth measurements,
- # etc.
-- if(-x '/etc/plgrenouille-before') {
-+ if(-x '$BEFOREFILE') {
- eval {
-- system '/etc/plgrenouille-before';
-+ system '$BEFOREFILE';
- };
- display_and_log('ERROR', "plgrenouille-before: $@") if $@;
- }
-@@ -253,9 +254,9 @@
-
- sub after_test() {
- # revert anything done by before_test()
-- if(-x '/etc/plgrenouille-after') {
-+ if(-x '$AFTERFILE') {
- eval {
-- system '/etc/plgrenouille-after';
-+ system '$AFTERFILE';
- };
- display_and_log('ERROR', "plgrenouille-after: $@") if $@;
- }
-@@ -620,8 +621,6 @@
-
- # --------------------------- MAIN ----------------------------
-
--display_version();
--
- Getopt::Long::Configure('bundling'); # 'no_ignore_case'
- eval {
- GetOptions(\%params,
-@@ -629,6 +628,7 @@
- 'verbose|v=s', \&set_verbose_level,
- 'configure|setup|c',
- 'background|b',
-+ 'version|V',
- 'help|h|?');
- };
- if ($@) {
-@@ -637,6 +637,10 @@
- }
- usage(1) if scalar @ARGV;
- usage(0) if $params{'help'};
-+if($params{'version'}) {
-+ display_version();
-+ exit(0);
-+}
-
- open_log();
- init_grenouille();
diff --git a/french/plgrenouille/files/pkg-message.in b/french/plgrenouille/files/pkg-message.in
deleted file mode 100644
index dbc2e44d7bd6..000000000000
--- a/french/plgrenouille/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-**** Avant d'executer ce client pour la premiere fois, assurez-vous de visiter
- le site web du projet Grenouille et de vous y enregistrer.
- (WWW: http://www.grenouille.com/ma_grenouille/).
-
-**** Ensuite, vous devez executer %%PREFIX%%/etc/rc.d/plgrenouille.sh configure
- ou recopier le fichier de configuration %%PREFIX%%/etc/grenouillerc.sample
- en %%PREFIX%%/etc/grenouillerc afin de l'editer manuellement.
-
-**** Notez qu'afin de pouvoir envoyer vos informations Grenouille au serveur
- Grenouille, votre machine doit avoir un acces plus ou moins continu a
- Internet au moyen d'une connection de type cable ou ADSL.
diff --git a/french/plgrenouille/files/plgrenouille.sh.in b/french/plgrenouille/files/plgrenouille.sh.in
deleted file mode 100644
index e06b25cef563..000000000000
--- a/french/plgrenouille/files/plgrenouille.sh.in
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/french/plgrenouille/files/Attic/plgrenouille.sh.in,v 1.2 2010-03-27 00:12:59 dougb Exp $
-#
-# PROVIDE: plgrenouille
-# REQUIRE: DAEMON
-#
-# Add the following line to /etc/rc.conf to enable upclient:
-#
-# plgrenouille_enable="YES"
-#
-
-plgrenouille_enable=NO
-plgrenouille_flags=-b
-
-. /etc/rc.subr
-
-name=plgrenouille
-rcvar=$(set_rcvar)
-
-command=%%LBIN_DIR%%/${name}
-command_interpreter=%%PERL%%
-pidfile=%%RUN_DIR%%/${name}.pid
-logfile=%%LOG_DIR%%/${name}.log
-required_files=%%CONF_DIR%%/grenouillerc
-extra_commands=configure
-configure_cmd="${command} -c"
-
-load_rc_config ${name}
-run_rc_command "$1"
diff --git a/french/plgrenouille/pkg-descr b/french/plgrenouille/pkg-descr
deleted file mode 100644
index 188c8a2f6380..000000000000
--- a/french/plgrenouille/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Ce logiciel est cense determiner votre bande passante a un raccordement
-large bande et envoie les resultats au site http://www.grenouille.com
-a des fins de statistiques.
diff --git a/french/plgrenouille/pkg-install b/french/plgrenouille/pkg-install
deleted file mode 100644
index 6cfb4ecc971b..000000000000
--- a/french/plgrenouille/pkg-install
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Configure plgrenouille.
-#
-
-[ $# != 2 ] && exit 1
-[ -z "${PKG_PREFIX}" ] && exit 1
-
-PORTNAME=plgrenouille
-SPOOL_DIR=/var/spool/${PORTNAME}
-SPOOL_MODES=u+rw,go-rw
-SPOOL_USER=daemon
-
-case "$2" in
-POST-INSTALL)
- if [ ! -d ${SPOOL_DIR} ]; then
- mkdir -p ${SPOOL_DIR} &&
- chmod ${SPOOL_MODES} ${SPOOL_DIR} &&
- chown ${SPOOL_USER} ${SPOOL_DIR}
- fi
- [ -n "${BATCH}" ] && exit 0
- [ -f ${PKG_PREFIX}/etc/rc.d/plgrenouille.sh ] &&
- sh ${PKG_PREFIX}/etc/rc.d/plgrenouille.sh configure
- ;;
-POST-DEINSTALL)
- if [ -d ${SPOOL_DIR} ]; then
- rm -rf ${SPOOL_DIR}
- fi
- ;;
-esac
-
-exit 0
diff --git a/french/plgrenouille/pkg-plist b/french/plgrenouille/pkg-plist
deleted file mode 100644
index c6435a4a682d..000000000000
--- a/french/plgrenouille/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-@comment $FreeBSD$
-@unexec if cmp -s %D/%%CONF_DIR%%/grenouillerc %D/%%CONF_DIR%%/grenouillerc.sample; then rm -f %D/%%CONF_DIR%%/grenouillerc; fi
-@unexec %%PREFIX%%/etc/rc.d/plgrenouille.sh stop
-%%CONF_DIR%%/grenouillerc.sample
-@comment no @exec: see pkg-install/+INSTALL for details.
-%%LBIN_DIR%%/plgrenouille
-%%SITE_PERL%%/Grenouille/Comm.pm
-%%SITE_PERL%%/Grenouille/Config.pm
-%%SITE_PERL%%/Grenouille/Log.pm
-%%SITE_PERL%%/Grenouille/Numbers.pm
-%%SITE_PERL%%/Grenouille/Preferences.pm
-%%SITE_PERL%%/Grenouille/Queue.pm
-%%SITE_PERL%%/Grenouille/Scheduler.pm
-%%SITE_PERL%%/Grenouille/System.pm
-%%SITE_PERL%%/Grenouille/Vars.pm
-%%SITE_PERL%%/Grenouille/Version.pm
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%SITE_PERL%%/Grenouille