summaryrefslogtreecommitdiff
path: root/net-ftp/pureadmin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-ftp/pureadmin
reinit the tree, so we can have metadata
Diffstat (limited to 'net-ftp/pureadmin')
-rw-r--r--net-ftp/pureadmin/Manifest6
-rw-r--r--net-ftp/pureadmin/files/pureadmin-0.4-gold.patch28
-rw-r--r--net-ftp/pureadmin/metadata.xml9
-rw-r--r--net-ftp/pureadmin/pureadmin-0.4-r1.ebuild62
4 files changed, 105 insertions, 0 deletions
diff --git a/net-ftp/pureadmin/Manifest b/net-ftp/pureadmin/Manifest
new file mode 100644
index 000000000000..fe93fe39588f
--- /dev/null
+++ b/net-ftp/pureadmin/Manifest
@@ -0,0 +1,6 @@
+AUX pureadmin-0.4-gold.patch 842 SHA256 59813b8d7e2855c002476538ddb979b36768f002887ab26ea580872351982795 SHA512 1c6848987cf21c023cabecd8107d9f4292e704164c4330bd8c43217b7ebd1a6d74a5476c8ab1586e2a1f683f7e35926dfe8c3cbae91b01617e6689dc966e8851 WHIRLPOOL 2966e6b9b601132b2ffbb7338aeafeab8eec92133453e2eed26e559821501e2c8ba1351348104ef1d799abb013c7b9faf6dcc70a542df7809eede7b7d3d9282a
+DIST pureadmin-0.4.tar.gz 386739 SHA256 d7a43da0eb16ad5d57ac4ffe045004977186b2bacb244cb8c5239e2e0b3a2112 SHA512 46fd4caff0d6c123412478690411409038d5590cc7388993eed35fc33a34302b8310ae1ede971ed31cbf29ba4ef3b4c21ce5b8c9b225659b3110c6abcd1e78c6 WHIRLPOOL 3168c872ac6c3c6d54dac0ff4dee9ac2f9878f20911b9f1f570d7be3c3201293441aaf05b8d6fcb2c43f7389320670588033e73a597b1d48228e0c58b27ebbf1
+EBUILD pureadmin-0.4-r1.ebuild 1334 SHA256 0de308e43538c87cca2009372891cfa987628e402a390e29386a9dcab56c4a0f SHA512 a39baf4c784be696ba68faab95ece344a1075f6e087515d90e8d21a27f772df1324cb586483e4fbf5155ba46fc4c7c9b6cd4b0436550c37066fc485f4aa4fe1a WHIRLPOOL cbbbf668ae1247f07f91b43f759c0c0b0948ec47eedb44070944f5eca240494f1a5ae22210219a72eef08e27c8020230fcf89826e790fee14e407179634f5a15
+MISC ChangeLog 2562 SHA256 cf5ba73971c4dafc49e6e394b28c80fc01e258763864c5ca865919093dceaf79 SHA512 fc21f109e3da7e1e57c2b864c25d45204a74aa86ade8d27d4618c963f6b4515ddedc60b0cb45193a1b9ed55ce4f9d8f181fd9ddf876126ca406467fcb7ed8b6c WHIRLPOOL ad26cc220119782f55c77df9fde550fe81020a78ba2c2dd29cfb2f3ca7051cc64d1c9f83d82ca1716537d868fe7109d5a1cfaff887414dc23122e99cd84697f6
+MISC ChangeLog-2015 3365 SHA256 04e628e59de90304cca8ee10cdcfa3106894ff96e554a731a5b32960331f54bb SHA512 8d1f9c6982baa9d6d9d91c1d473287b53f18a6e2b7d07d698d1a39e0b10830f1e29334d9a13ee58c3fabee68043319e84895106a8af3997352dc04d5264031b8 WHIRLPOOL 54825002260bbf4d9716b9a74bce414422def2e95dbeb9a82952534be92f1d334eac34101493b5896977bed8fc40e075ba18e47967fe2df2b5794f093b64edae
+MISC metadata.xml 351 SHA256 139e7ee4a0159d74be08db380463cb91f18a67a46fd4e3bfe1375d1691712e43 SHA512 572cec5a1abc7ebd7cb0db74ab3e3cadefe7c85ab92f38a76bbdf37049961eb2e82c8f392fca6c15cecc59a78b01237d1a760d0d6cf381b9ba19781537bcd86b WHIRLPOOL fc49c4b3a9dee2f8c9832a1e55f9c066b9e83f4be19e2963b880a482bff059553b7ec33d01feb5cdafecbabf5b38a3022ac5623de57c3ba48673bd5b8bf14eda
diff --git a/net-ftp/pureadmin/files/pureadmin-0.4-gold.patch b/net-ftp/pureadmin/files/pureadmin-0.4-gold.patch
new file mode 100644
index 000000000000..7b19565ac10a
--- /dev/null
+++ b/net-ftp/pureadmin/files/pureadmin-0.4-gold.patch
@@ -0,0 +1,28 @@
+ src/Makefile.am | 2 +-
+ src/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 94f61e0..0ebb561 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -38,5 +38,5 @@ pureadmin_CFLAGS = -std=gnu99 -Wall
+
+ pureadmin_LDFLAGS = -export-dynamic
+
+-pureadmin_LDADD = @GTK_LIBS@ $(INTLLIBS) @BINRELOC_LIBS@
++pureadmin_LDADD = @GTK_LIBS@ $(INTLLIBS) @BINRELOC_LIBS@ -lm -lX11
+
+diff --git a/src/Makefile.in b/src/Makefile.in
+index b2ade45..dd9401c 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -249,7 +249,7 @@ pureadmin_SOURCES = \
+
+ pureadmin_CFLAGS = -std=gnu99 -Wall
+ pureadmin_LDFLAGS = -export-dynamic
+-pureadmin_LDADD = @GTK_LIBS@ $(INTLLIBS) @BINRELOC_LIBS@
++pureadmin_LDADD = @GTK_LIBS@ $(INTLLIBS) @BINRELOC_LIBS@ -lm -lX11
+ all: all-am
+
+ .SUFFIXES:
diff --git a/net-ftp/pureadmin/metadata.xml b/net-ftp/pureadmin/metadata.xml
new file mode 100644
index 000000000000..674860b13fd5
--- /dev/null
+++ b/net-ftp/pureadmin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>Graphical tool used to make the management of PureFTPd a little easier.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">purify</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-ftp/pureadmin/pureadmin-0.4-r1.ebuild b/net-ftp/pureadmin/pureadmin-0.4-r1.ebuild
new file mode 100644
index 000000000000..815d949ac40e
--- /dev/null
+++ b/net-ftp/pureadmin/pureadmin-0.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="GUI tool used to make the management of Pure-FTPd a little easier"
+HOMEPAGE="http://purify.sourceforge.net/"
+SRC_URI="mirror://sourceforge/purify/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="debug doc"
+
+RDEPEND="
+ gnome-base/libglade:2.0
+ sys-libs/zlib
+ virtual/fam
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ cat >> po/POTFILES.skip <<- EOF
+ src/eggstatusicon.c
+ src/eggtrayicon.c
+ src/prereq_usrmanager.c
+ EOF
+ epatch "${FILESDIR}"/${P}-gold.patch
+}
+
+src_configure() {
+ local myconf=""
+
+ use debug && myconf="${myconf} --enable-debug"
+
+ econf ${myconf}
+}
+
+src_install() {
+ default
+
+ # Move the docs to the correct location, if we want the docs
+ if use doc ; then
+ dodoc "${ED}"usr/share/pureadmin/docs/*
+ fi
+ rm -Rfv "${ED}"usr/share/pureadmin/docs || die
+
+ make_desktop_entry pureadmin "Pure-FTPd menu config" pureadmin
+}
+
+pkg_postinst() {
+ ewarn "PureAdmin is at a beta-stage right now and it may break your"
+ ewarn "configuration. DO NOT use it for safety critical system"
+ ewarn "or production use!"
+ echo
+ elog "You need root-privileges to be able to use PureAdmin."
+ elog "This will probably change in the future."
+ echo
+}