From: Arne Fitzenreiter Date: Mon, 7 Jan 2013 17:13:06 +0000 (+0100) Subject: elinks: update to 0.12pre6. X-Git-Tag: v2.13-beta2~18 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=5fd4c3e5ddf495f1c4a065af2ac6f127938a54be elinks: update to 0.12pre6. --- diff --git a/config/rootfiles/packages/elinks b/config/rootfiles/packages/elinks index 3e71dc9a5a..45c83b1768 100644 --- a/config/rootfiles/packages/elinks +++ b/config/rootfiles/packages/elinks @@ -2,6 +2,9 @@ usr/local/bin/elinks #usr/local/etc #usr/local/etc/elinks usr/local/etc/elinks/elinks.conf +#usr/local/share/locale/af +#usr/local/share/locale/af/LC_MESSAGES +#usr/local/share/locale/af/LC_MESSAGES/elinks.mo #usr/local/share/locale/be #usr/local/share/locale/be/LC_MESSAGES #usr/local/share/locale/be/LC_MESSAGES/elinks.mo diff --git a/lfs/elinks b/lfs/elinks index 4a41e1b778..59f1426ead 100644 --- a/lfs/elinks +++ b/lfs/elinks @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2013 IPFire Team # # # # 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 # @@ -24,7 +24,7 @@ include Config -VER = 0.11.7 +VER = 0.12pre6 THISAPP = elinks-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = elinks -PAK_VER = 3 +PAK_VER = 4 DEPS = "" @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = fcd087a6d2415cd4c6fd1db53dceb646 +$(DL_FILE)_MD5 = 3d0962f4b65fb039342fefd3ada050a9 install : $(TARGET) diff --git a/src/paks/elinks/install.sh b/src/paks/elinks/install.sh new file mode 100644 index 0000000000..cd5a6cea52 --- /dev/null +++ b/src/paks/elinks/install.sh @@ -0,0 +1,34 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007-2013 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +extract_files +restore_backup ${NAME} + +# Suppress first welcome dialog by creating bookmark +# and history files for root +mkdir -p /root/.elinks +touch /root/.elinks/bookmarks +touch /root/.elinks/globhist + +start_service --background ${NAME} diff --git a/src/paks/elinks/uninstall.sh b/src/paks/elinks/uninstall.sh new file mode 100644 index 0000000000..e296ccb192 --- /dev/null +++ b/src/paks/elinks/uninstall.sh @@ -0,0 +1,27 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007-2013 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +stop_service ${NAME} +make_backup ${NAME} +remove_files diff --git a/src/paks/elinks/update.sh b/src/paks/elinks/update.sh new file mode 100644 index 0000000000..1ad1831a73 --- /dev/null +++ b/src/paks/elinks/update.sh @@ -0,0 +1,26 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007-2013 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +./uninstall.sh +./install.sh