diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-proxy/squirm | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-proxy/squirm')
-rw-r--r-- | net-proxy/squirm/Manifest | 1 | ||||
-rw-r--r-- | net-proxy/squirm/files/squirm-1.26-gentoo.patch | 34 | ||||
-rw-r--r-- | net-proxy/squirm/metadata.xml | 6 | ||||
-rw-r--r-- | net-proxy/squirm/squirm-1.26-r1.ebuild | 36 |
4 files changed, 77 insertions, 0 deletions
diff --git a/net-proxy/squirm/Manifest b/net-proxy/squirm/Manifest new file mode 100644 index 000000000000..23da2e4fad74 --- /dev/null +++ b/net-proxy/squirm/Manifest @@ -0,0 +1 @@ +DIST squirm-1.26.tgz 24151 SHA256 0ff1521b8070f0e8e376d9857a34eb38953992a1f90e25769a5d7c7fe66cff88 SHA512 f6d0ec06d796b053cbe77e3099aa15665dc42a0e48e7c5b48c25c35a02677152bbb868ed822460cd52a1e898ec0ad605c43fe408c19e85e473e04257c8ffd9be WHIRLPOOL f150811ebcc859889b1ea1e8459ad4a16c07ae72c5bb6e9a94049687ab2033303b5cf0ecbba01c543df18a5af97574e53c34a5e3e7f75ae81e7a2e9548d511ca diff --git a/net-proxy/squirm/files/squirm-1.26-gentoo.patch b/net-proxy/squirm/files/squirm-1.26-gentoo.patch new file mode 100644 index 000000000000..16b6e21c7aa2 --- /dev/null +++ b/net-proxy/squirm/files/squirm-1.26-gentoo.patch @@ -0,0 +1,34 @@ +diff -Nru squirm-1.26.orig/Makefile squirm-1.26/Makefile +--- squirm-1.26.orig/Makefile 2005-08-19 09:31:06.000000000 +0200 ++++ squirm-1.26/Makefile 2009-06-20 14:58:18.000000000 +0200 +@@ -1,7 +1,7 @@ + # $Id$ + + # The path to install squirm under +-PREFIX=/usr/local/squirm ++PREFIX=/opt/squirm + + # The username that squid runs as (see cache_effective_user in squid.conf) + USER=squid +@@ -29,10 +29,10 @@ + CC=gcc + + +-OPTIMISATION=-O3 ++OPTIMISATION= + BINARIES = squirm + +-CFLAGS = -O3 -Wall -funroll-loops -DPREFIX=\"$(PREFIX)\" ++CFLAGS += -DPREFIX=\"$(PREFIX)\" + #CFLAGS = -Wall -g -DPREFIX=\"$(PREFIX)\" + #CFLAGS = -Wall -g -DDEBUG + +@@ -45,7 +45,7 @@ + install -m 750 -o $(USER) -g $(GROUP) -d $(PREFIX)/logs + install -m 660 -c -o root -g $(GROUP) squirm.conf.dist squirm.patterns.dist \ + $(PREFIX)/etc +- install -m 755 -o root -g $(ROOT_GROUP) --strip squirm $(PREFIX)/bin ++ install -m 755 -o root -g $(ROOT_GROUP) squirm $(PREFIX)/bin + + squirm.o: squirm.c $(HFILES) + $(CC) -c squirm.c $(CFLAGS) diff --git a/net-proxy/squirm/metadata.xml b/net-proxy/squirm/metadata.xml new file mode 100644 index 000000000000..09a762bf49e3 --- /dev/null +++ b/net-proxy/squirm/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +<longdescription>A redirector for Squid</longdescription> +</pkgmetadata> diff --git a/net-proxy/squirm/squirm-1.26-r1.ebuild b/net-proxy/squirm/squirm-1.26-r1.ebuild new file mode 100644 index 000000000000..e098e3060f5e --- /dev/null +++ b/net-proxy/squirm/squirm-1.26-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils toolchain-funcs + +DESCRIPTION="A redirector for Squid" +HOMEPAGE="http://squirm.foote.com.au" +SRC_URI="http://squirm.foote.com.au/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +RDEPEND="net-proxy/squid" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LDOPTS="${LDFLAGS}" +} + +src_install() { + emake PREFIX="${ED}/opt/squirm" install +} + +pkg_postinst() { + einfo "To enable squirm, add the following lines to /etc/squid/squid.conf:" + einfo " url_rewrite_program /opt/squirm/bin/squirm" + einfo " url_rewrite_children 10" +} |