diff options
author | fordprefect | 2022-04-28 15:21:08 +0200 |
---|---|---|
committer | fordprefect | 2022-04-28 15:21:08 +0200 |
commit | 81ab9895b5f52b8970427f2d7ff39451e54eb4f9 (patch) | |
tree | b19721b0ce76a77452ff855fafdd11247a0ee81f | |
parent | 5f804128223a2bc3270656d2e7793844e980958c (diff) | |
download | aur-81ab9895b5f52b8970427f2d7ff39451e54eb4f9.tar.gz |
drop config patch
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | config.patch | 39 |
3 files changed, 2 insertions, 50 deletions
@@ -9,8 +9,6 @@ pkgbase = privatebin depends = php-gd options = emptydirs source = privatebin-1.4.0.tar.gz::https://github.com/PrivateBin/PrivateBin/archive/1.4.0.tar.gz - source = config.patch md5sums = 87363e5faa961c8a740fe3de746b48de - md5sums = 912b477a3d0c7505111bbe17c3901f4a pkgname = privatebin @@ -7,15 +7,8 @@ arch=("any") license=("zlib") depends=("php" "php-gd") options=("emptydirs") -source=("$pkgname-$pkgver.tar.gz::https://github.com/PrivateBin/PrivateBin/archive/$pkgver.tar.gz" - "config.patch") -md5sums=('87363e5faa961c8a740fe3de746b48de' - '912b477a3d0c7505111bbe17c3901f4a') - -prepare(){ - cd PrivateBin-$pkgver/cfg - patch conf.sample.php ../../config.patch -} +source=("$pkgname-$pkgver.tar.gz::https://github.com/PrivateBin/PrivateBin/archive/$pkgver.tar.gz") +md5sums=('87363e5faa961c8a740fe3de746b48de') package(){ cd PrivateBin-$pkgver diff --git a/config.patch b/config.patch deleted file mode 100644 index 2dd9c8a64b16..000000000000 --- a/config.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/cfg/conf.sample.php b/cfg/conf.sample.php -index 28dae77..8028191 100644 ---- a/cfg/conf.sample.php -+++ b/cfg/conf.sample.php -@@ -111,7 +111,7 @@ limit = 10 - ; header = "X_FORWARDED_FOR" - - ; directory to store the traffic limits in --dir = PATH "data" -+dir = "/var/lib/privatebin/trafficlimits" - - [purge] - ; minimum time limit between two purgings of expired pastes, it is only -@@ -125,14 +125,14 @@ limit = 300 - batchsize = 10 - - ; directory to store the purge limit in --dir = PATH "data" -+dir = "/var/lib/privatebin/purgelimit" - - [model] - ; name of data model class to load and directory for storage - ; the default model "Filesystem" stores everything in the filesystem - class = Filesystem - [model_options] --dir = PATH "data" -+dir = "/var/lib/privatebin/model" - - ;[model] - ; example of DB configuration for MySQL -@@ -148,7 +148,7 @@ dir = PATH "data" - ; example of DB configuration for SQLite - ;class = Database - ;[model_options] --;dsn = "sqlite:" PATH "data/db.sq3" -+;dsn = "sqlite:" "/var/lib/privatebin/data/db.sq3" - ;usr = null - ;pwd = null - ;opt[12] = true ; PDO::ATTR_PERSISTENT |