From 653785a7bc2ffb7a5be304c10242162becb19158 Mon Sep 17 00:00:00 2001 From: Grupa za izradu paketa Date: Mon, 22 Oct 2007 14:39:11 +0000 Subject: [PATCH] r1: [svn-inject] Installing original source of phpbb2-cn --- README.CARNet | 9 ++++++ changelog.CARNet | 1 + debian/changelog | 72 +++++++++++++++++++++++++++++++++++++++++++++ debian/compat | 1 + debian/control | 19 ++++++++++++ debian/docs | 2 ++ debian/postinst | 20 +++++++++++++ debian/postrm | 18 ++++++++++++ debian/rules | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 228 insertions(+) create mode 100644 README.CARNet create mode 120000 changelog.CARNet create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/docs create mode 100755 debian/postinst create mode 100755 debian/postrm create mode 100755 debian/rules diff --git a/README.CARNet b/README.CARNet new file mode 100644 index 0000000..331f386 --- /dev/null +++ b/README.CARNet @@ -0,0 +1,9 @@ +phpbb-cn +~~~~~~~~ + +phpBB je software za web forum. U CARNet-ovom izdanju dolazi sa +hrvatskim prijevodom. Korisnici mogu pristupiti forumu preko adrese +http://IME_HOSTA/phpbb/ +gdje je "IME_HOSTA" ime racunala gdje je paket instaliran. + + -- Nikola Pavkovic Tue, 27 Apr 2004 14:07:05 +0200 diff --git a/changelog.CARNet b/changelog.CARNet new file mode 120000 index 0000000..194579e --- /dev/null +++ b/changelog.CARNet @@ -0,0 +1 @@ +changelog.Debian \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8193ea8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,72 @@ +phpbb2-cn (2.0.21-1) carnet-etch; urgency=high + + * Prva verzija za Etch + + -- Ivan Rako Mon, 22 Oct 2007 16:18:29 +0200 + +phpbb2-cn (2.0.13-6sarge3) stable; urgency=high + + * Ovisnost o najnovijoj verziji phpbb2 koja ispravlja sigurnosni + nedostatak CVE-2006-1896 i DSA 1066-1 + + -- Ivan 'ico' Rako Thu, 25 May 2006 15:30:40 +0200 + +phpbb2-cn (2.0.13-6sarge2) stable; urgency=high + + * Maknut CP_ECHO_RETURN + * Ovisnost o najnovijoj verziji phpbb2 koja ispravlja visestruke + nedostatke opisane u: DSA 925-1, CVE-2005-3310, CVE-2005-3415, + CVE-2005-3416, CVE-2005-3417, CVE-2005-3418, CVE-2005-3419, + CVE-2005-3420, CVE-2005-3536 i CVE-2005-3537 + + -- Ivan 'ico' Rako Thu, 22 Dec 2005 17:19:02 +0100 + +phpbb2-cn (2.0.13-6sarge1.1) stable; urgency=low + + * dodana ovisnost o mail-transport-agent zbog koristenja cp_mail() iz + CARNet toolsa + + -- Ivan 'ico' Rako Mon, 5 Sep 2005 14:32:02 +0200 + +phpbb2-cn (2.0.13-6sarge1) stable; urgency=high + + * ovisnost o najnovijoj verziji phpbb2 koja ispravlja + nedostatak opisan u CAN-2005-2161 i DSA 768-1 + + -- Ivan 'ico' Rako Thu, 28 Jul 2005 00:07:53 +0200 + +phpbb2-cn (2.0.13-2) testing; urgency=medium + + * pita MySQL Admin lozinku putem Debconfa + * kozmetika postinsta + * dodan postrm (db_purge) + + -- Ivan 'ico' Rako Thu, 26 May 2005 13:02:56 +0200 + +phpbb2-cn (2.0.13-1) testing; urgency=high + + * sad se koristi CARNet tools + * iznova napisane maintainer skripte + * ispravne dozvole nad config.php (T#2005050413000012) + * dodaje extension=mysql.so u apache/php.ini ako ne postoji + + -- Ivan 'ico' Rako Mon, 9 May 2005 11:20:12 +0200 + +phpbb2-cn (2.0.8a-4) + + * ispravljene greske i poboljsana postinst skripte + + -- Nikola Pavkovic Mon, 24 May 2004 19:19:50 +0200 + +phpbb2-cn (2.0.8a-3) + + * unaprijedjena postinst skripta + + -- Nikola Pavkovic Sat, 22 May 2004 13:20:43 +0200 + +phpbb2-cn (2.0.8a-2) + + * inicijalno izdanje paketa, dodan hrvatski prijevod + * dodana automatska konfiguracija mysql baze i phpbb konf. datoteke + + -- Nikola Pavkovic Tue, 27 Apr 2004 14:08:53 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b96ca5c --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: phpbb2-cn +Section: web +Priority: optional +Maintainer: Ivan Rako +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: phpbb2-cn +Architecture: all +Depends: phpbb2 (>= 2.0.21), phpbb2-languages (>= 2.0.21), phpbb2-conf-mysql, php5-mysql, makepasswd, carnet-tools-cn (>= 2.3), mail-transport-agent +Pre-Depends: mysql-cn +Description: A fully featured and skinnable flat (non-threaded) webforum + phpBB is a high powered, fully scalable, and highly customisable open-source + bulletin board package. phpBB has a user-friendly interface, simple and + straightforward administration panel, and helpful FAQ. Based on the powerful + PHP server language and your choice of MySQL or PostgreSQL database servers, + phpBB is the ideal free community solution for all web sites. + . + Homepage: http://www.phpbb.com diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..d92e2d1 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.CARNet +changelog.CARNet diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..743f6a4 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +[ "$1" = "configure" ] || exit 0 + +if [ ! -L /etc/apache2/conf.d/phpbb2-cn.conf -a ! -f /etc/apache2/conf.d/phpbb2-cn.conf ]; then + ln -sf /etc/phpbb2/apache.conf /etc/apache2/conf.d/phpbb2-cn.conf + restart_apache2="yes" +fi + +echo "CN: phpBB2 is at http://`hostname --fqdn`/phpbb/" + +if [ "$restart_apache2" = "yes" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + [ -x /etc/init.d/apache2 ] && invoke-rc.d apache2 restart + else + [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 restart + fi +fi diff --git a/debian/postrm b/debian/postrm new file mode 100755 index 0000000..072a98f --- /dev/null +++ b/debian/postrm @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +[ "$1" = "purge" ] || exit 0 + +if [ /etc/apache2/conf.d/phpbb2-cn.conf ]; then + rm -f /etc/apache2/conf.d/phpbb2-cn.conf + restart_apache2="yes" +fi + +if [ "$restart_apache2" = "yes" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + [ -x /etc/init.d/apache2 ] && invoke-rc.d apache2 restart + else + [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 restart + fi +fi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d6649e4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + # -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/phpbb2-cn. + # $(MAKE) install DESTDIR=$(CURDIR)/debian/phpbb2-cn + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -k + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_link +# dh_strip +# dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure -- 1.7.10.4