aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsyc://psyced.org/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:06 +0000
committerpsyc://psyced.org/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:06 +0000
commitf3fdba9c9b9fd6420872abb44e61b4af035f3e84 (patch)
treec3bc97ac2e52e3365ee1c41adeca2e5b0f47b466
parent109a2db797569c21daa6f0ab4e6d93331f0d0951 (diff)
downloadyoubroketheinternet-overlay-f3fdba9c9b9fd6420872abb44e61b4af035f3e84.tar.gz
youbroketheinternet-overlay-f3fdba9c9b9fd6420872abb44e61b4af035f3e84.zip
these ebuilds would need to be upgraded from EAPI 5: nix, guix, hiawatha, rxaudio
-rw-r--r--README31
-rw-r--r--media-sound/rxaudio-bin/Manifest1
-rw-r--r--media-sound/rxaudio-bin/files/README25
-rw-r--r--media-sound/rxaudio-bin/rxaudio-bin-1.0.ebuild22
-rw-r--r--sys-apps/nix/Manifest4
-rw-r--r--sys-apps/nix/files/nix-1.11.6-respect-CXXFLAGS.patch9
-rw-r--r--sys-apps/nix/files/nix-1.11.6-respect-LDFLAGS.patch36
-rw-r--r--sys-apps/nix/files/nix-1.11.6-systemd.patch10
-rw-r--r--sys-apps/nix/files/nix-2.0-user-path.patch10
-rw-r--r--sys-apps/nix/files/nix-daemon.initd15
-rw-r--r--sys-apps/nix/metadata.xml13
-rw-r--r--sys-apps/nix/nix-1.11.2.ebuild122
-rw-r--r--sys-apps/nix/nix-2.0.2.ebuild133
-rw-r--r--sys-apps/nix/nix-2.0.4.ebuild133
-rw-r--r--sys-apps/nix/nix-2.1.3-r1.ebuild138
-rw-r--r--sys-apps/nix/nix-2.1.3.ebuild135
-rw-r--r--www-servers/hiawatha/ChangeLog101
-rw-r--r--www-servers/hiawatha/ChangeLog-201555
-rw-r--r--www-servers/hiawatha/Manifest4
-rw-r--r--www-servers/hiawatha/files/hiawatha-9.14-system-mbedtls.patch25
-rw-r--r--www-servers/hiawatha/files/hiawatha-9.5-cflags.patch17
-rw-r--r--www-servers/hiawatha/files/hiawatha.initd26
-rw-r--r--www-servers/hiawatha/files/hiawatha.initd-r126
-rw-r--r--www-servers/hiawatha/files/hiawatha.service9
-rw-r--r--www-servers/hiawatha/hiawatha-10.3-r99.ebuild145
-rw-r--r--www-servers/hiawatha/hiawatha-9.14-r1.ebuild87
-rw-r--r--www-servers/hiawatha/hiawatha-9.14.ebuild84
-rw-r--r--www-servers/hiawatha/hiawatha-9.15.ebuild145
-rw-r--r--www-servers/hiawatha/hiawatha-9.8.ebuild90
-rw-r--r--www-servers/hiawatha/metadata.xml23
-rw-r--r--youbroketheinternet-overlay.xml4
31 files changed, 2 insertions, 1676 deletions
diff --git a/README b/README
index b755909..fd77360 100644
--- a/README
+++ b/README
@@ -207,17 +207,6 @@ not need to do any editing beyond what ffcut offers.
207A little tool to auto-detect or 'tap' the beats per 207A little tool to auto-detect or 'tap' the beats per
208minute of music media files. 208minute of music media files.
209 209
210== media-sound/rxaudio-bin ==
211
212A *shareware* from 1998: A remote controllable MP3 engine
213used by psycmp3 from dev-perl/Net-PSYC. Source code was never
214released. Original website has disappeared. But it works.
215In almost twenty years it never exhibited non-consensual
216Internet access, so there is no reason to expect it to
217contain malware now. The reason it is here is because it
218has a pretty good control API and no-one cared to rewrite
219the powerful psycmp3 player to use a free software API.
220
221== media-sound/ttymidi == 210== media-sound/ttymidi ==
222 211
223Some exotic hardware and specifically Arduino-based tools 212Some exotic hardware and specifically Arduino-based tools
@@ -363,21 +352,6 @@ While compiling from source works great, the ebuilds produce
363some mysterious error messages. Please help to figure out 352some mysterious error messages. Please help to figure out
364what the problem is. Luckily this package is optional. 353what the problem is. Luckily this package is optional.
365 354
366== sys-apps/guix ==
367
368GNU Guix is a package manager. It's also an operating system
369(GNU GuixSD). Guix might provide updates via a distributed network
370in the future. Currently this ebuild and sys-apps/guix-binary are
371open for debugging here, please provide us with input.
372(* sys-apps/guix is functional, the OpenRC service needs debugging.)
373
374== sys-apps/guix-bin ==
375
376GNU Guix is a package manager for reproducible building. It
377is therefore legitimate to use its binary installation as
378you can check its correctness later, by rebuilding the exact
379identical binary files.
380
381== sys-apps/metastore == 355== sys-apps/metastore ==
382 356
383Do you use git for systems administration and get tangled up with 357Do you use git for systems administration and get tangled up with
@@ -385,11 +359,6 @@ files having wrong ownership? Metastore keeps metadata information
385of entire directory trees in a separate file, so you can restore it 359of entire directory trees in a separate file, so you can restore it
386each time you check out a git repository. 360each time you check out a git repository.
387 361
388== sys-apps/nix ==
389
390The package manager from Nix. Portage has added its own version
391without credit to us. Ts!
392
393== sys-apps/quickpkg-newer == 362== sys-apps/quickpkg-newer ==
394 363
395Wrapper around quickpkg that ensures all atoms installed in the system 364Wrapper around quickpkg that ensures all atoms installed in the system
diff --git a/media-sound/rxaudio-bin/Manifest b/media-sound/rxaudio-bin/Manifest
deleted file mode 100644
index 4973894..0000000
--- a/media-sound/rxaudio-bin/Manifest
+++ /dev/null
@@ -1 +0,0 @@
1DIST rxaudio 202744 SHA256 ddb096ad42d9b6b543db8a3a6d9b4a9d52943e75e96697dbbadbc779140c498e SHA512 c1f111608998194a79988d46d8a43885eb461f7cc0c6a75fa076ff9be9b5b565156ed5313710e4c5adffc27d9421f3d4995e8af1e4a7359b62c1bc1204928025 WHIRLPOOL 3c4bef01b3c09fdd6094c1f0b941453910c32b18ceba83e53cd11727ff1bcc5c412d676aabe2f5b3f8de58e396f8dd817b549dc049c8dbb0124e7463e4f935aa
diff --git a/media-sound/rxaudio-bin/files/README b/media-sound/rxaudio-bin/files/README
deleted file mode 100644
index e8ac356..0000000
--- a/media-sound/rxaudio-bin/files/README
+++ /dev/null
@@ -1,25 +0,0 @@
1rxaudio: My only little guilty pleasure.
2
3The rxaudio binary is originally from around 1997. It has
4served a reliable service on my systems ever since and is
5used by psycmp3 to fulfil the job of a flexible command
6line mp3 player.
7
8I wouldn't mind having psycmp3 use a free software API
9but somebody has to do the porting. Last time I checked
10the free APIs weren't as advanced and flexible as the
11xaudio API from back then, so some functionality would
12disappear.
13
14It is extremily unlikely that the small business that
15released the xaudio package back then implanted any
16backdoors, so I don't worry about this little imperfect
17dependency here.
18
19Instructions on how to comply with the Shareware license
20is archived at...
21
22https://web.archive.org/web/19980629121122/http://www.xaudio.com/register.html
23
24Good luck!
25
diff --git a/media-sound/rxaudio-bin/rxaudio-bin-1.0.ebuild b/media-sound/rxaudio-bin/rxaudio-bin-1.0.ebuild
deleted file mode 100644
index 863b4d7..0000000
--- a/media-sound/rxaudio-bin/rxaudio-bin-1.0.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
1# Copyright 1999-2016 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3#
4EAPI=5
5
6inherit user eutils
7
8DESCRIPTION="Historic mp3 playback engine"
9HOMEPAGE="https://web.archive.org/web/19981205020307/http://www.xaudio.com/download.html"
10SRC_URI="http://mp3.pages.de/files/rxaudio"
11
12LICENSE="Shareware"
13SLOT="0"
14KEYWORDS="~x86"
15IUSE=""
16S="${WORKDIR}"
17
18src_install() {
19 dobin ../distdir/rxaudio
20 dodoc ${FILESDIR}/README
21}
22
diff --git a/sys-apps/nix/Manifest b/sys-apps/nix/Manifest
deleted file mode 100644
index 51ecb6f..0000000
--- a/sys-apps/nix/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
1DIST nix-1.11.2.tar.xz 620548 SHA256 fc1233814ebb385a2a991c1fb88c97b344267281e173fea7d9acd3f9caf969d6 SHA512 ab6c4093113190c6a1246cb6c32c140815f0f1e1a816b8934f9318908ed8b082680958a0762d42534cee50664a7bb363c42f793842511ff0a6ac65fd84eb2201 WHIRLPOOL 0d774afc1f3006d4a315892808d046edcd0c6f9efdfbde63cf8e65275a192081d9ab014f9dc50043e41075e488ad8146b3eef208fca30b1609747604f418bc28
2DIST nix-2.0.2.tar.xz 796404 BLAKE2B 0906488bf2c800544c0747a6860ef51f667467f50039f725cf6ec05b8389462fe073bddceba106922a7611fd784b58ed5ca321efba0065b0f424aa53d7620990 SHA512 605e2c6dbc814470c25aa4f0aca77bfd11fd6d5c263ef38915cb9b852e77bcff08d515e76de8d929c9eacd02ffeaa5dd5f6b337461d54a1b2648b1fc505c98fa
3DIST nix-2.0.4.tar.xz 798352 BLAKE2B 0eaf7e507c87e5398ab5967e1f2064a5827038bb84208768aa1c1deadc95e44aab922846b728467e3355d1f25e740590c3d1748ec05dfeae6a171952fd941b77 SHA512 bce3b3a14269d42648a4935770260c36dab25fde3ebcfed730063d1d139603468e1c30acf15eb0cffff617fa36a6b39d4ae31ccfd9cba762f631ecac213fd09a
4DIST nix-2.1.3.tar.xz 816396 BLAKE2B 9627626075841e7f389f5010418fe17569ae69ea07de5ff9a0557df864052cc8b48f2a4dbfe16dffc5dca3fb180f527199f367810899ae9474d00e8fcc00b760 SHA512 d22718d23d8960dac7d07739835caa8183f573b303d77613e77314d873c1fe6da1cb0ed78337fe3219a94675307b23132a62ae7d9aa5354707e58400f403524b
diff --git a/sys-apps/nix/files/nix-1.11.6-respect-CXXFLAGS.patch b/sys-apps/nix/files/nix-1.11.6-respect-CXXFLAGS.patch
deleted file mode 100644
index 091fdca..0000000
--- a/sys-apps/nix/files/nix-1.11.6-respect-CXXFLAGS.patch
+++ /dev/null
@@ -1,9 +0,0 @@
1diff --git a/configure.ac b/configure.ac
2index 3a24053..1b99702 100644
3--- a/configure.ac
4+++ b/configure.ac
5@@ -57,4 +57,2 @@ fi
6
7-CFLAGS=
8-CXXFLAGS=
9 AC_PROG_CC
diff --git a/sys-apps/nix/files/nix-1.11.6-respect-LDFLAGS.patch b/sys-apps/nix/files/nix-1.11.6-respect-LDFLAGS.patch
deleted file mode 100644
index 12c094e..0000000
--- a/sys-apps/nix/files/nix-1.11.6-respect-LDFLAGS.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1diff --git a/Makefile.config.in b/Makefile.config.in
2index f0de4da..c82fbfd 100644
3--- a/Makefile.config.in
4+++ b/Makefile.config.in
5@@ -5,2 +5,3 @@ CXX = @CXX@
6 CXXFLAGS = @CXXFLAGS@
7+LDFLAGS = @LDFLAGS@
8 HAVE_SODIUM = @HAVE_SODIUM@
9diff --git a/mk/libraries.mk b/mk/libraries.mk
10index 3cd7a53..f7bd015 100644
11--- a/mk/libraries.mk
12+++ b/mk/libraries.mk
13@@ -88,3 +88,3 @@ define build-library
14 $$($(1)_PATH): $$($(1)_OBJS) $$(_libs) | $$(_d)/
15- $$(trace-ld) $(CXX) -o $$(abspath $$@) -shared $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$($(1)_LDFLAGS_PROPAGATED) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE)) $$($(1)_LDFLAGS_UNINSTALLED)
16+ $$(trace-ld) $(CXX) -o $$(abspath $$@) -shared $$(LDFLAGS) $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$($(1)_LDFLAGS_PROPAGATED) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE)) $$($(1)_LDFLAGS_UNINSTALLED)
17
18@@ -102,3 +102,3 @@ define build-library
19 $$($(1)_INSTALL_PATH): $$($(1)_OBJS) $$(_libs_final) | $(DESTDIR)$$($(1)_INSTALL_DIR)/
20- $$(trace-ld) $(CXX) -o $$@ -shared $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$($(1)_LDFLAGS_PROPAGATED) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE_INSTALLED))
21+ $$(trace-ld) $(CXX) -o $$@ -shared $$(LDFLAGS) $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$($(1)_LDFLAGS_PROPAGATED) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE_INSTALLED))
22
23diff --git a/mk/programs.mk b/mk/programs.mk
24index 3ac6449..f553ce2 100644
25--- a/mk/programs.mk
26+++ b/mk/programs.mk
27@@ -34,3 +34,3 @@ define build-program
28 $$($(1)_PATH): $$($(1)_OBJS) $$(_libs) | $$(_d)/
29- $$(trace-ld) $(CXX) -o $$@ $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE))
30+ $$(trace-ld) $(CXX) -o $$@ $$(LDFLAGS) $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE))
31
32@@ -48,3 +48,3 @@ define build-program
33 $(DESTDIR)$$($(1)_INSTALL_PATH): $$($(1)_OBJS) $$(_libs_final) | $(DESTDIR)$$($(1)_INSTALL_DIR)/
34- $$(trace-ld) $(CXX) -o $$@ $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE_INSTALLED))
35+ $$(trace-ld) $(CXX) -o $$@ $$(LDFLAGS) $$(GLOBAL_LDFLAGS) $$($(1)_OBJS) $$($(1)_LDFLAGS) $$(foreach lib, $$($(1)_LIBS), $$($$(lib)_LDFLAGS_USE_INSTALLED))
36
diff --git a/sys-apps/nix/files/nix-1.11.6-systemd.patch b/sys-apps/nix/files/nix-1.11.6-systemd.patch
deleted file mode 100644
index 5a77d7c..0000000
--- a/sys-apps/nix/files/nix-1.11.6-systemd.patch
+++ /dev/null
@@ -1,10 +0,0 @@
1Make 'nix-daemon' a good unit for 'systemctl enable nix-daemon.service'.
2diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
3index 5fc04a3..2565520 100644
4--- a/misc/systemd/nix-daemon.service.in
5+++ b/misc/systemd/nix-daemon.service.in
6@@ -9 +9,4 @@ ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
7 KillMode=process
8+
9+[Install]
10+WantedBy=multi-user.target
diff --git a/sys-apps/nix/files/nix-2.0-user-path.patch b/sys-apps/nix/files/nix-2.0-user-path.patch
deleted file mode 100644
index 486a05b..0000000
--- a/sys-apps/nix/files/nix-2.0-user-path.patch
+++ /dev/null
@@ -1,10 +0,0 @@
1On gentoo 'id' is /usr/bin/id while @coreutils@ is /bin.
2diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in
3index a5f5227..1dc5379 100644
4--- a/scripts/nix-profile.sh.in
5+++ b/scripts/nix-profile.sh.in
6@@ -2,3 +2,3 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
7 __savedpath="$PATH"
8- export PATH=@coreutils@
9+ export PATH=@coreutils@:@prefix@/bin:@prefix@/../bin
10
diff --git a/sys-apps/nix/files/nix-daemon.initd b/sys-apps/nix/files/nix-daemon.initd
deleted file mode 100644
index 1fd4273..0000000
--- a/sys-apps/nix/files/nix-daemon.initd
+++ /dev/null
@@ -1,15 +0,0 @@
1#!/sbin/openrc-run
2# Copyright 1999-2017 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4
5start() {
6 ebegin "Starting ${SVCNAME}"
7 start-stop-daemon --start --quiet --background --exec /usr/bin/nix-daemon
8 eend ${?}
9}
10
11stop() {
12 ebegin "Stopping ${SVCNAME}"
13 start-stop-daemon --stop --quiet --exec /usr/bin/nix-daemon
14 eend ${?}
15}
diff --git a/sys-apps/nix/metadata.xml b/sys-apps/nix/metadata.xml
deleted file mode 100644
index ad64c7e..0000000
--- a/sys-apps/nix/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3<pkgmetadata>
4 <maintainer type="person">
5 <email>slyfox@gentoo.org</email>
6 <name>Sergei Trofimovich</name>
7 </maintainer>
8 <use>
9 <flag name="etc_profile">Install /etc/profile.d/ entry to inject nix support for all users.</flag>
10 <flag name="gc">Enable garbage collection in the Nix expression evaluator (use <pkg>dev-libs/boehm-gc</pkg>).</flag>
11 <flag name="sodium">Use <pkg>dev-libs/libsodium</pkg> for cryptography</flag>
12 </use>
13</pkgmetadata>
diff --git a/sys-apps/nix/nix-1.11.2.ebuild b/sys-apps/nix/nix-1.11.2.ebuild
deleted file mode 100644
index f7d45fb..0000000
--- a/sys-apps/nix/nix-1.11.2.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
1# Copyright 1999-2016 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=5
5
6inherit user
7
8# Thanks to ng0 for writing this initial ebuild stub.
9#
10# The main reason to want to install Nix on Gentoo is to have a
11# source of trustworthy reproducible binaries so we don't have
12# to build every binary ourselves in order to be able to trust
13# our system. Ideal to avoid having to compile torbrowser, which
14# is supposed to be reproducible.
15#
16# Well, here's some bad news: Nix apparently makes a distinction
17# between "reproducible" and "deterministic" according to the only
18# wiki page that mentions the terms:
19#
20# https://nixos.org/wiki/GSOC_2015_ideas_list
21#
22# So far we have not found out which packages from the NixOS store
23# are trustworthy, let alone how to get a cryptographic proof.
24#
25# --symlynX 2016
26#
27# See also:
28# https://github.com/NixOS/nixpkgs/labels/6.topic:%20reproducible%20builds
29
30DESCRIPTION="The Nix functional package manager from NixOS.org"
31HOMEPAGE="https://nixos.org"
32
33SRC_URI="https://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
34LICENSE="LGPL-2.1"
35SLOT="0"
36KEYWORDS="~amd64"
37IUSE="etc_profile +gc doc ssl libressl"
38
39COMMON_DEPENDS="
40app-arch/bzip2
41dev-db/sqlite
42ssl? (
43 !libressl? ( dev-libs/openssl:0= )
44 libressl? ( dev-libs/libressl:0= )
45)
46gc? ( dev-libs/boehm-gc )
47doc? ( dev-libs/libxml2
48 dev-libs/libxslt
49 app-text/docbook-xsl-stylesheets
50 )
51dev-lang/perl
52sys-libs/zlib"
53
54DEPEND="${COMMON_DEPENDS}
55>=sys-devel/bison-2.6
56>=sys-devel/flex-2.6.1
57virtual/perl-ExtUtils-ParseXS"
58
59RDEPEND="${COMMON_DEPENDS}
60dev-perl/DBD-SQLite
61dev-perl/WWW-Curl
62dev-perl/DBI
63net-misc/curl"
64
65src_configure() {
66 econf $(use_enable gc)
67}
68
69src_install() {
70 default
71# if ! use etc_profile; then
72# rm "${ED}"/etc/profile.d/nix.sh || die
73# fi
74}
75
76pkg_setup() {
77 enewgroup nixbld
78 g=0
79 for i in `seq -w 0 9`;
80 do
81 enewuser nixbld$i -1 -1 /var/empty nixbld;
82 if [ $g == 0 ]; then
83 g="nixbld$i"
84 else
85 g="$g,nixbld$i"
86 fi
87 done
88 # For some strange reason all of the generated
89 # user ids need to be listed in /etc/group even though
90 # they were created with the correct group. This is a
91 # command that patches the /etc/group file accordingly,
92 # but it expects perl to be installed. If you don't have
93 # perl installed, you have to do this manually. Adding a
94 # dependency for this is inappropriate.
95 perl -pi~ -e 's/^(nixbld:\w+:\d+):$/\1:'$g'/' /etc/group
96}
97
98pkg_postinst() {
99 einfo "Warning, this is a test package, thanks for participating"
100 einfo "in trying to get a functional Nix package manager into"
101 einfo "Gentoo."
102 einfo ""
103 einfo "!!! It is required (read: mandatory) to read the"
104 einfo "!!! documentation for further understanding."
105 einfo "!!! Failing to read the documentation will break your"
106 einfo "!!! installed nix. This is not a package which is"
107 einfo "!!! supposed to be upgraded or maintained through Gentoo,"
108 einfo "!!! this package was just an entry point."
109
110# if ! use etc_profile; then
111# ewarn "${EROOT}etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
112# ewarn "Please fix the ebuild by adding nix user/group handling."
113# fi
114 . /etc/profile.d/nix.sh
115 # FIXME:
116 ewarn "Now you should 'nix-channel --update' but it will fail because"
117 ewarn "nix-channel requires the names of the nixbld* users listed in /etc/group!?"
118 # nix-channel --update
119}
120
121# FIXME:
122# openrc script needed for launching the nix-daemon
diff --git a/sys-apps/nix/nix-2.0.2.ebuild b/sys-apps/nix/nix-2.0.2.ebuild
deleted file mode 100644
index bea6bd1..0000000
--- a/sys-apps/nix/nix-2.0.2.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
1# Copyright 1999-2018 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=6
5
6inherit autotools flag-o-matic readme.gentoo-r1 user
7
8DESCRIPTION="A purely functional package manager"
9HOMEPAGE="https://nixos.org/nix"
10
11SRC_URI="http://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
12LICENSE="LGPL-2.1"
13SLOT="0"
14KEYWORDS="~amd64 ~x86"
15IUSE="+etc_profile +gc doc sodium"
16
17RDEPEND="
18 app-arch/brotli
19 app-arch/bzip2
20 app-arch/xz-utils
21 dev-db/sqlite
22 dev-libs/openssl:0=
23 net-misc/curl
24 sys-libs/libseccomp
25 sys-libs/zlib
26 gc? ( dev-libs/boehm-gc[cxx] )
27 doc? ( dev-libs/libxml2
28 dev-libs/libxslt
29 app-text/docbook-xsl-stylesheets
30 )
31 sodium? ( dev-libs/libsodium:0= )
32"
33DEPEND="${RDEPEND}
34 >=sys-devel/bison-2.6
35 >=sys-devel/flex-2.5.35
36"
37
38PATCHES=(
39 "${FILESDIR}"/${PN}-1.11.6-systemd.patch
40 "${FILESDIR}"/${PN}-1.11.6-respect-CXXFLAGS.patch
41 "${FILESDIR}"/${PN}-1.11.6-respect-LDFLAGS.patch
42 "${FILESDIR}"/${PN}-2.0-user-path.patch
43)
44
45DISABLE_AUTOFORMATTING=yes
46DOC_CONTENTS=" Quick start user guide on Gentoo:
47
48[as root] enable nix-daemon service:
49 [systemd] # systemctl enable nix-daemon
50 [openrc] # rc-update add nix-daemon
51[as a user] relogin to get environment and profile update
52[as a user] fetch nixpkgs update:
53 \$ nix-channel --update
54[as a user] install nix packages:
55 \$ nix-env -i mc
56[as a user] configure environment:
57 Somewhere in .bash_profile you might want to set
58 LOCALE_ARCHIVE=\$HOME/.nix-profile/lib/locale/locale-archive
59 but please read https://github.com/NixOS/nixpkgs/issues/21820
60
61Next steps:
62 nix package manager user manual: http://nixos.org/nix/manual/
63"
64
65pkg_setup() {
66 enewgroup nixbld
67 for i in {1..10}; do
68 # we list 'nixbld' twice to
69 # both assign a primary group for user
70 # and add a user to /etc/group
71 enewuser nixbld${i} -1 -1 /var/empty nixbld,nixbld
72 done
73}
74
75src_prepare() {
76 default
77
78 eautoreconf
79}
80
81src_configure() {
82 econf \
83 --localstatedir="${EPREFIX}"/nix/var \
84 $(use_enable gc)
85}
86
87src_compile() {
88 local make_vars=(
89 OPTIMIZE=0 # disable hardcoded -O3
90 V=1 # verbose build
91 )
92 emake "${make_vars[@]}"
93}
94
95src_install() {
96 # TODO: emacs highlighter
97 default
98
99 readme.gentoo_create_doc
100
101 # here we use an eager variant of something that
102 # is lazily done by nix-daemon and root nix-env
103
104 # TODO: will need a tweak for prefix
105 keepdir /nix/store
106 fowners root:nixbld /nix/store
107 fperms 1775 /nix/store
108
109 keepdir /nix/var/nix/channel-cache
110 fperms 0777 /nix/var/nix/channel-cache
111
112 keepdir /nix/var/nix/profiles/per-user
113 fperms 1777 /nix/var/nix/profiles/per-user
114
115 # setup directories nix-daemon: /etc/profile.d/nix-daemon.sh
116 keepdir /nix/var/nix/gcroots/per-user
117 fperms 1777 /nix/var/nix/gcroots/per-user
118
119 newinitd "${FILESDIR}"/nix-daemon.initd nix-daemon
120
121 if ! use etc_profile; then
122 rm "${ED}"/etc/profile.d/nix.sh || die
123 rm "${ED}"/etc/profile.d/nix-daemon.sh || die
124 fi
125}
126
127pkg_postinst() {
128 if ! use etc_profile; then
129 ewarn "${EROOT}etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
130 fi
131
132 readme.gentoo_print_elog
133}
diff --git a/sys-apps/nix/nix-2.0.4.ebuild b/sys-apps/nix/nix-2.0.4.ebuild
deleted file mode 100644
index bea6bd1..0000000
--- a/sys-apps/nix/nix-2.0.4.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
1# Copyright 1999-2018 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=6
5
6inherit autotools flag-o-matic readme.gentoo-r1 user
7
8DESCRIPTION="A purely functional package manager"
9HOMEPAGE="https://nixos.org/nix"
10
11SRC_URI="http://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
12LICENSE="LGPL-2.1"
13SLOT="0"
14KEYWORDS="~amd64 ~x86"
15IUSE="+etc_profile +gc doc sodium"
16
17RDEPEND="
18 app-arch/brotli
19 app-arch/bzip2
20 app-arch/xz-utils
21 dev-db/sqlite
22 dev-libs/openssl:0=
23 net-misc/curl
24 sys-libs/libseccomp
25 sys-libs/zlib
26 gc? ( dev-libs/boehm-gc[cxx] )
27 doc? ( dev-libs/libxml2
28 dev-libs/libxslt
29 app-text/docbook-xsl-stylesheets
30 )
31 sodium? ( dev-libs/libsodium:0= )
32"
33DEPEND="${RDEPEND}
34 >=sys-devel/bison-2.6
35 >=sys-devel/flex-2.5.35
36"
37
38PATCHES=(
39 "${FILESDIR}"/${PN}-1.11.6-systemd.patch
40 "${FILESDIR}"/${PN}-1.11.6-respect-CXXFLAGS.patch
41 "${FILESDIR}"/${PN}-1.11.6-respect-LDFLAGS.patch
42 "${FILESDIR}"/${PN}-2.0-user-path.patch
43)
44
45DISABLE_AUTOFORMATTING=yes
46DOC_CONTENTS=" Quick start user guide on Gentoo:
47
48[as root] enable nix-daemon service:
49 [systemd] # systemctl enable nix-daemon
50 [openrc] # rc-update add nix-daemon
51[as a user] relogin to get environment and profile update
52[as a user] fetch nixpkgs update:
53 \$ nix-channel --update
54[as a user] install nix packages:
55 \$ nix-env -i mc
56[as a user] configure environment:
57 Somewhere in .bash_profile you might want to set
58 LOCALE_ARCHIVE=\$HOME/.nix-profile/lib/locale/locale-archive
59 but please read https://github.com/NixOS/nixpkgs/issues/21820
60
61Next steps:
62 nix package manager user manual: http://nixos.org/nix/manual/
63"
64
65pkg_setup() {
66 enewgroup nixbld
67 for i in {1..10}; do
68 # we list 'nixbld' twice to
69 # both assign a primary group for user
70 # and add a user to /etc/group
71 enewuser nixbld${i} -1 -1 /var/empty nixbld,nixbld
72 done
73}
74
75src_prepare() {
76 default
77
78 eautoreconf
79}
80
81src_configure() {
82 econf \
83 --localstatedir="${EPREFIX}"/nix/var \
84 $(use_enable gc)
85}
86
87src_compile() {
88 local make_vars=(
89 OPTIMIZE=0 # disable hardcoded -O3
90 V=1 # verbose build
91 )
92 emake "${make_vars[@]}"
93}
94
95src_install() {
96 # TODO: emacs highlighter
97 default
98
99 readme.gentoo_create_doc
100
101 # here we use an eager variant of something that
102 # is lazily done by nix-daemon and root nix-env
103
104 # TODO: will need a tweak for prefix
105 keepdir /nix/store
106 fowners root:nixbld /nix/store
107 fperms 1775 /nix/store
108
109 keepdir /nix/var/nix/channel-cache
110 fperms 0777 /nix/var/nix/channel-cache
111
112 keepdir /nix/var/nix/profiles/per-user
113 fperms 1777 /nix/var/nix/profiles/per-user
114
115 # setup directories nix-daemon: /etc/profile.d/nix-daemon.sh
116 keepdir /nix/var/nix/gcroots/per-user
117 fperms 1777 /nix/var/nix/gcroots/per-user
118
119 newinitd "${FILESDIR}"/nix-daemon.initd nix-daemon
120
121 if ! use etc_profile; then
122 rm "${ED}"/etc/profile.d/nix.sh || die
123 rm "${ED}"/etc/profile.d/nix-daemon.sh || die
124 fi
125}
126
127pkg_postinst() {
128 if ! use etc_profile; then
129 ewarn "${EROOT}etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
130 fi
131
132 readme.gentoo_print_elog
133}
diff --git a/sys-apps/nix/nix-2.1.3-r1.ebuild b/sys-apps/nix/nix-2.1.3-r1.ebuild
deleted file mode 100644
index 70ccfb9..0000000
--- a/sys-apps/nix/nix-2.1.3-r1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
1# Copyright 1999-2018 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=7
5
6inherit autotools flag-o-matic readme.gentoo-r1 user
7
8DESCRIPTION="A purely functional package manager"
9HOMEPAGE="https://nixos.org/nix"
10
11SRC_URI="http://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
12LICENSE="LGPL-2.1"
13SLOT="0"
14#keywords are blocked by boost-1.66
15#KEYWORDS="~amd64 ~x86"
16IUSE="+etc_profile +gc doc sodium ssl libressl"
17
18RDEPEND="
19 app-arch/brotli
20 app-arch/bzip2
21 app-arch/xz-utils
22 dev-db/sqlite
23 ssl? (
24 !libressl? ( dev-libs/openssl:0= )
25 libressl? ( dev-libs/libressl:0= )
26 )
27 >=dev-libs/boost-1.66:0=[context]
28 net-misc/curl
29 sys-libs/libseccomp
30 sys-libs/zlib
31 gc? ( dev-libs/boehm-gc[cxx] )
32 doc? ( dev-libs/libxml2
33 dev-libs/libxslt
34 app-text/docbook-xsl-stylesheets
35 )
36 sodium? ( dev-libs/libsodium:0= )
37"
38DEPEND="${RDEPEND}
39 >=sys-devel/bison-2.6
40 >=sys-devel/flex-2.5.35
41"
42
43PATCHES=(
44 "${FILESDIR}"/${PN}-1.11.6-systemd.patch
45 "${FILESDIR}"/${PN}-1.11.6-respect-CXXFLAGS.patch
46 "${FILESDIR}"/${PN}-1.11.6-respect-LDFLAGS.patch
47 "${FILESDIR}"/${PN}-2.0-user-path.patch
48)
49
50DISABLE_AUTOFORMATTING=yes
51DOC_CONTENTS=" Quick start user guide on Gentoo:
52
53[as root] enable nix-daemon service:
54 [systemd] # systemctl enable nix-daemon
55 [openrc] # rc-update add nix-daemon
56[as a user] relogin to get environment and profile update
57[as a user] fetch nixpkgs update:
58 \$ nix-channel --update
59[as a user] install nix packages:
60 \$ nix-env -i mc
61[as a user] configure environment:
62 Somewhere in .bash_profile you might want to set
63 LOCALE_ARCHIVE=\$HOME/.nix-profile/lib/locale/locale-archive
64 but please read https://github.com/NixOS/nixpkgs/issues/21820
65
66Next steps:
67 nix package manager user manual: http://nixos.org/nix/manual/
68"
69
70pkg_setup() {
71 enewgroup nixbld
72 for i in {1..10}; do
73 # we list 'nixbld' twice to
74 # both assign a primary group for user
75 # and add a user to /etc/group
76 enewuser nixbld${i} -1 -1 /var/empty nixbld,nixbld
77 done
78}
79
80src_prepare() {
81 default
82
83 eautoreconf
84}
85
86src_configure() {
87 econf \
88 --localstatedir="${EPREFIX}"/nix/var \
89 $(use_enable gc)
90}
91
92src_compile() {
93 local make_vars=(
94 OPTIMIZE=0 # disable hardcoded -O3
95 V=1 # verbose build
96 )
97 emake "${make_vars[@]}"
98}
99
100src_install() {
101 # TODO: emacs highlighter
102 default
103
104 readme.gentoo_create_doc
105
106 # here we use an eager variant of something that
107 # is lazily done by nix-daemon and root nix-env
108
109 # TODO: will need a tweak for prefix
110 keepdir /nix/store
111 fowners root:nixbld /nix/store
112 fperms 1775 /nix/store
113
114 keepdir /nix/var/nix/channel-cache
115 fperms 0777 /nix/var/nix/channel-cache
116
117 keepdir /nix/var/nix/profiles/per-user
118 fperms 1777 /nix/var/nix/profiles/per-user
119
120 # setup directories nix-daemon: /etc/profile.d/nix-daemon.sh
121 keepdir /nix/var/nix/gcroots/per-user
122 fperms 1777 /nix/var/nix/gcroots/per-user
123
124 newinitd "${FILESDIR}"/nix-daemon.initd nix-daemon
125
126 if ! use etc_profile; then
127 rm "${ED}"/etc/profile.d/nix.sh || die
128 rm "${ED}"/etc/profile.d/nix-daemon.sh || die
129 fi
130}
131
132pkg_postinst() {
133 if ! use etc_profile; then
134 ewarn "${EROOT}etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
135 fi
136
137 readme.gentoo_print_elog
138}
diff --git a/sys-apps/nix/nix-2.1.3.ebuild b/sys-apps/nix/nix-2.1.3.ebuild
deleted file mode 100644
index a104f3b..0000000
--- a/sys-apps/nix/nix-2.1.3.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
1# Copyright 1999-2018 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=7
5
6inherit autotools flag-o-matic readme.gentoo-r1 user
7
8DESCRIPTION="A purely functional package manager"
9HOMEPAGE="https://nixos.org/nix"
10
11SRC_URI="http://nixos.org/releases/${PN}/${P}/${P}.tar.xz"
12LICENSE="LGPL-2.1"
13SLOT="0"
14#keywords are blocked by boost-1.66
15#KEYWORDS="~amd64 ~x86"
16IUSE="+etc_profile +gc doc sodium"
17
18RDEPEND="
19 app-arch/brotli
20 app-arch/bzip2
21 app-arch/xz-utils
22 dev-db/sqlite
23 dev-libs/openssl:0=
24 >=dev-libs/boost-1.66:0=[context]
25 net-misc/curl
26 sys-libs/libseccomp
27 sys-libs/zlib
28 gc? ( dev-libs/boehm-gc[cxx] )
29 doc? ( dev-libs/libxml2
30 dev-libs/libxslt
31 app-text/docbook-xsl-stylesheets
32 )
33 sodium? ( dev-libs/libsodium:0= )
34"
35DEPEND="${RDEPEND}
36 >=sys-devel/bison-2.6
37 >=sys-devel/flex-2.5.35
38"
39
40PATCHES=(
41 "${FILESDIR}"/${PN}-1.11.6-systemd.patch
42 "${FILESDIR}"/${PN}-1.11.6-respect-CXXFLAGS.patch
43 "${FILESDIR}"/${PN}-1.11.6-respect-LDFLAGS.patch
44 "${FILESDIR}"/${PN}-2.0-user-path.patch
45)
46
47DISABLE_AUTOFORMATTING=yes
48DOC_CONTENTS=" Quick start user guide on Gentoo:
49
50[as root] enable nix-daemon service:
51 [systemd] # systemctl enable nix-daemon
52 [openrc] # rc-update add nix-daemon
53[as a user] relogin to get environment and profile update
54[as a user] fetch nixpkgs update:
55 \$ nix-channel --update
56[as a user] install nix packages:
57 \$ nix-env -i mc
58[as a user] configure environment:
59 Somewhere in .bash_profile you might want to set
60 LOCALE_ARCHIVE=\$HOME/.nix-profile/lib/locale/locale-archive
61 but please read https://github.com/NixOS/nixpkgs/issues/21820
62
63Next steps:
64 nix package manager user manual: http://nixos.org/nix/manual/
65"
66
67pkg_setup() {
68 enewgroup nixbld
69 for i in {1..10}; do
70 # we list 'nixbld' twice to
71 # both assign a primary group for user
72 # and add a user to /etc/group
73 enewuser nixbld${i} -1 -1 /var/empty nixbld,nixbld
74 done
75}
76
77src_prepare() {
78 default
79
80 eautoreconf
81}
82
83src_configure() {
84 econf \
85 --localstatedir="${EPREFIX}"/nix/var \
86 $(use_enable gc)
87}
88
89src_compile() {
90 local make_vars=(
91 OPTIMIZE=0 # disable hardcoded -O3
92 V=1 # verbose build
93 )
94 emake "${make_vars[@]}"
95}
96
97src_install() {
98 # TODO: emacs highlighter
99 default
100
101 readme.gentoo_create_doc
102
103 # here we use an eager variant of something that
104 # is lazily done by nix-daemon and root nix-env
105
106 # TODO: will need a tweak for prefix
107 keepdir /nix/store
108 fowners root:nixbld /nix/store
109 fperms 1775 /nix/store
110
111 keepdir /nix/var/nix/channel-cache
112 fperms 0777 /nix/var/nix/channel-cache
113
114 keepdir /nix/var/nix/profiles/per-user
115 fperms 1777 /nix/var/nix/profiles/per-user
116
117 # setup directories nix-daemon: /etc/profile.d/nix-daemon.sh
118 keepdir /nix/var/nix/gcroots/per-user
119 fperms 1777 /nix/var/nix/gcroots/per-user
120
121 newinitd "${FILESDIR}"/nix-daemon.initd nix-daemon
122
123 if ! use etc_profile; then
124 rm "${ED}"/etc/profile.d/nix.sh || die
125 rm "${ED}"/etc/profile.d/nix-daemon.sh || die
126 fi
127}
128
129pkg_postinst() {
130 if ! use etc_profile; then
131 ewarn "${EROOT}etc/profile.d/nix.sh was removed (due to USE=-etc_profile)."
132 fi
133
134 readme.gentoo_print_elog
135}
diff --git a/www-servers/hiawatha/ChangeLog b/www-servers/hiawatha/ChangeLog
deleted file mode 100644
index d146027..0000000
--- a/www-servers/hiawatha/ChangeLog
+++ /dev/null
@@ -1,101 +0,0 @@
1# ChangeLog for www-servers/hiawatha
2# Copyright 1999-2016 Gentoo Authors; Distributed under the GPL v2
3# (auto-generated from git log)
4
5*hiawatha-9.8 (09 Aug 2015)
6
7 09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
8 +files/hiawatha-9.5-cflags.patch, +files/hiawatha.initd,
9 +files/hiawatha.service, +hiawatha-9.8.ebuild, +metadata.xml:
10 proj/gentoo: Initial commit
11
12 This commit represents a new era for Gentoo:
13 Storing the gentoo-x86 tree in Git, as converted from CVS.
14
15 This commit is the start of the NEW history.
16 Any historical data is intended to be grafted onto this point.
17
18 Creation process:
19 1. Take final CVS checkout snapshot
20 2. Remove ALL ChangeLog* files
21 3. Transform all Manifests to thin
22 4. Remove empty Manifests
23 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
24 5.1. Do not touch files with -kb/-ko keyword flags.
25
26 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
27 X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
28 tests
29 X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
30 project
31 X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
32 developer, wrote Git features for the migration
33 X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
34 cvs2svn
35 X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
36 X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
37 work in migration
38 X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
39 X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
40 the bikeshed
41
42*hiawatha-9.14 (14 Aug 2015)
43
44 14 Aug 2015; Julian Ospald <hasufell@gentoo.org> +hiawatha-9.14.ebuild:
45 version bump to 9.14
46
47 Gentoo-Bug: 545550
48
49*hiawatha-9.14-r1 (14 Aug 2015)
50
51 14 Aug 2015; Julian Ospald <hasufell@gentoo.org>
52 +files/hiawatha-9.14-system-mbedtls.patch, +hiawatha-9.14-r1.ebuild:
53 revbump to use system net-libs/mbedtls
54
55 24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
56 Use https by default
57
58 Convert all URLs for sites supporting encrypted connections from http to
59 https
60
61 Signed-off-by: Justin Lecher <jlec@gentoo.org>
62
63 24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
64 Revert DOCTYPE SYSTEM https changes in metadata.xml
65
66 repoman does not yet accept the https version.
67 This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
68
69 Bug: https://bugs.gentoo.org/552720
70
71 28 Oct 2015; Julian Ospald <hasufell@gentoo.org> metadata.xml:
72 add myself as maintainer
73
74*hiawatha-9.15 (28 Oct 2015)
75
76 28 Oct 2015; Julian Ospald <hasufell@gentoo.org> +files/hiawatha.initd-r1,
77 +hiawatha-9.15.ebuild, metadata.xml:
78 version bump to 9.15
79
80 Fixes: 558532
81
82 24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
83 Unify quoting in metadata.xml files for machine processing
84
85 Force unified quoting in all metadata.xml files since lxml does not
86 preserve original use of single and double quotes. Ensuring unified
87 quoting before the process allows distinguishing the GLEP 67-related
88 metadata.xml changes from unrelated quoting changes.
89
90 24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
91 Set appropriate maintainer types in metadata.xml (GLEP 67)
92
93 18 May 2016; Austin English <wizardedit@gentoo.org> files/hiawatha.initd,
94 files/hiawatha.initd-r1:
95 use #!/sbin/openrc-run instead of #!/sbin/runscript
96
97 22 May 2016; Pacho Ramos <pacho@gentoo.org> metadata.xml:
98 Cleanup due to #408423
99
100 Package-Manager: portage-2.3.0_rc1
101
diff --git a/www-servers/hiawatha/ChangeLog-2015 b/www-servers/hiawatha/ChangeLog-2015
deleted file mode 100644
index cabcaa0..0000000
--- a/www-servers/hiawatha/ChangeLog-2015
+++ /dev/null
@@ -1,55 +0,0 @@
1# ChangeLog for www-servers/hiawatha
2# Copyright 1999-2014 Gentoo Authors; Distributed under the GPL v2
3# $Header: /var/cvsroot/gentoo-x86/www-servers/hiawatha/ChangeLog,v 1.12 2014/12/25 16:57:36 kensington Exp $
4
5 25 Dec 2014; Michael Palimaka <kensington@gentoo.org> metadata.xml:
6 Remove unused USE flag description.
7
8 25 Dec 2014; Michael Palimaka <kensington@gentoo.org> -hiawatha-9.5.ebuild,
9 -hiawatha-9.6-r1.ebuild, -hiawatha-9.6.ebuild, -hiawatha-9.7.ebuild:
10 Remove old.
11
12 25 Nov 2014; Julian Ospald <hasufell@gentoo.org> metadata.xml:
13 drop maintainership
14
15*hiawatha-9.8 (10 Oct 2014)
16
17 10 Oct 2014; Julian Ospald <hasufell@gentoo.org> +hiawatha-9.8.ebuild:
18 version bump
19
20*hiawatha-9.7 (20 Aug 2014)
21
22 20 Aug 2014; Julian Ospald <hasufell@gentoo.org> +hiawatha-9.7.ebuild:
23 version bump
24
25 12 Jul 2014; Julian Ospald <hasufell@gentoo.org> hiawatha-9.6.ebuild,
26 hiawatha-9.6-r1.ebuild:
27 rm wrong build type
28
29 11 Jul 2014; Julian Ospald <hasufell@gentoo.org> hiawatha-9.5.ebuild,
30 hiawatha-9.6.ebuild, hiawatha-9.6-r1.ebuild:
31 fix polarssl dep wrt #516832
32
33*hiawatha-9.6-r1 (01 Jul 2014)
34
35 01 Jul 2014; Pacho Ramos <pacho@gentoo.org> +files/hiawatha.service,
36 +hiawatha-9.6-r1.ebuild:
37 Add unit file (#515568 by Tim Mohlmann)
38
39*hiawatha-9.6 (21 Jun 2014)
40
41 21 Jun 2014; Julian Ospald <hasufell@gentoo.org> +hiawatha-9.6.ebuild:
42 version bump
43
44 23 May 2014; Julian Ospald <hasufell@gentoo.org>
45 +files/hiawatha-9.5-cflags.patch, hiawatha-9.5.ebuild:
46 respect CFLAGS
47
48 22 May 2014; Julian Ospald <hasufell@gentoo.org> hiawatha-9.5.ebuild:
49 add ~x86 keyword
50
51*hiawatha-9.5 (22 May 2014)
52
53 22 May 2014; Julian Ospald <hasufell@gentoo.org> +hiawatha-9.5.ebuild,
54 +files/hiawatha.initd, +metadata.xml:
55 initial import wrt #65259
diff --git a/www-servers/hiawatha/Manifest b/www-servers/hiawatha/Manifest
deleted file mode 100644
index ffa0054..0000000
--- a/www-servers/hiawatha/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
1DIST hiawatha-10.3.tar.gz 897607 SHA256 99d185fb16bb1ab706724494d3cac86464f1485ed4b0fff09a192eca6da5ff8e SHA512 628b8042f732c02eb86d98798078c93cafeadaee1adaebed41a2e40b3c8efb8a1f281403125568d207d8326354dbbb651f6894a69f44142ced5f407d576c725b WHIRLPOOL 3d2e699c008ed6180eae816bc11772bb198bbb4f7d1f888a1af6c6896cd6f0068ef5f548e4dfa40ff0f8452ab48826619f2a7575093dbb150cba248336683567
2DIST hiawatha-9.14.tar.gz 891930 SHA256 79c92587cd86a0461d952c99036f5615dacdcaccabe0a9a29359e6044d809bfa SHA512 66ad77c132d34daa5eb597ce67d7b26581c59534e5cf83dd65f78567a9a1798030cd42fef2d612bd1935243db979a2ef1df873f01b0d0a009395ef3da1dca6e6 WHIRLPOOL 8dbeb2c33e9111a27b76f3e5e307872314e85c481a600c39a1e02e7f9e08e1cc0d64f79838dad92a4a5a555cb86334487dd247efb56f0ef9c15a7735da27ddae
3DIST hiawatha-9.15.tar.gz 869922 SHA256 e9252133a1114095d1a9a89144b88828ee3b9754f435bd88270f7bf444dd9421 SHA512 e5f0459475863c7cb2d15bdf2a9712f13c96ac450f349fd89e60fd600aad9010f25182aa6353a3014069a9798544a56ef79695918613946b63fecd3806b1982b WHIRLPOOL 80840072765430b05ecaf1ec631d3f1981c6f420edc18b4bcc7957f53f28ed2800170bbcec943c287da2968e6ac769514843fc54aa2a927d7d451057ed76d4d3
4DIST hiawatha-9.8.tar.gz 888977 SHA256 6fe9bd408361bc07b47fe6eeaf98d6b644e1cd258b3470da3e70aba510e83b64 SHA512 f55b6065e0dd1dab11ccbbb44e981944aab5b542077fc2b4a03ec8c055be80bedb7b639fe9c52ccf0fc279648b9f4bfc0cbfa018b195b155907810bdfc4ec51a WHIRLPOOL 342c19df23dbe4eef7056f2424d53badede5a8dcf8bb713e7d3892f21e1061ae5e1a0c985f1fc824b10f25eb9fcc9cf0cbf8d384240bf814df4f9dca45dd96f2
diff --git a/www-servers/hiawatha/files/hiawatha-9.14-system-mbedtls.patch b/www-servers/hiawatha/files/hiawatha-9.14-system-mbedtls.patch
deleted file mode 100644
index 05f3d09..0000000
--- a/www-servers/hiawatha/files/hiawatha-9.14-system-mbedtls.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Add missing libraries to linker.
2
3
4--- CMakeLists.txt
5+++ CMakeLists.txt
6@@ -114,7 +114,7 @@
7 #add_definitions(-DMBEDTLS_THREADING_PTHREAD -DMBEDTLS_THREADING_C)
8 add_subdirectory(mbedtls)
9 endif()
10- set(MBEDTLS_LIBRARY "mbedtls")
11+ set(MBEDTLS_LIBRARIES "mbedtls" "mbedx509" "mbedcrypto")
12 endif()
13
14 # Hiawatha
15@@ -144,8 +144,8 @@
16 target_link_libraries(wigwam ${CRYPT_LIBRARY})
17 target_link_libraries(hiawatha ${CRYPT_LIBRARY} pthread ${Z_LIBRARY})
18 if(ENABLE_TLS)
19- target_link_libraries(hiawatha ${MBEDTLS_LIBRARY})
20- target_link_libraries(wigwam ${MBEDTLS_LIBRARY})
21+ target_link_libraries(hiawatha ${MBEDTLS_LIBRARIES})
22+ target_link_libraries(wigwam ${MBEDTLS_LIBRARIES})
23 if(NOT USE_SYSTEM_MBEDTLS)
24 set_target_properties(hiawatha PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/hiawatha)
25 set_target_properties(wigwam PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/hiawatha)
diff --git a/www-servers/hiawatha/files/hiawatha-9.5-cflags.patch b/www-servers/hiawatha/files/hiawatha-9.5-cflags.patch
deleted file mode 100644
index 4ff33cd..0000000
--- a/www-servers/hiawatha/files/hiawatha-9.5-cflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1From: Julian Ospald <hasufell@gentoo.org>
2Date: Fri May 23 16:59:33 UTC 2014
3Subject: make optimization level build-type dependant
4
5--- hiawatha-9.5/CMakeLists.txt
6+++ hiawatha-9.5/CMakeLists.txt
7@@ -2,7 +2,9 @@
8 project(Hiawatha C)
9
10 # Compiler
11-set(CMAKE_C_FLAGS "-O2 -Wall -Wextra ${CMAKE_C_FLAGS}")
12+set(CMAKE_C_FLAGS "-Wall -Wextra ${CMAKE_C_FLAGS}")
13+set(CMAKE_C_FLAGS_RELEASE "-O2")
14+set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2")
15 set(CMAKE_BUILD_TYPE "RelWithDebInfo")
16
17 # Options
diff --git a/www-servers/hiawatha/files/hiawatha.initd b/www-servers/hiawatha/files/hiawatha.initd
deleted file mode 100644
index 86e36c6..0000000
--- a/www-servers/hiawatha/files/hiawatha.initd
+++ /dev/null
@@ -1,26 +0,0 @@
1#!/sbin/openrc-run
2# Copyright 1999-2014 Gentoo Authors
3# Distributed under the terms of the GNU General Public License v2
4# $Id$
5
6depend() {
7 need net
8}
9
10start() {
11 ebegin "Starting ${SVCNAME}"
12 start-stop-daemon \
13 --start \
14 --exec "/usr/sbin/hiawatha" \
15 --pidfile "/var/run/hiawatha.pid"
16 eend $?
17}
18
19stop() {
20 ebegin "Stopping ${SVCNAME}"
21 start-stop-daemon \
22 --stop \
23 --exec "/usr/sbin/hiawatha" \
24 --pidfile "/var/run/hiawatha.pid"
25 eend $?
26}
diff --git a/www-servers/hiawatha/files/hiawatha.initd-r1 b/www-servers/hiawatha/files/hiawatha.initd-r1
deleted file mode 100644
index b5d6a74..0000000
--- a/www-servers/hiawatha/files/hiawatha.initd-r1
+++ /dev/null
@@ -1,26 +0,0 @@
1#!/sbin/openrc-run
2# Copyright 1999-2015 Gentoo Authors
3# Distributed under the terms of the GNU General Public License v2
4# $Id$
5
6depend() {
7 need net
8}
9
10start() {
11 ebegin "Starting ${SVCNAME}"
12 start-stop-daemon \
13 --start \
14 --exec "/usr/sbin/hiawatha" \
15 --pidfile "@HIAWATHA_PID_DIR@/hiawatha.pid"
16 eend $?
17}
18
19stop() {
20 ebegin "Stopping ${SVCNAME}"
21 start-stop-daemon \
22 --stop \
23 --exec "/usr/sbin/hiawatha" \
24 --pidfile "@HIAWATHA_PID_DIR@/hiawatha.pid"
25 eend $?
26}
diff --git a/www-servers/hiawatha/files/hiawatha.service b/www-servers/hiawatha/files/hiawatha.service
deleted file mode 100644
index 35e740b..0000000
--- a/www-servers/hiawatha/files/hiawatha.service
+++ /dev/null
@@ -1,9 +0,0 @@
1[Unit]
2Description=Hiawatha webserver
3After=network.target
4
5[Service]
6ExecStart=/usr/sbin/hiawatha -d
7
8[Install]
9WantedBy=multi-user.target
diff --git a/www-servers/hiawatha/hiawatha-10.3-r99.ebuild b/www-servers/hiawatha/hiawatha-10.3-r99.ebuild
deleted file mode 100644
index 8200444..0000000
--- a/www-servers/hiawatha/hiawatha-10.3-r99.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
1# Copyright 1999-2015 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3# $Id$
4
5EAPI=5
6
7CMAKE_MIN_VERSION="2.8.2"
8
9inherit cmake-utils eutils systemd user
10
11DESCRIPTION="Advanced and secure webserver"
12HOMEPAGE="http://www.hiawatha-webserver.org"
13SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
14
15LICENSE="GPL-2"
16SLOT="0"
17KEYWORDS="~amd64 ~x86"
18IUSE="+cache ipv6 monitor +rewrite +rproxy +ssl tomahawk +xslt"
19
20RDEPEND="
21 sys-libs/zlib
22 ssl? ( >=net-libs/mbedtls-2.0[threads] )
23 xslt? ( dev-libs/libxslt
24 dev-libs/libxml2 )"
25DEPEND="${RDEPEND}"
26PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
27
28# set these in the environment of your PM if you want to use different values
29HIAWATHA_CONFIG_DIR="${HIAWATHA_CONFIG_DIR:-/etc/hiawatha}"
30HIAWATHA_LOG_DIR="${HIAWATHA_LOG_DIR:-/var/log/hiawatha}"
31HIAWATHA_PID_DIR="${HIAWATHA_PID_DIR:-/var/run}"
32HIAWATHA_WEBROOT_DIR="${HIAWATHA_WEBROOT_DIR:-/var/www/hiawatha}"
33HIAWATHA_WORK_DIR="${HIAWATHA_WORK_DIR:-/var/lib/hiawatha}"
34HIAWATHA_USER="${HIAWATHA_USER:-hiawatha}"
35HIAWATHA_GROUP="${HIAWATHA_GROUP:-hiawatha}"
36
37safe_sed() {
38 local replace_of=$1
39 local replace_with=$2
40 local file=$3
41 # optional
42 local outfile=$4
43
44 grep -E "${replace_of}" "${file}" 1>/dev/null \
45 || die "\"${replace_of}\" not found in ${file}!"
46
47 if [[ -n ${outfile} ]] ; then
48 einfo "Sedding ${file} into ${outfile}"
49 sed -r \
50 -e "s|${replace_of}|${replace_with}|" \
51 "${file}" > ${outfile} || die "sed on ${file} to ${outfile} failed!"
52 else
53 einfo "Sedding ${file} in-place"
54 sed -r -i \
55 -e "s|${replace_of}|${replace_with}|" \
56 "${file}" || die "sed on ${file} failed!"
57 fi
58
59}
60
61pkg_pretend() {
62 einfo
63 einfo "You can change hiawatha user and group, as well as the"
64 einfo "directories the webserver is going to use. For that,"
65 einfo "set the following environment variables in your PM:"
66 einfo " HIAWATHA_CONFIG_DIR"
67 einfo " default: /etc/hiawatha"
68 einfo " current: ${HIAWATHA_CONFIG_DIR}"
69 einfo " HIAWATHA_LOG_DIR"
70 einfo " default: /var/log/hiawatha"
71 einfo " current: ${HIAWATHA_LOG_DIR}"
72 einfo " HIAWATHA_PID_DIR"
73 einfo " default: /var/run"
74 einfo " current: ${HIAWATHA_PID_DIR}"
75 einfo " HIAWATHA_WEBROOT_DIR"
76 einfo " default: /var/www/hiawatha"
77 einfo " current: ${HIAWATHA_WEBROOT_DIR}"
78 einfo " HIAWATHA_WORK_DIR"
79 einfo " default: /var/lib/hiawatha"
80 einfo " current: ${HIAWATHA_WORK_DIR}"
81 einfo " HIAWATHA_USER"
82 einfo " default: hiawatha"
83 einfo " current: ${HIAWATHA_USER}"
84 einfo " HIAWATHA_GROUP"
85 einfo " default: hiawatha"
86 einfo " current: ${HIAWATHA_GROUP}"
87 einfo
88}
89
90pkg_setup() {
91 enewgroup ${HIAWATHA_GROUP}
92 enewuser ${HIAWATHA_USER} -1 -1 "${HIAWATHA_WEBROOT_DIR}" ${HIAWATHA_GROUP}
93}
94
95src_prepare() {
96 epatch "${FILESDIR}"/${PN}-9.5-cflags.patch
97
98 safe_sed "^#ServerId =.*$" "ServerId = ${HIAWATHA_USER}" \
99 config/hiawatha.conf.in
100
101 safe_sed "@HIAWATHA_PID_DIR@" "${HIAWATHA_PID_DIR}" \
102 "${FILESDIR}/hiawatha.initd-r1" \
103 "${T}/hiawatha.initd-r1"
104}
105
106src_configure() {
107 local mycmakeargs=(
108 -DCONFIG_DIR:STRING="${HIAWATHA_CONFIG_DIR}"
109 -DENABLE_CACHE=$(usex cache)
110 -DENABLE_IPV6=$(usex ipv6)
111 -DENABLE_LOADCHECK=$(usex kernel_linux)
112 -DENABLE_MONITOR=$(usex monitor)
113 -DENABLE_RPROXY=$(usex rproxy)
114 -DENABLE_TLS=$(usex ssl)
115 -DENABLE_TOMAHAWK=$(usex tomahawk)
116 -DENABLE_TOOLKIT=$(usex rewrite)
117 -DENABLE_XSLT=$(usex xslt)
118 -DLOG_DIR:STRING="${HIAWATHA_LOG_DIR}"
119 -DPID_DIR:STRING="${HIAWATHA_PID_DIR}"
120 -DUSE_SYSTEM_MBEDTLS=$(usex ssl)
121 -DWEBROOT_DIR:STRING="${HIAWATHA_WEBROOT_DIR}"
122 -DWORK_DIR:STRING="${HIAWATHA_WORK_DIR}"
123 )
124
125 cmake-utils_src_configure
126}
127
128src_install() {
129 cmake-utils_src_install
130
131 rm -r "${ED%/}${HIAWATHA_WEBROOT_DIR}"/* || die
132
133 newinitd "${T}"/hiawatha.initd-r1 hiawatha
134 systemd_dounit "${FILESDIR}"/hiawatha.service
135
136 local i
137 for i in "${HIAWATHA_LOG_DIR}" "${HIAWATHA_WORK_DIR}" ; do
138 keepdir "${i}"
139 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${i}"
140 fperms 0750 "${i}"
141 done
142
143 keepdir "${HIAWATHA_WEBROOT_DIR}"
144 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${HIAWATHA_WEBROOT_DIR}"
145}
diff --git a/www-servers/hiawatha/hiawatha-9.14-r1.ebuild b/www-servers/hiawatha/hiawatha-9.14-r1.ebuild
deleted file mode 100644
index f5f55a6..0000000
--- a/www-servers/hiawatha/hiawatha-9.14-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
1# Copyright 1999-2015 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3# $Id$
4
5# ssl USE flag currently broken, unconditionally enabled
6# rproxy USE flag broken too, unconditionally enabled
7
8EAPI=5
9
10CMAKE_MIN_VERSION="2.8.4"
11
12inherit cmake-utils systemd user
13
14DESCRIPTION="Advanced and secure webserver"
15HOMEPAGE="http://www.hiawatha-webserver.org"
16SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
17
18LICENSE="GPL-2"
19SLOT="0"
20KEYWORDS="~amd64 ~x86"
21IUSE="+cache ipv6 monitor +rewrite tomahawk +xslt"
22
23RDEPEND="
24 >=net-libs/mbedtls-2.0[threads]
25 xslt? ( dev-libs/libxslt
26 dev-libs/libxml2 )"
27DEPEND="${RDEPEND}"
28PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
29
30# set this in make.conf if you want to use a different user/group
31HIAWATHA_USER=${HIAWATHA_USER:-hiawatha}
32HIAWATHA_GROUP=${HIAWATHA_GROUP:-hiawatha}
33
34pkg_setup() {
35 enewgroup ${HIAWATHA_GROUP}
36 enewuser ${HIAWATHA_USER} -1 -1 /var/www/hiawatha ${HIAWATHA_GROUP}
37}
38
39src_prepare() {
40 epatch "${FILESDIR}"/${PN}-9.5-cflags.patch \
41 "${FILESDIR}"/${PN}-9.14-system-mbedtls.patch
42
43 grep '#ServerId =' config/hiawatha.conf.in 1>/dev/null || die
44 sed -i \
45 -e "s/#ServerId =.*$/ServerId = ${HIAWATHA_USER}/" \
46 config/hiawatha.conf.in || die
47}
48
49src_configure() {
50 local mycmakeargs=(
51 -DCONFIG_DIR:STRING=/etc/hiawatha
52 $(cmake-utils_use_enable cache CACHE)
53 $(cmake-utils_use_enable ipv6 IPV6)
54 $(cmake-utils_use_enable kernel_linux LOADCHECK)
55 $(cmake-utils_use_enable monitor MONITOR)
56 -DENABLE_TLS=YES
57 $(cmake-utils_use_enable tomahawk TOMAHAWK)
58 $(cmake-utils_use_enable rewrite TOOLKIT)
59 $(cmake-utils_use_enable xslt XSLT)
60 -DUSE_SYSTEM_MBEDTLS=ON
61 -DLOG_DIR:STRING=/var/log/hiawatha
62 -DPID_DIR:STRING=/var/run
63 -DWEBROOT_DIR:STRING=/var/www/hiawatha
64 -DWORK_DIR:STRING=/var/lib/hiawatha
65 )
66
67 cmake-utils_src_configure
68}
69
70src_install() {
71 cmake-utils_src_install
72
73 rm -rf "${ED%/}"/var/www/hiawatha/*
74
75 newinitd "${FILESDIR}"/hiawatha.initd hiawatha
76 systemd_dounit "${FILESDIR}"/hiawatha.service
77
78 local i
79 for i in /var/{lib,log}/hiawatha ; do
80 keepdir ${i}
81 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} ${i}
82 fperms 0750 ${i}
83 done
84
85 keepdir /var/www/hiawatha
86 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} /var/www/hiawatha
87}
diff --git a/www-servers/hiawatha/hiawatha-9.14.ebuild b/www-servers/hiawatha/hiawatha-9.14.ebuild
deleted file mode 100644
index 7aa502c..0000000
--- a/www-servers/hiawatha/hiawatha-9.14.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
1# Copyright 1999-2015 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3# $Id$
4
5# ssl USE flag currently broken, unconditionally enabled
6# rproxy USE flag broken too, unconditionally enabled
7
8EAPI=5
9
10CMAKE_MIN_VERSION="2.8.4"
11
12inherit cmake-utils systemd user
13
14DESCRIPTION="Advanced and secure webserver"
15HOMEPAGE="http://www.hiawatha-webserver.org"
16SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
17
18LICENSE="GPL-2"
19SLOT="0"
20KEYWORDS="~amd64 ~x86"
21IUSE="+cache ipv6 monitor +rewrite tomahawk +xslt"
22
23RDEPEND="
24 xslt? ( dev-libs/libxslt
25 dev-libs/libxml2 )"
26DEPEND="${RDEPEND}"
27PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
28
29# set this in make.conf if you want to use a different user/group
30HIAWATHA_USER=${HIAWATHA_USER:-hiawatha}
31HIAWATHA_GROUP=${HIAWATHA_GROUP:-hiawatha}
32
33pkg_setup() {
34 enewgroup ${HIAWATHA_GROUP}
35 enewuser ${HIAWATHA_USER} -1 -1 /var/www/hiawatha ${HIAWATHA_GROUP}
36}
37
38src_prepare() {
39 epatch "${FILESDIR}"/${PN}-9.5-cflags.patch
40
41 grep '#ServerId =' config/hiawatha.conf.in 1>/dev/null || die
42 sed -i \
43 -e "s/#ServerId =.*$/ServerId = ${HIAWATHA_USER}/" \
44 config/hiawatha.conf.in || die
45}
46
47src_configure() {
48 local mycmakeargs=(
49 -DCONFIG_DIR:STRING=/etc/hiawatha
50 $(cmake-utils_use_enable cache CACHE)
51 $(cmake-utils_use_enable ipv6 IPV6)
52 $(cmake-utils_use_enable kernel_linux LOADCHECK)
53 $(cmake-utils_use_enable monitor MONITOR)
54 -DENABLE_TLS=YES
55 $(cmake-utils_use_enable tomahawk TOMAHAWK)
56 $(cmake-utils_use_enable rewrite TOOLKIT)
57 $(cmake-utils_use_enable xslt XSLT)
58 -DLOG_DIR:STRING=/var/log/hiawatha
59 -DPID_DIR:STRING=/var/run
60 -DWEBROOT_DIR:STRING=/var/www/hiawatha
61 -DWORK_DIR:STRING=/var/lib/hiawatha
62 )
63
64 cmake-utils_src_configure
65}
66
67src_install() {
68 cmake-utils_src_install
69
70 rm -rf "${ED%/}"/var/www/hiawatha/*
71
72 newinitd "${FILESDIR}"/hiawatha.initd hiawatha
73 systemd_dounit "${FILESDIR}"/hiawatha.service
74
75 local i
76 for i in /var/{lib,log}/hiawatha ; do
77 keepdir ${i}
78 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} ${i}
79 fperms 0750 ${i}
80 done
81
82 keepdir /var/www/hiawatha
83 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} /var/www/hiawatha
84}
diff --git a/www-servers/hiawatha/hiawatha-9.15.ebuild b/www-servers/hiawatha/hiawatha-9.15.ebuild
deleted file mode 100644
index 8200444..0000000
--- a/www-servers/hiawatha/hiawatha-9.15.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
1# Copyright 1999-2015 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3# $Id$
4
5EAPI=5
6
7CMAKE_MIN_VERSION="2.8.2"
8
9inherit cmake-utils eutils systemd user
10
11DESCRIPTION="Advanced and secure webserver"
12HOMEPAGE="http://www.hiawatha-webserver.org"
13SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
14
15LICENSE="GPL-2"
16SLOT="0"
17KEYWORDS="~amd64 ~x86"
18IUSE="+cache ipv6 monitor +rewrite +rproxy +ssl tomahawk +xslt"
19
20RDEPEND="
21 sys-libs/zlib
22 ssl? ( >=net-libs/mbedtls-2.0[threads] )
23 xslt? ( dev-libs/libxslt
24 dev-libs/libxml2 )"
25DEPEND="${RDEPEND}"
26PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
27
28# set these in the environment of your PM if you want to use different values
29HIAWATHA_CONFIG_DIR="${HIAWATHA_CONFIG_DIR:-/etc/hiawatha}"
30HIAWATHA_LOG_DIR="${HIAWATHA_LOG_DIR:-/var/log/hiawatha}"
31HIAWATHA_PID_DIR="${HIAWATHA_PID_DIR:-/var/run}"
32HIAWATHA_WEBROOT_DIR="${HIAWATHA_WEBROOT_DIR:-/var/www/hiawatha}"
33HIAWATHA_WORK_DIR="${HIAWATHA_WORK_DIR:-/var/lib/hiawatha}"
34HIAWATHA_USER="${HIAWATHA_USER:-hiawatha}"
35HIAWATHA_GROUP="${HIAWATHA_GROUP:-hiawatha}"
36
37safe_sed() {
38 local replace_of=$1
39 local replace_with=$2
40 local file=$3
41 # optional
42 local outfile=$4
43
44 grep -E "${replace_of}" "${file}" 1>/dev/null \
45 || die "\"${replace_of}\" not found in ${file}!"
46
47 if [[ -n ${outfile} ]] ; then
48 einfo "Sedding ${file} into ${outfile}"
49 sed -r \
50 -e "s|${replace_of}|${replace_with}|" \
51 "${file}" > ${outfile} || die "sed on ${file} to ${outfile} failed!"
52 else
53 einfo "Sedding ${file} in-place"
54 sed -r -i \
55 -e "s|${replace_of}|${replace_with}|" \
56 "${file}" || die "sed on ${file} failed!"
57 fi
58
59}
60
61pkg_pretend() {
62 einfo
63 einfo "You can change hiawatha user and group, as well as the"
64 einfo "directories the webserver is going to use. For that,"
65 einfo "set the following environment variables in your PM:"
66 einfo " HIAWATHA_CONFIG_DIR"
67 einfo " default: /etc/hiawatha"
68 einfo " current: ${HIAWATHA_CONFIG_DIR}"
69 einfo " HIAWATHA_LOG_DIR"
70 einfo " default: /var/log/hiawatha"
71 einfo " current: ${HIAWATHA_LOG_DIR}"
72 einfo " HIAWATHA_PID_DIR"
73 einfo " default: /var/run"
74 einfo " current: ${HIAWATHA_PID_DIR}"
75 einfo " HIAWATHA_WEBROOT_DIR"
76 einfo " default: /var/www/hiawatha"
77 einfo " current: ${HIAWATHA_WEBROOT_DIR}"
78 einfo " HIAWATHA_WORK_DIR"
79 einfo " default: /var/lib/hiawatha"
80 einfo " current: ${HIAWATHA_WORK_DIR}"
81 einfo " HIAWATHA_USER"
82 einfo " default: hiawatha"
83 einfo " current: ${HIAWATHA_USER}"
84 einfo " HIAWATHA_GROUP"
85 einfo " default: hiawatha"
86 einfo " current: ${HIAWATHA_GROUP}"
87 einfo
88}
89
90pkg_setup() {
91 enewgroup ${HIAWATHA_GROUP}
92 enewuser ${HIAWATHA_USER} -1 -1 "${HIAWATHA_WEBROOT_DIR}" ${HIAWATHA_GROUP}
93}
94
95src_prepare() {
96 epatch "${FILESDIR}"/${PN}-9.5-cflags.patch
97
98 safe_sed "^#ServerId =.*$" "ServerId = ${HIAWATHA_USER}" \
99 config/hiawatha.conf.in
100
101 safe_sed "@HIAWATHA_PID_DIR@" "${HIAWATHA_PID_DIR}" \
102 "${FILESDIR}/hiawatha.initd-r1" \
103 "${T}/hiawatha.initd-r1"
104}
105
106src_configure() {
107 local mycmakeargs=(
108 -DCONFIG_DIR:STRING="${HIAWATHA_CONFIG_DIR}"
109 -DENABLE_CACHE=$(usex cache)
110 -DENABLE_IPV6=$(usex ipv6)
111 -DENABLE_LOADCHECK=$(usex kernel_linux)
112 -DENABLE_MONITOR=$(usex monitor)
113 -DENABLE_RPROXY=$(usex rproxy)
114 -DENABLE_TLS=$(usex ssl)
115 -DENABLE_TOMAHAWK=$(usex tomahawk)
116 -DENABLE_TOOLKIT=$(usex rewrite)
117 -DENABLE_XSLT=$(usex xslt)
118 -DLOG_DIR:STRING="${HIAWATHA_LOG_DIR}"
119 -DPID_DIR:STRING="${HIAWATHA_PID_DIR}"
120 -DUSE_SYSTEM_MBEDTLS=$(usex ssl)
121 -DWEBROOT_DIR:STRING="${HIAWATHA_WEBROOT_DIR}"
122 -DWORK_DIR:STRING="${HIAWATHA_WORK_DIR}"
123 )
124
125 cmake-utils_src_configure
126}
127
128src_install() {
129 cmake-utils_src_install
130
131 rm -r "${ED%/}${HIAWATHA_WEBROOT_DIR}"/* || die
132
133 newinitd "${T}"/hiawatha.initd-r1 hiawatha
134 systemd_dounit "${FILESDIR}"/hiawatha.service
135
136 local i
137 for i in "${HIAWATHA_LOG_DIR}" "${HIAWATHA_WORK_DIR}" ; do
138 keepdir "${i}"
139 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${i}"
140 fperms 0750 "${i}"
141 done
142
143 keepdir "${HIAWATHA_WEBROOT_DIR}"
144 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${HIAWATHA_WEBROOT_DIR}"
145}
diff --git a/www-servers/hiawatha/hiawatha-9.8.ebuild b/www-servers/hiawatha/hiawatha-9.8.ebuild
deleted file mode 100644
index b330651..0000000
--- a/www-servers/hiawatha/hiawatha-9.8.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
1# Copyright 1999-2014 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3# $Id$
4
5# ssl USE flag currently broken, unconditionally enabled
6# rproxy USE flag broken too, unconditionally enabled
7
8EAPI=5
9
10CMAKE_MIN_VERSION="2.8.4"
11
12inherit cmake-utils systemd user
13
14DESCRIPTION="Advanced and secure webserver"
15HOMEPAGE="http://www.hiawatha-webserver.org"
16SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
17
18LICENSE="GPL-2"
19SLOT="0"
20KEYWORDS="~amd64 ~x86"
21IUSE="debug +cache ipv6 monitor +rewrite tomahawk +xslt"
22
23RDEPEND="
24 >=net-libs/polarssl-1.3[threads]
25 xslt? ( dev-libs/libxslt
26 dev-libs/libxml2 )"
27DEPEND="${RDEPEND}"
28PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
29
30# set this in make.conf if you want to use a different user/group
31HIAWATHA_USER=${HIAWATHA_USER:-hiawatha}
32HIAWATHA_GROUP=${HIAWATHA_GROUP:-hiawatha}
33
34pkg_setup() {
35 enewgroup ${HIAWATHA_GROUP}
36 enewuser ${HIAWATHA_USER} -1 -1 /var/www/hiawatha ${HIAWATHA_GROUP}
37}
38
39src_prepare() {
40 epatch "${FILESDIR}"/${PN}-9.5-cflags.patch
41
42 rm -r polarssl || die
43
44 grep '#ServerId =' config/hiawatha.conf.in 1>/dev/null || die
45 sed -i \
46 -e "s/#ServerId =.*$/ServerId = ${HIAWATHA_USER}/" \
47 config/hiawatha.conf.in || die
48}
49
50src_configure() {
51 local mycmakeargs=(
52 -DCONFIG_DIR:STRING=/etc/hiawatha
53 $(cmake-utils_use_enable cache CACHE)
54 $(cmake-utils_use_enable debug DEBUG)
55 $(cmake-utils_use_enable ipv6 IPV6)
56 $(cmake-utils_use_enable kernel_linux LOADCHECK)
57 $(cmake-utils_use_enable monitor MONITOR)
58 -DENABLE_SSL=YES
59 $(cmake-utils_use_enable tomahawk TOMAHAWK)
60 $(cmake-utils_use_enable rewrite TOOLKIT)
61 $(cmake-utils_use_enable xslt XSLT)
62 -DLOG_DIR:STRING=/var/log/hiawatha
63 -DPID_DIR:STRING=/var/run
64 -DUSE_SHARED_POLARSSL_LIBRARY=ON
65 -DUSE_SYSTEM_POLARSSL=ON
66 -DWEBROOT_DIR:STRING=/var/www/hiawatha
67 -DWORK_DIR:STRING=/var/lib/hiawatha
68 )
69
70 cmake-utils_src_configure
71}
72
73src_install() {
74 cmake-utils_src_install
75
76 rm -rf "${ED%%/}"/var/www/hiawatha/*
77
78 newinitd "${FILESDIR}"/hiawatha.initd hiawatha
79 systemd_dounit "${FILESDIR}"/hiawatha.service
80
81 local i
82 for i in /var/{lib,log}/hiawatha ; do
83 keepdir ${i}
84 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} ${i}
85 fperms 0750 ${i}
86 done
87
88 keepdir /var/www/hiawatha
89 fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} /var/www/hiawatha
90}
diff --git a/www-servers/hiawatha/metadata.xml b/www-servers/hiawatha/metadata.xml
deleted file mode 100644
index 5074d0f..0000000
--- a/www-servers/hiawatha/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3<pkgmetadata>
4 <use>
5 <flag name="cache">Enable caching of content</flag>
6 <flag name="monitor">Pull in www-apps/hiawatha-monitor</flag>
7 <flag name="rewrite">Enable the rewrite toolkit</flag>
8 <flag name="ssl">Enable TLS support via <pkg>net-libs/mbedtls</pkg></flag>
9 <flag name="tomahawk">Enable Tomahawk control server</flag>
10 <flag name="xslt">Enable XSLT support. This is also needed for directory listings</flag>
11 <flag name="rproxy">Enable reverse proxy support</flag>
12 </use>
13 <upstream>
14 <remote-id type="github">hsleisink/hiawatha</remote-id>
15 </upstream>
16 <maintainer type="person">
17 <name>ng0</name>
18 </maintainer>
19 <maintainer type="project">
20 <email>proxy-maint@gentoo.org</email>
21 <name>Proxy Maintainers</name>
22 </maintainer>
23</pkgmetadata>
diff --git a/youbroketheinternet-overlay.xml b/youbroketheinternet-overlay.xml
index a14009c..e30e726 100644
--- a/youbroketheinternet-overlay.xml
+++ b/youbroketheinternet-overlay.xml
@@ -29,7 +29,7 @@
29 <source type="git"> 29 <source type="git">
30 git://git.psyciumunsqarzsehz5xlgsi2mg4dkvntwf5bwj5kwbcbazwiuhna2ad.onion/youbroketheinternet-overlay 30 git://git.psyciumunsqarzsehz5xlgsi2mg4dkvntwf5bwj5kwbcbazwiuhna2ad.onion/youbroketheinternet-overlay
31 </source> 31 </source>
32 <source type="git">https://gnunet.org/git/youbroketheinternet-overlay.git</source> 32 <source type="git">https://git.gnunet.org/git/youbroketheinternet-overlay.git</source>
33 <source type="git">git://gnunet.org/youbroketheinternet-overlay.git</source> 33 <source type="git">git://git.gnunet.org/youbroketheinternet-overlay.git</source>
34 </repo> 34 </repo>
35</repositories> 35</repositories>